/* Mural da Vila — layout teste 2026 (editorial portal) */
/* Roboto carregado via <link> no head (evita @import bloqueante) */

:root {
  --mv-blue: #0245b9;
  --mv-blue-dark: #023a9a;
  --mv-blue-darker: #013080;
  --mv-blue-light: #edf2fb;
  --mv-dark: #1a1a1a;
  --mv-text: #2c2c2c;
  --mv-muted: #6b7280;
  --mv-border: #e5e5e5;
  --mv-img-border: #e0e0e0;
  --mv-bg: #f8f9fa;
  --mv-white: #fff;
  --mv-max: 1200px;
  --mv-gap: 24px;
  --mv-radius: 8px;
  --mv-serif: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --mv-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mv-transition: 0.2s ease;
  /* Thumb tier system (Globo-style) */
  --thumb-xs: 64px;
  --thumb-sm: 156px;
  --thumb-md: 160px;
  --thumb-lg: 280px;
  --thumb-feed: 112px;
  --thumb-ratio: 3 / 2;
  --thumb-ratio-xl: 16 / 9;
  /* Hero first fold — carousel left + Globo-style lateral column */
  --hero-col-left: 8.3fr;
  --hero-col-right: 11.7fr;
  --hero-carousel-ratio: 16 / 14.2;
  --hero-grid-gap: 40px;
  --mv-font-manchete: 21px;
  --mv-font-card: 14px;
  --mv-font-list: 15px;
  --mv-font-kicker: 11px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--mv-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--mv-text);
  background: var(--mv-white);
  -webkit-font-smoothing: antialiased;
}

/* Skip link — visível apenas ao foco (teclado / acessibilidade) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--mv-blue);
  color: var(--mv-white);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--mv-radius);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--mv-white);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

/* ── Skeleton screen — progressive image loading ── */
.img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e9ecef;
  line-height: 0;
  border-radius: var(--mv-radius);
}

.skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #e2e5e9 0%, #f0f2f5 45%, #e2e5e9 90%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / min(2rem, 32%) no-repeat;
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.img-wrap.is-loaded .skeleton {
  opacity: 0;
  pointer-events: none;
}

.img-wrap__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.img-wrap.is-loaded .img-wrap__img {
  opacity: 1;
}

.img-wrap.is-error {
  background: #eee;
}

.img-wrap.is-error .skeleton {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  .img-wrap__img { transition-duration: 0.01ms; }
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Skeleton text bars ── */
.skeleton-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  transition: opacity 0.4s ease;
}

.skeleton-text__bar {
  display: block;
  width: 100%;
  height: 1em;
  border-radius: 4px;
  background: linear-gradient(90deg, #e2e5e9 0%, #f0f2f5 45%, #e2e5e9 90%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

.skeleton-text__bar--sm {
  width: 38%;
  height: 0.65em;
}

.skeleton-text__bar--md {
  width: 72%;
}

.skeleton-text--hero .skeleton-text__bar {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.32) 45%, rgba(255, 255, 255, 0.18) 90%);
  background-size: 200% 100%;
}

.skeleton-text--stack .skeleton-text__bar--sm {
  width: 32%;
  height: 10px;
}

.skeleton-text--stack .skeleton-text__bar {
  height: 14px;
}

.skeleton-text--stack .skeleton-text__bar--md {
  width: 88%;
}

.skeleton-text--card .skeleton-text__bar {
  height: 16px;
}

.skeleton-text--card .skeleton-text__bar--md {
  width: 65%;
}

/* Hero main — text skeleton until image loads */
.hero-carousel__slide .txt,
.hero-main .txt {
  position: relative;
}

