/* Comenta Cariri — portal templates */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --brand: #d37a2d;
  --brand-hover: #b86422;
  --ink: #1a1a1a;
  --muted: #4a4a4a;
  --soft: #6b6b6b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --header: #ffffff;
  --radius: 12px;
  --max: 1180px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

button,
input {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  background: var(--header);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
}

/* WP admin bar: keep sticky header flush under the bar */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding-block: 0.65rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-actions--end {
  justify-content: flex-end;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
  background: var(--bg-soft);
  color: var(--ink);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.icon-btn span {
  font-size: 0.875rem;
  font-weight: 500;
}

.logo-link {
  display: flex;
  justify-content: center;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0 1rem;
  background: var(--bg-soft);
}

.search-panel.is-open {
  display: block;
  animation: panel-in 0.18s ease;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 640px;
  margin-inline: auto;
}

.search-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  outline: none;
}

.search-form input:focus {
  border-color: var(--brand);
}

.search-form button {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--brand-hover);
}

/* Nav */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.35rem;
  padding: 0.75rem 0;
}

.nav-list a {
  color: var(--brand);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--brand-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.meta-bar {
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0 0.55rem;
  font-size: 0.85rem;
  color: var(--soft);
  background: var(--bg);
}

.meta-bar strong {
  color: var(--muted);
  font-weight: 700;
}

.meta-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}

.meta-bar__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
}

.meta-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.1rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.meta-bar__chevron {
  display: inline-flex;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.meta-bar__chevron svg {
  width: 16px;
  height: 16px;
}

.meta-bar__toggle[aria-expanded="true"] .meta-bar__chevron {
  transform: rotate(180deg);
}

.meta-bar__icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.meta-bar__icon svg,
.wx-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.meta-bar__text {
  margin: 0;
  min-width: 0;
}

.meta-bar__city {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.meta-bar__city:hover {
  text-decoration: underline;
}

.meta-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.meta-bar__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.meta-bar__btn:hover,
.meta-bar__btn[aria-expanded="true"] {
  border-color: var(--brand);
  color: var(--brand);
}

.meta-bar__forecast {
  padding: 0.35rem 0 0.65rem;
  border-top: 1px solid var(--line);
  margin-top: 0.45rem;
}

.meta-bar__forecast[hidden] {
  display: none;
}

.wx-forecast__days {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.wx-forecast__day {
  flex: 1 0 auto;
  min-width: 88px;
  padding: 0.35rem 0.85rem;
  border-right: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.wx-forecast__day:last-child {
  border-right: 0;
}

.wx-forecast__label {
  font-size: 0.78rem;
  color: var(--soft);
  white-space: nowrap;
}

.wx-forecast__icon {
  line-height: 0;
}

.wx-forecast__temps {
  font-size: 0.9rem;
  color: var(--soft);
  white-space: nowrap;
}

.wx-forecast__temps strong {
  color: var(--muted);
  margin-right: 0.2rem;
}

.meta-bar__panel {
  padding-top: 0.55rem;
}

.meta-bar__form {
  display: flex;
  gap: 0.5rem;
  max-width: 520px;
}

.meta-bar__form input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.meta-bar__form button {
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.meta-bar__form button:hover {
  background: var(--brand-hover);
}

.meta-bar__suggestions {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.meta-bar__suggestions button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.meta-bar__suggestions li:last-child button {
  border-bottom: 0;
}

.meta-bar__suggestions button:hover {
  background: var(--bg-soft);
  color: var(--brand);
}

.meta-bar__status {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--soft);
}

@media (max-width: 760px) {
  .meta-bar__btn span {
    display: none;
  }

  .meta-bar__btn {
    padding: 0.4rem;
  }

  .meta-bar__summary {
    width: 100%;
    flex: 1 1 auto;
  }

  .wx-forecast__day {
    min-width: 78px;
    padding: 0.3rem 0.65rem;
  }
}

/* Offcanvas menu (desktop + mobile) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
}

.nav-backdrop.is-open {
  display: block;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 210;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-inner {
  padding: 0 0 1.5rem;
  min-height: 100%;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}

.nav-drawer-title {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
  margin: 0;
}

.nav-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
}

.nav-drawer-close svg {
  width: 18px;
  height: 18px;
}

.nav-drawer-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-drawer .nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.nav-drawer .nav-list > li {
  border-bottom: 1px solid var(--line);
}

.nav-drawer .nav-list > li:last-child {
  border-bottom: 0;
}

.nav-drawer .nav-list a {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  border-radius: 0;
}

.nav-drawer .nav-list a:hover,
.nav-drawer .nav-list a.is-active {
  background: var(--bg-soft);
  color: var(--brand);
  text-decoration: none;
}

.nav-drawer .nav-list .menu-item-has-children > .nav-item-row {
  display: flex;
  align-items: stretch;
}

.nav-drawer .nav-list .menu-item-has-children > .nav-item-row > a {
  padding-right: 0.5rem;
}

.nav-drawer .nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}

.nav-drawer .nav-submenu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-drawer .menu-item-has-children.is-open > .nav-item-row .nav-submenu-toggle svg {
  transform: rotate(90deg);
}

.nav-drawer .nav-list .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.nav-drawer .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.nav-drawer .nav-list .sub-menu a {
  padding: 0.7rem 1.1rem 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--soft);
}

.nav-drawer .nav-list .sub-menu li {
  border-bottom: 1px solid var(--line);
}

.nav-drawer .nav-list .sub-menu li:last-child {
  border-bottom: 0;
}

body.nav-open {
  overflow: hidden;
}

/* Extra homepage blocks */
.home-below {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
}

.ad-slot--band + .home-below,
.ad-slot--compact + .home-below {
  margin-top: 0;
}

.home-band {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.home-band--thirds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--brand);
}

.band-head h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--brand);
}

.band-head a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft);
}

