/* =========================
   PRELOADER
   ========================= */

.preloader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
}

.preloader::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #e2e6ef;
    border-top-color: #76b829;
    transform: translate(-50%, -50%);
    animation: ph-spin 0.7s linear infinite;
}

@keyframes ph-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* =========================
   SCROLL TO TOP
   ========================= */

.scrollToTop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #76b829;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s;
    z-index: 900;
}

.scrollToTop i {
    font-size: 18px;
}

/* добавляй класс .is-visible через JS при скролле */
.scrollToTop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   HEADER
   ========================= */

#header-section {
    position: sticky;
    top: 0;
    z-index: 950;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(25, 32, 54, 0.08);
}

#header-section .overlay {
    background: #ffffff;
    border-bottom: 1px solid #dde2ec;
}

#header-section .container {
    max-width: 1180px;
}

/* Общая линия хедера */

#header-section .header-area {
    min-height: 64px;
    align-items: center;
}

/* Логотип */

#header-section .logo-section .site-logo img {
    max-height: 38px;
    width: auto;
    display: block;
}

/* NAVBAR layout */

#header-section .navbar {
    padding: 0;
}

#header-section .navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Основные пункты меню */

#header-section .navbar-nav > li {
    position: relative;
}

#header-section .navbar-nav > li > a {
    display: block;
    padding: 20px 14px;
    font-size: 14px;
    color: #333a4e;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s ease-out, background-color .15s ease-out;
}

#header-section .navbar-nav > li > a:hover,
#header-section .navbar-nav > li.current-menu-item > a,
#header-section .navbar-nav > li.current_page_item > a {
    color: #1f2a16;
    background-color: #f5ffe7;
}

/* =========================
   DROPDOWN / SUB-MENU
   ========================= */

/* Родитель с подменю */
#header-section .navbar-nav li.menu-item-has-children > a {
    padding-right: 26px; /* место под стрелку, если выводится */
}

/* Внешний вид подменю – БЕЗ управления показом/скрытием */
#header-section .navbar-nav li ul.sub-menu,
#header-section .navbar-nav li .dropdown-menu {
    background: #ffffff;
    border: 1px solid #dde2ec;
    border-radius: 2px;
    padding: 4px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    /* Никаких display/opacity/visibility/transform здесь! */
}

/* Пункты внутри дропдауна */
#header-section .navbar-nav li ul.sub-menu li a,
#header-section .navbar-nav li .dropdown-menu li a {
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    color: #333a4e;
    text-decoration: none;
    white-space: nowrap;
}

#header-section .navbar-nav li ul.sub-menu li a:hover,
#header-section .navbar-nav li .dropdown-menu li a:hover {
    background: #f5f7fb;
    color: #1f2a16;
}

/* =========================
   TOGGLER (BURGER)
   ========================= */

#header-section .navbar-toggler {
    border: none;
    background: transparent;
    padding: 6px 8px;
    margin-left: 8px;
    display: none; /* по умолчанию скрыт на десктопе */
}

#header-section .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

#header-section .navbar-toggler-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    background: #76b829;
    color: #ffffff;
}

#header-section .navbar-toggler-icon i {
    font-size: 16px;
}

/* =========================
   MOBILE / TABLET
   ========================= */

@media (max-width: 991px) {

    #header-section .header-area {
        min-height: 56px;
    }

    #header-section .navbar-toggler {
        display: block;
    }

    #header-section .navbar {
        width: 100%;
    }

    #header-section .collapse.navbar-collapse {
        background: #ffffff;
        border-top: 1px solid #dde2ec;
        margin-top: 8px;
    }

    #header-section .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 6px 0;
        gap: 0;
    }

    #header-section .navbar-nav > li {
        width: 100%;
    }

    #header-section .navbar-nav > li > a {
        width: 100%;
        padding: 9px 10px;
    }

    /* Подменю на мобиле – только оформление.
       Показ/скрытие контролирует Bootstrap / JS (через .show и т.п.) */
    #header-section .navbar-nav li ul.sub-menu,
    #header-section .navbar-nav li .dropdown-menu {
        box-shadow: none;
        border-color: #eceff5;
        margin-left: 12px;
        padding: 0 0 4px;
    }

    #header-section .navbar-nav li ul.sub-menu li a,
    #header-section .navbar-nav li .dropdown-menu li a {
        padding: 5px 0;
        white-space: normal;
    }
}