.hero-carousel__slide .txt-content,
.hero-main .txt-content {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-carousel__slide .skeleton-text,
.hero-main .skeleton-text {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
}

.hero-carousel__slide.is-loaded .skeleton-text,
.hero-main.is-loaded .skeleton-text {
  opacity: 0;
  pointer-events: none;
}

.hero-carousel__slide.is-loaded .txt-content,
.hero-main.is-loaded .txt-content {
  opacity: 1;
}

/* Hero stack — text skeleton per item */
.hero-stack-txt {
  position: relative;
}

.hero-stack-txt-content {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-stack-item .skeleton-text {
  position: absolute;
  inset: 0;
  justify-content: center;
}

.hero-stack-item.is-loaded .skeleton-text {
  opacity: 0;
  pointer-events: none;
}

.hero-stack-item.is-loaded .hero-stack-txt-content {
  opacity: 1;
}

/* News cards — optional title skeleton */
.txt-title-wrap,
.editoria-card__title-wrap {
  position: relative;
  margin-bottom: 8px;
}

.txt-title-wrap h3 {
  margin: 0;
}

.news-card .txt-title-wrap .skeleton-text,
.editoria-card .editoria-card__title-wrap .skeleton-text {
  position: absolute;
  inset: 0;
}

.news-card .txt-title-wrap h3,
.editoria-card .editoria-card__title-wrap h3 {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.news-card.is-loaded .txt-title-wrap .skeleton-text,
.editoria-card.is-loaded .editoria-card__title-wrap .skeleton-text {
  opacity: 0;
  pointer-events: none;
}

.news-card.is-loaded .txt-title-wrap h3,
.editoria-card.is-loaded .editoria-card__title-wrap h3 {
  opacity: 1;
}

/* Cidades featured — same title skeleton pattern as editoria cards */
.editoria-cidades-featured .editoria-card__title-wrap .skeleton-text {
  position: absolute;
  inset: 0;
}

.editoria-cidades-featured .editoria-card__title-wrap h3 {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.editoria-cidades-featured.is-loaded .editoria-card__title-wrap .skeleton-text {
  opacity: 0;
  pointer-events: none;
}

.editoria-cidades-featured.is-loaded .editoria-card__title-wrap h3 {
  opacity: 1;
}

/* Hero lateral — manchete, thumb cards, news list */
.hero-lateral__headline-wrap,
.hero-lateral__thumb-title-wrap,
.hero-lateral__list-text-wrap,
.mv-parceiros__title-wrap,
.mv-parceiros__excerpt-wrap,
.mais-lidas__title-wrap {
  position: relative;
  display: block;
}

.hero-lateral__headline,
.hero-lateral__thumb-title,
.hero-lateral__list-text,
.mv-parceiros__title,
.mv-parceiros__excerpt,
.mais-lidas__title-wrap a {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-lateral__headline-wrap .skeleton-text,
.hero-lateral__thumb-title-wrap .skeleton-text,
.hero-lateral__list-text-wrap .skeleton-text,
.mv-parceiros__title-wrap .skeleton-text,
.mv-parceiros__excerpt-wrap .skeleton-text,
.mais-lidas__title-wrap .skeleton-text {
  position: absolute;
  inset: 0;
}

.skeleton-text--manchete .skeleton-text__bar {
  height: 18px;
}

.skeleton-text--manchete .skeleton-text__bar--sm {
  width: 28%;
  height: 14px;
}

.skeleton-text--thumb .skeleton-text__bar {
  height: 14px;
}

.skeleton-text--thumb .skeleton-text__bar--md {
  width: 75%;
}

.skeleton-text--list .skeleton-text__bar {
  height: 14px;
}

.skeleton-text--partner .skeleton-text__bar {
  height: 14px;
}

.skeleton-text--partner .skeleton-text__bar--sm {
  width: 45%;
  height: 12px;
}

.hero-lateral__manchete.is-loaded .skeleton-text,
.hero-lateral__thumb-card.is-loaded .skeleton-text,
.hero-lateral__list-item.is-loaded .skeleton-text,
.mv-parceiros__card.is-loaded .skeleton-text,
.mais-lidas li.is-loaded .skeleton-text {
  opacity: 0;
  pointer-events: none;
}

.hero-lateral__manchete.is-loaded .hero-lateral__headline,
.hero-lateral__thumb-card.is-loaded .hero-lateral__thumb-title,
.hero-lateral__list-item.is-loaded .hero-lateral__list-text,
.mv-parceiros__card.is-loaded .mv-parceiros__title,
.mv-parceiros__card.is-loaded .mv-parceiros__excerpt,
.mais-lidas li.is-loaded .mais-lidas__title-wrap a {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-text__bar { animation: none; }
  .hero-carousel__slide .txt-content,
  .hero-main .txt-content,
  .hero-stack-txt-content,
  .news-card .txt-title-wrap h3,
  .editoria-card .editoria-card__title-wrap h3,
  .editoria-cidades-featured .editoria-card__title-wrap h3,
  .hero-lateral__headline,
  .hero-lateral__thumb-title,
  .hero-lateral__list-text,
  .mv-parceiros__title,
  .mv-parceiros__excerpt,
  .mais-lidas__title-wrap a { transition-duration: 0.01ms; }
  .hero-carousel__slide,
  .mv-sponsor-carousel__slide { transition-duration: 0.01ms; }
}

/* ── Thumb design system — fixed aspect-ratio boxes (Globo-style) ── */
.img-wrap.mv-thumb {
  aspect-ratio: var(--thumb-ratio);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.img-wrap.mv-thumb .img-wrap__img {
  object-fit: cover;
  object-position: center;
}

/* XS — manchete strip only */
.img-wrap.mv-thumb--xs {
  width: var(--thumb-xs);
  flex-shrink: 0;
}

/* SM — compact sidebars / hero stack */
.img-wrap.mv-thumb--sm {
  width: var(--thumb-sm);
  flex-shrink: 0;
}

/* MD — horizontal list items (thumb fixed, text flexes) */
.img-wrap.mv-thumb--md {
  width: var(--thumb-md);
  flex-shrink: 0;
}

/* LG — editoria grid cards (uniform row height via ratio) */
.img-wrap.mv-thumb--lg {
  width: 100%;
}

/* XL — hero carousel (full column, 16:9) */
.img-wrap.mv-thumb--xl {
  width: 100%;
  aspect-ratio: var(--thumb-ratio-xl);
}

/* Fill — stretch to parent media slot (Cidades featured lateral) */
.img-wrap.mv-thumb--fill {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
}

/* Legacy / non-tier ratios (sponsor, partner logos) */
.img-wrap--3-2 { aspect-ratio: 3 / 2; }
.img-wrap--16-9 { aspect-ratio: 16 / 9; }
.img-wrap--leaderboard { aspect-ratio: 970 / 90; }
.img-wrap--square { aspect-ratio: 1 / 1; }
.img-wrap--fill { width: 100%; height: 100%; aspect-ratio: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--mv-transition);
}

.wrap {
  width: min(100% - var(--mv-gap), var(--mv-max));
  margin: 0 auto;
}

/* ── Test banner (discrete) ── */
.test-banner {
  background: #fffbeb;
  color: #92400e;
  text-align: center;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #fde68a;
}

/* ── Header datetime strip ── */
.header-datetime {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.header-datetime__text {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  padding: 7px 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

@media (min-width: 769px) {
  .header-datetime__text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .header-datetime {
    display: none;
  }
}

/* ── Header / Nav ── */
.header {
  background: var(--mv-white);
  border-bottom: 1px solid var(--mv-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.logo {
  flex-shrink: 0;
  line-height: 0;
}

.logo img { height: 40px; width: auto; }

.nav-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  color: var(--mv-text);
  border-bottom: 2px solid transparent;
  transition: color var(--mv-transition), border-color var(--mv-transition);
}

.nav a:hover,
.nav a.active {
  color: var(--mv-blue);
  border-bottom-color: var(--mv-blue);
}

.header-search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--mv-muted);
  cursor: pointer;
  border-radius: var(--mv-radius);
  transition: color var(--mv-transition), background var(--mv-transition);
}

.header-search:hover {
  color: var(--mv-blue);
  background: var(--mv-blue-light);
}

.header-search svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Mobile nav drawer (CNN-style) ── */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--mv-blue);
  cursor: pointer;
  border-radius: var(--mv-radius);
  transition: background var(--mv-transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--mv-blue-light);
  outline: none;
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer — fixed overlay; hidden off-screen when closed */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer svg,
.nav-hamburger svg,
.nav-toggle svg {
  max-width: 24px;
  max-height: 24px;
}

.nav-drawer__overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(1, 48, 128, 0.45);
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.is-open .nav-drawer__overlay {
  opacity: 1;
}

.nav-drawer__panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 251;
  display: flex;
  flex-direction: column;
  width: min(320px, 88vw);
  max-width: 100%;
  height: 100%;
  background: var(--mv-white);
  box-shadow: 8px 0 32px rgba(2, 69, 185, 0.14);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0;
  min-height: 56px;
  padding: 8px 12px;
  background: var(--mv-white);
  border-bottom: 1px solid var(--mv-border);
  flex-shrink: 0;
}

.nav-drawer__head-spacer {
  width: 44px;
  height: 44px;
}

.nav-drawer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  line-height: 0;
}

.nav-drawer__logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--mv-blue);
  cursor: pointer;
  border-radius: var(--mv-radius);
  transition: background var(--mv-transition);
}

.nav-drawer__close:hover,
.nav-drawer__close:focus-visible {
  background: var(--mv-blue-light);
  outline: none;
}

.nav-drawer__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-drawer__search-wrap {
  flex-shrink: 0;
  padding: 12px 16px;
  background: var(--mv-white);
  border-bottom: 1px solid var(--mv-border);
}

.nav-drawer__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  font-family: var(--mv-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  color: var(--mv-muted);
  background: #f0f1f3;
  border: 1px solid transparent;
  border-radius: 22px;
  transition: background var(--mv-transition), border-color var(--mv-transition);
}

.nav-drawer__search:hover,
.nav-drawer__search:focus-visible {
  background: #e8eaee;
  border-color: var(--mv-border);
  outline: none;
}

.nav-drawer__search-label {
  flex: 1;
  text-align: left;
}

.nav-drawer__search svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--mv-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--mv-white);
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-drawer__nav a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 16px 20px;
  font-family: var(--mv-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  color: var(--mv-dark);
  background: var(--mv-white);
  border: none;
  border-bottom: 1px solid var(--mv-border);
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: color var(--mv-transition), background var(--mv-transition), border-color var(--mv-transition);
}

