:root {
  --primary-color: #1d4ed8;
  --text-color: #374151;
  --background-color: #f1f5f9;
  --surface-color: rgba(255, 252, 246, 0.92);
  --surface-strong: #fffdf8;
  --border-color: rgba(17, 17, 17, 0.12);
  --muted-color: rgba(27, 27, 24, 0.66);
  --font-body: 'Bricolage Grotesque', sans-serif;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --article-title-font: 'Bricolage Grotesque', sans-serif;
  --article-title-color: #111827;
  --article-subtitle-font: 'Bricolage Grotesque', sans-serif;
  --article-subtitle-color: #4b5563;
  --article-date-font: 'Bricolage Grotesque', sans-serif;
  --article-date-color: #6b7280;
  --article-author-font: 'Bricolage Grotesque', sans-serif;
  --article-author-color: #374151;
  --content-max-width-home: 90rem;
  --content-max-width-article: 48rem;
  --content-max-width-index: 80rem;
  --hero-card-height: 400px;
  --list-card-image-height: 14rem;
  --section-spacing: clamp(4rem, 8vw, 8rem);
  --page-gutter: clamp(1.25rem, 3vw, 2rem);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.08);
}

html {
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  min-width: 0;
  background: #fff;
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografia única em todo o site (Tailwind/utilitários inclusive). */
body, input, select, textarea, button, optgroup,
.font-sans, .font-serif, .font-body, .prose {
  font-family: var(--font-body);
}

code, pre, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body.drawer-open,
body.search-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

h5, h6 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

strong, b {
  font-weight: 700;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

body:not(.is-home-page) {
  padding-top: 5.5rem;
}

body.is-scrolled:not(.is-home-page) {
  padding-top: 4rem;
}

.site-header--overlay {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

body.is-scrolled .site-header--overlay {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(20px);
}

.site-header__inner {
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  transition: min-height 0.3s ease, padding 0.3s ease;
}

body.is-scrolled .site-header__inner {
  min-height: 4rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.site-header--overlay .site-logo {
  opacity: 0;
  pointer-events: none;
}

body.is-scrolled .site-header--overlay .site-logo {
  opacity: 1;
  pointer-events: auto;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__action,
.site-header__profile {
  border: 0;
  background: transparent;
  color: var(--text-color);
  font: inherit;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

#menuToggle.site-header__action {
  justify-self: start;
  text-align: left;
}

.site-header__action-label--strong {
  font-weight: 700;
}

.site-header__action--icon {
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
}

.site-header--overlay .site-header__action,
.site-header--overlay .site-header__profile,
.site-header--overlay .site-logo__text,
.site-header--overlay .site-logo__subline {
  color: #fff;
}

body.is-scrolled .site-header--overlay .site-header__action,
body.is-scrolled .site-header--overlay .site-header__profile,
body.is-scrolled .site-header--overlay .site-logo__text,
body.is-scrolled .site-header--overlay .site-logo__subline {
  color: var(--text-color);
}

.site-header__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
}

.site-logo {
  justify-self: center;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.site-logo__image {
  max-height: 3.4rem;
  width: auto;
  filter: brightness(0);
  transition: max-height 0.3s ease, filter 0.3s ease;
}

body.is-scrolled .site-logo__image {
  max-height: 2.5rem;
}

.site-header--overlay .site-logo__image {
  max-height: 4rem;
  filter: brightness(0) invert(1);
}

body.is-scrolled .site-header--overlay .site-logo__image {
  filter: brightness(0);
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
}

.site-logo__subline {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-color);
}

.drawer-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(18px);
}

.drawer-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-menu__panel {
  width: 100%;
  min-height: 100%;
  background: rgba(255,255,255,0.985);
  color: #111;
  padding: 1.25rem 1.5rem 2rem;
  transform: translateY(-2%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.drawer-menu.open .drawer-menu__panel {
  transform: translateY(0);
  opacity: 1;
}

.drawer-menu__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.drawer-menu__eyebrow,
.section-intro__eyebrow,
.archive-page__eyebrow,
.search-modal__eyebrow,
.article-endcap__eyebrow,
.newsletter-panel__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.72;
}

.search-modal__close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
}

.drawer-menu__text-button,
.drawer-menu__icon-button {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.drawer-menu__text-button {
  justify-self: start;
  font-size: 0.85rem;
}

.drawer-menu__brand {
  margin: 0;
  justify-self: center;
  font-weight: 700;
  font-size: 1rem;
}

.drawer-menu__icon-button {
  justify-self: end;
  font-size: 1rem;
}

.drawer-menu__nav {
  display: grid;
  justify-items: center;
  align-content: center;
  flex: 1 1 auto;
  gap: 1.5rem;
  min-height: 0;
  padding-bottom: 2rem;
}

.drawer-menu__primary-link {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 0.98;
}

.drawer-menu__group {
  width: 100%;
}

.drawer-menu__group-title {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.68;
  display: none;
}

.drawer-menu__feature-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}

.drawer-menu__feature-link,
.drawer-menu__link {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 0.98;
}

.drawer-menu__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.drawer-menu__footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: auto;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: max(6rem, 10vh) var(--page-gutter) 2rem;
  background: rgba(247, 243, 234, 0.96);
  backdrop-filter: blur(14px);
}

.search-modal__close {
  position: absolute;
  top: 1.5rem;
  right: var(--page-gutter);
  color: var(--text-color);
}

.search-modal__inner {
  width: min(100%, 52rem);
  margin: 0 auto;
}

.search-modal__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.24);
  background: transparent;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text-color);
  outline: none;
}

