/*
Theme Name: dw-micronix
Author: DesignWicked.com
Theme URI: https://www.designwicked.com
Description: DW-Micronix is fully responsive for mobile/tablet/desktop, and features optional sidebars on the left, center, and right(1 left side, 1 right side, 1 center.) As well as, 2 header menus, one is a part of the design and can be changed in the customizer. The Premium Version has a total of 5 left, 5 right, and 5 center blocks, an HTML footer content box, as well as, a footer length widget area, and a header length widget area, a color picking feature, and finally, a social media bar in the header.
Version: 1.4
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl.html
Tags: blog, three-columns, two-columns, one-column, left-sidebar, right-sidebar, custom-menu, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: dw-micronix
*/

:root {
    --titles: #ffffff;
    --titles2: #ffffff;
    --maintext: #fff;
    --primarybg: #1a1a1a;
    --secondarybg: #a0a0a0;
    --links: #dbb300;
    --links-hover: #a1a1a1;
    --bullets: #dbdbdb;
    --bullets2: #969696;
    --images: #000000;
    --userlog: #9b9b9b;
}


/* --- RESETS & MISC --- */

nav {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
div,
font,
img,
small,
strike,
sub,
sup,
li,
fieldset,
figcaption,
form,
main,
label,
legend,
button,
table,
caption,
tr,
th,
td {
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1em;
}

html {
    scroll-behavior: smooth;
}


/* --- Hue Selecter --- */

.hueswap {
    filter: hue-rotate(var(--hue-rotate));
}

.blue-hue {
    --hue-rotate: 230deg;
}

.purple-hue {
    --hue-rotate: 300deg;
}

.pink-hue {
    --hue-rotate: 310deg;
}

.orange-hue {
    --hue-rotate: 400deg;
}

.green-hue {
    --hue-rotate: 450deg;
}


/* --- LINKS --- */

a,
a:visited {
    /*text-decoration: underline !important;*/
}

a:hover,
a:focus {
    color: var(--links-hover);
    /*text-decoration: underline !important;*/
    background-color: transparent !important;
}


/* --- TAB SHORTCUT --- */

#skip {
    position: relative;
    z-index: 99;
}

.tab-shortcut {
    position: absolute;
    top: -999px;
    padding: 20px;
}

.tab-shortcut:hover {
    position: absolute;
    top: -999px;
    background: var(--secondarybg) !important;
    padding: 20px;
}

.tab-shortcut:focus {
    top: 0;
    background: var(--secondarybg) !important;
    text-decoration: none;
}

#content {
    width: 100%;
    order: 2;
}

/* Исправленная кнопка "Наверх" – центр вверху, адаптив */
#TopBtn {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 20px 30px;
    background-image: url(images/toTop.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: rgba(112, 112, 112, 0.3);
    border-radius: 50%;
    filter: hue-rotate(var(--hue-rotate));
}

#TopBtn:hover {
    background-image: url(images/toTop-h.png);
    background-color: rgba(112, 112, 112, 0.3);
}

/* Адаптация для планшета */
@media (max-width: 1024px) {
    #TopBtn {
        top: 15px;
        padding: 15px 25px;
    }
}

/* Адаптация для мобильного телефона */
@media (max-width: 768px) {
    #TopBtn {
        top: 10px;
        padding: 10px 20px;
    }
}


/* --- CORE CSS --- */

html::-webkit-scrollbar {
    width: 8px;
    background-color: #282828;
}

html::-webkit-scrollbar-thumb {
    background-color: #666;
}

.header-footer-bg {
    position: relative;
}

.header-footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/hback.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 410px;
    filter: hue-rotate(var(--hue-rotate));
}

.header-footer-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(images/fback.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 298px;
    z-index: -1;
    filter: hue-rotate(var(--hue-rotate));
}

body {
    width: 100%;
    min-width: 375px;
    padding: 0;
    background-color: var(--primarybg);
    font-family: 'Electrolize', 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;
    font-size: 3vh;
    color: var(--maintext);
    letter-spacing: 0.2px;
}

#main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}


/* Backing for main center content */

#sb-wrap {
    position: relative;
    margin: 0 auto;
    background-color: var(--secondarybg);
}

#sb-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: url(images/sbl.png);
    background-repeat: repeat-y;
    width: 75px;
    display: none;
    filter: hue-rotate(var(--hue-rotate));
}

#sb-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: url(images/sbr.png);
    background-repeat: repeat-y;
    width: 59px;
    display: none;
    filter: hue-rotate(var(--hue-rotate));
}

#widget-hd-ft-block {
    margin: 0 auto;
    padding: 0;
    max-width: 1500px;
}

.widget-column#widget-left {
    order: 1;
}

.widget-column#widget-right {
    order: 4;
}

.singlealign {
    margin-top: 14px;
}

.blog-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    order: 3;
}

.storyalign {
    padding-top: 14px;
}

.single-blog-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    order: 1;
}

.single-blog-column .blog-title {
    color: var(--titles);
    background-image: linear-gradient(to top, rgba(49, 49, 49, 0.8), rgba(112, 112, 112, 0.8));
    border: 1px solid #000;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    padding: 13px 17px;
    margin: 0px 7px;
    text-shadow: 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000;
}

.single-blog-column .blog-title a {
    color: var(--links);
    text-decoration: none;
    filter: hue-rotate(var(--hue-rotate));
}

.single-blog-column .blog-title a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

.single-blog-column .blog-content {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #000;
    border-top: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    padding: 10px;
    margin: 0px 7px;
}

.blog-column .blog-title {
    width: 98.2%;
    color: var(--titles);
    font-size: 16px;
    background-image: linear-gradient(to top, #575757, #878787);
    border-radius: 5px;
    box-shadow: inset 0 0 3px #ffffff, 0 0 5px #000000, 0 0 2px #000000;
    padding: 13px 17px;
    margin: 0 0 8px 7px;
    text-shadow: 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000;
}

.blog-column .blog-title a {
    color: var(--links);
    text-decoration: none;
    filter: hue-rotate(var(--hue-rotate));
}

.blog-column .blog-title a:hover {
    color: var(--links-hover);
    text-decoration: none;
    filter: hue-rotate(var(--hue-rotate));
}

.blog-column .blog-content {
    background: linear-gradient(0deg, #4d4d4d 95%, #afafaf 100%);
    border-top: none;
    border-radius: 5px;
    box-shadow: inset 0 0 3px #ffffff, 0 0 5px #000000, 0 0 2px #000000;
    padding: 10px;
    margin: 0px 7px;
}

header {
    display: none;
}

footer {
    display: none;
}

#headerlogo2 {
    /*header logo*/
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0 auto;
    height: 232px;
    max-width: 100%;
    z-index: 999;
}

#headerlogo2 img {
    object-fit: contain;
    max-height: 232px;
    max-width: 100%;
    filter: hue-rotate(var(--hue-rotate));
}


/* ------- MISC WP CORE CSS ------- */

.hmenu {
    text-align: center;
    padding: 10px 0px 10px 0px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}


/* Navigation Menu - Mobile */

.main-navigation {
    padding: 0;
    background-color: #1a1a1a;
}

.main-navigation button {
    background-image: none;
    background-color: #303030;
    box-shadow: inset 0 0 2px #000000, 0 0 2px #000000;
}

.main-navigation li {
    margin-top: 10px;
    line-height: 1.42857143;
}

.main-navigation a {
    color: var(--links);
    text-shadow: 0 0 3px #000000, 0 0 3px #000000, 0 0 3px #000000, 0 0 3px #000000, 0 0 3px #000000;
    filter: hue-rotate(var(--hue-rotate));
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu>ul {
    display: none;
}

.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
    display: inline-block;
}


/* Navigation - Full */

.site-content nav {
    clear: both;
    line-height: 2;
    overflow: hidden;
}

#nav-above {
    padding: 24px 0;
    padding: 1.714285714rem 0;
}

#nav-above {
    display: none;
}

.paged #nav-above {
    display: block;
}

.nav-previous,
.previous-image {
    float: left;
    width: 50%;
}

.nav-next,
.next-image {
    float: right;
    text-align: right;
    width: 50%;
}

.nav-single+.comments-area,
#comment-nav-above {
    margin: 48px 0;
    margin: 3.428571429rem 0;
}


/* Buttons */


/* Assistive text */

.assistive-text,
.site .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}

.main-navigation .assistive-text:focus,
.site .screen-reader-text:hover,
.site .screen-reader-text:active,
.site .screen-reader-text:focus {
    background: #fff;
    border: 2px solid #333;
    border-radius: 3px;
    clip: auto !important;
    color: #000;
    display: block;
    font-size: 12px;
    height: auto;
    padding: 12px;
    position: absolute;
    top: 5px;
    left: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar */
}

#site-navigation {
    margin: 0 auto;
    text-align: left;
    width: 98%;
    background-image: none;
}

.menu-toggle {
    padding: 6px 10px;
    padding: 0.428571429rem 0.714285714rem;
    line-height: 1.428571429;
    font-weight: normal;
    color: var(--links);
    width: 98%;
    height: 75px;
    font-size: 1em;
    background-color: #525252;
    border-radius: 0;
    border-style: none;
    text-shadow: 0 0 3px #000000, 0 0 3px #000000, 0 0 3px #000000, 0 0 3px #000000, 0 0 3px #000000;
    text-decoration: none;
    cursor: pointer;
    filter: hue-rotate(var(--hue-rotate));
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-repeat: repeat-x;
}

.menu-toggle:active,
.menu-toggle.toggled-on {
    color: #ffffff;
    width: 98%;
    font-size: 1.4em;
    background-color: #5e5e5e;
    background-repeat: repeat-x;
    border-color: transparent;
}

button,
input,
select {
    height: 25px;
    margin: 5px;
    border: 3px solid #6d6d6d;
    background-color: #272727;
    color: #b1b1b1;
}