.nav-drawer__nav a:hover,
.nav-drawer__nav a:focus-visible {
  color: var(--mv-blue);
  background: var(--mv-blue-light);
  outline: none;
}

.nav-drawer__nav a.active {
  color: var(--mv-blue);
  background: var(--mv-blue-light);
  border-left-color: var(--mv-blue);
}

body.nav-drawer-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-scroll {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    gap: 12px;
  }

  .nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
  }
}

@media (min-width: 769px) {
  .nav-drawer,
  .nav-drawer__overlay,
  .nav-drawer__panel,
  .nav-drawer__search-wrap,
  .nav-drawer__nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-hamburger,
  .nav-toggle {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-drawer__overlay,
  .nav-drawer__panel,
  .nav-toggle__icon span {
    transition: none;
  }
}

/* ── Manchete (top headline strip) ── */
.manchete {
  background: var(--mv-blue-darker);
  color: var(--mv-white);
  border-bottom: 3px solid var(--mv-blue);
}

.manchete-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  min-height: 56px;
}

.manchete-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mv-blue-darker);
  background: var(--mv-white);
  padding: 5px 10px;
  border-radius: var(--mv-radius);
  line-height: 1;
}

.manchete-link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  color: var(--mv-white);
  transition: opacity var(--mv-transition);
}

.manchete-link:hover { opacity: 0.88; }

.manchete-thumb {
  flex-shrink: 0;
  display: block;
  width: var(--thumb-xs);
  aspect-ratio: var(--thumb-ratio);
  border-radius: var(--mv-radius);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  line-height: 0;
}

.manchete-thumb .mv-thumb {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.manchete-title {
  font-family: var(--mv-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Parceiros / sponsor strip (below manchete, above hero) ── */
.mv-parceiros {
  background: var(--mv-white);
  border-bottom: 1px solid var(--mv-border);
}

.mv-parceiros__sponsor {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--mv-border);
}

/* Sponsor / advertiser banner — fade rotation (production banner_topo.php, 13s) */
.mv-ad-carousel__track {
  position: relative;
  max-width: 970px;
  margin: 0 auto;
  aspect-ratio: 970 / 90;
}

.mv-sponsor-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 0;
}

.mv-sponsor-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.mv-sponsor-carousel__slide > .mv-parceiros__sponsor-link {
  width: 100%;
  height: 100%;
}

.mv-ad-zone__link,
.mv-parceiros__sponsor-link {
  display: block;
  width: 100%;
  height: 100%;
}

.mv-ad-carousel__slide .img-wrap--leaderboard,
.mv-sponsor-carousel__slide .img-wrap--leaderboard {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.mv-ad-carousel__slide .img-wrap--leaderboard .img-wrap__img,
.mv-sponsor-carousel__slide .img-wrap--leaderboard .img-wrap__img {
  object-fit: contain;
  object-position: center;
}

/* ── Ad zones — leaderboard topo/meio/rodapé (970×90) ── */
.mv-ad-zone,
.mv-ad-banner {
  padding: 20px 0;
}

.mv-ad-zone--topo.mv-parceiros__sponsor {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--mv-border);
}

.mv-ad-zone--mid,
.mv-ad-banner--mid {
  border-bottom: 1px solid var(--mv-border);
}

.mv-ad-zone--footer,
.mv-ad-banner--footer {
  margin: 8px 0 4px;
}

.mv-parceiros__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mv-parceiros__item {
  border-right: 1px solid var(--mv-border);
}

.mv-parceiros__item:last-child {
  border-right: 0;
}

.mv-parceiros__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  min-height: 100%;
  transition: background var(--mv-transition);
}

.mv-parceiros__card:hover {
  background: var(--mv-blue-light);
}

.mv-parceiros__logo {
  flex-shrink: 0;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--mv-border);
  line-height: 0;
  background: var(--mv-white);
}

.mv-parceiros__logo .img-wrap--partner-logo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.mv-parceiros__logo .img-wrap__img {
  object-fit: cover;
}

.mv-parceiros__body {
  flex: 1;
  min-width: 0;
}

.mv-parceiros__title {
  display: block;
  font-family: var(--mv-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mv-dark);
  margin-bottom: 4px;
  transition: color var(--mv-transition);
}

.mv-parceiros__card:hover .mv-parceiros__title {
  color: var(--mv-blue);
}

.mv-parceiros__excerpt {
  display: -webkit-box;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--mv-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Main layout ── */
.main { padding: var(--mv-gap) 0 48px; }

.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--mv-gap);
  align-items: start;
}

/* ── Hero (carousel + Globo-style lateral column) ── */
.hero-block { margin-bottom: 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--hero-col-left)) minmax(0, var(--hero-col-right));
  gap: var(--hero-grid-gap);
  align-items: stretch;
  container-type: inline-size;
}

.hero-main {
  min-width: 0;
  position: relative;
  border-radius: var(--mv-radius);
  overflow: hidden;
  border: 0;
  background: transparent;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

/* Hero carousel — fade rotation (production destaques 2–6) */
.hero-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: var(--hero-carousel-ratio);
  background: #e9ecef;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 0;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-carousel__slide > a {
  display: block;
  line-height: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide .mv-thumb--xl,
.hero-carousel__slide .mv-thumb--fill {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
}

.hero-carousel__slide .txt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 48px 24px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  color: var(--mv-white);
  pointer-events: none;
}

.hero-carousel__slide .txt a {
  pointer-events: auto;
}

.hero-carousel__nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--mv-white);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--mv-transition), background var(--mv-transition);
}

.hero-carousel:hover .hero-carousel__btn,
.hero-carousel:focus-within .hero-carousel__btn {
  opacity: 1;
}

.hero-carousel__btn:hover {
  background: rgba(2, 69, 185, 0.85);
}

.hero-carousel__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-carousel__btn--prev { left: 10px; }
.hero-carousel__btn--next { right: 10px; }

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--mv-transition), transform var(--mv-transition);
}

.hero-carousel__dot.is-active {
  background: var(--mv-white);
  transform: scale(1.15);
}

.hero-main > a {
  display: block;
  line-height: 0;
  width: 100%;
  overflow: hidden;
}

.hero-main .img-wrap {
  width: 100%;
}

.hero-main .txt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 48px 24px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  color: var(--mv-white);
  pointer-events: none;
}

.hero-main .txt a {
  pointer-events: auto;
}

