:root {
    --bg-page: #e9edf2;
    --bg-content: #f5f5f5;
    --brand-blue: #004a95;
    --brand-deep-blue: #0b3d6d;
    --brand-nav-bg: #9fb0d7;
    --brand-gold: #ffcc66;
    --brand-red: #ff0000;
    --brand-darkred: #800000;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --border-light: #dcdcdc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-main);
    background-color: var(--bg-page);
    background-image: url("https://dotsmedia.info/includes/fon_lin.gif");
}

.site-wrapper {
    max-width: 1040px;
    margin: 0 auto;
    background: var(--bg-content);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

/* Верхняя плашка — как на оригинальном сайте */
.top-bar {
    background: var(--brand-nav-bg) url("https://dotsmedia.info/includes/img/fon_menu.png") repeat-x center;
    background-size: auto 100%;
    color: var(--brand-gold);
    font-family: Arial, sans-serif;
    font-size: 10.5pt;
    font-weight: 700;
    text-align: center;
    min-height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

/* Компактная сетка баннеров (5 в ряд на 1000px без лишнего синего фона) */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 0 8px;
    background: var(--brand-blue);
    align-items: stretch;
    justify-items: center;
}

.banners-grid a {
    display: block;
    line-height: 0;
    width: 100%;
    text-align: center;
}

.banners-grid img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Главное и нижнее меню — компактное, светло-синий градиент как на оригинале */
.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    background: var(--brand-nav-bg) url("https://dotsmedia.info/includes/img/fon_menu.png") repeat-x center;
    background-size: auto 100%;
}

.main-nav li {
    flex: 1 1 auto;
    text-align: center;
}

.main-nav a {
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 9.5pt;
    text-transform: uppercase;
    transition: background-color 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--brand-red);
    color: #ffffff;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* Основной контент */
.content {
    flex: 1;
    padding: 18px 16px;
}

/* Блок афиши: заголовок, годы, месяцы */
.afisha-header {
    text-align: center;
    margin-bottom: 18px;
}

.afisha-header h1 {
    font-size: 1.35rem;
    color: var(--brand-deep-blue);
    margin-bottom: 14px;
    font-weight: 700;
}

