/* ==============================================
   1. СБРОС И БАЗОВЫЕ НАСТРОЙКИ (RESET & BASE)
   ============================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, tbody, tfoot, thead, tr, th, td {
    background: transparent; border: 0; margin: 0; padding: 0; vertical-align: baseline;
}
body { 
    background: url(images/back.jpg) #000 repeat; 
    color: #666; font-size: 12px; line-height: 16px; 
}
h1, h2, h3, h4, h5, h6 { clear: both; font-weight: normal; }
ol, ul { list-style: none; }
blockquote { quotes: none; font-style: italic; padding: 0 3em; }
blockquote:before, blockquote:after { content: ''; content: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
a img { border: none; }
hr { background-color: #d7d7d7; border: 0; clear: both; height: 1px; margin-bottom: 18px; }

/* Глобальная типографика */
body, input, textarea, .page-title span, .pingback a.url,
h3#comments-title, h3#reply-title, #access .menu, #access div.menu ul,
#cancel-comment-reply-link, .form-allowed-tags, #site-info, #site-title,
#wp-calendar, .comment-meta, .comment-body tr th, .comment-body thead th,
.entry-content label, .entry-content tr th, .entry-content thead th,
.entry-meta, .entry-title, .entry-utility, #respond label, .navigation,
.page-title, .pingback p, .reply, .widget-title, .wp-caption-text, input[type=submit] {
    font-family: Verdana, Geneva, sans-serif;
}
pre { font-family: "Courier 10 Pitch", Courier, monospace; background: #f7f7f7; color: #222; line-height: 18px; margin-bottom: 18px; padding: 1.5em; -webkit-text-size-adjust: 140%; }
code { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; color: #F93; -webkit-text-size-adjust: 160%; }
a:link, a:visited { color: white; text-decoration: underline; }
a:active, a:hover { color: red; }
.screen-reader-text { position: absolute; left: -9000px; }


/* ==============================================
   2. ГЛОБАЛЬНАЯ СТРУКТУРА: ЖЕЛЕЗОБЕТОННЫЕ ФЛОАТЫ (ФИКС)
   ============================================== */
#wrapper { padding: 0 20px; margin: 0 auto; width: 940px; }

#main { width: 940px !important; margin: 0 auto !important; clear: both; padding: 0; display: block !important; }
#forbottom, #forbottom2 { width: 100% !important; background: none; clear: both; overflow: hidden; }

/* ЛЕВАЯ КОЛОНКА (Контент) */
#container, .one-column #content {
    width: 600px !important;
    float: left !important;
    margin: 0 !important;
    padding-top: 30px;
}

#content {
    width: 100% !important; 
    margin-bottom: 36px !important; 
    color: #CCCCCC; font-size: 14px; line-height: 18px; 
}

.single-attachment #container { width: 100% !important; float: none !important; }
.single-attachment #content { width: 1200px !important; margin: 0 auto !important; }

/* 
   ПРАВАЯ КОЛОНКА (Сайдбар)
   13. СЖАТИЕ ПРОСТРАНСТВА (CONTENT vs SIDEBAR)
   Математика Роми: Увеличиваем ширину контейнера с 600px до 630px. 
   Теперь между ними останется всего 10px зазора вместо 40px.
*/
#primary, #secondary {
    width: 304px !important;
    float: left !important; /* Оставляем как есть, он и так прижат вправо */
    overflow: visible;
    margin: 0 !important;
    padding: 0 !important;
}

#primary { 
    min-height: 200px; 
    background: none; 
    margin-top: -6px !important; /* Выравнивание макушки с контентом */
}

/* РОМИ: Магия, которая заставит нижнюю часть сайдбара упасть ровно под верхнюю */
#secondary { clear: right !important; } 


/* ==============================================
   3. ШАПКА И НАВИГАЦИЯ (HEADER & NAV)
   ============================================== */