button,
select,
input[type=button],
input[type=submit],
input[type=reset] {
    height: 30px;
    padding: 5px 10px 5px 10px;
    background: linear-gradient(0deg, #19191c 0%, #353535 100%);
    cursor: pointer;
}

code {
    display: inline-block;
    vertical-align: middle;
    padding: 2px 10px 4px;
    background: #666666;
    border-top: 2px solid;
    border-radius: 4px;
    overflow-x: auto;
    color: #1a1a1a;
    text-shadow: none;
}

p {
    line-height: 1.4;
    margin: 1em 0;
}

pre {
    overflow-x: auto;
}

textarea {
    font-family: Arial, Verdana, Helvetica;
    border: 1px solid #878787;
    padding: 2px 5px 1px;
    width: 250px;
    height: 100px;
    background-color: var(--secondarybg);
    color: var(--maintext);
}

input {
    max-width: 100%;
}

.alignnone {
    margin: 6px 0;
}

.alignleft {
    float: left;
    margin: 6px 6px 6px 0;
}

.alignright {
    float: right;
    margin: 6px 0 6px 6px;
}

.aligncenter {
    display: block;
    margin: 6px auto;
}

#content .wp-block-button:not(.is-style-outline) .wp-block-button__link,
#content .wp-block-file__button {
    text-decoration: none;
    font-weight: normal;
}

.is-style-squared .wp-block-button__link {
    border-radius: 0;
}

.wp-caption .wp-caption-text {
    margin: 0;
}

.gallery-caption {
    box-sizing: border-box;
    padding: 3px;
    max-width: 100%;
}


/* ------------------------- SITE CONTENT CSS BEGINS ------------------------- */


/* SOCIAL BAR */

#socialbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 546px;
    height: 49px;
    margin: 0 auto;
    padding-bottom: 2px;
}

.socialicon-wrap {
    display: flex;
    justify-content: right;
    flex-direction: row;
    align-items: center;
    padding: 3px 15px 0 0;
    width: 100%;
    gap: 10px;
}

.socialicon-fb {
    width: 32px;
    height: 32px;
    background-image: url(images/social/fb.png);
}

.socialicon-fb:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/fb-a.png);
}

.socialicon-tw {
    width: 32px;
    height: 32px;
    background-image: url(images/social/tw.png);
}

.socialicon-tw:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/tw-a.png);
}

.socialicon-lin {
    width: 32px;
    height: 32px;
    background-image: url(images/social/in.png);
}

.socialicon-lin:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/in-a.png);
}

.socialicon-ig {
    width: 32px;
    height: 32px;
    background-image: url(images/social/ig.png);
}

.socialicon-ig:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/ig-a.png);
}

.socialicon-yt {
    width: 32px;
    height: 32px;
    background-image: url(images/social/yt.png);
}

.socialicon-yt:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/yt-a.png);
}

.socialicon-gplus {
    width: 32px;
    height: 32px;
    background-image: url(images/social/gplus.png);
}

.socialicon-gplus:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/gplus-a.png);
}

.socialicon-dis {
    width: 32px;
    height: 32px;
    background-image: url(images/social/discord.png);
}

.socialicon-dis:hover {
    width: 32px;
    height: 32px;
    background-image: url(images/social/discord-a.png);
}


/*---THEME MAIN HEADER DESIGN NAV---*/

.hdmainnav {
    padding-top: 7px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000;
}


/*---END MAIN HEADER DESIGN NAV---*/

.datetime {
    padding-top: 4px;
    font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;
    text-align: center;
    text-shadow: 0px 0px 1px #000000, 0px 0px 2px #000000, 0px 0px 3px #000000;
}

.datetime .date-string,
.datetime .time-string {
    color: var(--links);
}

.datetime .time-string::before {
    content: ' - ';
    color: #ffffff;
}

.date-date,
.time-time {
    color: #ffffff;
    text-shadow: 0 0 2px #000000, 0 0 2px #000000, 0 0 2px #000000;
}

.userlog {
    color: var(--userlog);
    padding-top: 22px;
    padding-left: 15px;
    text-align: left;
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 3px #000000;
}

.userlog a {
    color: var(--links);
}

.userlog a:hover {
    color: var(--links-hover);
}

.userlog a::before {
    color: var(--bullets);
    content: " \bb \00a0";
}

header {
    max-width: 1500px;
    margin: 0 auto;
}

footer {
    max-width: 1500px;
    margin: 0 auto;
}

#headerlogo {
    /*header logo*/
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 25px 0 0 50px;
    height: 150px;
    width: 500px;
    z-index: 999;
}

#headerlogo img {
    object-fit: contain;
    max-height: 150px;
    max-width: 500px;
}

.custom-logo {
    min-height: inherit;
}

#blog-name {
    color: var(--links);
    font-size: 3.25em;
    text-align: center;
    text-shadow: 0px 0px 5px #000000, 0px 0px 5px #000000, 0px 0px 5px #000000;
}

#blog-tagline {
    color: var(--links-hover);
    font-size: 18px;
    text-align: center;
    text-shadow: 0px 0px 5px #000000, 0px 0px 5px #000000, 0px 0px 5px #000000;
}

.fcontent {
    width: 784px;
    height: 95px;
    margin: 0px;
    padding: 5px 45px 5px 5px;
    text-decoration: none;
    text-shadow: 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000;
    text-align: center;
    overflow: auto;
}

.fcontent a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

.fcontent a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

#footer-content {
    width: 222px;
    height: 95px;
    font-size: .9em;
    font-weight: bold;
    padding-top: 15px;
    margin: 0 auto;
    padding-left: 0px;
    text-align: center;
    border-radius: 4px;
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000;
}

#footer-content a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

#footer-content a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

.postnav {
    font-size: 15px;
    padding-top: 10px;
}

.pcontent {
    margin: 20px 0px;
    padding: 5px 5px 5px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcontent a {
    text-align: center;
}

@media (min-width: 1200px) {
    .pcontent {
        flex-direction: row;
    }
}

.pcontent img {
    border: 4px solid var(--images);
    min-width: 150px;
}

.scontent {
    max-width: 100%;
    margin: 20px 0px;
    padding: 5px 5px 5px 10px;
}

.scontent a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

.scontent a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

.vertical-line {
    border-left: 2px solid #464646;
}

.thumbsingle {
    margin: 30px 10px 0px 10px;
    text-align: center;
}

.hentry {
    clear: both;
}

.sticky {
    margin: 14px -1px;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid;
    border-color: rgb(112, 112, 112);
    box-shadow: inset 0px 0px 10px #4b4b4b, inset 0px 0px 25px #747474, 0px 0px 5px #949494;
}


/* 5a) Pre-content */

.meta {
    width: 100%;
    text-align: right;
    font-size: .9em;
    padding: 10px;
    margin: 5px 10px 5px auto;
    border-radius: 4px;
}

.meta a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

.meta a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}


/* 5b) Content elements */

.hentry img,
.sidebar img {
    height: auto;
    max-width: 100%;
}


/* 5c) Post-content */

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-links a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

.nav-links a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

.nav-links .page-numbers {
    display: block;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 9px 14px;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    box-shadow: 0px 0px 2px #000, inset 0px 0px 2px #1a1c1f, inset 0px 0px 2px #141414;
}

.post-nav-links {
    clear: both;
}

.paginationlink {
    padding-bottom: 20px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
}

#continuelink {
    text-align: right;
    text-decoration: none;
    padding: 10px 0px 25px 0px;
}

#continuelink a {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

#continuelink a:hover {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

#continuelink::before {
    color: var(--bullets);
    content: "\bb  ";
    text-decoration: none;
}

.readmore {
    padding: 5px;
}

.readmore::before {
    content: "\bb  ";
}

.comment-body {
    padding: 7px;
    background-color: rgba(39, 39, 39, 0.5);
    border-radius: 4px;
    border: 2px solid;
    border-color: rgb(121, 121, 121);
}

.reply-header {
    font-size: 0.9em;
    padding: 10px 0px;
}

.comment-reply-title {
    font-size: 0.9em;
}

#comments {
    color: #bdbdbd;
    margin: 5px;
    padding: 10px;
    font-size: 1.2em;
    border-radius: 4px;
    clear: both;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 3px #000;
}

#comments a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

#comments a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

#comments.pagecomments {
    border-radius: 0 0 6px 6px;
}

.comment-feed-link {
    margin: 0 10px 10px;
}

.comment-feed-link a {
    text-decoration: none;
}

.commentlist {
    margin: 3px;
    padding: 0;
}

.comment,
.trackback,
.pingback {
    list-style: none;
    padding: 10px;
    border-radius: 4px;
    margin: 16px 0;
}

.comment-meta a,
.comment-author a {
    text-decoration: none;
}

.avatar {
    text-align: center;
    vertical-align: text-top;
}

.bypostauthor {
    border-color: #999999;
}

.reply a {
    text-decoration: none;
}

#comments .children {
    padding: 0;
}

.comment-respond a {
    text-decoration: none;
}

.comment-form-comment textarea {
    width: 100%;
    color: #ffffff;
    box-sizing: border-box;
}

#submit {
    font-size: 1em;
    color: #9e9e9e;
    padding: 6px;
    box-shadow: 0px 0px 3px #000000;
    text-shadow: 0px 0px 3px #000000, 0px 0px 3px #000000;
    border-radius: 6px;
    border: 1px solid #000000;
}

#content #submit:hover,
#content #submit:focus,
#content #submit:active {
    border: 1px solid #000000;
    background: linear-gradient(0deg, #575757 0%, #afafaf 100%);
}

.pagination,
.post-navigation {
    padding: 0 6px;
    border-radius: 0 0 6px 6px;
}

.pagination {
    text-align: center;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    clear: both;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    word-break: break-all;
    word-break: break-word;
}


/*----- Top Bar -----*/

.topblk {
    display: flex;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 0.9em;
    width: 100%;
    margin: auto;
    padding: 15px 0 15px 0;
    border: none;
    box-sizing: border-box;
    list-style: none;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 5px 5px;
}

.topblk li {
    padding: 5px;
    align-self: center;
    list-style: none;
}

.topblk ul {
    padding: 0;
}

