img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}



@media only screen and ( min-width: 767px ) {
body, .et_pb_column_1_2 .et_quote_content blockquote cite, .et_pb_column_1_2 .et_link_content a.et_link_main_url, .et_pb_column_1_3 .et_quote_content blockquote cite, .et_pb_column_3_8 .et_quote_content blockquote cite, .et_pb_column_1_4 .et_quote_content blockquote cite, .et_pb_blog_grid .et_quote_content blockquote cite, .et_pb_column_1_3 .et_link_content a.et_link_main_url, .et_pb_column_3_8 .et_link_content a.et_link_main_url, .et_pb_column_1_4 .et_link_content a.et_link_main_url, .et_pb_blog_grid .et_link_content a.et_link_main_url, body .et_pb_bg_layout_light .et_pb_post p,  body .et_pb_bg_layout_dark .et_pb_post p { font-size: 16px; }
.et_pb_slide_content, .et_pb_best_value { font-size: 18px; }
}
body { color: #efbe8d; }
h1, h2, h3, h4, h5, h6 { color: #dd854b; }
.woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce-message, .woocommerce-error, .woocommerce-info { background: #000000 !important; }
#et_search_icon:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, .et_toggle_slide_menu:after, .et-social-icon a:hover, .et_pb_sum, .et_pb_pricing li a, .et_pb_pricing_table_button, .et_overlay:before, .entry-summary p.price ins, .woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price, .et_pb_member_social_links a:hover, .woocommerce .star-rating span:before, .woocommerce-page .star-rating span:before, .et_pb_widget li a:hover, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .wp-pagenavi span.current, .wp-pagenavi a:hover, .nav-single a, .posted_in a { color: #000000; }
.et_pb_contact_submit, .et_password_protected_form .et_submit_button, .et_pb_bg_layout_light .et_pb_newsletter_button, .comment-reply-link, .form-submit .et_pb_button, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light .et_pb_more_button, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button { color: #000000; }
.footer-widget h4 { color: #000000; }
.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li:before, .et_pb_pricing li:before, blockquote { border-color: #000000; }
.et_pb_counter_amount, .et_pb_featured_table .et_pb_pricing_heading, .et_quote_content, .et_link_content, .et_audio_content, .et_pb_post_slider.et_pb_bg_layout_dark, .et_slide_in_menu_container { background-color: #000000; }
a { color: #e28251; }
#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu { background-color: rgba(0,0,0,0.84); }
#main-header .nav li ul { background-color: rgba(10,10,10,0.77); }
.nav li ul { border-color: rgba(206,100,39,0); }
#top-header, #et-secondary-nav li ul { background-color: #000000; }
.et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page, .et_nav_text_color_light #top-menu > li > a, .et_nav_text_color_dark #top-menu > li > a, #top-menu a, .et_mobile_menu li a, .et_nav_text_color_light .et_mobile_menu li a, .et_nav_text_color_dark .et_mobile_menu li a, #et_search_icon:before, .et_search_form_container input, span.et_close_search_field:after, #et-top-navigation .et-cart-info { color: #ffa959; }
.et_search_form_container input::-moz-placeholder { color: #ffa959; }
.et_search_form_container input::-webkit-input-placeholder { color: #ffa959; }
.et_search_form_container input:-ms-input-placeholder { color: #ffa959; }
#top-menu li a { font-size: 21px; }
body.et_vertical_nav .container.et_search_form_container .et-search-form input { font-size: 21px !important; }

#top-menu li a, .et_search_form_container input {
font-weight: bold; font-style: normal; text-transform: uppercase; text-decoration: none; letter-spacing: -1px;
}
.et_search_form_container input::-moz-placeholder {
font-weight: bold; font-style: normal; text-transform: uppercase; text-decoration: none; letter-spacing: -1px;
}
.et_search_form_container input::-webkit-input-placeholder {
font-weight: bold; font-style: normal; text-transform: uppercase; text-decoration: none; letter-spacing: -1px;
}
.et_search_form_container input:-ms-input-placeholder {
font-weight: bold; font-style: normal; text-transform: uppercase; text-decoration: none; letter-spacing: -1px;
}

#top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a,
.et_color_scheme_red #top-menu li.current-menu-ancestor > a, .et_color_scheme_red #top-menu li.current-menu-item > a,
.et_color_scheme_pink #top-menu li.current-menu-ancestor > a, .et_color_scheme_pink #top-menu li.current-menu-item > a,
.et_color_scheme_orange #top-menu li.current-menu-ancestor > a, .et_color_scheme_orange #top-menu li.current-menu-item > a,
.et_color_scheme_green #top-menu li.current-menu-ancestor > a, .et_color_scheme_green #top-menu li.current-menu-item > a { color: #ff8b1e; }
#main-footer { background-color: #0c0c0c; }
#main-footer .footer-widget h4 { color: #000000; }
.footer-widget li:before { border-color: #000000; }
#footer-widgets .footer-widget li:before { top: 10.6px; } #main-header { box-shadow: none; }
.et-fixed-header#main-header { box-shadow: none !important; }

h1, h2, h3, h4, h5, h6, .et_quote_content blockquote p, .et_pb_slide_description .et_pb_slide_title {
font-weight: bold; font-style: normal; text-transform: none; text-decoration: none; 										
}

@media only screen and ( min-width: 981px ) {
.et_pb_section { padding: 1% 0; }
.et_pb_section.et_pb_section_first { padding-top: inherit; }
.et_pb_fullwidth_section { padding: 0; }
.et_pb_row { padding: 0% 0; }
h1 { font-size: 27px; }
h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p { font-size: 23px; }
h3 { font-size: 19px; }
h4, .et_pb_circle_counter h3, .et_pb_number_counter h3, .et_pb_column_1_3 .et_pb_post h2, .et_pb_column_1_4 .et_pb_post h2, .et_pb_blog_grid h2, .et_pb_column_1_3 .et_quote_content blockquote p, .et_pb_column_3_8 .et_quote_content blockquote p, .et_pb_column_1_4 .et_quote_content blockquote p, .et_pb_blog_grid .et_quote_content blockquote p, .et_pb_column_1_3 .et_link_content h2, .et_pb_column_3_8 .et_link_content h2, .et_pb_column_1_4 .et_link_content h2, .et_pb_blog_grid .et_link_content h2, .et_pb_column_1_3 .et_audio_content h2, .et_pb_column_3_8 .et_audio_content h2, .et_pb_column_1_4 .et_audio_content h2, .et_pb_blog_grid .et_audio_content h2, .et_pb_column_3_8 .et_pb_audio_module_content h2, .et_pb_column_1_3 .et_pb_audio_module_content h2, .et_pb_gallery_grid .et_pb_gallery_item h3, .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
.et_pb_slide_description .et_pb_slide_title { font-size: 41px; }
.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3, .et_pb_gallery_grid .et_pb_gallery_item h3, .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_1_4 .et_pb_audio_module_content h2 { font-size: 14px; }
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation  { padding: 17px 0 0 0 !important; }
.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_split #et-top-navigation nav > ul > li > a { padding-bottom: 17px; }
.et_header_style_split .centered-inline-logo-wrap { width: 33px; margin: -33px 0; }
.et_header_style_split .centered-inline-logo-wrap #logo { max-height: 33px; }
.et_pb_svg_logo.et_header_style_split .centered-inline-logo-wrap #logo { height: 33px; }
.et_header_style_centered #top-menu > li > a { padding-bottom: 6px; }
.et_header_style_slide #et-top-navigation, .et_header_style_fullscreen #et-top-navigation { padding: 8px 0 8px 0 !important; }
.et_header_style_centered #main-header .logo_container { height: 33px; }
.et_header_style_centered.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container, .et_header_style_centered.et_hide_fixed_logo #main-header.et-fixed-header .logo_container { height: 5.94px; }
.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation { padding: 22px 0 0 0; }
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a, .et_header_style_split .et-fixed-header #et-top-navigation nav > ul > li > a  { padding-bottom: 22px; }
.et_header_style_centered header#main-header.et-fixed-header .logo_container { height: 44px; }
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap { width: 44px; margin: -44px 0;  }
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { max-height: 44px; }
.et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { height: 44px; }
.et_header_style_slide .et-fixed-header #et-top-navigation, .et_header_style_fullscreen .et-fixed-header #et-top-navigation { padding: 13px 0 13px 0 !important; }
.et_header_style_split .centered-inline-logo-wrap { width: auto; height: 23.9px; }
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap { width: auto; height: 27.2px; }
.et_header_style_split .centered-inline-logo-wrap #logo,
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { height: auto; max-height: 100%; }
.et-fixed-header#top-header, .et-fixed-header#top-header #et-secondary-nav li ul { background-color: #000000; }
.et-fixed-header#main-header, .et-fixed-header#main-header .nav li ul, .et-fixed-header .et-search-form { background-color: rgba(0,0,0,0.53); }
.et-fixed-header #top-menu li a { font-size: 17px; }
.et-fixed-header #top-menu a, .et-fixed-header #et_search_icon:before, .et-fixed-header #et_top_search .et-search-form input, .et-fixed-header .et_search_form_container input, .et-fixed-header .et_close_search_field:after, .et-fixed-header #et-top-navigation .et-cart-info { color: #ffa551 !important; }
.et-fixed-header .et_search_form_container input::-moz-placeholder { color: #ffa551 !important; }
.et-fixed-header .et_search_form_container input::-webkit-input-placeholder { color: #ffa551 !important; }
.et-fixed-header .et_search_form_container input:-ms-input-placeholder { color: #ffa551 !important; }
.et-fixed-header #top-menu li.current-menu-ancestor > a, .et-fixed-header #top-menu li.current-menu-item > a { color: #ffffff !important; }
}
@media only screen and ( max-width: 980px ) {
h1 { font-size: 22px; }
h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p { font-size: 18px; }
h3 { font-size: 16px; }
h4, .et_pb_circle_counter h3, .et_pb_number_counter h3, .et_pb_column_1_3 .et_pb_post h2, .et_pb_column_1_4 .et_pb_post h2, .et_pb_blog_grid h2, .et_pb_column_1_3 .et_quote_content blockquote p, .et_pb_column_3_8 .et_quote_content blockquote p, .et_pb_column_1_4 .et_quote_content blockquote p, .et_pb_blog_grid .et_quote_content blockquote p, .et_pb_column_1_3 .et_link_content h2, .et_pb_column_3_8 .et_link_content h2, .et_pb_column_1_4 .et_link_content h2, .et_pb_blog_grid .et_link_content h2, .et_pb_column_1_3 .et_audio_content h2, .et_pb_column_3_8 .et_audio_content h2, .et_pb_column_1_4 .et_audio_content h2, .et_pb_blog_grid .et_audio_content h2, .et_pb_column_3_8 .et_pb_audio_module_content h2, .et_pb_column_1_3 .et_pb_audio_module_content h2, .et_pb_gallery_grid .et_pb_gallery_item h3, .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2 { font-size: 13px; }
.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title { font-size: 33px; }
.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3, .et_pb_gallery_grid .et_pb_gallery_item h3, .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_1_4 .et_pb_audio_module_content h2 { font-size: 11px; }
.et_pb_section { padding: 0px 0; }
.et_pb_section.et_pb_section_first { padding-top: inherit; }
.et_pb_section.et_pb_fullwidth_section { padding: 0; }
.et_pb_row, .et_pb_column .et_pb_row_inner { padding: 32px 0; }
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Play', Helvetica, Arial, Lucida, sans-serif;
}

body, input, textarea, select {
font-family: 'Play', Helvetica, Arial, Lucida, sans-serif;
}

#main-header, #et-top-navigation {
font-family: 'Play', Helvetica, Arial, Lucida, sans-serif;
}

#top-header .container{
font-family: 'Play', Helvetica, Arial, Lucida, sans-serif;
}

.et_pb_gallery_image .et_overlay:before { color: #ffffff !important; }
.et_pb_gallery_image .et_overlay { background-color: rgba(137,22,22,0.22); }
.et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_title { font-size: 20px; }
.et_pb_slider_fullwidth_off .et_pb_slide_description .et_pb_slide_title { font-size: 18px; }
.et_pb_column_1_3 .et_pb_slider_fullwidth_off .et_pb_slide_description .et_pb_slide_title, .et_pb_column_1_4 .et_pb_slider_fullwidth_off .et_pb_slide_description .et_pb_slide_title { font-size: 10.173913038px; }
.et_pb_slider_fullwidth_off .et_pb_slide_description .et_pb_slide_title { font-weight: bold; font-style: normal; text-transform: none; text-decoration: none; }
.et_pb_slider_fullwidth_off .et_pb_slide_content { font-size: 26px; }
.et_pb_column_1_3 .et_pb_slider_fullwidth_off .et_pb_slide_content, .et_pb_column_1_4 .et_pb_slider_fullwidth_off .et_pb_slide_content { font-size: 20.222222228px; }
.et_pb_slider_fullwidth_off .et_pb_slide_description { padding-top: 7%; padding-bottom: 7% }
.et_pb_contact_form_container .et_pb_contact_main_title { font-size: 26px; }
.et_pb_column_1_3 .et_pb_contact_form_container .et_pb_contact_main_title, .et_pb_column_1_4 .et_pb_contact_form_container .et_pb_contact_main_title { font-size: 21.999999996px; }
.et_pb_contact_form_container .et_pb_contact_main_title { font-weight: bold; font-style: normal; text-transform: none; text-decoration: none; }
.et_pb_contact_form_container .et_pb_contact p input, .et_pb_contact_form_container .et_pb_contact p textarea { font-size: 14px; }
.et_pb_contact_captcha_question { font-size: 22px; }
.et_pb_contact_captcha_question { font-weight: bold; font-style: normal; text-transform: none; text-decoration: none; }
.et_pb_contact p input, .et_pb_contact p textarea { padding: 16px; }
.et_pb_social_media_follow li a.icon{
margin-right: 15.39px;
width: 54px;
height: 54px;
}
.et_pb_social_media_follow li a.icon::before{
width: 54px;
height: 54px;
font-size: 27px;
line-height: 54px;
}
.et_pb_social_media_follow li a.follow_button{
font-size: 27px;
}

/* ПЕРЕМЕННЫЕ НАСТРОЕК */
:root {

--arrow-size: 48px;            /* Общий размер стрелочек (ширина и высота) */
--arrow-border-width: 1px;     /* Толщина аккуратной обводки */
--arrow-border-color: #dd854b;  /* Цвет обводки */
--arrow-bg: rgba(12, 12, 12, 0.7); /* Полупрозрачный фон под стрелочками */
}

/* The background sits in a fixed layer the size of the screen: phones ignore
background-attachment: fixed and would stretch the picture over the whole page. */
body.custom-background { background: #000 !important; }
body.custom-background::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
background: #000 url("../wp-content/uploads/2016/01/bg.jpg") center top / cover no-repeat;
pointer-events: none;
}

/* Main banner: the logo is drawn in the picture, one per language. */
.et_pb_slide_0 { background-image: url("../wp-content/uploads/2016/01/site_slider_bg_ru.jpg") !important; }
html[lang="en"] .et_pb_slide_0 { background-image: url("../wp-content/uploads/2016/01/site_slider_bg_en.jpg") !important; }
@media only screen and (min-width: 769px) {
/* Slides are never lower than the main banner, so its logo is not cropped. */
.et_pb_slider_0 .et_pb_slide { aspect-ratio: 1080 / 383; }
/* Divi centres the promo picture with a script, but only on the slide that is active at load,
so on the others it hung below the slider. Centre it with CSS instead. */
.et_pb_slider_0 .et_pb_slide_image {
top: 0 !important;
bottom: 0 !important;
margin-top: 0 !important;
display: flex !important;
align-items: center;
justify-content: center;
}
.et_pb_slider_0 .et_pb_slide_image img {
max-height: 88% !important;
width: auto !important;
max-width: 100% !important;
}
}

/* Предотвращение горизонтальной прокрутки и масштабирование */
html, body {
max-width: 100% !important;
overflow-x: hidden !important;
}

#simplemodal-login-container-osx {
z-index: 99999 !important;
}
#simplemodal-login-container-osx .user_pass, #simplemodal-login-container-osx .user_login, #simplemodal-login-container-osx .user_email 
{
color: #000 !important; 
font-size: 14px !important;
}
#simplemodal-login-container .user_pass, #simplemodal-login-container .user_login, #simplemodal-login-container .user_email 
{
color: #000 !important; 
font-size: 14px !important;
}
.ui-accordion .ui-accordion-header {
background: #210001;
border: 1px solid #e1e1e1;
border-radius: 0;
display: block;
cursor: pointer;
font-size: 20px !important;
position: relative;
margin-top: 2px;
margin-bottom: 0;
padding: .5em .5em .5em .7em;
min-height: 0;
color: #DD854B;
}
.ui-accordion-header-active, .ui-accordion-content-active {
background: #292220 !important;
color: #FFA959 !important;
}
.is_title
{
color: #000 !important;
}
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
padding: 15px 0 0 0 !important;
}
.txtarea_form { background: none !important; padding:10px !important;}
.form_btn {background: none !important; padding: 10px 20px !important; color: white; font-size:16px !important; border: 2px solid #FFF !important;}
.vfb-desc {font-size:15px !important;}
.inpt_form { 
background: none !important; 
padding:15px 10px !important;
}
.inpt_form_email { 
background: none !important; 
padding:8px 10px !important;
}
.inputform { 
background: none !important; 
padding:15px 10px !important;
}
.fset {background: #000; } 
.et_pb_section  {padding-top:10px !important; background:none !important;}

/* Круглые адаптивные стрелки перелистывания слайдера */
div.et_pb_slider a.et-pb-arrow-prev, 
div.et_pb_slider a.et-pb-arrow-next,
#page-container .et-pb-arrow-prev, 
#page-container .et-pb-arrow-next {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: var(--arrow-size) !important;
height: var(--arrow-size) !important;
background: var(--arrow-bg) !important;
border: var(--arrow-border-width) solid var(--arrow-border-color) !important;
border-radius: 50% !important; /* Круглая изящная форма вместо тяжелого прямоугольника */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
transition: all 0.3s ease-in-out !important;
top: 50% !important;
transform: translateY(-50%) !important;
opacity: 0.85 !important;
text-decoration: none !important;
z-index: 99 !important;
}
div.et_pb_slider a.et-pb-arrow-prev:hover, 
div.et_pb_slider a.et-pb-arrow-next:hover,
#page-container .et-pb-arrow-prev:hover, 
#page-container .et-pb-arrow-next:hover {
opacity: 1 !important;
background: rgba(20, 20, 20, 0.9) !important;
border-color: #ff8b1e !important;
box-shadow: 0 0 14px rgba(255, 139, 30, 0.5) !important;
transform: translateY(-50%) scale(1.08) !important;
}

/* Масштабирование символа стрелочек */
.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
font-family: 'Play', sans-serif !important;
font-size: calc(var(--arrow-size) * 0.75) !important; /* Размер стрелки зависит от настроек ее блока */
color: #ffbc40 !important;
text-shadow: 0 0 6px rgba(255, 139, 30, 0.7) !important;
font-weight: bold !important;
line-height: 1 !important;
display: block !important;
}
.et-pb-arrow-prev::before {
content: "‹" !important;
margin-right: 2px !important;
margin-top: -5px !important;
}
.et-pb-arrow-next::before {
content: "›" !important;
margin-left: 2px !important;
margin-top: -5px !important;
}

@media only screen and (max-width: 768px) {
div.et_pb_slider a.et-pb-arrow-prev, 
div.et_pb_slider a.et-pb-arrow-next,
#page-container .et-pb-arrow-prev, 
#page-container .et-pb-arrow-next {
width: 36px !important;
height: 36px !important;
}
}

/* Точное центрирование файлообменника ровно посередине между заголовками */
.et_pb_section_3 {
padding: 0 !important;
margin: 0 !important;
}
.et_pb_fullwidth_header_0 {
padding: 15px 0 0 0 !important;
margin: 0 !important;
}
.et_pb_fullwidth_header_0 h1 {
margin: 0 !important;
padding: 0 !important;
}
.et_pb_fullwidth_code_0 {
display: flex !important;
justify-content: center !important;
align-items: center !important;
padding: 35px 0 !important; /* Сбалансированный одинаковый отступ сверху и снизу */
margin: 0 auto !important;
}
#features {
padding-top: 0 !important;
margin-top: 0 !important;
}
#features .et_pb_row_1 {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-top: 0 !important;
margin-bottom: 15px !important;
}
#features .et_pb_row_1 h1 {
margin: 0 !important;
padding: 0 !important;
}

/* Стили адаптивности и центрирования шапки */
#top-header .container {
display: flex !important;
align-items: center !important;
justify-content: center !important;
position: relative !important;
min-height: 34px !important;
box-sizing: border-box;
}
#top-header .emulator-title {
font-family: 'Play', Helvetica, Arial, sans-serif;
font-size: 26px;
font-weight: bold;
color: #ff8b1e;
text-transform: uppercase;
letter-spacing: 2px;
display: inline-block;
vertical-align: middle;
line-height: 1.2;
text-align: center;
margin: 0 auto !important;
width: 100%;
box-sizing: border-box;
}
#polylang-2 {
position: absolute !important;
right: 20px !important;
top: 50% !important;
transform: translateY(-50%) !important;
margin: 0;
padding: 0;
display: flex;
gap: 6px;
}
.lang-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border: 1px solid transparent;
border-radius: 6px;
background: none;
color: #efbe8d;
font: bold 13px 'Play', Helvetica, Arial, sans-serif;
cursor: pointer;
opacity: 0.6;
transition: opacity 0.2s, border-color 0.2s;
}
.lang-btn:hover { opacity: 1; }
.lang-btn[aria-current="true"] { opacity: 1; border-color: #dd854b; }
.lang-btn img { width: 24px; height: 16px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.25); }
@media only screen and (max-width: 980px) {
.et_pb_row {
width: 95% !important;
max-width: 100% !important;
padding: 15px 0 !important;
}
}

/* ГЛУБОКАЯ НАСТРОЙКА ДЛЯ МОБИЛЬНЫХ ТЕЛЕФОНОВ */
@media only screen and (max-width: 980px) {
/* Мобильная кнопка Divi и логотип не нужны: меню показано строкой ссылок под заголовком */
#et_mobile_nav_menu,
.mobile_nav,
.logo_container,
#main-header .et_search_outer {
display: none !important;
}
#page-container {
padding-top: 0 !important;
}
#main-header {
position: static !important;
top: auto !important;
display: block !important;
background: #000 !important;
padding: 0 !important;
border-top: 1px solid rgba(255,169,89,0.25);
}
#main-header .container {
width: 100% !important;
max-width: 100% !important;
padding: 0 8px !important;
height: auto !important;
}
#et-top-navigation {
display: block !important;
float: none !important;
padding: 0 !important;
}
#top-menu-nav,
#top-menu {
display: flex !important;
flex-wrap: wrap;
justify-content: center;
gap: 2px 4px;
margin: 0 !important;
padding: 0 !important;
float: none !important;
width: 100% !important;
}
#top-menu > li {
display: block !important;
float: none !important;
padding: 0 !important;
margin: 0 !important;
}
#top-menu > li > a,
.et_header_style_split #et-top-navigation nav > ul > li > a {
display: block !important;
font-size: 15px !important;
padding: 12px 7px !important;
line-height: 1.2;
}
}

