/* =============================================================
   VIZION JOURNAL — DESIGN SYSTEM
   Version 1.0.0
   Principles: Editorial premium · Minimalist · Timeless · Fast
   Inspired by: Monocle · Apple Newsroom · Financial Times
   ============================================================= */

/* ── 0. CSS CUSTOM PROPERTIES ── */
:root {
  /* Color palette */
  --vj-black:        #111111;
  --vj-text:         #4A4A4A;
  --vj-text-muted:   #777777;
  --vj-gold:         #A47A45;
  --vj-white:        #FFFFFF;
  --vj-off-white:    #F7F5F2;
  --vj-border:       #D8D8D8;
  --vj-border-light: #EBEBEB;

  /* Typography */
  --font-serif:  'Playfair Display', 'Georgia', serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --text-hero:     clamp(48px, 6vw, 76px);
  --text-h1:       clamp(36px, 4.5vw, 58px);
  --text-h2:       clamp(28px, 3.5vw, 42px);
  --text-h3:       clamp(22px, 2.5vw, 30px);
  --text-card:     clamp(20px, 2vw, 26px);
  --text-body:     18px;
  --text-body-sm:  16px;
  --text-label:    11px;
  --text-meta:     12px;
  --text-nav:      11px;

  /* Spacing */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-2xl:  120px;

  /* Layout */
  --container:  1300px;
  --pad-x:      clamp(20px, 4vw, 56px);
  --reading-width: 780px;

  /* Animation */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --duration:   200ms;
}

/* ── 1. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--vj-text);
  background: var(--vj-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
}

button {
  cursor: pointer;
}

/* ── 2. TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vj-black);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  margin-bottom: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
  color: var(--vj-black);
}

/* Section label — uppercase small caps used throughout */
.vj-label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vj-gold);
  display: block;
  margin-bottom: 12px;
}

.vj-label--muted {
  color: var(--vj-text-muted);
}

.vj-label--black {
  color: var(--vj-black);
}

/* ── 3. LAYOUT ── */
.vj-container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.vj-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.vj-section--sm {
  padding-top: 56px;
  padding-bottom: 56px;
}

.vj-section--lg {
  padding-top: 140px;
  padding-bottom: 140px;
}

.vj-section--homepage-last {
  padding-bottom: 96px;
}

.vj-divider {
  border: none;
  border-top: 1px solid var(--vj-border);
  margin: 0;
}

/* ── Divider, content-width variant ──
 * Base .vj-divider has no width of its own — it fills whatever
 * parent it sits in. Used bare (outside any .vj-container) it goes
 * full-bleed to the viewport edge; used inside .vj-about-writer
 * (max-width: var(--reading-width)) it's clipped to the 780px
 * reading column. Neither matches the page's content edge.
 *
 * .vj-about-divider reuses .vj-container's exact box model (same
 * max-width, same padding, same breakpoint behavior) so the line's
 * left/right edges land exactly where the heading and body text
 * above and below it start and end, at every viewport width.
 *
 * All four chapter dividers on the About page sit at a section
 * boundary, between two <section> elements, with no margin of their
 * own (inherits margin: 0 from .vj-divider) — vertical spacing comes
 * entirely from the padding of the sections on either side. Same
 * mechanism everywhere means identical visual gap above and below
 * every divider, not four separately-tuned values.
 *
 * Scoped — does not affect the base .vj-divider used elsewhere
 * (e.g. page-contacto.php), which keeps its current behavior.
 */
.vj-about-divider {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ── 4. BUTTONS ── */
.vj-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
}

.vj-btn--primary {
  background: var(--vj-black);
  color: var(--vj-white);
  border: 1px solid var(--vj-black);
}

.vj-btn--primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.vj-btn--ghost {
  background: transparent;
  color: var(--vj-black);
  border: 1px solid var(--vj-black);
}

.vj-btn--ghost:hover {
  background: var(--vj-black);
  color: var(--vj-white);
}

/* Text link with arrow */
.vj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vj-black);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease);
}

.vj-link:hover {
  border-color: var(--vj-black);
}

.vj-link .arrow {
  transition: transform var(--duration) var(--ease);
}

.vj-link:hover .arrow {
  transform: translateX(3px);
}

/* ── 5. HEADER ── */
.vj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vj-white);
  border-bottom: 1px solid var(--vj-border);
  height: 88px;
  display: flex;
  align-items: center;
}

.vj-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  width: 100%;
}

/* Header-only: removes .vj-container's horizontal padding so the logo
   and NEWSLETTER button sit flush against the container's true edge,
   zero gap. .vj-container itself is untouched everywhere else on the
   site (hero, sidebar, archive, etc. keep their pad-x). */
.vj-container--flush {
  padding-left: 0;
  padding-right: 0;
}

/* Logo */
.vj-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 96px;
}

.vj-logo__img {
  display: block;
  width: 253px;
  height: auto;
  max-width: none;
}

/* Navigation */
.vj-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.vj-nav__item {
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.vj-nav__item:hover,
.vj-nav__item.current-menu-item,
.vj-nav__item.current-category-ancestor {
  color: var(--vj-black);
}

.vj-nav__item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--vj-black);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
}

.vj-nav__item:hover::after,
.vj-nav__item.current-menu-item::after {
  transform: scaleX(1);
}

/* Header right */
.vj-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: flex-end;
  margin-left: 40px;
}

.vj-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--vj-text-muted);
  transition: color var(--duration) var(--ease);
}