.topblk h2 {
    font-size: 16px;
    line-height: 29px;
    min-width: 194px;
    min-height: 33px;
    height: min-content;
    font-weight: bold;
    color: var(--titles);
    border-radius: 5px;
    background-color: #5c5c5c;
    box-shadow: 0 0 2px #e2e2e2, inset 0 0 3px #000000, inset 0 0 5px #000000, inset 0 0 6px #000000;
    box-sizing: border-box;
    text-align: center;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000, 0px 0px 2px #000000;
}

.topblk h2 a {
    color: #757575;
}

.topblk h2 a:hover {
    color: #ffffff;
}

.topblk img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.topblk a {
    color: var(--links);
    text-shadow: 0 0 2px #000000, 0 0 2px #000000, 0 0 2px #000000;
    filter: hue-rotate(var(--hue-rotate));
}

.topblk a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}


/*----- end top bar -----*/


/*----- Bottom Bar -----*/

.botblk {
    display: flex;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 0.9em;
    width: 100%;
    margin: auto;
    padding: 15px 0 15px 0;
    border: none;
    box-sizing: border-box;
    list-style: none;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 5px 5px;
}

.botblk li {
    padding: 5px;
    align-self: center;
    list-style: none;
}

.botblk ul {
    padding: 0;
}

.botblk h2 {
    font-size: 16px;
    line-height: 29px;
    min-width: 194px;
    min-height: 33px;
    height: min-content;
    font-weight: bold;
    color: var(--titles);
    border-radius: 5px;
    background-color: #5c5c5c;
    box-shadow: 0 0 2px #e2e2e2, inset 0 0 3px #000000, inset 0 0 5px #000000, inset 0 0 6px #000000;
    box-sizing: border-box;
    text-align: center;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000, 0px 0px 2px #000000;
}

.botblk h2 a {
    color: #757575;
}

.botblk h2 a:hover {
    color: #ffffff;
}

.botblk img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.botblk a {
    color: var(--links);
    text-shadow: 0 0 2px #000000, 0 0 2px #000000, 0 0 2px #000000;
    filter: hue-rotate(var(--hue-rotate));
}

.botblk a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}


/*----- Center Block -----*/

.centerblk {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 0.9em;
    margin: auto;
    padding: 5px 0px;
    border: none;
    box-sizing: border-box;
    list-style: none;
    text-align: center;
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000;
}

.centerblk li {
    /*margin-bottom: 25px;*/
}

.centerblk a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
}

.centerblk a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

.centerblk h2 {
    text-align: center;
    font-size: 1em;
    line-height: 29px;
    width: 100%;
    min-height: 20px;
    height: min-content;
    margin: 0 0 20px 0;
    padding: 5px;
    font-weight: bold;
    color: var(--titles2);
    background-color: #5c5c5c;
    box-shadow: 0 0 2px #e2e2e2, inset 0 0 3px #000000, inset 0 0 5px #000000, inset 0 0 6px #000000;
    box-sizing: border-box;
    border-radius: 5px;
    letter-spacing: 1px;
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000;
}

.centerblk img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* ----- ОБЪЕДИНЕННЫЕ СТИЛИ ДЛЯ САЙДБАРОВ ----- */
.sidebar,
.sidebar2 {
    text-decoration: none;
    flex-shrink: 0;
    margin: 0px;
    padding: 10px 5px 1px 5px;
    border: none;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000;
}

.sidebar img,
.sidebar2 img {
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.sidebar h2,
.sidebar2 h2 {
    text-align: center;
    font-size: 1em;
    line-height: 29px;
    width: 100%;
    min-height: 20px;
    height: min-content;
    margin: 0px 0px 20px 0px;
    padding: 5px;
    font-weight: bold;
    color: var(--titles);
    background-color: #5c5c5c;
    box-shadow: 0 0 2px #e2e2e2, inset 0 0 3px #000000, inset 0 0 5px #000000, inset 0 0 6px #000000;
    box-sizing: border-box;
    border-radius: 5px;
    letter-spacing: 1px;
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000;
}

.sidebar h2 a,
.sidebar2 h2 a {
    color: #757575;
    font-weight: bold;
}

.sidebar h2 a:hover,
.sidebar2 h2 a:hover {
    color: #ffffff;
    font-weight: bold;
}

.sidebar li,
.sidebar2 li {
    list-style: none;
    padding: 2px 0 30px;
}

.sidebar li li,
.sidebar2 li li {
    padding: 2px 0px;
}

.sidebar li li::before,
.sidebar2 li li::before {
    color: var(--bullets);
    content: "\bb \00a0";
    text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000;
}

.sidebar li li.wp-block-latest-comments__comment::before,
.sidebar2 li li.wp-block-latest-comments__comment::before {
    display: none;
}

ol.wp-block-latest-comments {
    padding-left: 0;
}

.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
    margin-left: 0;
}

.sidebar li li li,
.sidebar2 li li li {
    padding: 3px 0 2px 10px;
}

.sidebar li li li::before,
.sidebar2 li li li::before {
    content: "\21b3  ";
}

.sidebar ul,
.sidebar2 ul {
    margin: 0px;
    padding: 0px;
}

.sidebar ul ul,
.sidebar2 ul ul {
    margin: 2px 0 0;
}

.sidebar ul ul ul,
.sidebar2 ul ul ul {
    border-top: 1px dotted #000;
    margin-bottom: -3px;
}

.sidebar a,
.sidebar2 a {
    color: var(--links);
    filter: hue-rotate(var(--hue-rotate));
    transition: 0.3s;
}

.sidebar a:hover,
.sidebar2 a:hover {
    color: var(--links-hover);
    filter: hue-rotate(var(--hue-rotate));
}

/* Различия между sidebar и sidebar2 */
.sidebar2 li ul {
    padding-left: 0px;
}

.sidebar2 ul ul {
    margin: 2px 0 0;
}


/** ------------------------------------------Header section starts------------------------------------------*/

.hd-body {
    height: 393px;
}

.hd-row1 {
    position: relative;
    padding-left: 640px;
    padding-right: 635px;
    height: 49px;
}

