/* Hora News — shared stylesheet
   Tipografia: system fonts (sem chamada externa)
   Paleta editorial: preto / vermelho / off-white
*/

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink: #0f0f12;
  --ink-2: #2a2a2f;
  --muted: #6b6b76;
  --muted-2: #9aa0a8;
  --line: #ebebe8;
  --line-2: #d8d8d3;
  --bg: #ffffff;
  --cream: #f6f4ee;
  --cream-2: #efece3;
  --red: #d8112e;
  --red-dark: #a90b22;
  --ad-bg: #f7f5ef;
  --ad-border: #e5e2d8;

  --container: 1280px;
  --container-wide: 1380px;

  --fs-base: 16px;
  --lh-base: 1.55;
  --radius: 6px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }

html { font-size: var(--fs-base); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: var(--lh-base);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Globally suppress italic per brand rule */
i, em, cite, dfn, var, address { font-style: normal; }

a {
  color: inherit;
  text-decoration: none;
}
a:hover { color: var(--red); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TOP BAR (slim, modern) ---------- */
.topbar {
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a:hover { color: var(--ink); }
.topbar .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- MASTHEAD (slim, modern, logo-left) ---------- */
.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 32px;
}
.mast-side {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.mast-side.right { justify-content: flex-end; }
.mast-side .pipe { width: 1px; height: 14px; background: var(--line-2); }

.logo {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo .hora { color: var(--ink); }
.logo .news { color: var(--red); }
.logo .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-left: 4px;
  transform: translateY(-14px);
}
.logo-tag { display: none; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.btn-pill.solid {
  background: var(--ink);
  color: #fff;
}
.btn-pill.solid:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-pill:hover { border-color: var(--red); color: var(--red); }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--cream); color: var(--red); }

/* ---------- MOBILE MENU TRIGGER ---------- */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  flex-shrink: 0;
}
.menu-btn:hover { background: var(--cream); color: var(--red); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- MOBILE DRAWER ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(86vw, 340px);
  height: 100dvh;
  background: var(--bg);
  z-index: 200;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0,0,0,0);
  overflow: hidden;
}
.mobile-menu.is-open {
  transform: translateX(0);
  box-shadow: 0 0 50px rgba(0,0,0,0.18);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mobile-menu-head .logo { font-size: 24px; }
.menu-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-close:hover { background: var(--ink); color: #fff; }
.menu-close svg { width: 18px; height: 18px; }

.mobile-menu nav {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0 20px;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
}
.mobile-menu a::after {
  content: "›";
  color: var(--muted-2);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.15s, color 0.15s;
}
.mobile-menu a:hover,
.mobile-menu a:active { color: var(--red); background: var(--cream); }
.mobile-menu a:hover::after { color: var(--red); transform: translateX(3px); }
.mobile-menu a.active {
  color: var(--red);
  position: relative;
}
.mobile-menu a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}
.mobile-menu-foot {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.mobile-menu-social {
  display: flex;
  gap: 8px;
}
.mobile-menu-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 0;
}
.mobile-menu-social a::after { content: none; }
.mobile-menu-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.mobile-menu-social svg { width: 16px; height: 16px; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 18, 0);
  z-index: 150;
  pointer-events: none;
  transition: background 0.32s ease;
}
.menu-backdrop.is-open {
  background: rgba(15, 15, 18, 0.55);
  pointer-events: auto;
}
body.menu-open { overflow: hidden; }