.vj-search-btn:hover {
  color: var(--vj-black);
}

/* Mobile nav */
.vj-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 24px;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
}

.vj-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--vj-black);
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.vj-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.vj-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.vj-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.vj-mobile-menu {
  display: none;
  position: fixed;
  inset: 88px 0 0 0;
  background: var(--vj-white);
  z-index: 99;
  padding: var(--space-xl) var(--pad-x);
  flex-direction: column;
  gap: var(--space-lg);
  border-top: 1px solid var(--vj-border);
  overflow-y: auto;
}

.vj-mobile-menu.is-open {
  display: flex;
}

.vj-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.vj-mobile-nav__item {
  font-size: 28px;
  font-family: var(--font-serif);
  color: var(--vj-black);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vj-mobile-nav__item:hover {
  color: var(--vj-text-muted);
}

/* ── 6. HERO ── */
.vj-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.vj-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 64px 96px var(--pad-x);
  padding-left: max(var(--pad-x), calc((100vw - var(--container)) / 2 + var(--pad-x)));
}

.vj-hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--vj-black);
  margin-bottom: 20px;
  max-width: 560px;
}

.vj-hero__subtitle {
  font-size: var(--text-body-sm);
  line-height: 1.75;
  color: var(--vj-text);
  max-width: 420px;
  margin-bottom: var(--space-md);
}

.vj-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.vj-hero__image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: var(--vj-off-white);
}

.vj-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  position: absolute;
  inset: 0;
}

/* ── 7. SECTION HEADERS ── */
.vj-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--vj-border);
  padding-bottom: var(--space-sm);
}

.vj-section-title {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vj-black);
}

/* ── 8. ARTICLE CARDS ── */
.vj-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--vj-border);
  border: 1px solid var(--vj-border);
}

.vj-card {
  background: var(--vj-white);
  display: flex;
  flex-direction: column;
  transition: background var(--duration) var(--ease);
}

.vj-card:hover {
  background: var(--vj-off-white);
}

.vj-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.vj-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}

.vj-card:hover .vj-card__image img {
  transform: scale(1.03);
}

.vj-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-xs);
}

.vj-card__title {
  font-size: var(--text-card);
  font-weight: 700;
  line-height: 1.25;
  color: var(--vj-black);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.vj-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--vj-text-muted);
  flex: 1;
}

.vj-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--vj-border-light);
}

.vj-card__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
}

.vj-card__arrow {
  color: var(--vj-text-muted);
  transition: transform var(--duration) var(--ease), color var(--duration) var(--ease);
}

.vj-card:hover .vj-card__arrow {
  transform: translateX(4px);
  color: var(--vj-black);
}

/* ── 9. ARTICLE LIST ── */
.vj-article-list {
  display: flex;
  flex-direction: column;
}

.vj-article-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--vj-border-light);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--duration) var(--ease);
}

.vj-article-item:first-child {
  border-top: 1px solid var(--vj-border-light);
}

.vj-article-item:hover {
  opacity: 0.75;
}

/* ── Archive-page spacing modifier ──
 * .vj-article-item's own padding (var(--space-md), 24px) stays
 * untouched — it's shared by search.php, index.php, archive.php and
 * category.php, and the item's internal proportions (thumbnail,
 * title, excerpt, meta) should stay identical everywhere for
 * editorial consistency. This modifier only adds breathing room
 * *between* consecutive items on the Arquivo page, where the brief
 * is to feel like a library, not a dense dashboard list. The first
 * and last item keep their normal padding so this doesn't stack on
 * top of the section's own top/bottom padding and over-space the
 * page above the first article / below the last.
 */
.vj-article-list--archive .vj-article-item + .vj-article-item {
  padding-top: var(--space-lg);
}

.vj-article-item__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vj-article-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}

.vj-article-item:hover .vj-article-item__thumb img {
  transform: scale(1.05);
}

.vj-article-item__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vj-article-item__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--vj-black);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.vj-article-item__excerpt {
  font-size: 14px;
  color: var(--vj-text-muted);
  line-height: 1.55;
}

.vj-article-item__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vj-article-item__meta .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--vj-text-muted);
}

/* ── 10. CATEGORY FILTERS ── */
.vj-filters {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--vj-border);
  margin-bottom: var(--space-md);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vj-filters::-webkit-scrollbar {
  display: none;
}

.vj-filter {
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  padding: 10px 0;
  margin-right: 24px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  background: none;
}

.vj-filter:hover,
.vj-filter.is-active {
  color: var(--vj-black);
  border-bottom-color: var(--vj-black);
}

/* ── 11. HOMEPAGE SPLIT (Articles + Sidebar) ── */
.vj-content-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-2xl);
  align-items: start;
}

/* ── 12. SIDEBAR ── */
.vj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 72px;
}

.vj-sidebar__block {
  padding: var(--space-lg) var(--space-lg) var(--space-lg);
  background: var(--vj-off-white);
  border: 1px solid var(--vj-border);
}

.vj-sidebar__heading {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vj-black);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--vj-border);
}

.vj-sidebar__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--vj-text);
  margin-bottom: var(--space-sm);
}

.vj-signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--vj-black);
  margin-top: var(--space-sm);
}

/* ── 13. NEWSLETTER FORM ── */
.vj-newsletter-form {
  display: flex;
  gap: 0;
  margin-top: var(--space-sm);
}

.vj-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 13px;
  border: 1px solid var(--vj-border);
  border-right: none;
  background: var(--vj-white);
  color: var(--vj-black);
  transition: border-color var(--duration) var(--ease);
  min-width: 0;
}

