:root {
  --bg: #eef4f8;
  --bg-elev: rgba(255,255,255,.72);
  --surface: rgba(255,255,255,.78);
  --surface-2: #e8eef4;
  --surface-3: rgba(255,255,255,.58);
  --text: #09131d;
  --muted: #61707d;
  --line: rgba(9,19,29,.10);
  --line-strong: rgba(9,19,29,.15);
  --brand: #32d7ff;
  --brand-2: #5f73ff;
  --brand-3: #86f1cb;
  --warning: #ffae66;
  --danger: #ff5e75;
  --shadow: 0 24px 80px rgba(16,32,49,.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell: 1280px;
}

[data-theme="dark"] {
  --bg: #071019;
  --bg-elev: rgba(10,18,28,.72);
  --surface: rgba(12,24,36,.82);
  --surface-2: #102031;
  --surface-3: rgba(17,32,49,.60);
  --text: #f3f8fb;
  --muted: #95a8b7;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.12);
  --shadow: 0 30px 90px rgba(0,0,0,.34);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071019;
    --bg-elev: rgba(10,18,28,.72);
    --surface: rgba(12,24,36,.82);
    --surface-2: #102031;
    --surface-3: rgba(17,32,49,.60);
    --text: #f3f8fb;
    --muted: #95a8b7;
    --line: rgba(255,255,255,.08);
    --line-strong: rgba(255,255,255,.12);
    --shadow: 0 30px 90px rgba(0,0,0,.34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(50,215,255,.11), transparent 20%),
    radial-gradient(circle at 90% 18%, rgba(95,115,255,.10), transparent 24%),
    radial-gradient(circle at 72% 76%, rgba(134,241,203,.08), transparent 20%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .10;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
}
.ambient { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .18; pointer-events: none; z-index: -1; }
.ambient-a { width: 500px; height: 500px; background: var(--brand); top: 120px; left: -180px; }
.ambient-b { width: 580px; height: 580px; background: var(--brand-2); top: 580px; right: -200px; }
.ambient-c { width: 360px; height: 360px; background: var(--brand-3); top: 980px; left: 26%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(160%);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-right: 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, transparent), transparent);
}
.brand-mark svg { width: 100%; fill: var(--text); }
.brand-mark .brand-cut { fill: none; stroke: var(--bg); stroke-width: 2.4; stroke-linecap: round; }
.brand-word {
  font-family: "Geom", Inter, sans-serif;
  font-size: 26px;
  line-height: 1;
}
.brand-word .aero { font-weight: 400; }
.brand-word .hub { font-weight: 700; }
.brand-dot {
  font-size: 14px;
  color: var(--brand-2);
  margin-left: 3px;
  margin-top: 6px;
  font-weight: 800;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.desktop-nav a,
.mini-pill {
  font-size: 14px;
  color: var(--muted);
  font-weight: 650;
  transition: color .2s ease;
}
.desktop-nav a:hover,
.mini-pill:hover { color: var(--text); }
.mini-pill {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-3);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button,
.menu-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-button { display: none; padding: 10px; gap: 4px; align-content: center; }
.menu-button span { height: 2px; width: 18px; background: currentColor; border-radius: 99px; display: block; }
.mobile-nav { display: none; }

.ticker-wrap { border-bottom: 1px solid var(--line); }
.ticker {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.ticker-label {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.ticker-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--danger) 18%, transparent);
}
.ticker-copy {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticker-copy strong { color: var(--text); }
.ticker-time { margin-left: auto; color: var(--muted); white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr .8fr;
  gap: 18px;
  padding-top: 28px;
}
.hero-intro,
.hero-feature,
.hero-stack .mini-feature {
  border-radius: var(--radius-xl);
}
.hero-intro {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  color: var(--brand-2);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hero-intro h1,
.section-heading h2,
.manifesto h2,
.briefing-card h2,
.hero-feature h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.hero-intro h1 {
  font-size: clamp(40px, 4vw, 62px);
  max-width: 14ch;
}
.hero-intro p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  padding: 0 18px;
}
.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #08111b;
}
.secondary-button {
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
}
.hero-stats div {
  min-height: 104px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 65%, transparent), transparent);
  padding: 18px;
  display: grid;
  align-content: end;
}
.hero-stats strong {
  font-size: 20px;
  letter-spacing: -.03em;
}
.hero-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.hero-feature {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background:
    radial-gradient(circle at 78% 24%, rgba(50,215,255,.35), transparent 18%),
    linear-gradient(135deg, #11263d 0%, #08131e 48%, #081018 100%);
  color: white;
}
.hero-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 46%, rgba(255,255,255,.08), transparent 20%),
    linear-gradient(45deg, transparent 30%, rgba(255,255,255,.04) 31%, transparent 32%);
}
.hero-feature::after {
  content: "A350";
  position: absolute;
  right: 6%;
  top: 12%;
  font-size: clamp(120px, 15vw, 220px);
  font-weight: 900;
  letter-spacing: -.08em;
  opacity: .10;
  transform: skewX(-10deg);
}
.hero-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,18,.92) 6%, rgba(5,12,18,.10) 56%);
}
.hero-feature-copy {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  z-index: 1;
}
.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-feature .meta-row { color: rgba(255,255,255,.72); }
.tag {
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .05em;
  font-size: 10px;
  border: 1px solid transparent;
}
.tag-msfs { color: #9feaff; background: rgba(43,211,255,.14); border-color: rgba(43,211,255,.24); }
.tag-xp { color: #d0d6ff; background: rgba(95,115,255,.16); border-color: rgba(95,115,255,.22); }
.tag-tech { color: #b2f8dc; background: rgba(134,241,203,.12); border-color: rgba(134,241,203,.18); }
.tag-community { color: #ffd8ac; background: rgba(255,174,102,.12); border-color: rgba(255,174,102,.22); }
.hero-feature h2 {
  font-size: clamp(34px, 4vw, 60px);
  max-width: 11ch;
  margin-top: 16px;
}
.hero-feature p {
  max-width: 56ch;
  color: rgba(255,255,255,.74);
  font-size: 17px;
  margin: 18px 0 0;
}
.read-more {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 14px;
}
.read-more span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #09131d;
}
.read-more.subtle span { background: var(--surface-2); color: var(--text); }
.hero-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.mini-feature {
  min-height: 301px;
  overflow: hidden;
}
.mini-visual {
  min-height: 150px;
  display: grid;
  place-items: center;
  position: relative;
}
.mini-visual span {
  font-size: 74px;
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.14);
}
.xp-visual {
  background: linear-gradient(145deg, #2d3d87, #111b44 72%);
}
.xp-visual::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 80px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transform: rotate(-10deg);
}
.mini-body { padding: 24px; }
.mini-body h3 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.038em;
}
.mini-body p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }
.accent-tech {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--surface) 60%, var(--brand-3)));
}

