/* ============================================
   LIGHT THEME - Основные стили
   ============================================ */

/* Сброс стилей */
* {
    background: transparent;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
input, select { vertical-align: middle; }

article, aside, figure, figure img, hgroup, footer, header, nav, section, main {
    display: block;
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */
body {
    font: 1.2em 'GothamProRegular', Arial, Helvetica, sans-serif;
    line-height: normal;
    font-weight: normal;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    color: #333;
    background: #f5f7fa url('../images/bg-light.png');
}

img { max-width: 100%; }

.clr { clear: both; }
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

a {
    color: #2c6b7a;
    text-decoration: none;
}
a:hover, a:focus {
    color: #1a4a55;
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
    font-size: 1.5em;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar-track {
    box-shadow: none;
    border: 0;
}
::-webkit-scrollbar {
    width: 8px;
    background: #e8ecf0;
}
::-webkit-scrollbar-thumb {
    background: #b0bec5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #90a4ae;
}

/* ========== ШРИФТЫ ========== */
@font-face {
    font-family: "GothamProRegular";
    src: url("../fonts/GothamProRegular/GothamProRegular.eot");
    src: url("../fonts/GothamProRegular/GothamProRegular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/GothamProRegular/GothamProRegular.woff") format("woff"),
         url("../fonts/GothamProRegular/GothamProRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProBold";
    src: url("../fonts/GothamProBold/GothamProBold.eot");
    src: url("../fonts/GothamProBold/GothamProBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/GothamProBold/GothamProBold.woff") format("woff"),
         url("../fonts/GothamProBold/GothamProBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* ========== КНОПКИ ========== */
.button, .pagi-load a, .up-second li a, .usp-edit a,
.qq-upload-button, button:not(.color-btn):not([class*=fr]),
html input[type="button"], input[type="reset"], input[type="submit"],
.meta-fav a, .usp-btn a {
    padding: 0 20px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    background-color: #2c7a89;
    color: #fff;
    font: 14px/40px 'GothamProBold' !important;
    transition: background-color 0.2s, box-shadow 0.2s;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
button[disabled], input[disabled] { cursor: default; }

.button:hover, .up-second li a:hover, .usp-edit a:hover,
.qq-upload-button:hover, .pags-load a:hover, .usp-btn a:hover,
button:not(.color-btn):hover, html input[type="button"]:hover,
input[type="reset"]:hover, input[type="submit"]:hover,
.meta-fav a:hover {
    background-color: #1f5f6b;
    color: #fff;
    box-shadow: 0 2px 8px rgba(44, 122, 137, 0.3);
}

button:active, html input[type="button"]:active,
input[type="reset"]:active, input[type="submit"]:active {
    box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.1);
}

input[type="submit"].bbcodes, input[type="button"].bbcodes,
input.bbcodes, .ui-button {
    font-size: 12px !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0px 10px;
    border-radius: 3px;
}

/* ========== ПОЛЯ ВВОДА ========== */
input[type="text"], input[type="password"] {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    color: #333;
    background-color: #fff;
    border-radius: 4px;
    -webkit-appearance: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
    font: 14px/40px 'GothamProRegular' !important;
    border: 1px solid #d0d7dd;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #2c7a89;
    box-shadow: 0 0 0 3px rgba(44, 122, 137, 0.15);
}

input:focus::-webkit-input-placeholder { color: transparent; }
input:focus::-moz-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; }
input:focus:-ms-input-placeholder { color: transparent; }

select {
    height: 40px;
    border: 1px solid #d0d7dd;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    padding: 0 10px;
}

textarea {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d0d7dd;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    overflow: auto;
    vertical-align: top;
    resize: vertical;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
    font: 14px/20px 'GothamProRegular' !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

textarea:focus {
    border-color: #2c7a89;
    box-shadow: 0 0 0 3px rgba(44, 122, 137, 0.15);
}

/* ========== ИЗОБРАЖЕНИЯ ========== */
.img-box, .img-wide, .img-resp-h, .img-resp-v {
    overflow: hidden;
    position: relative;
    background-color: #e8ecf0;
}

.img-resp-h { padding-top: 60%; }
.img-resp-v { padding-top: 130%; }

.img-box img, .img-resp-h img, .img-resp-v img {
    width: 100%;
    min-height: 100%;
    display: block;
}
.img-resp-h img, .img-resp-v img {
    position: absolute;
    left: 0;
    top: 0;
}
.img-wide img { width: 100%; display: block; }
.img-square img {
    width: 150%;
    max-width: 150%;
    margin-left: -25%;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== АНИМАЦИИ ========== */
button, .th-img, .rate-plus, .rate-minus {
    transition: all 0.2s;
}
.button, a, li span, .search-box input {
    transition: color 0.2s, background-color 0.2s, opacity 0.2s;
}

.ps-link { cursor: pointer; }

.icon-l .fa { margin-right: 10px; }
.icon-r .fa { margin-left: 10px; }

/* ========== FLEX ========== */
.fx-row {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.fx-center { -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; }
.fx-between { -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; }
.fx-stretch { -ms-flex-align: stretch; -webkit-align-items: stretch; align-items: stretch; }
.fx-top { -ms-flex-align: start; -webkit-align-items: flex-start; align-items: flex-start; }
.fx-middle { -ms-flex-align: center; -webkit-align-items: center; align-items: center; }
.fx-bottom { -ms-flex-align: end; -webkit-align-items: flex-end; align-items: flex-end; }
.fx-col {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.fx-wrap { -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap; }

/* ========== ШРИФТЫ ДЛЯ ЗАГОЛОВКОВ ========== */
h1, h2, h3, .th-time, .th-title, .th-rate, .m-title,
.m-menu, .m-menu-block, .side-bt, .pt-title, .ft-title,
.comm-author, .b-post__lastepisodeout {
    font-family: "GothamProBold";
}

.th-title, .th-title:hover, .th-time, .th-rate,
.m-title, .side-bt, .pt-title {
    color: #1a2a33;
}

.h-menu a:hover, .th-title:hover, .footer a,
.site-desc a, .speedbar a, .f-tags a,
.comm-author a, .comm-author {
    color: #2c7a89;
}

/* ========== ОБЕРТКА ========== */
.wrap {
    min-width: 320px;
    overflow: hidden;
    position: relative;
}
.wrap:before {
    content: "";
    background-color: rgba(255,255,255,0.4);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.center {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

/* ========== БЛОКИ ========== */
.block {
    background: #ffffff url('../images/bg-light.png');
    box-shadow: 0 0 40px 0 rgba(0,0,0,0.06);
    border-radius: 8px;
}

.side {
    width: 260px;
    background-color: #f0f2f5;
    padding-bottom: 30px;
    border-radius: 8px 0 0 8px;
}

.cont {
    width: calc(100% - 260px);
    width: -webkit-calc(100% - 260px);
}

/* ========== ШАПКА ========== */
.header {
    height: 70px;
    background-color: #ffffff;
    padding: 0 0 0 30px;
    border-bottom: 2px solid #e8ecf0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
.main {
    padding: 30px;
    min-height: 600px;
}

/* ========== ПОДВАЛ ========== */
.footer {
    padding: 30px;
    padding-bottom: 15px;
    background-color: #e8ecf0;
    border-top: 1px solid #d0d7dd;
    color: #555;
}
.footer a {
    color: #2c7a89;
}
.footer a:hover {
    color: #1a4a55;
}

/* ========== КНОПКА "НАВЕРХ" ========== */
#gotop {
    position: fixed;
    width: 40px;
    height: 40px;
    line-height: 36px;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 9998;
    display: none;
    opacity: 0.8;
    background-color: #2c7a89;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;
}
#gotop:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ========== ЛОГОТИП ========== */
.logo {
    display: block;
    float: left;
    width: 250px;
    height: 70px;
}
.logo img { display: block; }

/* ========== МЕНЮ ========== */
.h-menu {
    margin: 27px 0 0 30px;
    font-size: 14px;
    line-height: 16px;
    float: left;
}
.h-menu li {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin-right: 12px;
    padding-right: 15px;
    border-right: 2px solid #e0e4e8;
}
.h-menu a {
    color: #333;
    font-weight: 500;
}
.h-menu a:hover {
    color: #2c7a89;
}

/* ========== ПОИСК ========== */
.search-box {
    width: 330px;
    float: right;
}
.search-field {
    width: 100%;
    position: relative;
}
.search-field input,
.search-field input:focus {
    width: 100%;
    padding: 0 30px 0 40px;
    background-color: transparent;
    color: #333;
    height: 70px;
    line-height: 70px !important;
    box-shadow: none;
    border: none;
}
.search-field input:focus {
    background-color: #f5f7fa;
}
.search-box button {
    position: absolute;
    left: 0;
    top: 15px;
    padding: 0 !important;
    width: 40px;
    background: transparent !important;
    color: #666 !important;
    border: none;
}
.search-box .fa { font-size: 18px; }

/* ========== САЙДБАР ========== */
.side-bc { padding: 10px; }
.side-bt {
    font-size: 16px;
    padding: 10px;
    background-color: #e8ecf0;
    color: #1a2a33;
    border-radius: 4px 4px 0 0;
}
.side-nav .side-bc { padding: 10px 0; }
.side-nav .side-bt2 {
    padding: 0 10px;
    background-color: #2c7a89;
    height: 70px;
    line-height: 70px;
    color: #fff;
}
.side-nav a {
    border-bottom: 1px solid #d0d7dd;
    display: block;
    padding: 10px 50px 10px 10px;
    color: #444;
}
.side-nav li:last-child a {
    border-bottom: 0;
}
.side-nav a:hover,
.side-nav li.active a {
    color: #fff;
    background-color: #2c7a89;
}
.side-nav li:hover span,
.side-nav li.active span {
    color: #fff;
    opacity: 1;
}
.side-nav li {
    position: relative;
}
.side-nav li span {
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.6;
    font-size: 12px;
    color: #666;
}

/* ========== МЕНЮ СТРАНИЦЫ ========== */
.m-menu {
    margin-bottom: 30px;
    font-size: 13px;
}
.m-menu li {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin-right: 15px;
}
.m-menu li a {
    display: block;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    box-shadow: inset 0 0 0 2px #d0d7dd;
    border-radius: 20px;
    color: #555;
}
.m-menu li a.active {
    box-shadow: inset 0 0 0 2px #2c7a89;
    color: #2c7a89;
}
.m-menu li a:hover {
    box-shadow: inset 0 0 0 2px #2c7a89;
    color: #2c7a89;
}

/* ========== ЗАГОЛОВКИ РАЗДЕЛОВ ========== */
.m-title {
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
    font-size: 18px;
    color: #1a2a33;
}
.m-title:before {
    content: "";
    height: 3px;
    width: 100px;
    background-color: #2c7a89;
    position: absolute;
    left: 0;
    bottom: 0;
}

.floats { margin: 0 -5px; }

/* ========== СОРТИРОВКА ========== */
.sorter {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    color: #666;
    padding: 0 10px;
    line-height: 30px;
    background-color: #f0f2f5;
    border-radius: 15px;
    font-size: 13px;
}
.sorter:before {
    content: attr(data-label);
    float: left;
    padding: 0 10px 0 0;
}
.sorter form {
    display: none;
    background-color: #fff;
    padding: 10px;
    line-height: 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    position: absolute;
    right: 0;
    top: 100%;
    width: 160px;
    z-index: 999;
    border-radius: 4px;
    border: 1px solid #e0e4e8;
}
.sorter a:hover { text-decoration: underline; }
.sort li.asc a:after,
.sort li.desc a:after {
    content: "\f063";
    font-family: FontAwesome;
    display: inline-block;
    margin-left: 10px;
}
.sort li.desc a:after { content: "\f062"; }

/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.speedbar {
    font-size: 12px;
    margin-bottom: 15px;
    color: #666;
}
.speedbar a:hover { text-decoration: underline; }
.speedbar ul {
    list-style: none;
    font-size: 0;
    width: 100%;
}
.speedbar li {
    display: inline-block;
    font: 14px/24px 'Arial';
}
.speedbar li.speedbar_sep {
    padding: 0 6px;
    color: #999;
    font-size: 16px;
}

/* ========== ПРЕВЬЮ (THUMB) ========== */
.thumb {
    width: 25%;
    float: left;
    padding: 0 5px 30px 5px;
}
.th-in {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.th-in:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.th-in a { display: block;     position: relative;}
.th-img {
    border: 1px solid #e8ecf0;
    background: #f5f7fa;
}
.views {position: absolute;
    bottom: 5px;
    left: 5px;
    color: #fff!important;    padding: 3px 8px;
    background-color: green;border-radius: 4px;opacity:1!important}
.th-time, .th-edit, .th-fav {
    display: inline-block;
    padding: 3px 8px;
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 20;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
}
.th-text {
    padding: 12px 12px 8px 12px;
    position: relative;
}
.th-title {
    line-height: 18px;
    height: 36px;
    overflow: hidden;
    padding-right: 50px;
    margin-bottom: 8px;
    color: #1a2a33;
    font-size: 14px;
}
.th-meta > span {
    font-size: 12px;
    margin-right: 10px;
    opacity: 0.7;
    color: #666;
}
.th-meta > span[data-text]:after {
    content: attr(data-text);
    margin-left: 3px;
}
.th-rate {
    display: flex;
    gap: 10px;
    padding: 3px 8px;
    background-color: green;
    position: absolute;
    right: 8px;
    bottom: 5px;
    font-size: 12px;
    border-radius: 4px;
    color: #fff;
}
.th-rate.high { background-color: #2e7d32; color: #fff; }
.th-rate.low { background-color: #c62828; color: #fff; }
.th-edit {
    right: auto;
    bottom: auto;
    left: 10px;
    top: 10px;
}
.th-fav {
    bottom: auto;
    top: 10px;
}
.th-fav .fav-added { color: #ffd54f; }
.th-in:hover .th-img { border-color: #2c7a89; }

.rel .th-title { padding-right: 0; }

.thumb:hover .th-img::after,
.thumb:hover .th-img::before { opacity: 1; }

/* ========== ОПИСАНИЕ САЙТА ========== */
.site-desc {
    line-height: 18px;
    text-align: justify;
    margin-top: 30px;
    color: #444;
}
.site-desc h1 {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 15px;
    color: #1a2a33;
}
.site-desc h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
    color: #1a2a33;
}
.site-desc h3 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;
    color: #1a2a33;
}
.site-desc p + p { margin-top: 5px; }

/* ========== ПОДВАЛ ========== */
.ft-counter { float: right; }
.ft-text { float: left; line-height: 20px; }
.ft-copyr { opacity: 0.7; }
.ft-menu { margin-bottom: 5px; }

/* ========== ПАГИНАЦИЯ ========== */
.pags-bottom {
    text-align: center;
    line-height: 36px;
    padding: 10px 10px 0 10px;
    margin: 15px 5px 0 5px;
    border: 2px solid #e8ecf0;
    border-radius: 31px;
}
.pags-load a {
    display: inline-block;
    border-radius: 18px;
    padding: 0 15px;
    background-color: #2c7a89;
    color: #FFF;
    margin-bottom: 10px;
}
.pags-load > span { display: none; }
.pags > a, .pags > span {
    display: inline-block;
    vertical-align: middle;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 18px;
    height: 36px;
    background-color: #f0f2f5;
    margin: 0 0 10px 5px;
    color: #555;
}
.pags > a:hover,
.pags > span:not([class]) {
    background-color: #2c7a89;
    color: #FFF;
}

/* ========== ПЛЕЕР ========== */
.player-wrap {
    background-color: #f5f7fa;
    margin: 0 0 30px 0;
    border-radius: 8px;
    border: 1px solid #e8ecf0;
}
.player-box {
    width: calc(100% - 300px);
    width: -webkit-calc(100% - 300px);
}
.player-top {
    padding: 0 15px;
    width: 300px;
}
.pt-title {
    padding: 0 15px;
    background-color: #2c7a89;
    height: 40px;
    line-height: 40px;
    margin: 0 -15px;
    font-size: 16px;
    color: #fff;
    border-radius: 4px 4px 0 0;
}
.top-item {
    margin-top: 10px;
    padding-left: 95px;
    position: relative;
    height: 60px;
    overflow: hidden;
    display: block;
    line-height: 20px;
    color: #444;
}
.top-item:hover { color: #2c7a89; }
.top-img {
    width: 80px;
    height: 55px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
}

/* ========== СТРАНИЦА КОНТЕНТА ========== */
.f-desc { margin-bottom: 30px; }
.f-text, .f-info {
    width: 48%;
    display: flex;
    align-items: center;
    gap: 15px;
}
.f-info a span {
    display: flex;
    gap: 10px;
    align-items: center;
}
.f-text { float: right; }
.ft-title, .f-tags { margin-bottom: 10px; }
.f-tags a:hover { text-decoration: underline; }
.f-meta { margin-bottom: 20px; }
.f-meta > span {
    margin-right: 10px;
    font-size: 0.9em;
    color: #666;
}
.f-tags span:not(:last-child) a:after,
.f-tags > a:not(:last-child):after {
    display: inline;
    margin-right: 2px;
}

.slice {
    overflow: hidden;
    position: relative;
    transition: height 0.2s;
}
.slice-btn { margin: 0px 0 0 0; }
.slice-btn span {
    display: inline-block;
    cursor: pointer;
    color: #2c7a89;
}

.scroller {
    position: relative;
    max-height: 290px;
    overflow: hidden;
}
.scroller::-webkit-scrollbar { width: 0; box-shadow: none; border: 0; }
.scroller::-webkit-scrollbar-track { box-shadow: none; border: 0; }
.scroller__bar {
    position: absolute;
    right: 0;
    z-index: 1;
    top: 0;
    width: 10px;
    background: #2c7a89;
    border-radius: 5px;
    opacity: 1;
}
.scroller:hover .scroller__bar { opacity: 1; }

.f-info .fa { font-size: 24px; }

/* ========== РЕЙТИНГ ========== */
.frate { white-space: nowrap; }
.rate-data { display: none; }
.rate-plus, .rate-minus {
    display: inline-block;
    vertical-align: top;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    padding-right: 20px;
    background-color: #f0f2f5;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #d0d7dd;
}
.rate-minus { margin-left: 25px; }
.rate-plus div, .rate-minus div {
    display: inline-block;
    vertical-align: top;
    padding: 0 15px;
    color: #FFF;
    margin-right: 10px;
    background-color: #2c7a89;
    text-align: center;
    border-radius: 20px 0 0 20px;
}
.rate-minus div { background-color: #c62828; }
.frate .fa { font-size: 18px; }
.rate-plus:hover, .rate-minus:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* ========== КОММЕНТАРИИ ========== */
.f-comms { margin-bottom: 30px; }
.full-comms, .add-comms { width: 48%; }
.add-comm-form { }
.ac-inputs, .ac-textarea { margin-bottom: 15px; }
.ac-inputs input { width: 100%; }
.ac-textarea textarea { height: 110px; }
.sec-answer + .sec-label { margin-top: 10px; }
.ac-protect { margin-top: -10px; display: none; }
.ac-protect .label { font-size: 12px; }
.ac-protect .sep-input { padding: 10px 10px 10px 160px; }
.ac-protect input { }
.mass_comments_action { display: none; }
.last-comm-link { margin-bottom: 10px; }
.last-comm-link a { text-decoration: underline; }

.comm-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8ecf0;
}
.comm-author {
    margin-right: 10px;
    font-weight: bold;
    color: #2c7a89;
}
.comm-one { margin-bottom: 10px; font-size: 12px; color: #666; }
.comm-two { line-height: 22px; color: #333; }

/* ========== ВИДЕО ========== */
.video-box embed, .video-box object, .video-box video,
.video-box iframe, .video-box frame {
    max-width: 100% !important;
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 4px;
}
.mejs-container { max-width: 100% !important; }

/* ========== ПОЛНЫЙ ТЕКСТ ========== */
.full-text {
    font-size: 14px;
    line-height: 20px;
    color: #333;
}
.full-text img:not(.emoji) {
    max-width: 100%;
    margin: 10px 0;
}
.full-text > img[style*="left"],
.full-text > .highslide img[style*="left"] {
    margin: 0 10px 10px 0;
}
.full-text > img[style*="right"],
.full-text > .highslide img[style*="right"] {
    margin: 0 0 10px 10px;
}
.full-text a {
    text-decoration: underline;
    color: #2c7a89;
}
.full-text a:hover { text-decoration: none; }
.full-text h2, .full-text h3, .full-text h4, .full-text h5 {
    margin: 10px 0;
    font-size: 18px;
    color: #1a2a33;
}
.full-text p { margin-bottom: 10px; }
.full-text ul, .full-text ol { margin: 0; }
.full-text ul li { list-style: disc; margin-left: 40px; }
.full-text ol li { list-style: decimal; margin-left: 40px; }

/* ========== БУРГЕР МЕНЮ (мобильное) ========== */
.btn-menu {
    display: none;
    background-color: #2c7a89;
    color: #fff;
    cursor: pointer;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 24px;
    border: none;
}

.side-panel {
    width: 260px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    padding: 0 10px;
    z-index: 888;
    position: fixed;
    left: -260px;
    top: 0;
    transition: left 0.4s;
    -webkit-transition: left 0.4s;
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
}
.side-panel.active { left: 0; }
.close-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 887;
    display: none;
}
.side-panel a {
    display: block;
    padding: 10px 50px 10px 0;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #e8ecf0;
}
.side-panel li {
    position: relative;
    color: #333;
}
.side-panel li span {
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.6;
}

/* ========== КОЛЛЕКЦИИ ========== */
.b-post__mixedtext {
    color: #666;
    font-size: 13px;
    line-height: 14px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}
.b-content__collections_item {
    cursor: pointer;
    float: left;
    height: 200px;
    margin-left: 18px;
    margin-bottom: 18px;
    position: relative;
    width: 288px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.b-content__collections_item .cover {
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.b-content__collections_item .num {
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    padding: 14px;
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    right: 0;
    border-radius: 50%;
}
.b-content__collections_item .title-layer {
    background: rgba(0,0,0,0.7);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.title-layer a {
    color: #fff;
    display: block;
    font-size: 14px;
    line-height: 14px;
    padding: 10px;
}

/* ========== ЛОГИН БОКС ========== */
.login-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    width: 300px;
    max-width: 90%;
}
.login-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.login-box input[type="text"],
.login-box input[type="password"] {
    padding: 10px 14px;
    border: 1px solid #d0d7dd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
    width: 100%;
}
.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
    border-color: #2c7a89;
    box-shadow: 0 0 0 3px rgba(44, 122, 137, 0.15);
}
.login-box button[type="submit"] {
    padding: 10px;
    background: #2c7a89;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    height: auto;
    font-family: 'GothamProBold', sans-serif;
}
.login-box button[type="submit"]:hover {
    background: #1f5f6b;
}
.lb-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}
.lb-lnk {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.lb-lnk a {
    color: #2c7a89;
    text-decoration: none;
    font-size: 13px;
}
.lb-lnk a:hover {
    text-decoration: underline;
}

.tox-toolbar__primary button { background: none !important; }

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media screen and (max-width: 1220px) {
    .center { max-width: 1000px; }
    .side, .h-menu, .m-menu { display: none; }
    .cont { width: 100%; }
    .header { padding: 0 0 0 15px; }
    .main { padding: 30px 15px; }
    .footer { padding: 30px 15px 15px 15px; }
    .search-box { width: 250px; }
    .btn-menu {
        background-color: #2c7a89;
        color: #fff;
        cursor: pointer;
        display: block;
        float: right;
        width: 70px;
        height: 70px;
        line-height: 70px;
        text-align: center;
        font-size: 24px;
    }
}

@media screen and (max-width: 950px) {
    .center { max-width: 768px; }
    .thumb { width: 33.33%; }
    .pags-load, .pags { width: 100%; }
    .f-text, .f-info, .full-comms, .add-comms {
        width: 100%;
        float: none;
    }
    .full-comms, .f-info { margin-top: 15px; }
    .player-box { width: 100%; }
}

@media screen and (max-width: 760px) {
    .center { max-width: 640px; }
    .sorter, .ft-counter { display: none; }
    .search-box {
        width: 100%;
        float: none;
        display: flex;
    }
    
    .full-text img:not(.emoji) {object-fit: cover;
    height: 340px;}
    #quicksearch {
        width: 100%;
        padding-right: 15px;
    }
    .search-field input {
        background-color: #f5f7fa;
        border-radius: 4px;
    }
    .main { padding: 100px 15px; }
    .thumb { width: 50%; }
    .player-box { width: 100%; }
    .player-top { width: 100%; height: 400px; }
    .ac-protect { margin-top: 0px; }
    .comments-tree-list .comments-tree-list {
        padding-left: 0px !important;
    }
    .comments-tree-list .comments-tree-list:before { display: none; }
    .mass_comments_action { display: none; }
    .sub-title h1 {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 590px) {
    .center { max-width: 480px; }
    .video-box embed, .video-box object, .video-box video,
    .video-box iframe, .video-box frame { height: 300px; }
    .ac-soc { position: static; }
    .ac-inputs input { width: 100%; margin-top: 0px; }
    .ac-protect { width: 100%; float: none; margin: 0; }
    .ui-dialog { width: 100% !important; }
    .upop-left, .upop-right {
        float: none !important;
        width: 100% !important;
        margin: 0;
        padding: 0 20px;
    }
    .upop-left { margin-bottom: 10px; text-align: center; }
    .ui-dialog-buttonset button {
        display: block;
        margin: 0 0 5px 0;
        width: 100%;
    }
    #dofullsearch, #searchsuggestions span.seperator {
        display: none !important;
    }
    .attach .download-link {
        margin: 0 -15px 0 0;
        float: none;
        display: block;
        padding: 0 10px;
    }
    .attach-info { float: none; }
}

@media screen and (max-width: 470px) {
    .center22 { max-width: 320px; }
    .logo {
        width: 220px;
        overflow: hidden;
        padding-top: 4px;
    }
    .thumb { width: 100%; }
    .frate { white-space: normal; }
    .rate-plus, .rate-minus { width: 100%; }
    .rate-minus { margin: 15px 0 0 0; }
    .fc { display: inline-block; float: right; }
    .rate-plus div, .rate-minus div { width: 180px; }
    .video-box embed, .video-box object, .video-box video,
    .video-box iframe, .video-box frame { height: 250px; }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ========== */
.speedbar:after {
    content: "";
    display: block;
    clear: both;
}

/* Кнопки в светлой теме */
.button, .pagi-load a, .up-second li a, .usp-edit a,
.qq-upload-button, button:not(.color-btn):not([class*=fr]),
html input[type="button"], input[type="reset"], input[type="submit"],
.meta-fav a, .usp-btn a {
    background: linear-gradient(135deg, #2c7a89, #1f5f6b);
}
.button:hover, .pagi-load a:hover, .up-second li a:hover,
.usp-edit a:hover, .qq-upload-button:hover, .pags-load a:hover,
.usp-btn a:hover, button:not(.color-btn):hover,
html input[type="button"]:hover, input[type="reset"]:hover,
input[type="submit"]:hover, .meta-fav a:hover {
    background: linear-gradient(135deg, #1f5f6b, #154a55);
}

/* Тени и скругления для карточек */
.block {
    border-radius: 8px;
    overflow: hidden;
}
.side {
    border-radius: 8px 0 0 8px;
}

/* Улучшенный вид для полей ввода */
input[type="text"], input[type="password"], select, textarea {
    font-family: 'GothamProRegular', Arial, sans-serif;
}

/* Цвет ссылок в контенте */
.full-text a {
    color: #2c7a89;
}
.full-text a:hover {
    color: #1a4a55;
}

/* Подсветка активных элементов */
.m-menu li a.active {
    background: #2c7a89;
    color: #fff;
    box-shadow: none;
}
.m-menu li a.active:hover {
    background: #1f5f6b;
}

/* Стили для рейтинга */
.th-rate.high {
    background: #2e7d32;
    color: #fff;
}
.th-rate.low {
    background: #c62828;
    color: #fff;
}

/* Кнопка "Наверх" в светлой теме */
#gotop {
    background: #2c7a89;
    color: #fff;
}
#gotop:hover {
    background: #1f5f6b;
}

/* Стили для футера */
.footer {
    background: #e8ecf0;
    border-top: 1px solid #d0d7dd;
}
.ft-copyr {
    color: #666;
}