/* =========================
   ADMIN BAR OFFSET
   ========================= */

body.admin-bar #header-section {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar #header-section {
        top: 46px;
    }
}
.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 28px 0 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

.site-footer .footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 2.2fr);
    gap: 24px;
    align-items: flex-start;
}

.site-footer .footer-col {
    color: #e5e7eb;
}

.site-footer .footer-logo img {
    max-height: 42px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.site-footer .footer-contact p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
}

.site-footer h4 {
    font-size: 15px;
    margin: 0 0 10px;
    color: #f9fafb;
    font-weight: 600;
}

.site-footer .footer-nav,
.site-footer .footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.site-footer .footer-nav li,
.site-footer .footer-legal li {
    margin-bottom: 5px;
}

.site-footer .footer-nav a,
.site-footer .footer-legal a {
    color: #d1d5db;
    text-decoration: none;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-legal a:hover {
    color: #f9fafb;
    text-decoration: underline;
}

.site-footer .footer-social {
    margin: 10px 0 8px;
    display: flex;
    gap: 10px;
}

.site-footer .footer-social a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
}

.site-footer .footer-social a:hover {
    border-color: #6ee7b7;
    color: #ecfdf5;
    background: rgba(16, 185, 129, 0.12);
}

.site-footer .footer-disclaimer {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.6;
    color: #6b7280;
}

.site-footer .footer-bottom {
    border-top: 1px solid #1f2933;
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.site-footer .footer-bottom p {
    margin: 0;
}

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -200px;
    background: #111827;
    border-top: 1px solid #1f2933;
    color: #e5e7eb;
    padding: 10px 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 980;
    transition: bottom 0.25s ease-out, opacity 0.25s ease-out;
    opacity: 0;
}

.cookie-consent.show {
    bottom: 0;
    opacity: 1;
}

.cookie-consent .cookie-text {
    margin: 0;
    max-width: 760px;
    line-height: 1.5;
}

.cookie-consent .cookie-text a {
    color: #6ee7b7;
    text-decoration: underline;
}

.cookie-consent .cookie-text strong {
    font-weight: 600;
}

.cookie-btn {
    background: #10b981;
    border-radius: 999px;
    border: none;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #022c22;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #34d399;
}

@media (max-width: 900px) {
    .site-footer .footer-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .site-footer .footer-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .site-footer {
        padding-top: 22px;
    }
    .cookie-consent {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-consent .cookie-text {
        max-width: none;
    }
    .cookie-btn {
        margin-top: 4px;
        width: 100%;
        text-align: center;
    }
}

.promo-home {
    background: #f4f5f7;
    padding: 24px 0 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
}

.promo-home .ph-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 24px;
}

/* Основная колонка / сайдбар */

.promo-home .ph-main {
    flex: 0 0 73%;
    max-width: 73%;
}

.promo-home .ph-sidebar {
    flex: 0 0 27%;
    max-width: 27%;
}

/* Заголовок страницы */

.promo-home .ph-head {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #dde1e7;
    padding: 16px 18px 14px;
    margin-bottom: 18px;
}

.promo-home .ph-head-title {
    font-size: 22px;
    margin: 0 0 6px;
    color: #222;
}

.promo-home .ph-head-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 10px;
}

.promo-home .ph-games-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    align-items: center;
}

.promo-home .ph-games-nav-label {
    font-weight: 600;
    margin-right: 4px;
}

.promo-home .ph-games-nav a {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid #d3d9e5;
    background: #f7f9fb;
    color: #2e3b4e;
    text-decoration: none;
}

