/* ============================================
   WEBLOIDS — Professional News Website
   CNN / BBC Inspired Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Inter:wght@400;500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
    /* Colors — Clean News Palette */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f4f4f4;
    --color-bg-tertiary: #e8e8e8;
    --color-bg-dark: #0c0c0c;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #fafafa;

    --color-red: #cc0000;
    --color-red-dark: #990000;
    --color-red-light: #e63946;

    --color-accent-blue: #0058b0;
    --color-accent-blue-light: #2980b9;

    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-muted: #777777;
    --color-text-headline: #0c0c0c;
    --color-text-inverse: #ffffff;

    --color-border: #d6d6d6;
    --color-border-light: #e8e8e8;
    --color-border-dark: #333333;

    --color-live-dot: #cc0000;

    /* Typography */
    --font-headline: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Roboto Condensed', 'Arial Narrow', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-header: 0 1px 4px rgba(0, 0, 0, 0.1);
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 56px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    content-visibility: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Page Loader ── */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: loader-spin 0.7s linear infinite;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ═══════════════════════════════════════
   BREAKING NEWS TICKER BAR
   ═══════════════════════════════════════ */
.top-bar {
    background: var(--color-red);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    height: 32px;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    height: 32px;
    gap: 16px;
}

.top-bar__label {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar__ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
}

.top-bar__ticker-track {
    display: flex;
    gap: 60px;
    animation: ticker-scroll 45s linear infinite;
    white-space: nowrap;
}

.top-bar__ticker-item {
    color: white;
    font-size: 0.78rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.top-bar__ticker-item::before {
    content: '';
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */
.header {
    background: var(--color-bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-header);
    height: var(--header-height);
    transition: background 0.3s ease;
}

.header.scrolled {
    background: var(--color-bg-dark);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.header__logo-text {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.header__nav-link {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: #cccccc;
    text-decoration: none;
    padding: 0 14px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
}

.header__nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.header__nav-link--active {
    color: white;
    border-bottom-color: var(--color-red);
}

.header__search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
}

.header__search-icon {
    font-size: 0.85rem;
    color: #999;
}

.header__search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: var(--font-body);
    font-size: 0.82rem;
    width: 140px;
}

.header__search-input::placeholder {
    color: #888;
}

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
}


/* ═══════════════════════════════════════
   HERO SECTION — CNN Lead Story Style
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.2) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 60px;
    max-width: 650px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: var(--color-red);
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.hero__tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero__title {
    font-family: var(--font-headline);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero__title em {
    font-style: italic;
    color: #ff6b6b;
}

.hero__excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 550px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero__meta-item strong {
    color: rgba(255, 255, 255, 0.9);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
    background: var(--color-red);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    width: fit-content;
    transition: background var(--transition-fast);
}

.hero__cta:hover {
    background: var(--color-red-dark);
}


/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-red);
    margin-bottom: 24px;
}

.section-header__title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-headline);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header__title-accent {
    display: none;
}

.section-header__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.section-header__link:hover {
    color: var(--color-red-dark);
    text-decoration: underline;
}


/* ═══════════════════════════════════════
   CATEGORY TAGS
   ═══════════════════════════════════════ */
.category-tag {
    font-family: var(--font-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
}

.category-tag--hollywood {
    background: #cc0000;
    color: white;
}

.category-tag--bollywood {
    background: #e67e22;
    color: white;
}

.category-tag--kpop {
    background: #8e44ad;
    color: white;
}

.category-tag--british {
    background: #2c3e50;
    color: white;
}

.category-tag--latin {
    background: #27ae60;
    color: white;
}

.category-tag--fashion {
    background: #e84393;
    color: white;
}

.category-tag--scandal {
    background: #c0392b;
    color: white;
}

.category-tag--wedding {
    background: #2980b9;
    color: white;
}

.category-tag--music {
    background: #6c5ce7;
    color: white;
}


/* ═══════════════════════════════════════
   FEATURED STORIES GRID — Top Stories
   ═══════════════════════════════════════ */
#featuredSection {
    padding: 32px 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
}

.featured-grid__item {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid var(--color-border);
    min-height: 320px;
    cursor: pointer;
}

.featured-grid__item:last-child {
    border-right: none;
}

.featured-grid__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

.featured-grid__item:hover .featured-grid__img {
    transform: scale(1.03);
}

.featured-grid__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 2;
}

.featured-grid__title {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.35;
    margin-top: 8px;
}

.featured-grid__item--large .featured-grid__title {
    font-size: 1.4rem;
}

.featured-grid__meta {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 8px;
}


/* ═══════════════════════════════════════
   CELEBRITY PROFILES STRIP
   ═══════════════════════════════════════ */
.celeb-strip {
    padding: 32px 0;
}

.celeb-strip__grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.celeb-strip__grid::-webkit-scrollbar {
    display: none;
}

.celeb-card {
    flex-shrink: 0;
    width: 110px;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform var(--transition-fast);
}

.celeb-card:hover {
    transform: translateY(-4px);
}

.celeb-card__img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 3px solid var(--color-border);
    transition: border-color var(--transition-fast);
}

.celeb-card:hover .celeb-card__img-wrap {
    border-color: var(--color-red);
}