.vj-newsletter-input:focus {
  border-color: var(--vj-black);
}

.vj-newsletter-input::placeholder {
  color: var(--vj-text-muted);
}

.vj-newsletter-submit {
  padding: 12px 18px;
  background: var(--vj-black);
  color: var(--vj-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--vj-black);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  white-space: nowrap;
}

.vj-newsletter-submit:hover {
  background: #2a2a2a;
}

.vj-newsletter-confirm {
  display: none;
  font-size: 14px;
  color: var(--vj-gold);
  margin-top: var(--space-md);
  letter-spacing: 0.05em;
}

/* Full-width newsletter block */
.vj-newsletter-block {
  background: var(--vj-off-white);
  border-top: 1px solid var(--vj-border);
}

.vj-newsletter-block__inner {
  max-width: var(--reading-width);
  margin: 0 auto;
  text-align: center;
  padding: 100px var(--pad-x);
}

.vj-newsletter-block__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--vj-black);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.vj-newsletter-block__text {
  font-size: var(--text-body-sm);
  color: var(--vj-text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.vj-newsletter-block .vj-newsletter-form {
  max-width: 440px;
  margin: 0 auto;
}

/* ── 14. FOOTER ── */
.vj-footer {
  border-top: 1px solid var(--vj-border);
  background: var(--vj-white);
}

.vj-footer__main {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr auto auto;
  align-items: start;
  column-gap: var(--space-2xl);
  row-gap: var(--space-md);
  padding: 76px var(--pad-x) 56px;
}

.vj-footer__col--logo {
  display: flex;
  align-items: flex-start;
}

.vj-footer__logo {
  display: block;
  text-decoration: none;
}

.vj-footer__logo-img {
  display: block;
  width: 150px;
  height: auto;
  max-width: none;
}

.vj-footer__col--manifesto {
  max-width: 320px;
}

.vj-footer__tagline {
  font-size: 14px;
  line-height: 1.75;
  color: var(--vj-text-muted);
}

.vj-footer__col--nav {
  padding-top: 8px;
}

.vj-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vj-footer__nav-item {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  transition: color var(--duration) var(--ease);
}

.vj-footer__nav-item:hover {
  color: var(--vj-black);
}

.vj-footer__col--social {
  padding-top: 8px;
}

.vj-footer__social {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.vj-footer__social-link {
  color: var(--vj-text-muted);
  transition: color var(--duration) var(--ease);
  display: flex;
  align-items: center;
}

.vj-footer__social-link:hover {
  color: var(--vj-black);
}

.vj-footer__bottom {
  border-top: 1px solid var(--vj-border-light);
  padding: 20px var(--pad-x) 26px;
  text-align: center;
}

.vj-footer__copy {
  font-size: 12px;
  color: var(--vj-text-muted);
  letter-spacing: 0.05em;
}

/* ── 15. SINGLE POST ── */
.vj-post-header {
  max-width: 1084px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--pad-x) calc(var(--space-lg) + 30px);
  text-align: center;
}

.vj-post-title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.1;
  color: var(--vj-black);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.vj-post-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--vj-text);
  line-height: 1.6;
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.vj-post-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
}

.vj-post-byline .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--vj-text-muted);
}

.vj-post-hero {
  max-width: 1000px;
  margin: 0 auto calc(var(--space-2xl) + 30px);
  padding: 0 var(--pad-x);
}

.vj-post-hero img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

/* Article body */
.vj-post-body {
  max-width: 1084px; /* ~972px de texto efetivo após padding lateral — 1.5x a largura de leitura anterior, por pedido explícito */
  margin: 0 auto;
  padding: 0 var(--pad-x) var(--space-2xl);
}

.vj-post-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 1.6em;
  margin-bottom: 0.7em;
}

.vj-post-body h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.vj-post-body p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--vj-text);
  margin-bottom: 1.5em;
}

/* Editorial lead — only the article's opening paragraph */
.vj-post-body > p:first-of-type {
  font-size: clamp(20px, 1.8vw, 23px);
  line-height: 1.65;
  font-weight: 400;
  color: var(--vj-text);
}

.vj-post-body ul,
.vj-post-body ol {
  margin-bottom: 1.5em;
  padding-left: 1.4em;
  list-style: none;
}

.vj-post-body li {
  position: relative;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--vj-text);
  margin-bottom: 0.85em;
}

.vj-post-body ul li::before {
  content: '';
  position: absolute;
  left: -1.1em;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vj-gold);
}

.vj-post-body ol {
  counter-reset: vj-ol-counter;
}

.vj-post-body ol li {
  counter-increment: vj-ol-counter;
}

.vj-post-body ol li::before {
  content: counter(vj-ol-counter) '.';
  position: absolute;
  left: -1.4em;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--vj-gold);
}

.vj-post-body a {
  color: var(--vj-black);
  border-bottom: 1px solid var(--vj-border);
  transition: border-color var(--duration) var(--ease);
}

.vj-post-body a:hover {
  border-color: var(--vj-black);
}

.vj-post-body blockquote {
  margin: 3em auto;
  padding: 0;
  max-width: 680px;
  text-align: center;
  border: none;
}

.vj-post-body blockquote::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--vj-gold);
  margin: 0 auto 1.2em;
}

.vj-post-body blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--vj-black);
  line-height: 1.5;
}

.vj-post-body blockquote cite {
  display: block;
  margin-top: 1em;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
}