.years-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.year-pill {
    padding: 3px 12px;
    border-radius: 16px;
    border: 1px solid var(--brand-deep-blue);
    color: var(--brand-deep-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background-color 0.2s, color 0.2s;
}

.year-pill:hover,
.year-pill.is-active {
    background: var(--brand-deep-blue);
    color: #ffffff;
}

/* Адаптивная сетка месяцев */
.months-nav {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5px;
}

.month-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid var(--brand-deep-blue);
    color: var(--brand-deep-blue);
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.month-link:hover {
    background: #e8f0f8;
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

a.month-link.is-active,
.month-link.is-active:hover,
.month-link.is-active:focus {
    background: var(--brand-deep-blue);
    border-color: var(--brand-deep-blue);
    color: #ffffff;
    font-weight: 600;
}

.month-link.is-disabled {
    color: #aaaaaa;
    background: #efefef;
    border-color: var(--border-light);
    cursor: default;
}

.month-link.is-disabled:hover {
    background: #efefef;
    border-color: var(--border-light);
    color: #aaaaaa;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 16px;
}

/* Шапка таблицы мероприятий (Десктоп — строго в 1 строку с разделителями) */
.events-table-head {
    display: grid;
    grid-template-columns: 135px 1fr 240px;
    align-items: center;
    background: #e8f0f8;
    border: 1px solid #c9d9ea;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 10pt;
    font-weight: 700;
    color: var(--brand-deep-blue);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.events-table-head .col-date {
    text-align: center;
    padding: 9px 10px;
    border-right: 1px solid #c9d9ea;
}

.events-table-head .col-title {
    text-align: center;
    padding: 9px 14px;
    border-right: 1px solid #c9d9ea;
}

.events-table-head .col-location {
    text-align: center;
    padding: 9px 14px;
}

/* Список мероприятий (Десктоп — 3 колонки с вертикальными направляющими) */
.events-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-card {
    display: grid;
    grid-template-columns: 135px 1fr 240px;
    align-items: stretch;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e5ec;
}

.event-date {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-right: 1px solid #e6ebf2;
    font-weight: 700;
    color: var(--brand-deep-blue);
    text-align: center;
    font-size: 11pt;
    line-height: 1.35;
}

.date-sp {
    display: none;
}

.event-title {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-right: 1px solid #e6ebf2;
    font-size: 12pt;
    line-height: 1.4;
    color: #111111;
}

.event-link {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
}

.event-link:hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

.ext-icon {
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.7;
}

.event-location {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    color: #444444;
    font-size: 12pt;
    line-height: 1.35;
    text-align: right;
}

/* Подвал (копирайт как на оригинальном сайте) */
.copyright {
    background-color: #f3f3f3;
    text-align: center;
    padding: 12px 16px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #4a0025;
}

.copyright-sign {
    font-family: "Times New Roman", serif;
}

.copyright a {
    color: #ff0000;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Планшеты и небольшие экраны */
@media (max-width: 960px) {
    .months-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .content {
        padding: 12px;
    }

    .top-bar {
        line-height: 1.35;
        padding: 6px 10px;
    }

    .afisha-header h1 {
        font-size: 1.15rem;
    }

    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 4px;
    }

    .months-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .events-table-head {
        display: none;
    }

    /* Карточка мероприятия в 1 колонку */
    .event-card {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 12px;
    }

    .event-date {
        display: inline-block;
        text-align: left;
        font-size: 10.5pt;
        background: #e8f0f8;
        padding: 2px 8px;
        border-radius: 4px;
        border-right: none;
        width: fit-content;
    }

    .date-br {
        display: none;
    }

    .date-sp {
        display: inline;
    }

    .event-title {
        display: block;
        padding: 0;
        border-right: none;
        font-size: 11.5pt;
    }

    .event-location {
        display: block;
        padding: 0;
        text-align: left;
        font-size: 11pt;
    }
}

/* Узкие смартфоны */
@media (max-width: 480px) {
    .months-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.months-nav a.month-link.is-active,
.months-nav a.month-link.is-active:link,
.months-nav a.month-link.is-active:visited,
.months-nav a.month-link.is-active:hover,
.months-nav a.month-link.is-active:focus,
.months-nav a.month-link.is-active:active {
    background-color: #0b3d6d !important;
    border-color: #0b3d6d !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Карточки и списки для раздела About (сотрудничество, инфоспонсорство, биография) */
.page-card {
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 6px;
    padding: 20px 22px;
}

.page-hero {
    text-align: center;
    margin-bottom: 18px;
}

.page-hero img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}

.page-hero h1 {
    font-size: 1.35rem;
    color: var(--brand-deep-blue);
    font-weight: 700;
}

.page-card h2 {
    font-size: 1.05rem;
    color: var(--brand-deep-blue);
    margin: 18px 0 10px;
}

.lead-text,
.bio-summary,
.sponsor-note {
    margin-bottom: 12px;
    color: var(--text-main);
}

.styled-list {
    margin: 0 0 16px 20px;
}

.styled-list li {
    margin-bottom: 8px;
}

.bio-layout::after {
    content: "";
    display: table;
    clear: both;
}

.foto_ats {
    float: left;
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0 18px 14px 0;
}

.editor-sign {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #e6ebf2;
    line-height: 1.5;
}

.editor-sign a,
.sponsor-note a,
.styled-list a {
    color: var(--brand-blue);
    text-decoration: none;
}

.editor-sign a:hover,
.sponsor-note a:hover,
.styled-list a:hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-card {
        padding: 14px;
    }

    .foto_ats {
        float: none;
        display: block;
        margin: 0 auto 14px;
    }
}



/* Стили страницы информационного спонсорства (infosponsor.php) */
.infosponsor-page.page-card {
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
    padding: 20px 22px;
}

.infosponsor-page .sponsor-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b3d6d 0%, #004a95 65%, #163252 100%);
    color: #ffffff;
    margin-bottom: 20px;
}

.infosponsor-page .sponsor-hero .kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.infosponsor-page .sponsor-hero h1 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 6px;
    color: #ffffff;
    font-weight: 700;
}

.infosponsor-page .sponsor-hero p {
    font-size: 0.92rem;
    color: #e6eef8;
}

.infosponsor-page .hero-box {
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 102, 0.35);
    background: rgba(6, 28, 52, 0.55);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.infosponsor-page .hero-box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
}