.hd-row1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/HD/r1.png);
    background-repeat: no-repeat;
    width: 640px;
    height: 49px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/HD/hd_07.png);
    background-repeat: no-repeat;
    width: 6px;
    height: 49px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row1-inner-1 {
    background: url(images/HD/str1.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 49px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row1-inner-2 {
    position: absolute;
    top: 0;
    right: 68px;
    background: url(images/HD/hd_05.png);
    background-repeat: no-repeat;
    width: 567px;
    height: 49px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row1-inner-3 {
    position: absolute;
    top: 0;
    right: 6px;
    display: flex;
    flex-direction: row;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row1-nav-colorpicker,
.hd-row1-nav-colorpicker:hover {
    width: 62px;
    height: 49px;
    background: url(images/HD/colorswitch.png);
    background-repeat: no-repeat;
}

.hd-row1-nav-colorpicker {
    height: 49px;
    background-position: 0px 0px;
}


/*---- ROW 1 END----*/

.hd-row2 {
    position: relative;
    padding-left: 640px;
    padding-right: 635px;
    height: 31px;
}

.hd-row2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(images/HD/r2.png);
    background-repeat: no-repeat;
    width: 640px;
    height: 31px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(images/HD/hd_13.png);
    background-repeat: no-repeat;
    width: 118px;
    height: 31px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row2-inner-1 {
    background: url(images/HD/str2.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 31px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row2-inner-2 {
    position: absolute;
    top: 0;
    right: 445px;
    background: url(images/HD/hd_11.png);
    background-repeat: no-repeat;
    width: 190px;
    height: 31px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row2-inner-3 {
    position: absolute;
    top: 0;
    right: 118px;
    background: url(images/HD/clock.png);
    background-repeat: no-repeat;
    width: 327px;
    height: 31px;
    filter: hue-rotate(var(--hue-rotate));
}


/*---- ROW 2 END ----*/

.hd-row3 {
    position: relative;
    padding-left: 968px;
    padding-right: 315px;
    height: 250px;
}

.hd-row3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/HD/r3.png);
    background-repeat: no-repeat;
    width: 87px;
    height: 250px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/HD/hd_19.png);
    background-repeat: no-repeat;
    width: 315px;
    height: 250px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row3-inner-1 {
    position: absolute;
    top: 0;
    left: 87px;
    display: flex;
    flex-direction: column;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row3-inner-1 a {
    color: var(--links-hover);
	text-decoration: none !important;
}

.hd-row3-inner-1 a:hover {
    color: var(--links);
	text-decoration: none !important;
}


/** Navigation Links - STARTS */

.hd-row3-navcap1 {
    width: 136px;
    height: 37px;
    background: url(images/HD/cap1.png);
    background-repeat: no-repeat;
}

.hd-row3-nav-link-1,
.hd-row3-nav-link-1:hover {
    width: 136px;
    background: url(images/HD/b1.png);
    background-repeat: no-repeat;
}

.hd-row3-nav-link-1 {
    height: 31px;
    background-position: 0px 0px;
}

.hd-row3-nav-link-1:hover {
    height: 31px;
    background-position: 0px -31px;
}

.hd-row3-nav-link-2,
.hd-row3-nav-link-2:hover {
    width: 136px;
    background: url(images/HD/b2.png);
    background-repeat: no-repeat;
}

.hd-row3-nav-link-2 {
    height: 33px;
    background-position: 0px 0px;
}

.hd-row3-nav-link-2:hover {
    height: 33px;
    background-position: 0px -33px;
}

.hd-row3-nav-link-3,
.hd-row3-nav-link-3:hover {
    width: 136px;
    background: url(images/HD/b3.png);
    background-repeat: no-repeat;
}

.hd-row3-nav-link-3 {
    height: 33px;
    background-position: 0px 0px;
}

.hd-row3-nav-link-3:hover {
    height: 33px;
    background-position: 0px -33px;
}

.hd-row3-nav-link-4,
.hd-row3-nav-link-4:hover {
    width: 136px;
    background: url(images/HD/b4.png);
    background-repeat: no-repeat;
}

.hd-row3-nav-link-4 {
    height: 33px;
    background-position: 0px 0px;
}

.hd-row3-nav-link-4:hover {
    height: 33px;
    background-position: 0px -33px;
}

.hd-row3-nav-link-5,
.hd-row3-nav-link-5:hover {
    width: 136px;
    background: url(images/HD/b5.png);
    background-repeat: no-repeat;
}

.hd-row3-nav-link-5 {
    height: 33px;
    background-position: 0px 0px;
}

.hd-row3-nav-link-5:hover {
    height: 33px;
    background-position: 0px -33px;
}

.hd-row3-navcap2 {
    width: 136px;
    height: 50px;
    background: url(images/HD/cap2.png);
    background-repeat: no-repeat;
}


/** Navigation Links - ENDS */

.hd-row3-inner-2 {
    position: absolute;
    top: 0;
    left: 223px;
    background: url(images/HD/hd_16.png);
    background-repeat: no-repeat;
    width: 65px;
    height: 250px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row3-inner-3 {
    position: absolute;
    top: 0;
    left: 288px;
    background: url(images/HD/logo.gif);
    background-repeat: no-repeat;
    width: 680px;
    height: 250px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row3-inner-4 {
    background: url(images/HD/str3.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 250px;
}


/*---- ROW 3 END----*/

.hd-row4 {
    position: relative;
    padding-left: 640px;
    padding-right: 639px;
    height: 49px;
}

.hd-row4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(images/HD/r4.png);
    background-repeat: no-repeat;
    width: 77px;
    height: 49px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(images/HD/hd_30.png);
    background-repeat: no-repeat;
    width: 93px;
    height: 49px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row4-inner-1 {
    position: absolute;
    top: 0;
    left: 77px;
    background: url(images/HD/userlog.png);
    background-repeat: no-repeat;
    width: 563px;
    height: 49px;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row4-inner-2 {
    background: url(images/HD/str4.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 49px;
}

.hd-row4-inner-3 {
    position: absolute;
    top: 0;
    right: 93px;
    background: url(images/HD/socialbar.png);
    background-repeat: no-repeat;
    width: 546px;
    height: 49px;
    filter: hue-rotate(var(--hue-rotate));
}


/*---- ROW 4 END ----*/

.hd-row5 {
    position: relative;
    padding-left: 640px;
    padding-right: 639px;
    height: 14px;
}

.hd-row5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/HD/r5.png);
    background-repeat: no-repeat;
    width: 640px;
    height: 14px;
    height: 100%;
}

.hd-row5::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/HD/hd_33.png);
    background-repeat: no-repeat;
    width: 639px;
    height: 14px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.hd-row5-inner {
    background: url(images/HD/str5.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 14px;
}


/*---- ROW 5 END----*/


/** ------------------------------------------Header section ends------------------------------------------*/


/** ------------------------------------------blocks 1 section starts------------------------------------------*/

.blk-body {
    min-width: 250px;
}

.blk-row1 {
    position: relative;
    padding-left: 110px;
    padding-right: 172px;
    height: 63px;
}

.blk-row1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/BLK/r1.png);
    background-repeat: no-repeat;
    width: 110px;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-row1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/BLK/blk_38.png);
    background-repeat: no-repeat;
    width: 172px;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-row1-inner {
    background: url(images/BLK/str1.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-content {
    position: relative;
    height: 100%;
}

.blk-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/BLK/r2.png);
    background-repeat: repeat-y;
    width: 34px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/BLK/blk_45.png);
    background-repeat: repeat-y;
    width: 34px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-content-inner {
    margin: 0px 34px;
    background-color: #717171;
    background-repeat: repeat-y repeat-x;
}

.blk-row3 {
    position: relative;
    padding-left: 110px;
    padding-right: 172px;
    height: 87px;
}

.blk-row3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/BLK/r3.png);
    background-repeat: no-repeat;
    width: 110px;
    height: 87px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-row3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/BLK/blk_50.png);
    background-repeat: no-repeat;
    width: 172px;
    height: 87px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk-row3-inner {
    background: url(images/BLK/str3.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 87px;
    filter: hue-rotate(var(--hue-rotate));
}


/** ------------------------------------------blocks 1 section ends------------------------------------------*/


/** ------------------------------------------blocks 2 section starts------------------------------------------*/

.blk2-body {
    min-width: 250px;
}

.blk2-row1 {
    position: relative;
    padding-left: 110px;
    padding-right: 158px;
    height: 63px;
}

.blk2-row1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/BLK2/r1.png);
    background-repeat: no-repeat;
    width: 110px;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk2-row1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/BLK2/blk_38.png);
    background-repeat: no-repeat;
    width: 158px;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk2-row1-inner {
    background: url(images/BLK2/str1.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk2-content {
    position: relative;
    height: 100%;
}

.blk2-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/BLK2/r2.png);
    background-repeat: repeat-y;
    width: 34px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.blk2-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/BLK2/blk_57.png);
    background-repeat: repeat-y;
    width: 20px;
    height: 100%;
}

.blk2-content-inner {
    margin: 0 20px 0 34px;
    background-color: #717171;
    background-repeat: repeat-y repeat-x;
}

.blk2-row3 {
    position: relative;
    padding-left: 110px;
    padding-right: 158px;
    height: 87px;
}

.blk2-row3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/BLK2/r3.png);
    background-repeat: no-repeat;
    width: 110px;
    height: 87px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk2-row3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/BLK2/blk_71.png);
    background-repeat: no-repeat;
    width: 158px;
    height: 87px;
    filter: hue-rotate(var(--hue-rotate));
}

.blk2-row3-inner {
    background: url(images/BLK2/str3.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 87px;
    filter: hue-rotate(var(--hue-rotate));
}


/** ------------------------------------------blocks 2 section ends------------------------------------------*/


/** ------------------------------------------content blocks section starts------------------------------------------*/

.center-content {
    width: 100%;
}

.content-pos-1 {
    position: relative;
    height: 63px;
    padding: 0 100px 0 91px;
}

.content-pos-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/CONTENT/r1.png);
    background-repeat: no-repeat;
    width: 91px;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.content-pos-1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/CONTENT/content_41.png);
    background-repeat: no-repeat;
    width: 100px;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.content-pos-1-inner {
    background: url(images/CONTENT/content_40.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 63px;
    filter: hue-rotate(var(--hue-rotate));
}

.content-pos-2 {
    position: relative;
    padding: 0px 17px;
}

.content-pos-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/CONTENT/r2.png);
    background-repeat: repeat-y;
    width: 17px;
    height: 100%;
}

.content-pos-2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/CONTENT/content_51.png);
    background-repeat: repeat-y;
    width: 17px;
    height: 100%;
}

.content-pos-2-inner {
    color: var(--maintext);
    background-color: #717171;
    width: 100%;
    padding: 0;
}

.content-pos-3 {
    position: relative;
    padding: 0 100px 0 91px;
    height: 59px;
}

.content-pos-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/CONTENT/content_58.png);
    background-repeat: no-repeat;
    width: 91px;
    height: 59px;
    filter: hue-rotate(var(--hue-rotate));
}

.content-pos-3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/CONTENT/content_60.png);
    background-repeat: no-repeat;
    width: 100px;
    height: 59px;
    filter: hue-rotate(var(--hue-rotate));
}

.content-pos-3-inner {
    background: url(images/CONTENT/content_59.png);
    width: 100%;
    height: 59px;
    filter: hue-rotate(var(--hue-rotate));
}


/** ------------------------------------------content blocks section ends------------------------------------------*/


/** ------------------------------------------top/bot block section starts------------------------------------------*/

.topbot-content {
    width: 100%;
}

.topbot-content-pos-1 {
    position: relative;
    height: 47px;
    padding: 0 77px 0 76px;
}

.topbot-content-pos-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/TOPBOT/r1.png);
    background-repeat: no-repeat;
    width: 76px;
    height: 47px;
    filter: hue-rotate(var(--hue-rotate));
}

.topbot-content-pos-1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/TOPBOT/content_44.png);
    background-repeat: no-repeat;
    width: 77px;
    height: 47px;
    filter: hue-rotate(var(--hue-rotate));
}

.topbot-content-pos-1-inner {
    background: url(images/TOPBOT/str1.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 47px;
}

.topbot-content-pos-2 {
    position: relative;
    padding: 0px 31px;
}

.topbot-content-pos-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/TOPBOT/r2.png);
    background-repeat: repeat-y;
    width: 31px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.topbot-content-pos-2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/TOPBOT/content_51.png);
    background-repeat: repeat-y;
    width: 31px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.topbot-content-pos-2-inner {
    color: var(--maintext);
    background-color: #a0a0a0;
    width: 100%;
    padding: 0;
}

.topbot-content-pos-3 {
    position: relative;
    padding: 0 77px 0 76px;
    height: 43px;
}

.topbot-content-pos-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/TOPBOT/r3.png);
    background-repeat: no-repeat;
    width: 76px;
    height: 43px;
    filter: hue-rotate(var(--hue-rotate));
}

.topbot-content-pos-3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/TOPBOT/content_65.png);
    background-repeat: no-repeat;
    width: 77px;
    height: 43px;
    filter: hue-rotate(var(--hue-rotate));
}

.topbot-content-pos-3-inner {
    background: url(images/TOPBOT/str2.png);
    width: 100%;
    height: 43px;
}


/** ------------------------------------------top/bot block section ends------------------------------------------*/


/** ------------------------------------------footer section starts------------------------------------------*/

.footer-body {
    height: 298px;
}

.ft-row1 {
    position: relative;
    padding-left: 946px;
    padding-right: 337px;
    height: 117px;
}