.search-modal__input::placeholder {
  color: rgba(17, 17, 17, 0.28);
}

.search-modal__results {
  margin-top: 1.5rem;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.hidden {
  display: none !important;
}

.home-page,
.archive-page,
.article-shell {
  padding-bottom: var(--section-spacing);
}

.article-shell__banner {
  display: none;
}

.home-page__banner,
.article-shell__banner {
  width: min(100%, var(--content-max-width-home));
  margin: 1rem auto 0;
  padding: 0 var(--page-gutter);
}

.is-home-page .home-page__banner {
  display: none;
}

.home-page__hero,
.home-page__section,
.archive-page__hero,
.archive-page__content,
.related-section,
.article-extras,
.article-cover,
.article-header,
.article-body-wrap,
.article-endcap {
  width: min(100%, var(--content-max-width-home));
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.home-page__hero {
  width: 100%;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.is-home-page .home-page {
  padding-top: 0;
}

.home-page__section,
.home-page__ad,
.archive-page__content,
.related-section,
.article-extras,
.article-endcap {
  margin-top: var(--section-spacing);
}

.home-page__ad {
  width: min(100%, var(--content-max-width-home));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-intro__title,
.archive-page__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.related-section .section-intro__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.section-intro__text,
.archive-page__text,
.newsletter-panel__text,
.article-endcap__text,
.article-extras__empty {
  margin: 1rem 0 0;
  font-size: 1rem;
  color: var(--muted-color);
}

.site-footer__description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted-color);
}

.editorial-hero {
  position: relative;
  display: block;
  min-height: max(40rem, min(100vh, var(--hero-card-height)));
  overflow: hidden;
  background: #111;
}

.editorial-hero--fixed {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  isolation: isolate;
  --hero-scroll-blur: 0px;
  --hero-scroll-dim: 0;
  --hero-hover-blur: 0px;
}

.editorial-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1);
  filter: blur(calc(var(--hero-scroll-blur) + var(--hero-hover-blur)));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.editorial-hero:hover .editorial-hero__media {
  transform: scale(1.04);
}

.editorial-hero__image-wrap,
.editorial-hero__overlay,
.editorial-hero__image {
  position: absolute;
  inset: 0;
}

.editorial-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.editorial-hero:hover .editorial-hero__image {
  transform: scale(1.03);
}

.editorial-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, calc(0.14 + var(--hero-scroll-dim))) 0%, rgba(12, 11, 9, calc(0.18 + var(--hero-scroll-dim))) 24%, rgba(12, 11, 9, calc(0.42 + var(--hero-scroll-dim))) 100%);
}

