/*
Theme Name: dds_cinecittadaily.com
Theme URI: https://cinecittadaily.com/
Author: Баженов Павел
Author URI: https://cinecittadaily.com/
Description: Развлекательный портал о спорте, кино, аниме и индустрии развлечений с актуальными новостями и обзорами.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dds_cinecittadaily_com
*/

/* =========================================================
   1. CSS-переменные
   ========================================================= */
:root {
    --c-bg: #0A0A0A;
    --c-bg-soft: #1F1F1F;
    --c-bg-soft-2: #161616;
    --c-text: #E5E5E5;
    --c-text-strong: #FFFFFF;
    --c-text-muted: #9A9A9A;
    --c-gold: #F5C518;
    --c-gold-soft: #d6a813;
    --c-blue: #1E3A8A;
    --c-blue-soft: #2748a6;
    --c-anime: #8b3aa1;
    --c-anime-soft: #b15ec6;
    --c-orange: #e26a1f;
    --c-line: #2a2a2a;
    --c-line-soft: #1a1a1a;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 14px;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, .35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .55);
    --shadow-gold: 0 0 0 1px var(--c-gold), 0 0 18px rgba(245, 197, 24, .35);
    --shadow-neon-pink: 0 0 14px rgba(255, 71, 168, .55);
    --shadow-neon-cyan: 0 0 14px rgba(94, 234, 255, .55);
    --font-body: "Inter", "Segoe UI", "PT Sans", Arial, sans-serif;
    --font-display: "Bebas Neue", "Oswald", "PT Sans Narrow", Impact, sans-serif;
}

/* =========================================================
   2. Сброс и базовая типографика
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image:
        repeating-linear-gradient(0deg, transparent 0, transparent 38px, rgba(255, 255, 255, .015) 38px, rgba(255, 255, 255, .015) 39px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0, rgba(255, 255, 255, .012) 1px, transparent 1px, transparent 6px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--c-gold);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--c-text-strong); text-decoration: underline; }

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--c-text-strong);
    line-height: 1.2;
    margin: 1.4em 0 0.6em;
    letter-spacing: 0.02em;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.35em; }
h4 { font-size: 1.15em; }
h5 { font-size: 1.05em; }
h6 { font-size: 0.95em; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

blockquote {
    margin: 1.2em 0;
    padding: 1em 1.2em;
    border-left: 3px solid var(--c-gold);
    background: rgba(245, 197, 24, .05);
    color: var(--c-text);
    font-style: italic;
}

hr {
    border: 0;
    border-top: 1px solid var(--c-line);
    margin: 2em 0;
}

code, pre {
    font-family: "JetBrains Mono", Consolas, Menlo, monospace;
    background: var(--c-bg-soft);
    color: var(--c-gold);
    border-radius: var(--r-sm);
}
code { padding: 0.15em 0.35em; font-size: 0.92em; }
pre { padding: 1em; overflow-x: auto; border: 1px solid var(--c-line); }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    border: 1px solid var(--c-line);
    background: var(--c-bg-soft-2);
}
th, td {
    border: 1px solid var(--c-line);
    padding: 0.55em 0.8em;
    text-align: left;
    vertical-align: top;
}
th {
    background: rgba(245, 197, 24, .08);
    color: var(--c-text-strong);
    font-weight: 600;
}

/* =========================================================
   3. Контейнеры и сетка
   ========================================================= */
.shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin: 36px 0 60px;
}

.layout--with-aside {
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
}

.layout--wide .layout-main {
    width: 85%;
    margin: 0 auto;
}

.layout-main { min-width: 0; }
.layout-aside { min-width: 0; }

@media (max-width: 960px) {
    .layout--with-aside { grid-template-columns: 1fr; gap: 36px; }
    .layout--wide .layout-main { width: 100%; }
}

/* =========================================================
   4. Шапка
   ========================================================= */
.site-header {
    background: linear-gradient(180deg, #050505 0%, #0d0d0d 100%);
    border-bottom: 1px solid var(--c-line);
    position: relative;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg,
        var(--c-blue) 0%, var(--c-blue) 35%,
        var(--c-gold) 35%, var(--c-gold) 70%,
        var(--c-anime) 70%, var(--c-anime) 100%);
    opacity: 0.85;
}