.vj-post-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.vj-post-body figure {
  margin: 2.5em 0;
}

.vj-post-body figure img {
  width: 100%;
  height: auto;
  display: block;
}

.vj-post-body figcaption {
  font-size: 13px;
  color: var(--vj-text-muted);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* Pull quote */
.vj-pull-quote {
  border-top: none;
  border-bottom: none;
  padding: 0;
  margin: var(--space-2xl) auto;
  max-width: 600px;
  text-align: center;
}

.vj-pull-quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--vj-gold);
  margin: 0 auto var(--space-md);
}

.vj-pull-quote__text {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  font-style: italic;
  color: var(--vj-black);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* Related articles */
.vj-related {
  border-top: 1px solid var(--vj-border);
  padding: var(--space-xl) 0;
}

/* ── 16. ARCHIVE / CATEGORY ── */
/* ── Archive hero (shared by page-arquivo.php and category.php's
 * non-pillar / date / author archive path) ──
 * Previously: background: var(--vj-off-white) made this read as an
 * isolated beige block against the site's white body background, and
 * the section had its own padding: var(--space-xl) var(--pad-x) while
 * .vj-archive-hero__inner separately centered a max-width:
 * var(--container) box inside that already-padded area — the same
 * double-padding conflict fixed on the About page hero. Now: no
 * background (transparent, reads as part of the page), and the
 * section only controls vertical padding; .vj-archive-hero__inner is
 * placed inside .vj-container in the markup for horizontal edges,
 * so its left/right alignment matches every other section on both
 * pages. Vertical padding increased toward the About hero's rhythm
 * (var(--space-2xl) top, more room below before the next section)
 * so it reads as an editorial opener, not a compressed banner.
 */
.vj-archive-hero {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--vj-border);
}

.vj-archive-hero__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--vj-black);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.vj-archive-hero__desc {
  font-size: var(--text-body-sm);
  color: var(--vj-text);
  max-width: 560px;
  line-height: 1.65;
}

/* ── 17. ABOUT PAGE ──
 * All sections on this page share .vj-container for their horizontal
 * edges so the left margin is identical top to bottom. The hero used
 * to apply its own padding: var(--space-2xl) var(--pad-x) directly on
 * the <section>, then center a max-width:var(--container) inner block
 * inside that already-padded area — two competing padding strategies
 * that put the hero ~56px to the left of every section below it. The
 * hero now uses .vj-container too, like the rest of the page. */
.vj-about-hero {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--vj-border);
}

.vj-about-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.vj-about-body {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--pad-x);
}

.vj-about-body h2 {
  font-size: clamp(26px, 2.5vw, 34px);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.vj-about-body h2:first-child {
  margin-top: 0;
}

.vj-about-body p {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--vj-text);
  margin-bottom: 1.5em;
}

/* ── About hero — typographic composition (replaces portrait/placeholder) ──
 * Four words stacked like a magazine cover line: pure type, no box,
 * no border, no background. Uppercase serif, tight leading, wide
 * negative space between lines does the work an image would have
 * done. Built only from existing tokens; no new colors.
 */
.vj-about-hero__type {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.vj-about-hero__type span {
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--vj-black);
}

@media (max-width: 880px) {
  .vj-about-hero__type span {
    font-size: clamp(30px, 9vw, 44px);
  }
}

/* ── 18. SEARCH PAGE ── */
.vj-search-hero {
  padding: var(--space-xl) var(--pad-x);
  border-bottom: 1px solid var(--vj-border);
  background: var(--vj-off-white);
}

.vj-search-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--vj-black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 12px 0 8px;
}

.vj-search-hero__subtitle {
  font-size: var(--text-body-sm);
  color: var(--vj-text-muted);
  margin-bottom: var(--space-lg);
}

.vj-search-empty {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.vj-search-empty__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--vj-black);
  margin-bottom: var(--space-sm);
}

.vj-search-empty__text {
  color: var(--vj-text-muted);
  font-size: var(--text-body-sm);
  max-width: 400px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.vj-search-empty__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.vj-search-form {
  display: flex;
  gap: 0;
  max-width: 600px;
}

.vj-search-field {
  flex: 1;
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid var(--vj-border);
  border-right: none;
  background: var(--vj-white);
}

.vj-search-field:focus {
  border-color: var(--vj-black);
}

.vj-search-submit {
  padding: 16px 24px;
  background: var(--vj-black);
  color: var(--vj-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ── 19. 404 PAGE ── */
.vj-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: var(--space-2xl) var(--pad-x);
}

.vj-404__number {
  font-family: var(--font-serif);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  color: var(--vj-border);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-md);
}

.vj-404__title {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--vj-black);
  margin-bottom: var(--space-sm);
}

.vj-404__text {
  font-size: var(--text-body-sm);
  color: var(--vj-text-muted);
  max-width: 400px;
  margin: 0 auto var(--space-lg);
}

/* ── 20. NEWSLETTER PAGE ── */
.vj-newsletter-page {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--pad-x);
}

.vj-newsletter-page__title {
  font-size: var(--text-h1);
  font-weight: 700;
  color: var(--vj-black);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

/* margin-bottom removed (was var(--space-lg), 48px) — it stacked with
 * this section's own padding-bottom AND the form section's
 * padding-top, producing ~160px of redundant space between the last
 * item and the form. margin-top kept to separate the list from the
 * "O que recebes" heading above it. */
.vj-newsletter-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: var(--space-lg);
}

