:root {
    --main-color: #202021;
    --second-color: #fff;
    --third-color: #111111;
    --fourth-color: #202021;
    --fifth-color: #8dc63f;
    --gap: 20px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Google Sans', sans-serif;
    background-color: var(--main-color);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.site-header {
    position: relative;
    overflow: hidden;
    background: #09090a;
    background-image:
        radial-gradient(ellipse 90% 80% at 5% 0%, rgba(141, 198, 63, 0.11) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 90% 10%, rgba(70, 120, 20, 0.13) 0%, transparent 55%),
        radial-gradient(ellipse 75% 60% at 50% 110%, rgba(141, 198, 63, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 30% 60%, rgba(20, 35, 8, 0.5) 0%, transparent 70%),
        linear-gradient(160deg, #0e0f0d 0%, #0a0a0b 40%, #0c0d0b 100%);
}

/* Анимированные блобы */
.site-header::before,
.site-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: blobFloat 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.site-header::before {
    width: 400px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(141, 198, 63, 0.09) 0%, transparent 70%);
    top: -80px;
    left: -60px;
    animation-duration: 9s;
}

.site-header::after {
    width: 350px;
    height: 250px;
    background: radial-gradient(ellipse, rgba(80, 140, 20, 0.08) 0%, transparent 70%);
    bottom: -60px;
    right: -40px;
    animation-duration: 11s;
    animation-direction: alternate-reverse;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.08);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }

    100% {
        transform: translate(15px, 10px) scale(1.05);
    }
}

/* Spotlight курсора */
.header-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle 220px at var(--sx, 50%) var(--sy, 50%),
            rgba(141, 198, 63, 0.07) 0%,
            transparent 70%);
}

.site-header:hover .header-spotlight {
    opacity: 1;
}



.header-top {
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 42px;
    font-weight: 900;
    color: var(--second-color);
    text-transform: lowercase;
    display: flex;
    justify-content: center;
    align-items: baseline;
    cursor: pointer;
}

.logo span:not(.logo-letter) {
    color: var(--fifth-color);
    font-family: "Iosevka Charon", monospace;
    font-style: italic;
    font-weight: 400;
    font-size: 48px;
    letter-spacing: 0;
}

.logo-letter {
    display: inline-block;
    transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        color 0.2s ease,
        text-shadow 0.2s ease;
    will-change: transform;
}

.header-bottom {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--main-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    margin-bottom: var(--gap);
}

.header-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-bottom nav {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.header-bottom ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.header-bottom ul::-webkit-scrollbar {
    display: none;
}

.header-bottom ul li a {
    text-decoration: none;
    color: var(--second-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-bottom ul li a:hover {
    color: var(--fifth-color);
}

/* Кнопки в нав баре */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-btn-ask {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
}

.nav-btn-ask:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--second-color);
}

.nav-btn-thanks {
    border: 1px solid var(--fifth-color);
    background: rgba(141, 198, 63, 0.1);
    color: var(--fifth-color);
}

.nav-btn-thanks:hover {
    background: var(--fifth-color);
    color: #111;
}

.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    margin-bottom: var(--gap);
}