.hero-main h1,
.hero-carousel__slide h1,
.hero-carousel__slide .hero-carousel__title {
  margin: 0;
  font-family: var(--mv-serif);
  font-size: var(--mv-font-manchete);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-main h1 a,
.hero-carousel__slide h1 a,
.hero-carousel__slide .hero-carousel__title a {
  color: var(--mv-white);
  transition: color var(--mv-transition);
}

.hero-main h1 a:hover,
.hero-carousel__slide h1 a:hover,
.hero-carousel__slide .hero-carousel__title a:hover { color: #93b5e8; }

.hero-main .kicker,
.hero-carousel__slide .kicker {
  display: inline-block;
  font-size: var(--mv-font-kicker);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

/* Hero right — Globo-style lateral column (manchete + thumbs + list) */
.hero-side {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: stretch;
  min-height: 0;
  align-self: stretch;
  height: 100%;
}

.hero-lateral {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0 16px 0 8px;
  background: var(--mv-white);
}

.hero-lateral__manchete {
  flex-shrink: 0;
  padding: 0 0 16px;
  margin: 0;
  border-bottom: 1px solid var(--mv-dark);
}

.hero-lateral__headline-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-lateral__headline {
  display: block;
  margin: 0;
  font-family: var(--mv-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--mv-dark);
  transition: color var(--mv-transition);
}

.hero-lateral__headline-wrap:hover .hero-lateral__headline {
  color: var(--mv-blue);
}

.hero-lateral__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex-shrink: 0;
  margin-top: 24px;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mv-border);
  align-items: stretch;
}

.hero-lateral__thumb-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-lateral__thumb-media {
  display: block;
  width: 100%;
  aspect-ratio: var(--thumb-ratio);
  border-radius: var(--mv-radius);
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.hero-lateral__thumb-media .mv-thumb,
.hero-lateral__thumb-media .hero-lateral__thumb-img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: var(--mv-radius);
}

.hero-lateral__thumb-title {
  display: -webkit-box;
  flex: 1;
  font-family: var(--mv-sans);
  font-size: var(--mv-font-card);
  font-weight: 500;
  line-height: 1.35;
  color: var(--mv-text);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--mv-transition);
}

.hero-lateral__thumb-card:hover .hero-lateral__thumb-title {
  color: var(--mv-blue);
}

.hero-lateral__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.hero-lateral__list-item {
  flex: 1;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.hero-lateral__list-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 2px 0;
  font-size: var(--mv-font-card);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--mv-transition);
}

.hero-lateral__list-link:hover {
  opacity: 0.88;
}

.hero-lateral__list-link:hover .hero-lateral__list-text {
  color: var(--mv-blue);
}

.hero-lateral__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mv-blue);
  color: var(--mv-white);
}

.hero-lateral__icon svg {
  display: none;
}

.hero-lateral__list-text {
  flex: 1;
  min-width: 0;
  font-family: var(--mv-sans);
  font-size: var(--mv-font-card);
  font-weight: 500;
  line-height: 1.4;
  color: var(--mv-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--mv-transition);
}

/* Legacy hero-stack (unused on index_teste_2026) */
.hero-stack--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-stack-item {
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
  border: 0;
  border-radius: var(--mv-radius);
  background: transparent;
  transition: box-shadow var(--mv-transition);
}

.hero-stack-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-stack-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.hero-stack-thumb {
  display: block;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  line-height: 0;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.hero-stack-thumb .mv-thumb,
.hero-stack-thumb .hero-stack-thumb__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
}

.hero-stack-txt {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 12px;
  position: relative;
}

.hero-stack-title {
  margin: 0;
  font-family: var(--mv-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mv-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--mv-transition);
}

.hero-stack-card:hover .hero-stack-title { color: var(--mv-blue); }

.hero-stack-txt .label {
  font-size: 9px;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hero-stack-item .skeleton-text {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
}

.label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mv-blue);
  margin-bottom: 4px;
}

/* ── Section headers (thin left border) ── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mv-border);
}

.section-title {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--mv-blue);
  font-family: var(--mv-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mv-dark);
  line-height: 1.2;
}

.more-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--mv-blue);
  white-space: nowrap;
  transition: opacity var(--mv-transition);
}

.more-link:hover { opacity: 0.75; text-decoration: underline; }

/* ── Segunda dobra — Cidades, Educação, Política (Globo-style) ── */
.segunda-dobra {
  margin-bottom: 40px;
}

.editoria-row {
  padding: 36px 0;
  border-top: 1px solid var(--mv-border);
}

.editoria-row:first-child {
  border-top: 0;
  padding-top: 8px;
}