/* ---------- NAV (now inside masthead, inline) ---------- */
.nav {
  flex: 1;
  background: transparent;
  border: 0;
  position: static;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 100%;
  padding: 0;
  max-width: none;
}
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}
.nav-list li {
  display: flex;
  align-items: center;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
  border-bottom: 0;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
}
.nav-list a:hover { color: var(--red); background: var(--cream); }
.nav-list a.active { color: var(--red); background: transparent; position: relative; }
.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav-list a.live { color: var(--red); }
.nav-list a.live::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- BREAKING STRIP ---------- */
.breaking {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
}
.breaking-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.breaking-label {
  background: #fff;
  color: var(--red);
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}
.breaking-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking-text a { color: #fff; }
.breaking-text a:hover { text-decoration: underline; }
.breaking-time {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
}

/* ---------- HEADLINE TYPOGRAPHY ---------- */
.kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.kicker.ink { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.headline-xl {
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 700;
}
.headline-lg {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}
.headline-md {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}
.headline-sm {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
}
.headline-xs {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.dek {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 14px;
  font-weight: 400;
}
.dek-sm {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 400;
  margin-bottom: 5px;
}

.byline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 12px;
}
.byline .sep { margin: 0 6px; color: var(--line-2); }
.byline a:hover { color: var(--red); }

/* ---------- IMAGE PLACEHOLDERS ---------- */
.img {
  background: #ddd center/cover no-repeat;
  display: block;
  width: 100%;
  position: relative;
  border-radius: var(--radius);
}
.img-16x9 { aspect-ratio: 16 / 9; }
.img-4x3 { aspect-ratio: 4 / 3; }
.img-3x2 { aspect-ratio: 3 / 2; }
.img-1x1 { aspect-ratio: 1 / 1; }
.img-21x9 { aspect-ratio: 21 / 9; }

.cap {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.45;
}

/* ---------- SECTION ---------- */
.section {
  padding: 56px 0 40px;
  border-top: 0;
}
.section:first-of-type { border-top: 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--red);
  border-radius: 2px;
}
.section-title .accent { color: var(--muted-2); font-weight: 400; }
.section-link {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.section-link:hover { color: var(--red); }

/* ---------- HERO GRID ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0 48px;
}
.hero-main .img-16x9 { margin-bottom: 18px; }
.hero-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-col .story {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.hero-col .story:last-child { border-bottom: 0; padding-bottom: 0; }

.story-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 16px;
  align-items: start;
}
.story-row .img {
  width: 110px;
  aspect-ratio: 1 / 1;
}

/* ---------- MAIN HERO (homepage top) — modern editorial ---------- */
.main-hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 28px;
  padding: 36px 0 32px;
  align-items: stretch;
}

/* LEFT: full-bleed image overlay feature */
.main-hero .hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14141a;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.main-hero .hero-main .img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  z-index: 0;
}
.main-hero .hero-main:hover .img-bg { transform: scale(1.04); }
.main-hero .hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.main-hero .badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
  border-radius: 999px;
}
.main-hero .photo-credit {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  z-index: 3;
}
.main-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 44px 40px;
  color: #fff;
  width: 100%;
}
.main-hero .hero-content .kicker {
  color: var(--ink);
  opacity: 1;
  background: rgba(255,255,255,0.95);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.main-hero .headline-xl {
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
  color: #fff;
  margin-top: 14px;
  max-width: 720px;
}
.main-hero .headline-xl a { color: #fff; }
.main-hero .headline-xl a:hover { color: rgba(255,255,255,0.85); }
.main-hero .dek {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  line-height: 1.45;
  max-width: 640px;
  margin-top: 14px;
}
.main-hero .byline {
  color: rgba(255,255,255,0.75);
  margin-top: 18px;
}
.main-hero .byline a { color: rgba(255,255,255,0.95); }
.main-hero .byline .sep { color: rgba(255,255,255,0.4); }
.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
}
.hero-stats span { display: inline-flex; align-items: center; gap: 6px; }

/* RIGHT: 3 image-overlay cards stacked, filling the full hero height */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  isolation: isolate;
  background: #14141a;
}
.mini-card .img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}
.mini-card:hover .img-bg { transform: scale(1.05); }
.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.88) 100%);
  z-index: 1;
}
.mini-card .mini-text {
  position: relative;
  z-index: 2;
  padding: 22px;
  color: #fff;
  width: 100%;
}
.mini-card .kicker {
  color: var(--ink);
  background: rgba(255,255,255,0.95);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
}
.mini-card .headline-md {
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0;
  color: #fff;
}
.mini-card .headline-md a { color: #fff; }
.mini-card .headline-md a:hover { color: rgba(255,255,255,0.85); }
.mini-card .meta {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  margin-top: 8px;
  letter-spacing: 0;
}

/* ---------- SUBHERO 4-COL STRIP — modern cards ---------- */
.subhero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 8px 0 48px;
  border-top: 0;
  border-bottom: 0;
}
.subhero-card { display: flex; flex-direction: column; }
.subhero-card .card-img {
  display: block;
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: var(--radius);
}
.subhero-card .card-img .img {
  aspect-ratio: 16 / 9;
  transition: transform 0.5s ease;
  border-radius: 0;
}
.subhero-card .card-img:hover .img { transform: scale(1.05); }
.subhero-card .img-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.subhero-card .img-tag.red { background: var(--red); color: #fff; }
.subhero-card .kicker { font-size: 10px; margin-bottom: 6px; }
.subhero-card .headline-sm {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}
.subhero-card .meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 10px;
}