.lead-with-media {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.mini-list {
  display: grid;
  gap: 0.85rem;
}

.mini-list article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.mini-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-list .thumb {
  aspect-ratio: 1;
}

.mini-list h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
  line-height: 1.25;
}

.mini-list .meta {
  font-size: 0.78rem;
  color: var(--soft);
  margin-top: 0.3rem;
}

.story-stack article {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.story-stack article:first-child {
  padding-top: 0;
}

.story-stack .headline {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

/* Cards & headlines */
.headline {
  font-family: var(--display);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.headline a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.headline--xl {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.headline--lg {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

.headline--md {
  font-size: 1.05rem;
}

.bullets {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.bullets li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.thumb {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2a, #5a4a3a);
  aspect-ratio: 16 / 10;
  display: block;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.thumb--square {
  aspect-ratio: 1;
}

.thumb--wide {
  aspect-ratio: 16 / 9;
}

.thumb--hero {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

/* Legenda / crédito de imagem */
.media-figure {
  margin: 0 0 1.25rem;
}

.media-figure .thumb,
.media-figure .thumb--hero {
  margin-bottom: 0.55rem;
}

.media-caption {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.media-caption .media-desc {
  display: block;
  color: var(--muted);
}

.media-caption .media-credit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--soft);
}

.media-caption .media-credit strong {
  font-weight: 600;
  color: var(--soft);
}

.section-label {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 0.75rem;
}

.section-label a:hover {
  text-decoration: underline;
}

/* Homepage grid */
.home {
  padding: 1.5rem 0 3rem;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 1.75rem;
}

/* Uma coluna lateral: mantém a largura da lateral igual ao layout de 3 colunas */
.home-grid--cols-2 {
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
}

.home-col--side .thumb {
  aspect-ratio: 16 / 10;
  max-height: 190px;
}

.home-grid--cols-2 .home-col--main .thumb--hero {
  max-height: 420px;
}

.home-grid--cols-1 {
  grid-template-columns: 1fr;
}

.home-col {
  min-width: 0;
}

.home-col + .home-col {
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
}

.lead-block {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.home-deck {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  min-width: 0;
}

.card .thumb {
  margin-bottom: 0.55rem;
}

.card .headline {
  margin-bottom: 0.35rem;
}

.side-story {
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.side-story:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.side-story .thumb {
  margin-bottom: 0.55rem;
}

.side-story .headline {
  margin-bottom: 0.3rem;
}

.side-story .bullets {
  margin-top: 0.25rem;
}

/* Page shells */
.page {
  padding: 1.5rem 0 3.5rem;
}

.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 0;
  color: var(--soft);
  max-width: 42rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--soft);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 600;
}

.breadcrumb span {
  color: var(--line);
}

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.25rem;
  align-items: start;
}

.article-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.article-deck {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
  color: var(--soft);
  margin-bottom: 1.25rem;
}

.article-meta a {
  color: var(--brand);
  font-weight: 600;
}

.article-hero {
  margin: 0 0 1.75rem;
}

.article-hero .thumb {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  margin-bottom: 0.55rem;
}

.article-caption {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.article-caption .media-desc {
  display: block;
}

.article-caption .media-credit {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--soft);
}

.article-body {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #222;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.article-body a:hover {
  color: var(--brand-hover);
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 1.75rem 0 0.75rem;
}

.article-body h2 {
  font-size: 1.4rem;
}

.article-body h3 {
  font-size: 1.2rem;
}

.article-body h4,
.article-body h5,
.article-body h6 {
  font-size: 1.05rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  list-style: revert;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body li {
  margin: 0.35rem 0;
}

.article-body li > ul,
.article-body li > ol {
  margin: 0.35rem 0 0.55rem;
}

.article-body blockquote,
.article-body .wp-block-quote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 3px solid var(--brand);
  color: var(--muted);
  font-size: 1.15rem;
  font-style: italic;
}

.article-body blockquote p,
.article-body .wp-block-quote p {
  margin: 0 0 0.65rem;
}

.article-body blockquote cite,
.article-body .wp-block-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--soft);
}

.article-body img,
.article-body .wp-block-image img,
.article-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-body figure,
.article-body .wp-block-image,
.article-body .wp-caption {
  margin: 1.35rem 0;
}

.article-body figcaption,
.article-body .wp-element-caption,
.article-body .wp-caption-text {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--soft);
}

.article-body .alignleft {
  float: left;
  margin: 0.35rem 1.25rem 1rem 0;
  max-width: 50%;
}

.article-body .alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.25rem;
  max-width: 50%;
}

.article-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article-body .alignwide,
.article-body .alignfull {
  max-width: 100%;
}

.article-body table,
.article-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.article-body th {
  background: var(--bg-soft);
  font-weight: 700;
}

.article-body pre,
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.article-body pre {
  overflow-x: auto;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border-radius: 8px;
}

.article-body hr,
.article-body .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
}

.article-body .wp-block-embed,
.article-body .wp-block-video,
.article-body .wp-block-audio {
  margin: 1.35rem 0;
}

.article-body .wp-block-embed__wrapper,
.article-body .wp-block-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.article-body::after {
  content: "";
  display: table;
  clear: both;
}

.share-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.75rem 0;
}

