:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #0d9488;
  --cyan: #f97316;
  --navy: #0f172a;
  --shadow: 0 4px 24px rgba(0, 0, 0, .06);
  font-family: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.main { min-height: 62vh; padding-top: 72px; }
.eyebrow { color: #0d9488; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.gradient-text { background: linear-gradient(135deg, #0d9488, #f43f5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.section { padding: 80px 0; }
.section-soft { background: #f1f5f9; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { margin: 5px 0 0; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; }
.section-head p { margin: 0; max-width: 560px; color: var(--muted); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 72px; background: rgba(15, 23, 42, .97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(99, 102, 241, .3); transition: .25s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(245, 158, 11, .4); box-shadow: 0 4px 30px rgba(0,0,0,.15); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.brand img { width: 37px; height: 37px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px #0d9488; }
.desktop-nav { display: flex; align-items: center; gap: 2px; }
.desktop-nav a { padding: 8px 14px; border-radius: 8px; color: #cbd5e1; font-size: .78rem; font-weight: 600; transition: .2s; text-transform: uppercase; letter-spacing: .06em; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, #0d9488, #e11d48); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; border-radius: 8px; background: #1e293b; color: #fff; cursor: pointer; }
.mobile-menu, .menu-overlay { display: none; }

.hero { position: relative; overflow: hidden; min-height: 580px; display: grid; align-items: center; color: #fff; background: #0f172a; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15,23,42,.97), rgba(13,148,136,.3) 60%, rgba(245,158,11,.2)); z-index: 1; }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(circle at 20% 80%, rgba(13,148,136,.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(244,63,94,.06) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; padding: 90px 0; max-width: 820px; }
.hero h1 { margin: 10px 0 20px; max-width: 800px; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; }
.hero-copy { max-width: 660px; color: #cbd5e1; font-size: clamp(.95rem, 1.8vw, 1.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-size: .82rem; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; text-transform: uppercase; letter-spacing: .08em; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 0 8px 20px rgba(13,148,136,.25); }
.button-primary { color: #fff; background: linear-gradient(135deg, #0d9488, #e11d48); box-shadow: 0 4px 14px rgba(13,148,136,.3); }
.button-ghost { color: #e2e8f0; border: 2px solid rgba(255,255,255,.25); background: transparent; }
.button-ghost:hover { border-color: #0d9488; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; color: #94a3b8; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-stats strong { display: block; color: #fff; font-size: 1.3rem; letter-spacing: 0; text-transform: none; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { position: relative; overflow: hidden; min-height: 166px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); transition: .25s; }
.category-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; bottom: -50px; border-radius: 50%; background: color-mix(in srgb, var(--category) 10%, transparent); transition: .3s; }
.category-card:hover { transform: translateY(-4px); border-color: var(--category); box-shadow: 0 12px 32px color-mix(in srgb, var(--category) 15%, transparent); }
.category-card:hover::after { transform: scale(1.15); }
.category-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 10px; color: #fff; background: var(--category); font-size: 1.1rem; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.category-card h3 { margin: 0 0 5px; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.category-card p { margin: 0; max-width: 88%; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.category-count { display: inline-block; margin-top: 14px; color: var(--category); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { overflow: hidden; height: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: .25s; }
.article-card:hover { transform: translateY(-4px); border-color: #0d9488; box-shadow: 0 12px 32px rgba(13,148,136,.1); }
.card-image-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(135deg, #ccfbf1, #ffedd5); }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .card-image { transform: scale(1.04); }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; color: #fff; border-radius: 6px; background: var(--category, #0d9488); font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 9px; font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; }
.card-body p { display: -webkit-box; margin: 0 0 15px; overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 13px; border-top: 1px solid #f1f5f9; color: #94a3b8; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }
.featured { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 390px; margin-bottom: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.featured-media { position: relative; min-height: 330px; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured:hover .featured-media img { transform: scale(1.03); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 38px; }
.featured-copy h2 { margin: 11px 0 14px; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; }
.featured-copy p { margin: 0 0 20px; color: var(--muted); }

/* Homepage structure - modern editorial layout */
.featured-stories { position: relative; overflow: hidden; padding: 48px 0 38px; background: #0f172a; }
.featured-stories::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(circle at 30% 50%, #0d9488 0%, transparent 50%), radial-gradient(circle at 70% 50%, #f43f5e 0%, transparent 50%); }
.featured-stories .container { position: relative; z-index: 1; }
.feature-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #f97316; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.story-carousel { position: relative; overflow: hidden; border-radius: 16px; background: #020617; border: 1px solid rgba(13,148,136,.2); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.carousel-track { position: relative; aspect-ratio: 21/9; min-height: 390px; }
.carousel-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility .45s ease; }
.carousel-slide.is-active { visibility: visible; opacity: 1; }
.carousel-slide > img { width: 100%; height: 100%; object-fit: cover; }
.carousel-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,23,.95), rgba(2,6,23,.3) 60%, transparent); }
.carousel-copy { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-start; flex-direction: column; padding: clamp(24px, 5vw, 48px); color: #fff; }
.carousel-copy strong { max-width: 760px; margin: 13px 0 8px; font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.18; letter-spacing: -.02em; }
.carousel-summary { display: -webkit-box; max-width: 720px; overflow: hidden; color: #cbd5e1; font-size: .84rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.carousel-copy small { margin-top: 12px; color: #94a3b8; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }
.carousel-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; background: rgba(2,6,23,.6); cursor: pointer; transform: translateY(-50%); opacity: 0; transition: .2s; font-size: 1.5rem; backdrop-filter: blur(8px); }
.story-carousel:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots { position: absolute; z-index: 3; right: 28px; bottom: 24px; display: flex; gap: 7px; }
.carousel-dots button { width: 24px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.25); cursor: pointer; transition: .25s; }
.carousel-dots button.is-active { background: #0d9488; width: 36px; }
.home-heading { margin-bottom: 32px; }
.home-heading > span { color: var(--blue); font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.home-heading h2 { margin: 4px 0 0; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; }
.home-heading h2 b { font-weight: inherit; background: linear-gradient(135deg, #0d9488, #f43f5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-heading p { max-width: 680px; margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.home-heading.centered { text-align: center; }
.home-heading.centered p { margin-inline: auto; }
.editor-picks { display: grid; gap: 20px; }
.editor-main { display: grid; grid-template-columns: 3fr 2fr; min-height: 330px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .25s; }
.editor-main:hover, .latest-feature:hover, .medium-story:hover, .mini-story:hover, .compact-story:hover { transform: translateY(-4px); border-color: #0d9488; box-shadow: 0 12px 32px rgba(13,148,136,.08); }
.editor-main-media { position: relative; overflow: hidden; }
.editor-main-media > img { width: 100%; height: 100%; object-fit: cover; }
.editor-main-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 55%, rgba(15,23,42,.2)); }
.editor-label { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 4px 10px; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #0d9488, #e11d48); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.editor-main-copy { display: flex; justify-content: center; flex-direction: column; padding: 30px; }
.editor-main-copy h3 { margin: 12px 0 9px; font-size: clamp(1.2rem, 2.3vw, 1.75rem); line-height: 1.25; letter-spacing: -.02em; }
.editor-main-copy p { margin: 0 0 13px; color: var(--muted); font-size: .82rem; }
.editor-main-copy small { color: #94a3b8; text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; }
.editor-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini-story, .compact-story { display: flex; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .25s; }
.mini-story > img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; object-fit: cover; }
.mini-story > span, .compact-story > span { min-width: 0; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; }
.mini-story small, .compact-story small, .trending-list small { display: inline-block; padding: 2px 6px; border-radius: 5px; color: #fff; font-size: .54rem; font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.mini-story strong { display: -webkit-box; margin: 5px 0; overflow: hidden; font-size: .82rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini-story em, .compact-story em, .trending-list em { color: #94a3b8; font-size: .62rem; font-style: normal; text-transform: uppercase; letter-spacing: .04em; }
.latest-mixed { display: grid; gap: 20px; }
.latest-feature { display: grid; grid-template-columns: 2fr 3fr; min-height: 290px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .25s; }
.latest-feature-media { position: relative; min-height: 280px; }
.latest-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.latest-feature-copy { display: flex; justify-content: center; flex-direction: column; padding: 32px; }
.editor-choice { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.editor-choice::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--category); }
.latest-feature-copy h3 { margin: 11px 0; font-size: clamp(1.35rem, 2.7vw, 2rem); line-height: 1.2; letter-spacing: -.02em; }
.latest-feature-copy p { margin: 0 0 14px; color: var(--muted); font-size: .86rem; }
.latest-feature-copy small { color: #94a3b8; text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; }
.latest-medium-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.medium-story { display: grid; grid-template-columns: 2fr 3fr; min-height: 220px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .25s; }
.medium-story > div { position: relative; }
.medium-story > div img { width: 100%; height: 100%; object-fit: cover; }
.medium-story > span { display: flex; justify-content: center; flex-direction: column; padding: 20px; }
.medium-story strong { font-size: .98rem; line-height: 1.35; }
.medium-story p { display: -webkit-box; margin: 8px 0 12px; overflow: hidden; color: var(--muted); font-size: .74rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.medium-story small { color: #94a3b8; text-transform: uppercase; font-size: .62rem; letter-spacing: .06em; }
.latest-small-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.compact-story { min-width: 0; }
.compact-story > img { flex: 0 0 78px; width: 78px; height: 78px; border-radius: 10px; object-fit: cover; }
.compact-story strong { display: -webkit-box; margin: 4px 0; overflow: hidden; font-size: .76rem; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.deep-dive { position: relative; display: block; min-height: 390px; overflow: hidden; border-radius: 16px; background: #020617; border: 1px solid rgba(13,148,136,.2); }
.deep-dive > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.deep-dive:hover > img { transform: scale(1.03); }
.deep-dive-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,6,23,.92), rgba(2,6,23,.5) 55%, rgba(2,6,23,.1)), linear-gradient(to top, rgba(2,6,23,.6), transparent); }
.deep-dive-copy { position: relative; min-height: 390px; max-width: 760px; display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column; padding: clamp(27px, 5vw, 48px); color: #fff; }
.deep-dive-copy > small:first-child { color: #f97316; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.deep-dive-copy em { margin-top: 12px; padding: 3px 8px; border-radius: 5px; font-size: .6rem; font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.deep-dive-copy strong { margin: 12px 0 8px; font-size: clamp(1.45rem, 3.2vw, 2.45rem); line-height: 1.18; letter-spacing: -.02em; }
.deep-dive-copy > span { display: -webkit-box; overflow: hidden; color: #cbd5e1; font-size: .84rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.deep-dive-copy > small:last-child { margin-top: 13px; color: #94a3b8; text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; }
.about-home { position: relative; background: linear-gradient(rgba(248,250,252,.94), rgba(248,250,252,.94)), url('/assets/category/hero-tech-bg.png') center/cover; }
.about-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-home-card { padding: 27px; border: 1px solid #e2e8f0; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.about-home-card i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; color: #0d9488; background: #ccfbf1; font-size: 1.2rem; font-style: normal; }
.about-home-card h3 { margin: 15px 0 7px; font-size: .98rem; text-transform: uppercase; letter-spacing: .02em; }
.about-home-card p { margin: 0; color: var(--muted); font-size: .79rem; }
.trending-wrap { max-width: 850px; }
.trending-list { display: grid; gap: 12px; }
.trending-list a { display: flex; gap: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); transition: .25s; }
.trending-list a:hover { border-color: #0d9488; box-shadow: 0 8px 24px rgba(13,148,136,.08); transform: translateY(-2px); }
.trending-list a > i { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #0d9488, #e11d48); font-size: .72rem; font-weight: 700; font-style: normal; }
.trending-list a > span { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; }
.trending-list strong { margin: 5px 0 3px; font-size: .9rem; line-height: 1.35; }
.popular-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.popular-story { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 128px; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .25s; }
.popular-story:hover { transform: translateY(-4px); border-color: #0d9488; box-shadow: 0 12px 32px rgba(13,148,136,.08); }
.popular-story > img { width: 112px; height: 96px; border-radius: 10px; object-fit: cover; }
.popular-rank { position: absolute; top: 7px; left: 7px; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: #0f172a; font-size: .6rem; font-weight: 800; }
.popular-copy { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; }
.popular-copy small { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.popular-copy strong { display: -webkit-box; margin: 5px 0 8px; overflow: hidden; font-size: .9rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.popular-copy em { color: #94a3b8; font-size: .62rem; font-style: normal; text-transform: uppercase; letter-spacing: .04em; }

.page-hero { position: relative; overflow: hidden; min-height: 310px; display: flex; align-items: center; color: #fff; background: #0f172a; }
.page-hero-content { position: relative; z-index: 2; padding: 66px 0; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: #94a3b8; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs a:hover { color: #0d9488; }
.page-hero h1 { margin: 8px 0 10px; max-width: 900px; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.03em; text-transform: uppercase; }
.page-hero p { max-width: 730px; margin: 0; color: #cbd5e1; }
.category-title-row { display: flex; align-items: center; gap: 18px; }
.category-title-row .category-icon { flex: 0 0 auto; width: 58px; height: 58px; margin: 0; border-radius: 12px; }

.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 38px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #374151; font-size: .76rem; font-weight: 700; }
.pagination a:hover, .pagination .current { color: #fff; border-color: #0d9488; background: #0d9488; }
.pagination .disabled { color: #cbd5e1; background: #f8fafc; }

.article-hero { position: relative; min-height: 480px; display: flex; align-items: end; overflow: hidden; color: #fff; background: #0f172a; }
.article-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,23,42,.3), rgba(15,23,42,.94)); }
.article-hero-content { position: relative; z-index: 2; width: 100%; padding: 60px 0 54px; }
.article-hero h1 { max-width: 900px; margin: 13px 0 17px; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.02em; }
.article-lead { max-width: 800px; margin: 0; color: #99f6e4; font-size: clamp(.92rem, 2vw, 1.06rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 23px; color: #cbd5e1; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.reading-progress { position: fixed; z-index: 80; top: 0; left: 0; width: 0; height: 4px; background: linear-gradient(90deg, #0d9488, #f43f5e); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 45px; align-items: start; padding: 52px 0 75px; }
.article-layout.no-toc { grid-template-columns: minmax(0, 960px); justify-content: center; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.toc strong { display: block; margin-bottom: 12px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.toc a.sub { padding-left: 12px; color: #94a3b8; }
.toc a:hover { color: #0d9488; }
.article-panel { min-width: 0; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.04); }
.article-body { color: #475569; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .article-body h3, .article-body h4 { color: #1e293b; line-height: 1.25; letter-spacing: -.02em; scroll-margin-top: 96px; }
.article-body h2 { margin: 2.3em 0 .75em; padding-bottom: .4em; border-bottom: 1px solid #e2e8f0; font-size: 1.7rem; text-transform: uppercase; }
.article-body h3 { margin: 1.8em 0 .65em; font-size: 1.3rem; }
.article-body p { margin: 1.1em 0; }
.article-body a { color: #0d9488; text-decoration: underline; text-decoration-color: #99f6e4; text-underline-offset: 3px; }
.article-body img { width: auto; max-height: 720px; margin: 1.7em auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.article-body blockquote { margin: 1.6em 0; padding: 10px 20px; border-left: 4px solid #0d9488; border-radius: 0 10px 10px 0; background: #f0fdfa; color: #475569; }
.article-body pre { overflow: auto; padding: 18px; border-radius: 10px; background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; }
.article-body code { padding: .15em .35em; border-radius: 5px; background: #f1f5f9; font-size: .88em; }
.article-body pre code { padding: 0; background: transparent; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.disclaimer { margin-top: 38px; padding: 18px 20px; border: 1px solid #fde68a; border-radius: 10px; background: #fffbeb; color: #92400e; font-size: .74rem; }

.content-page { padding: 80px 0; }
.content-card { max-width: 900px; margin: 0 auto; padding: clamp(25px, 5vw, 54px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.04); }
.content-card h2 { margin-top: 1.7em; font-size: 1.45rem; letter-spacing: -.01em; text-transform: uppercase; }
.content-card p, .content-card li { color: #475569; }
.content-card a { color: #0d9488; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 25px 0; }
.info-box { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.info-box h3 { margin: 0 0 7px; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; }
.info-box p { margin: 0; font-size: .82rem; }

.site-footer { color: #94a3b8; background: #0f172a; border-top: 1px solid rgba(13,148,136,.3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; padding: 60px 0 42px; }
.footer-brand p { max-width: 390px; margin-top: 15px; color: #64748b; font-size: .82rem; }
.footer-title { margin: 0 0 15px; color: #fff; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #64748b; font-size: .78rem; }
.footer-links a:hover { color: #0d9488; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid #1e293b; color: #64748b; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.empty { padding: 70px 20px; text-align: center; color: var(--muted); }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; place-items: center; }
  .menu-overlay { display: block; position: fixed; z-index: 59; inset: 0; visibility: hidden; opacity: 0; background: rgba(0,0,0,.5); transition: .25s; }
  .menu-overlay.is-open { visibility: visible; opacity: 1; }
  .mobile-menu { display: block; position: fixed; z-index: 60; top: 0; right: 0; width: min(330px, 86vw); height: 100vh; padding: 23px; background: #fff; transform: translateX(102%); transition: transform .28s ease; box-shadow: -8px 0 24px rgba(13,148,136,.1); }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu .brand { margin-bottom: 28px; color: #1e293b; }
  .mobile-menu nav { display: grid; gap: 5px; }
  .mobile-menu nav a { padding: 12px 14px; border-radius: 8px; color: #475569; font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; }
  .mobile-menu nav a:hover { color: #fff; background: linear-gradient(135deg, #0d9488, #e11d48); }
  .category-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured-copy { padding: 28px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .footer-grid { gap: 35px; }
  .carousel-track { aspect-ratio: 16/9; min-height: 360px; }
  .latest-small-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1200px); }
  .section { padding: 56px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .hero { min-height: 520px; }
  .hero-content { padding: 66px 0; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .hero-stats { gap: 17px; }
  .category-grid, .article-grid, .info-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 150px; }
  .featured-copy { padding: 23px; }
  .page-hero { min-height: 280px; }
  .category-title-row { align-items: flex-start; }
  .category-title-row .category-icon { width: 48px; height: 48px; border-radius: 10px; }
  .article-hero { min-height: 0; display: block; background: #0f172a; }
  .article-hero-image { position: relative; inset: auto; height: 340px; object-position: center 58%; }
  .article-hero::after { display: none; }
  .article-hero-content { padding: 30px 0 38px; background: #0f172a; }
  .article-hero h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .article-panel { border-radius: 14px; }
  .article-body { font-size: .95rem; }
  .article-body h2 { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .featured-stories { padding: 28px 0 24px; }
  .carousel-track { min-height: 410px; aspect-ratio: 4/5; }
  .carousel-copy strong { font-size: clamp(1.5rem, 8vw, 2.1rem); line-height: 1.15; }
  .carousel-summary { -webkit-line-clamp: 3; }
  .carousel-dots { right: 20px; bottom: 18px; }
  .carousel-arrow { display: none; }
  .editor-main, .latest-feature, .medium-story { grid-template-columns: 1fr; }
  .editor-main-media, .latest-feature-media, .medium-story > div { min-height: 220px; aspect-ratio: 16/10; }
  .editor-main-media::after { background: linear-gradient(to top, rgba(15,23,42,.3), transparent); }
  .editor-mini-grid, .latest-medium-grid, .latest-small-grid, .about-home-grid { grid-template-columns: 1fr; }
  .mini-story > img { flex-basis: 86px; width: 86px; height: 86px; }
  .compact-story > img { flex-basis: 82px; width: 82px; height: 82px; }
  .deep-dive, .deep-dive-copy { min-height: 470px; }
  .deep-dive-shade { background: linear-gradient(to top, rgba(2,6,23,.94), rgba(2,6,23,.3)); }
  .popular-grid { grid-template-columns: 1fr; }
  .popular-story { grid-template-columns: 96px minmax(0, 1fr); }
  .popular-story > img { width: 96px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