.editoria-row--alt {
  background: var(--mv-bg);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* Cidades — Globo-style: lateral featured + side stack + bottom row */
.editoria-cidades {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: stretch;
}

.editoria-cidades__featured {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}

.editoria-cidades__side {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.editoria-cidades__bottom {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Featured — image left (~45%), text right, padded white card */
.editoria-cidades-featured {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 16px 20px;
  background: var(--mv-white);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
  transition: border-color var(--mv-transition), box-shadow var(--mv-transition);
}

.editoria-cidades-featured:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.editoria-cidades-featured__media {
  flex: 0 0 45%;
  max-width: 45%;
  display: block;
  line-height: 0;
  min-width: 0;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.editoria-cidades-featured__media .mv-thumb--fill {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--thumb-ratio);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.editoria-featured-txt {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px 0;
  min-width: 0;
}

.editoria-featured-txt .editoria-card__cat {
  margin-bottom: 4px;
}

.editoria-featured-txt .editoria-card__title-wrap {
  margin-bottom: 6px;
}

.editoria-featured-txt .editoria-card__title-wrap h3 {
  margin: 0;
  font-family: var(--mv-serif);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editoria-featured-txt .editoria-card__title-wrap h3 a {
  transition: color var(--mv-transition);
}

.editoria-cidades-featured:hover .editoria-featured-txt .editoria-card__title-wrap h3 a {
  color: var(--mv-blue);
}

.editoria-featured-txt time {
  font-size: 11px;
  color: var(--mv-muted);
}

/* Side stack — medium thumbs, balanced with featured height */
.editoria-cidades .editoria-card--cidades-side {
  flex: 1;
  flex-direction: row;
  align-items: stretch;
  padding: 12px 14px;
  gap: 14px;
  overflow: visible;
}

.editoria-cidades .editoria-card--cidades-side .editoria-card__media {
  flex: 0 0 42%;
  width: 42%;
  max-width: none;
  min-width: 0;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.editoria-cidades .editoria-card--cidades-side .editoria-card__media .mv-thumb {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: var(--thumb-ratio);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.editoria-cidades .editoria-card--cidades-side .editoria-card__body {
  flex: 1;
  justify-content: center;
  padding: 0;
  gap: 4px;
}

.editoria-cidades .editoria-card--cidades-side .editoria-card__cat {
  margin-bottom: 2px;
}

.editoria-cidades .editoria-card--cidades-side .editoria-card__title-wrap {
  margin-bottom: 4px;
}

.editoria-cidades .editoria-card--cidades-side .editoria-card__title-wrap h3 {
  font-size: 13px;
  line-height: 1.3;
  -webkit-line-clamp: 3;
}

.editoria-cidades .editoria-card--cidades-side time {
  font-size: 11px;
}

/* Bottom row — LG tier, equal-height cards */
.editoria-cidades__bottom .editoria-card--compact {
  overflow: visible;
}

.editoria-cidades .editoria-card--compact .editoria-card__media {
  padding: 12px 12px 0;
}

.editoria-cidades .editoria-card--compact .editoria-card__media .mv-thumb {
  width: 100%;
  aspect-ratio: var(--thumb-ratio);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.editoria-cidades .editoria-card--compact .editoria-card__body {
  padding: 10px 14px 14px;
  gap: 4px;
}

.editoria-cidades .editoria-card--compact .editoria-card__title-wrap h3 {
  font-size: 14px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

/* Educação / Política — 3×2 card grid */
.editoria-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mv-gap);
}

/* Shared editoria card */
.editoria-card {
  display: flex;
  flex-direction: column;
  background: var(--mv-white);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
  min-height: 0;
  transition: border-color var(--mv-transition), box-shadow var(--mv-transition);
}

.editoria-row--alt .editoria-card {
  background: var(--mv-white);
}

.editoria-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.editoria-card__media {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  padding: 12px 12px 0;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.editoria-card__media .mv-thumb {
  width: 100%;
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.editoria-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
  min-height: 0;
}

.editoria-card__cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mv-blue);
  margin-bottom: 6px;
}

.editoria-card__title-wrap h3 {
  margin: 0 0 8px;
  font-family: var(--mv-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editoria-card__title-wrap h3 a {
  transition: color var(--mv-transition);
}

.editoria-card:hover .editoria-card__title-wrap h3 a {
  color: var(--mv-blue);
}

.editoria-card time {
  margin-top: auto;
  font-size: 12px;
  color: var(--mv-muted);
}

/* Featured (Cidades hero card) — legacy alias */
.editoria-card--featured .editoria-card__media .mv-thumb {
  aspect-ratio: var(--thumb-ratio);
}

.editoria-card--featured .editoria-card__title-wrap h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  -webkit-line-clamp: 3;
}

/* Side stack — horizontal thumb + text */
.editoria-card--side {
  flex-direction: row;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.editoria-card--side .editoria-card__media {
  flex: 0 0 var(--thumb-md);
  width: var(--thumb-md);
  max-width: 40%;
}

.editoria-card--side .editoria-card__media {
  padding: 12px 0 12px 12px;
  overflow: hidden;
}

.editoria-card--side .editoria-card__media .mv-thumb {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.editoria-card--side .editoria-card__body {
  justify-content: center;
  padding: 12px 14px;
}

.editoria-card--side .editoria-card__title-wrap h3 {
  font-size: 14px;
  -webkit-line-clamp: 3;
}

/* Compact bottom row */
.editoria-card--compact .editoria-card__title-wrap h3 {
  font-size: 15px;
  -webkit-line-clamp: 2;
}

/* ── Category blocks (alternating bg) ── */
.cat-block {
  margin-bottom: 40px;
  padding: 32px 0;
}

.cat-block--alt {
  background: var(--mv-bg);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.cat-block:last-child { margin-bottom: 0; }

/* ── News cards ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--mv-gap);
}

.news-card {
  background: var(--mv-white);
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
  transition: border-color var(--mv-transition), box-shadow var(--mv-transition);
}

.cat-block--alt .news-card { background: var(--mv-white); }

.news-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-card > a {
  display: block;
  line-height: 0;
  padding: 12px 12px 0;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.news-card .mv-thumb {
  width: 100%;
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.news-card .txt { padding: 14px 16px 16px; }

.news-card .cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mv-blue);
  margin-bottom: 6px;
}

.news-card h3 {
  margin: 0 0 8px;
  font-family: var(--mv-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card h3 a { transition: color var(--mv-transition); }
.news-card:hover h3 a { color: var(--mv-blue); }

.news-card time {
  font-size: 12px;
  color: var(--mv-muted);
  font-weight: 400;
}

/* Latest section — 2-col grid for density */
.cat-block--latest .news-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .cat-block--latest .news-card {
    grid-template-columns: min(var(--thumb-md), 38%) 1fr;
  }
}

.cat-block--latest .news-card {
  display: grid;
  grid-template-columns: var(--thumb-md) 1fr;
  align-items: stretch;
}

.cat-block--latest .news-card > a {
  display: block;
  height: 100%;
  min-height: 0;
}

.cat-block--latest .news-card > a {
  padding: 10px 0 10px 10px;
  height: 100%;
}

.cat-block--latest .news-card .mv-thumb--md {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 1px solid var(--mv-img-border);
  border-radius: var(--mv-radius);
}

.cat-block--latest .news-card .txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
}

/* ── Sidebar widgets ── */
.sidebar { position: sticky; top: 72px; }

.widget {
  margin-bottom: var(--mv-gap);
  background: var(--mv-white);
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius);
}

.widget-head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--mv-border);
}

.widget-head h3 {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--mv-blue);
  font-family: var(--mv-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--mv-dark);
}

.widget-body { padding: 0; }

.mais-lidas {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rank;
}

.mais-lidas li {
  counter-increment: rank;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mv-border);
}

.mais-lidas li:last-child { border-bottom: 0; }

.mais-lidas li::before {
  content: counter(rank);
  flex-shrink: 0;
  width: 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mv-blue);
  font-variant-numeric: tabular-nums;
}

.mais-lidas a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mv-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mais-lidas a:hover { color: var(--mv-blue); }

.mais-lidas time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--mv-muted);
}

.widget-empty {
  padding: 16px;
  margin: 0;
  font-size: 13px;
  color: var(--mv-muted);
}

/* ── Footer ── */
.footer {
  background: var(--mv-blue);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 0;
  font-size: 14px;
}

.footer a {
  color: rgba(255, 255, 255, 0.92);
  transition: opacity var(--mv-transition);
}

.footer a:hover { opacity: 0.75; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 32px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0 0 20px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 400;
  max-width: 280px;
}