/* ---------- CATEGORY BLOCKS ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 40px;
  align-items: start;
}
.cat-block {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
}
.cat-block .lead { margin-bottom: 0; padding-bottom: 18px; }
.cat-block .lead .headline-md { margin-top: 12px; }
.cat-block .lead .lead-time {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.cat-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-title a { color: inherit; }
.section-title a:hover { color: var(--red); }
.cat-block ul li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: start;
}
.cat-block ul li:first-child { border-top: 0; padding-top: 4px; }
.cat-block ul li .thumb {
  width: 90px;
  aspect-ratio: 1 / 1;
  background: #ddd center/cover no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.cat-block ul li .item-body { min-width: 0; }
.cat-block ul li a.headline-xs {
  display: block;
  margin-bottom: 4px;
}
.cat-block .dek-xs {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 4px 0 6px;
  font-weight: 400;
}
.cat-block .item-time {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.cat-block .item-meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- ESPORTES SECTION (full-width) ---------- */
.esportes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.esportes-lead .img { margin-bottom: 16px; }
.esportes-lead .headline-lg {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 10px;
}
.esportes-lead .headline-lg a { color: var(--ink); }
.esportes-lead .headline-lg a:hover { color: var(--red); }
.esportes-lead .dek {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft, #2a2a2a);
  margin: 0 0 10px;
}
.esportes-lead .meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.esportes-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
}
@media (max-width: 900px) {
  .esportes-grid { grid-template-columns: 1fr; gap: 28px; }
  .esportes-items { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .esportes-lead .headline-lg { font-size: 26px; }
}
@media (max-width: 560px) {
  .esportes-items { grid-template-columns: 1fr; }
  .esportes-lead .headline-lg { font-size: 22px; }
}

/* ---------- LATEST FEED ---------- */
.latest {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.latest-feed { display: flex; flex-direction: column; }
.feed-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.feed-item:first-child { border-top: 0; padding-top: 0; }
.feed-item .img { width: 200px; aspect-ratio: 3 / 2; }
.feed-item .time {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  white-space: nowrap;
}

/* Author-page variant: time below subtitle, no third column */
.latest-feed.feed-inline-time .feed-item {
  grid-template-columns: 200px 1fr;
}
.latest-feed.feed-inline-time .feed-item .time {
  display: block;
  font-weight: 500;
}
@media (max-width: 720px) {
  .latest-feed.feed-inline-time .feed-item { grid-template-columns: 110px 1fr; }
  .latest-feed.feed-inline-time .feed-item .time { grid-column: 2; padding-top: 4px; }
}

/* ---------- SIDEBAR ---------- */
.sidebar { display: flex; flex-direction: column; gap: 36px; }
.ranked {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rk;
}
.ranked li {
  counter-increment: rk;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.ranked li:first-child { border-top: 0; padding-top: 4px; }
.ranked li::before {
  content: counter(rk);
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: 0;
}
.ranked li a {
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 700;
}
.ranked li a:hover { color: var(--red); }

/* sidebar feature card + list */
.side-card { display: block; margin-bottom: 4px; }
.side-card .side-card-img {
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius);
}
.side-card .side-card-img .img {
  aspect-ratio: 16 / 9;
  transition: transform 0.5s ease;
  border-radius: 0;
}
.side-card .side-card-img:hover .img { transform: scale(1.04); }
.side-card .kicker { font-size: 10px; margin-bottom: 6px; }
.side-card .headline-sm { font-size: 17px; line-height: 1.25; }
.side-card .headline-sm a { color: var(--ink); }
.side-card .headline-sm a:hover { color: var(--red); }
.side-card .meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 8px;
}

.side-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.side-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.side-list li:first-child { border-top: 0; padding-top: 4px; }
.side-list .kicker {
  font-size: 10px;
  margin-bottom: 6px;
  color: var(--red);
}
.side-list .kicker.ink { color: var(--ink); }
.side-list a.headline-xs {
  display: block;
  font-size: 14px;
  line-height: 1.32;
  color: var(--ink);
  font-weight: 700;
}
.side-list a.headline-xs:hover { color: var(--red); }
.side-list .meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0;
}

