/* ═══════════════════════════════════════════════════════════════
   TechEtudes Pro — Main Stylesheet
   Design: Sharp editorial tech magazine
   Ad Strategy: Natural content break injection, high viewability
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:      #0a0f1e;
  --navy-2:    #111827;
  --navy-3:    #1e293b;
  --slate:     #334155;
  --cyan:      #06b6d4;
  --cyan-dim:  #0891b2;
  --white:     #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --red:       #ef4444;
  --amber:     #f59e0b;
  --green:     #22c55e;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(0,0,0,.18);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.28);

  --header-h: 64px;
  --sidebar-w: 320px;
  --content-max: 780px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Header ─────────────────────────────────────────────────── */
.te-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(6,182,212,.2);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.te-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.te-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.te-logo span {
  color: var(--cyan);
}
.te-logo::before {
  content: '';
  display: block;
  width: 8px;
  height: 28px;
  background: var(--cyan);
  border-radius: 2px;
}

/* Nav */
.te-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.te-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(248,250,252,.7);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all .15s;
  white-space: nowrap;
}
.te-nav a:hover, .te-nav a.current { color: var(--white); background: rgba(6,182,212,.15); }
.te-nav a.current { color: var(--cyan); }

/* Header search */
.te-header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.te-header-search input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--white);
  width: 200px;
  transition: all .2s;
  font-family: var(--font-body);
}
.te-header-search input::placeholder { color: rgba(255,255,255,.35); }
.te-header-search input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(6,182,212,.08);
  width: 260px;
}

/* Mobile hamburger */
.te-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.te-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .2s;
}

/* ── Ticker Bar ─────────────────────────────────────────────── */
.te-ticker {
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}
.te-ticker__inner {
  display: inline-flex;
  gap: 48px;
  animation: te-scroll 35s linear infinite;
}
.te-ticker__inner span::before { content: '▶ '; opacity: .6; }
@keyframes te-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── Homepage Top Ad Zone ───────────────────────────────────── */
/* Positioned right below header — highest viewability zone */
.te-ad-leaderboard {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 100px;
  position: relative;
}
.te-ad-leaderboard::before {
  content: 'Advertisement';
  position: absolute;
  top: 4px;
  right: 12px;
  font-size: 9px;
  color: var(--gray-400);
  font-family: var(--font-mono);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── Layout ─────────────────────────────────────────────────── */
.te-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.te-main-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 40px;
  padding: 32px 0;
  align-items: start;
}

/* ── Homepage Hero ──────────────────────────────────────────── */
.te-hero {
  background: var(--navy);
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}
.te-hero__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 480px;
  gap: 0;
}
.te-hero__main {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.te-hero__main::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(6,182,212,.3);
}
.te-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.te-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}
.te-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, transparent 60%);
  z-index: 1;
}
.te-hero__content { position: relative; z-index: 2; }
.te-hero__sidebar {
  padding: 32px 0 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(6,182,212,.2);
}

/* Category badge */
.te-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.te-badge--cyan   { background: rgba(6,182,212,.15); color: var(--cyan); border: 1px solid rgba(6,182,212,.3); }
.te-badge--red    { background: rgba(239,68,68,.15);  color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.te-badge--amber  { background: rgba(245,158,11,.15); color: var(--amber); border: 1px solid rgba(245,158,11,.3); }
.te-badge--green  { background: rgba(34,197,94,.15);  color: var(--green); border: 1px solid rgba(34,197,94,.3); }
.te-badge--hot::before { content: '🔥 '; }
.te-badge--new::before { content: '⚡ '; }

.te-hero__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}
.te-hero__title a { color: inherit; }
.te-hero__title a:hover { color: var(--cyan); }
.te-hero__excerpt {
  font-size: 15px;
  color: rgba(248,250,252,.65);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 560px;
}
.te-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(248,250,252,.45);
  font-family: var(--font-mono);
}
.te-hero__meta-dot { color: var(--cyan); }

/* ── Article Cards ──────────────────────────────────────────── */
.te-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.te-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), var(--shadow);
  transform: translateY(-2px);
}
.te-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-3);
}
.te-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.te-card:hover .te-card__img img { transform: scale(1.04); }
.te-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.te-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.3px;
  color: var(--navy);
  margin-bottom: 8px;
}
.te-card__title a:hover { color: var(--cyan-dim); }
.te-card__excerpt {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.te-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--gray-400);
  font-family: var(--font-mono);
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
  margin-top: auto;
}
.te-card__meta-time { margin-left: auto; }