.vj-newsletter-perk {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--vj-text);
}

.vj-newsletter-perk::before {
  content: '—';
  color: var(--vj-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Form section on this page only — template-parts/newsletter-form.php
 * is called here directly (not wrapped in .vj-newsletter-block), so
 * it doesn't inherit that block's `.vj-newsletter-block
 * .vj-newsletter-form { max-width: 440px; margin: 0 auto; }` rule.
 * This reproduces a similar centered presentation, scoped to this
 * page — the shared rule itself is untouched.
 *
 * Width widened from the shared block's 440px to 520px and the
 * input/submit given slightly taller padding (below) so the form
 * reads with more presence/weight as the page's single focal action —
 * same colors, border, font, uppercase tracking on the button as
 * everywhere else in the site; only size and proportion change, and
 * only here.
 */
.vj-newsletter-page__form {
  max-width: var(--reading-width);
  margin: 0 auto;
  text-align: center;
}

.vj-newsletter-page__trust {
  font-size: 13px;
  color: var(--vj-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.vj-newsletter-page__form .vj-newsletter-form {
  max-width: 520px;
  margin: 0 auto;
}

/* Taller, more present input + button — same border, background,
 * color and uppercase tracking as the shared .vj-newsletter-input /
 * .vj-newsletter-submit elsewhere on the site; only padding and
 * font-size scale up slightly, and only inside this page's form
 * wrapper. Below 480px the form stacks vertically (next rule) so
 * input and button each take the full available width instead of
 * needing to fit side-by-side — safe down to the smallest realistic
 * mobile viewports (320px) by construction, not by estimating text
 * width at a fixed breakpoint. */
.vj-newsletter-page__form .vj-newsletter-input {
  padding: 16px 18px;
  font-size: 14px;
}

.vj-newsletter-page__form .vj-newsletter-submit {
  padding: 16px 26px;
  font-size: 11px;
}

@media (max-width: 480px) {
  .vj-newsletter-page__form .vj-newsletter-form {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .vj-newsletter-page__form .vj-newsletter-input {
    border-right: 1px solid var(--vj-border);
  }

  .vj-newsletter-page__form .vj-newsletter-submit {
    width: 100%;
  }
}

/* ── 21. PAGINATION ── */
.vj-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.vj-pagination__link {
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vj-black);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--vj-black);
  transition: opacity var(--duration) var(--ease);
}

.vj-pagination__link:hover {
  opacity: 0.6;
}

.vj-pagination__link.is-disabled {
  color: var(--vj-border);
  border-bottom-color: var(--vj-border);
  cursor: default;
}

.vj-pagination__status {
  font-size: var(--text-meta);
  color: var(--vj-text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── 22. TAGS ── */
.vj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.vj-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--vj-border);
  color: var(--vj-text-muted);
  transition: all var(--duration) var(--ease);
}

.vj-tag:hover {
  border-color: var(--vj-black);
  color: var(--vj-black);
}

/* ── 23. BREADCRUMB ── */
.vj-post-breadcrumb {
  max-width: 1084px;
  margin: 0 auto;
  padding: var(--space-md) var(--pad-x) 0;
}

.vj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  white-space: nowrap;
  overflow: hidden;
}

.vj-breadcrumb a {
  color: var(--vj-text-muted);
  transition: color var(--duration) var(--ease);
}

.vj-breadcrumb a:hover {
  color: var(--vj-black);
}

.vj-breadcrumb span[aria-hidden="true"] {
  color: var(--vj-border);
}

.vj-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 24. READING PROGRESS ── */
.vj-reading-progress {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vj-border-light);
  z-index: 99;
  transform-origin: left;
}

.vj-reading-progress__bar {
  height: 100%;
  background: var(--vj-gold);
  width: 0%;
  transition: width 50ms linear;
}

/* ── 25. SEARCH OVERLAY ── */
.vj-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
}

.vj-search-overlay.is-open {
  display: flex;
}

.vj-search-overlay__form {
  width: 100%;
  max-width: 680px;
  position: relative;
}

.vj-search-overlay__input {
  width: 100%;
  padding: 20px 0;
  font-size: clamp(28px, 4vw, 48px);
  font-family: var(--font-serif);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: var(--vj-white);
  caret-color: var(--vj-gold);
}

.vj-search-overlay__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.vj-search-overlay__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: rgba(255,255,255,0.5);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration) var(--ease);
  line-height: 1;
}

.vj-search-overlay__close:hover {
  color: var(--vj-white);
}

.vj-search-overlay__hint {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ── 26. SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--vj-black);
  color: var(--vj-white);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
}