.ticker-strip {
    background: rgba(0, 0, 0, .55);
    border-bottom: 1px solid var(--c-line-soft);
    overflow: hidden;
    font-size: 13px;
    color: var(--c-text-muted);
    padding: 6px 0;
    position: relative;
}
.ticker-strip::before {
    content: "LIVE";
    background: var(--c-blue);
    color: #fff;
    font-weight: 700;
    padding: 2px 10px;
    margin-right: 14px;
    border-radius: 2px;
    letter-spacing: 0.1em;
    font-size: 11px;
    display: inline-block;
    vertical-align: middle;
}
.ticker-line {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 38s linear infinite;
    padding-left: 100%;
}
.ticker-line span {
    display: inline-block;
    margin-right: 42px;
    color: var(--c-text);
}
.ticker-line span.is-cinema { color: var(--c-gold); }
.ticker-line span.is-sport { color: #9bb6ff; }
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.header-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}
.brand-logo, .brand-svg {
    width: 56px;
    height: 56px;
    display: block;
    flex: 0 0 56px;
}
.brand-svg {
    border-radius: var(--r-md);
    background: var(--c-bg-soft);
    padding: 6px;
    border: 1px solid var(--c-line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
    font-family: var(--font-display);
    color: var(--c-text-strong);
    font-size: 22px;
    text-decoration: none;
    letter-spacing: 0.03em;
}
.brand-name:hover { color: var(--c-gold); text-decoration: none; }
.brand-tagline { color: var(--c-text-muted); font-size: 12px; max-width: 380px; }

.primary-nav {
    margin-left: auto;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.primary-nav li { margin: 0; }
.primary-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--c-text);
    border-radius: var(--r-sm);
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
    position: relative;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 6px;
    height: 2px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.primary-nav a:hover { color: var(--c-gold); }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a { color: var(--c-gold); }
.primary-nav .current-menu-item > a::after { transform: scaleX(1); }

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--c-line);
    color: var(--c-text);
    padding: 8px 14px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
}
.menu-toggle:hover { border-color: var(--c-gold); color: var(--c-gold); }

@media (max-width: 960px) {
    .header-row { flex-wrap: wrap; }
    .menu-toggle { display: inline-block; }
    .primary-nav { flex-basis: 100%; margin-left: 0; }
    .primary-nav ul { flex-direction: column; gap: 0; width: 100%; }
    .primary-nav { display: none; }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 12px 4px; border-bottom: 1px solid var(--c-line-soft); }
}

/* =========================================================
   5. Хлебные крошки
   ========================================================= */
.crumbs {
    background: var(--c-bg-soft-2);
    border-bottom: 1px solid var(--c-line);
    padding: 10px 0;
    font-size: 13px;
    color: var(--c-text-muted);
}
.crumbs a { color: var(--c-text); }
.crumbs a:hover { color: var(--c-gold); text-decoration: none; }
.crumbs-sep { margin: 0 8px; color: var(--c-line); }
.crumbs-current { color: var(--c-gold); }

/* =========================================================
   6. Кнопки
   ========================================================= */
.cine-sport-button,
.btn {
    display: inline-block;
    padding: 11px 22px;
    background: var(--c-bg);
    color: var(--c-gold);
    border: 2px solid var(--c-gold);
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.cine-sport-button:hover,
.btn:hover {
    background: var(--c-gold);
    color: #0A0A0A;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(245, 197, 24, .55), inset 0 0 0 1px #fff7c5;
}

.btn--sport {
    background: var(--c-bg);
    color: #cfe0ff;
    border-color: var(--c-blue);
    background-image: repeating-linear-gradient(135deg,
        transparent 0, transparent 12px,
        rgba(30, 58, 138, .15) 12px, rgba(30, 58, 138, .15) 14px);
}
.btn--sport:hover {
    background: var(--c-blue);
    color: #fff;
    box-shadow: 0 0 18px rgba(30, 58, 138, .55);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-line);
}
.btn--ghost:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
    background: rgba(245, 197, 24, .08);
    box-shadow: none;
}

/* =========================================================
   7. Бейджи-билеты категорий
   ========================================================= */