.share-row span,
.tag-row span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin-right: 0.25rem;
}

/* .tag-chip — avoid bare .tag (WP body.tag on tag archives collapses layout) */
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.tag-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font: inherit;
  cursor: pointer;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.share-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.sidebar-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1rem;
  margin-bottom: 1.25rem;
}

.sidebar-block h2 {
  font-family: var(--display);
  font-size: 0.9rem;
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.rank-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.rank-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.rank-item:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}

.rank-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 0.1rem;
}

.rank-item:nth-child(1) .rank-num {
  font-size: 2rem;
}

.rank-item:nth-child(n + 4) .rank-num {
  color: #c4a07a;
}

.rank-body {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.rank-item a {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
}

.rank-item a:hover {
  color: var(--brand);
}

.rank-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
}

.related-side .thumb {
  margin-bottom: 0.5rem;
  aspect-ratio: 16 / 10;
}

.related-side .headline {
  font-size: 0.95rem;
}

.related-side article {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.related-side article:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Listings */
.feature-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.feature-story .headline {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.listing-card {
  min-width: 0;
}

.listing-card .thumb {
  margin-bottom: 0.7rem;
}

.listing-card .meta,
.list-item .meta,
.card-meta {
  font-size: 0.8rem;
  color: var(--soft);
  margin-top: 0.45rem;
}

.listing-card .excerpt,
.list-item .excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.4rem 0 0;
  line-height: 1.4;
}

.list-stack {
  display: grid;
  gap: 1.15rem;
}

.list-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.list-item .thumb {
  aspect-ratio: 4 / 3;
}

.list-item h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand);
  line-height: 1.25;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.pagination a:hover,
.pagination a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pagination span.is-disabled {
  opacity: 0.45;
}