.footer h4 {
  margin: 0 0 16px;
  font-family: var(--mv-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--mv-radius);
  font-size: 12px;
  font-weight: 500;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.footer-bar {
  background: var(--mv-blue-dark);
  padding: 16px 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-side {
    height: auto;
  }
  .hero-lateral {
    height: auto;
    justify-content: flex-start;
    padding: 0;
  }
  .hero-lateral__list {
    flex: none;
    justify-content: flex-start;
  }
  .hero-lateral__list-item {
    flex: none;
  }
  .hero-lateral__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .editoria-cidades {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }
  .editoria-cidades__featured {
    grid-column: 1;
    grid-row: auto;
  }
  .editoria-cidades__side {
    grid-column: 1;
    grid-row: auto;
    gap: 16px;
  }
  .editoria-cidades__bottom {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }
  .editoria-cidades-featured {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
  }
  .editoria-cidades-featured__media {
    flex: none;
    width: 100%;
    max-width: none;
  }
  .editoria-cidades-featured__media .mv-thumb--fill {
    aspect-ratio: var(--thumb-ratio);
  }
  .editoria-featured-txt {
    padding: 0;
  }
  .editoria-cidades .editoria-card--cidades-side .editoria-card__media {
    flex: 0 0 38%;
    width: 38%;
  }
  .editoria-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-block--latest .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .hero-main .mv-thumb--xl,
  .hero-carousel__track { aspect-ratio: var(--thumb-ratio); }
  .mv-parceiros__grid {
    display: none;
  }
  .mv-parceiros__sponsor {
    border-bottom: 0;
  }

  /* ── Mobile news feed (segunda dobra + últimas) — uniform thumb left, text right ── */
  .segunda-dobra .editoria-row {
    padding: 24px 0;
  }

  /* Educação — cancel full-bleed alt row; match Cidades/Política wrap gutters */
  .segunda-dobra .editoria-row--alt {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .segunda-dobra .editoria-cidades {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .segunda-dobra .editoria-cidades__featured,
  .segunda-dobra .editoria-cidades__side,
  .segunda-dobra .editoria-cidades__bottom {
    display: contents;
  }

  .segunda-dobra .editoria-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .segunda-dobra .editoria-cidades-featured,
  .segunda-dobra .editoria-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--mv-border);
    box-shadow: none;
  }

  .segunda-dobra .editoria-cidades-featured:hover,
  .segunda-dobra .editoria-card:hover {
    border-color: var(--mv-border);
    box-shadow: none;
  }

  /* Thumb slot — fixed width; beats Cidades % layouts and tier padding */
  .segunda-dobra .editoria-cidades-featured__media,
  .segunda-dobra .editoria-cidades .editoria-card--cidades-side .editoria-card__media,
  .segunda-dobra .editoria-cidades .editoria-card--compact .editoria-card__media,
  .segunda-dobra .editoria-card__media,
  .cat-block--latest .news-card > a {
    flex: 0 0 var(--thumb-feed);
    flex-shrink: 0;
    width: var(--thumb-feed);
    max-width: var(--thumb-feed);
    min-width: var(--thumb-feed);
    padding: 0;
    height: auto;
    align-self: flex-start;
    border-radius: var(--mv-radius);
    overflow: hidden;
  }

  /* All thumb tiers → same 112×(3:2) box inside mobile feed */
  .segunda-dobra .editoria-cidades-featured__media .img-wrap.mv-thumb,
  .segunda-dobra .editoria-cidades-featured__media .img-wrap.mv-thumb--fill,
  .segunda-dobra .editoria-cidades .editoria-card--cidades-side .editoria-card__media .img-wrap.mv-thumb,
  .segunda-dobra .editoria-cidades .editoria-card--compact .editoria-card__media .img-wrap.mv-thumb,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb--xs,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb--sm,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb--md,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb--lg,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb--xl,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb--fill,
  .cat-block--latest .news-card > a .img-wrap.mv-thumb,
  .cat-block--latest .news-card .img-wrap.mv-thumb--md {
    flex-shrink: 0;
    width: var(--thumb-feed);
    max-width: var(--thumb-feed);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--thumb-ratio);
    border: 1px solid var(--mv-img-border);
    border-radius: var(--mv-radius);
  }

  .segunda-dobra .editoria-cidades-featured__media .img-wrap.mv-thumb .img-wrap__img,
  .segunda-dobra .editoria-cidades .editoria-card__media .img-wrap.mv-thumb .img-wrap__img,
  .segunda-dobra .editoria-card__media .img-wrap.mv-thumb .img-wrap__img,
  .cat-block--latest .news-card .img-wrap.mv-thumb .img-wrap__img {
    object-fit: cover;
    object-position: center;
  }

  .segunda-dobra .editoria-featured-txt,
  .segunda-dobra .editoria-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    gap: 4px;
    justify-content: flex-start;
  }

  .segunda-dobra .editoria-card__cat {
    color: var(--mv-blue);
    font-size: var(--mv-font-kicker);
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
  }

  .segunda-dobra .editoria-card__title-wrap {
    margin-bottom: 0;
  }

  .segunda-dobra .editoria-card__title-wrap h3,
  .segunda-dobra .editoria-featured-txt .editoria-card__title-wrap h3 {
    margin: 0;
    font-family: var(--mv-sans);
    font-size: var(--mv-font-list);
    font-weight: 700;
    line-height: 1.35;
    color: var(--mv-dark);
    -webkit-line-clamp: 3;
  }

  .segunda-dobra .editoria-card time,
  .segunda-dobra .editoria-featured-txt time {
    display: none;
  }

  /* Últimas Notícias — same mobile feed pattern */
  .cat-block--latest .news-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .cat-block--latest .news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--mv-border);
    box-shadow: none;
  }

  .cat-block--latest .news-card:hover {
    border-color: var(--mv-border);
    box-shadow: none;
  }

  .cat-block--latest .news-card .txt {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    justify-content: flex-start;
  }

  .cat-block--latest .news-card .cat {
    color: var(--mv-blue);
    font-size: var(--mv-font-kicker);
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
  }

  .cat-block--latest .news-card h3 {
    font-family: var(--mv-sans);
    font-size: var(--mv-font-list);
    font-weight: 700;
    line-height: 1.35;
    color: var(--mv-dark);
    margin: 0;
    -webkit-line-clamp: 3;
  }

  .cat-block--latest .news-card time {
    display: none;
  }

  /* Mais lidas — stacked sidebar, keep compact list separators */
  .sidebar .mais-lidas li {
    padding: 12px 16px;
  }

  .sidebar .mais-lidas a {
    font-weight: 600;
    font-size: var(--mv-font-list);
  }
}

@media (max-width: 540px) {
  .wrap { width: min(100% - 32px, var(--mv-max)); }
  .manchete-inner { flex-wrap: wrap; padding: 12px 0; gap: 10px; }
  .manchete-thumb { display: none; }
  .manchete-title { font-size: 1rem; -webkit-line-clamp: 3; }
  .news-grid { grid-template-columns: 1fr; }
  /* segunda-dobra + últimas mobile feed handled at 768px — do not revert to stacked cards */
  .hero-lateral__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .hero-lateral__thumb-title {
    -webkit-line-clamp: 3;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar .wrap { flex-direction: column; text-align: center; }
  .logo img { height: 34px; }
}

/* Mobile nav drawer (append fix - parser-safe block) */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--mv-blue);
  cursor: pointer;
  border-radius: var(--mv-radius);
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer svg,
.nav-hamburger svg,
.nav-toggle svg {
  max-width: 24px;
  max-height: 24px;
}

.nav-drawer__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 250;
  background: rgba(1, 48, 128, 0.45);
  opacity: 0;
}

.nav-drawer.is-open .nav-drawer__overlay {
  opacity: 1;
}

.nav-drawer__panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 251;
  display: flex;
  flex-direction: column;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  background: var(--mv-white);
  box-shadow: 8px 0 32px rgba(2, 69, 185, 0.14);
  transform: translateX(-100%);
  overflow: hidden;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 56px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--mv-border);
}