.editorial-hero__content {
  position: relative;
  z-index: 2;
  min-height: max(40rem, min(100vh, var(--hero-card-height)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  color: #fff;
}

.editorial-hero__content--centered {
  max-width: 58rem;
  justify-content: flex-start;
  padding-top: clamp(5rem, 14vh, 9rem);
}

.editorial-hero__category,
.editorial-card__category,
.article-header__category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.editorial-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.7rem);
  line-height: 0.95;
}

.editorial-hero__title--brand {
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.editorial-hero__brand-image {
  width: min(44rem, 82vw);
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transform: scale(1);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.editorial-hero:hover .editorial-hero__brand-image {
  transform: scale(1.08);
}

.editorial-hero__excerpt {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
}

.editorial-hero__excerpt--brand {
  max-width: 40rem;
}

.editorial-hero__category--soft {
  opacity: 0.88;
}

.editorial-hero__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
}

.editorial-hero__cta {
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-hero__cta--link {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.home-page__filters {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 0;
}

#home-feed-filters {
  display: grid;
  gap: 1rem;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.home-feed-filter {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.home-feed-filter:hover,
.home-feed-filter--active {
  background: #161513;
  border-color: #161513;
  color: #fff;
}

#home-feed-container,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
}

.editorial-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 1rem;
}

.editorial-card__link {
  display: flex;
  flex-direction: column;
  border-top: 0;
}

.editorial-card__media {
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: #ddd4c4;
  aspect-ratio: 1 / 1;
}

.editorial-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.editorial-card:hover .editorial-card__image {
  transform: scale(1.035);
}

.editorial-card__body {
  display: grid;
  gap: 0.55rem;
}

.editorial-card__link--text {
  display: grid;
  gap: 0.55rem;
}

.editorial-card__category {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.62);
  align-self: flex-start;
  justify-self: start;
}

.editorial-card__category:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.editorial-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #161616;
}