.promo-home .ph-games-nav a:hover {
    border-color: #76b829;
    color: #1b2a16;
    background: #f5ffe6;
}

/* Блоки по играм */

.promo-home .ph-game-block {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #dde1e7;
    padding: 14px 18px 16px;
    margin-bottom: 20px;
}

.promo-home .ph-game-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.promo-home .ph-game-title {
    font-size: 18px;
    margin: 0 0 4px;
    color: #222;
}

.promo-home .ph-game-sub {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.promo-home .ph-game-link {
    font-size: 13px;
    white-space: nowrap;
    align-self: center;
    color: #0073aa;
    text-decoration: none;
}

.promo-home .ph-game-link:hover {
    text-decoration: underline;
}

/* Список карточек промокодов */

.promo-home .ph-card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Карточка промокода (в духе промокод-каталогов) */

.promo-home .ph-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 210px;
    gap: 14px;
    padding: 10px 10px 9px;
    border-radius: 3px;
    border: 1px solid #e1e5ee;
    background: #fcfcfd;
    align-items: stretch;
}

.promo-home .ph-card-logo {
    border-right: 1px solid #e6e9f1;
    padding-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-home .ph-card-logo img {
    max-width: 72px;
    max-height: 48px;
    object-fit: contain;
}

.promo-home .ph-card-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-home .ph-card-headline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
}

.promo-home .ph-card-brand {
    font-size: 15px;
    margin: 0;
    color: #222;
}

.promo-home .ph-card-exp {
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid #e0e4ee;
    background: #f7f9fc;
    color: #666;
    white-space: nowrap;
}

.promo-home .ph-card-desc {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #555;
}