.ft-row1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/FT/r1.png);
    background-repeat: no-repeat;
    width: 946px;
    height: 117px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/FT/ft_42.png);
    background-repeat: no-repeat;
    width: 337px;
    height: 117px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row1-inner {
    background: url(images/FT/str1.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 117px;
}


/** -------------- FT ROW 1 ENDS ----------------**/

.ft-row2 {
    position: relative;
    padding-left: 946px;
    padding-right: 337px;
    height: 95px;
}

.ft-row2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/FT/r2.png);
    background-repeat: no-repeat;
    width: 146px;
    height: 95px;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/FT/ft_48.png);
    background-repeat: no-repeat;
    width: 72px;
    height: 95px;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row2-inner1 {
    position: absolute;
    top: 0;
    left: 146px;
    background: url(images/FT/fcontent.png);
    background-repeat: no-repeat;
    width: 784px;
    height: 95px;
}

.ft-row2-inner2 {
    position: absolute;
    top: 0;
    left: 930px;
    background: url(images/FT/ft_45.png);
    background-repeat: no-repeat;
    width: 16px;
    height: 95px;
}

.ft-row2-inner3 {
    background: url(images/FT/str2.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 95px;
}

.ft-row2-inner4 {
    position: absolute;
    top: 0;
    right: 72px;
    background: url(images/FT/copy.png);
    background-repeat: no-repeat;
    width: 265px;
    height: 95px;
}


/* ------------ ROW 2 ENDS ------------ */

.ft-row3 {
    position: relative;
    padding-left: 946px;
    padding-right: 337px;
    height: 46px;
}

.ft-row3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/FT/r3.png);
    background-repeat: no-repeat;
    width: 946px;
    height: 46px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/FT/ft_51.png);
    background-repeat: no-repeat;
    width: 337px;
    height: 46px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row3-inner {
    background: url(images/FT/str3.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 46px;
}


/* ------------- ROW 3 ENDS -------------- */

.ft-row4 {
    position: relative;
    padding-left: 858px;
    padding-right: 424px;
    height: 40px;
}

.ft-row4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(images/FT/r4.png);
    background-repeat: no-repeat;
    width: 858px;
    height: 40px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row4::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(images/FT/ft_54.png);
    background-repeat: no-repeat;
    width: 424px;
    height: 40px;
    height: 100%;
    filter: hue-rotate(var(--hue-rotate));
}

.ft-row4-inner {
    background: url(images/FT/str4.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 40px;
}


/* ------------------------------------------footer section ends------------------------------------------*/

@media (min-width: 480px) {
    #site-wrapper {
        margin: auto;
        width: 100%;
    }
    #sb-wrap {
        padding: 0 59px 0 75px;
    }
    #sb-wrap::before {
        display: unset;
    }
    #sb-wrap::after {
        display: unset;
    }
}

@media (min-width: 768px) {
    #sb-wrap {
        padding: 0 59px 0 75px;
    }
}

@media (min-width: 1024px) {
    .topblk {
        flex-direction: row;
    }
    .topblk img {
        max-width: 100%;
    }
    .botblk {
        flex-direction: row;
    }
    .botblk img {
        max-width: 100%;
    }
    body {
        font-size: 100%;
    }
    header {
        display: unset;
    }
    footer {
        display: unset;
    }
    #site-wrapper {
        margin: auto;
        min-width: 1273px;
        max-width: 1500px;
    }
    #sb-wrap {
        min-width: 1273px;
        max-width: 1500px;
        padding: 0 59px 0 75px;
    }
    #main-container {
        flex-direction: row;
    }
    .widget-column#widget-left {
        min-width: 287px;
        max-width: 287px;
        order: 1;
    }
    .widget-column#widget-right {
        min-width: 287px;
        max-width: 287px;
        order: 3;
    }
    .central-column {
        order: 2;
    }
    #headerlogo2 {
        display: none;
    }
    #site-navigation {
        width: 99%;
        border-radius: 5px;
        background-image: url(images/menuback.png);
        background-repeat: repeat-x;
        box-shadow: 0 0 4px #ffffff, inset 0 0 20px #000000, inset 0 0 20px #000000, inset 0 0 20px #000000, inset 0 0 20px #000000, inset 0 0 20px #000000, inset 0 0 20px #000000;
    }
    .main-navigation ul.nav-menu,
    .main-navigation div.nav-menu>ul {
        display: inline-block !important;
        font-weight: bold;
        text-align: left;
        width: 100%;
    }
    .main-navigation ul {
        margin: 0;
        text-indent: 0;
    }
    .main-navigation li a,
    .main-navigation li {
        display: inline-block;
        text-decoration: none;
    }
    .main-navigation li a {
        border-bottom: 0;
        line-height: 3.692307692;
        white-space: nowrap;
    }
    .main-navigation li a:hover,
    .main-navigation li a:focus {
        color: var(--links-hover);
    }
    .main-navigation li {
        margin: 0 20px 0 0;
        position: relative;
    }
    .main-navigation li ul {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        z-index: 1;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
    }
    .main-navigation li ul ul {
        top: 0;
        left: 100%;
    }
    .main-navigation ul li:hover>ul,
    .main-navigation ul li:focus>ul,
    .main-navigation .focus>ul {
        border-left: 0;
        clip: inherit;
        overflow: inherit;
        height: inherit;
        width: inherit;
    }
    .main-navigation li ul li a {
        background-color: var(--primarybg);
        border-left: 1px solid #000000;
        border-bottom: 1px solid #000000;
        border-right: 1px solid #000000;
        display: block;
        font-size: 11px;
        font-size: 0.785714286rem;
        line-height: 2.181818182;
        margin-top: -3px;
        padding: 8px 10px;
        padding: 0.571428571rem 0.714285714rem;
        width: 85px;
        width: 8.85714286rem;
        white-space: normal;
		box-shadow: inset 0 0 3px #ffffff, 0 0 5px #000000, 0 0 2px #000000;
        margin: 0.3px;
    }
    .main-navigation li ul li a:hover,
    .main-navigation li ul li a:focus {
        background-image: linear-gradient(to top, rgb(141, 141, 141), rgb(141, 141, 141));
    }
    .main-navigation .current-menu-item>a,
    .main-navigation .current-menu-ancestor>a,
    .main-navigation .current_page_item>a,
    .main-navigation .current_page_ancestor>a {
        font-weight: bold;
    }
    .menu-toggle {
        display: none;
    }
}
/* ========================================
   АДАПТАЦИЯ WP-RECALL ПОД ТЕМУ DW-MICRONIX
   ======================================== */

/* --- Общие элементы --- */
.rcl-field-input input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]),
.rcl-field-input textarea,
.rcl-field-input select,
.panel_lk_recall .default-field input,
#registerform textarea,
#registerform select,
#registerform input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
    background-color: #2a2a2a !important;
    border-color: #444 !important;
    color: var(--maintext) !important;
    border-radius: 5px !important;
    box-shadow: inset 0 0 3px #000, 0 0 2px #000 !important;
}

.panel_lk_recall .rcl-field-input textarea,
.panel_lk_recall .rcl-field-input input:not([type="checkbox"]):not([type="radio"]) {
    -webkit-box-shadow: inset 0 0 3px #000 !important;
}

.rcl-field-input input:focus,
.rcl-field-input textarea:focus,
.rcl-field-input select:focus {
    background-color: #333 !important;
    border-color: var(--links) !important;
}

/* --- Кнопки --- */
body .rcl-bttn.rcl-bttn__type-primary,
body .recall-button,
input[type="submit"].recall-button,
.rcl-bttn.rcl-bttn__type-simple {
    background: linear-gradient(0deg, #4d4d4d 95%, #afafaf 100%) !important;
    border: 1px solid #000 !important;
    border-radius: 5px !important;
    box-shadow: inset 0 0 3px #ffffff, 0 0 5px #000000 !important;
    color: var(--links) !important;
    text-shadow: 0px 0px 2px #000 !important;
    transition: 0.3s;
}

body .rcl-bttn.rcl-bttn__type-primary:hover,
body .recall-button:hover,
input[type="submit"].recall-button:hover {
    color: var(--links-hover) !important;
    filter: brightness(1.1);
}

body .rcl-bttn.rcl-bttn__type-clear {
    color: var(--links) !important;
}

body .rcl-bttn.rcl-bttn__type-clear:hover {
    color: var(--links-hover) !important;
}

/* --- Формы входа/регистрации (regform.css) --- */
.panel_lk_recall .form-tab-rcl,
.panel_lk_recall.pageform .form-tab-rcl,
.panel_lk_recall.floatform .form-tab-rcl {
    background: var(--secondarybg) !important;
    border-radius: 8px;
    box-shadow: 0 0 5px #000, inset 0 0 1px rgba(255,255,255,0.2);
}

.panel_lk_recall .form_reg,
.panel_lk_recall .form_auth {
    background: #3a3a3a !important;
    color: var(--maintext);
}

.panel_lk_recall .form_active {
    background: var(--secondarybg) !important;
    color: var(--titles);
}

.panel_lk_recall .form-tab-rcl .form_head a {
    color: var(--links);
}

.panel_lk_recall .form-tab-rcl .form_head a:hover {
    color: var(--links-hover);
}

.panel_lk_recall .form-block-rcl .login-error {
    background: rgba(255, 80, 80, 0.3);
    border-left: 3px solid red;
    color: #ffb3b3;
}

.panel_lk_recall .form-block-rcl .login-message {
    background: rgba(80, 255, 80, 0.2);
    border-left: 3px solid green;
    color: #b3ffb3;
}

/* --- Верхняя панель (recallbar) --- */
#recallbar {
    background: rgba(0, 0, 0, 0.9) !important;
    }

#recallbar a,
#recallbar .rcli,
#recallbar .rcb_icon .rcb_hiden span {
    color: var(--links) !important;
}

#recallbar a:hover,
#recallbar .rcb_icon:hover .rcli {
    color: var(--links-hover) !important;
}

#recallbar .rcb_right_menu .fa-ellipsis-h {
    color: var(--links) !important;
}

#recallbar .rcb_menu,
#recallbar .pr_sub_menu,
#recallbar .sub-menu {
    background: rgba(0, 0, 0, 0.95) !important;
    border-top: 2px solid var(--links);
}