.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    background: var(--c-line);
    border-radius: 2px;
    position: relative;
    margin: 0 8px 4px 0;
    line-height: 1.3;
}
.cat-tag:hover { color: #fff; text-decoration: none; opacity: 0.92; }
.cat-tag::before,
.cat-tag::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-bg);
    border-radius: 50%;
}
.cat-tag::before { left: -3px; }
.cat-tag::after { right: -3px; }

.cat-tag .cat-tag-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: currentColor;
}

.cat-tag--sport       { background: var(--c-blue); }
.cat-tag--cinema      { background: var(--c-gold); color: #1a1a1a; }
.cat-tag--anime       { background: var(--c-anime); }
.cat-tag--ent         { background: var(--c-orange); }

/* =========================================================
   8. Карточки записей
   ========================================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 197, 24, .55);
    box-shadow: var(--shadow-md);
}

.card-thumb-wrap {
    display: block;
    background: var(--c-bg-soft-2);
    overflow: hidden;
    position: relative;
}
.card-thumb-wrap a {
    display: block;
    line-height: 0;
}
.card-thumb-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.card:hover .card-thumb-wrap img { transform: scale(1.04); }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 18px;
    gap: 8px;
}

.card-tags { margin-bottom: 2px; }

.card-title {
    font-family: var(--font-display);
    font-size: 1.18em;
    line-height: 1.22;
    margin: 0 0 4px;
    letter-spacing: 0.01em;
}
.card-title a { color: var(--c-text-strong); text-decoration: none; }
.card-title a:hover { color: var(--c-gold); }

.card-meta {
    color: var(--c-text-muted);
    font-size: 12px;
    margin: 0;
}
.card-meta a { color: var(--c-text-muted); }
.card-meta a:hover { color: var(--c-gold); }
.card-meta-sep { margin: 0 6px; opacity: 0.6; }

.card-excerpt {
    color: var(--c-text);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-foot {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card .card-readmore {
    font-size: 12px;
    padding: 8px 14px;
}

/* Аниме-карточка — полароид с неоновыми углами */
.card.is-anime {
    background: #14141f;
    padding: 10px 10px 0;
    border: 1px solid #2a223a;
}
.card.is-anime::before,
.card.is-anime::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid;
    pointer-events: none;
    z-index: 2;
}
.card.is-anime::before {
    top: -1px; left: -1px;
    border-right: 0; border-bottom: 0;
    border-color: #ff47a8;
    box-shadow: var(--shadow-neon-pink);
}
.card.is-anime::after {
    bottom: -1px; right: -1px;
    border-top: 0; border-left: 0;
    border-color: #5eeaff;
    box-shadow: var(--shadow-neon-cyan);
}
.card.is-anime .card-thumb-wrap {
    border-radius: 2px;
    margin-bottom: 6px;
}
.card.is-anime .card-body {
    padding: 10px 8px 16px;
    background: #14141f;
    border-top: 1px dashed #2a223a;
}

/* Спорт — синяя полоса слева */
.card.is-sport { border-left: 3px solid var(--c-blue); }
/* Кино — золотая полоса справа */
.card.is-cinema { border-right: 3px solid var(--c-gold); }

/* Горизонтальный вариант карточки (для главной) */
.card--row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.card--row .card-thumb-wrap {
    flex: 0 0 38%;
    position: relative;
    overflow: hidden;
}
.card--row .card-thumb-wrap a {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.card--row .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    display: block;
}
.card--row .card-body {
    flex: 1;
    padding: 18px 20px;
}

@media (max-width: 600px) {
    .card--row { flex-direction: column; }
    .card--row .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card--row .card-thumb-wrap a { position: static; }
    .card--row .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* =========================================================
   9. Сайдбар и виджеты
   ========================================================= */
.layout-aside { font-size: 14px; }

.aside-widget {
    background: var(--c-bg-soft-2);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 18px 18px 14px;
    margin-bottom: 22px;
    position: relative;
}
.aside-widget::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--c-gold), var(--c-blue));
    border-radius: var(--r-md) 0 0 var(--r-md);
}