/* ── 27. UTILITIES ── */
.vj-text-center { text-align: center; }
.vj-text-muted  { color: var(--vj-text-muted); }
.vj-mb-0        { margin-bottom: 0; }
.vj-mt-auto     { margin-top: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 28. RESPONSIVE ── */
@media (max-width: 1100px) {
  .vj-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vj-content-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .vj-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding-top: 0;
  }

  .vj-about-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .vj-logo__img {
    width: 180px;
    height: auto;
    max-width: none;
  }

  .vj-logo {
    margin-right: 40px;
  }

  .vj-container--flush {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .vj-footer__logo-img {
    width: 140px;
    height: auto;
    max-width: none;
  }

  .vj-footer__main {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-xl);
  }

  .vj-footer__col--social {
    justify-self: end;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 56px;
    --space-2xl: 80px;
  }

  .vj-post-body h2 {
    font-size: 36px;
  }

  .vj-post-body .wp-block-pullquote {
    padding-left: var(--space-md);
    max-width: 100%;
  }

  .vj-post-body .wp-block-pullquote p {
    font-size: 22px;
  }

  .vj-post-body .wp-block-group.is-style-vj-callout {
    padding: var(--space-sm) var(--space-md);
  }

  .vj-post-body .wp-block-media-text {
    grid-template-columns: 1fr !important;
  }

  .vj-post-body .wp-block-media-text__media {
    order: -1;
  }

  .vj-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .vj-logo {
    margin-right: 0;
  }

  .vj-logo__img {
    width: 140px;
    height: auto;
    max-width: none;
  }

  .vj-footer__logo-img {
    width: 120px;
    height: auto;
    max-width: none;
  }

  .vj-nav {
    display: none;
  }

  .vj-header__right .vj-btn {
    display: none;
  }

  .vj-header__right {
    margin-left: 0;
  }

  .vj-hamburger {
    display: flex;
  }

  .vj-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .vj-hero__content {
    padding: var(--space-xl) var(--pad-x);
    order: 1;
  }

  .vj-hero__image {
    order: 2;
    aspect-ratio: 3 / 2;
    min-height: 300px;
    position: relative;
  }

  .vj-cards-grid {
    grid-template-columns: 1fr;
  }

  .vj-article-item {
    grid-template-columns: 90px 1fr;
    gap: var(--space-sm);
  }

  .vj-footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .vj-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .vj-footer__social {
    justify-content: flex-start;
  }

  .vj-footer__col--manifesto {
    max-width: 100%;
  }

  .vj-sidebar {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .vj-post-header {
    text-align: left;
    padding: var(--space-xl) var(--pad-x) var(--space-md);
  }

  .vj-post-byline {
    justify-content: flex-start;
  }

  .vj-newsletter-form {
    flex-direction: column;
  }

  .vj-newsletter-input {
    border-right: 1px solid var(--vj-border);
    border-bottom: none;
  }

  .vj-newsletter-submit {
    padding: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .vj-article-item {
    grid-template-columns: 80px 1fr;
  }

  .vj-hero__title {
    font-size: 42px;
  }

  .vj-post-body h2 {
    font-size: 32px;
  }
}

/* ── 29. PRINT ── */
@media print {
  .vj-header,
  .vj-footer,
  .vj-newsletter-block,
  .vj-sidebar,
  .vj-reading-progress {
    display: none;
  }

  .vj-post-body {
    max-width: 100%;
    padding: 0;
  }
}

/* ── 30. REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SPRINT 2 ADDITIONS — Editorial article enhancements
   Full-bleed images, FT-style tables, code blocks, social share,
   end-of-article block, previous/next navigation.
   ══════════════════════════════════════════════════════════════ */

/* ── 31. (consolidated into list rules above) ── */

/* ── 32. FULL-BLEED EDITORIAL IMAGES ── */
/* Default figures stay within the reading column; figures tagged
   .vj-breakout or block-editor's .alignfull/.alignwide break out
   to a wider cinematic measure without ever distorting aspect ratio. */
.vj-post-body figure.vj-breakout,
.vj-post-body .alignfull,
.vj-post-body .alignwide {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.vj-post-body figure.vj-breakout img,
.vj-post-body .alignfull img,
.vj-post-body .alignwide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.vj-post-body figure.vj-breakout figcaption,
.vj-post-body .alignfull figcaption,
.vj-post-body .alignwide figcaption {
  max-width: 1084px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── 33. TABLES — Financial Times style ── */
.vj-post-body table {
  width: 100%;
  margin: 2.5em 0;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

.vj-post-body thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  padding: 0 var(--space-sm) 12px 0;
  border-bottom: 2px solid var(--vj-black);
}

.vj-post-body tbody td {
  padding: 12px var(--space-sm) 12px 0;
  border-bottom: 1px solid var(--vj-border);
  color: var(--vj-text);
  vertical-align: top;
}

.vj-post-body tbody tr:last-child td {
  border-bottom: 1px solid var(--vj-black);
}

.vj-post-body table td:first-child,
.vj-post-body table th:first-child {
  font-weight: 600;
  color: var(--vj-black);
}

/* ── 34. CODE — refined, no heavy dark theme ── */
.vj-post-body code {
  font-family: 'SF Mono', 'Roboto Mono', Consolas, monospace;
  font-size: 0.85em;
  background: var(--vj-off-white);
  border: 1px solid var(--vj-border);
  border-radius: 3px;
  padding: 2px 6px;
  color: var(--vj-black);
}

.vj-post-body pre {
  margin: 2.5em 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--vj-off-white);
  border: 1px solid var(--vj-border);
  border-radius: 4px;
  overflow-x: auto;
}

.vj-post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--vj-black);
}

/* ── 34b. GUTENBERG BUTTONS — consistent with homepage .vj-btn--primary ── */
.vj-post-body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  background: var(--vj-black);
  color: var(--vj-white);
  border: 1px solid var(--vj-black);
  border-radius: 0;
  text-decoration: none;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.vj-post-body .wp-block-button__link:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: var(--vj-white);
}

.vj-post-body .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--vj-black);
}

.vj-post-body .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--vj-black);
  color: var(--vj-white);
}

.vj-post-body .wp-block-buttons {
  margin: 2.5em 0;
  justify-content: center;
}