#recallbar .rcb_line:hover,
#recallbar li:hover,
#recallbar .current-menu-item {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Личный кабинет WP-Recall (core.css) --- */
#rcl-office {
    color: var(--maintext);
}

#rcl-office .recall_content_block {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 5px;
    border: 1px solid #444;
}

.rcl-subtab-menu {
    border-radius: 5px;
}

.rcl-table__row-header {
    background-color: #3a3a3a !important;
    color: var(--titles);
}

.rcl-table__border,
.rcl-table__border-row-right .rcl-table__cell:not(:last-child),
.rcl-table__border-row-bottom .rcl-table__row:not(.rcl-table__row-header):not(:last-child) {
    border-color: #444 !important;
}

.rcl-table__zebra .rcl-table__row:nth-child(2n+1):not(.rcl-table__row-header) {
    background-color: #2a2a2a !important;
}

/* --- Уведомления и модальные окна --- */
#rcl-notice .notice-window {
    background: #2a2a2a !important;
    border-left: 3px solid var(--links) !important;
    color: var(--maintext) !important;
    border-radius: 5px;
}

.ssi-modalOuter .ssi-modalWindow {
    background: var(--secondarybg) !important;
    border: 1px solid #000;
    border-radius: 8px;
    box-shadow: 0 0 15px #000;
}

.ssi-modalOuter .ssi-modalTitle {
    background: #2a2a2a;
    color: var(--titles);
    border-bottom: 1px solid #444;
}

body .ssi-modalContent {
    color: var(--maintext);
}

body .ssi-buttons .ssi-modalBtn {
    background: #3a3a3a;
    color: var(--links);
    border: 1px solid #000;
}

body .ssi-buttons .ssi-modalBtn:hover {
    background: #4a4a4a;
    color: var(--links-hover);
}

/* --- Список пользователей (users.css) --- */
.userlist .user-single {
    background: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 0 5px #000 !important;
    border-radius: 5px;
}

.userlist.rows-list .userlist_top {
    background: #2a2a2a !important;
}

.userlist.rows-list .userlist_top h3 a {
    color: var(--links);
}

.userlist.rows-list .userlist_top h3 a:hover {
    color: var(--links-hover);
}

.userlist .user-single .filter-data {
    background: #2a2a2a !important;
    color: var(--maintext);
}

.userlist.cards-list .u_card_name {
    background: rgba(0, 0, 0, 0.7);
    color: var(--titles);
}

.u_card_half {
    color: var(--maintext);
}

.u_card_half:nth-child(2) {
    border-left-color: #444;
}

/* --- Поля с чекбоксами/радио --- */
.rcl-field-input .block-label {
    background-color: #2a2a2a !important;
    border-color: #444 !important;
    color: var(--maintext);
}

.rcl-field-input label.block-label::before {
    background-color: #1a1a1a;
    border-color: #666;
}

.rcl-field-input input[type="checkbox"]:checked + label.block-label::before,
.rcl-field-input input[type="radio"]:checked + label.block-label::before {
    background: var(--links) !important;
}

/* --- Слайдер (slider.css) --- */
.rcl-gallery-navigator {
    background-color: #1a1a1a !important;
}

.rcl-navigator-arrow .a {
    stroke: var(--links) !important;
}

/* --- Публичная форма (core.css - public form) --- */
.rcl-public-box .rcl-form-field,
.rcl-public-box .rcl-field-input input,
.rcl-public-box .rcl-field-input textarea {
    background: #2a2a2a !important;
    border-color: #444 !important;
    color: var(--maintext);
}

/* --- Дополнительная коррекция для темного фона --- */
.rcl-field-input .maxlength,
.rcl-form .submit-box {
    background: #2a2a2a !important;
    color: var(--maintext);
}

.rcl-form tr {
    background: #1a1a1a;
}

.rcl-form th,
.rcl-form td {
    border-color: #444;
    color: var(--maintext);
}

.rcl-form tr th {
    background-color: #2a2a2a;
}

/* --- Адаптация для плагина RCL (личные сообщения и т.д.) --- */
.rcl-balloon {
    background: #2a2a2a;
    border-color: var(--links);
    color: var(--maintext);
}

.rcl-balloon::before {
    border-color: transparent transparent var(--links) transparent;
}

.rcl-balloon::after {
    border-color: transparent transparent #2a2a2a transparent;
}

/* --- Конец адаптации --- */

/* ======================================================
   АДАПТАЦИЯ WP‑RECALL (GROUPS, PROFILE, SHOP, FORUM, CHAT, RATING, PAYMENT)
   ДЛЯ ТЕМЫ DW‑MICRONIX
   ====================================================== */

/* ---------- ОБЩИЕ ПЕРЕОПРЕДЕЛЕНИЯ ---------- */
body #rcl-office,
body #rcl-group,
body #prime-forum,
body .rcl-chat,
body .rcl-public-box,
body .rcl-cart-box,
body .rcl-payment-form,
body .rcl-rating-box,
body .rcl-balance-widget {
    color: var(--maintext);
}

/* Замена фонов и границ */
#rcl-office,
#rcl-group,
#prime-forum .prime-forum-item,
#prime-forum .prime-post,
.rcl-chat .chat-messages,
.rcl-public-box .rcl-form-field,
.rcl-cart-box .quantity-selector,
#rcl-order .order-table tr,
.rcl-payment-form,
.rcl-payment-form .title-form,
.rcl-payment-form .rcl-field-gateway_id .rcl-radio-box,
.rcl-balance-widget {
    /*background-color: var(--secondarybg) !important;*/
    border-color: #333 !important;
}

/* Текст */
#rcl-office h1, #rcl-office h2, #rcl-office h3,
#rcl-group h1, #rcl-group h2, #rcl-group h3,
#prime-forum h3,
.rcl-chat .chat-message .author-name,
.rcl-chat .chat-message .message-time,
.rcl-box-rating .rating-value-block,
.ratinglist .rating-single .rating-meta {
    color: var(--maintext);
}

/* Ссылки */
#rcl-office a,
#rcl-group a,
#prime-forum a,
.rcl-chat a,
.rcl-box-rating a,
.ratinglist a {
    color: var(--links) !important;
	filter: hue-rotate(var(--hue-rotate));
}
#rcl-office a:hover,
#rcl-group a:hover,
#prime-forum a:hover,
.rcl-chat a:hover,
.rcl-box-rating a:hover,
.ratinglist a:hover {
    color: var(--links-hover) !important;
}

/* ---------- ГРУППЫ (style.css) ---------- */
#rcl-group {
    background: transparent;
}
#rcl-group .group-name {
    border-bottom-color: #444;
}
#rcl-group .title-widget {
    background: rgba(0,0,0,0.4);
}
#group-posts-widget .post-group .postdata-header {
    background: rgba(0,0,0,0.3);
    box-shadow: none;
}
#group-posts-widget .post-group .post-meta {
    color: var(--maintext);
}
#create-group input[type="text"] {
    background-color: var(--primarybg);
    border: 1px solid #444;
    color: var(--maintext);
}
#widgets-options .widgets-zone {
    background-color: var(--primarybg);
    border-color: #444;
}
#widgets-options .widgets-zone .widget-name {
    background: #3a3a3a;
}

/* ---------- ПРОФИЛЬ (style (1).css) ---------- */
#tab-profile table th,
#tab-profile table td {
    border-color: #444;
}
#tab-profile table td input {
    background-color: var(--primarybg);
    border-color: #555;
    color: var(--maintext);
}
#tab-profile table td input:focus {
    background-color: #2a2a2a;
    border-color: var(--links);
}

/* ---------- МАГАЗИН, КОРЗИНА, ТОВАРЫ (style (2).css, style (3).css) ---------- */
.rcl-products-metabox .rcl-product-meta {
    background: var(--primarybg);
}
#rcl-product-gallery {
    background: var(--primarybg);
}
.rcl-cart-box .product-price {
    color: var(--links);
}
.rcl-cart-box .product-old-price {
    color: var(--maintext);
}
.products-box .products-list .product .product-content .product-title {
    color: var(--titles);
}
.products-box.type-slab .products-list .product {
    background: var(--secondarybg);
    border-color: #333;
}
.products-box.type-list .product {
    background: var(--secondarybg);
    border-color: #333;
}
#rcl-order .order-table .product-box .edit-amount {
    background-color: #3a3a3a;
    border-color: #555;
}
#rcl-order .order-before-box {
    background: var(--primarybg);
    border-color: #444;
}
#rcl-order .order-before-box .content-before-box {
    background: var(--secondarybg);
}
#rcl-product-box .product-title {
    background: #2a2a2a;
}
#rcl-product-box .rcl-cart-box .quantity-selector .edit-quantity {
    background-color: #3a3a3a;
    border-color: #555;
}
/* Вариации товаров */
.rcl-variations-list .variation-box {
    background: #3a3a3a;
}
.rcl-variations-list .variation-box .variation-values {
    border-color: #555;
}
.rcl-variations-list .variation-box .variation-values .variation-value {
    background: var(--primarybg);
}

/* ---------- ПУБЛИКАЦИИ (style (4).css, style (5).css) ---------- */
.rcl-custom-fields-menu a {
    background-color: #3a3a3a;
    border-color: #555;
    color: var(--maintext);
}
#block_author-rcl {
    background: rgba(0,0,0,0.3);
    box-shadow: none;
}
.rcl-public-box .rcl-service-button {
    background-color: rgba(0,0,0,0.7);
}
.rcl-public-box .rcl-tags-list > .block-label {
    background: var(--secondarybg);
}
.rcl-public-box .rcl-tags-list .ms-ctn {
    background: var(--primarybg);
}
#rcl-thumbnail-post {
    background: var(--primarybg);
}
.rcl-public-box .attachments-post li {
    background-color: #3a3a3a;
}
#rcl-delete-post .delete-form-contayner {
    background-color: var(--primarybg);
    border-color: #444;
}
.mass-upload-box {
    background: rgba(0,0,0,0.3);
    box-shadow: none;
}
.mass-upload-box .mass-upload-area {
    background-color: #3a3a3a;
}