.widget-title {
    font-family: var(--font-display);
    font-size: 16px;
    margin: 0 0 12px;
    color: var(--c-text-strong);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--c-line);
    padding-bottom: 8px;
}

.aside-widget ul { list-style: none; margin: 0; padding: 0; }
.aside-widget ul li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--c-line-soft);
    margin: 0;
}
.aside-widget ul li:last-child { border-bottom: 0; }
.aside-widget ul li a { color: var(--c-text); }
.aside-widget ul li a:hover { color: var(--c-gold); text-decoration: none; }

.search-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--c-bg);
}
.search-form input[type="search"] {
    flex: 1;
    background: transparent;
    color: var(--c-text-strong);
    border: 0;
    padding: 9px 12px;
    font: inherit;
    outline: none;
    min-width: 0;
}
.search-form button {
    background: var(--c-gold);
    color: #0A0A0A;
    border: 0;
    padding: 9px 16px;
    cursor: pointer;
    font-weight: 700;
    transition: background .2s ease;
}
.search-form button:hover { background: #fff; }

/* =========================================================
   10. Пагинация
   ========================================================= */
.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 36px 0 10px;
    flex-wrap: wrap;
}
.pager a, .pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 50px;
    border: 1px solid var(--c-line);
    color: var(--c-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    background: var(--c-bg-soft);
}
.pager a:hover {
    background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-soft) 100%);
    color: #fff;
    border-color: var(--c-blue-soft);
    text-decoration: none;
}
.pager .pager-current,
.pager .current {
    background: linear-gradient(135deg, var(--c-blue) 0%, #2c5dd0 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(30, 58, 138, .45);
}
.pager .dots { background: transparent; border-color: transparent; }

/* =========================================================
   11. Главная — две ленты
   ========================================================= */
.front-hero {
    background:
        linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(10,10,10,.95) 100%),
        radial-gradient(ellipse at 80% 20%, rgba(245,197,24,.18) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(30,58,138,.22) 0%, transparent 55%);
    border-bottom: 1px solid var(--c-line);
    padding: 56px 0 48px;
    text-align: center;
}
.front-hero h1 {
    margin: 0 0 14px;
    font-size: 2.6em;
    color: var(--c-gold);
    text-shadow: 0 0 18px rgba(245, 197, 24, .35);
}
.front-hero p {
    max-width: 720px;
    margin: 0 auto 22px;
    color: var(--c-text);
    font-size: 1.05em;
}
.front-hero .hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.front-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--c-line-soft);
    position: relative;
}
.front-section:nth-child(even) { background: var(--c-bg-soft-2); }

.front-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.front-section-head h2 {
    margin: 0;
    font-size: 2em;
    color: var(--c-text-strong);
}
.front-section-head h2 .accent { color: var(--c-gold); }
.front-section-head p {
    margin: 0;
    color: var(--c-text-muted);
    font-size: 14px;
    max-width: 520px;
}

/* Двухполосная лента */
.two-lanes {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 24px;
}
.lane-sport, .lane-cinema { min-width: 0; }

.lane-sport h3, .lane-cinema h3 {
    margin: 0 0 16px;
    font-size: 1.4em;
    padding-left: 12px;
    position: relative;
}
.lane-sport h3::before, .lane-cinema h3::before {
    content: "";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 4px;
    border-radius: 2px;
}
.lane-sport h3::before { background: var(--c-blue); }
.lane-cinema h3::before { background: var(--c-gold); }

.lane-list { display: flex; flex-direction: column; gap: 14px; }

.mini-card {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    transition: border-color .2s ease;
}
.mini-card:hover { border-color: rgba(245, 197, 24, .35); }
.mini-card-thumb {
    flex: 0 0 92px;
    width: 92px;
    height: 64px;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}
.mini-card-thumb a {
    position: absolute;
    inset: 0;
    display: block;
}
.mini-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mini-card-body { flex: 1; min-width: 0; }
.mini-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    line-height: 1.25;
    margin: 0 0 4px;
}
.mini-card-title a { color: var(--c-text-strong); }
.mini-card-title a:hover { color: var(--c-gold); }
.mini-card-meta { font-size: 11px; color: var(--c-text-muted); }