/* Card grid layouts */
.te-grid { display: grid; gap: 20px; }
.te-grid--3 { grid-template-columns: repeat(3,1fr); }
.te-grid--2 { grid-template-columns: repeat(2,1fr); }
.te-grid--4 { grid-template-columns: repeat(4,1fr); }

/* List card variant */
.te-card--list {
  flex-direction: row;
  align-items: center;
}
.te-card--list .te-card__img {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 4/3;
  border-radius: 0;
}
.te-card--list .te-card__body { padding: 12px 16px; }
.te-card--list .te-card__title { font-size: 14px; margin-bottom: 4px; }
.te-card--list .te-card__excerpt { display: none; }

/* ── Section Headers ────────────────────────────────────────── */
.te-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-200);
}
.te-section-header::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--cyan);
  border-radius: 2px;
  flex-shrink: 0;
}
.te-section-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--navy);
}
.te-section-header__more {
  margin-left: auto;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--cyan-dim);
  border: 1px solid rgba(8,145,178,.3);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all .15s;
}
.te-section-header__more:hover { background: var(--cyan); color: var(--white); border-color: var(--cyan); }

/* ── Sidebar ─────────────────────────────────────────────────── */
.te-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* Sticky wrapper for sidebar ads */
.te-sidebar__sticky {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ad zones in sidebar */
.te-ad {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.te-ad::before {
  content: 'Advertisement';
  position: absolute;
  top: -16px;
  left: 0;
  font-size: 9px;
  color: var(--gray-400);
  font-family: var(--font-mono);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Sidebar ad box */
.te-ad--sidebar {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  min-height: 250px;
  width: 100%;
}

/* In-content ad — blends naturally between paragraphs */
.te-ad--inline {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  min-height: 90px;
  width: 100%;
  margin: 28px 0;
}

/* Widget box */
.te-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.te-widget .widget-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

/* ── Article Page ────────────────────────────────────────────── */
.te-article-header {
  background: var(--navy);
  padding: 48px 0 40px;
  margin-bottom: 0;
}
.te-article-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.te-article-header__cats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.te-article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 20px;
}
.te-article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.te-article-meta__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.te-article-meta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate);
  border: 2px solid var(--cyan);
  overflow: hidden;
  flex-shrink: 0;
}
.te-article-meta__author-info { font-size: 13px; }
.te-article-meta__author-name { font-weight: 600; color: var(--white); }
.te-article-meta__date { font-size: 12px; color: rgba(248,250,252,.5); font-family: var(--font-mono); }
.te-article-meta__divider { width: 1px; height: 28px; background: rgba(255,255,255,.15); }
.te-article-meta__reading {
  font-size: 12px;
  color: rgba(248,250,252,.5);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}
.te-article-meta__reading::before { content: '⏱'; font-size: 13px; }

/* Featured image */
.te-article-featured {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  background: var(--navy-3);
}
.te-article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article content */
.te-article-content {
  font-size: 17px;
  line-height: 1.78;
  color: #1e293b;
}
.te-article-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 2px solid var(--gray-200);
  line-height: 1.25;
}
.te-article-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}
.te-article-content p { margin-bottom: 20px; }
.te-article-content a {
  color: var(--cyan-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(8,145,178,.4);
  transition: all .15s;
}
.te-article-content a:hover {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}
.te-article-content ul,
.te-article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.te-article-content ul { list-style: disc; }
.te-article-content ol { list-style: decimal; }
.te-article-content li { margin-bottom: 8px; }
.te-article-content blockquote {
  border-left: 4px solid var(--cyan);
  background: rgba(6,182,212,.06);
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px;
  font-style: italic;
  color: var(--slate);
}
.te-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
.te-article-content th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
}
.te-article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.te-article-content tr:hover td { background: var(--gray-100); }
.te-article-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}
.te-article-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--cyan-dim);
}
.te-article-content pre {
  background: var(--navy);
  color: var(--gray-200);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}