.celeb-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.celeb-card__name {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.celeb-card__category {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}


/* ═══════════════════════════════════════
   CONTENT LAYOUT — Articles + Sidebar
   ═══════════════════════════════════════ */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 32px 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.main-content {
    min-width: 0;
}


/* ── Country Tabs ── */
.country-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.country-tab {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 7px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.country-tab:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.country-tab--active {
    background: var(--color-red);
    color: white;
    border-color: var(--color-red);
}

.country-tab__flag {
    font-size: 0.9rem;
}


/* ═══════════════════════════════════════
   ARTICLE CARDS — CNN Style
   ═══════════════════════════════════════ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.article-card {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    padding: 16px;
    background: var(--color-bg-card);
    transition: background var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    background: var(--color-bg-secondary);
}

.article-card:nth-child(3n) {
    border-right: none;
}

.article-card__img-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 16/10;
}

.article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
}

.article-card:hover .article-card__img {
    transform: scale(1.03);
}

.article-card__img-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.article-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card__title {
    font-family: var(--font-headline);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-headline);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .article-card__title {
    color: var(--color-red);
}

.article-card__excerpt {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.article-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border-light);
}

.article-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-card__author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
}

.article-card__author-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.article-card__date {
    font-size: 0.68rem;
    color: var(--color-text-muted);
}


/* ═══════════════════════════════════════
   TRENDING SIDEBAR
   ═══════════════════════════════════════ */
.trending-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.trending-card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
}

.trending-card .section-header {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 3px solid var(--color-red);
}

.trending-list {
    list-style: none;
    padding: 0;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    transition: background var(--transition-fast);
    cursor: pointer;
}

.trending-item:hover {
    background: var(--color-bg-secondary);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item__number {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
    min-width: 28px;
}

.trending-item__content {
    flex: 1;
}

.trending-item__title {
    font-family: var(--font-headline);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-headline);
    line-height: 1.35;
    margin-bottom: 4px;
}

.trending-item:hover .trending-item__title {
    color: var(--color-red);
}

.trending-item__meta {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-item__meta-tag {
    color: var(--color-red);
    font-weight: 600;
}


/* ── Editor's Pick / Hot Topic ── */
.hot-topic {
    display: block;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-primary);
    transition: box-shadow var(--transition-fast);
}

.hot-topic:hover {
    box-shadow: var(--shadow-card-hover);
}

.hot-topic__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hot-topic__content {
    padding: 16px;
}

.hot-topic__title {
    font-family: var(--font-headline);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-headline);
    line-height: 1.35;
    margin-top: 8px;
    margin-bottom: 6px;
}

.hot-topic:hover .hot-topic__title {
    color: var(--color-red);
}

.hot-topic__excerpt {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}


/* ═══════════════════════════════════════
   PHOTO GALLERY
   ═══════════════════════════════════════ */
.gallery-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__caption {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
}


/* ═══════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════ */
.newsletter {
    background: var(--color-bg-dark);
    padding: 48px 40px;
    text-align: center;
    margin: 32px 0;
}

.newsletter__title {
    font-family: var(--font-headline);
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.newsletter__subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter__form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter__input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter__input:focus {
    border-color: var(--color-red);
}

.newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter__btn {
    padding: 14px 28px;
    background: var(--color-red);
    color: white;
    border: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.newsletter__btn:hover {
    background: var(--color-red-dark);
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin-top: 14px;
    max-width: 300px;
}

.footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--color-red);
    color: white;
    border-color: var(--color-red);
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.footer__links {
    list-style: none;
}

.footer__link {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: white;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-link {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
    color: rgba(255, 255, 255, 0.7);
}


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0s;
}

.animate-delay-2 {
    transition-delay: 0.1s;
}

.animate-delay-3 {
    transition-delay: 0.2s;
}

.animate-delay-4 {
    transition-delay: 0.3s;
}

.animate-delay-5 {
    transition-delay: 0.4s;
}

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-nav-overlay.active {
    display: block;
}


/* ═══════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .trending-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

    .featured-grid__item--large {
        grid-column: span 2;
        min-height: 300px;
    }

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

@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background: var(--color-bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
    }

    .header__nav.open {
        display: flex;
    }

    .header__nav-link {
        width: 100%;
        height: auto;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-left: 3px solid transparent;
    }

    .header__nav-link--active {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-left-color: var(--color-red);
        color: white;
    }

    .header__menu-toggle {
        display: block;
    }

    .hero {
        height: 380px;
    }

    .hero__title {
        font-size: 1.4rem;
    }

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

    .featured-grid__item--large {
        grid-column: span 1;
        min-height: 240px;
    }

    .featured-grid__item {
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

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

    .article-card {
        border-right: none;
        flex-direction: row;
        gap: 14px;
        padding: 14px 0;
    }

    .article-card__img-wrap {
        width: 120px;
        height: 90px;
        flex-shrink: 0;
        margin-bottom: 0;
        aspect-ratio: auto;
    }

    .article-card__excerpt {
        display: none;
    }

    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter__form {
        flex-direction: column;
    }

    .newsletter__input {
        border-right: 2px solid rgba(255, 255, 255, 0.2);
        border-bottom: none;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

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

    .country-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .country-tabs::-webkit-scrollbar {
        display: none;
    }

    .country-tab {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 320px;
    }

    .hero__content {
        padding-bottom: 30px;
    }

    .hero__title {
        font-size: 1.2rem;
    }

    .hero__excerpt {
        font-size: 0.85rem;
    }

    .hero__cta {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .celeb-card {
        width: 90px;
    }

    .celeb-card__img-wrap {
        width: 64px;
        height: 64px;
    }

    .newsletter {
        padding: 32px 20px;
    }
}