/* ============================================================
   ULG NEWS — STYLESHEET
   Editorial intelligence portal — dark, authoritative, precise
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Core palette */
  --bg:          #0a0a0a;
  --bg-surface:  #111111;
  --bg-raised:   #181818;
  --bg-hover:    #1e1e1e;

  --text:        #f5f5f7;
  --text-muted:  #888888;
  --text-dim:    #555555;
  --text-label:  #aaaaaa;

  --border:      #1f1f1f;
  --border-light:#2a2a2a;

  /* Accent: a single sharp gold — editorial authority */
  --accent:      #c8a96e;
  --accent-dim:  #8a6e3f;
  --accent-faint:#1d1609;

  /* Category badge palette */
  --cat-gov:     #1a3a5c;
  --cat-gov-fg:  #7bb8e8;
  --cat-biz:     #1a3a1a;
  --cat-biz-fg:  #7fd17f;
  --cat-tax:     #3a1a1a;
  --cat-tax-fg:  #e88a7b;
  --cat-tech:    #1a1a3a;
  --cat-tech-fg: #9b9be8;
  --cat-asean:   #2a1a0a;
  --cat-asean-fg:#e8b87b;

  /* Typography scale */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --container: 1280px;
  --gap:       24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fine noise overlay for depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input {
  font: inherit;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.layout-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding-block: 48px;
  align-items: start;
}

/* ============================================================
   AD PLACEHOLDERS
   ============================================================ */
.ad-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.ad-strip--top {
  border-bottom: 1px solid var(--border-light);
}

.ad-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ad-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: 2px;
}

.ad-block--sidebar {
  height: 250px;
  margin-bottom: 32px;
}

.ad-block--bottom {
  height: 90px;
  max-width: var(--container);
  margin: 48px auto;
  padding-inline: 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

/* Header top bar */
.header-top {
  border-bottom: 1px solid var(--border);
  padding-block: 8px;
}

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

.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-date,
.header-edition {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-separator {
  color: var(--text-dim);
  font-size: 11px;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-utility__link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.header-utility__link:hover {
  color: var(--accent);
}

/* Brand block */
.header-brand {
  padding-block: 20px 0;
  text-align: center;
}

.header-brand__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.brand-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--accent-dim));
}

.brand-rule--left { --dir: right; }
.brand-rule--right { --dir: left; }

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo__prefix {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
}

.brand-logo__word {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  padding-block: 8px 0;
}

/* Category nav */
.category-nav {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar { display: none; }

.category-nav__list {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  min-width: 100%;
  justify-content: center;
}

.tab-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 18px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  background: none;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-label__line {
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}

.section-label__text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   CATEGORY BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.badge--government-policy  { background: var(--cat-gov); color: var(--cat-gov-fg); }
.badge--business-intelligence { background: var(--cat-biz); color: var(--cat-biz-fg); }
.badge--tax-compliance     { background: var(--cat-tax); color: var(--cat-tax-fg); }
.badge--technology         { background: var(--cat-tech); color: var(--cat-tech-fg); }
.badge--asean              { background: var(--cat-asean); color: var(--cat-asean-fg); }

/* ============================================================
   ARTICLE DATE / META
   ============================================================ */
.article-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.read-time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* ============================================================
   FEATURED ARTICLE
   ============================================================ */
.featured-section {
  margin-bottom: 56px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--accent);
  padding: 40px;
  gap: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(200, 169, 110, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.featured-card:hover {
  border-color: var(--accent-dim);
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.featured-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.featured-card__excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-label);
  font-weight: 300;
  margin-bottom: 16px;
}

.featured-card__excerpt:last-of-type {
  margin-bottom: 28px;
}

.featured-card__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.btn-read-more:hover {
  color: var(--text);
  border-color: var(--text-dim);
  gap: 14px;
}

.featured-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border-light);
  padding: 2px 7px;
  border-radius: 2px;
}

.featured-card__index {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 4px;
}

.featured-index-word {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 900;
  font-style: italic;
  color: rgba(200, 169, 110, 0.06);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* ============================================================
   ARTICLE GRID
   ============================================================ */
.articles-section {
  margin-bottom: 48px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border);
}

.article-card {
  background-color: var(--bg);
  transition: background-color 0.2s var(--ease);
}

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