.infosponsor-page .hero-box-note {
    font-size: 0.84rem;
    color: #dce7f5;
}

.infosponsor-page .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.infosponsor-page .filter-btn {
    appearance: none;
    border: 1px solid var(--brand-deep-blue);
    background: #ffffff;
    color: var(--brand-deep-blue);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.infosponsor-page .filter-btn:hover,
.infosponsor-page .filter-btn.is-active {
    background: var(--brand-deep-blue);
    color: #ffffff;
}

.infosponsor-page .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0f8;
}

.infosponsor-page .section-heading h2 {
    font-size: 1.1rem;
    color: var(--brand-deep-blue);
    font-weight: 700;
}

.infosponsor-page .section-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-darkred);
    background: #fff3f3;
    border: 1px solid #ffd6d6;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.infosponsor-page .events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@keyframes infosponsorTileFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.infosponsor-page .event-tile {
    display: flex;
    flex-direction: column;
    background: #fcfcfd;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    overflow: hidden;
    animation: infosponsorTileFadeIn 0.4s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.infosponsor-page .event-tile[hidden] {
    display: none;
}

.infosponsor-page .event-tile:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    box-shadow: 0 8px 18px rgba(11, 61, 109, 0.1);
}

.infosponsor-page .tile-banner {
    height: 68px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.infosponsor-page .tile-banner--cinema {
    background: linear-gradient(120deg, #0b3d6d 0%, #195690 100%);
}

.infosponsor-page .tile-banner--fest {
    background: linear-gradient(120deg, #690c1a 0%, #9f1a29 100%);
}

.infosponsor-page .tile-banner--expo {
    background: linear-gradient(120deg, #1b365d 0%, #2a4d7e 100%);
}

.infosponsor-page .tile-banner--award {
    background: linear-gradient(120deg, #3b2b0d 0%, #6b4d14 100%);
}

.infosponsor-page .tile-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.infosponsor-page .tile-logo-badge svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.infosponsor-page .year-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
}

.infosponsor-page .year-btn {
    appearance: none;
    border: 1px solid rgba(255, 204, 102, 0.55);
    background: rgba(0, 0, 0, 0.35);
    color: var(--brand-gold);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.infosponsor-page .year-btn:hover,
.infosponsor-page .year-btn.is-selected {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #111111;
}

.infosponsor-page .tile-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.infosponsor-page .tile-title {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--brand-deep-blue);
}

.infosponsor-page .tile-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.infosponsor-page .tile-footer-row {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
}

.infosponsor-page .tile-open-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--brand-blue);
    background: #eef4fb;
    border: 1px solid #d5e4f5;
    padding: 3px 8px;
    border-radius: 5px;
}

.infosponsor-page .tile-active-year-label {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.infosponsor-page .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.infosponsor-page .partner-card {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #e0e5ec;
    border-left: 4px solid var(--brand-red);
    background: #ffffff;
    transition: transform 0.2s ease, border-left-color 0.2s ease;
}

.infosponsor-page .partner-card:hover {
    transform: translateX(3px);
    border-left-color: var(--brand-deep-blue);
}

.infosponsor-page .partner-card strong {
    display: block;
    font-size: 0.96rem;
    color: var(--text-main);
    margin-bottom: 3px;
}

.infosponsor-page .partner-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.infosponsor-page .editor-sign {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #e6ebf2;
    line-height: 1.5;
    font-size: 0.94rem;
}

.infosponsor-page .editor-sign a {
    color: var(--brand-blue);
    text-decoration: none;
}

.infosponsor-page .editor-sign a:hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .infosponsor-page .sponsor-hero {
        grid-template-columns: 1fr;
    }

    .infosponsor-page .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .infosponsor-page.page-card {
        padding: 14px;
    }

    .infosponsor-page .events-grid,
    .infosponsor-page .partners-grid {
        grid-template-columns: 1fr;
    }

    .infosponsor-page .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .infosponsor-page .event-tile,
    .infosponsor-page .partner-card,
    .infosponsor-page .filter-btn,
    .infosponsor-page .year-btn {
        animation: none !important;
        transition: none !important;
    }
}

/* Стили обновлённой главной страницы раздела About */
.about-hub-page.page-card {
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
    padding: 20px 22px;
}

.about-hub-page .about-hero {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b3d6d 0%, #004a95 62%, #173354 100%);
    color: #ffffff;
    margin-bottom: 16px;
}

.about-hub-page .about-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.about-hub-page .about-hero h1 {
    font-size: 1.38rem;
    line-height: 1.25;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-hub-page .about-lead {
    font-size: 0.94rem;
    line-height: 1.5;
    color: #e6eef8;
}

.about-hub-page .about-hero-visual {
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 102, 0.35);
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 0, 0, 0.28), transparent 55%),
        rgba(6, 26, 48, 0.65);
    padding: 14px;
    text-align: center;
}