/* Tabs на мобильных */
.lane-tabs {
    display: none;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    overflow: hidden;
}
.lane-tabs button {
    flex: 1;
    background: var(--c-bg-soft);
    color: var(--c-text);
    border: 0;
    padding: 10px 14px;
    font: inherit;
    cursor: pointer;
    font-weight: 600;
}
.lane-tabs button.is-active { background: var(--c-gold); color: #0A0A0A; }

@media (max-width: 960px) {
    .two-lanes { grid-template-columns: 1fr; gap: 0; }
    .lane-tabs { display: flex; }
    .lane-sport, .lane-cinema { display: none; }
    .lane-sport.is-active, .lane-cinema.is-active { display: block; }
}

/* Блок преимуществ / шаги */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 22px;
}
.feature-card {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 22px;
    transition: border-color .25s ease, transform .25s ease;
}
.feature-card:hover { border-color: var(--c-gold); transform: translateY(-2px); }
.feature-card-num {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--c-gold);
    line-height: 1;
    margin-bottom: 8px;
}
.feature-card h3 {
    margin: 0 0 6px;
    font-size: 1.15em;
    color: var(--c-text-strong);
}
.feature-card p { margin: 0; color: var(--c-text); font-size: 14px; }

/* Блок «Категории» — большие плитки */
.cat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.cat-tile {
    display: block;
    padding: 28px 22px;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    text-decoration: none;
    color: var(--c-text-strong);
    background: var(--c-bg-soft);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cat-tile:hover { transform: translateY(-3px); text-decoration: none; }
.cat-tile h3 {
    margin: 0 0 6px;
    font-size: 1.4em;
    color: var(--c-text-strong);
    letter-spacing: 0.04em;
}
.cat-tile p { margin: 0; color: var(--c-text); font-size: 13px; }
.cat-tile .tile-icon {
    position: absolute;
    right: 12px; top: 12px;
    width: 36px; height: 36px;
    opacity: 0.7;
}
.cat-tile.is-sport { border-color: rgba(30,58,138,.5); background: linear-gradient(135deg, #0a0a0a 0%, #142042 100%); }
.cat-tile.is-cinema { border-color: rgba(245,197,24,.5); background: linear-gradient(135deg, #0a0a0a 0%, #2a2310 100%); }
.cat-tile.is-anime { border-color: rgba(139,58,161,.5); background: linear-gradient(135deg, #0a0a0a 0%, #2a1432 100%); }
.cat-tile.is-ent { border-color: rgba(226,106,31,.5); background: linear-gradient(135deg, #0a0a0a 0%, #311a07 100%); }
.cat-tile:hover { box-shadow: var(--shadow-md); }

/* =========================================================
   12. Запись и страница (контент)
   ========================================================= */
.entry {
    background: var(--c-bg-soft-2);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 26px 30px 32px;
}
.entry-title {
    margin: 0 0 12px;
    font-size: 2.2em;
    color: var(--c-text-strong);
}
.entry-meta {
    color: var(--c-text-muted);
    font-size: 13px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}
.entry-meta a { color: var(--c-text); }
.entry-meta a:hover { color: var(--c-gold); }
.entry-thumb {
    margin: 0 -30px 24px;
    line-height: 0;
}
.entry-thumb img { width: 100%; height: auto; display: block; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { border-radius: var(--r-sm); margin: 1em 0; display: block; }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption {
    color: var(--c-text-muted);
    font-size: 13px;
    text-align: center;
    margin-top: 6px;
}

.entry-tags {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--c-line);
    color: var(--c-text-muted);
    font-size: 13px;
}
.entry-tags a {
    display: inline-block;
    background: var(--c-bg-soft);
    color: var(--c-text);
    padding: 3px 10px;
    border-radius: 50px;
    margin: 0 4px 4px 0;
    border: 1px solid var(--c-line);
    font-size: 12px;
}
.entry-tags a:hover { border-color: var(--c-gold); color: var(--c-gold); text-decoration: none; }

/* Архив — заголовок страницы */
.archive-head {
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}
.archive-head h1 { margin: 0 0 4px; }
.archive-head p { margin: 0; color: var(--c-text-muted); }

/* =========================================================
   13. Комментарии
   ========================================================= */
.comments-area { margin-top: 36px; }
.comments-area .comments-title {
    font-size: 1.3em;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--c-line);
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 14px; }
.comment-item {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 14px 16px;
    margin-bottom: 14px;
}
.comment-item .comment-meta {
    font-size: 12px;
    color: var(--c-text-muted);
    margin-bottom: 6px;
}
.comment-item .comment-meta strong { color: var(--c-gold); margin-right: 8px; }
.comment-item .comment-body p { margin: 0 0 0.6em; }
.comment-item .reply { margin-top: 6px; font-size: 12px; }
.comment-form { margin-top: 24px; }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-size: 13px; color: var(--c-text-muted); margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: var(--c-bg);
    color: var(--c-text-strong);
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    padding: 9px 12px;
    font: inherit;
    outline: none;
    transition: border-color .2s ease;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--c-gold); }
.comment-form textarea { resize: vertical; min-height: 120px; }
.comment-form .form-submit input { all: unset; }
.comment-form .form-submit { margin-top: 8px; }

/* =========================================================
   14. Подвал
   ========================================================= */
.site-footer {
    background: #060606;
    border-top: 2px solid var(--c-line);
    margin-top: 40px;
    padding: 44px 0 0;
    color: var(--c-text-muted);
    font-size: 14px;
}
.site-footer::before {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg,
        var(--c-blue) 0%, var(--c-blue) 35%,
        var(--c-gold) 35%, var(--c-gold) 70%,
        var(--c-anime) 70%, var(--c-anime) 100%);
    margin: -46px 0 30px;
    opacity: 0.85;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}
@media (max-width: 700px) {
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}
.footer-col h4 {
    color: var(--c-text-strong);
    font-family: var(--font-display);
    font-size: 16px;
    margin: 0 0 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin: 0 0 6px; padding: 0; border: 0; }
.footer-col a { color: var(--c-text); }
.footer-col a:hover { color: var(--c-gold); text-decoration: none; }
.footer-col p { color: var(--c-text-muted); margin: 0 0 0.7em; }

.footer-bottom {
    margin-top: 30px;
    padding: 18px 0;
    border-top: 1px solid var(--c-line);
    text-align: center;
    font-size: 13px;
    color: var(--c-text-muted);
}

/* =========================================================
   15. Cookie-баннер (правило A11)
   ========================================================= */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    background: rgba(10, 10, 10, .96);
    border: 1px solid var(--c-gold);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    color: var(--c-text);
    backdrop-filter: blur(6px);
}
.cookie-banner-text { flex: 1; }
.cookie-banner-text a { color: var(--c-gold); }
.cookie-banner button {
    flex: 0 0 auto;
    background: var(--c-gold);
    color: #0A0A0A;
    border: 0;
    border-radius: var(--r-sm);
    padding: 10px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.cookie-banner button:hover { background: #fff; }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-banner button { width: 100%; }
}

/* =========================================================
   16. Поиск, 404
   ========================================================= */
.notfound {
    padding: 60px 0;
    text-align: center;
}
.notfound h1 {
    font-size: 5em;
    color: var(--c-gold);
    margin: 0 0 8px;
    letter-spacing: 0.1em;
}
.notfound p { max-width: 540px; margin: 0 auto 22px; }
.notfound .search-form { max-width: 420px; margin: 0 auto 18px; }

/* =========================================================
   17. Утилиты
   ========================================================= */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1em 0.5em 0; }
.alignright { float: right; margin: 0 0 0.5em 1em; }

.wp-caption { max-width: 100%; }
.wp-caption-text {
    color: var(--c-text-muted);
    font-size: 13px;
    text-align: center;
    margin-top: 4px;
}

/* =========================================================
   18. Адаптив — общий
   ========================================================= */
@media (max-width: 600px) {
    body { font-size: 15px; }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
    .shell { padding: 0 16px; }
    .header-row { padding: 14px 0; gap: 14px; }
    .brand-name { font-size: 18px; }
    .brand-tagline { display: none; }
    .front-hero { padding: 36px 0; }
    .front-hero h1 { font-size: 1.8em; }
    .entry { padding: 18px; }
    .entry-thumb { margin: 0 -18px 18px; }
}