/* Tight live-feed variant: timestamp first, headline below */
.side-list-tight li {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-list-tight .meta {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0;
  font-variant-numeric: tabular-nums;
}
.side-list-tight a.headline-xs {
  font-size: 14px;
  line-height: 1.32;
}

/* ---------- AUTHOR PROFILE PAGE ---------- */
.author-profile {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 48px;
  margin-top: 0;
}
.author-profile-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: start;
}
.author-profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ccc center/cover no-repeat;
  border: 4px solid #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.author-profile-info { min-width: 0; }
.author-profile-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.author-profile-name {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0;
}
.author-profile-bio {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 18px 0 0;
  max-width: 720px;
}
.author-profile-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.author-profile-social {
  display: flex;
  gap: 8px;
}
.author-profile-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.15s;
}
.author-profile-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.author-profile-social svg { width: 16px; height: 16px; }
.author-profile-mail {
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.15s;
}
.author-profile-mail:hover {
  background: var(--ink);
  color: #fff;
}
.author-profile-mail svg { width: 14px; height: 14px; }

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.author-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.author-stat-num .red { color: var(--red); }
.author-stat-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

.author-articles {
  padding: 48px 0 32px;
}
.author-articles .section-head { margin-bottom: 24px; }

.author-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.author-filter {
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.author-filter:hover { border-color: var(--ink); color: var(--ink); }
.author-filter.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 0;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.load-more:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 40px 0 8px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  transition: all 0.15s;
  font-variant-numeric: tabular-nums;
}
.pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  cursor: default;
}
.pagination .dots {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-weight: 700;
  letter-spacing: 2px;
  min-width: 28px;
  padding: 0 4px;
}
.pagination .nav-arrow {
  min-width: 40px;
  padding: 0;
}
.pagination .nav-arrow svg { width: 16px; height: 16px; }
.pagination .nav-arrow.disabled {
  color: var(--muted-2);
  cursor: not-allowed;
  pointer-events: none;
  background: var(--cream);
}
.pagination-info {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .pagination { gap: 4px; margin: 32px 0 4px; }
  .pagination a,
  .pagination span { min-width: 36px; height: 36px; font-size: 13px; padding: 0 10px; }
  .pagination .nav-arrow { min-width: 36px; padding: 0; }
}

@media (max-width: 720px) {
  .author-profile { padding: 28px 0 32px; }
  .author-profile-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }
  .author-profile-avatar { width: 110px; height: 110px; border-width: 3px; }
  .author-profile-name { font-size: 28px; }
  .author-profile-bio { font-size: 15px; margin-top: 12px; }
  .author-profile-meta { margin-top: 18px; gap: 10px; }
  .author-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
  }
  .author-stat-num { font-size: 22px; }
  .author-articles { padding: 32px 0 24px; }
}