.editorial-card__excerpt {
  margin: 0;
  color: rgba(17, 17, 17, 0.78);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.load-more-btn,
.article-form button,
.newsletter-panel__form button,
.button-outline {
  display: inline-block;
  appearance: none;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  cursor: pointer;
  padding: 0.95rem 1.4rem;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.load-more-btn:hover,
.article-form button:hover,
.newsletter-panel__form button:hover,
.button-outline:hover {
  background: #111;
  color: #fff;
}

.archive-page__hero {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  text-align: center;
}

.archive-page__text {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.archive-page__media {
  width: 100%;
}

.archive-page__media-image {
  width: 100%;
  height: min(50vh, 28rem);
  object-fit: cover;
}

.archive-page__pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.article-cover__media,
.article-cover__image {
  width: 100%;
}

.article-cover__image {
  height: min(56vh, 28rem);
  object-fit: cover;
}

.article-header {
  max-width: 58rem;
  padding-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.article-stream {
  display: grid;
  gap: 8rem;
}

.article-stream__sentinel {
  width: 100%;
  height: 2px;
}

.article-page--stream {
  width: 100%;
}

.article-header--editorial {
  max-width: 52rem;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: 0;
}

.article-page-title {
  font-family: var(--article-title-font);
  color: var(--article-title-color);
}

.article-page-subtitle {
  font-family: var(--article-subtitle-font);
  color: var(--article-subtitle-color);
}

.article-meta-date {
  font-family: var(--article-date-font);
  color: var(--article-date-color);
}

.article-meta-author {
  font-family: var(--article-author-font);
  color: var(--article-author-color);
}

.article-header__title {
  margin: 0.8rem 0 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
}

.article-header--editorial .article-header__title {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.article-header__subtitle {
  margin: 1.4rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.article-header--editorial .article-header__subtitle {
  max-width: 42rem;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.74);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-header__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-header--editorial .article-header__meta {
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.article-header--editorial .article-header__category {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.layout-article-container {
  width: min(100%, var(--content-max-width-article));
  margin: 0 auto;
}

.article-body-wrap {
  margin-top: 3rem;
}

.article-body-wrap--editorial {
  margin-top: 4rem;
}

.article-content {
  min-width: 0;
  overflow-x: hidden;
  font-size: clamp(1.05rem, 1.3vw, 1.14rem);
  line-height: 1.9;
}

.article-content--editorial {
  width: min(100%, 48rem);
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.45vw, 1.3rem);
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.94);
}

.article-content p {
  margin: 0 0 1.5rem;
  color: rgba(17, 17, 17, 0.9);
}

.article-content--editorial p {
  margin-bottom: 1.65rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin: 3rem 0 1rem;
  color: #111;
  line-height: 1.08;
}

.article-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.75rem 1.4rem;
}

.article-content blockquote {
  margin: 2.5rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid #111;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.4;
}

.article-page--stream .article-endcap,
.article-page--stream .related-section,
.article-page--stream .article-extras {
  display: none;
}

.article-content img,
.article-content figure,
.article-content video,
.article-content iframe {
  max-width: 100% !important;
  margin: 2.5rem auto;
}

.article-content img {
  height: auto !important;
}

.article-content .alignleft {
  float: left;
  max-width: 45%;
  margin: 0.5rem 1.5rem 1rem 0;
}

.article-content .alignright {
  float: right;
  max-width: 45%;
  margin: 0.5rem 0 1rem 1.5rem;
}

.article-content .aligncenter {
  display: block;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.article-gallery-grid {
  width: 100%;
  max-width: 100%;
}

.article-gallery-grid > .article-gallery-item {
  min-width: 0;
}

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

.article-endcap {
  max-width: 58rem;
}

.article-endcap__contact {
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--border-color);
}

.article-endcap__text a {
  text-decoration: underline;
}

.article-extras {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  gap: 2.5rem;
}

.article-extras__title,
.newsletter-panel__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.02;
}

.article-feedback {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
}

.article-feedback--success {
  background: rgba(95, 151, 91, 0.08);
}

.article-feedback--error {
  background: rgba(177, 87, 87, 0.08);
}

.article-comments {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.article-comments__item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.article-comments__author,
.article-comments__date,
.article-comments__body {
  margin: 0;
}

.article-comments__author {
  font-weight: 600;
}

.article-comments__date {
  margin-top: 0.25rem;
  color: var(--muted-color);
  font-size: 0.86rem;
}

.article-comments__body {
  margin-top: 0.7rem;
}

.article-form,
.newsletter-panel__form {
  display: grid;
  gap: 0.85rem;
}

.article-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.article-form input,
.article-form textarea,
.newsletter-panel__form input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 253, 248, 0.7);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text-color);
  outline: none;
}

.article-form input:focus,
.article-form textarea:focus,
.newsletter-panel__form input:focus {
  border-color: #111;
}

.newsletter-panel {
  align-self: start;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 252, 246, 0.76);
}

.newsletter-panel__text {
  margin-bottom: 1.25rem;
}

.site-footer {
  margin-top: var(--section-spacing);
  padding: 2rem var(--page-gutter) 2.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
}

.site-footer__grid,
.site-footer__bottom {
  width: min(100%, var(--content-max-width-home));
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 0.82rem;
  color: var(--muted-color);
}

/* --- DionisioMag --- */

.magazine-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  width: min(100%, 60rem);
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-spacing);
  align-items: start;
}

.magazine-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-color);
}

.magazine-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.magazine-card__cover-link {
  display: block;
  overflow: hidden;
}

.magazine-card__cover {
  overflow: hidden;
  background: #ddd4c4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.magazine-card__cover-image {
  display: block;
  height: 200px;
  width: auto;
  transition: transform 0.5s ease;
}

.magazine-card__cover-link:hover .magazine-card__cover-image {
  transform: scale(1.03);
}

.magazine-card__cover-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-align: center;
  padding: 2rem;
}

.magazine-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.magazine-card__title-link {
  transition: opacity 0.2s ease;
}

.magazine-card__title-link:hover {
  opacity: 0.6;
}