.promo-home .ph-card-meta {
    margin-top: 2px;
    font-size: 12px;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-home .ph-card-meta a {
    color: #0073aa;
    text-decoration: none;
}

.promo-home .ph-card-meta a:hover {
    text-decoration: underline;
}

/* Правая колонка карточки (код и кнопки) */

.promo-home .ph-card-actions {
    border-left: 1px solid #e6e9f1;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    justify-content: center;
}

/* Кнопка-код */

.promo-home .ph-card-code {
    border-radius: 3px;
    border: 1px solid #76b829;
    background: #80c02c;
    color: #ffffff;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    font-family: inherit;
}

.promo-home .ph-card-code-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.promo-home .ph-card-code-value {
    font-size: 14px;
    font-weight: 600;
    margin-top: 1px;
}

.promo-home .ph-card-code.is-blur .ph-card-code-value {
    filter: blur(4px);
}

.promo-home .ph-card-code:hover {
    background: #8acd3a;
    border-color: #7cc132;
}

/* Кнопка «Перейти на сайт» */

.promo-home .ph-card-btn {
    display: inline-block;
    text-align: center;
    padding: 6px 8px;
    border-radius: 3px;
    background: #ffffff;
    border: 1px solid #cfd4e0;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.promo-home .ph-card-btn:hover {
    border-color: #76b829;
    color: #1f2a14;
    background: #f7ffe9;
}

/* SEO-текст и блог */

.promo-home .ph-seo-text {
    margin-top: 22px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #dde1e7;
    padding: 16px 18px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.promo-home .ph-seo-text h2,
.promo-home .ph-seo-text h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #222;
}

.promo-home .ph-seo-text p {
    margin: 0 0 10px;
}

.promo-home .ph-blog {
    margin-top: 18px;
}

/* Сайдбар */

.promo-home .ph-widget {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #dde1e7;
    padding: 12px 14px 14px;
    margin-bottom: 16px;
}

.promo-home .ph-widget-title {
    font-size: 15px;
    margin: 0 0 8px;
    color: #222;
}

.promo-home .ph-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.promo-home .ph-widget-list li {
    padding: 4px 0;
    border-bottom: 1px solid #eef1f6;
}

.promo-home .ph-widget-list li:last-child {
    border-bottom: none;
}

.promo-home .ph-widget-list a {
    color: #2e3b4e;
    text-decoration: none;
}

.promo-home .ph-widget-list a:hover {
    color: black;
    text-decoration: underline;
}

.promo-home .ph-widget-list--brands {
    max-height: 400px;
    overflow-y: auto;
}

.promo-home .ph-widget-text {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.promo-home .ph-widget-text p {
    margin: 0 0 6px;
}

/* Адаптив */

@media (max-width: 1024px) {
    .promo-home .ph-container {
        flex-direction: column;
    }

    .promo-home .ph-main,
    .promo-home .ph-sidebar {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .promo-home .ph-sidebar {
        order: -1;
    }

    .promo-home .ph-card {
        grid-template-columns: 80px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .promo-home .ph-card-actions {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid #e6e9f1;
        padding-left: 0;
        padding-top: 8px;
        flex-direction: row;
        align-items: center;
    }

    .promo-home .ph-card-code {
        flex: 1;
    }

    .promo-home .ph-card-btn {
        min-width: 150px;
    }
}

@media (max-width: 600px) {
    .promo-home {
        padding-top: 16px;
    }

    .promo-home .ph-head {
        padding: 12px 12px 10px;
    }

    .promo-home .ph-head-title {
        font-size: 19px;
    }

    .promo-home .ph-game-block {
        padding: 12px 12px 14px;
    }

    .promo-home .ph-card {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 10px;
    }

    .promo-home .ph-card-logo img {
        max-width: 64px;
        max-height: 42px;
    }

    .promo-home .ph-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-home .ph-games-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Карточка-таблица в стиле купонных сайтов */

.promo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 20px;
    font-size: 14px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.promo-table thead th {
    background: #76b829;
    color: #ffffff;
    padding: 10px 12px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.promo-table thead th:first-child {
    width: 24%;
}

.promo-table thead th:nth-child(2) {
    width: 36%;
}

.promo-table thead th:last-child {
    width: 40%;
}

.promo-table tbody tr {
    border-top: 1px solid #e5e7eb;
}

.promo-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.promo-table td {
    padding: 9px 12px;
    color: #111827;
    vertical-align: top;
    line-height: 1.6;
}

.promo-table tbody tr:hover {
    background: #edf2ff;
}
@media (max-width: 768px) {
    .promo-table {
        font-size: 13px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
    }

    .promo-table,
    .promo-table thead,
    .promo-table tbody,
    .promo-table th,
    .promo-table td,
    .promo-table tr {
        display: block;
        width: 100%;
    }

    .promo-table thead {
        display: none;
    }

    .promo-table tbody tr {
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        margin-bottom: 10px;
        background: #ffffff;
        overflow: hidden;
    }

    .promo-table td {
        padding: 8px 10px 8px 44%;
        position: relative;
        border-top: 1px solid #e5e7eb;
    }

    .promo-table td:first-child {
        border-top: none;
    }

    .promo-table td::before {
        position: absolute;
        left: 10px;
        top: 8px;
        font-weight: 600;
        color: #6b7280;
        width: 34%;
        content: "";
    }

    /* Заголовки для таблицы типов промокодов */
    .promo-table-types td:nth-child(1)::before {
        content: "Тип промокода";
    }
    .promo-table-types td:nth-child(2)::before {
        content: "Что даёт";
    }
    .promo-table-types td:nth-child(3)::before {
        content: "Как использовать";
    }

    /* Заголовки для таблицы источников */
    .promo-table-sources td:nth-child(1)::before {
        content: "Источник";
    }
    .promo-table-sources td:nth-child(2)::before {
        content: "Плюсы";
    }
    .promo-table-sources td:nth-child(3)::before {
        content: "Рекомендации";
    }
}
body.page-template-cs2-ru {
    background: #f3f4f6;
}

/* hero */

.cs2-hero.inner-banner {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 32px 0 26px;
    color: #111827;
}

.cs2-hero .banner-content {
    min-height: 0;
}

.cs2-hero .main-content h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 8px 0 10px;
    color: #111827;
}

.cs2-hero .main-content p {
    max-width: 820px;
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
}

.cs2-hero .main-content p strong {
    font-weight: 700;
}

.cs2-hero .main-content a {
    color: #22c55e;
    text-decoration: none;
}

.cs2-hero .main-content a:hover {
    text-decoration: underline;
}

.cs2-hero #breadcrumbs {
    margin-bottom: 6px;
    font-size: 12px;
    color: #9ca3af;
}

/* бренды */

.cs2-brands .overlay {
    background: #f3f4f6;
    color: #111827;
    padding: 38px 0 34px;
}

.cs2-brands .section-header .title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.cs2-brands .section-header .subtitle {
    max-width: 820px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
}

.cs2-brand-grid {
    margin-top: 22px;
}

.cs2-brand-item {
    margin-bottom: 18px;
}

.cs2-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 14px 10px 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform .12s ease-out, box-shadow .12s ease-out, border-color .12s ease-out, background .12s ease-out;
}

.cs2-brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
    border-color: #22c55e;
    background: #ffffff;
}

.cs2-brand-logo {
    height: 74px;
    border-radius: 13px;
    overflow: hidden;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cs2-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.cs2-brand-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    text-align: center;
    margin-bottom: 2px;
}

.cs2-brand-more {
    font-size: 12px;
    color: #6b7280;
}

.cs2-empty {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px;
}

.cs2-note {
    max-width: 880px;
    margin: 24px auto 0;
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
    text-align: center;
}

/* адаптив брендов */

@media (max-width: 991px) {
    .cs2-hero.inner-banner {
        padding: 26px 0 20px;
    }
    .cs2-hero .main-content h1 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .cs2-note {
        text-align: left;
        padding: 0 4px;
    }
}

/* свежие промокоды */

.cs2-promos {
    padding: 36px 0 52px;
    background: #f3f4f6;
}

.cs2-promos-head {
    margin-bottom: 18px;
}

.cs2-promos-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
}

.cs2-promos-label img {
    height: 22px;
    width: auto;
}

.cs2-promos-head .title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #111827;
}