.about-hub-page .about-hero-visual img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.about-hub-page .about-hero-caption {
    font-size: 0.82rem;
    color: var(--brand-gold);
    line-height: 1.35;
}

.about-hub-page .about-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.about-hub-page .pillar-item {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e0e5ec;
    border-top: 3px solid var(--brand-blue);
    transition: transform 0.2s ease, border-top-color 0.2s ease;
}

.about-hub-page .pillar-item:hover {
    transform: translateY(-2px);
    border-top-color: var(--brand-red);
}

.about-hub-page .pillar-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--brand-deep-blue);
    margin-bottom: 4px;
}

.about-hub-page .pillar-item span {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.about-hub-page .pillar-item a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
}

.about-hub-page .pillar-item a:hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

.about-hub-page .about-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0f8;
}

.about-hub-page .about-section-head h2 {
    font-size: 1.12rem;
    color: var(--brand-deep-blue);
    font-weight: 700;
}

.about-hub-page .about-badge {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-darkred);
    background: #fff3f3;
    border: 1px solid #ffd6d6;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

@keyframes aboutCardEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hub-page .collab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-hub-page .collab-card {
    display: flex;
    flex-direction: column;
    background: #fcfcfd;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    overflow: hidden;
    animation: aboutCardEnter 0.4s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-hub-page .collab-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    box-shadow: 0 8px 18px rgba(11, 61, 109, 0.1);
}