/* ---------- ФОРУМ PRIME (style (6).css, style (7).css, style (8).css) ---------- */
#prime-forum .prime-manager ul li a {
    color: var(--links);
}
.prime-forum-header,
.prime-forum-footer {
    background-color: var(--primarybg);
    border-color: #444;
}
#prime-forum .prime-forum-item {
    background-color: var(--secondarybg);
    border-color: #444;
}
#prime-forum .prime-forum-item .prime-manager ul {
    background: rgba(0,0,0,0.6);
}
#prime-forum .prime-post {
    background-color: var(--secondarybg);
    border-color: #444;
}
#prime-forum .prime-topic-left {
    border-right-color: #444;
}
#prime-forum .prime-author-metabox .prime-author-role,
#prime-forum .prime-author-metabox .prime-author-register,
#prime-forum .prime-author-metabox .prime-author-topics,
#prime-forum .prime-author-metabox .prime-author-posts {
    color: var(--maintext);
}
#prime-forum .prime-author-metabox .prime-author-topics,
#prime-forum .prime-author-metabox .prime-author-posts {
    border-bottom-color: #444;
}
#prime-forum .prime-post-top,
#prime-forum .prime-post-bottom {
    border-color: #444;
}
#prime-forum blockquote {
    background-color: #2a2a2a;
    border-left-color: var(--links);
}
#prime-forum pre {
    background-color: #1a1a1a;
    border-color: #444;
    color: var(--maintext) !important;
}
#prime-forum .prime-spoiler,
#prime-forum .prime-offtop {
    border-color: #444;
}
#prime-forum .prime-spoiler .prime-spoiler-link,
#prime-forum .prime-offtop .prime-offtop-title {
    background: #2a2a2a;
    color: var(--links);
}
.prime-notice .type-notice,
.prime-notice .type-warning,
.prime-notice .type-success,
.prime-notice .type-error {
    background-color: var(--primarybg);
    color: var(--maintext);
}
/* Quicktags editor */
#prime-topic-form-box {
    background-color: var(--secondarybg);
    border-color: #444;
}
#prime-topic-form-box .quicktags-toolbar > span::before {
    background: #3a3a3a;
    border-color: #555;
    color: var(--maintext);
}
#prime-topic-form-box .wp-editor-wrap .wp-editor-area {
    background-color: var(--primarybg);
    border-color: #555;
    color: var(--maintext);
}

/* ---------- ЧАТ (style (9).css) ---------- */
.rcl-chat .chat-messages {
    background: var(--secondarybg);
    border-color: #444;
}
.rcl-chat .chat-message .message-box {
    background: var(--primarybg);
    color: var(--maintext);
}
.rcl-chat .message-box::before {
    border-right-color: var(--primarybg);
}
.rcl-chat .chat-users-box {
    background: #2a2a2a;
}
.rcl-chat .chat-form textarea {
    background: var(--primarybg);
    border-color: #555;
    color: var(--maintext);
}
#rcl-chat-noread-box .rcl-mini-chat {
    background: var(--secondarybg);
}
#rcl-chat-noread-box .rcl-chat-user .fa-times {
    background: rgba(0,0,0,0.8);
}
#rcl-office .rcl-chat-contacts .chat-contact {
    border-color: #444;
    background: var(--primarybg);
}
#rcl-office .rcl-chat-contacts .chat-remove {
    background: rgba(0,0,0,0.7);
}
#rcl-office .rcl-chat-contacts .noread-message {
    background: rgba(229,57,53,0.2);
    border-color: rgba(229,57,53,0.3);
}

/* ---------- РЕЙТИНГ (style (10).css) ---------- */
.rcl-box-rating .buttons-rating a.rating-cancel {
    background: rgba(0,0,0,0.5);
    box-shadow: none;
    color: var(--maintext);
}
.rating-rcl span {
    background: rgba(0,0,0,0.4);
}
.rating-rcl .rating-plus {
    background: rgba(0,128,0,0.3);
    color: #8bc34a;
}
.rating-rcl .rating-minus {
    background: rgba(255,0,0,0.3);
    color: #ff8a80;
}
.votes-window {
    background: var(--secondarybg);
    color: var(--maintext);
    box-shadow: 0 0 5px #000;
}
.ratinglist .rating-single {
    background: var(--primarybg);
    border-left-color: var(--links);
    outline-color: #444;
}
.ratinglist .object-rating {
    background: #2a2a2a;
}
.rcl-rating-box .rating-wrapper .rating-value {
    color: var(--maintext);
}
.rcl-rating-box .rating-wrapper .rating-vote {
    color: var(--links);
}

/* ---------- ПЛАТЁЖНАЯ ФОРМА И БАЛАНС (style (11).css) ---------- */
.rcl-payment-form {
    background: var(--secondarybg);
    border-color: #444;
}
.rcl-payment-form .title-form {
    background-color: #2a2a2a;
}
.rcl-payment-form .rcl-field-core .block-label {
    background: var(--primarybg);
    border-color: #555;
}
.rcl-balance-widget .update-link {
    color: var(--links);
}

/* ---------- MAGICSUGEST (переопределение для тёмной темы) ---------- */
.ms-ctn {
    background: var(--primarybg);
    border-color: #555 !important;
}
.ms-ctn input {
    background: var(--primarybg);
    color: var(--maintext);
}
.ms-sel-ctn .ms-sel-item {
    background: #3a3a3a;
    border-color: #555;
    color: var(--maintext);
}
.ms-res-ctn {
    background: var(--secondarybg);
}
.ms-res-ctn .ms-res-item {
    color: var(--maintext);
}
.ms-res-ctn .ms-res-item-active {
    background-color: #3a3a3a;
}
.ms-ctn .ms-trigger {
    border-left-color: #555;
}
.ms-ctn .ms-trigger:hover {
    background-color: #3a3a3a;
}

/* ---------- ДОПОЛНИТЕЛЬНЫЕ ПРАВИЛА ДЛЯ УНИФИКАЦИИ ---------- */
/* Убираем светлые тени */
.rcl-group-link.recall-button,
.recall-button,
.rcl-bttn,
input[type="submit"] {
    box-shadow: none !important;
}
/* Заменяем белые фоны в модальных окнах */
.ssi-modalOuter .ssi-modalWindow {
    background: var(--secondarybg) !important;
}
.ssi-modalOuter .ssi-modalTitle {
    background: #2a2a2a !important;
    color: var(--titles) !important;
}
.ssi-buttons .ssi-modalBtn {
    background: #3a3a3a !important;
    color: var(--links) !important;
    border-color: #555 !important;
}
/* Исправление видимости текста в таблицах */
.rcl-table__row-header {
    background-color: #2a2a2a !important;
}
.rcl-table__zebra .rcl-table__row:nth-child(2n+1):not(.rcl-table__row-header) {
    background-color: #1e1e1e !important;
}
/* Поля ввода */
.rcl-field-input input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.rcl-field-input textarea,
.rcl-field-input select {
    background-color: var(--primarybg) !important;
    border-color: #555 !important;
    color: var(--maintext) !important;
}
/* Кнопки */
.recall-button,
.rcl-bttn__type-primary {
    background: linear-gradient(0deg, #4d4d4d 95%, #afafaf 100%) !important;
    border: 1px solid #000 !important;
    color: var(--links) !important;
}
.recall-button:hover,
.rcl-bttn__type-primary:hover {
    color: var(--links-hover) !important;
}

/* ======================================================
   КОНЕЦ АДАПТАЦИИ
   ====================================================== */
   /* =============================================
   СТИЛИ ДЛЯ БЛОКОВ ЗАДАНИЙ (FNG) – ИСПРАВЛЕННЫЙ
   ============================================= */

.fng-task-metas {
    background-color: var(--secondarybg);
    color: var(--maintext);
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}

.fng-task-metas .price-advance-container {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #444;
}

.fng-task-metas .task-price {
    color: var(--titles2);
    font-size: 28px;
    font-weight: bold;
}

/* Общий контейнер для всех мета-полей */
.fng-task-metas .task-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    line-height: 1.4;
}

/* Иконки во всех мета-полях */
.fng-task-metas .task-meta i.rcl-icon {
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 3px;
    width: 24px;
    text-align: center;
    color: var(--links);
}

/* Основной текст внутри мета-полей (включая ссылки и спаны) */
.fng-task-metas .task-meta,
.fng-task-metas .task-meta span,
.fng-task-metas .task-meta a {
    color: var(--maintext);
}

/* Ссылки */
.fng-task-metas .task-meta a {
    color: var(--links);
    text-decoration: none;
}
.fng-task-metas .task-meta a:hover {
    color: var(--links-hover);
    text-decoration: underline;
}

/* Статус задания – делаем его жирным, но сохраняем цвет */
.fng-task-metas .task-meta.task-status span {
    font-weight: bold;
    color: inherit; /* цвет берётся от родителя */
}

/* Убираем возможное дополнительное обтекание у спанов */
.fng-task-metas .task-meta span {
    display: inline;
}

/* Специфические цвета для статусов (опционально) */
.task-status-1 {
    color: #ffb347; /* оранжевый для "Подбор исполнителя" */
}

/* ============================================
   АДАПТАЦИЯ JQUERY UI DATEPICKER (ui-datepicker)
   ============================================ */