.article-card__inner {
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.article-card:hover .article-card__inner {
  border-top-color: var(--accent);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
  flex: 1;
}

.article-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.article-card__link:hover {
  color: var(--accent);
}

.article-card__excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.link-read-more {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 4px;
}

.link-read-more:hover {
  color: var(--accent);
}

.article-card__number {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 400;
  color: rgba(200, 169, 110, 0.08);
  line-height: 1;
  user-select: none;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.col-sidebar {
  position: sticky;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-widget {
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Trending list */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trending-list__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}

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

.trending-list__rank {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  flex-shrink: 0;
  width: 20px;
}

.trending-list__link {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-label);
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.trending-list__link:hover {
  color: var(--accent);
}

/* Subscribe widget */
.sidebar-widget--subscribe {
  border-top: 2px solid var(--accent);
  background: linear-gradient(135deg, var(--bg-raised) 0%, var(--bg-surface) 100%);
}

.subscribe-icon {
  color: var(--accent);
  margin-bottom: 12px;
}

.subscribe-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.subscribe-form__input {
  width: 100%;
  background-color: var(--bg);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.subscribe-form__input:focus {
  border-color: var(--accent);
}

.subscribe-form__input::placeholder {
  color: var(--text-dim);
}

.subscribe-form__btn {
  width: 100%;
  background-color: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 11px 16px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.subscribe-form__btn:hover {
  background-color: var(--text);
  color: var(--bg);
}

.subscribe-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Quick Intel widget */
.quick-intel-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quick-intel-list__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
  row-gap: 2px;
}

.quick-intel-list__item:last-child {
  border-bottom: none;
}

.quick-intel-list__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  grid-row: 1;
  grid-column: 1;
  padding-top: 2px;
}

.quick-intel-list__value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  grid-row: 1;
  grid-column: 2;
  line-height: 1.2;
}

.quick-intel-list__note {
  font-size: 11px;
  color: var(--text-muted);
  grid-row: 2;
  grid-column: 1 / -1;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding-block: 64px;
}

.about-section__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.about-section__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}

.about-section__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-section__text p:last-child {
  margin-bottom: 0;
}

.about-section__pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pillar {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}

.pillar__number {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.pillar__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.pillar__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding-block: 64px 48px;
  align-items: start;
}

.footer-brand__logo {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-brand__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-nav__heading {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav__link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.footer-nav__link:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 20px;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 600px;
}

.footer-canonical {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
}

.footer-canonical__link {
  color: var(--accent);
  transition: color 0.2s var(--ease);
}

.footer-canonical__link:hover {
  color: var(--text);
}

/* ============================================================
   FILTER ANIMATION
   ============================================================ */
.article-card.hidden {
  display: none;
}

.featured-card.hidden {
  display: none;
}

/* ============================================================
   PAGE LOAD ANIMATION
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: fadeUp 0.5s var(--ease) both;
}

.featured-card {
  animation: fadeUp 0.6s var(--ease) 0.1s both;
}

.article-card:nth-child(1) { animation: fadeUp 0.5s var(--ease) 0.15s both; }
.article-card:nth-child(2) { animation: fadeUp 0.5s var(--ease) 0.20s both; }
.article-card:nth-child(3) { animation: fadeUp 0.5s var(--ease) 0.25s both; }
.article-card:nth-child(4) { animation: fadeUp 0.5s var(--ease) 0.30s both; }
.article-card:nth-child(5) { animation: fadeUp 0.5s var(--ease) 0.35s both; }
.article-card:nth-child(6) { animation: fadeUp 0.5s var(--ease) 0.40s both; }
.article-card:nth-child(7) { animation: fadeUp 0.5s var(--ease) 0.45s both; }
.article-card:nth-child(8) { animation: fadeUp 0.5s var(--ease) 0.50s both; }
.article-card:nth-child(9) { animation: fadeUp 0.5s var(--ease) 0.55s both; }

.col-sidebar {
  animation: fadeUp 0.6s var(--ease) 0.2s both;
}

.about-section {
  animation: fadeUp 0.5s var(--ease) both;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .layout-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .col-sidebar .sidebar-widget {
    margin-bottom: 0;
  }

  .col-sidebar .ad-block--sidebar {
    grid-column: 1 / -1;
    height: 90px;
  }

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

  .about-section__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .featured-card__index {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --gap: 16px;
  }

  .header-top__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .header-utility {
    display: none;
  }

  .brand-logo__word {
    font-size: 32px;
  }

  .brand-tagline {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .category-nav__list {
    justify-content: flex-start;
    padding-inline: 24px;
  }

  .featured-card {
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .layout-main {
    padding-block: 28px;
  }

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

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

  .col-sidebar .ad-block--sidebar {
    grid-column: 1;
  }

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

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-section {
    padding-block: 40px;
  }

  .featured-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============================================================
   FOCUS STYLES (accessibility)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