.cs2-promos-head .subtitle {
    max-width: 820px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
}

.cs2-promos-grid {
    margin-top: 8px;
}

/* карточка промокода */

.cs2-promo-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    padding: 14px 14px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.promo-card-logo {
    height: 40px;
    border-radius: 13px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.promo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.promo-card-brand {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.promo-card-expire {
    font-size: 12px;
    color: #6b7280;
}

.promo-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-card-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin: 6px 0 10px;
}

/* код */

.code-box {
    border-radius: 999px;
    padding: 7px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    background: #0f172a;
    color: #f9fafb;
    text-align: center;
    min-width: 160px;
    margin-bottom: 10px;
}

.code-hidden {
    filter: blur(5px);
    display: inline-block;
}

.code-visible {
    display: inline-block;
}

.hidden {
    display: none !important;
}

/* кнопки внутри карточки */

.promo-card-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.reveal-btn,
.copy-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.reveal-btn {
    background: #111827;
    color: #f9fafb;
}

.copy-btn {
    background: #e5e7eb;
    color: #111827;
}

.reveal-btn:hover {
    background: #000000;
}

.copy-btn:hover {
    background: #d1d5db;
}

/* нижние ссылки и кнопки */

.promo-card-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.promo-card-links .activate-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #22c55e;
    color: #0b1120;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.promo-card-links .activate-btn:hover {
    background: #38d968;
}

.promo-card-links .promo-more-link {
    flex: 0 0 auto;
    font-size: 12px;
    color: #4b5563;
    text-decoration: none;
}

.promo-card-links .promo-more-link:hover {
    text-decoration: underline;
}

/* адаптив карточек */

@media (min-width: 768px) {
    .cs2-promo-card {
        padding: 16px 16px 14px;
    }
}

