*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --ink:       #0d0d0d;
      --ink-soft:  #3a3a3a;
      --ink-muted: #7a7a7a;
      --paper:     #f7f4ef;
      --paper-alt: #ede9e2;
      --accent:    #c8102e;
      --accent-2:  #e8a020;
      --white:     #ffffff;
      --border:    #d8d3ca;
      --radius:    4px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
      --shadow-md: 0 6px 24px rgba(0,0,0,.10);
      --shadow-lg: 0 16px 48px rgba(0,0,0,.13);

      /* Category colours */
      --col-politics:  #1a3a6b;
      --col-sport:     #1a6b2a;
      --col-health:    #0a7a7a;
      --col-tech:      #5a1a8a;
      --col-business:  #7a4a00;
      --col-love:      #b0234f;
      --col-world:     #333333;
      --col-active:    var(--accent);
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--paper);
      color: var(--ink);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ── UTILITY ── */
    .container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
    .tag {
      display: inline-block;
      font-family: 'DM Mono', monospace; font-size: .68rem; font-weight: 500;
      letter-spacing: .08em; text-transform: uppercase;
      padding: 3px 10px; border-radius: 2px;
      background: var(--accent); color: var(--white); line-height: 1.6;
    }
    .tag.politics  { background: var(--col-politics); }
    .tag.sport     { background: var(--col-sport); }
    .tag.health    { background: var(--col-health); }
    .tag.tech      { background: var(--col-tech); }
    .tag.business  { background: var(--col-business); }
    .tag.love      { background: var(--col-love); }
    .tag.world     { background: var(--col-world); }

    /* ── TOPBAR ── */
    .topbar {
      background: var(--ink); color: var(--paper-alt);
      font-family: 'DM Mono', monospace; font-size: .72rem;
      letter-spacing: .04em; padding: 7px 0;
      border-bottom: 2px solid var(--accent);
    }
    .topbar .inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .topbar-left { display: flex; gap: 20px; align-items: center; }
    .topbar-left span { opacity: .6; }
    .topbar-left a { color: var(--paper-alt); text-decoration: none; opacity: .8; transition: opacity .2s; }
    .topbar-left a:hover { opacity: 1; }

    /* ── HEADER ── */
    header {
      background: var(--white); border-bottom: 1px solid var(--border);
      position: sticky; top: 0; z-index: 900; box-shadow: var(--shadow-sm);
    }
    .nav-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 0; gap: 16px;
    }
    .logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; flex-shrink: 0; }
    .logo-main { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
    .logo-main span { color: var(--accent); }
    .logo-sub { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .18em; color: var(--ink-muted); text-transform: uppercase; margin-top: 2px; }
    nav.main-nav { display: flex; gap: 4px; align-items: center; }
    nav.main-nav a {
      font-size: .85rem; font-weight: 500; color: var(--ink-soft);
      text-decoration: none; padding: 6px 12px; border-radius: var(--radius);
      transition: background .18s, color .18s; white-space: nowrap;
    }
    nav.main-nav a:hover { background: var(--paper); color: var(--ink); }
    nav.main-nav a.active { color: var(--accent); font-weight: 600; }
    .nav-actions { display: flex; gap: 10px; align-items: center; }
    .btn-search {
      background: none; border: 1px solid var(--border); border-radius: var(--radius);
      padding: 7px 14px; cursor: pointer; font-family: 'DM Sans', sans-serif;
      font-size: .83rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px;
      transition: border-color .18s, background .18s;
    }
    .btn-search:hover { border-color: var(--ink-soft); background: var(--paper); }
    .btn-subscribe {
      background: var(--accent); color: var(--white); border: none;
      padding: 8px 18px; border-radius: var(--radius); cursor: pointer;
      font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .83rem;
      transition: background .18s; white-space: nowrap;
    }
    .btn-subscribe:hover { background: #a00d24; }
    .hamburger {
      display: none; background: none; border: 1px solid var(--border);
      border-radius: var(--radius); padding: 8px 10px; cursor: pointer;
      flex-direction: column; gap: 5px; width: 40px;
    }
    .hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu { display: none; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--border); background: var(--white); }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { padding: 10px 24px; font-size: .9rem; color: var(--ink-soft); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; transition: all .18s; }
    .mobile-menu a:hover, .mobile-menu a.active { border-left-color: var(--accent); color: var(--accent); background: var(--paper); }

    /* ── BREADCRUMB ── */
    .breadcrumb-bar { background: var(--paper-alt); border-bottom: 1px solid var(--border); padding: 10px 0; }
    .breadcrumb { display: flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: .72rem; color: var(--ink-muted); }
    .breadcrumb a { color: var(--ink-muted); text-decoration: none; transition: color .18s; }
    .breadcrumb a:hover { color: var(--accent); }
    .breadcrumb .sep { opacity: .4; }

    /* ── TOPIC HERO BANNER ── */
    .topic-hero {
      padding: 0;
      position: relative;
      overflow: hidden;
      min-height: 220px;
      display: flex;
      align-items: flex-end;
      background: var(--ink);
    }
    .topic-hero-bg {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      opacity: .35;
      transition: opacity .4s;
    }
    .topic-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 100%);
    }
    .topic-hero-content {
      position: relative; z-index: 2;
      padding: 40px 0 36px;
      width: 100%;
    }
    .topic-hero-content .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
    .topic-icon-wrap {
      width: 64px; height: 64px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem; flex-shrink: 0; margin-bottom: 14px;
      box-shadow: 0 4px 16px rgba(0,0,0,.3);
    }
    .topic-hero-text h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
      color: var(--white); line-height: 1.1; margin-bottom: 8px;
    }
    .topic-hero-text p {
      font-size: .9rem; color: rgba(255,255,255,.65); max-width: 520px; line-height: 1.55;
    }
    .topic-hero-stats {
      display: flex; gap: 24px; flex-wrap: wrap;
    }
    .hero-stat {
      text-align: center; color: var(--white);
    }
    .hero-stat .num {
      font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900;
      display: block; line-height: 1;
    }
    .hero-stat .lbl {
      font-family: 'DM Mono', monospace; font-size: .68rem;
      letter-spacing: .1em; text-transform: uppercase;
      color: rgba(255,255,255,.5); margin-top: 4px; display: block;
    }

    /* ── ALL TOPICS GRID (shown when no category selected) ── */
    .all-topics-section { padding: 48px 0; }
    .section-eyebrow {
      font-family: 'DM Mono', monospace; font-size: .72rem;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--ink-muted); margin-bottom: 8px;
    }
    .section-heading {
      font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 900; margin-bottom: 8px; color: var(--ink);
    }
    .section-sub { font-size: .9rem; color: var(--ink-muted); margin-bottom: 40px; max-width: 480px; }

    .topics-cards-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .topic-card {
      border-radius: 10px; overflow: hidden;
      position: relative; min-height: 200px;
      display: flex; align-items: flex-end;
      cursor: pointer; text-decoration: none; color: inherit;
      box-shadow: var(--shadow-sm);
      transition: transform .28s, box-shadow .28s;
    }
    .topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .topic-card-bg {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      transition: transform .4s ease;
    }
    .topic-card:hover .topic-card-bg { transform: scale(1.07); }
    .topic-card-overlay {
      position: absolute; inset: 0;
      transition: opacity .3s;
    }
    .topic-card:hover .topic-card-overlay { opacity: .85; }
    .topic-card-body {
      position: relative; z-index: 2;
      padding: 20px; width: 100%;
    }
    .topic-card-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
    .topic-card-name {
      font-family: 'Playfair Display', serif; font-weight: 700;
      font-size: 1.2rem; color: var(--white); line-height: 1.2;
      margin-bottom: 4px;
    }
    .topic-card-count {
      font-family: 'DM Mono', monospace; font-size: .7rem;
      color: rgba(255,255,255,.65); letter-spacing: .06em;
    }
    .topic-card-arrow {
      position: absolute; top: 16px; right: 16px;
      width: 32px; height: 32px; border-radius: 50%;
      background: rgba(255,255,255,.15); display: flex;
      align-items: center; justify-content: center;
      transition: background .2s, transform .2s;
      z-index: 2;
    }
    .topic-card:hover .topic-card-arrow { background: rgba(255,255,255,.3); transform: translateX(3px); }

    /* ── CATEGORY NEWS SECTION (shown when cat selected) ── */
    .cat-news-section { padding: 40px 0 60px; }

    /* Sub-category tabs inside a topic page */
    .subtopic-tabs {
      display: flex; gap: 6px; flex-wrap: wrap;
      padding: 20px 0 0;
      border-bottom: 1px solid var(--border);
      margin-bottom: 32px;
    }
    .subtab {
      padding: 8px 18px; border-radius: 100px 100px 0 0;
      border: 1px solid var(--border); border-bottom: none;
      background: var(--paper-alt); cursor: pointer;
      font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 500;
      color: var(--ink-soft); transition: all .18s; position: relative; bottom: -1px;
      text-decoration: none; display: inline-block;
    }
    .subtab:hover { background: var(--white); color: var(--ink); }
    .subtab.active {
      background: var(--white); color: var(--ink); font-weight: 600;
      border-bottom-color: var(--white);
    }

    /* ── NEWS LAYOUT ── */
    .news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }

    /* Featured top card */
    .featured-top {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 2px; margin-bottom: 28px;
      border-radius: 6px; overflow: hidden;
    }
    .featured-top-main {
      position: relative; overflow: hidden;
      display: block; text-decoration: none; color: inherit;
    }
    .featured-top-main img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform .4s; }
    .featured-top-main:hover img { transform: scale(1.04); }
    .ft-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 40%, rgba(0,0,0,.05)); }
    .ft-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
    .ft-content .tag { margin-bottom: 10px; }
    .ft-content h2 {
      font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
      color: var(--white); line-height: 1.25; margin-bottom: 8px;
    }
    .ft-content .meta { font-family: 'DM Mono', monospace; font-size: .7rem; color: rgba(255,255,255,.55); }

    .featured-top-side { display: flex; flex-direction: column; gap: 2px; }
    .ft-side-card {
      flex: 1; position: relative; overflow: hidden;
      display: block; text-decoration: none; color: inherit;
    }
    .ft-side-card img { width: 100%; height: 189px; object-fit: cover; display: block; transition: transform .4s; }
    .ft-side-card:hover img { transform: scale(1.05); }
    .fts-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 45%, rgba(0,0,0,.05)); }
    .fts-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; }
    .fts-content .tag { margin-bottom: 6px; }
    .fts-content h4 {
      font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700;
      color: var(--white); line-height: 1.25;
      display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    }
    .fts-content .meta { font-family: 'DM Mono', monospace; font-size: .68rem; color: rgba(255,255,255,.5); margin-top: 5px; }

    /* News list */
    .news-list { display: flex; flex-direction: column; gap: 20px; }
    .news-list-card {
      display: flex; gap: 18px; background: var(--white);
      border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm);
      transition: transform .22s, box-shadow .22s; text-decoration: none; color: inherit;
    }
    .news-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .nlc-image { width: 200px; flex-shrink: 0; overflow: hidden; position: relative; }
    .nlc-image img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform .4s; }
    .news-list-card:hover .nlc-image img { transform: scale(1.06); }
    .nlc-image .tag { position: absolute; top: 10px; left: 10px; }
    .nlc-body { padding: 16px 16px 16px 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .nlc-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    .nlc-meta .author { font-size: .75rem; font-weight: 500; color: var(--ink-soft); }
    .nlc-meta .sep { color: var(--border); }
    .nlc-meta .time { font-family: 'DM Mono', monospace; font-size: .7rem; color: var(--ink-muted); }
    .nlc-title {
      font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
      color: var(--ink); line-height: 1.3; margin-bottom: 8px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .news-list-card:hover .nlc-title { color: var(--accent); }
    .nlc-excerpt {
      font-size: .83rem; color: var(--ink-soft); line-height: 1.55;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
      margin-bottom: 12px;
    }
    .nlc-footer { display: flex; align-items: center; justify-content: space-between; }
    .read-time { font-family: 'DM Mono', monospace; font-size: .7rem; color: var(--ink-muted); display: flex; align-items: center; gap: 4px; }
    .btn-read-more {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--ink); color: var(--white);
      font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 600;
      padding: 7px 14px; border-radius: var(--radius); text-decoration: none;
      transition: background .18s, gap .2s;
    }
    .btn-read-more:hover { background: var(--accent); gap: 10px; }
    .btn-read-more svg { transition: transform .2s; }
    .btn-read-more:hover svg { transform: translateX(3px); }

    /* ── PAGINATION ── */
    .pagination {
      display: flex; align-items: center; justify-content: center;
      gap: 6px; padding: 36px 0 12px;
    }
    .page-btn {
      width: 38px; height: 38px; border-radius: var(--radius);
      border: 1.5px solid var(--border); background: var(--white);
      font-family: 'DM Mono', monospace; font-size: .82rem; font-weight: 500;
      color: var(--ink-soft); cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: all .18s; text-decoration: none;
    }
    .page-btn:hover, .page-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
    .page-btn.prev-next { width: auto; padding: 0 14px; gap: 6px; }

    /* ── SIDEBAR ── */
    .sidebar-widget { margin-bottom: 32px; }
    .widget-title {
      font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
      padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 16px;
      display: flex; align-items: center; gap: 8px;
    }
    .accent-dot { color: var(--accent); font-size: 1.3rem; line-height: 1; }

    /* All topics mini list */
    .topic-list-mini { list-style: none; }
    .topic-list-mini li { margin-bottom: 4px; }
    .topic-list-mini li a {
      display: flex; align-items: center; justify-content: space-between;
      padding: 9px 12px; border-radius: var(--radius);
      text-decoration: none; font-size: .85rem; font-weight: 500;
      color: var(--ink-soft); background: var(--paper-alt);
      transition: all .18s; border-left: 3px solid transparent;
    }
    .topic-list-mini li a:hover { background: var(--white); color: var(--ink); border-left-color: var(--accent); box-shadow: var(--shadow-sm); }
    .topic-list-mini li a.active { background: var(--white); border-left-color: var(--accent); color: var(--accent); font-weight: 600; box-shadow: var(--shadow-sm); }
    .topic-list-mini li a .tlm-left { display: flex; align-items: center; gap: 8px; }
    .topic-list-mini li a .count { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--ink-muted); background: var(--border); padding: 2px 7px; border-radius: 100px; }

    /* Trending */
    .trending-list { list-style: none; }
    .trending-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--paper-alt); }
    .trending-list li:last-child { border-bottom: none; }
    .trend-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 900; color: var(--paper-alt); line-height: 1; flex-shrink: 0; width: 28px; transition: color .2s; }
    .trending-list li:hover .trend-num { color: var(--accent); }
    .trend-content a { font-size: .83rem; font-weight: 600; font-family: 'Playfair Display', serif; color: var(--ink); text-decoration: none; line-height: 1.3; display: block; margin-bottom: 3px; }
    .trend-content a:hover { color: var(--accent); }
    .trend-content .time { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--ink-muted); }

    /* Newsletter */
    .newsletter-widget { background: var(--ink); border-radius: 6px; padding: 24px; color: var(--white); }
    .newsletter-widget .nw-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
    .newsletter-widget p { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.5; margin-bottom: 16px; }
    .nw-form { display: flex; flex-direction: column; gap: 8px; }
    .nw-form input { padding: 10px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: var(--white); font-family: 'DM Sans', sans-serif; font-size: .84rem; outline: none; transition: border-color .2s; }
    .nw-form input::placeholder { color: rgba(255,255,255,.35); }
    .nw-form input:focus { border-color: rgba(255,255,255,.4); }
    .nw-form button { padding: 10px; border-radius: var(--radius); background: var(--accent); color: var(--white); border: none; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .84rem; cursor: pointer; transition: background .18s; }
    .nw-form button:hover { background: #a00d24; }

    /* ── FOOTER ── */
    footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 60px 0 0; margin-top: 40px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .footer-brand .logo-main { color: var(--white); }
    .footer-brand .logo-main span { color: var(--accent); }
    .footer-brand p { font-size: .84rem; line-height: 1.65; margin-top: 12px; color: rgba(255,255,255,.5); }
    .footer-social { display: flex; gap: 8px; margin-top: 16px; }
    .social-btn { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); border: none; color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: .9rem; transition: background .2s; text-decoration: none; }
    .social-btn:hover { background: var(--accent); color: var(--white); }
    .footer-col h4 { font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 9px; }
    .footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .18s; }
    .footer-col ul li a:hover { color: var(--white); }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-family: 'DM Mono', monospace; font-size: .7rem; color: rgba(255,255,255,.3); }

    /* ── SCROLL TOP ── */
    .scroll-top { position: fixed; bottom: 28px; right: 28px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--white); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(200,16,46,.35); transition: transform .2s, opacity .2s; opacity: 0; pointer-events: none; z-index: 999; }
    .scroll-top.visible { opacity: 1; pointer-events: auto; }
    .scroll-top:hover { transform: translateY(-3px); }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    .topic-hero-content { animation: heroIn .55s ease both; }
    .news-list-card { animation: fadeUp .4s ease both; }
    .news-list-card:nth-child(1){animation-delay:.05s}
    .news-list-card:nth-child(2){animation-delay:.10s}
    .news-list-card:nth-child(3){animation-delay:.15s}
    .news-list-card:nth-child(4){animation-delay:.20s}
    .news-list-card:nth-child(5){animation-delay:.25s}
    .topic-card { animation: fadeUp .4s ease both; }
    .topic-card:nth-child(1){animation-delay:.05s}
    .topic-card:nth-child(2){animation-delay:.10s}
    .topic-card:nth-child(3){animation-delay:.15s}
    .topic-card:nth-child(4){animation-delay:.20s}
    .topic-card:nth-child(5){animation-delay:.25s}
    .topic-card:nth-child(6){animation-delay:.30s}
    .topic-card:nth-child(7){animation-delay:.35s}
    .topic-card:nth-child(8){animation-delay:.40s}

    /* ── MEDIA QUERIES ── */
    @media (max-width: 1200px) {
      .topics-cards-grid { grid-template-columns: repeat(3, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 1023px) {
      .news-layout { grid-template-columns: 1fr; }
      .featured-top { grid-template-columns: 1fr; }
      .featured-top-side { flex-direction: row; }
      .featured-top-main img { height: 320px; }
      .ft-side-card img { height: 180px; }
      nav.main-nav { display: none; }
      .hamburger { display: flex; }
      .topics-cards-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 767px) {
      .news-list-card { flex-direction: column; }
      .nlc-image { width: 100%; }
      .nlc-image img { height: 200px; }
      .nlc-body { padding: 14px; }
      .featured-top-side { flex-direction: column; }
      .ft-side-card img { height: 200px; }
      .topics-cards-grid { grid-template-columns: repeat(2, 1fr); }
      .topic-hero-content .container { flex-direction: column; align-items: flex-start; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    }
    @media (max-width: 480px) {
      .container { padding: 0 16px; }
      .logo-main { font-size: 1.6rem; }
      .topics-cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
      .topic-card { min-height: 160px; }
      .topic-card-name { font-size: 1rem; }
      .pagination { flex-wrap: wrap; }
    }