/* ── 34c. GUTENBERG SEPARATORS — short, centered, subtle ── */
.vj-post-body hr,
.vj-post-body .wp-block-separator {
  border: none;
  border-top: 1px solid var(--vj-border);
  width: 56px;
  margin: var(--space-2xl) auto;
}

/* ── 34d. GUTENBERG EMBEDS — responsive, clean, no overflow ── */
.vj-post-body .wp-block-embed {
  margin: 2.5em 0;
}

.vj-post-body .wp-block-embed__wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.vj-post-body .wp-block-embed iframe,
.vj-post-body .wp-block-embed video,
.vj-post-body .wp-block-embed object {
  max-width: 100%;
}

.vj-post-body .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
}

.vj-post-body .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vj-post-body .wp-block-embed figcaption {
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   SPRINT 3 ADDITIONS — Gutenberg editorial system completion
   Fills the gaps left by Sprint 2: H4, bold, native pullquote block,
   galleries, editorial callout (Group block style variation), explicit
   list class, and a mobile horizontal-scroll wrapper for wide tables.
   Everything below stays inside .vj-post-body / .editor-styles-wrapper —
   homepage, header, footer, archive and brand tokens are untouched.
   ══════════════════════════════════════════════════════════════ */

/* ── 34e. H4 — discreet but useful, sits between H3 and body copy ── */
.vj-post-body h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.35;
  color: var(--vj-black);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

/* ── 34f. BOLD — strong but not aggressive ── */
.vj-post-body strong,
.vj-post-body b {
  font-weight: 700;
  color: var(--vj-black);
}

/* ── 34g. LIST BLOCK — explicit class coverage alongside bare ul/ol,
   same visual rhythm, future-proofs editor-canvas markup changes ── */
.vj-post-body .wp-block-list {
  margin-bottom: 1.5em;
  padding-left: 1.4em;
  list-style: none;
}

/* ── 34h. NATIVE PULLQUOTE BLOCK — visual pause in a long essay,
   distinct from the regular blockquote: indented, not centered,
   so the two reads stay visually distinguishable on the page ── */
.vj-post-body .wp-block-pullquote {
  margin: var(--space-2xl) 0;
  padding: 0 0 0 var(--space-lg);
  border: none;
  border-left: 2px solid var(--vj-gold);
  max-width: 620px;
}

.vj-post-body .wp-block-pullquote blockquote {
  margin: 0;
  max-width: none;
  text-align: left;
}

.vj-post-body .wp-block-pullquote blockquote::before {
  display: none;
}

.vj-post-body .wp-block-pullquote p {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 500;
  font-style: italic;
  color: var(--vj-black);
  line-height: 1.4;
  margin-bottom: 0;
}

.vj-post-body .wp-block-pullquote cite {
  display: block;
  margin-top: 1em;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
}

/* Centered pullquote style variation, if an editor picks it */
.vj-post-body .wp-block-pullquote.is-style-solid-color {
  text-align: center;
  border-left: none;
  border-top: none;
  padding-left: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.vj-post-body .wp-block-pullquote.is-style-solid-color blockquote {
  text-align: center;
}

/* ── 34i. GALLERY — same restraint as single images, no shadows/borders ── */
.vj-post-body .wp-block-gallery {
  margin: 2.5em 0;
  gap: var(--space-sm);
}

.vj-post-body .wp-block-gallery .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.vj-post-body .wp-block-gallery figcaption {
  font-size: 13px;
  color: var(--vj-text-muted);
  text-align: center;
}

/* ── 34j. EDITORIAL CALLOUT — Group block style variation
   ("Editorial Callout" in the Styles panel). Restrained: hairline
   border, off-white fill, optional uppercase label as the group's
   first child heading. No colored boxes, no icons. ── */
.vj-post-body .wp-block-group.is-style-vj-callout {
  background: var(--vj-off-white);
  border: 1px solid var(--vj-border);
  border-left: 2px solid var(--vj-gold);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
}

.vj-post-body .wp-block-group.is-style-vj-callout > *:last-child {
  margin-bottom: 0;
}

.vj-post-body .wp-block-group.is-style-vj-callout p {
  font-size: clamp(16px, 1.4vw, 18px);
  margin-bottom: 1em;
}

/* Optional small uppercase label — use a Paragraph block styled
   as the callout's first child with text like "NOTA EDITORIAL" */
.vj-post-body .wp-block-group.is-style-vj-callout > :first-child {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vj-gold);
  margin-bottom: 0.8em;
}

.vj-post-body .wp-block-group.is-style-vj-callout > :first-child:not(p):not(h1):not(h2):not(h3):not(h4) {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  margin-bottom: 1em;
}

/* ── 34k. MEDIA & TEXT — keep image and text balanced, no distortion ── */
.vj-post-body .wp-block-media-text {
  margin: var(--space-xl) 0;
  gap: var(--space-lg);
}

.vj-post-body .wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vj-post-body .wp-block-media-text__content {
  padding: 0;
}

.vj-post-body .wp-block-media-text__content p {
  font-size: clamp(16px, 1.4vw, 18px);
}

/* ── 34l. TABLE — mobile horizontal scroll wrapper.
   Gutenberg already wraps <table> in <figure class="wp-block-table">,
   so we scroll that figure rather than the table itself. ── */
.vj-post-body .wp-block-table {
  width: 100%;
  margin: 2.5em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vj-post-body .wp-block-table table {
  margin: 0;
}

/* ── 35. SOCIAL SHARE — icon-only, quiet utility, not a CTA.
   Three outline icons, no labels, no buttons, no circles, no borders.
   Mapped to the design system's --vj-text-muted token (the brief's
   --vj-text-light does not exist in this codebase; muted is the closest
   established value and keeps the palette from drifting). ── */
.vj-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: var(--space-md);
}

.vj-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 0;
  color: var(--vj-text-muted);
  opacity: 0.65;
  cursor: pointer;
  transition: color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.vj-share__link svg {
  display: block;
}

.vj-share__link:hover,
.vj-share__link:focus-visible {
  color: var(--vj-black);
  opacity: 1;
  transform: translateY(-1px);
}

.vj-share__link:focus-visible {
  outline: 1px solid var(--vj-border);
  outline-offset: 4px;
}

.vj-share__copy--done {
  color: var(--vj-gold);
  opacity: 1;
}

/* ── 36. END OF ARTICLE ── */
.vj-post-end {
  max-width: 1084px;
  margin: 0 auto;
  padding: 0 var(--pad-x) var(--space-xl);
  text-align: center;
}

.vj-post-end__divider {
  border: none;
  border-top: 1px solid var(--vj-border);
  width: 56px;
  margin: 0 auto var(--space-md);
}

.vj-post-end__byline {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--vj-text-muted);
}