@media only screen and (max-width: 768px) {
/* Шапка: заголовок и языки в столбик, чтобы не наезжали друг на друга */
#top-header .container {
flex-direction: column !important;
gap: 8px;
}
#top-header .emulator-title {
font-size: 20px;
letter-spacing: 1px;
}
#polylang-2 {
position: static !important;
transform: none !important;
}

/* Отступ под скрытую шапку Divi на телефоне не нужен */
.et_pb_section_1 { margin-top: 0 !important; }
.et_pb_row_0 { margin-top: 0 !important; }
.et_pb_column_0 { margin-top: 0 !important; }

/* Слайдер как на компьютере, только в столбик: фон слайда на всю площадь,
поверх — промо-картинка, заголовок и подпись в полупрозрачной плашке.
Показывается только активный слайд — переключением управляет скрипт слайдера. */
.et_pb_slider,
.et_pb_slides {
height: auto !important;
min-height: 0 !important;
}
.et_pb_slide {
height: auto !important;
min-height: 430px !important;         /* одна высота у всех — страница не прыгает */
padding: 0 !important;
background-size: cover !important;
background-position: center !important;
background-repeat: no-repeat !important;
}
.et_pb_slider .et_pb_container {
height: auto !important;
min-height: 430px;
width: 100% !important;
max-width: 100% !important;
padding: 16px 46px !important;        /* по бокам — место под стрелки */
box-sizing: border-box;
display: flex !important;
align-items: center;
}
.et_pb_slider_container_inner {
display: block !important;
width: 100%;
}