/* Search page */
.search-hero {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.search-hero .search-form {
  max-width: none;
}

.search-hero .search-form input {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.search-count {
  color: var(--soft);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.empty-state {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.empty-state.is-visible {
  display: block;
}

.empty-state h2 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 0.5rem;
}

/* Columnist */
.author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1.15rem;
  background: var(--bg-soft);
  border-radius: 12px;
}

.author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #3a3a3a, #8a5a2a);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-card h1 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin: 0 0 0.35rem;
}

.author-card p {
  margin: 0;
  color: var(--muted);
}

/* Ad slots */
:root {
  --ad-gap: 1.25rem;
}

.ad-slot {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin: var(--ad-gap) auto;
  width: 100%;
  text-align: center;
}

.ad-slot__frame {
  margin-inline: auto;
}

.ad-slot img,
.ad-slot video {
  display: block;
  margin-inline: auto;
}

.ad-slot__label {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1;
}

.ad-slot__frame {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(0, 0, 0, 0.02) 8px,
      rgba(0, 0, 0, 0.02) 16px
    ),
    var(--bg-soft);
  border: 1px dashed #d0d0d0;
  border-radius: 6px;
  color: var(--soft);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.35rem;
  box-sizing: border-box;
}

.ad-slot__frame::before {
  content: attr(data-size);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ad-slot__frame--filled {
  background: transparent;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.ad-carousel {
  position: relative;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.ad-carousel__track {
  position: relative;
  width: 100%;
}

.ad-carousel__slide {
  display: none;
}

.ad-carousel__slide.is-active {
  display: block;
}

/* Filled creatives: cap to region size so oversized media cannot inflate layout */
.ad-slot__frame--sized {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
}

.ad-slot--leaderboard .ad-slot__frame--sized {
  max-width: 970px;
  aspect-ratio: 970 / 250;
  max-height: 250px;
}

.ad-slot--band .ad-slot__frame--sized {
  max-width: 728px;
  aspect-ratio: 728 / 90;
  max-height: 90px;
}

.ad-slot--footer .ad-slot__frame--sized {
  max-width: 970px;
  aspect-ratio: 970 / 90;
  max-height: 90px;
}

.ad-slot--sidebar .ad-slot__frame--sized {
  max-width: 300px;
  aspect-ratio: 300 / 250;
  max-height: 250px;
}

.ad-slot--tall .ad-slot__frame--sized {
  max-width: 300px;
  aspect-ratio: 300 / 600;
  max-height: 600px;
}

.ad-slot--in-article .ad-slot__frame--sized {
  max-width: 336px;
  aspect-ratio: 336 / 280;
  max-height: 280px;
}

.ad-slot--list .ad-slot__frame--sized {
  max-width: 728px;
  aspect-ratio: 728 / 90;
  max-height: 90px;
}

.ad-slot__frame--filled::before {
  content: none;
}

.ad-slot__frame--filled .ad-slot__link,
.ad-slot__frame--filled > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.ad-slot__frame--filled img,
.ad-slot__frame--filled video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.ad-slot__html,
.ad-slot__video {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

.ad-slot__video iframe {
  width: 100%;
  max-height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
}

.related-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-side-list li + li {
  margin-top: 0.65rem;
}

.related-side-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.related-side-list a:hover {
  color: var(--brand);
}

.pagination {
  margin: 2rem 0 1rem;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-item a,
.pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
}

.pagination-item.is-current span,
.pagination-item .current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.ad-slot--leaderboard {
  margin: var(--ad-gap) auto;
}

.ad-slot--leaderboard .ad-slot__frame {
  min-height: 90px;
  max-width: 970px;
}

.ad-slot--rectangle {
  margin: var(--ad-gap) auto;
}

.ad-slot--rectangle .ad-slot__frame {
  min-height: 250px;
  max-width: 300px;
}

.ad-slot--sidebar {
  margin: 0 auto var(--ad-gap);
}

.ad-slot--sidebar .ad-slot__frame {
  min-height: 250px;
  max-width: 300px;
}

.ad-slot--tall .ad-slot__frame {
  min-height: 600px;
}

.ad-slot--in-article {
  margin: var(--ad-gap) auto;
}

.ad-slot--in-article .ad-slot__frame {
  min-height: 280px;
  max-width: 336px;
}

.ad-slot--band {
  margin: var(--ad-gap) auto;
}

.ad-slot--band .ad-slot__frame {
  min-height: 90px;
  max-width: 728px;
}

.ad-slot--compact {
  margin: var(--ad-gap) auto;
}

.ad-slot--footer {
  margin: 0.5rem 0 0;
}

.ad-slot--footer .ad-slot__frame {
  min-height: 90px;
  max-width: 970px;
}

.ad-slot--in-feed {
  margin: 0;
  align-self: stretch;
}

.ad-slot--in-feed .ad-slot__frame {
  min-height: 250px;
  height: 100%;
  max-width: none;
}

.ad-slot--list {
  margin: var(--ad-gap) auto;
}

.ad-slot--list .ad-slot__frame {
  min-height: 90px;
  max-width: 728px;
}

/* Filled creatives: drop placeholder min-heights; region max-height/aspect rules apply */
.ad-slot .ad-slot__frame--filled {
  min-height: 0;
}

.home-col .ad-slot--rectangle .ad-slot__frame {
  max-width: 100%;
}

.ad-rail {
  margin-top: 0.75rem;
}

/* Sidebar ad under home lead image */
.ad-slot--under-lead {
  margin: var(--ad-gap) auto 0;
  justify-items: center;
}

.ad-slot--under-lead .ad-slot__frame--sized {
  max-width: 300px;
  margin-inline: auto;
  width: 100%;
  aspect-ratio: auto;
  max-height: 300px;
}

.ad-slot--under-lead .ad-slot__frame--filled {
  background: transparent;
}

.ad-slot--under-lead .ad-slot__frame--filled img {
  width: 100%;
  height: auto;
  max-height: 300px;
}

/* Footer */
.site-footer {
  background: #0d0d0d;
  color: #cfcfcf;
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: #9a9a9a;
  max-width: 18rem;
}

.footer-col h3 {
  font-family: var(--display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 0.75rem;
}

.footer-col a {
  display: block;
  color: #cfcfcf;
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.footer-credit,
a.footer-credit[data-comenta-credit="1"] {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  color: #9a9a9a !important;
  margin-left: auto;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: static !important;
  clip: auto !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  transform: none !important;
  font-size: 0.8rem !important;
}

.footer-credit:hover {
  color: #fff !important;
}

.footer-credit img {
  height: 22px !important;
  width: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  mix-blend-mode: screen;
}

.comenta-credit-fallback {
  margin-top: 0;
}

/* If credit fallback lands outside </footer>, keep the dark strip continuous */
body > .comenta-credit-fallback {
  background: #0d0d0d;
  padding: 1rem 0 1.25rem;
  margin: 0;
}

/* Cookie consent banner (LGPD) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #141414;
  color: #e8e8e8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  padding: 0.9rem 0;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #d4d4d4;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--brand);
}

.cookie-banner__accept {
  flex: 0 0 auto;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner__accept:hover {
  background: var(--brand-hover);
}

/* Legal pages */
.legal-page {
  max-width: 46rem;
}

.legal-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.legal-body h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 0.65rem;
}

.legal-body p {
  margin: 0 0 1rem;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-body a {
  color: var(--brand);
  font-weight: 600;
}

.legal-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

/* Contato */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.form-row textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--brand);
}

.contact-form button {
  justify-self: start;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--brand-hover);
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--soft);
}

.form-note a {
  color: var(--brand);
  font-weight: 600;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.form-alert--ok {
  background: rgba(46, 125, 50, 0.1);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.25);
}

.form-alert--err {
  background: rgba(183, 28, 28, 0.08);
  color: #b71c1c;
  border: 1px solid rgba(183, 28, 28, 0.2);
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}

.contact-card h2 {
  font-family: var(--display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin: 0 0 0.45rem;
}

.contact-card p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card a {
  display: block;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--brand);
}

.contact-link {
  margin-top: 0.45rem;
  color: var(--brand) !important;
}

/* Midiakit */
.mk-hero {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.mk-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.mk-hero-lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.mk-intro {
  margin-bottom: 1.75rem;
}

.mk-intro h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
}

.mk-intro p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 44rem;
}

.mk-intro p:last-child {
  margin-bottom: 0;
}

.mk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.2rem;
  white-space: nowrap;
}