.nav-drawer__logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
}

.nav-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--mv-blue);
  cursor: pointer;
}

.nav-drawer__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.nav-drawer__search-wrap {
  padding: 12px 16px;
  border-bottom: 1px solid var(--mv-border);
}

.nav-drawer__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  color: var(--mv-muted);
  background: #f0f1f3;
  border-radius: 22px;
  text-decoration: none;
}

.nav-drawer__search svg {
  width: 18px;
  height: 18px;
  stroke: var(--mv-muted);
  fill: none;
  stroke-width: 2;
}

.nav-drawer__body {
  flex: 1;
  overflow-y: auto;
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
}

.nav-drawer__nav a {
  display: block;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mv-dark);
  border-bottom: 1px solid var(--mv-border);
  text-decoration: none;
}

.nav-drawer__nav a.active {
  color: var(--mv-blue);
  background: var(--mv-blue-light);
  border-left: 3px solid var(--mv-blue);
}

body.nav-drawer-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-scroll {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav-drawer,
  .nav-drawer__overlay,
  .nav-drawer__panel,
  .nav-drawer__search-wrap,
  .nav-drawer__nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-hamburger,
  .nav-toggle {
    display: none !important;
  }
}


/* ── Article page (noticia) ── */
.main--article { padding-top: 16px; }

.article-breadcrumb {
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--mv-muted);
}

.article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: #ccc;
}

.article-breadcrumb a:hover { color: var(--mv-blue); }

.article-breadcrumb li[aria-current="page"] {
  color: var(--mv-text);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-layout {
  margin-top: 8px;
}

.article-layout .article {
  min-width: 0;
}

.article-sidebar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mv-border);
}

.article-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mv-blue);
  background: var(--mv-blue-light);
  border-radius: 4px;
}

.article-kicker:hover {
  background: var(--mv-blue);
  color: var(--mv-white);
}

.article-title {
  margin: 0 0 14px;
  font-family: var(--mv-serif);
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--mv-dark);
}

.article-lead {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mv-muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--mv-muted);
}

.article-meta__author {
  font-weight: 600;
  color: var(--mv-text);
}

.article-meta__author::before {
  content: 'Por ';
  font-weight: 400;
  color: var(--mv-muted);
}

.article-meta__date::before {
  content: '· ';
}

.article-hero {
  margin: 0 0 24px;
}

.article-hero .mv-thumb--hero,
.article-hero .img-wrap--16-9 {
  width: 100%;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.article-gallery {
  margin-bottom: 24px;
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.article-share {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--mv-border);
  border-bottom: 1px solid var(--mv-border);
}

.article-share__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mv-muted);
}

.article-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background var(--mv-transition), color var(--mv-transition), border-color var(--mv-transition);
}

.article-share__btn svg,
.article-share__icon {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.article-share__text {
  white-space: nowrap;
}

.article-share__btn--whatsapp {
  color: #25d366;
  background: #fff;
  border-color: #25d366;
}

.article-share__btn--whatsapp:hover {
  color: #fff;
  background: #25d366;
}

.article-share__btn--facebook {
  color: #0245b9;
  background: #fff;
  border-color: #1877f2;
}

.article-share__btn--facebook:hover {
  color: #fff;
  background: #1877f2;
  border-color: #1877f2;
}

/* Corpo da notícia — tipografia única (ignora HTML colado) */
.article-prose,
.article-prose * {
  font-family: var(--mv-sans) !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  color: var(--mv-text) !important;
}

.article-prose {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.article-prose p {
  margin: 0 0 1.25em;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  margin: 1.75em 0 0.75em;
  font-family: var(--mv-serif) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--mv-dark) !important;
}

.article-prose h2 { font-size: 1.375rem !important; }
.article-prose h3 { font-size: 1.2rem !important; }
.article-prose h4 { font-size: 1.1rem !important; }

.article-prose strong,
.article-prose b {
  font-weight: 700 !important;
}

.article-prose em,
.article-prose i {
  font-style: italic !important;
}

.article-prose u {
  text-decoration: underline !important;
}

.article-prose span {
  font-size: inherit !important;
  color: inherit !important;
  font-family: inherit !important;
}

.article-prose a {
  color: var(--mv-blue) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-prose a:hover { color: var(--mv-blue-dark) !important; }

.article-prose img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 1.5em auto;
  border-radius: 8px;
}

.article-prose iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  min-height: 280px;
  margin: 1.5em 0;
  border: 0;
  border-radius: var(--mv-radius);
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.article-prose li {
  margin-bottom: 0.35em;
}

.article-prose blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--mv-blue);
  background: var(--mv-blue-light);
  font-style: italic !important;
}

.article-prose figure {
  margin: 1.5em 0;
}

.article-prose figcaption {
  margin-top: 0.5em;
  font-size: 0.9375rem !important;
  color: var(--mv-muted) !important;
  text-align: center;
}

.article-prose table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 0.9375rem !important;
}

.article-prose th,
.article-prose td {
  padding: 10px 12px;
  border: 1px solid var(--mv-border);
  vertical-align: top;
}

.article-prose th {
  font-weight: 700 !important;
  background: var(--mv-bg);
}

.article-callout {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--mv-bg);
  border-radius: var(--mv-radius);
  border: 1px solid var(--mv-border);
}

.article-callout a { color: var(--mv-blue); font-weight: 600; }

.article-tags {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--mv-border);
}

.article-tags__title {
  margin: 0 0 12px;
  font-family: var(--mv-serif);
  font-size: 1rem;
  font-weight: 600;
}

.article-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-tags__list a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mv-blue);
  background: var(--mv-blue-light);
  border-radius: 16px;
}

.article-tags__list a:hover {
  background: var(--mv-blue);
  color: var(--mv-white);
}

.article-related {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--mv-border);
}

.article-related .section-title {
  margin: 0 0 20px;
  font-family: var(--mv-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mv-dark);
}

.article-related__grid {
  display: grid;
  gap: 20px;
}

.article-related__card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
}

.article-related__media {
  display: block;
  flex-shrink: 0;
}

.article-related__body {
  min-width: 0;
}

.article-related__body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.article-related__body h3 a:hover { color: var(--mv-blue); }

.article-related__body p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--mv-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-related__body time {
  font-size: 11px;
  color: var(--mv-muted);
}

.article-error {
  padding: 48px 0;
  text-align: center;
}