.et_pb_slide_image {
position: static !important;
display: block !important;
width: 100% !important;
margin: 0 0 12px 0 !important;
float: none !important;
text-align: center;
}
.et_pb_slide_image img {
max-height: none !important;
width: 100% !important;
height: auto !important;
border-radius: 8px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.et_pb_slide_description {
width: 100% !important;
max-width: 100% !important;
float: none !important;
padding: 0 !important;
background: none !important;
border: 0 !important;
position: static !important;
margin: 0 !important;
text-align: left !important;
}
.et_pb_slider .et_pb_slide_content { margin: 0 !important; }
/* Подпись в плашке, как на компьютере (там у первого слайда она опущена top: 195px) */
.sl_descr,
.sl_descr_others {
top: 0 !important;
padding: 10px 12px !important;
background: rgba(0, 0, 0, 0.6) !important;
border-radius: 14px !important;
color: #fff !important;
}

/* Первый слайд как на компьютере: баннер — фон слайда, подпись поверх него внизу.
   Для телефона баннер вертикальный: логотип и герои сверху, пергамент внизу под подпись. */
html[lang="ru"] .et_pb_slide_0 { background-image: url("../wp-content/uploads/2016/01/site_slider_bg_ru_mobile.jpg") !important; }
html[lang="en"] .et_pb_slide_0 { background-image: url("../wp-content/uploads/2016/01/site_slider_bg_en_mobile.jpg") !important; }
.et_pb_slide_0 {
background-position: center top !important;
}
.et_pb_slide_0 .et_pb_container {
align-items: flex-end;
}

/* Иконки особенностей поменьше, чтобы не листать километры */
.et_pb_main_blurb_image img { max-width: 120px !important; }
.et_pb_main_blurb_image { margin-bottom: 10px !important; }

div.et_pb_slider a.et-pb-arrow-prev { left: 5px !important; }
div.et_pb_slider a.et-pb-arrow-next { right: 5px !important; }

.et_pb_slide_description .et_pb_slide_title {
font-size: 15px !important;
margin-bottom: 6px !important;
color: #fff !important;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
text-transform: none !important;
line-height: 1.3 !important;
padding: 0 !important;
}

.sl_descr, .sl_descr_others {
font-size: 15px !important;
line-height: 1.35 !important;
}


}