#ui-datepicker-div {
    background: var(--secondarybg);
    border: 1px solid #444;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#ui-datepicker-div .ui-datepicker-header {
    background: #2a2a2a;
    color: var(--titles);
    border-bottom: 1px solid #444;
}
#ui-datepicker-div .ui-datepicker-header > a {
    color: var(--links);
}
#ui-datepicker-div .ui-datepicker-header > a:hover {
    color: var(--links-hover);
}
#ui-datepicker-div .ui-datepicker-calendar {
    background: var(--primarybg);
}
#ui-datepicker-div .ui-datepicker-calendar th {
    background: #2a2a2a;
    border-color: #444;
    color: var(--maintext);
}
#ui-datepicker-div .ui-datepicker-week-end {
    background: #2a2a2a;
}
#ui-datepicker-div .ui-datepicker-calendar tr td {
    background: var(--secondarybg);
    border-color: #444 #555 #555 #444;
}
#ui-datepicker-div .ui-datepicker-calendar tr td:hover {
    background: #3a3a3a;
}
#ui-datepicker-div .ui-datepicker-calendar tr td a {
    color: var(--links);
}
#ui-datepicker-div .ui-datepicker-calendar tr td a:hover {
    color: var(--links-hover);
}
#ui-datepicker-div .ui-datepicker-calendar .ui-datepicker-other-month {
    background: #1e1e1e;
}
#ui-datepicker-div .ui-datepicker-calendar .ui-datepicker-current-day {
    background: var(--links);
}
#ui-datepicker-div .ui-datepicker-calendar .ui-datepicker-current-day a {
    color: #fff !important;
}
#ui-datepicker-div .ui-datepicker-calendar .ui-datepicker-today {
    background: #4a4a4a;
}
#ui-datepicker-div .ui-datepicker-calendar .ui-datepicker-today a {
    color: var(--titles);
}
#ui-datepicker-div .ui-datepicker-year {
    background: #2a2a2a;
    color: var(--maintext);
    border-color: #555;
}

/* ============================================
   АДАПТАЦИЯ SSI-MODAL (модальные окна)
   ============================================ */
.ssi-backdrop {
    background: rgba(0, 0, 0, 0.8) !important;
}
.ssi-modalWrapper .ssi-modalWindow {
    background: var(--secondarybg);
    border-color: #444;
    color: var(--maintext);
}
.ssi-topIcons .ssi-closeIcon,
.ssi-topIcons .ssi-displayIcon {
    filter: invert(1); /* делаем иконки белыми на тёмном фоне */
    opacity: 0.7;
}
.ssi-topIcons a:hover {
    opacity: 1;
}
.ssi-modalTitle {
    color: var(--titles);
    border-bottom-color: #444;
}
.ssi-modalContent {
    color: var(--maintext);
}
.ssi-buttons {
    border-top-color: #444;
}
.ssi-buttons .ssi-modalBtn {
    background: #3a3a3a;
    color: var(--links);
    border: 1px solid #555;
}
.ssi-buttons .ssi-modalBtn:hover {
    background: #4a4a4a;
    color: var(--links-hover);
}
/* Уведомления (notify) */
.notify.ssi-modalWindow {
    background-color: #2a2a2a;
    border-left: 4px solid;
}
.notify.ssi-success {
    border-left-color: #4caf50;
}
.notify.ssi-error {
    border-left-color: #f44336;
}
.notify.ssi-warning {
    border-left-color: #ff9800;
}
.notify.ssi-info {
    border-left-color: #2196f3;
}
.notify .ssi-modalTitle {
    color: var(--titles);
}
/* Прогресс-бар (если используется) */
.ssi-loader {
    background-image: url('data:image/gif;base64,R0lGODlhIAAgAPUAAFVVVWVlZXV1dYWFhZWVlaWlpbW1tcXFxdXV1eXl5fX19YWFhZWVlaWlpbW1tcXFxdXV1QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAG5kCAcEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvtii+Ew+G4fA6bE+YAEU4oHA75nG6y3/C4Oy6v2+/4vH7P7/v+gIGCg4SFhoeIiYqLjI2Oj4KCQoUDB2dvbWkCAXZzAXNzhnWDAXh4nZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tZOYl3N0m22XBgKfaWOnAH58jNGlkQoH29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/wADChxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFiwUjAgA7');
    background-size: contain;
    background-color: transparent;
}
/* Если в ssi-modal используются изображения sprite.png, они останутся, но можно оставить как есть, либо заменить на инвертированные иконки */

/* ============================================
   АДАПТАЦИЯ FSELECT (кастомные селекты)
   ============================================ */
.fs-wrap {
    width: auto;
}
.fs-label-wrap {
    background-color: var(--primarybg);
    border-color: #555;
}
.fs-label-wrap .fs-label {
    color: var(--maintext);
}
.fs-arrow {
    border-top-color: var(--links);
}
.fs-dropdown {
    background-color: var(--secondarybg);
    border-color: #555;
}
.fs-dropdown .fs-options {
    background-color: var(--secondarybg);
}
.fs-search input {
    background: var(--primarybg);
    color: var(--maintext);
    border: 1px solid #555 !important;
}
.fs-option,
.fs-search,
.fs-optgroup-label {
    border-bottom-color: #444;
    color: var(--maintext);
}
.fs-option.hl {
    background-color: #3a3a3a;
}
.fs-option.disabled {
    opacity: 0.4;
}
.fs-wrap.multiple .fs-option .fs-checkbox i {
    border-color: #777;
    background-color: var(--primarybg);
}
.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: var(--links);
    border-color: transparent;
}
.fs-optgroup-label {
    background-color: #2a2a2a;
    color: var(--titles);
}
.fs-no-results {
    color: var(--maintext);
}

/* ============================================
   АДАПТАЦИЯ PROJECT 
============================================ */
/* --- Сетка для проектов (с картинкой) --- */
.type-project .pcontent {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 10px 20px;
    align-items: start;
    min-height: 200px;
}

.type-project .pcontent > a {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    width: 100%;
    max-width: 180px;
    height: 100%;
    min-height: 150px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--primarybg);
}

.type-project .pcontent > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.type-project .pcontent .vertical-line {
    display: none;
}

.type-project .pcontent .project-metalist {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 0.9em;
}

.type-project .pcontent > p {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin: 0;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.type-project .pcontent .rcl-rating-box {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    margin: 5px 0 0 0;
    text-align: left;
}

/* --- Отображение заданий (без картинки) --- */
.type-task .pcontent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--secondarybg);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #444;
}

.type-task .pcontent .fng-task-metas {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.type-task .pcontent > p {
    margin: 5px 0 0 0;
    color: var(--maintext);
    line-height: 1.4;
}

.type-task .pcontent .fng-task-metas .task-meta {
    margin: 4px 0;
}

/* --- Адаптив для проектов --- */
@media (max-width: 600px) {
    .type-project .pcontent {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        gap: 10px;
    }
    .type-project .pcontent > a {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        max-width: 100%;
        height: 180px;
    }
    .type-project .pcontent .project-metalist {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    .type-project .pcontent > p {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
        max-height: 60px;
    }
    .type-project .pcontent .rcl-rating-box {
        grid-row: 4 / 5;
        grid-column: 1 / 2;
    }
}

/* --- Общие стили для карточек, чтобы они были одинаковой высоты --- */
.storyalign .blog-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.storyalign .blog-container .blog-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.storyalign .blog-container .blog-content .post-26205,
.storyalign .blog-container .blog-content .type-task {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.storyalign .blog-container .blog-content .pcontent {
    flex: 1;
}

/* ======================================================
   ФОРМА ПОИСКА ЗАДАНИЙ (FREELANCE NEXTGEN)
   АДАПТИРОВАНА ПОД ТЁМНУЮ ТЕМУ DW-MICRONIX
   ====================================================== */

.fng-search-form {
    margin: 20px 0;
}

/* Вертикальная форма (по умолчанию) */
.fng-search-form.type-vertical form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--secondarybg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
}

.fng-search-form.type-vertical .fng-search-field {
    display: flex;
    flex-direction: column;
}

.fng-search-form.type-vertical .fng-search-field label {
    font-weight: 600;
    color: var(--titles);
    margin-bottom: 5px;
    font-size: 14px;
}

.fng-search-form.type-vertical .fng-search-field input,
.fng-search-form.type-vertical .fng-search-field select {
    padding: 8px 12px;
    background: var(--primarybg);
    border: 1px solid #555;
    border-radius: 4px;
    color: var(--maintext);
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.fng-search-form.type-vertical .fng-search-field input:focus,
.fng-search-form.type-vertical .fng-search-field select:focus {
    border-color: var(--links);
    outline: none;
}

.fng-search-form.type-vertical .fng-search-submit {
    align-items: flex-end;
}

.fng-search-form.type-vertical .fng-search-submit button {
    padding: 10px 25px;
    background: var(--links);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fng-search-form.type-vertical .fng-search-submit button:hover {
    background: var(--links-hover);
}

/* Горизонтальная форма (для широких экранов) */
.fng-search-form.type-horizontal form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 15px 20px;
    background: var(--secondarybg);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #444;
}

.fng-search-form.type-horizontal .fng-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    width: 100%;
}

.fng-search-form.type-horizontal .fng-search-field {
    flex: 1 1 180px;
    min-width: 150px;
}

.fng-search-form.type-horizontal .fng-search-field label {
    display: block;
    font-weight: 600;
    color: var(--titles);
    margin-bottom: 5px;
    font-size: 13px;
}

.fng-search-form.type-horizontal .fng-search-field input,
.fng-search-form.type-horizontal .fng-search-field select {
    width: 100%;
    padding: 8px 10px;
    background: var(--primarybg);
    border: 1px solid #555;
    border-radius: 4px;
    color: var(--maintext);
    font-size: 14px;
    box-sizing: border-box;
}

.fng-search-form.type-horizontal .fng-search-field input:focus,
.fng-search-form.type-horizontal .fng-search-field select:focus {
    border-color: var(--links);
    outline: none;
}

.fng-search-form.type-horizontal .fng-search-submit {
    flex: 0 0 auto;
    align-self: flex-end;
}

.fng-search-form.type-horizontal .fng-search-submit button {
    padding: 8px 20px;
    background: var(--links);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.fng-search-form.type-horizontal .fng-search-submit button:hover {
    background: var(--links-hover);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .fng-search-form.type-horizontal form,
    .fng-search-form.type-horizontal .fng-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .fng-search-form.type-horizontal .fng-search-field {
        flex: 1 1 auto;
        min-width: 0;
    }

    .fng-search-form.type-horizontal .fng-search-submit {
        align-self: stretch;
    }

    .fng-search-form.type-horizontal .fng-search-submit button {
        width: 100%;
        justify-content: center;
    }
}