.article-error h1 {
  font-family: var(--mv-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Ad zones — internal article pages */
.mv-ad-zone--sidebar {
  padding: 0 0 16px;
}

.mv-ad-zone--sidebar .mv-ad-carousel__track--sidebar {
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.mv-ad-zone--article {
  padding: 0 0 24px;
}

.mv-ad-zone--article .mv-ad-carousel__track {
  max-width: 100%;
}

.sidebar-ad .mv-ad-zone,
.article-ad.mv-ad-zone {
  padding: 0;
}

/* Google AdSense / MGID slots — página interna */
.ad-slot {
  margin: 0 0 24px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.ad-slot--article-top {
  padding: 8px 0 16px;
}

.ad-slot--in-article {
  margin: 1.5em 0;
  padding: 8px 0;
}

.ad-slot--sidebar {
  max-width: 260px;
  margin: 0 auto 16px;
}

.ad-slot--mgid {
  padding: 16px 0 8px;
}

@media (max-width: 768px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .article-related__card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .article-related__media {
    flex: 0 0 var(--thumb-feed);
    width: var(--thumb-feed);
    max-width: var(--thumb-feed);
    min-width: var(--thumb-feed);
  }

  .article-related__media .img-wrap.mv-thumb--md {
    width: var(--thumb-feed);
    max-width: var(--thumb-feed);
    aspect-ratio: var(--thumb-ratio);
  }

  .article-related__body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .article-related__body h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .ad-slot {
    max-width: 100%;
    width: 100%;
  }

  .ad-slot--sidebar {
    max-width: 100%;
    width: 100%;
  }

  .ad-slot--sidebar ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 250px;
    height: auto !important;
  }

  .mv-ad-zone--sidebar .mv-ad-carousel__track--sidebar {
    max-width: 100%;
    width: 100%;
  }

  .article-breadcrumb li[aria-current="page"] {
    -webkit-line-clamp: 2;
  }
}

/* ── Article share — portal-style pills (parser-safe append block) ── */
.article-share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--mv-border, #e5e7eb);
  border-bottom: 1px solid var(--mv-border, #e5e7eb);
}

.article-share__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mv-muted, #6b7280);
  line-height: 1;
}

.article-share__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.article-share__text {
  white-space: nowrap;
}

.article-share__btn svg,
.article-share__icon,
.article-share img {
  display: block;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.article-share__btn--whatsapp {
  color: #25d366;
  border-color: #25d366;
}

.article-share__btn--whatsapp:hover,
.article-share__btn--whatsapp:focus-visible {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
}

.article-share__btn--facebook {
  color: #1877f2;
  border-color: #1877f2;
}

.article-share__btn--facebook:hover,
.article-share__btn--facebook:focus-visible {
  color: #fff;
  background: #1877f2;
  border-color: #1877f2;
}

@media (max-width: 480px) {
  .article-share__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-share__btn {
    width: 100%;
  }
}

/* ── Safe fallback: article breadcrumb + AdSense (parser-safe append block) ── */
.article-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
}

.article-breadcrumb li::after {
  content: "›";
  margin-left: 0.25rem;
}

.article-breadcrumb li:last-child::after {
  content: none;
}

.article-breadcrumb a {
  color: var(--mv-blue);
  text-decoration: none;
}

.ad-slot ins.adsbygoogle {
  display: block !important;
  width: 100%;
  max-width: 100%;
  min-height: 90px;
}

.ad-slot--sidebar ins.adsbygoogle {
  width: 260px;
  min-height: 250px;
}

.ad-slot--article-top ins.adsbygoogle,
.ad-slot--in-article ins.adsbygoogle {
  min-height: 100px;
}

/* ── Article page mobile + Veja também feed (parser-safe append block) — 20260608w ── */
.article-related__cat {
  display: block;
  color: var(--mv-blue);
  font-size: var(--mv-font-kicker);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .main--article {
    padding-top: 12px;
    overflow-x: clip;
  }

  .main--article > .wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 0;
  }

  .article-layout .article,
  .article-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .article-breadcrumb {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.4;
  }

  .article-breadcrumb ol {
    gap: 2px 0;
  }

  .article-breadcrumb li[aria-current="page"] {
    -webkit-line-clamp: 2;
  }

  .article-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .article-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    overflow-wrap: anywhere;
  }

  .article-lead {
    font-size: 1rem;
  }

  .article-hero {
    margin: 0 0 20px;
    width: 100%;
    max-width: 100%;
  }

  .article-hero .mv-thumb--hero,
  .article-hero .img-wrap--16-9,
  .article-hero .img-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: var(--thumb-ratio-xl);
    border-radius: var(--mv-radius);
    overflow: hidden;
  }

  .article-hero .img-wrap__img,
  .article-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .article-gallery {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .article-share {
    max-width: 100%;
    overflow: hidden;
    padding: 14px 0;
  }

  .article-share__actions {
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .article-share__btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    max-width: 100%;
  }

  .article-prose {
    padding: 0;
    overflow-x: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-prose img,
  .article-prose iframe,
  .article-prose video,
  .article-prose embed {
    max-width: 100% !important;
    height: auto !important;
  }

  .article-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main--article .ad-slot,
  .main--article .mv-ad-zone,
  .main--article .article-ad,
  .main--article .sidebar-ad,
  .main--article .article-ad-top {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .main--article .ad-slot ins.adsbygoogle,
  .main--article .mv-ad-carousel,
  .main--article .mv-ad-carousel__track {
    max-width: 100% !important;
    width: 100% !important;
  }

  .article-sidebar .widget,
  .article-sidebar .mais-lidas {
    max-width: 100%;
    min-width: 0;
  }

  /* Veja também — uniform mobile feed (match segunda-dobra / últimas) */
  .article-related {
    margin-top: 32px;
    padding-top: 24px;
  }

  .article-related__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .article-related__card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--mv-border);
    border-radius: 0;
    background: transparent;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .article-related__card:last-child {
    border-bottom: 0;
  }

  .article-related__media {
    flex: 0 0 var(--thumb-feed);
    flex-shrink: 0;
    width: var(--thumb-feed);
    max-width: var(--thumb-feed);
    min-width: var(--thumb-feed);
    align-self: flex-start;
    border-radius: var(--mv-radius);
    overflow: hidden;
  }

  .article-related__media .img-wrap.mv-thumb,
  .article-related__media .img-wrap.mv-thumb--md,
  .article-related__media .img-wrap.mv-thumb--sm {
    flex-shrink: 0;
    width: var(--thumb-feed);
    max-width: var(--thumb-feed);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--thumb-ratio);
    border: 1px solid var(--mv-img-border);
    border-radius: var(--mv-radius);
  }

  .article-related__media .img-wrap.mv-thumb .img-wrap__img {
    object-fit: cover;
    object-position: center;
  }

  .article-related__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
  }

  .article-related__cat {
    margin: 0 0 4px;
  }

  .article-related__body h3 {
    margin: 0;
    font-family: var(--mv-sans);
    font-size: var(--mv-font-list);
    font-weight: 700;
    line-height: 1.35;
    color: var(--mv-dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-related__body h3 a {
    color: inherit;
  }

  /* Match home mobile feed: hide excerpt + date for uniform cards */
  .article-related__body p,
  .article-related__body time {
    display: none !important;
  }
}

/* Anti-copy: visual deterrence on main content only (SEO-safe; HTML unchanged) */
#main-content,
#main-content * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#main-content input,
#main-content textarea,
#main-content select,
#main-content [contenteditable="true"],
#main-content input *,
#main-content textarea *,
#main-content select *,
#main-content [contenteditable="true"] * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