/* ---------- AD ---------- */
.ad {
  background: var(--ad-bg);
  border: 1px solid var(--ad-border);
  text-align: center;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0 auto;
}
.ad-label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: #fff;
  padding: 0 6px;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted-2);
}
.ad-wrap { position: relative; margin: 28px 0; }
.ad-300 { height: 250px; width: 300px; max-width: 100%; }
.ad-728 { height: 90px; }
.ad-300x600 { height: 600px; width: 300px; max-width: 100%; }
.ad-rect { height: 250px; }
.ad-inline { height: 90px; max-width: 728px; margin: 0 auto; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
  margin-top: 40px;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter h2 {
  color: #fff;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}
.newsletter p {
  color: #c8c8c0;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid #555;
  color: #fff;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.newsletter-form input::placeholder { color: #888; }
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form button {
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 700;
}
.newsletter-form button:hover { background: var(--red-dark); }
.newsletter-note {
  font-size: 12px;
  color: #888;
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0c0c0c;
  color: #aaa;
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h3 {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul {
  list-style: none;
  margin: 0; padding: 0;
}
.footer li { padding: 6px 0; }
.footer a:hover { color: #fff; }
.footer .logo {
  font-size: 36px;
  text-align: left;
}
.footer .logo .news { color: var(--red); }
.footer .logo .hora { color: #fff; }
.footer-tag {
  text-align: left;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0;
  margin-top: 8px;
  text-transform: uppercase;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}
.footer-social a:hover { border-color: var(--red); color: #fff; background: var(--red); }
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #aaa;
}
.footer-bottom a { color: #aaa; margin-left: 18px; }

/* ---------- CONTINUE-READING BUTTON ---------- */
.continue-wrap {
  margin: 40px 0 0;
}
.continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 28px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s;
}
.continue-btn svg { transition: transform 0.2s; }
.continue-btn:hover {
  background: var(--red-dark);
  color: #fff;
}
.continue-btn:hover svg { transform: translateX(4px); }
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  padding: 18px 0 0;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; color: var(--line-2); }
.breadcrumb .here { color: var(--ink); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  padding: 32px 0 64px;
  align-items: start;
}

.article {
  max-width: 740px;
}

.article-head {
  margin-bottom: 28px;
}
.article-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-title {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--ink);
}
.article-dek {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 18px;
  font-weight: 400;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #ccc center/cover no-repeat;
  flex-shrink: 0;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
  font-size: 13px;
}
.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
a.author-name:hover { color: var(--red); }
.author-role {
  font-size: 13px;
  color: var(--muted);
}
.author-role::before { content: "·"; margin: 0 4px; color: var(--muted-2); }
.meta-dates {
  margin-left: auto;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.meta-dates strong { color: var(--ink); font-weight: 500; }

.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.share-row-end {
  margin: 40px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share-row .lbl {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.share-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--line);
}
.share-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

.article-hero {
  margin: 0 0 12px;
}
.article-hero .img { aspect-ratio: 16 / 9; }
.article-hero .cap { padding: 0 2px; }

.article-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.article-body p { margin: 0 0 22px; }
.article-body p:first-of-type::first-letter {
  /* small editorial drop cap - subtle, no special font */
  font-size: 1.05em;
}
.article-body h2 {
  font-size: 26px;
  margin: 36px 0 14px;
  line-height: 1.2;
}
.article-body h3 {
  font-size: 20px;
  margin: 28px 0 12px;
}
.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.article-body a:hover { color: var(--red); }
.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--red);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-style: normal;
}
.article-body blockquote .src {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
}
.article-body ul, .article-body ol {
  margin: 0 0 22px 0;
  padding-left: 22px;
}
.article-body ul li, .article-body ol li {
  margin-bottom: 8px;
}

.inline-ad {
  margin: 32px 0;
}

.tags {
  margin: 40px 0 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tags .lbl {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.author-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--cream);
  margin: 0 0 40px;
  align-items: start;
  color: var(--ink);
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}
.author-card:hover {
  background: var(--cream-2);
  color: var(--ink);
}
.author-card:hover .name { color: var(--red); }
.author-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #ccc center/cover no-repeat;
}
.author-card .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.author-card .role {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}
.author-card .bio {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 10px;
}
.author-card .author-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.15s;
}
.author-card .author-cta:hover { background: var(--red); color: #fff; }
.author-card .links {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.author-card .links a:hover { color: var(--red); }

.related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}
.related h2 {
  font-size: 20px;
  letter-spacing: 0;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-card .img { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.related-card .kicker { font-size: 10px; }
.related-card .headline-sm { font-size: 16px; }

/* ---------- ARTICLE SIDEBAR ---------- */
.article-sidebar {
  position: sticky;
  top: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.article-sidebar .ad-300x600 { width: 100%; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav-list a { padding: 8px 9px; font-size: 12px; }
  .masthead-inner { gap: 16px; padding: 14px 24px; }
}
@media (max-width: 1024px) {
  .masthead-inner { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; min-width: 0; width: 100%; max-width: 100%; overflow: hidden; }
  .nav-inner { justify-content: flex-start; overflow-x: auto; padding: 0 4px; width: 100%; max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-list { flex-wrap: nowrap; }
  .nav-list a { white-space: nowrap; }

  .main-hero { grid-template-columns: 1fr; gap: 20px; }
  .main-hero .hero-main { min-height: 480px; }
  .hero-aside { gap: 14px; }
  .mini-card { min-height: 200px; }

  .subhero { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .cat-grid { grid-template-columns: 1fr; gap: 0; }
  .cat-block { grid-row: auto; gap: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
  .cat-block:last-child { border-bottom: 0; margin-bottom: 0; }

  .latest { grid-template-columns: 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 720px) {
  .container, .container-wide { padding: 0 16px; }
  body { font-size: 15px; }

  /* MASTHEAD — hamburger left, logo center, search right */
  .masthead-inner {
    padding: 10px 12px;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .menu-btn { display: inline-flex; }
  .logo { font-size: 22px; }
  .logo .dot { width: 5px; height: 5px; transform: translateY(-11px); }

  /* Hide inline horizontal nav on mobile — replaced by drawer */
  .masthead .nav { display: none; }
  .mast-side.right { gap: 4px; }
  .icon-btn { width: 40px; height: 40px; }

  /* HERO */
  .main-hero { padding: 18px 0 24px; gap: 14px; }
  .main-hero .hero-main { min-height: 420px; aspect-ratio: 4 / 5; border-radius: 8px; }
  .main-hero .hero-content { padding: 22px 18px 22px; }
  .main-hero .headline-xl { font-size: 26px; line-height: 1.1; margin-top: 12px; }
  .main-hero .dek { font-size: 14px; line-height: 1.45; margin-top: 12px; }
  .main-hero .byline { font-size: 11px; margin-top: 14px; }
  .main-hero .badge { top: 14px; left: 14px; padding: 5px 10px; font-size: 10px; }

  /* Mini cards — slightly taller, full-width, comfortable padding */
  .hero-aside { gap: 12px; }
  .mini-card { min-height: 200px; border-radius: 8px; }
  .mini-card .mini-text { padding: 18px 16px; }
  .mini-card .headline-md { font-size: 16px; line-height: 1.22; }
  .mini-card .kicker { font-size: 9px; padding: 3px 8px; margin-bottom: 8px; }
  .mini-card .meta { font-size: 10px; margin-top: 6px; }

  /* SUBHERO -> single column with bigger images */
  .subhero { grid-template-columns: 1fr; gap: 22px; padding: 4px 0 28px; }
  .subhero-card .card-img { margin-bottom: 12px; }
  .subhero-card .headline-sm { font-size: 17px; line-height: 1.28; }
  .subhero-card .img-tag { font-size: 9px; padding: 4px 9px; top: 10px; left: 10px; }
  .subhero-card .meta { margin-top: 8px; }

  /* SECTIONS / CAT BLOCKS */
  .section { padding: 32px 0 24px; }
  .section-title { font-size: 19px; padding-left: 11px; }
  .section-head { margin-bottom: 20px; padding-bottom: 12px; }
  .section-link { font-size: 12px; }

  .cat-grid { gap: 0; }
  .cat-block { padding-bottom: 24px; margin-bottom: 24px; }
  .cat-block .lead .img { border-radius: 6px; }
  .cat-block .lead .headline-md { font-size: 18px; margin-top: 12px; line-height: 1.22; }
  .cat-block .lead .dek-sm { font-size: 13px; margin-top: 6px; }
  .cat-block .lead .lead-time { margin-top: 8px; }
  .cat-block ul li { grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; }
  .cat-block ul li .thumb { width: 80px; }
  .cat-block ul li a.headline-xs { font-size: 14px; line-height: 1.3; margin-bottom: 4px; }
  .cat-block ul li .item-time { font-size: 10px; }

  /* LATEST FEED */
  .latest { gap: 28px; }
  .feed-item { grid-template-columns: 110px 1fr; gap: 14px; padding: 16px 0; }
  .feed-item .img { width: 110px; aspect-ratio: 1 / 1; }
  .feed-item .headline-md { font-size: 15px; line-height: 1.28; }
  .feed-item .dek-sm { display: none; }
  .feed-item .time { grid-column: 2; padding-top: 6px; font-size: 11px; color: var(--muted); }
  .feed-item .kicker { font-size: 9px; margin-bottom: 4px; }

  /* SIDEBAR */
  .sidebar { gap: 24px; margin-top: 8px; }
  .ad-300, .ad-300x600 { width: 100%; max-width: 100%; }
  .ad-300x600 { height: 240px; }
  .ad-728 { height: 80px; }
  .ad-wrap { margin: 20px 0; }

  /* HEADLINES SCALE */
  .headline-xl { font-size: 28px; }
  .headline-lg { font-size: 22px; }
  .headline-md { font-size: 18px; }

  /* ARTICLE PAGE */
  .article-layout { padding: 12px 0 32px; gap: 24px; }
  .article-title { font-size: 26px; line-height: 1.12; }
  .article-dek { font-size: 16px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { font-size: 22px; margin: 28px 0 12px; }
  .article-body h3 { font-size: 18px; margin: 22px 0 10px; }
  .article-body p { margin: 0 0 18px; }
  .article-body blockquote { font-size: 18px; padding-left: 18px; margin: 24px 0; }
  .article-hero .img { aspect-ratio: 4 / 3; }

  .article-meta { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .meta-dates { width: 100%; margin-left: 0; text-align: left; font-size: 11px; }
  .share-row { flex-wrap: wrap; gap: 6px; padding: 14px 0; }
  .share-row .lbl { width: 100%; margin-bottom: 4px; }
  .share-btn { width: 36px; height: 36px; }

  .author-card { grid-template-columns: 64px 1fr; gap: 14px; padding: 18px; }
  .author-card .avatar { width: 64px; height: 64px; }
  .author-card .name { font-size: 15px; }
  .author-card .bio { font-size: 13px; }

  .related { margin-top: 36px; padding-top: 24px; }
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
  .related h2 { font-size: 18px; }

  .tags { padding: 18px 0; margin: 28px 0 20px; }
  .tag { font-size: 12px; padding: 5px 10px; }

  .continue-btn { padding: 16px 20px; font-size: 14px; }

  .breadcrumb { padding: 14px 0 0; font-size: 11px; }

  /* SECTION ESPECIAIS - reduce big top padding */
  .section[style*="cream"] { padding: 36px 0 !important; margin-top: 20px !important; }

  /* FOOTER */
  .footer { padding: 36px 0 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer .logo { font-size: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; text-align: left; margin-top: 28px; padding-top: 20px; }
  .footer-bottom > div:last-child { display: flex; flex-wrap: wrap; gap: 14px; }
  .footer-bottom > div:last-child a { margin-left: 0; margin-right: 0; }

  /* SEARCH */
  .masthead-search { padding: 0 12px; gap: 8px; }
  .masthead-search input { font-size: 16px; }
  .masthead-search-results { left: 12px; right: 12px; max-height: 70vh; }
  .ms-result { padding: 11px 14px; font-size: 13px; gap: 10px; }
  .ms-cat { font-size: 10px; }

  /* ADS in article */
  .ad-inline { height: 70px; }
}

@media (max-width: 420px) {
  .logo { font-size: 20px; }
  .main-hero .headline-xl { font-size: 23px; }
  .article-title { font-size: 22px; }
  .mini-card .headline-md { font-size: 15px; }
  .mini-card { min-height: 180px; }
  .cat-block ul li { grid-template-columns: 70px 1fr; gap: 11px; }
  .cat-block ul li .thumb { width: 70px; }
  .feed-item { grid-template-columns: 96px 1fr; gap: 12px; }
  .feed-item .img { width: 96px; }
  .headline-xl { font-size: 24px; }
}

/* ---------- MASTHEAD INLINE SEARCH ---------- */
.masthead-inner { position: relative; }

/* hide the regular nav / icon when searching */
.masthead-inner.searching .nav,
.masthead-inner.searching .mast-side.right { visibility: hidden; }

.masthead-search {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  background: var(--bg);
  z-index: 60;
}
.masthead-inner.searching .masthead-search { display: flex; }
.masthead-search > svg { color: var(--muted); flex-shrink: 0; }
.masthead-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
  padding: 12px 0;
  min-width: 0;
}
.masthead-search input::placeholder { color: var(--muted-2); font-weight: 400; }
.masthead-search .search-close {
  background: var(--cream);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.masthead-search .search-close:hover { background: var(--ink); color: #fff; }

.masthead-search-results {
  position: absolute;
  top: 100%;
  left: 24px;
  right: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  margin-top: 8px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 60;
}
.masthead-search-results[hidden] { display: none; }
.ms-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  overflow: hidden;
}
.ms-result:first-child { border-top: 0; }
.ms-result:hover { background: var(--cream); color: var(--red); }
.ms-text {
  min-width: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ms-text mark {
  background: rgba(216, 17, 46, 0.14);
  color: var(--red);
  padding: 0 2px;
  font-weight: 700;
  border-radius: 2px;
}
.ms-cat {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.ms-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.ico {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}
.ico-sm { width: 14px; height: 14px; }
.ico-lg { width: 18px; height: 18px; }

/* ---------- REAL <img> SUPPORT (instead of background-image inline) ---------- */
.img { position: relative; overflow: hidden; }
.img > img,
.img-bg > img,
.thumb > img,
.card-img > img,
.side-card-img > img,
.author-avatar > img,
.author-profile-avatar > img,
.author-card .avatar > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.hero-main .img-bg > img,
.mini-card .img-bg > img { width: 100%; height: 100%; object-fit: cover; }
.thumb { position: relative; overflow: hidden; }
.thumb > img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar, .author-profile-avatar, .author-card .avatar { overflow: hidden; }
.author-card .avatar > img { width: 100%; height: 100%; object-fit: cover; }
img.lazy-fallback { opacity: 0; }

/* ---------- AUTHOR PROFILE: socials + email ---------- */
.author-profile-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.author-profile-role {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.author-profile-avatar { position: relative; }
.author-profile-avatar.no-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- AUTHOR CARD inside article (link) ---------- */
.author-card { text-decoration: none; }
.author-card .avatar.no-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.author-avatar.no-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* Sidebar do artigo some quando não há nenhum anúncio injetado */
.article-sidebar:empty { display: none; }
.article-layout:has(.article-sidebar:empty) { grid-template-columns: 1fr; }

/* ---------- SEARCH PAGE ---------- */
.search-page { padding: 32px 0 56px; }
.search-form {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  max-width: 720px;
}
.search-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--radius);
  outline: 0;
}
.search-form input:focus { border-color: var(--ink); }
.search-form button {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
}
.search-form button:hover { background: var(--red); }
.search-summary { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.search-empty {
  padding: 40px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-align: left;
}
.search-empty h2 { font-size: 22px; margin: 0 0 8px; }
.search-empty p { margin: 0; color: var(--muted); font-size: 15px; }
.search-empty mark { background: transparent; color: var(--red); font-weight: 700; }

/* ---------- CATEGORY HEADER + EMPTY STATE ---------- */
.cat-header { padding: 0 0 28px; }
.cat-header h1 {
  font-size: 30px;
  position: relative;
  padding-left: 14px;
  font-weight: 700;
}
.cat-header h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--red);
  border-radius: 2px;
}
.cat-header p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.empty-state {
  padding: 40px 0 32px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- INLINE TIME on cards ---------- */
.feed-item .kicker { display: inline-block; margin-bottom: 6px; }
.feed-item .headline-md { margin: 0; }
.feed-item .time { font-variant-numeric: tabular-nums; }

/* ---------- AVOID CLS for fixed-aspect img containers ---------- */
.img-3x2 { aspect-ratio: 3 / 2; }
.img-4x3 { aspect-ratio: 4 / 3; }
.img-16x9 { aspect-ratio: 16 / 9; }
.img-1x1 { aspect-ratio: 1 / 1; }
.img-21x9 { aspect-ratio: 21 / 9; }