.section { padding-top: 94px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}
.section-heading h2 { font-size: clamp(32px, 4vw, 50px); }
.section-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.section-link span { margin-left: 8px; color: var(--text); }
.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}
.story-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform .25s ease, border-color .25s ease;
}
.story-card:hover,
.topic:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-2) 32%, var(--line)); }
.story-large {
  grid-row: span 2;
}
.story-thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}
.story-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(255,255,255,.18), transparent 24%);
}
.story-thumb span {
  font-size: 54px;
  font-weight: 950;
  letter-spacing: -.08em;
}
.story-thumb i {
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  opacity: .8;
}
.thumb-pmdg { background: linear-gradient(135deg, #243c57, #0d1723); }
.thumb-synaptic { background: linear-gradient(135deg, #276974, #10202c); }
.thumb-ff { background: linear-gradient(135deg, #4a3f81, #17162d); }
.story-copy { padding: 24px; }
.story-copy h3 {
  margin: 14px 0 12px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.story-large .story-copy h3 { font-size: 30px; }
.story-copy p { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.card-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.insight-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, transparent), color-mix(in srgb, var(--surface) 70%, var(--brand)));
}
.insight-card h3 {
  margin: 12px 0 12px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.insight-card p { color: var(--muted); margin: 0; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(320px,.72fr);
  gap: 20px;
  align-items: start;
}
.latest-panel {
  border-radius: var(--radius-xl);
  padding: 30px;
}
.section-heading.mini { margin-bottom: 8px; }
.section-heading.mini h2 { font-size: 34px; }
.latest-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.latest-time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding-top: 7px;
}
.latest-item h3 {
  margin: 8px 0 4px;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.latest-item p { margin: 0; color: var(--muted); font-size: 13px; }
.feed-button {
  margin-top: 22px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 15px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  background: var(--surface-3);
}
.briefing-card {
  position: sticky;
  top: 108px;
  min-height: 460px;
  border-radius: var(--radius-xl);
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 80%, rgba(95,115,255,.30), transparent 22%),
    linear-gradient(160deg, #12263c, #08121d 72%);
  color: white;
}
.brief-label {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 850;
  color: #9feaff;
}
.briefing-card h2 { margin-top: 16px; font-size: 42px; }
.briefing-card p { color: rgba(255,255,255,.68); font-size: 15px; }
.newsletter {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}
.newsletter input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: white;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter button {
  border: 0;
  border-radius: 13px;
  padding: 15px;
  background: white;
  color: #09131d;
  font-weight: 850;
  cursor: pointer;
}
.brief-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.48);
  margin-top: 14px;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.topic {
  min-height: 126px;
  padding: 22px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  transition: transform .2s ease, border-color .2s ease;
}
.topic-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 950;
  background: var(--surface-2);
}
.topic strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.02em;
}
.topic small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.topic b { font-size: 22px; }

.manifesto {
  margin-top: 94px;
  margin-bottom: 94px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: end;
  gap: 70px;
}
.manifesto p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}

.site-footer {
  padding: 48px 0;
  background: color-mix(in srgb, var(--bg) 80%, #000 20%);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 52px;
  align-items: end;
}
.footer-brand { margin-bottom: 8px; }
.footer-grid p,
.footer-grid small { margin: 0; color: var(--muted); font-size: 12px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2,auto);
  gap: 8px 24px;
  font-size: 13px;
  color: var(--muted);
}
.footer-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-status span {
  font-size: 11px;
  font-weight: 750;
  color: var(--muted);
}
.footer-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45d992;
  display: inline-block;
  margin-right: 7px;
}

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .hide-mobile { display: none; }
  .menu-button { display: grid; }
  .mobile-nav {
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  .mobile-nav.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-nav a {
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 750;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-intro {
    grid-column: 1 / -1;
    min-height: auto;
    gap: 24px;
  }
  .hero-feature { min-height: 560px; }
  .hero-stack { grid-template-rows: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .story-large { grid-column: 1 / -1; grid-row: auto; }
  .split-section { grid-template-columns: 1fr; }
  .briefing-card { position: relative; top: auto; min-height: auto; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { font-size: 23px; }
  .ticker { min-height: 44px; }
  .ticker-time { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 14px;
    gap: 12px;
  }
  .hero-intro,
  .hero-feature,
  .mini-feature,
  .latest-panel,
  .briefing-card,
  .story-card,
  .topic { border-radius: 22px; }
  .hero-intro { padding: 24px; }
  .hero-intro h1 { font-size: 40px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { min-height: 84px; }
  .hero-feature { min-height: 500px; }
  .hero-feature-copy { left: 24px; right: 24px; bottom: 24px; }
  .hero-feature h2 { font-size: 42px; }
  .hero-feature p { font-size: 15px; }
  .hero-stack { grid-template-rows: auto; gap: 12px; }
  .mini-feature { min-height: auto; }
  .mini-visual { min-height: 140px; }
  .mini-body { padding: 22px; }
  .mini-body h3 { font-size: 22px; }
  .section { padding-top: 68px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 34px; }
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .story-large { grid-column: auto; }
  .story-large .story-copy h3,
  .story-copy h3,
  .insight-card h3 { font-size: 22px; }
  .split-section { padding-top: 68px; gap: 14px; }
  .latest-panel { padding: 22px; }
  .latest-item { grid-template-columns: 48px 1fr; gap: 12px; }
  .latest-item h3 { font-size: 17px; }
  .briefing-card { padding: 28px; }
  .briefing-card h2 { font-size: 36px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic { min-height: 104px; padding: 17px; }
  .manifesto {
    margin-top: 68px;
    margin-bottom: 68px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .manifesto h2 { font-size: 36px; }
  .manifesto p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-status { align-items: flex-start; }
}

/* --- páginas internas PHP --- */
.article-page,.category-page{padding-top:44px;padding-bottom:90px}.article-shell{max-width:980px;margin:0 auto}.article-header{padding:24px 0 34px}.article-header h1,.category-hero h1{font-size:clamp(44px,7vw,78px);line-height:.98;letter-spacing:-.06em;margin:16px 0}.article-deck{font-size:20px;color:var(--muted);max-width:780px}.article-visual{min-height:440px;margin-bottom:18px}.article-visual .hero-feature-copy h2{font-size:96px;opacity:.2}.article-body{border-radius:var(--radius-xl);padding:42px;font-size:18px}.article-body p{max-width:760px;margin:0 auto 24px}.source-box{max-width:760px;margin:36px auto 0;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface-3);display:grid;gap:4px}.source-box span{color:var(--muted);font-size:13px}.category-hero{border-radius:var(--radius-xl);padding:44px}.category-hero p{color:var(--muted);font-size:18px}.news-list{display:grid;gap:16px}.list-card{border-radius:var(--radius-lg);overflow:hidden;display:grid;grid-template-columns:320px 1fr}.list-card .story-thumb{aspect-ratio:auto;min-height:240px}.list-card .story-copy{display:flex;flex-direction:column;justify-content:center}.list-card h2{font-size:30px;line-height:1.08;letter-spacing:-.04em;margin:12px 0}.empty-state{padding:28px;border-radius:var(--radius-lg);color:var(--muted)}
@media(max-width:760px){.article-page,.category-page{padding-top:20px}.article-body{padding:24px}.article-header h1,.category-hero h1{font-size:44px}.article-deck{font-size:17px}.article-visual{min-height:360px}.category-hero{padding:28px}.list-card{grid-template-columns:1fr}.list-card .story-thumb{min-height:190px}.list-card h2{font-size:24px}}

/* --- CMS público: artículo y categorías --- */
.image-thumb{background-size:cover!important;background-position:center!important}.article-page{padding-top:56px;padding-bottom:96px}.article-shell{max-width:900px;margin:auto}.article-header{padding:20px 0 32px}.article-header h1{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.06em;margin:18px 0}.article-lead{font-size:20px;color:var(--muted);max-width:760px}.article-cover{display:block;width:100%;aspect-ratio:16/8.5;object-fit:cover;border-radius:var(--radius-xl);border:1px solid var(--line);box-shadow:var(--shadow);margin:12px 0 44px}.article-placeholder{background:linear-gradient(135deg,#18314b,#08131e);display:grid;place-items:center;color:white}.article-placeholder span{font-size:clamp(70px,15vw,150px);font-weight:900;letter-spacing:-.08em;opacity:.13}.article-content{max-width:760px;margin:auto;font-size:18px;line-height:1.78}.article-content p{margin:0 0 1.35em}.article-content h2{font-size:34px;line-height:1.08;letter-spacing:-.04em;margin:1.7em 0 .6em}.article-content h3{font-size:25px;letter-spacing:-.03em;margin:1.5em 0 .6em}.article-content a{color:var(--brand-2);text-decoration:underline}.article-content blockquote{margin:2em 0;padding:4px 0 4px 22px;border-left:3px solid var(--brand);color:var(--muted)}.article-content code{background:var(--surface-2);padding:2px 6px;border-radius:6px}.article-content pre{overflow:auto;background:var(--surface-2);padding:18px;border-radius:14px}.source-box{max-width:760px;margin:48px auto 0;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);display:grid;gap:5px}.source-box span{font-size:10px;letter-spacing:.14em;font-weight:850;color:var(--muted)}.source-box a{margin-top:8px;font-weight:800}.category-page{padding-top:58px;padding-bottom:96px}.category-hero{max-width:820px;margin-bottom:38px}.category-hero h1{font-size:clamp(48px,7vw,82px);line-height:.95;letter-spacing:-.06em;margin:10px 0}.category-hero p{font-size:18px;color:var(--muted)}.category-list{display:grid;gap:16px}.category-story{border-radius:24px;padding:18px;display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:center}.category-story-visual{aspect-ratio:16/10;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#17314a,#0b1722)}.category-story-visual span{font-size:34px;font-weight:900;letter-spacing:-.05em;color:white}.category-story h2{font-size:28px;line-height:1.1;letter-spacing:-.04em;margin:9px 0}.category-story p{color:var(--muted);margin:0}.empty-state{padding:30px;border-radius:22px;color:var(--muted)}

/* --- Administración --- */
.admin-body{min-height:100vh;background:var(--bg);font-family:Inter,system-ui,sans-serif}.admin-login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.admin-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:28px}.admin-login-wrap .admin-card{width:min(100%,460px)}.admin-brand{display:inline-flex;align-items:center;gap:6px;margin-bottom:12px}.admin-brand .brand-dot{margin-top:5px}.admin-card h1,.admin-heading h1{font-size:36px;letter-spacing:-.045em;line-height:1;margin:8px 0}.admin-card>p,.admin-heading p{color:var(--muted);margin:0 0 22px}.admin-form,.editor-main,.editor-side{display:grid;gap:18px}.admin-form label,.editor-layout label{display:grid;gap:7px;font-size:13px;font-weight:750}.admin-form input,.editor-layout input,.editor-layout select,.editor-layout textarea{width:100%;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);border-radius:12px;padding:12px 13px;outline:none}.editor-layout textarea{resize:vertical;line-height:1.55}.admin-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#071019!important;font-weight:850;padding:12px 16px;cursor:pointer}.admin-button.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text)!important}.notice{padding:13px 15px;border-radius:12px;margin:14px 0}.notice.error{background:rgba(255,94,117,.12);border:1px solid rgba(255,94,117,.22);color:#ff7187}.notice.success{background:rgba(69,217,146,.12);border:1px solid rgba(69,217,146,.22);color:#39b97a}.admin-topbar{position:sticky;top:0;z-index:30;min-height:70px;padding:0 24px;border-bottom:1px solid var(--line);background:var(--bg-elev);backdrop-filter:blur(16px);display:flex;align-items:center;gap:30px}.admin-topbar nav{display:flex;gap:22px;font-size:13px;font-weight:750;color:var(--muted)}.admin-user{margin-left:auto;display:flex;align-items:center;gap:14px;font-size:13px}.admin-user a{color:var(--muted)}.admin-shell{width:min(calc(100% - 40px),1320px);margin:0 auto;padding:40px 0 80px}.admin-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.admin-heading p{margin-bottom:0}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.admin-stats div{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px}.admin-stats strong{display:block;font-size:30px;letter-spacing:-.05em}.admin-stats span{color:var(--muted);font-size:12px}.admin-table-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:780px}.admin-table th,.admin-table td{text-align:left;padding:16px;border-bottom:1px solid var(--line);font-size:13px}.admin-table th{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.admin-table td strong{display:block}.admin-table td small{display:block;color:var(--muted);margin-top:4px}.admin-table .actions{white-space:nowrap}.admin-table .actions a{margin-left:12px;font-weight:750}.status{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em;padding:6px 9px;border-radius:999px}.status-published{background:rgba(69,217,146,.13);color:#39b97a}.status-draft{background:rgba(149,168,183,.13);color:var(--muted)}.status-review{background:rgba(255,174,102,.13);color:#d98537}.status-archived{background:rgba(255,94,117,.12);color:#e3546a}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.editor-main,.editor-side{padding:24px}.editor-side{position:sticky;top:92px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-layout hr{width:100%;border:0;border-top:1px solid var(--line);margin:2px 0}.editor-layout label small{font-weight:500;color:var(--muted)}.editor-layout label.check{display:flex;grid-template-columns:auto 1fr;align-items:center}.editor-layout label.check input{width:auto}.empty{text-align:center!important;color:var(--muted);padding:34px!important}

@media(max-width:800px){.category-story{grid-template-columns:1fr}.category-story-visual{max-height:210px}.admin-topbar nav{display:none}.admin-shell{width:min(calc(100% - 24px),1320px);padding-top:24px}.admin-heading{align-items:flex-start;flex-direction:column}.admin-stats{grid-template-columns:1fr 1fr}.editor-layout{grid-template-columns:1fr}.editor-side{position:static}.two-cols{grid-template-columns:1fr}.article-page{padding-top:34px}.article-header h1{font-size:44px}.article-lead{font-size:17px}.article-content{font-size:17px}.article-cover{border-radius:22px;margin-bottom:30px}}

/* Ingesta / fuentes */
.admin-heading-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-heading.compact{margin-top:38px}.admin-heading.compact h2{margin:0;font-size:28px;letter-spacing:-.04em}.section-gap{height:14px}.error-text{color:#e45f72!important}.source-health{display:grid;gap:5px}.source-health small{color:var(--muted);margin-top:6px}.source-health strong{font-size:13px}.ingest-list{display:grid;gap:14px}.ingest-item{padding:24px}.ingest-item-head{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start}.ingest-item h2{font-size:22px;line-height:1.12;letter-spacing:-.035em;margin:12px 0 8px}.ingest-item p{color:var(--muted);margin:0;max-width:900px}.queue-actions{display:flex;gap:8px}.queue-actions form{margin:0}.source-badge{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;padding:6px 9px;border-radius:999px;background:var(--surface-2);color:var(--text)}.source-official{background:rgba(69,217,146,.13);color:#39b97a}.source-media{background:rgba(95,115,255,.14);color:#7383ff}.source-github{background:rgba(149,168,183,.14);color:var(--muted)}.empty-state{text-align:center;padding:42px}.empty-state h3{margin:0 0 8px;font-size:24px}.empty-state p{margin:0;color:var(--muted)}
@media(max-width:900px){.ingest-item-head{grid-template-columns:1fr}.queue-actions{justify-content:flex-start;flex-wrap:wrap}.admin-heading-actions{width:100%}.admin-heading-actions .admin-button{flex:1}}
.inline-form{display:inline;margin:0}.link-button{border:0;background:none;color:inherit;font:inherit;font-weight:750;padding:0;cursor:pointer}.admin-table .actions{display:flex;align-items:center;gap:12px}.admin-table .actions a{margin-left:0}