.mk-cta:hover {
  background: var(--brand-hover);
  color: #fff !important;
}

.mk-cta--ghost {
  background: transparent;
  color: var(--brand) !important;
  border: 1px solid var(--brand);
}

.mk-cta--ghost:hover {
  background: rgba(211, 122, 45, 0.08);
  color: var(--brand) !important;
}

.mk-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.mk-stat {
  border-top: 2px solid var(--brand);
  padding-top: 0.85rem;
}

.mk-stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.mk-stat span {
  color: var(--soft);
  font-size: 0.85rem;
}

.mk-footnote {
  margin: 0 0 2rem;
  font-size: 0.8rem;
  color: var(--soft);
}

.mk-section {
  margin-bottom: 2.5rem;
}

.mk-section > h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.mk-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.mk-benefit {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.mk-benefit h3 {
  font-family: var(--display);
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.mk-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mk-formats-note {
  margin: -0.35rem 0 1.15rem;
  color: var(--soft);
  font-size: 0.92rem;
  max-width: 46rem;
  line-height: 1.5;
}

.mk-formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.mk-format {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 42%);
}

.mk-placement {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f3f3f3;
  min-height: 12rem;
  display: grid;
  place-items: center;
}

.mk-placement img {
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.mk-placement--empty {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(0, 0, 0, 0.03) 8px,
      rgba(0, 0, 0, 0.03) 16px
    ),
    var(--bg-soft);
  color: var(--soft);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
}

.mk-format__meta {
  padding: 0 0.15rem 0.15rem;
}

.mk-format__size {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.mk-format h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}

.mk-format p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mk-specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.mk-specs-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mk-specs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}