#header { padding: 15px 0 0 0; background: url(images/hand.png) 750px bottom no-repeat; min-height: 1px; }
#site-title { float: left; font-size: 32px; line-height: 36px; margin: 6px 0 125px 120px; width: 940px; }
#site-title a { color: #CCCCCC; font-weight: bold; text-decoration: none; text-shadow: #8B2001 3px 3px 10px; }
#site-description { clear: both; display: block; float: left; font-size: 20px; font-style: italic; margin: 0 0 20px 135px; width: 700px; color: #999; text-shadow: #8B2001 1px 1px 1px; -webkit-text-size-adjust: none; }

#access { display: block; float: left; width: 892px; margin-top: 6px; border: 3px solid #99090A; border-radius: 18px; height: 30px; -webkit-text-size-adjust: 120%; }
#access .menu-header, div.menu { font-size: 15px; margin: 0 auto; margin-left: 12px; width: 928px; }
#access .menu-header ul, div.menu ul { list-style: none; margin: 0; }
#access .menu-header li, div.menu li { float: left; position: relative; list-style-type: none; }
#access a { border-right: 3px solid #99090A; position: relative; top: 0px; font-size: 16px; font-weight: 700; color: #99090A; display: block; line-height: 30px; padding: 0 8px; text-decoration: none; }
#access ul ul { display: none; position: absolute; top: 30px; left: 0; float: left; width: 180px; z-index: 99999; border-bottom: 5px solid #111; opacity: 0.93; list-style: none; }
#access ul ul li { min-width: 120px; padding: 0; }
#access ul ul ul { left: 100%; top: 0; }
#access ul ul a { background: #111; line-height: 1em; padding: 5px; color: #99090A; border: 5px solid #111; border-bottom: none; }
#access li:hover > a { background-color: #99090A; color: #000; }
#access ul ul:hover > a { color: #E0E0E0; }
#access ul li:hover > ul { display: block; }
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a { color: #E0E0E0; }


/* ==============================================
   4. КОНТЕНТ И ТИПОГРАФИКА (CONTENT)
   ============================================== */
#content p, #content ul, #content ol, #content dd, #content pre, #content hr { margin-bottom: 8px; }
#content p { font-size: 15px; line-height: 1.5em; }
#content ul ul, #content ol ol, #content ul ol, #content ol ul { margin-bottom: 0; }
#content dt, #content th, #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { color: #E0E0E0; }
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { line-height: 1.5em; margin-bottom: 4px; }
#content h1 { margin-bottom: 10px; }
#content h2 { margin-bottom: 8px; font-size: 14px; color: #CCCCCC; }
#content h3 { font-size: 13px; color: #CCCCCC; }

/* Таблицы */
#content table { border: 6px solid #9999FF; margin: 0 -1px 24px 0; text-align: left; width: 100%; }
#content tr { background-color: transparent; }
#content .alternate { background-color: #E0E0E0; }
#content tr th, #content thead th { font-size: 15px; font-weight: normal; line-height: 18px; padding: 9px 24px; background-color: #CCE0E0E0F; }
#content tr td { border-top: 1px solid #e7e7e7; padding: 6px 24px; }
#content tr.odd td { background: #f2f7fc; }

/* Изображения и WP-классы */
#content img { margin: 0; height: auto; max-width: 560px; border: 0 solid #DDD; padding: 3px; background-color: #F3F3F3; border-radius: 5px; }
#content img:hover { border-color: #990000; }
#content .attachment img { max-width: 900px; display: block; margin: 0 auto; }
#content .alignleft, #content img.alignleft { display: inline; float: left; margin-right: 24px; margin-top: 4px; margin-bottom: 12px; }
#content .alignright, #content img.alignright { display: inline; float: right; margin-left: 24px; margin-top: 4px; margin-bottom: 12px; }
#content .aligncenter, #content img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 12px; }
#content .wp-caption { background: #F3F3F3; border: 1px solid #DDD; box-shadow: 3px 3px 3px #999; border-radius: 3px; line-height: 18px; margin-bottom: 20px; padding: 4px; text-align: center; max-width: 660px; color: #333; }
#content .wp-caption img { margin: 5px 5px 0; border: none; padding: 0; box-shadow: none; }
#content .wp-caption p.wp-caption-text { font-size: 12px; margin: 5px; text-align: center; }
#content .wp-smiley { margin: 0; }
#content .gallery { margin: 6px 18px 11px -11px; }
#content .gallery .gallery-item { float: left; margin-top: 0; text-align: center; width: 33%; }
#content .gallery img { border: 10px solid #f1f1f1; margin: 5px; }
#content .gallery .gallery-caption { color: #666; font-size: 12px; margin: 0 0 12px; }
#content .gallery br+br { display: none; }

/* Посты (с учетом подложек и ограничений контента) */
.hentry { 
    margin: 0 0 48px 0; 
    background: rgba(15, 15, 15, 0.85) !important;
    padding: 12px 8px !important; 
    border-radius: 6px !important;
    border: 2px solid #2a2a2a !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
    max-width: 572px !important; 
}
.single .hentry { margin: 0 0 36px 0; }
.home .sticky { background: #E0E0E0; border: 4px solid #caa; margin-left: 0; margin-right: 0; padding: 18px 20px; }
.home .sticky .page-link a { background: #E0E0E0; border: 1px solid #caa; }
.home .sticky .page-link a:active, .home .sticky .page-link a:hover { color: #000; background-color: #caa; }

/* 5. Элегантный блок Заголовка */
.entry-title { 
    font-size: 20px; 
    font-weight: normal; 
    line-height: 1.3em; 
    display: block;
    background: rgba(133, 21, 21, 0.15) !important;
    border-left: 3px solid #851515 !important;
    padding: 2px 4px !important;
    margin: 0 0 4px 0 !important;
    color: #888 !important;
    border-radius: 0 4px 4px 0;
    max-width: 558px !important;
}
h1.entry-title a { font-size: 20px; }
.entry-title a:link, .entry-title a:visited { color: #99090A; text-decoration: none; }
.entry-title a:active, .entry-title a:hover { color: #E0E0E0; }
.entry-meta, .entry-utility { color: #666; font-size: 14px; -webkit-text-size-adjust: 120%; }
.entry-utility { clear: both; color: #FFA54F; font-size: 15px; line-height: 17px; }
.entry-meta a, .entry-utility a { color: #8B3A3A; }
.entry-meta a:hover, .entry-utility a:hover { color: #E0E0E0; }

.entry-content, .entry-summary { clear: both; padding: 6px 0 0 0; }
.entry-content { max-width: 564px !important; }
#content .entry-summary p:last-child { margin-bottom: 12px; }

/* 
   Страницы, навигация, авторы
   15. СТЕЛС-ДИЗАЙН ДЛЯ PAGE-TITLE
*/
.page-title { 
    font-size: 16px; 
    font-weight: normal; 
    background: rgba(25, 35, 50, 0.7) !important; 
    border: 2px solid rgba(100, 130, 180, 0.3) !important;
    border-radius: 6px !important; 
    padding: 12px 8px !important;
    margin: -2px 8px 20px 0 !important;
    color: #DDDDDD !important; 
    text-shadow: 1px 1px 2px #000 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
}
.page-title span { 
    color: #8899AA !important; 
    font-style: italic !important;
    font-weight: normal !important;
    margin-left: 5px;
}
.page-link { color: #E0E0E0; font-weight: normal; margin: 0 0 22px 0; word-spacing: 0.5em; }
.page-link a:link, .page-link a:visited { background: #f1f1f1; color: #333; padding: 0.25em 0.35em; text-decoration: none; }
#entry-author-info { background: #f2f7fc; border-top: 4px solid #99090A; clear: both; font-size: 14px; line-height: 20px; margin: 24px 0; overflow: hidden; padding: 18px 20px; }
#entry-author-info #author-avatar { background: #E0E0E0; border: 1px solid #e7e7e7; float: left; height: 60px; margin: 0 -104px 0 0; padding: 11px; }
#entry-author-info #author-description { float: left; margin: 0 0 0 104px; }
#entry-author-info h2 { color: #E0E0E0; font-weight: bold; margin-bottom: 0; }
.navigation { color: #666; font-size: 12px; line-height: 18px; overflow: hidden; -webkit-text-size-adjust: 120%; }
.navigation a:link, .navigation a:visited { color: #666; text-decoration: none; }
.navigation a:active, .navigation a:hover { color: #ff4b33; }
.nav-previous { float: left; width: 50%; }
.nav-next { float: right; text-align: right; width: 50%; }
#nav-above { display: none; }
.paged #nav-above, .single #nav-above { display: block; margin: 0 0 18px 0; }
#nav-below { margin: -18px 0 10px 0; }

/* ==============================================
   МАГИЯ РОМИ: БАГРОВЫЙ СПОЙЛЕР ДЛЯ ОСНОВЫ (DETAILS/SUMMARY)
   ============================================== */
/* 1. Сам контейнер спойлера */
details {
    margin: 20px 0;
    border: 2px solid #99090A; 
    background: #000;
    border-radius: 8px;
    max-width: 560px; 
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 2. Кликабельный заголовок (Summary) */
summary {
    background: #111;
    color: #99090A;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    list-style: none; 
    outline: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Убираем стрелку в Chrome/Safari */
summary::-webkit-details-marker {
    display: none;
}

/* Добавляем свою стрелку через псевдоэлемент */
summary::before {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s;
}

/* Поворот стрелки при открытии */
details[open] summary::before {
    transform: rotate(180deg);
}

/* Эффект при наведении (Инверсия) */
summary:hover {
    background: #99090A;
    color: #000;
}

/* 3. Контент внутри открытого спойлера */
details[open] {
    border-color: #99090A;
}

/* Стилизуем всё, что внутри details, кроме summary */
details > *:not(summary) {
    padding: 15px;
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    background: #050505;
    border-top: 1px solid #333;
}

/* Убираем лишние отступы у ссылок и текста внутри */
details a {
    color: #fff !important; 
    text-decoration: underline;
}


/* ==============================================
   5. САЙДБАР И ВИДЖЕТЫ (SIDEBAR & WIDGETS)
   ============================================== */
.widget-area { -webkit-text-size-adjust: 120%; }
.widget-area ul { list-style: none; margin-left: 0; }
.widget-area ul ul { margin-left: 1.3em; }
.widget-area a:link, .widget-area a:visited { text-decoration: none; padding: 0 4px 4px 0; color: #A52A2A; font-size: 15px; }
.widget-area a:active, .widget-area a:hover { color: #E0E0E0; }
.widget-area .entry-meta { font-size: 15px; }
.widget-container { 
    margin: 35px 5px 30px 5px; 
    background: rgba(15, 15, 15, 0.85) !important;
    padding: 12px 8px !important; 
    border-radius: 6px !important;
    border: 2px solid #2a2a2a !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
}
.widget-title { color: #C0C0C0; font-size: 24px; border-left: 6px solid #daa; padding: 6px 0 6px 4px; text-align: left; margin-bottom: 8px; }
.widget-container li { display: block; margin: 0 0 4px 0; list-style-type: circle; }

/* Календарь */
#wp-calendar { width: 100%; }
#wp-calendar caption { color: #99090A; font-size: 14px; font-weight: bold; padding-bottom: 4px; text-align: left; }
#wp-calendar thead { font-size: 11px; }
#wp-calendar tbody { color: #000; }
#wp-calendar tbody td { padding: 3px 0 2px; text-align: center; }
#wp-calendar tbody td:hover { background: #ecc; opacity: 0.8; }
#wp-calendar tbody td a { color: #99090A; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { text-align: right; }

/* Поиск */
.widget_search label { display: none; }
.widget_search #s, #container #s { width: 240px; display: block; float: left; height: 28px; border: 2px solid #850709; border-radius: 0; background-color: #E0E0E0; color: #080808; font-size: 14px; box-shadow: inset 0 1px 3px rgba(0,0,0,.1); transition: border-color .3s ease; padding: 0; margin: 0; }
#container #searchsubmit, .widget_search #searchsubmit { float: left; width: 0; height: 0; background: none; cursor: pointer; transition: border-color .3s ease; display: inline-block; position: relative; top: 0; border-color: transparent transparent transparent #800020; border-style: solid; border-width: 14px 0 14px 20px; margin: 0 0 0 2px; padding: 0; }
.category-selector select { width: 244px; height: 28px; border: 2px solid #850709; border-radius: 0; background-color: #E0E0E0; color: #080808; font-size: 14px; box-shadow: inset 0 1px 3px rgba(0,0,0,.1); transition: border-color .3s ease; position: relative; top: 2px; }


/* ==============================================
   6. КОММЕНТАРИИ (COMMENTS)
   ============================================== */
#comments { clear: both; }
#comments .navigation { padding: 0 0 18px 0; }
h3#comments-title, h3#reply-title { color: #000; font-size: 18px; font-weight: normal; margin-bottom: 0; }
h3#comments-title { padding: 4px 0 4px 10px; margin: 20px 0; }
.commentlist { list-style: none; margin: 0; }
.commentlist li.comment { border-bottom: 1px solid #e7e7e7; line-height: 24px; margin: 0 0 24px 0; padding: 0 0 0 56px; position: relative; }
.commentlist li:last-child { border-bottom: none; margin-bottom: 0; }
.commentlist .avatar { position: absolute; top: 4px; left: 0; }
.comment-author { padding-top: 4px; }
.comment-author cite { color: #000; font-style: normal; font-weight: normal; margin-left: 10px; }
.comment-meta { font-size: 12px; margin: 0 0 15px 10px; }
.comment-meta a:link, .comment-meta a:visited { color: #666; text-decoration: none; }
.comment-meta a:active, .comment-meta a:hover { color: #ff4b33; }
.reply { font-size: 12px; padding: 0 0 24px 0; }
.reply a, a.comment-edit-link { color: #666; }
.reply a:hover, a.comment-edit-link:hover { color: #ff4b33; }
.commentlist .children { list-style: none; margin: 0; }
.commentlist .children li { border: none; margin: 0; text-indent: 0 !important; }
.nopassword, .nocomments { display: none; }

#respond { border-top: 1px solid #e7e7e7; margin: 24px 0; overflow: hidden; position: relative; }
#respond p { margin: 0; }
#respond .required { color: #ff4b33; }
#respond input { margin: 0 0 9px 12px; width: 50%; border: 1px solid #BB9999; display: block; float: none; border-radius: 3px; }
#respond textarea { width: 80%; border: 1px solid #BB9999; display: block; float: none; margin-left: 12px; }
#respond input:hover, #respond textarea:hover { border-color: #999; }
#respond .form-submit { margin: 12px 0; }
#respond .form-submit input { font-size: 14px; width: auto; }


/* ==============================================
   7. ПОДВАЛ (FOOTER)
   ============================================== */
#footer { clear: both; width: 100%; margin-bottom: 0; padding-top: 10px; }
#footer-widget-area { overflow: hidden; }
#footer-widget-area .widget-area { float: left; margin-right: 20px; width: 220px; }
#footer-widget-area #fourth { margin-right: 0; }
#footer-widget-area #wp-calendar tbody td { background: #050505; border: 1px solid #222; padding: 3px 0 2px; text-align: center; color: #999; }
#colophon { margin-top: -4px; overflow: hidden; padding: 0 0 10px 10px; }
#site-info { font-weight: bold; text-align: center; clear: both; background: url(images/shoot.jpg) center top no-repeat; padding-top: 50px; font-size: 12px; float: none; }
#site-info a { color: #99090A; text-decoration: none; }
#site-generator { float: right; width: 220px; margin-top: 15px; margin-right: 20px; font-style: italic; clear: right; text-align: right; }
#site-generator a { background: url(images/wordpress.png) center left no-repeat; color: #666; display: inline-block; line-height: 16px; padding-left: 20px; text-decoration: none; }
#site-copyright { display: block; float: left; margin-top: 15px; margin-right: 20px; font-style: italic; clear: both; text-align: left; max-width: 500px; }
#forbottom { background: none; clear: both; width: 100%; min-height: 530px; }
#forbottom2 { background: url(images/main_bottom2.jpg) 0 bottom no-repeat; clear: both; width: 100%; min-height: 530px; }
img#wpstats { display: block; margin: 0 auto 10px; }


/* ==============================================
   8. ПЛАГИНЫ И МЕДИА-ЗАПРОСЫ (PLUGINS & PRINT)
   ============================================== */
.scrollblock { overflow: auto; width: 300px; height: 2200px; }
#otherlink, #donation { border-radius: 15px; margin: 5px 5px 5px 410px; border: 4px solid red; height: 75px; width: 190px; padding: 3px; }
#donation div { display: table-cell; margin: 5px; height: 55px; width: 120px; text-align: center; vertical-align: middle; padding: 0 0 0 22px; }

/* Сторонние блоки */
.crp_related img { padding: 0 !important; max-width: 260px !important; }
.crp_related.crp-rounded-thumbs li { margin: 4px 21px 4px 0 !important; border: 4px solid #F1F1F1; padding: 0; border-radius: 4px;}
.crp_related {margin: 6px -16px 12px 0px !important;}
.crp_related.crp-rounded-thumbs .crp_title { width: 254px; right: 1px; }
.crp_related.crp-rounded-thumbs img, .crp_related.crp-rounded-thumbs a { transform: scale(1.02); position: relative; bottom: 6px; }
.crp_related.crp-rounded-thumbs a { bottom: 0; }

@media print {
    body { background: none !important; }
    #wrapper { clear: both !important; display: block !important; float: none !important; position: relative !important; width: 100%; }
    #header { border-bottom: 2pt solid #000; padding-bottom: 18pt; }
    #site-title, #site-description { float: none; line-height: 1.4em; margin: 0; padding: 0; }
    #site-title { font-size: 32px; }
    #access, #branding img, #respond, .comment-edit-link, .edit-link, .navigation, .page-link, .widget-area { display: none !important; }
    #container, #header, #footer { margin: 0; width: 100%; }
    #content, .one-column #content { margin: 24pt 0 0; width: 100%; }
    #site-info { float: none; width: auto; }
    #site-generator { float: right; }
    #colophon { border-top: 2pt solid #000; width: auto; }
    #main { display: inline; }
}


/* ==============================================
   9. CUSTOM FUNCTIONAL STYLES (СВЯЩЕННЫЕ КОРОВЫ)
   ============================================== */
.table_1 { border: 2px solid #99090A; margin: -2px 0 12px 0; text-align: left; width: 562px; border-radius: 6px; padding: 12px; }
q { display: block; border-left: 6px solid #DAA; background-color: #f7dfdf; font-style: italic; color: #333; font-size: 14px; padding: 4px 8px; margin: 0 32px 0 0; }

.size_1 { font-size: 10px; }
.size_2 { font-size: 13px; }
.size_3 { font-size: 16px; }
.size_4 { font-size: 18px; color: #F93; font-style: italic; }
.size_4nc { font-size: 18px; }
.size_5 { font-size: 24px; color: #99090A; font-style: italic; }
.size_5nc { font-size: 24px; }
.size_6 { font-size: 32px; }
.autor_size { font-size: 10px; margin: 1px; bottom: 5px; position: relative; font-style: italic; }

.clicker_back { background: rgba(199,195,195,.18); border-radius: 10px; pointer-events: none; text-align: right; position: relative; margin: 0 6px 0 0; padding: 6px; }
.clicker_back a { pointer-events: auto; display: inline-block; margin: 0; }
.clicker { font-family: Comfortaa, sans-serif; font-size: 16px; font-weight: 700; color: #FFD8B2 !important; border-radius: 10px; border: 0 solid #5A1A1A; background: linear-gradient(to top,#7C2020,#A52A2A); display: inline-block; box-shadow: 0 2px 4px rgba(0,0,0,.3); margin: 0; padding: 10px 18px; }
.clicker:hover { color: #FFECDB !important; background: linear-gradient(to top,#99090A,#C04040); transform: translateY(-1px); }

/* ==============================================
   МАГИЯ РОМИ: ПАГИНАЦИЯ + ТЕЛЕПОРТ ДЛЯ ОСНОВЫ
   ============================================== */
.wp-pagenavi { 
    clear: both; 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    margin: 20px 32px 0 0;
    background: rgba(15, 15, 15, 0.85) !important;
    border: 2px solid #2a2a2a !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
    padding: 12px 8px !important; 
    border-radius: 6px !important;
    width: 572px !important;
}

.wp-pagenavi a, .wp-pagenavi span { 
    text-decoration: none; 
    border: 1px solid #555; 
    margin: 2px 4px 2px 0; 
    font-size: 14px; 
    height: 34px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 0 12px; 
    box-sizing: border-box; 
    background: #111;
    color: #ccc;
    border-radius: 4px;
}
.wp-pagenavi a:hover { border-color: #ff8c00; color: #E0E0E0; }
.wp-pagenavi span.current { border-color: #ff8c00; font-weight: 700; background: #ff8c00; color: #000; }
.wp-pagenavi span.extend { border: none; background: transparent; } 

.romy-teleport-desktop { 
    flex-basis: 100%; 
    display: flex; 
    justify-content: flex-end; 
    align-items: center;
    gap: 6px; 
    margin-top: 15px; 
    padding-right: 0px;
}

.romy-teleport-desktop .teleport-label { 
    color: #ccc; 
    font-size: 13px; 
    font-weight: bold; 
    text-transform: uppercase; 
    height: 34px; 
    display: inline-flex; 
    align-items: center; 
    border: 1px solid #555; 
    padding: 0 10px; 
    box-sizing: border-box;
    background: #111;
    border-radius: 4px;
}

.romy-teleport-desktop .romy-page-input { 
    width: 60px; 
    background: #111; 
    border: 1px solid #555; 
    color: #E0E0E0; 
    font-size: 15px; 
    text-align: center; 
    outline: none; 
    height: 34px; 
    box-sizing: border-box;
    border-radius: 4px;
}
.romy-teleport-desktop .romy-page-input:focus { border-color: #ff8c00; }

.romy-teleport-desktop .romy-page-go { 
    background: #ff8c00; 
    color: #000; 
    border: none; 
    font-weight: bold; 
    font-size: 15px; 
    padding: 0 20px; 
    cursor: pointer; 
    height: 34px; 
    box-sizing: border-box;
    transition: all 0.2s;
    border-radius: 4px;
}
.romy-teleport-desktop .romy-page-go:hover { background: #e67e00; color: #E0E0E0; }



/* ==============================================
   МАГИЯ РОМИ: ИСПРАВЛЕНИЕ УБОГОГО ПОИСКА (V2: WHITE & BIG BUTTON)
   ============================================== */

/* 1. Контейнер формы */
#container form {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(15, 15, 15, 0.85) !important;
    padding: 15px !important;
    border-radius: 6px !important;
    border: 2px solid #2a2a2a !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
    margin: 20px 0 !important;
    flex-wrap: wrap !important;
}

/* 2. Поле ввода текста */
#container #s {
    float: none !important;
    width: 220px !important;
    height: 34px !important;
    border: 2px solid #850709 !important;
    border-radius: 4px !important;
    background-color: #111 !important;
    color: #E0E0E0 !important;
    font-size: 14px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease;
}
/* Фокус теперь белый */
#container #s:focus {
    border-color: #E0E0E0 !important;
}

/* 3. Кнопка-стрелка (Увеличенная) */
#container #searchsubmit {
    float: none !important;
    display: inline-block !important;
    position: relative !important;
    top: 0 !important;
    margin: 0 5px !important;
    cursor: pointer !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    /* Увеличила: 18+18 = 36px высота, 24px ширина */
    border-style: solid !important;
    border-width: 18px 0 18px 24px !important; 
    border-color: transparent transparent transparent #850709 !important;
    transition: border-color 0.2s ease;
}
/* Ховер стрелки теперь белый */
#container #searchsubmit:hover {
    border-left-color: #E0E0E0 !important;
}

/* 4. Текст "Search in:" */
#container form, 
#container form label {
    color: #ccc !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

/* 5. Выпадающий список категорий */
#container .category-selector select,
#container select {
    float: none !important;
    width: 200px !important;
    height: 34px !important;
    border: 2px solid #850709 !important;
    border-radius: 4px !important;
    background-color: #111 !important;
    color: #E0E0E0 !important;
    font-size: 14px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s ease;
}
/* Ховер/Фокус списка тоже белый */
#container select:focus,
#container select:hover {
    border-color: #E0E0E0 !important;
}