.about-hub-page .collab-banner {
    height: 54px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.about-hub-page .collab-banner--tv {
    background: linear-gradient(120deg, #0b3d6d 0%, #195690 100%);
}

.about-hub-page .collab-banner--cinema {
    background: linear-gradient(120deg, #690c1a 0%, #9f1a29 100%);
}

.about-hub-page .collab-banner--fest {
    background: linear-gradient(120deg, #3b2b0d 0%, #6b4d14 100%);
}

.about-hub-page .collab-banner--culture {
    background: linear-gradient(120deg, #1b365d 0%, #2a4d7e 100%);
}

.about-hub-page .collab-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.about-hub-page .collab-badge svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.about-hub-page .collab-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.about-hub-page .collab-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-deep-blue);
}

.about-hub-page .collab-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.about-hub-page .collab-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.about-hub-page .collab-tags li {
    font-size: 0.82rem;
    color: var(--text-main);
    background: #eef4fb;
    border: 1px solid #d5e4f5;
    padding: 3px 9px;
    border-radius: 5px;
}

.about-hub-page .sponsor-callout {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 8px;
    background: #f4f8fc;
    border: 1px solid #cfe0f2;
    border-left: 4px solid var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.about-hub-page .sponsor-callout strong {
    display: block;
    font-size: 0.96rem;
    color: var(--brand-deep-blue);
    margin-bottom: 3px;
}

.about-hub-page .sponsor-callout p {
    font-size: 0.88rem;
    color: var(--text-main);
}

.about-hub-page .sponsor-callout a:not(.sponsor-btn) {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.about-hub-page .sponsor-callout a:not(.sponsor-btn):hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

.about-hub-page .sponsor-btn {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--brand-deep-blue);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.about-hub-page .sponsor-btn:hover {
    background: var(--brand-red);
}

.about-hub-page .editor-sign {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #e6ebf2;
    line-height: 1.5;
    font-size: 0.94rem;
}

.about-hub-page .editor-sign a {
    color: var(--brand-blue);
    text-decoration: none;
}

.about-hub-page .editor-sign a:hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .about-hub-page .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hub-page .about-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hub-page.page-card {
        padding: 14px;
    }

    .about-hub-page .collab-grid {
        grid-template-columns: 1fr;
    }

    .about-hub-page .sponsor-callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-hub-page .about-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hub-page .collab-card,
    .about-hub-page .pillar-item,
    .about-hub-page .sponsor-btn {
        animation: none !important;
        transition: none !important;
    }
}


/* Стили страницы сервиса News Line Press (/nlp/) */
.nlp-page.page-card {
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
    padding: 22px;
}

.nlp-page .nlp-top-banner-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.nlp-page .ad-slot-card {
    border: 1px dashed #b9cbe0;
    background: #f8fbff;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nlp-page .ad-slot-card:hover {
    border-color: var(--brand-blue);
    background: #f0f6fc;
}

.nlp-page .ad-slot-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-deep-blue);
}

.nlp-page .ad-slot-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.nlp-page .ad-slot-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-darkred);
    background: #fff3f3;
    border: 1px solid #ffd6d6;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.nlp-page .nlp-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b3d6d 0%, #004a95 62%, #173354 100%);
    color: #ffffff;
    margin-bottom: 22px;
}

.nlp-page .nlp-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.nlp-page .nlp-hero h1 {
    font-size: 1.42rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.nlp-page .nlp-hero p {
    font-size: 0.94rem;
    color: #e6eef8;
    line-height: 1.5;
}

.nlp-page .nlp-hero-box {
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 102, 0.35);
    background: rgba(6, 26, 48, 0.6);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nlp-page .nlp-hero-box strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-gold);
}

.nlp-page .nlp-hero-box p {
    font-size: 0.85rem;
    color: #dce7f5;
    line-height: 1.42;
}

.nlp-page .editorial-rule-banner {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff9f2;
    border: 1px solid #f2dcc2;
    border-left: 4px solid var(--brand-red);
}

.nlp-page .editorial-rule-banner strong {
    display: block;
    font-size: 0.94rem;
    color: var(--brand-deep-blue);
    margin-bottom: 4px;
}

.nlp-page .editorial-rule-banner p {
    font-size: 0.87rem;
    color: var(--text-main);
    line-height: 1.45;
}

.nlp-page .nlp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0f8;
}

.nlp-page .nlp-section-head h2 {
    font-size: 1.12rem;
    color: var(--brand-deep-blue);
    font-weight: 700;
}