.vj-post-end__byline strong {
  color: var(--vj-text);
  font-weight: 600;
}

/* ── 37. PREVIOUS / NEXT ARTICLE NAVIGATION ── */
.vj-article-nav {
  border-top: 1px solid var(--vj-border);
  padding: var(--space-lg) 0;
}

.vj-article-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.vj-article-nav__link {
  display: block;
  color: inherit;
}

.vj-article-nav__link--next {
  text-align: right;
}

.vj-article-nav__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  margin-bottom: 8px;
}

.vj-article-nav__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  color: var(--vj-black);
  transition: color var(--duration) var(--ease);
}

.vj-article-nav__link:hover .vj-article-nav__title {
  color: var(--vj-gold);
}

.vj-article-nav__spacer {
  display: block;
}

/* ── 38. SPRINT 2 RESPONSIVE ── */

@media (max-width: 768px) {
  .vj-article-nav__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .vj-article-nav__link--next {
    text-align: left;
  }

  .vj-post-body figure.vj-breakout,
  .vj-post-body .alignfull,
  .vj-post-body .alignwide {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

@media print {
  .vj-share,
  .vj-article-nav {
    display: none;
  }
}

/* ── 39. CONTACT FORM (Sprint — Institutional Pages) ──
 * Scoped entirely under .vj-contact-form. Built only from existing
 * tokens (--vj-*, --space-*, --text-*, --duration, --ease) so it reads
 * as part of the same editorial system as the rest of the theme.
 * Does not modify .vj-newsletter-form, .vj-search-form, or any other
 * existing form styling.
 */
.vj-contact-form {
  margin-top: var(--space-lg);
}

.vj-contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vj-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.vj-contact-form__field {
  margin-bottom: var(--space-md);
}

.vj-contact-form__label {
  display: block;
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vj-text-muted);
  margin-bottom: 8px;
}

.vj-contact-form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  color: var(--vj-black);
  background: var(--vj-white);
  border: 1px solid var(--vj-border);
  transition: border-color var(--duration) var(--ease);
}

.vj-contact-form__input:focus {
  outline: none;
  border-color: var(--vj-black);
}

.vj-contact-form__input::placeholder {
  color: var(--vj-text-muted);
}

.vj-contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.vj-contact-form__submit {
  margin-top: var(--space-sm);
}

.vj-contact-form__confirm {
  display: none;
  font-size: 13px;
  margin-top: var(--space-sm);
}

@media (max-width: 600px) {
  .vj-contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── 40. ABOUT PAGE — MANIFESTO + QUEM ESCREVE (Sprint — Editorial Redesign) ──
 * Scoped entirely under .vj-about-manifesto and .vj-about-writer.
 * Built only from existing tokens (--vj-*, --space-*, --text-*,
 * --font-*, --duration, --ease). No new colors, no shadows, no cards,
 * no gradients, no background fills — separators and spacing only,
 * per brief. Reuses .vj-container (same width as homepage/category/
 * archive) instead of the narrower .vj-about-body, which remains
 * untouched and still governs "Princípios editoriais" / "O que
 * esperar" below it.
 */
.vj-about-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.vj-about-manifesto__intro h2 {
  margin-bottom: var(--space-md);
}

.vj-about-manifesto__intro p {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--vj-text);
  margin-bottom: 1.25em;
  max-width: 480px;
}

.vj-about-manifesto__intro p:last-child {
  margin-bottom: 0;
}

.vj-about-principles {
  display: flex;
  flex-direction: column;
}

.vj-about-principle {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--vj-border-light);
}

.vj-about-principles .vj-about-principle:first-child {
  padding-top: 0;
}

.vj-about-principles .vj-about-principle:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vj-about-principle__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--vj-text-muted);
}

.vj-about-principle__icon svg {
  width: 100%;
  height: 100%;
}

.vj-about-principle__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--vj-black);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.vj-about-principle__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--vj-text);
}

.vj-about-writer {
  max-width: var(--reading-width);
}

.vj-about-writer h2 {
  margin-bottom: var(--space-md);
}

.vj-about-writer p {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--vj-text);
  margin-bottom: 1em;
}

.vj-about-writer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 880px) {
  .vj-about-manifesto {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .vj-about-manifesto__intro p {
    max-width: none;
  }
}