/* Reading progress bar */
.te-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--cyan);
  z-index: 9999;
  width: 0%;
  transition: width .1s;
  box-shadow: 0 0 8px var(--cyan);
}

/* Tags */
.te-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.te-tags a {
  font-size: 12px;
  font-family: var(--font-mono);
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all .15s;
}
.te-tags a:hover { background: var(--navy); color: var(--cyan); border-color: transparent; }

/* Share buttons */
.te-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.te-share__label { font-size: 13px; font-weight: 600; color: var(--gray-600); margin-right: 4px; }
.te-share a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}
.te-share__twitter { background: #1da1f2; color: #fff; }
.te-share__facebook { background: #1877f2; color: #fff; }
.te-share__copy { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.te-share a:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Author box */
.te-author-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 32px 0;
}
.te-author-box__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--slate);
}
.te-author-box__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.te-author-box__role {
  font-size: 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.te-author-box__bio { font-size: 13px; color: rgba(248,250,252,.6); line-height: 1.55; }

/* ── Related Articles ────────────────────────────────────────── */
.te-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-200);
}

/* ── Breadcrumbs ────────────────────────────────────────────── */
.te-breadcrumbs {
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(248,250,252,.45);
  margin-bottom: 20px;
}
.te-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.te-breadcrumbs li + li::before { content: '›'; opacity: .5; margin-right: 4px; }
.te-breadcrumbs a { color: rgba(248,250,252,.6); }
.te-breadcrumbs a:hover { color: var(--cyan); }
.te-breadcrumbs [aria-current] { color: rgba(248,250,252,.4); }

/* ── Pagination ─────────────────────────────────────────────── */
.te-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}
.te-pagination a,
.te-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  transition: all .15s;
}
.te-pagination a:hover { border-color: var(--cyan); color: var(--cyan); }
.te-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Footer ─────────────────────────────────────────────────── */
.te-footer {
  background: var(--navy);
  color: rgba(248,250,252,.6);
  margin-top: 64px;
}
.te-footer__top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 40px;
}
.te-footer__brand .te-logo { margin-bottom: 14px; }
.te-footer__brand p { font-size: 13px; line-height: 1.6; max-width: 220px; }
.te-footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.te-footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.te-footer__col a { font-size: 13px; transition: color .15s; }
.te-footer__col a:hover { color: var(--cyan); }
.te-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
}
.te-footer__bottom a { color: var(--cyan); }

/* ── Utility ─────────────────────────────────────────────────── */
.te-trending-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  min-width: 36px;
}
.te-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.te-trending-item:last-child { border-bottom: none; }
.te-trending-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.te-trending-item__title a:hover { color: var(--cyan-dim); }
.te-trending-item__meta { font-size: 11px; color: var(--gray-400); font-family: var(--font-mono); margin-top: 4px; }

/* Notice/Alert */
.te-notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}
.te-notice--info  { background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.2); color: var(--cyan-dim); }
.te-notice--warn  { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); color: var(--amber); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .te-main-grid { grid-template-columns: 1fr; }
  .te-sidebar__sticky { position: relative; top: 0; }
  .te-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .te-hero__grid { grid-template-columns: 1fr; }
  .te-hero__sidebar { border-left: none; border-top: 1px solid rgba(6,182,212,.2); padding: 24px 0 0; }
  .te-hero__main::after { display: none; }
  .te-grid--4 { grid-template-columns: repeat(2,1fr); }
  .te-grid--3 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .te-nav { display: none; }
  .te-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    padding: 24px;
    gap: 4px;
    z-index: 800;
    overflow-y: auto;
  }
  .te-nav.open a { font-size: 18px; padding: 12px 16px; }
  .te-hamburger { display: flex; }
  .te-header-search { display: none; }
  .te-grid--3, .te-grid--2, .te-grid--4 { grid-template-columns: 1fr; }
  .te-footer__top { grid-template-columns: 1fr; }
  .te-article-title { font-size: 28px; letter-spacing: -.5px; }
  .te-article-content { font-size: 16px; }
  .te-hero__main { padding: 32px 0; }
  .te-container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .te-card--list .te-card__img { width: 90px; min-width: 90px; }
  .te-article-content h2 { font-size: 22px; }
  .te-share { flex-direction: column; align-items: flex-start; }
}