@media (max-width: 767px) {
    .cs2-promos {
        padding-top: 28px;
    }
    .cs2-promos-head .title {
        font-size: 20px;
    }
    .promo-card-links {
        flex-direction: column;
        align-items: stretch;
    }
    .promo-card-links .promo-more-link {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .cs2-promo-card {
        padding: 14px 12px;
    }
    .promo-card-top {
        align-items: flex-start;
    }
    .promo-card-actions {
        flex-direction: column;
    }
    .reveal-btn,
    .copy-btn {
        width: 100%;
    }
    .promo-card-links .activate-btn {
        width: 100%;
    }
}
    /* ====== Общий фон и отступы ====== */
    .osp-promo-page {
        background: #f3f4f6;
        padding: 40px 0 70px;
    }

    .osp-promo-page .section-heading-main {
        margin-bottom: 24px;
    }

    .osp-promo-page .section-heading-main h2 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .osp-promo-page .section-heading-main p {
        margin: 0;
        color: #6b7280;
        font-size: 14px;
    }

    /* ====== Грид карточек ====== */
    .osp-promo-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    @media (max-width: 1199px) {
        .osp-promo-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 991px) {
        .osp-promo-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 575px) {
        .osp-promo-grid {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }

    /* ====== Карточка промокода ====== */
    .osp-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 18px 18px 16px;
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-height: 220px;
        position: relative;
    }

    .osp-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;
    }

    .osp-card-logo {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .osp-card-logo img {
        height: 40px;
        border-radius: 13px;
        object-fit: cover;
        background-color: black;
    }

    .osp-card-logo span {
        font-weight: 600;
        font-size: 14px;
    }

    .osp-card-badge {
        font-size: 12px;
        color: #6b7280;
    }

    .osp-card-title {
        font-size: 14px;
        font-weight: 500;
        color: #111827;
        margin: 0 0 4px;
    }

    .osp-card-expire {
        font-size: 12px;
        color: #9ca3af;
        margin-bottom: 6px;
    }

    .osp-code-box {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
    }

    .osp-code-line {
        background: #020617;
        border-radius: 999px;
        padding: 8px 14px;
        text-align: center;
        color: #ffffff;
        font-weight: 600;
        font-size: 14px;
    }

    .osp-code-blur {
        filter: blur(5px);
    }

    .osp-reveal-btn {
        display: inline-block;
        text-align: center;
        background: #020617;
        border-radius: 999px;
        padding: 8px 14px;
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .osp-copy-btn {
        display: none;
        width: 100%;
        border-radius: 999px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 600;
        border: 1px solid #d1d5db;
        background: #ffffff;
        cursor: pointer;
        margin-top: 4px;
    }

    .osp-copy-btn.visible {
        display: block;
    }

    .osp-activate-btn {
        margin-top: 8px;
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 999px;
        padding: 10px 14px;
        font-size: 13px;
        font-weight: 700;
        border: none;
        cursor: pointer;
        background: #22c55e;
        color: #ffffff;
        text-decoration: none;
    }

    .osp-card-footer-link {
        margin-top: 6px;
        font-size: 12px;
        color: #6b7280;
        text-decoration: underline;
        text-align: left;
    }

    .osp-load-more-wrap {
        text-align: center;
        margin-top: 24px;
    }

    .osp-load-more-btn {
        border-radius: 999px;
        padding: 9px 20px;
        border: none;
        background: #111827;
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    /* Блоки текста над секциями */
    .promo-type-text {
        padding: 18px 20px;
        background: #e5e7eb;
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .promo-type-text h3 {
        margin: 0 0 6px;
        font-size: 16px;
        font-weight: 600;
    }

    .promo-type-text p {
        margin: 0;
        font-size: 13px;
        color: #4b5563;
    }

    .osp-related-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 18px;
        color: #111827;
    }
a:hover{
  color: black;
  text-decoration: none;
}

a {
  color: #22c55e;
}

/* ===== ДЕСКТОП: поведение подменю (hover) ===== */
@media (min-width: 992px) {
    #header-section .navbar-nav li.menu-item-has-children {
        position: relative;
    }

    #header-section .navbar-nav li.menu-item-has-children > ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        display: none;
        z-index: 960;
    }

    #header-section .navbar-nav li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }
}