.mk-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.mk-package {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1.2rem;
  border-top: 3px solid var(--brand);
  background: #fff;
}

.mk-package h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.mk-package ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.mk-package li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  position: relative;
}

.mk-package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
}

.mk-contact-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.mk-contact-band h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

.mk-contact-band p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

.mk-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  color: var(--muted);
  background: #fff;
}

.footer-social__link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-social__link:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .side-story,
  .listing-card,
  .list-item {
    transition: transform 0.25s ease;
  }

  .card:hover,
  .listing-card:hover {
    transform: translateY(-2px);
  }

  .thumb img {
    transition: transform 0.45s ease;
  }

  .card:hover .thumb img,
  .listing-card:hover .thumb img,
  .side-story:hover .thumb img,
  .feature-story:hover .thumb img {
    transform: scale(1.04);
  }

  .nav-list a,
  .icon-btn,
  .tag-chip,
  .share-btn,
  .rank-item a {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .rank-item {
    transition: background 0.2s ease;
  }

  .rank-item:hover {
    background: linear-gradient(90deg, transparent, rgba(211, 122, 45, 0.04) 12%, transparent);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .home-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-col--main {
    grid-column: 1 / -1;
  }

  .home-col + .home-col {
    border-left: 0;
    padding-left: 0;
  }

  .home-col--side {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }

  .lead-with-media,
  .home-band,
  .home-band--thirds {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .feature-story {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .mk-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mk-benefits,
  .mk-formats,
  .mk-packages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ad-slot--leaderboard .ad-slot__frame:not(.ad-slot__frame--filled),
  .ad-slot--band .ad-slot__frame:not(.ad-slot__frame--filled),
  .ad-slot--footer .ad-slot__frame:not(.ad-slot__frame--filled),
  .ad-slot--list .ad-slot__frame:not(.ad-slot__frame--filled) {
    min-height: 90px;
  }

  .ad-slot--rectangle .ad-slot__frame:not(.ad-slot__frame--filled),
  .ad-slot--sidebar .ad-slot__frame:not(.ad-slot__frame--filled),
  .ad-slot--in-article .ad-slot__frame:not(.ad-slot__frame--filled) {
    max-width: 100%;
    min-height: 100px;
  }

  .ad-slot--sidebar .ad-slot__frame,
  .ad-slot--in-article .ad-slot__frame,
  .ad-slot--tall .ad-slot__frame {
    max-width: 100%;
  }

  .ad-slot--tall .ad-slot__frame:not(.ad-slot__frame--filled) {
    min-height: 250px;
  }

  .header-bar {
    min-height: 56px;
  }

  .logo-link img {
    height: 34px;
  }

  .icon-btn span {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .home-grid,
  .card-row,
  .listing-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .list-item {
    grid-template-columns: 110px 1fr;
    gap: 0.85rem;
  }

  .list-item h2 {
    font-size: 1rem;
  }

  .author-card {
    grid-template-columns: 72px 1fr;
  }

  .author-avatar {
    width: 72px;
    height: 72px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__accept {
    width: 100%;
  }
}