.featured-hero {
    background-color: var(--fourth-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.featured-hero a {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 40px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--fourth-color);
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    transform-origin: center center;
}

.featured-hero:hover .hero-img {
    transform: scale(1.02);
    filter: brightness(0.85);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.featured-hero:hover .hero-bg {
    opacity: 1.15;
}

.hero-content {
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-hero:hover .hero-content {
    transform: translateY(-6px);
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.01em;
}

.hero-content h2 span {
    color: #8dc63f;
    font-family: "Iosevka Charon", monospace;
    font-weight: 400;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

.featured-item,
.article-item {
    border-radius: 20px;
    box-sizing: border-box;
    background-color: transparent;
    position: relative;
}

/* Зигзаг-канвас теперь крепится к body с position:fixed — overflow не страшен */

.featured-item a,
.article-item a {
    text-decoration: none;
    color: var(--second-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.second-floor {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.article-grid-default {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

.article-grid-trinity {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--gap);
}

/* Removed previous empty .article-item block to merge above */

.second-floor-main {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.article-lent-default {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.sidebar-item {
    background-color: var(--third-color);
    border-radius: 12px;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Зелёная левая полоска */
.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--fifth-color);
    border-radius: 12px 0 0 12px;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar-item:hover::before {
    transform: scaleY(1);
}

.sidebar-item:hover {
    background-color: var(--fourth-color);
    transform: translateX(4px);
    box-shadow: -4px 0 20px rgba(141, 198, 63, 0.12);
}

.sidebar-item a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    text-decoration: none;
    color: var(--second-color);
    border-radius: 12px;
    transition: color 0.25s ease;
}

.sidebar-item-time {
    color: var(--fifth-color);
    /* Purple to match reference */
    font-size: 15px;
    font-weight: 500;
}

.sidebar-item-title {
    font-family: "Iosevka Charon", monospace;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
}

.featured-item-image,
.article-item-image {
    background-color: var(--second-color);
    border-radius: 12px;
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Зум картинки без обрезания текста — clip через border-radius + overflow на img */
.featured-item-image,
.article-item-image {
    border-radius: 12px;
    clip-path: inset(0 round 12px);
}

.article-grid-trinity .article-item-image {
    aspect-ratio: 1 / 1;
}

.featured-item-title h2,
.article-item-title h2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
}

.featured-item-title h2 span,
.article-item-title h2 span {
    color: var(--fifth-color);
    /* Фиолетовый цвет рубрики */
    font-family: "Iosevka Charon", monospace;
    /* Шрифт с засечками */
    font-weight: 400;
}

/* Слайдер для шортсов */
.article-slider {
    background-color: var(--third-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: var(--gap);
}

.shorts-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.shorts-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shorts-icon {
    width: 36px;
    height: 36px;
    background-color: #ff3333;
    /* Яркий красный как на афише */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.shorts-title h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--second-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.shorts-title h2 span {
    color: var(--fourth-color);
    /* Серый текст "в Москве" / "в Shorts" */
    font-weight: 500;
}

.shorts-controls {
    display: flex;
    gap: 12px;
}

.shorts-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--main-color);
    color: var(--second-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Легкая тень как на скрине */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.shorts-controls button:active {
    transform: scale(0.95);
}

.shorts-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.shorts-slider-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.short-card {
    width: 240px;
    flex-shrink: 0;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    background-color: #333;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    cursor: pointer;
}

/* Inner wrapper that holds the absolutely-positioned media */
.short-card-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.short-card-inner video,
.short-card-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.short-popup-title {
    font-family: "Iosevka Charon", monospace;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--second-color);
    margin: 0;
}

.short-popup-date {
    font-size: 12px;
    color: var(--fifth-color);
    font-weight: 500;
}

.short-popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fifth-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 2px;
    transition: gap 0.2s ease;
}

.short-popup-cta:hover {
    gap: 10px;
}

.short-popup-cta svg {
    transition: transform 0.2s ease;
}

.short-popup-cta:hover svg {
    transform: translateX(2px);
}

.short-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Градиент для читаемости белого текста */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.short-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.short-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.short-date {
    font-size: 14px;
    opacity: 0.8;
}

/* Инфлюэнсер недели */
.influencer-block {
    display: flex;
    flex-direction: column;
    background-color: var(--third-color);
    border-radius: 12px;
    overflow: hidden;
}

.influencer-slider-container {
    position: relative;
}

.inf-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    border: none;
    font-size: 22px;
    line-height: 1;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--main-color);
    color: var(--second-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.influencer-slider-container:hover .inf-arrow {
    opacity: 1;
}

.inf-prev {
    left: 10px;
}

.inf-next {
    right: 10px;
}

.influencer-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.influencer-slider::-webkit-scrollbar {
    display: none;
}

.influencer-slide {
    flex: 0 0 100%;
    aspect-ratio: 1 / 0.85;
    scroll-snap-align: start;
    background-color: var(--fourth-color);
    background-size: cover;
    background-position: center;
    display: block;
    border-radius: 12px;
}

.influencer-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.2s;
}

.dot.active {
    opacity: 1;
}

.influencer-info {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.influencer-badge {
    font-family: "Iosevka Charon", monospace;
    font-size: 13px;
    color: var(--fifth-color);
    text-transform: uppercase;
}

.influencer-name {
    font-family: "Iosevka Charon", monospace;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--second-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.influencer-name::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--fifth-color);
    margin-top: 4px;
    border-radius: 1px;
}

.influencer-name:hover {
    color: var(--fifth-color);
}

.influencer-description {
    font-size: 14px;
    line-height: 1.4;
    color: var(--second-color);
    margin: 4px 0 0 0;
    font-family: "Iosevka Charon", monospace;
    line-height: 1.3;
}

/* ===== Footer ===== */
.site-footer-bottom {
    background-color: var(--third-color);
    margin-top: 40px;
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--second-color);
    text-transform: lowercase;
    flex-shrink: 0;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-nav ul li a {
    text-decoration: none;
    color: var(--second-color);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-nav ul li a:hover {
    color: var(--fifth-color);
}

.footer-divider {
    height: 1px;
    background-color: #1f1f1f;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    margin: 0;
    font-size: 14px;
    color: var(--second-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: var(--second-color);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--fifth-color);
}

/* ===== Container padding ===== */
.container {
    padding: 0 24px;
}

/* ===== Burger Menu (JS-based via body.menu-open) ===== */
body {
    overflow-x: hidden;
}

.burger-toggle {
    display: none;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1100;
    flex-shrink: 0;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--second-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open .burger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger-btn span:nth-child(2) {
    opacity: 0;
}

body.menu-open .burger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay — базовые стили (вне медиа) */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--third-color);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    padding: 80px 28px 32px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open .mobile-nav {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 14px 0;
    text-decoration: none;
    color: var(--second-color);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease;
}

.mobile-nav ul li a:hover {
    color: var(--fifth-color);
}

.mobile-nav .mobile-nav-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
}

.mobile-nav .nav-btn {
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
}

/* ===== Responsive: Tablet ≤1200px ===== */
@media (max-width: 1200px) {
    .featured {
        grid-template-columns: 1fr;
    }

    .featured-hero {
        min-height: 400px;
    }

    .second-floor {
        grid-template-columns: 1fr;
    }

    .second-floor-main {
        grid-column: span 1;
        min-width: 0;
        overflow: hidden;
    }

    .article-slider {
        max-width: 100%;
        overflow: hidden;
    }

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sidebar .influencer-block {
        grid-column: span 2;
    }
}

/* ===== Responsive: Mobile ≤768px ===== */
@media (max-width: 768px) {
    :root {
        --gap: 14px;
    }

    .container {
        padding: 0 16px;
    }

    /* Header */
    .header-top {
        padding: 24px 0;
    }

    .logo {
        font-size: 30px;
    }

    /* Burger — show */
    .burger-btn {
        display: flex;
    }

    /* Nav — hide on mobile */
    .header-bottom nav {
        display: none;
    }

    /* Nav actions in header — hide on mobile */
    .header-bottom .nav-actions {
        display: none;
    }

    .header-bottom .container {
        justify-content: space-between;
    }

    /* Featured */
    .featured {
        grid-template-columns: 1fr;
    }

    .featured-hero {
        min-height: 320px;
    }

    .featured-hero a {
        padding: 24px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Article grids */
    .article-grid-default {
        grid-template-columns: 1fr;
    }

    .article-grid-trinity {
        grid-template-columns: 1fr 1fr;
    }

    /* Shorts */
    .article-slider {
        padding: 16px;
        border-radius: 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .shorts-slider-header {
        margin-bottom: 16px;
    }

    .shorts-title h2 {
        font-size: 20px;
    }

    .short-card {
        width: 200px;
    }

    .shorts-slider-track {
        gap: 12px;
    }

    /* Sidebar — single column on mobile */
    .sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar .influencer-block {
        grid-column: span 1;
    }

    .sidebar-item-title {
        font-size: 18px;
    }

    /* Influencer */
    .influencer-name {
        font-size: 18px;
    }

    /* Footer */
    .site-footer-bottom {
        padding: 32px 0 24px;
        margin-top: 24px;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-logo {
        font-size: 26px;
    }

    .footer-links {
        gap: 6px 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-copy {
        font-size: 12px;
    }
}

/* ===== Responsive: Small ≤480px ===== */
@media (max-width: 480px) {
    .logo {
        font-size: 26px;
    }

    .header-top {
        padding: 18px 0;
    }

    .featured-hero {
        min-height: 260px;
    }

    .featured-hero a {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-item-title h2,
    .article-item-title h2 {
        font-size: 14px;
    }

    .article-grid-trinity {
        grid-template-columns: 1fr;
    }

    .short-card {
        width: 160px;
    }

    .short-title {
        font-size: 18px;
    }

    .shorts-controls button {
        width: 32px;
        height: 32px;
    }

    .sidebar-item a {
        padding: 16px;
    }

    .sidebar-item-title {
        font-size: 16px;
    }
}