.nlp-page .nlp-tag {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-darkred);
    background: #fff3f3;
    border: 1px solid #ffd6d6;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.nlp-page .topics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.nlp-page .topic-box {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f9fbfd;
    border: 1px solid #e0e5ec;
    border-left: 3px solid var(--brand-blue);
    transition: transform 0.2s ease, border-left-color 0.2s ease;
}

.nlp-page .topic-box:hover {
    transform: translateY(-2px);
    border-left-color: var(--brand-red);
}

.nlp-page .topic-box strong {
    display: block;
    font-size: 0.92rem;
    color: var(--brand-deep-blue);
    margin-bottom: 3px;
}

.nlp-page .topic-box span {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.38;
}

@keyframes nlpCardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nlp-page .formats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nlp-page .format-card {
    display: flex;
    flex-direction: column;
    background: #fcfcfd;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    overflow: hidden;
    animation: nlpCardIn 0.4s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nlp-page .format-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    box-shadow: 0 8px 18px rgba(11, 61, 109, 0.1);
}

.nlp-page .format-top {
    padding: 10px 14px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nlp-page .format-top-num {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
}

.nlp-page .format-top-name {
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--brand-gold);
}

.nlp-page .format-top--pr {
    background: linear-gradient(120deg, #0b3d6d 0%, #195690 100%);
}

.nlp-page .format-top--promo {
    background: linear-gradient(120deg, #690c1a 0%, #9f1a29 100%);
}

.nlp-page .format-top--banner {
    background: linear-gradient(120deg, #3b2b0d 0%, #6b4d14 100%);
}

.nlp-page .format-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nlp-page .format-body h3 {
    font-size: 1rem;
    color: var(--brand-deep-blue);
    font-weight: 700;
}

.nlp-page .format-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.42;
}

.nlp-page .format-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.84rem;
    color: var(--text-main);
    margin-top: 2px;
}

.nlp-page .format-list li::before {
    content: "• ";
    color: var(--brand-red);
    font-weight: 700;
}

.nlp-page .format-terms {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eceff4;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-deep-blue);
}

.nlp-page .special-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nlp-page .special-box {
    padding: 14px 16px;
    border-radius: 8px;
    background: #f4f8fc;
    border: 1px solid #cfe0f2;
    border-left: 4px solid var(--brand-red);
}

.nlp-page .special-box strong {
    display: block;
    font-size: 0.95rem;
    color: var(--brand-deep-blue);
    margin-bottom: 4px;
}

.nlp-page .special-box p {
    font-size: 0.86rem;
    color: var(--text-main);
    line-height: 1.42;
}

.nlp-page .nlp-bottom-banner-strip {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nlp-page .nlp-contacts {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #e0e5ec;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nlp-page .nlp-contacts-text {
    font-size: 0.9rem;
    line-height: 1.55;
}

.nlp-page .nlp-contacts-text a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.nlp-page .nlp-contacts-text a:hover {
    color: var(--brand-darkred);
    text-decoration: underline;
}

.nlp-page .nlp-action-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--brand-deep-blue);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.nlp-page .nlp-action-pill:hover {
    background: var(--brand-red);
}

@media (max-width: 960px) {
    .nlp-page .nlp-hero {
        grid-template-columns: 1fr;
    }

    .nlp-page .topics-grid,
    .nlp-page .formats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nlp-page.page-card {
        padding: 14px;
    }

    .nlp-page .nlp-top-banner-strip,
    .nlp-page .nlp-bottom-banner-strip,
    .nlp-page .topics-grid,
    .nlp-page .formats-grid,
    .nlp-page .special-grid {
        grid-template-columns: 1fr;
    }

    .nlp-page .nlp-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nlp-page .format-card,
    .nlp-page .topic-box,
    .nlp-page .ad-slot-card,
    .nlp-page .nlp-action-pill {
        animation: none !important;
        transition: none !important;
    }
}