.magazine-card__description {
  margin: 0 0 1rem;
  color: var(--muted-color);
  font-size: 0.95rem;
  line-height: 1.55;
}

.magazine-card__download {
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* --- Vídeos --- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 2rem;
  width: min(100%, var(--content-max-width-home));
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-spacing);
}

.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.video-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.video-card__category {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.62);
  justify-self: start;
}

.video-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #161616;
}

/* --- Lightbox de imagens do artigo --- */

.article-content img,
.article-cover__image {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem clamp(0.5rem, 2vw, 1.5rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__stage {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  min-height: 0;
  height: 100%;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.lightbox.is-loading .lightbox__image {
  opacity: 0.35;
}

.lightbox__caption {
  margin: 0;
  max-width: 46rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.45;
}

.lightbox__counter {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.lightbox__close,
.lightbox__nav {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  opacity: 1;
}

.lightbox__close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 2.4rem;
}

.lightbox__nav {
  font-size: 3rem;
  grid-row: 2;
}

.lightbox__nav--prev {
  grid-column: 1;
}

.lightbox__nav--next {
  grid-column: 3;
}

.lightbox__nav:hover {
  transform: scale(1.1);
}

.lightbox__thumbs {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 0;
  scrollbar-width: thin;
}

.lightbox__thumb {
  appearance: none;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 3.2rem;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  opacity: 0.5;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.2s ease, outline-color 0.2s ease;
}

.lightbox__thumb:hover {
  opacity: 0.85;
}

.lightbox__thumb.is-active {
  opacity: 1;
  outline-color: #fff;
}

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

@media (max-width: 767px) {
  .lightbox__nav {
    font-size: 2.2rem;
    padding: 0.25rem;
  }

  .lightbox__thumb {
    width: 3.4rem;
    height: 2.5rem;
  }
}

@media (max-width: 1024px) {
  #home-feed-container,
  .archive-grid,
  .related-section__grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-extras,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-logo {
    justify-self: center;
  }

  .site-header__action-label {
    font-size: 0.68rem;
  }

  .editorial-hero,
  .editorial-hero__content {
    min-height: 68vh;
  }

  .editorial-hero--fixed,
  .editorial-hero--fixed .editorial-hero__content {
    min-height: 100svh;
  }

  #home-feed-container,
  .archive-grid,
  .related-section__grid,
  .video-grid,
  .article-form__row {
    grid-template-columns: 1fr;
  }

  .magazine-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-header__inner {
    min-height: 4.75rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .site-logo__text {
    font-size: 1.15rem;
  }

  .home-page__section,
  .archive-page__content,
  .related-section,
  .article-extras,
  .article-endcap {
    margin-top: 3.25rem;
  }

  .home-page__filters {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .editorial-hero__title {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .editorial-hero__title--brand {
    font-size: clamp(3.4rem, 20vw, 5.6rem);
  }

  .editorial-hero__brand-image {
    width: min(24rem, 82vw);
  }

  .editorial-hero__excerpt {
    font-size: 0.95rem;
    max-width: 22rem;
  }

  .editorial-card__link {
    padding-top: 0.85rem;
  }

  .editorial-card__image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .editorial-card__title {
    font-size: 1.22rem;
  }

  .editorial-card__excerpt {
    font-size: 0.82rem;
  }

  .drawer-menu__header {
    grid-template-columns: auto 1fr auto;
    margin-bottom: 2rem;
  }

  .drawer-menu__nav {
    justify-items: start;
    flex: 1 1 auto;
    gap: 1rem;
    align-content: center;
  }

  .drawer-menu__feature-links,
  .drawer-menu__links,
  .drawer-menu__footer {
    justify-content: flex-start;
  }

  .drawer-menu__primary-link,
  .drawer-menu__feature-link,
  .drawer-menu__link {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
  }

  .article-stream {
    gap: 5rem;
  }

  .article-cover__image {
    height: min(34vh, 14rem);
  }

  .article-header--editorial .article-header__title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .article-content--editorial {
    font-size: 1.08rem;
  }

  .article-content .alignleft,
  .article-content .alignright,
  .article-content .aligncenter {
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