/* ===== Вход в игру: порталы стихий из лобби игры и игровая кнопка ===== */
@font-face {
	font-family: "Stylo";
	src: url("stylo.ttf") format("truetype");
	font-display: swap;
}
.ph-play {
	text-align: center;
	padding: 18px 16px 36px;
}
.ph-play__hint {
	margin: 4px 0 10px;
	padding: 0;
	font: 15px "Play", sans-serif;
	color: #efbe8d;
	opacity: 0.8;
}
/* кнопка из игры: btn.png, при наведении — btn_push.png (вторая картинка подгружается заранее) */
.ph-play__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(333px, 78vw);
	aspect-ratio: 333 / 115;
	padding: 0 0 0.3em;                  /* у шрифта Stylo низкая базовая линия — поднимаем текст в центр плашки */
	line-height: 1;
	background: url("btn.png") center / 100% 100% no-repeat, url("btn_push.png") 0 0 / 0 0 no-repeat;
	font: clamp(28px, 8vw, 42px) "Stylo", "Play", serif;
	color: #fff3cf !important;
	text-decoration: none !important;
	text-shadow: 0 2px 0 #3a1c05, 0 0 12px rgba(255, 170, 60, 0.85);
	animation: ph-btn-pulse 2.4s ease-in-out infinite;
	transition: transform 0.15s;
}
.ph-play__btn:hover {
	background-image: url("btn_push.png");
	animation: none;
	filter: brightness(1.1) drop-shadow(0 0 20px rgba(255, 190, 80, 0.8));
}
.ph-play__btn:active { transform: translateY(2px) scale(0.98); }
@keyframes ph-btn-pulse {
	0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 170, 60, 0.35)); }
	50% { filter: drop-shadow(0 0 22px rgba(255, 170, 60, 0.8)); }
}
.ph-play__note {
	margin: 12px 0 0;
	padding: 0;
	font: 14px "Play", sans-serif;
	color: #efbe8d;
}
/* три кнопки (браузер, Windows, Android) в ряд, на телефоне и узком окне — друг под другом */
.ph-dl {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 10px clamp(12px, 2.5vw, 36px);
}
@media (max-width: 860px) {
	.ph-dl { flex-direction: column; align-items: center; gap: 22px; }
}
.ph-dl__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* кнопки разгораются по очереди: браузер, Windows, Android */
.ph-play__btn--dl {
	animation: ph-btn-seq 3.6s ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * 1.2s);
}
@keyframes ph-btn-seq {
	0%, 40%, 100% { filter: drop-shadow(0 0 5px rgba(255, 170, 60, 0.3)); }
	17%, 23% { filter: drop-shadow(0 0 24px rgba(255, 170, 60, 0.9)); }
}
.ph-play__btn--dl { width: min(270px, 78vw); font-size: clamp(26px, 7vw, 38px); }
.ph-z { margin-left: -0.17em; }
.ph-dl__item p { max-width: min(300px, 90vw); text-wrap: balance; }
.ph-dl__req {
	margin: 4px 0 0;
	padding: 0;
	font: 15px "Play", sans-serif;
	color: #fff3cf;
}
.ph-dl__meta {
	margin: 4px 0 0;
	padding: 0;
	font: 14px "Play", sans-serif;
	color: #efbe8d;
	opacity: 0.85;
}
.ph-dl__howto,
.ph-dl__version {
	margin: 6px auto 0;
	padding: 0;
	max-width: 640px;
	font: 13px "Play", sans-serif;
	color: #efbe8d;
	opacity: 0.75;
}
.ph-dl__version { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) {
	.ph-play__btn { animation: none; }
}

/* ===== Нажатия без выделения ===== */
/* телефоны подсвечивают нажатую ссылку синим прямоугольником — отключаем */
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
/* рамка фокуса после клика мышью/пальцем не нужна; с клавиатуры (Tab) — остаётся */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }
/* долгое нажатие на кнопку или портал не выделяет текст и не тащит картинку */
.ph-play__btn, .lang-btn, .et-pb-arrow-prev, .et-pb-arrow-next {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
.lang-btn img { -webkit-user-drag: none; }

/* ---------------------------------------------------------------- новости: длинная — под катом */
.ph-news__more summary {
	cursor: pointer;
	list-style: none;
}
.ph-news__more summary::-webkit-details-marker { display: none; }
.ph-news__toggle {
	color: #e47a36;
	white-space: nowrap;
}
.ph-news__more[open] summary { display: none; }

#download, #news { scroll-margin-top: 70px; }

.ph-news__empty {
	margin: 10px 0 30px;
	text-align: center;
	font: 15px "Play", sans-serif;
	color: #efbe8d;
	opacity: 0.75;
}
