/*
Theme Name: além Editorial
Theme URI: https://alem.net.br
Author: além
Author URI: https://alem.net.br
Description: Tema editorial de blocos criado para a plataforma além. Combina a hierarquia de um jornal clássico com uma linguagem digital contemporânea.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Version: 0.15.128
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alem-editorial
Tags: block-patterns, block-styles, full-site-editing, news, one-column, two-columns
*/


@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta do além — valores padrão. A fonte única é o registro de tokens do plugin alem-core
     (WordPress → além → Cores e aparência), que sobrescreve estas variáveis. Veja docs/CORES.md. */
  /* Fundos claros */
  --alem-paper: #f6f3ee;
  --alem-paper-deep: #efeae1;
  --alem-paper-cover: #ece7de;
  --alem-nav-pill: #e9e4db;
  --alem-nav-pill-active: #ded8ce;
  --alem-paper-video: #f4f1ea;
  /* Divisórias */
  --alem-rule: #b8afa1;
  --alem-rule-light: #d8d0c4;
  /* Fundos escuros */
  --alem-night-cover: #0c0d0e;
  --alem-night: #0c0d0e;
  --alem-night-video: #050606;
  --alem-night-raised: #1a1b1c;
  --alem-night-card: #1a1b1c;
  --alem-night-badge: #2c2d2e;
  /* Texto */
  --alem-ink: #111213;
  --alem-muted: #534f4a;
  --alem-on-dark: #f6f3ee;
  /* Ciano e interação */
  --alem-accent: #067378;
  --alem-accent-hover: #05565a;
  --alem-accent-active: #043f42;
  --alem-accent-on-dark: #36aeb0;
  --alem-accent-video: #65c4c7;
  --alem-accent-soft: #b9e0df;
  --alem-accent-pale: #dcefed;
  /* Compatibilidade com blocos e estilos globais do WordPress. */
  --wp--preset--color--paper: var(--alem-paper) !important;
  --wp--preset--color--paper-deep: var(--alem-paper-deep) !important;
  --wp--preset--color--ink: var(--alem-ink) !important;
  --wp--preset--color--muted: var(--alem-muted) !important;
  --wp--preset--color--rule: var(--alem-rule) !important;
  --wp--preset--color--accent: var(--alem-accent) !important;
  --wp--preset--color--accent-hover: var(--alem-accent-hover) !important;
  --wp--preset--color--accent-active: var(--alem-accent-active) !important;
  --alem-display: "Fraunces", Georgia, serif;
  --alem-body: "Source Serif 4", Georgia, serif;
  --alem-sans: "Source Sans 3", "Source Sans 3 Variable", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--alem-paper);
  color: var(--alem-ink);
  font-family: var(--alem-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: color-mix(in srgb, var(--alem-accent, #067378) 30%, transparent); color: inherit; }

:where(h1,h2,h3,h4,h5,h6,.alem-wordmark,.alem-footer-brand) {
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

.alem-shell { width: min(calc(100% - 48px), 1320px); margin-inline: auto; }
.alem-section { padding-top: clamp(64px, 8vw, 112px); }
.alem-rule-top { border-top: 1px solid var(--alem-ink); }
.alem-kicker,
.alem-meta,
.alem-eyebrow {
  font-family: var(--alem-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.alem-kicker { color: var(--alem-accent); }
.alem-kicker span { color: var(--alem-muted); margin-left: 8px; }
.alem-meta { color: var(--alem-muted); letter-spacing: .035em; text-transform: none; }
.alem-dek { color: var(--alem-muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.42; }

/* Header */
.alem-site-header { border-bottom: 1px solid var(--alem-ink); }
.alem-topline {
  min-height: 42px;
  border-bottom: 1px solid var(--alem-rule);
  font-family: var(--alem-sans);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.alem-topline > .wp-block-group { min-height: 42px; }
.alem-topline-left,
.alem-topline-actions { gap: 12px; }
.alem-topline-left p { margin: 0; color: var(--alem-accent); font-weight: 600; }
.alem-topline-left p::after { content: ""; display: inline-block; width: 18px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--alem-rule); }
.alem-topline-left .alem-folio { display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.alem-topline-left .alem-folio::after { display: none; }
.alem-folio > * { display: inline-flex; gap: 12px; align-items: center; }
.alem-folio > * + *::before { content: ""; width: 18px; height: 1px; background: var(--alem-rule); }
.alem-folio time { color: var(--alem-muted); font-weight: 500; }
.alem-topline-actions a { border-bottom: 0; }
.alem-masthead {
  position: relative;
  min-height: 142px;
  display: grid;
  place-items: center;
  text-align: center;
}
.alem-masthead::before,
.alem-masthead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--alem-rule);
}
.alem-masthead::before { left: 0; }
.alem-masthead::after { right: 0; }
.alem-brand-lockup { position: relative; z-index: 1; display: grid; place-items: center; margin: 0; }
.alem-brand-lockup .wp-block-site-logo { margin: 0; }
.alem-brand-lockup .custom-logo-link { display: block; line-height: 0; }
.alem-brand-lockup .custom-logo {
  display: block;
  width: auto;
  max-width: min(300px, 58vw);
  max-height: 102px;
  object-fit: contain;
}
.alem-brand-lockup:has(.custom-logo) .alem-wordmark { display: none; }
.alem-wordmark { position: relative; z-index: 1; margin: 0; font: 600 clamp(64px, 7vw, 92px)/.8 var(--alem-display); letter-spacing: -.024em; }
.alem-tagline { position: relative; z-index: 1; margin: 13px 0 0; color: var(--alem-muted); font-family: var(--alem-sans); font-size: 12px; letter-spacing: .095em; text-transform: uppercase; }
.alem-primary-nav { border-top: 1px solid var(--alem-rule); }
.alem-primary-nav .wp-block-navigation { min-height: 43px; }
.alem-primary-nav .wp-block-navigation-item__content {
  position: relative;
  padding: 14px 12px;
  font-family: var(--alem-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.alem-primary-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.alem-primary-nav .wp-block-navigation-item__content:is(:hover,:focus-visible,:active),
.alem-primary-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--alem-accent); }
.alem-primary-nav .wp-block-navigation-item__content:is(:hover,:focus-visible,:active)::after,
.alem-primary-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

/* Shared media and section headers */
.alem-media { position: relative; overflow: hidden; background: var(--alem-paper-deep); }
.alem-media .wp-block-image { height: 100%; margin: 0; }
.alem-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
a:is(:hover,:focus-visible,:active) .alem-media img,
.alem-story:hover .alem-media img,
.alem-story:focus-within .alem-media img,
.alem-story:active .alem-media img {
  transform: scale(1.018);
}
.alem-media--archive::after {
  content: "ALÉM / ARQUIVO";
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 4px 6px;
  background: color-mix(in srgb, var(--alem-ink, #111213) 85%, transparent);
  color: var(--alem-paper);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .1em;
}
.wp-block-image.is-style-alem-monochrome img { filter: grayscale(1) contrast(1.04); }
.wp-block-image.is-style-alem-archive { position: relative; overflow: hidden; }
.wp-block-image.is-style-alem-archive img { filter: grayscale(.72) sepia(.08) contrast(1.04); }
.wp-block-image.is-style-alem-archive::after {
  content: "ALÉM / ARQUIVO";
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 4px 6px;
  background: color-mix(in srgb, var(--alem-ink, #111213) 85%, transparent);
  color: var(--alem-paper);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .1em;
  pointer-events: none;
}
.alem-play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 76px;
  height: 76px;
  border: 1px solid var(--alem-paper);
  border-radius: 50%;
  background: color-mix(in srgb, var(--alem-ink, #111213) 25%, transparent);
  backdrop-filter: blur(2px);
}
.alem-play::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 26px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--alem-paper);
}
.alem-duration { position: absolute; left: 12px; bottom: 10px; padding: 5px 7px; background: var(--alem-ink); color: var(--alem-paper); font: 600 12px/1 var(--alem-sans); }
.alem-section-heading {
  min-height: 104px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: end;
  border-top: 1px solid var(--alem-ink);
  border-bottom: 1px solid var(--alem-rule);
}
.alem-section-heading .alem-eyebrow { align-self: start; margin-top: 16px; color: var(--alem-accent); }
.alem-section-heading h2 { margin: 0 0 15px; font: 600 clamp(37px, 4vw, 56px)/1.02 var(--alem-display); letter-spacing: -.025em; }
.alem-section-heading > p:last-child { margin: 0 0 19px; }
.alem-section-heading > p:last-child a { border-bottom: 1px solid var(--alem-ink); font: 600 12px/1.3 var(--alem-sans); text-transform: uppercase; letter-spacing: .08em; }

/* PRIMEIRA PÁGINA */
.alem-lead { padding-top: 18px; }
.alem-lead-label { height: 38px; display: flex; align-items: center; gap: 14px; margin: 0; font: 600 12px/1 var(--alem-sans); letter-spacing: .1em; text-transform: uppercase; }
.alem-lead-label span { color: var(--alem-accent); }
.alem-lead-label::after { content: ""; flex: 1; height: 1px; background: var(--alem-rule); }
.alem-lead-grid { gap: 0 !important; border: 1px solid var(--alem-ink); }
.alem-lead-grid > .wp-block-column:first-child { flex: 0 0 46% !important; border-right: 1px solid var(--alem-ink); }
.alem-lead-grid > .wp-block-column:last-child { flex: 0 0 54% !important; padding: clamp(36px, 4.8vw, 72px); }
.alem-lead-media { height: 100%; min-height: clamp(580px, 46vw, 720px); }
.alem-lead-copy h1 { margin: 20px 0 18px; font: 600 clamp(52px, 4vw, 72px)/1.015 var(--alem-display); letter-spacing: -.018em; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; }
.alem-lead-copy .alem-story-link { display: inline-block; margin-top: 34px; padding-bottom: 5px; border-bottom: 1px solid var(--alem-ink); font: 600 12px/1 var(--alem-sans); letter-spacing: .07em; text-transform: uppercase; }
.alem-front-grid { display: grid; grid-template-columns: 1.4fr 1fr .72fr; }
.alem-main-story { padding: 28px 30px 30px 0; border-right: 1px solid var(--alem-rule); }
.alem-main-story .alem-media { aspect-ratio: 16/10; margin-bottom: 20px; }
.alem-main-story h3 { margin: 12px 0 10px; font: 600 clamp(30px, 3vw, 43px)/1.04 var(--alem-display); letter-spacing: -.02em; }
.alem-secondary-stack { border-right: 1px solid var(--alem-rule); }
.alem-secondary-story { padding: 28px; }
.alem-secondary-story + .alem-secondary-story { border-top: 1px solid var(--alem-rule); }
.alem-secondary-story .alem-media { aspect-ratio: 16/9; margin-bottom: 15px; }
.alem-secondary-story h3 { margin: 12px 0; font: 600 24px/1.04 var(--alem-display); }
.alem-briefs { padding: 25px 0 0 25px; }
.alem-briefs h3 { margin: 0 0 15px; padding-bottom: 12px; border-bottom: 2px solid var(--alem-ink); font: 600 21px/1 var(--alem-display); }
.alem-briefs a { display: grid; grid-template-columns: 45px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--alem-rule); }
.alem-briefs time { color: var(--alem-accent); font: 600 12px/1.35 var(--alem-sans); }
.alem-briefs p { margin: 0; font-size: 14px; line-height: 1.25; }
.alem-briefs strong { display: block; margin-bottom: 4px; font: 600 12px/1 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; }

.alem-latest-list { border-bottom: 1px solid var(--alem-ink); }
.alem-latest-item { display: grid; grid-template-columns: 75px 120px 1fr 45px; align-items: center; gap: 20px; min-height: 78px; border-top: 1px solid var(--alem-rule); }
.alem-latest-item:first-child { border-top: 0; }
.alem-latest-item time,
.alem-latest-item > span { font: 600 12px/1 var(--alem-sans); }
.alem-latest-item time { color: var(--alem-accent); }
.alem-latest-item > span { text-transform: uppercase; letter-spacing: .08em; }
.alem-latest-item h3 { margin: 0; font: 500 24px/1.05 var(--alem-display); }
.alem-latest-item em { color: var(--alem-rule); font: 500 22px/1 var(--alem-display); text-align: right; }

.alem-column-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--alem-ink); }
.alem-column-card { min-height: 300px; padding: 32px; }
.alem-column-card:first-child { padding-left: 0; }
.alem-column-card + .alem-column-card { border-left: 1px solid var(--alem-rule); }
.alem-column-card h3 { margin: 28px 0 12px; font: 600 29px/1.03 var(--alem-display); }
.alem-column-card > p:not(.alem-kicker) { color: var(--alem-muted); font-size: 15px; line-height: 1.42; }
.alem-column-monogram { width: 62px; height: 80px; display: grid; place-items: center; border: 1px solid var(--alem-ink); font: 500 18px/1 var(--alem-display); }

.alem-video-band { margin-top: clamp(72px, 9vw, 120px); padding: 76px 0 82px; background: var(--alem-ink); color: var(--alem-paper); }
.alem-video-band .alem-section-heading { border-color: var(--alem-tela-777777, #777777); }
.alem-video-band .alem-section-heading > p:last-child a { border-color: var(--alem-paper); }
.alem-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 30px; }
.alem-video-card .alem-media { aspect-ratio: 16/9; }
.alem-video-card h3 { margin: 13px 0 0; font: 500 26px/1.03 var(--alem-display); }
.alem-video-card .alem-kicker { color: var(--alem-accent-on-dark, #36aeb0); margin-top: 17px; }

.alem-dossier-list { border-bottom: 1px solid var(--alem-ink); }
.alem-dossier-item { display: grid; grid-template-columns: 80px 1fr 245px 30px; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--alem-rule); }
.alem-dossier-item:first-child { border-top: 0; }
.alem-dossier-number { color: var(--alem-accent); font: 500 34px/1 var(--alem-display); }
.alem-dossier-item h3 { margin: 0 0 5px; font: 600 28px/1 var(--alem-display); }
.alem-dossier-item p { margin: 0; color: var(--alem-muted); font-size: 15px; line-height: 1.35; }
.alem-dossier-item > em { color: var(--alem-muted); font: 500 12px/1.3 var(--alem-sans); letter-spacing: .05em; text-transform: uppercase; }

.alem-newsletter { margin-top: 100px; padding: 56px 0; border-top: 1px solid var(--alem-ink); background: var(--alem-paper-deep); }
.alem-newsletter-grid { display: grid; grid-template-columns: 110px 1fr auto; gap: 40px; align-items: center; }
.alem-newsletter-mark { margin: 0; color: var(--alem-accent); font: 600 86px/.8 var(--alem-display); }
.alem-newsletter h2 { margin: 12px 0; font: 600 clamp(32px, 4vw, 48px)/.98 var(--alem-display); }
.alem-newsletter p { color: var(--alem-muted); }
.alem-newsletter .wp-block-button__link { border-radius: 0; padding: 14px 20px; background: var(--alem-ink); color: var(--alem-paper); font: 600 12px/1 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; }

/* Dynamic archive and search */
.alem-listing-header { padding: 75px 0 34px; border-bottom: 1px solid var(--alem-ink); }
.alem-listing-header h1 { margin: 16px 0 0; font: 600 clamp(54px, 7vw, 92px)/1 var(--alem-display); letter-spacing: -.016em; }
.alem-query-grid .wp-block-post-template { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; }
.alem-query-grid .wp-block-post { padding: 30px; border-bottom: 1px solid var(--alem-rule); }
.alem-query-grid .wp-block-post:nth-child(3n+1) { padding-left: 0; }
.alem-query-grid .wp-block-post:not(:nth-child(3n+1)) { border-left: 1px solid var(--alem-rule); }
.alem-query-grid .wp-block-post-featured-image { aspect-ratio: 4/3; overflow: hidden; }
.alem-query-grid .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.alem-query-grid .wp-block-post:is(:hover,:focus-within,:active) .wp-block-post-featured-image img {
  transform: scale(1.018);
}
.alem-query-grid .wp-block-post-title { margin: 14px 0 8px; font: 600 29px/1.03 var(--alem-display); }
.alem-query-grid .wp-block-post-excerpt { color: var(--alem-muted); font-size: 15px; }
.alem-query-grid .wp-block-post-date,
.alem-query-grid .wp-block-post-author-name,
.alem-query-grid .taxonomy-category { font: 600 12px/1.3 var(--alem-sans); color: var(--alem-muted); }
.alem-pagination { padding: 35px 0; border-top: 1px solid var(--alem-ink); font: 600 12px/1 var(--alem-sans); text-transform: uppercase; }

/* Article */
.alem-reading-progress { position: fixed; inset: 0 auto auto 0; z-index: 1000; width: 0; height: 3px; background: var(--alem-accent); }
.alem-article-hero { padding: 74px 0 46px; }
.alem-article-hero h1 { max-width: 1080px; margin: 22px 0 20px; font: 600 clamp(52px, 7vw, 96px)/1.02 var(--alem-display); letter-spacing: -.016em; }
.alem-article-hero .wp-block-post-excerpt { max-width: 820px; color: var(--alem-muted); font-size: clamp(19px, 2vw, 25px); line-height: 1.35; }
.alem-byline { padding-top: 20px; border-top: 1px solid var(--alem-rule); font: 500 12px/1.5 var(--alem-sans); color: var(--alem-muted); }
.alem-featured-wide { width: min(100%, 1320px); margin: 0 auto; }
.alem-featured-wide img { width: 100%; max-height: 740px; object-fit: cover; }
.alem-featured-inline { width: 100%; margin: 0 0 44px; }
.alem-featured-inline img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.alem-article-layout { display: grid; grid-template-columns: 190px minmax(0, 760px) minmax(180px, 1fr); gap: 50px; margin-top: 60px; align-items: start; }
.alem-article-index { position: sticky; top: 24px; padding-top: 12px; border-top: 2px solid var(--alem-ink); font: 500 12px/1.45 var(--alem-sans); color: var(--alem-muted); }
.alem-article-index strong { display: block; margin-bottom: 12px; color: var(--alem-ink); text-transform: uppercase; letter-spacing: .08em; }
.alem-article-content { min-width: 0; font-size: 19px; line-height: 1.72; }
.alem-article-content strong,
.alem-photo-content strong { color: var(--alem-ink); font-weight: 700; }
.alem-article-content > * { margin-block: 0 27px; }
.alem-article-content .wp-block-post-content > p,
.alem-photo-content .wp-block-post-content > p { margin: 0 0 1.35em; }
.alem-article-content .wp-block-post-content > p:empty,
.alem-photo-content .wp-block-post-content > p:empty { display: none; }
.alem-article-content .wp-block-post-content > h2,
.alem-photo-content .wp-block-post-content > h2 { margin: 2.1em 0 .65em; font: 600 clamp(30px, 4vw, 43px)/1.1 var(--alem-display); letter-spacing: -.015em; }
.alem-article-content .wp-block-post-content > h2:first-child,
.alem-photo-content .wp-block-post-content > h2:first-child { margin-top: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.08; }
.alem-article-content .wp-block-post-content > h3,
.alem-photo-content .wp-block-post-content > h3 { margin: 1.8em 0 .55em; font: 600 27px/1.08 var(--alem-display); }
.alem-article-content .wp-block-post-content :is(h2, h3)[id],
.alem-photo-content .wp-block-post-content :is(h2, h3)[id] { scroll-margin-block-start: clamp(120px, 14vh, 180px); }
.alem-article-content > h2 { margin-top: 65px; font: 600 clamp(35px, 4vw, 48px)/1.08 var(--alem-display); letter-spacing: -.02em; }
.alem-article-content > h3 { margin-top: 42px; font: 600 29px/1.05 var(--alem-display); }
.alem-article-content > p:first-child { font-size: 22px; line-height: 1.55; }
.alem-article-content blockquote { position: relative; margin: 55px 0; padding: 28px 0 28px 65px; border-block: 1px solid var(--alem-rule); font: 500 31px/1.23 var(--alem-display); }
.alem-article-content blockquote::before { content: "“"; position: absolute; left: 0; top: 22px; color: var(--alem-accent); font: 500 78px/1 var(--alem-display); }

/* Legal pages — a calm, readable document layout. */
body.alem-legal-page .alem-article-hero { padding: clamp(58px, 7vw, 96px) 0 34px; }
body.alem-legal-page .alem-article-hero h1 {
  max-width: 1060px;
  margin: 0;
  font: 600 clamp(52px, 7vw, 96px)/.95 var(--alem-display);
  letter-spacing: -.016em;
}
body.alem-legal-page .alem-article-hero .wp-block-post-excerpt { display: none; }
body.alem-legal-page .alem-shell { width: min(calc(100% - 48px), 1240px); }
body.alem-legal-page .alem-article-content {
  width: min(100%, 1060px);
  max-width: none !important;
  margin: 0 auto clamp(72px, 9vw, 128px);
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.72;
}
body.alem-legal-page .alem-article-content .wp-block-post-content { max-width: none !important; }
body.alem-legal-page .alem-article-content .wp-block-post-content > h1:first-child { display: none; }
body.alem-legal-page .alem-article-content .wp-block-post-content > p:first-child {
  max-width: 820px;
  margin: 0 0 42px;
  padding-top: 25px;
  border-top: 4px double var(--alem-ink);
  color: var(--alem-muted);
  font: 500 13px/1.65 var(--alem-sans);
}
body.alem-legal-page .alem-article-content .wp-block-post-content > :is(p,ul,ol,h2,h3,blockquote) {
  max-width: 900px;
}
body.alem-legal-page .alem-article-content .wp-block-post-content > h2 {
  margin: 58px 0 17px;
  padding-top: 17px;
  border-top: 1px solid var(--alem-rule);
  font: 600 clamp(29px, 3.2vw, 46px)/1.05 var(--alem-display);
  letter-spacing: -.02em;
}
body.alem-legal-page .alem-article-content .wp-block-post-content > h3 {
  margin: 38px 0 12px;
  font: 600 clamp(23px, 2.2vw, 31px)/1.1 var(--alem-display);
}
body.alem-legal-page .alem-article-content .wp-block-post-content > p { margin: 0 0 1.25em; }
body.alem-legal-page .alem-article-content .wp-block-post-content > :is(ul,ol) { margin: 0 0 1.35em; padding-left: 1.45em; }
body.alem-legal-page .alem-article-content .wp-block-post-content > li { margin-bottom: .45em; }
body.alem-legal-page .alem-article-content .wp-block-post-content > blockquote {
  margin: 0 0 54px;
  padding: 25px 30px 25px 70px;
  background: var(--alem-paper-deep);
  border: 0;
  font: 500 clamp(21px, 2vw, 29px)/1.28 var(--alem-display);
}
body.alem-legal-page .alem-article-content .wp-block-post-content > blockquote::before { left: 20px; top: 18px; }
body.alem-legal-page .alem-article-content .wp-block-post-content a {
  color: var(--alem-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.alem-article-content .is-style-alem-dropcap::first-letter,
.alem-photo-content .is-style-alem-dropcap::first-letter {
  float: left;
  margin: .04em .12em 0 0;
  color: var(--alem-accent);
  font: 600 4.7em/.74 var(--alem-display);
}
.alem-article-content .is-style-alem-context,
.alem-photo-content .is-style-alem-context {
  position: relative;
  margin: 52px 0;
  padding: 42px 34px 28px;
  background: var(--alem-paper-deep);
  background: color-mix(in srgb, var(--alem-paper-deep) 62%, transparent);
  border-top: 4px double var(--alem-ink);
  border-bottom: 1px solid var(--alem-rule);
}
.alem-article-content .is-style-alem-context::before,
.alem-photo-content .is-style-alem-context::before {
  content: "Contexto";
  position: absolute;
  top: 14px;
  left: 34px;
  color: var(--alem-accent);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.alem-article-content .is-style-alem-context > :last-child,
.alem-photo-content .is-style-alem-context > :last-child { margin-bottom: 0; }
.alem-article-content .is-style-alem-timeline,
.alem-photo-content .is-style-alem-timeline {
  margin: 44px 0;
  padding: 0;
  border-top: 2px solid var(--alem-ink);
  list-style: none;
  counter-reset: alem-timeline;
}
.alem-article-content .is-style-alem-timeline > li,
.alem-photo-content .is-style-alem-timeline > li {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 58px;
  border-bottom: 1px solid var(--alem-rule);
  counter-increment: alem-timeline;
}
.alem-article-content .is-style-alem-timeline > li::before,
.alem-photo-content .is-style-alem-timeline > li::before {
  content: counter(alem-timeline, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--alem-accent);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .08em;
}
.alem-article-content .is-style-alem-pullquote,
.alem-photo-content .is-style-alem-pullquote {
  margin-inline: clamp(-72px, -6vw, -24px);
  padding: 34px 0;
  border-top: 4px double var(--alem-ink);
  border-bottom: 1px solid var(--alem-ink);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.13;
  text-align: center;
}
.alem-article-content .is-style-alem-pullquote::before,
.alem-photo-content .is-style-alem-pullquote::before { display: none; }
.alem-article-content .is-style-alem-pullquote cite,
.alem-photo-content .is-style-alem-pullquote cite { display: block; margin-top: 16px; color: var(--alem-muted); font: 600 12px/1.3 var(--alem-sans); letter-spacing: .1em; text-transform: uppercase; }
.alem-article-rail { padding-top: 12px; border-top: 2px solid var(--alem-ink); font-size: 14px; color: var(--alem-muted); }
.alem-article-rail h3 { margin: 0 0 16px; color: var(--alem-ink); font: 600 18px/1 var(--alem-display); }
.alem-article-rail a { display: block; padding: 14px 0; border-top: 1px solid var(--alem-rule); }
.alem-post-terms { margin-top: 70px; padding-top: 22px; border-top: 3px double var(--alem-ink); font: 600 12px/1.4 var(--alem-sans); text-transform: uppercase; }
.alem-post-navigation { margin-top: 70px; padding: 30px 0; border-block: 1px solid var(--alem-ink); }

/* Special templates */
.alem-video-hero { padding: 65px 0 45px; }
.alem-video-hero h1 { max-width: 1050px; margin: 20px 0; font: 600 clamp(50px, 7vw, 90px)/1.02 var(--alem-display); letter-spacing: -.028em; }
.alem-video-frame { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; background: var(--alem-ink); color: var(--alem-paper); overflow: hidden; }
.alem-video-frame .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; opacity: .55; }
.alem-video-frame .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.alem-column-hero { display: grid; grid-template-columns: 220px 1fr; gap: 55px; padding: 70px 0 50px; border-bottom: 1px solid var(--alem-ink); }
.alem-column-hero .wp-block-avatar img { width: 190px; height: 235px; border-radius: 0; object-fit: cover;  }
.alem-column-hero h1 { margin: 15px 0; font: 600 clamp(52px, 7vw, 90px)/.92 var(--alem-display); }
.alem-photo-hero { padding-top: 65px; }
.alem-photo-hero h1 { max-width: 1100px; margin: 20px 0; font: 600 clamp(52px, 7vw, 92px)/.92 var(--alem-display); }
.alem-photo-content { width: min(calc(100% - 48px), 1500px); margin: 55px auto 0; }
.alem-photo-content .wp-block-gallery { gap: 18px !important; }
.alem-photo-content figcaption,
.alem-article-content figcaption,
.alem-featured-wide figcaption,
.alem-featured-inline figcaption { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--alem-rule-light); font: 500 12px/1.45 var(--alem-sans); color: var(--alem-muted); text-align: left; }

/* Edição especial */
.alem-special-edition :is(.alem-article-hero,.alem-video-hero,.alem-photo-hero) { padding-top: 34px; }
.alem-special-edition :is(.alem-article-hero,.alem-video-hero,.alem-photo-hero) h1 { max-width: 1180px; }
.alem-special-edition :is(.alem-featured-wide img,.alem-featured-inline img,.alem-core-photo-content > .wp-block-post-content > figure:first-child img) {
  transition: filter .42s ease;
}

.alem-special-edition .alem-core-special-mark { margin-bottom: 36px; }

/* Footer */
.alem-footer { margin-top: 90px; padding: 58px 0 26px; background: var(--alem-ink); color: var(--alem-paper); }
.alem-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.alem-footer-brand { margin: 0; font: 600 58px/.85 var(--alem-display); letter-spacing: -.022em; }
.alem-footer h3 { margin: 0 0 17px; color: var(--alem-accent-on-dark); font: 600 12px/1 var(--alem-sans); letter-spacing: .1em; text-transform: uppercase; }
.alem-footer p,
.alem-footer a { color: var(--alem-texto2-tela, #a9a49c); font-size: 14px; line-height: 1.5; }
.alem-footer a { display: block; width: fit-content; padding: 4px 0; }
.alem-footer-bottom { gap: .35em; margin-top: 45px; padding-top: 18px; border-top: 1px solid var(--alem-texto2, #5b5751); font: 600 12px/1.4 var(--alem-sans); color: var(--alem-desabilitado, #8a847b); letter-spacing: .07em; text-transform: uppercase; }
.alem-footer-bottom > p { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }

@media (max-width: 1020px) {
  .alem-masthead::before,.alem-masthead::after { width: 22%; }
  .alem-front-grid { grid-template-columns: 1.15fr 1fr; }
  .alem-briefs { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--alem-ink); }
  .alem-article-layout { grid-template-columns: 165px minmax(0, 1fr); }
  .alem-article-rail { display: none; }
  .alem-query-grid .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
  .alem-query-grid .wp-block-post:nth-child(3n+1) { padding-left: 30px; }
  .alem-query-grid .wp-block-post:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 780px) {
  .alem-shell { width: min(calc(100% - 30px), 1320px); }
  .alem-topline-left .alem-date,
  .alem-folio time { display: none; }
  .alem-topline-actions a:first-child { display: none; }
  .alem-masthead { min-height: 102px; }
  .alem-masthead::before,.alem-masthead::after,.alem-masthead .alem-tagline { display: none; }
  .alem-wordmark { font-size: 61px; }
  .alem-brand-lockup .custom-logo { max-width: min(230px, 62vw); max-height: 76px; }
  .alem-primary-nav .wp-block-navigation { justify-content: center; min-height: 46px; }
  .alem-primary-nav .wp-block-navigation__responsive-container-open { padding: 12px 0; }
  .alem-section-heading { min-height: 84px; grid-template-columns: 1fr auto; gap: 8px; }
  .alem-section-heading .alem-eyebrow { grid-column: 1 / -1; align-self: end; margin-top: 12px; }
  .alem-section-heading h2 { margin-bottom: 12px; }
  .alem-section-heading > p:last-child { margin-bottom: 15px; }
  .alem-section-heading > p:last-child a { font-size: 12px; }
  .alem-lead-grid { display: block !important; }
  .alem-lead-grid > .wp-block-column:first-child,
  .alem-lead-grid > .wp-block-column:last-child { flex-basis: auto !important; }
  .alem-lead-grid > .wp-block-column:first-child { border-right: 0; border-bottom: 1px solid var(--alem-ink); }
  .alem-lead-media { min-height: 0; aspect-ratio: 16/9; }
  .alem-lead-grid > .wp-block-column:last-child { padding: 27px 20px 31px; }
  .alem-lead-copy h1 { font-size: 45px; }
  .alem-front-grid { display: block; }
  .alem-main-story { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--alem-rule); }
  .alem-secondary-stack { border-right: 0; }
  .alem-secondary-story { padding-inline: 0; }
  .alem-briefs { padding-top: 25px; }
  .alem-latest-item { grid-template-columns: 52px 1fr; gap: 7px 14px; padding: 15px 0; }
  .alem-latest-item time { grid-row: 1 / 3; }
  .alem-latest-item > span { grid-column: 2; }
  .alem-latest-item h3 { grid-column: 2; font-size: 20px; }
  .alem-latest-item em { display: none; }
  .alem-column-grid { display: block; }
  .alem-column-card,.alem-column-card:first-child { padding: 27px 0; }
  .alem-column-card + .alem-column-card { border-left: 0; border-top: 1px solid var(--alem-rule); }
  .alem-video-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .alem-video-card { flex: 0 0 84%; scroll-snap-align: start; }
  .alem-dossier-item { grid-template-columns: 52px 1fr 20px; gap: 12px; }
  .alem-dossier-item > em { display: none; }
  .alem-newsletter-grid { display: block; }
  .alem-newsletter-mark { display: none; }
  .alem-newsletter .wp-block-buttons { margin-top: 25px; }
  .alem-query-grid .wp-block-post-template { display: block; }
  .alem-query-grid .wp-block-post,.alem-query-grid .wp-block-post:nth-child(3n+1),.alem-query-grid .wp-block-post:nth-child(odd) { padding: 26px 0; border-left: 0; }
  .alem-article-hero { padding-top: 50px; }
  .alem-article-hero h1 { font-size: 50px; }
  .alem-featured-wide { width: 100%; }
  .alem-article-layout { display: block; margin-top: 42px; }
  .alem-article-index { position: static; margin-bottom: 42px; }
  .alem-article-content { font-size: 18px; line-height: 1.68; }
  .alem-article-content blockquote { padding-left: 48px; font-size: 27px; }
  .alem-article-content .is-style-alem-context,
  .alem-photo-content .is-style-alem-context { margin-block: 38px; padding: 40px 20px 22px; }
  .alem-article-content .is-style-alem-context::before,
  .alem-photo-content .is-style-alem-context::before { left: 20px; }
  .alem-article-content .is-style-alem-pullquote,
  .alem-photo-content .is-style-alem-pullquote { margin-inline: 0; padding-left: 0; font-size: 31px; }
  .alem-column-hero { display: block; }
  .alem-column-hero .wp-block-avatar { margin-bottom: 25px; }
  .alem-photo-content { width: 100%; }
  .alem-footer-grid { grid-template-columns: 1fr 1fr; }
  .alem-footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* 0.6 — arquitetura editorial: The Newspaper, Editoria e Gazette */
body.home .alem-core-front-hero {
  padding-top: 22px;
}

body.home .alem-core-front-hero-grid {
  grid-template-columns: minmax(400px, .92fr) minmax(0, 1.08fr);
}

body.home .alem-core-front-hero-copy {
  padding: clamp(40px, 4.5vw, 68px) clamp(38px, 4.8vw, 72px);
}

body.home .alem-core-front-hero-copy h1 {
  max-width: none;
  font-size: clamp(52px, 4vw, 72px);
  line-height: 1.015;
  letter-spacing: -.018em;
  text-wrap: balance;
}

body.home .alem-core-front-hero-media {
  min-height: clamp(580px, 46vw, 720px);
}

/* Periodic videos lead the front page like a newspaper's main story. */
.alem-core-front-hero--video .alem-core-front-hero-grid {
  display: block;
}
.alem-core-front-hero--video .alem-core-front-hero-media {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-right: 0;
  border-bottom: 1px solid var(--alem-ink);
}
.alem-core-front-hero--video .alem-core-front-hero-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}
.alem-core-front-hero--video .alem-core-front-hero-media .alem-front-video-poster img {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.alem-core-front-hero--video .alem-core-front-hero-copy {
  padding: clamp(28px, 4vw, 54px) 0 0;
}
.alem-core-front-hero--video .alem-core-front-hero-copy h1 {
  max-width: 1180px;
  font-size: clamp(46px, 5.3vw, 84px);
  line-height: .98;
}
.alem-core-front-hero--video .alem-dek {
  max-width: none;
  column-count: 3;
  column-gap: clamp(24px, 3vw, 48px);
  column-fill: balance;
  text-align: justify;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .alem-core-front-hero--video .alem-dek { column-count: 2; }
}

body.home .alem-core-front-stories {
  margin-top: clamp(28px, 3.2vw, 46px) !important;
}

body.home .alem-core-front-rule {
  min-height: 42px;
  padding-block: 12px 8px;
}

body.home .alem-core-front-edition {
  grid-template-columns: minmax(0, 3.2fr) minmax(245px, .8fr);
  gap: 0;
  padding-top: 0;
}

body.home .alem-core-front-edition-news {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(245px, .82fr);
  gap: 0;
  padding: 28px 0 0;
  border-right: 1px solid var(--alem-rule);
}

body.home .alem-core-front-edition-main {
  min-width: 0;
  padding: 0 clamp(26px, 3vw, 42px) 34px 0;
  border-right: 1px solid var(--alem-rule);
}

body.home .alem-core-front-edition-main h2 {
  max-width: 14ch;
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: 1.01;
}

body.home .alem-core-front-edition-main-image {
  aspect-ratio: 3 / 2;
}

body.home .alem-core-front-edition-secondary {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0 clamp(22px, 2.5vw, 32px);
  border-top: 0;
}

body.home .alem-core-front-edition-secondary .alem-core-front-card,
body.home .alem-core-front-edition-secondary .alem-core-front-card:first-child,
body.home .alem-core-front-edition-secondary .alem-core-front-card:nth-child(3) {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border: 0;
  border-bottom: 1px solid var(--alem-rule);
}

body.home .alem-core-front-edition-secondary .alem-core-front-card:last-child {
  margin-bottom: 0;
}

body.home .alem-core-front-edition-secondary .alem-core-front-card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
}

body.home .alem-core-front-edition-secondary .alem-core-front-card:nth-child(n+2) .alem-core-front-card-image {
  display: none;
}

body.home .alem-core-front-edition-secondary .alem-core-front-card h3 {
  margin-block: 7px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.02;
}

body.home .alem-core-front-edition-secondary .alem-dek {
  display: none;
}

body.home .alem-core-front-edition-agenda {
  min-width: 0;
  padding: 28px 0 28px clamp(22px, 2.5vw, 32px);
}

body.home .alem-core-front-edition-agenda > h3 {
  font-size: clamp(24px, 2.25vw, 32px);
}

body.home .alem-core-front-edition-agenda b {
  font-size: 16px;
  line-height: 1.12;
}

body.home .alem-core-front-x-frame {
  background: color-mix(in srgb, var(--alem-branco, #ffffff) 22%, transparent);
}

body.home .alem-core-front-section:not(.alem-core-front-stories) {
  margin-top: clamp(72px, 8vw, 108px) !important;
}

body.home .alem-core-front-latest {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 2.28fr);
  column-gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

body.home .alem-core-front-latest .alem-core-front-heading {
  display: block;
  min-height: 0;
  padding-top: 16px;
  border-bottom: 0;
}

body.home .alem-core-front-latest .alem-core-front-heading .alem-eyebrow {
  margin: 0 0 20px;
}

body.home .alem-core-front-latest .alem-core-front-heading h2 {
  margin: 0 0 30px;
  font-size: clamp(38px, 4vw, 56px);
}

body.home .alem-core-front-latest .alem-core-front-heading > p:last-child {
  margin: 0;
}

body.home .alem-core-front-latest-list {
  border-top: 4px double var(--alem-ink);
}

body.home .alem-core-front-columns-layout {
  grid-template-columns: minmax(225px, .62fr) minmax(0, 1.78fr);
}

body.home .alem-core-front-column-pieces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 42px);
}

body.home .alem-core-front-column-piece {
  grid-template-columns: 82px minmax(0, 1fr);
  align-content: start;
}

body.home .alem-core-front-column-piece:nth-child(even) {
  border-left: 1px solid var(--alem-rule);
  padding-left: clamp(64px, 5vw, 88px);
}

body.home .alem-core-front-photos .alem-core-front-cards {
  grid-template-columns: 1.45fr 1fr 1fr;
}

body.home .alem-core-front-photos .alem-core-front-card:first-child .alem-core-front-card-image {
  aspect-ratio: 16 / 10;
}

/* Editoria: abertura, autoria e coluna de leitura */
body.single .alem-editoria-opening {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
	padding-top: clamp(58px, 6vw, 86px);
}

body.single .alem-editoria-opening > .alem-kicker,
body.single .alem-editoria-opening > .wp-block-group:first-of-type {
  margin-bottom: 18px;
}

body.single .alem-editoria-opening h1 {
  max-width: 13.5ch;
  margin-block: 0 clamp(28px, 3.5vw, 44px);
  line-height: .98;
}

body.single .alem-core-publication-meta {
  margin-top: 0;
  padding-block: 20px;
  border-top: 2px solid var(--alem-ink);
}

body.single .alem-article-layout {
	grid-template-columns: minmax(170px, .68fr) minmax(0, 760px) minmax(180px, .82fr);
	gap: clamp(30px, 4vw, 54px);
	clear: both;
	margin-top: 0;
	padding-top: clamp(46px, 5vw, 66px);
}

body.single .alem-article-index,
body.single .alem-article-rail {
  position: sticky;
  top: 28px;
}

.alem-article-index > .alem-core-overline,
.alem-article-rail > .alem-core-overline {
  margin: 0 0 8px;
}

.alem-article-index ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: alem-index;
}

.alem-article-index li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--alem-rule);
  counter-increment: alem-index;
}

.alem-article-index li::before {
  content: counter(alem-index, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--alem-accent);
  font: 600 12px/1 var(--alem-sans);
}

.alem-article-index li a {
  color: var(--alem-muted);
  font: 600 12px/1.25 var(--alem-display);
  transition: color .2s ease;
}

.alem-article-index li a:is(:hover,:focus-visible),
.alem-article-index li a[aria-current] {
  color: var(--alem-ink);
}

.alem-article-index li a[aria-current]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--alem-accent);
}

.alem-article-index-fallback {
  margin: 14px 0 0;
}

body.single .alem-featured-inline {
  margin-bottom: clamp(42px, 5vw, 58px);
}

body.single .alem-article-content .wp-block-post-content > p:first-child {
  color: var(--alem-ink);
  font-size: clamp(21px, 2.2vw, 25px);
  line-height: 1.52;
}

body.single .alem-article-rail {
  font-size: 13px;
}

body.single .alem-article-rail h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.alem-core-video-stage {
  padding: clamp(24px, 3vw, 42px) 0;
  background: var(--alem-ink);
  border-block: 1px solid var(--alem-ink);
}

.alem-core-video-stage .alem-core-video-meta {
  color: var(--alem-texto2-tela, #a9a49c);
  border-color: var(--alem-tela-555555, #555555);
}

/* Gazette: longa-forma e módulos de evidência */
body.alem-special-edition .alem-editoria-opening {
  padding-top: 34px;
}

body.alem-special-edition .alem-editoria-opening h1 {
  max-width: 12.5ch;
  font-size: clamp(58px, 8vw, 112px);
  line-height: .91;
}

body.alem-special-edition .alem-article-layout {
  grid-template-columns: minmax(190px, .78fr) minmax(0, 760px) minmax(200px, .86fr);
}

body.alem-special-edition .alem-featured-inline {
  width: min(1040px, calc(100vw - 64px));
  max-width: none;
  margin-left: 50%;
  translate: -50% 0;
  padding-block: 12px;
  border-block: 4px double var(--alem-ink);
}

body.alem-special-edition .alem-featured-inline img {
  aspect-ratio: 16 / 9;
}

body.alem-special-edition .alem-article-content .wp-block-post-content {
  counter-reset: alem-longform-section;
}

body.alem-special-edition .alem-article-content .wp-block-post-content > h2 {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 16px;
  border-top: 4px double var(--alem-ink);
  counter-increment: alem-longform-section;
}

body.alem-special-edition .alem-article-content .wp-block-post-content > h2::before {
  content: counter(alem-longform-section, decimal-leading-zero);
  color: var(--alem-accent);
  font: 600 12px/1.2 var(--alem-sans);
  letter-spacing: .08em;
}

.alem-article-content .is-style-alem-evidence,
.alem-photo-content .is-style-alem-evidence {
  margin-block: 52px;
  padding: 12px;
  background: var(--alem-paper-deep);
  border: 1px solid var(--alem-rule);
  border-top: 4px double var(--alem-ink);
}

.alem-article-content .is-style-alem-evidence figcaption,
.alem-photo-content .is-style-alem-evidence figcaption {
  margin: 10px 0 0;
  padding: 10px 4px 0;
}

.alem-article-content .is-style-alem-data,
.alem-photo-content .is-style-alem-data {
  margin-block: 52px;
  overflow-x: auto;
  border-top: 4px double var(--alem-ink);
  border-bottom: 1px solid var(--alem-ink);
}

.alem-article-content .is-style-alem-data table,
.alem-photo-content .is-style-alem-data table {
  width: 100%;
  border-collapse: collapse;
  font: 500 14px/1.45 var(--alem-sans);
}

.alem-article-content .is-style-alem-data :is(th,td),
.alem-photo-content .is-style-alem-data :is(th,td) {
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid var(--alem-rule);
  text-align: left;
}

.alem-article-content .is-style-alem-data th,
.alem-photo-content .is-style-alem-data th {
  color: var(--alem-accent);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.alem-article-content .is-style-alem-documents,
.alem-photo-content .is-style-alem-documents {
  margin-block: 56px;
  padding: 26px 28px;
  background: var(--alem-ink);
  color: var(--alem-paper);
  border-left: 7px solid var(--alem-accent);
}

.alem-article-content .is-style-alem-documents h2,
.alem-photo-content .is-style-alem-documents h2 {
  margin-top: 0;
  color: var(--alem-paper);
  font-size: 34px;
}

.alem-article-content .is-style-alem-documents a,
.alem-photo-content .is-style-alem-documents a {
  color: var(--alem-accent-on-dark, #36aeb0);
}

@media (max-width: 1120px) {
  body.home .alem-core-front-edition {
    grid-template-columns: minmax(0, 2.6fr) minmax(230px, .9fr);
  }
  body.home .alem-core-front-edition-news {
    display: block;
  }
  body.home .alem-core-front-edition-main {
    padding-right: 0;
    border-right: 0;
  }
  body.home .alem-core-front-edition-secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 28px 0 0;
    border-top: 1px solid var(--alem-rule);
  }
  body.home .alem-core-front-edition-secondary .alem-core-front-card:nth-child(n+2) .alem-core-front-card-image {
    display: block;
  }
  body.home .alem-core-front-edition-secondary .alem-core-front-card,
  body.home .alem-core-front-edition-secondary .alem-core-front-card:first-child,
  body.home .alem-core-front-edition-secondary .alem-core-front-card:nth-child(3) {
    margin: 0;
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  body.home .alem-core-front-hero-grid {
    display: block;
  }
  body.home .alem-core-front-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--alem-ink);
  }
  body.home .alem-core-front-hero-copy {
    padding: 36px clamp(24px, 6vw, 54px) 40px;
  }
  body.home .alem-core-front-hero-copy h1 {
    font-size: clamp(48px, 7vw, 62px);
  }
  body.home .alem-core-front-edition {
    display: block;
  }
  body.home .alem-core-front-edition-news {
    border-right: 0;
  }
  body.home .alem-core-front-edition-agenda {
    padding-left: 0;
    border-top: 4px double var(--alem-ink);
  }
  body.home .alem-core-front-latest {
    display: block;
  }
  body.home .alem-core-front-latest .alem-core-front-heading {
    display: grid;
  }
  body.home .alem-core-front-columns-layout {
    display: block;
  }
  body.home .alem-core-front-columnists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-bottom: 26px;
  }
  body.single .alem-article-layout,
  body.alem-special-edition .alem-article-layout {
    grid-template-columns: 165px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.home .alem-core-front-hero-grid {
    display: block;
  }
  .alem-core-front-hero--video .alem-core-front-hero-copy {
    padding-top: 24px;
  }
  .alem-core-front-hero--video .alem-core-front-hero-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }
  .alem-core-front-hero--video .alem-dek {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-width: 34ch;
    column-count: 1;
    text-align: left;
  }
  body.home .alem-core-front-hero-copy h1 {
    max-width: none;
    font-size: 44px;
  }
  body.home .alem-core-front-edition-secondary {
    display: block;
  }
  body.home .alem-core-front-edition-secondary .alem-core-front-card,
  body.home .alem-core-front-edition-secondary .alem-core-front-card:first-child,
  body.home .alem-core-front-edition-secondary .alem-core-front-card:nth-child(3) {
    padding-block: 24px;
    border-bottom: 1px solid var(--alem-rule);
  }
  body.home .alem-core-front-columnists,
  body.home .alem-core-front-column-pieces {
    display: block;
  }
  body.home .alem-core-front-column-piece:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  body.home .alem-core-front-photos .alem-core-front-cards {
    display: block;
  }
  body.single .alem-article-index {
    position: static;
    overflow: hidden;
  }
  .alem-article-index ol {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .alem-article-index li {
    flex: 0 0 72%;
    scroll-snap-align: start;
    padding-right: 18px;
    border-bottom: 1px solid var(--alem-rule);
  }
  .alem-article-index li a[aria-current]::after {
    top: auto;
    bottom: -1px;
    width: 100%;
    height: 3px;
  }
  body.alem-special-edition .alem-featured-inline {
    width: 100%;
    margin-left: 0;
    translate: none;
  }
  body.alem-special-edition .alem-article-content .wp-block-post-content > h2 {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
  }
  .alem-core-video-stage {
    padding-block: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

html.alem-page-transition-pending { scroll-behavior: auto; }
html.alem-page-transition-pending body { opacity: 0; }
html.alem-page-transition-pending.alem-page-transition-ready body {
	opacity: 1;
	transition: opacity .18s ease;
}
@media (prefers-reduced-motion: reduce) {
	html.alem-page-transition-pending body { opacity: 1 !important; }
}


.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 0.7 — skip link, foco, errata, dossiê, relacionados, boletim, impressão */
.alem-skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 8px 14px;
  background: var(--alem-ink);
  color: var(--alem-paper);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.alem-skip-link:focus,
.alem-skip-link:focus-visible {
  top: 12px;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid var(--alem-accent);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--alem-accent);
  outline-offset: 3px;
}
.alem-link-draw:focus-visible,
.alem-primary-nav .wp-block-navigation-item__content:focus-visible {
  outline-offset: 4px;
}

.alem-errata {
  margin: 28px 0 8px;
  padding: 18px 20px 16px;
  border-top: 4px double var(--alem-ink);
  border-bottom: 1px solid var(--alem-rule);
  background: color-mix(in srgb, var(--alem-accent) 8%, var(--alem-paper));
}
.alem-errata strong {
  display: block;
  margin-bottom: 6px;
  color: var(--alem-accent);
  font: 600 12px/1.3 var(--alem-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.alem-errata p { margin: 0; font-size: 15px; line-height: 1.45; }

.alem-related-rail a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--alem-rule);
}
.alem-related-rail a small {
  color: var(--alem-accent);
  font: 600 12px/1.2 var(--alem-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.alem-related-rail a strong {
  font: 600 18px/1.15 var(--alem-display);
}

.alem-dossier-opening { padding: 70px 0 40px; border-bottom: 1px solid var(--alem-ink); }
.alem-dossier-opening h1 { max-width: 16ch; margin: 14px 0 18px; font: 600 clamp(52px, 8vw, 96px)/.92 var(--alem-display); letter-spacing: -.016em; }
.alem-dossier-opening .alem-dek { max-width: 720px; }
.alem-dossier-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px solid var(--alem-ink);
}
.alem-dossier-stats div { min-width: 120px; }
.alem-dossier-stats dt {
  color: var(--alem-accent);
  font: 600 12px/1.2 var(--alem-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.alem-dossier-stats dd { margin: 4px 0 0; font: 600 22px/1.1 var(--alem-display); }
.alem-dossier-index { margin-top: 48px; border-top: 4px double var(--alem-ink); }
.alem-dossier-index a {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--alem-rule);
}
.alem-dossier-index time { color: var(--alem-accent); font: 600 12px/1.2 var(--alem-sans); }
.alem-dossier-index h2 { margin: 0; font: 600 clamp(22px, 3vw, 32px)/1.08 var(--alem-display); }
.alem-dossier-index em { color: var(--alem-muted); font: 600 12px/1.2 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; }

.alem-boletim-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--alem-ink);
}
.alem-boletim-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  background: var(--alem-paper);
  color: var(--alem-ink);
  font: 400 16px/1.2 var(--alem-body);
}
.alem-boletim-form button {
  padding: 14px 20px;
  border: 0;
  background: var(--alem-ink);
  color: var(--alem-paper);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.alem-boletim-form button:hover,
.alem-boletim-form button:focus-visible { background: var(--alem-accent-hover); }

.alem-core-author-image,
.alem-column-hero .wp-block-avatar img,
.alem-core-journalist-image {
  border-radius: 0 !important;
}
.alem-core-author-image { width: 180px; height: 230px; object-fit: cover; }
.alem-core-journalist-image { width: 112px; height: 140px; object-fit: cover; }

.alem-edition-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--alem-rule);
  font: 600 12px/1.3 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.alem-edition-index a { color: var(--alem-muted); }
.alem-edition-index a:hover,
.alem-edition-index a:focus-visible { color: var(--alem-ink); }

.alem-search-form {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin-top: 28px;
  border-bottom: 1px solid var(--alem-ink);
}
.alem-search-form input[type="search"] {
  flex: 1;
  padding: 12px 0;
  border: 0;
  background: transparent;
  font: 400 20px/1.2 var(--alem-display);
}
.alem-search-form button {
  border: 0;
  background: transparent;
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media print {
  .alem-site-header, .alem-footer, .alem-reading-progress,
  .alem-article-rail, .alem-core-share, .alem-newsletter,
  .alem-core-continuation, .alem-skip-link { display: none !important; }
  body { background: var(--alem-branco, #ffffff); color: var(--alem-preto, #000000); }
  .alem-article-layout { display: block; }
  a { text-decoration: underline; }
}

@media (max-width: 760px) {
	.alem-dossier-index a { grid-template-columns: 1fr; gap: 6px; }
	.alem-boletim-form { flex-direction: column; }
	.alem-core-author-image { width: 120px; height: 154px; }
}

/* 0.8 — Mesa de Capa, aberturas variáveis e conversa editorial */
body.home .alem-cover-opening--extra {
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--alem-ink);
  color: var(--alem-paper);
}
body.home .alem-cover-opening--extra .alem-lead-label {
  width: min(calc(100% - 48px), 1320px);
  height: 54px;
  margin-inline: auto;
  color: var(--alem-tela-c7c0b6, #c7c0b6);
}
body.home .alem-cover-opening--extra .alem-lead-label span { color: var(--alem-accent-on-dark); }
body.home .alem-cover-opening--extra .alem-lead-label::after { background: var(--alem-tela-5d5d5a, #5d5d5a); }
body.home .alem-cover-opening--extra .alem-core-front-hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  width: min(calc(100% - 48px), 1320px);
  margin-inline: auto;
  border-color: var(--alem-tela-5d5d5a, #5d5d5a);
}
body.home .alem-cover-opening--extra .alem-core-front-hero-copy {
  order: -1;
  padding: clamp(42px, 6vw, 88px);
}
body.home .alem-cover-opening--extra .alem-core-front-hero-media {
  border-right: 0;
  border-left: 1px solid var(--alem-tela-5d5d5a, #5d5d5a);
}
body.home .alem-cover-opening--extra .alem-core-front-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(64px, 6.2vw, 102px);
  line-height: .91;
}
body.home .alem-cover-opening--extra :is(.alem-dek, .alem-meta) { color: var(--alem-tela-c7c0b6, #c7c0b6); }
body.home .alem-cover-opening--extra .alem-highlight-link { color: var(--alem-paper); }

body.home .alem-cover-opening--visual .alem-core-front-hero-grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, .72fr);
}
body.home .alem-cover-opening--visual .alem-core-front-hero-copy h1 {
  font-size: clamp(43px, 3.5vw, 62px);
}

body.home .alem-core-cover-cluster { padding-top: 28px; }
body.home .alem-core-cover-cluster-support .alem-core-front-card-image { aspect-ratio: 4 / 3; }
body.home .alem-core-cover-cluster-support .alem-dek {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.home .alem-core-cover-cluster--mosaic .alem-core-cover-cluster-lead,
body.home .alem-core-cover-cluster--mosaic .alem-core-cover-cluster-support .alem-core-front-card {
  background: color-mix(in srgb, var(--alem-paper-deep) 45%, transparent);
}

body.home .alem-core-front-edition-secondary .alem-dek,
body.home .alem-core-front-card .alem-dek {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Cover callouts can contain up to 200 characters; show them in full here. */
body.home .alem-core-front-edition-secondary .alem-core-front-card .alem-dek {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

/* Video shelf callouts also need to grow with their complete short text. */
body.home .alem-core-front-videos .alem-core-front-card .alem-dek {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.alem-core-front-dark .alem-dek,
.alem-core-front-dark .alem-meta { color: var(--alem-tela-c7c0b6, #c7c0b6) !important; }
.alem-core-front-dark .alem-kicker span { color: var(--alem-tela-b8b0a5, #b8b0a5); }

.alem-publication-dek {
	display: block;
	position: static;
	float: none;
	max-width: 880px;
	margin: clamp(24px, 3vw, 38px) 0 0;
	color: var(--alem-ink);
  font: 600 clamp(21px, 2.2vw, 29px)/1.28 var(--alem-display);
  letter-spacing: -.012em;
}
body.single .alem-editoria-opening { padding-bottom: clamp(42px, 5vw, 66px); }
body.single .alem-editoria-opening .alem-publication-dek {
	max-width: 34ch;
	margin-bottom: 0;
}

.alem-footer .alem-tagline {
  display: block;
  max-width: 25ch;
  margin: 18px 0 0;
  color: var(--alem-texto2-tela, #a9a49c);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}
.alem-footer-bottom .alem-tagline {
  max-width: none;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.alem-footer-grid > .wp-block-group { margin: 0; }
.alem-footer-grid > .wp-block-group > p { margin-top: 0; }

.alem-comments {
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: 26px;
  border-top: 4px double var(--alem-ink);
}
.alem-comments-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 6px 40px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--alem-rule);
}
.alem-comments-heading .alem-kicker { grid-column: 1 / -1; margin: 0; }
.alem-comments-heading h2 { margin: 0; font: 600 clamp(36px, 5vw, 58px)/1 var(--alem-display); }
.alem-comments-heading > p:last-child { margin: 0; color: var(--alem-muted); }
.alem-comment-list { margin: 0; padding: 0; list-style: none; }
.alem-comment-list .comment { padding: 26px 0; border-bottom: 1px solid var(--alem-rule); }
.alem-comment-list .children { margin: 22px 0 0 54px; padding: 0; list-style: none; border-left: 2px solid var(--alem-rule-light); }
.alem-comment-list .children .comment { padding-left: 24px; }
.alem-comment-list .comment-meta { font-family: var(--alem-sans); font-size: 12px; }
.alem-comment-list .comment-author { display: flex; gap: 12px; align-items: center; }
.alem-comment-list .avatar { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.alem-comment-list .comment-content { max-width: 760px; margin: 14px 0 0 56px; font-size: 17px; line-height: 1.6; }
.alem-comment-list .reply { margin: 10px 0 0 56px; font: 600 12px/1.2 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; }
.alem-comment-form { max-width: 760px; margin-top: 36px; }
.alem-comment-form :is(input:not([type="submit"]), textarea) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--alem-rule);
  border-radius: 0;
  background: var(--alem-branco, #ffffff);
  color: var(--alem-ink);
  font: 400 16px/1.4 var(--alem-body);
}
.alem-comment-form input[type="submit"] {
  padding: 13px 18px;
  border: 0;
  border-radius: 0;
  background: var(--alem-ink);
  color: var(--alem-paper);
  font: 600 12px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body.home .alem-cover-opening--extra .alem-core-front-hero-grid,
  body.home .alem-cover-opening--visual .alem-core-front-hero-grid,
  body.home .alem-core-cover-cluster-grid { display: block; width: 100%; }
  body.home .alem-cover-opening--extra .alem-core-front-hero-media { border-left: 0; border-top: 1px solid var(--alem-tela-5d5d5a, #5d5d5a); }
  .alem-core-cover-cluster-lead { padding-right: 0; border-right: 0; }
}

@media (max-width: 680px) {
  body.home .alem-cover-opening--extra .alem-lead-label,
  body.home .alem-cover-opening--extra .alem-core-front-hero-grid { width: min(calc(100% - 30px), 1320px); }
  body.home .alem-cover-opening--extra .alem-core-front-hero-copy { padding: 34px 22px 40px; }
  body.home .alem-cover-opening--extra .alem-core-front-hero-copy h1 { font-size: clamp(50px, 14vw, 68px); }
  .alem-core-cover-cluster-support { display: block; }
  .alem-core-cover-cluster-support .alem-core-front-card { padding-inline: 0; border-left: 0; }
  .alem-core-front-x-profile { grid-template-columns: 54px minmax(0, 1fr); }
  .alem-core-front-x-mark { width: 54px; height: 54px; }
  .alem-core-front-x-profile .alem-highlight-link { grid-column: 1 / -1; }
  .alem-comments-heading { grid-template-columns: 1fr; }
  .alem-comments-heading .alem-kicker { grid-column: auto; }
  .alem-comment-list .children { margin-left: 18px; }
  .alem-comment-list .comment-content,
  .alem-comment-list .reply { margin-left: 0; }

  body.alem-legal-page .alem-shell { width: min(calc(100% - 30px), 1240px); }
  body.alem-legal-page .alem-article-content {
    width: 100%;
    margin-block: 50px 72px;
    font-size: 17px;
    line-height: 1.66;
  }
  body.alem-legal-page .alem-article-hero { padding-block: 50px 25px; }
  body.alem-legal-page .alem-article-hero h1 { font-size: clamp(45px, 13vw, 68px); }
  body.alem-legal-page .alem-article-content .wp-block-post-content > p:first-child { margin-bottom: 36px; padding-top: 20px; font-size: 12px; }
  body.alem-legal-page .alem-article-content .wp-block-post-content > h2 { margin-top: 44px; font-size: 31px; }
  body.alem-legal-page .alem-article-content .wp-block-post-content > blockquote { padding: 23px 20px 23px 54px; }
  body.alem-legal-page .alem-article-content .wp-block-post-content > blockquote::before { left: 14px; }
}

/* Reader entry: public cache-safe HTML, independent of saved header templates. */
.alem-topline-actions { flex-wrap: wrap !important; gap: 12px 22px; }
.alem-topline-actions a.alem-reader-access { display: inline; font-weight: 700; color: var(--alem-accent, #067378); }
.alem-brand-name, .alem-brand-name em { font-weight: 700; font-style: italic; }
.alem-reader-access-note { font: inherit; }
@media(max-width:780px) {
  .alem-topline-actions { justify-content: flex-end; }
  .alem-topline-actions a.alem-reader-access { display: inline !important; }
  .alem-reader-access-note { display: none; }
}

/* Reportagens especiais: as imagens permanecem originais; o contraste é uma camada do tema. */
body.alem-special-style-1 { padding-top: 0 !important; }
body.alem-special-style-1 .alem-site-header {
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  background: transparent !important;
  border: 0 !important;
  color: var(--alem-night-text) !important;
}
body.alem-special-style-1.admin-bar .alem-site-header { top: 0; }
body.alem-special-style-1 .alem-header-bar { color: inherit !important; }
body.alem-special-style-1 .alem-primary-nav .wp-block-navigation__responsive-container-open,
body.alem-special-style-1 .alem-header-socials a,
body.alem-special-style-1 .alem-topline-actions a { color: inherit !important; }
body.alem-special-style-1 .alem-brand-logo { background: url("assets/images/alem-logo-light-v7.png") center / contain no-repeat !important; }
body.alem-special-style-1 .alem-site-header.is-on-light { color: var(--alem-ink) !important; }
body.alem-special-style-1 .alem-site-header.is-on-light .alem-brand-logo { background-image: url("assets/images/alem-logo-dark-v7.png") !important; }
body.alem-special-style-1 .alem-editoria-opening,
body.alem-special-style-2 .alem-editoria-opening,
body.alem-special-style-1 .alem-featured-inline,
body.alem-special-style-2 .alem-featured-inline { display: none !important; }
body:is(.alem-special-style-1,.alem-special-style-2) .alem-article-content > .alem-publication-dek { display: none !important; }
.alem-special-cover { position: relative; isolation: isolate; }
.alem-special-cover--style-1 { min-height: min(850px, 88svh); color: var(--alem-paper); background: var(--alem-night); }
.alem-special-cover-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--alem-night); }
.alem-special-cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--alem-nanquim, #0c0d0e) 14%, transparent) 0%, transparent 24%, color-mix(in srgb, var(--alem-nanquim, #0c0d0e) 24%, transparent) 48%, color-mix(in srgb, var(--alem-tela-0c1213, #0c1213) 72%, transparent) 76%, color-mix(in srgb, var(--alem-tela-0c1213, #0c1213) 96%, transparent) 100%);
}
.alem-special-cover-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.alem-special-cover-copy { position: absolute; inset: auto max(6vw, calc((100vw - 1320px)/2)) 7%; z-index: 1; max-width: 1020px; }
.alem-special-cover-kicker { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 13px; color: var(--alem-accent-on-dark); font: 600 12px/1.35 var(--alem-sans); letter-spacing: .13em; text-transform: uppercase; }
.alem-special-cover-kicker a { color: inherit; }
.alem-special-cover-eyebrow { margin: 0 0 16px; color: var(--alem-accent-on-dark); font: 600 12px/1.3 var(--alem-sans); letter-spacing: .16em; text-transform: uppercase; }
.alem-special-cover-copy h1 { max-width: 13ch; margin: 0 0 14px; color: inherit; font: 600 clamp(48px, 7vw, 92px)/.96 var(--alem-display); letter-spacing: -.016em; text-wrap: balance; }
.alem-special-cover-dek { max-width: 720px; margin: 0 0 20px; color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 88%, transparent); font: 400 clamp(18px, 2vw, 24px)/1.42 var(--alem-body); }
.alem-special-cover .alem-core-publication-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; max-width: 1050px; margin: 0; padding: 13px 0 0; border-top: 1px solid color-mix(in srgb, var(--alem-paper, #f6f3ee) 30%, transparent); color: var(--alem-paper); }
.alem-special-cover .alem-core-publication-author { flex: 1 1 220px; }
.alem-special-cover .alem-core-publication-author-names,
.alem-special-cover .alem-core-publication-facts dd,
.alem-special-cover .alem-core-share a,
.alem-special-cover .alem-core-share button { color: inherit !important; }
.alem-special-cover .alem-core-publication-facts { display: contents; }
.alem-special-cover .alem-core-publication-facts dl { gap: 6px 14px; }
.alem-special-cover .alem-core-publication-facts dt { color: var(--alem-accent-on-dark); }
.alem-special-cover .alem-core-share { gap: 8px 12px; }
.alem-special-cover--style-2 { background: var(--alem-paper); }
.alem-special-cover--style-2 .alem-special-cover-media { position: relative; z-index: 0; height: clamp(300px, 54vw, 660px); }
.alem-special-cover--style-2 .alem-special-cover-media::after { background: linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--alem-nanquim, #0c0d0e) 35%, transparent) 100%); }
.alem-special-cover-intro { position: relative; max-width: 1100px; margin: -66px auto 0; padding: 34px clamp(22px, 5vw, 70px) 28px; z-index: 1; background: var(--alem-paper); }
.alem-special-cover--style-2 .alem-special-cover-copy { position: static; max-width: none; color: var(--alem-ink); }
.alem-special-cover--style-2 .alem-special-cover-kicker { color: var(--alem-accent); }
.alem-special-cover--style-2 .alem-special-cover-eyebrow { color: var(--alem-accent); }
.alem-special-cover--style-2 .alem-special-cover-dek { color: var(--alem-muted); }
.alem-special-cover--style-2 .alem-core-publication-meta { color: var(--alem-muted); border-color: var(--alem-rule); }
.alem-special-cover--style-2 .alem-core-publication-author-names,
.alem-special-cover--style-2 .alem-core-publication-facts dd { color: var(--alem-muted) !important; }
.alem-core-video-related { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; align-items: baseline; margin-top: 22px; padding: 17px 0; border-block: 1px solid var(--alem-rule); }
.alem-core-video-related > .alem-core-overline { margin: 0; color: var(--alem-accent); font: 600 11px/1.2 var(--alem-sans); letter-spacing: .12em; text-transform: uppercase; }
.alem-core-video-related > div { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.alem-core-video-related a { display: grid; gap: 4px; color: var(--alem-ink); text-decoration: none; }
.alem-core-video-related a span { color: var(--alem-accent); font: 600 10px/1.2 var(--alem-sans); letter-spacing: .1em; text-transform: uppercase; }
.alem-core-video-related a strong { font: 500 16px/1.15 var(--alem-display); }

@media (max-width: 780px) {
  body.single .alem-article-hero { padding-top: 34px; }
  body.single .alem-article-hero h1,
  body.single .alem-video-hero h1,
  body.single .alem-photo-hero h1 { font-size: clamp(35px, 9vw, 42px); line-height: 1.02; }
  body.single .alem-publication-dek,
  body.single .alem-article-hero .wp-block-post-excerpt { font-size: 17px; line-height: 1.45; }
  body.single :is(.alem-article-content, .alem-photo-content) { font-size: 16px; line-height: 1.72; }
  body.single :is(.alem-article-content, .alem-photo-content) .wp-block-post-content > p:first-child { font-size: 17px; line-height: 1.58; }
  body.single .alem-article-content .wp-block-post-content > h2,
  body.single.alem-special-edition .alem-article-content .wp-block-post-content > h2,
  body.single .alem-photo-content .wp-block-post-content > h2 { font-size: clamp(24px, 6.4vw, 28px); line-height: 1.1; }
  body.single :is(.alem-article-content, .alem-photo-content) .wp-block-post-content > h3 { font-size: 21px; line-height: 1.18; }
  body.single :is(.alem-article-content, .alem-photo-content) blockquote { padding: 22px 0 22px 42px; font-size: 22px; }
  body.single :is(.alem-article-content, .alem-photo-content) blockquote::before { font-size: 58px; }
  body.single .alem-article-content .is-style-alem-pullquote,
  body.single .alem-photo-content .is-style-alem-pullquote { font-size: 24px; }
  .alem-core-video-related { grid-template-columns: 1fr; gap: 10px; margin-top: 15px; padding: 12px 0; }
  .alem-core-video-related > div { display: grid; gap: 10px; }
  .alem-core-video-related a strong { font-size: 15px; }
  .alem-special-cover--style-1 { min-height: min(740px, 82svh); }
  body.alem-special-style-1 .alem-site-header { height: 68px; }
  body.alem-special-style-1.admin-bar .alem-site-header { top: 0; }
  .alem-special-cover-copy { inset-inline: 18px; bottom: 5%; }
  .alem-special-cover-copy h1 { font-size: clamp(38px, 10vw, 48px); }
  .alem-special-cover-dek { font-size: 17px; }
  .alem-special-cover .alem-core-publication-meta { gap: 12px; }
  .alem-special-cover--style-2 .alem-special-cover-media { height: 58vw; min-height: 230px; }
  .alem-special-cover-intro { margin: -34px 15px 0; padding: 24px 16px 20px; }
  .alem-special-cover--style-2 .alem-special-cover-copy h1 { font-size: clamp(36px, 9.5vw, 46px); }
.alem-special-cover .alem-core-publication-meta .alem-core-share { display: none; }
}

/* Match the periodic video opening to the two-column edition mockup. */
body.single-alem_video .alem-video-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  grid-template-areas: "series series" "kicker kicker" "title dek" "meta meta" "note note" "related related";
  align-items: end;
  column-gap: clamp(36px, 7vw, 110px);
  row-gap: 0;
}
body.single-alem_video .alem-video-hero > .alem-video-series-label { grid-area: series; }
body.single-alem_video .alem-video-hero > .wp-block-group:has(.alem-publication-kicker) { grid-area: kicker; }
body.single-alem_video .alem-video-hero > .wp-block-post-title { grid-area: title; max-width: 12ch; margin: 20px 0 28px; }
body.single-alem_video .alem-video-hero > .alem-publication-dek {
  grid-area: dek;
  max-width: 34ch;
  margin: 0 0 34px;
  color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 78%, transparent);
  font: 400 clamp(19px, 2.15vw, 27px)/1.42 var(--alem-body);
  letter-spacing: 0;
}
body.single-alem_video .alem-video-hero > .alem-core-publication-meta { grid-area: meta; }
body.single-alem_video .alem-video-hero > .alem-core-update { grid-area: note; }
body.single-alem_video .alem-video-hero > .alem-core-video-related { grid-area: related; }
body.single-alem_video .alem-video-hero:not(:has(> .alem-publication-dek)) > .wp-block-post-title { grid-column: 1 / -1; max-width: 18ch; }

/* First-party featured image, with a deliberate click-to-connect YouTube gate. */
body.single-alem_video .alem-core-video-media { background: var(--alem-night) !important; }
body.single-alem_video .alem-core-video-player:has(.alem-video-poster) > .alem-core-video-meta { display: none; }
.alem-video-poster {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto auto;
  align-items: center;
  justify-items: start;
  padding: clamp(20px, 4vw, 54px);
  overflow: hidden;
  color: var(--alem-paper);
  isolation: isolate;
  cursor: pointer;
}
.alem-video-poster::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--alem-nanquim, #0c0d0e) 8%, transparent) 25%, color-mix(in srgb, var(--alem-nanquim, #0c0d0e) 20%, transparent) 48%, color-mix(in srgb, var(--alem-tela-0c1213, #0c1213) 86%, transparent) 100%); }
.alem-video-poster-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); }
.alem-video-poster-play {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: clamp(64px, 8vw, 100px); aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--alem-paper, #f6f3ee) 86%, transparent); border-radius: 50%;
  background: color-mix(in srgb, var(--alem-nanquim, #0c0d0e) 28%, transparent); color: var(--alem-paper);
  font: 400 clamp(24px, 3vw, 36px)/1 var(--alem-sans); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.alem-video-poster-play:hover,
.alem-video-poster-play:focus-visible { background: var(--alem-accent); border-color: var(--alem-accent); color: var(--alem-paper); transform: translate(-50%, -50%) scale(1.06); }
.alem-video-poster-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; align-self: end; font: 700 11px/1.3 var(--alem-sans); letter-spacing: .12em; text-transform: uppercase; }
.alem-video-poster-meta > span:first-child { padding: 9px 11px; border: 1px solid color-mix(in srgb, var(--alem-tela-8ccfd0, #8ccfd0) 80%, transparent); color: var(--alem-accent-on-dark); }
.alem-video-poster-notice { margin: 10px 0 0; color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 72%, transparent); font: 400 11px/1.4 var(--alem-sans); }

/* Dotted cyan hover is reserved for inline editorial links, not every linked title or control. */
.alem-link-draw {
  background-image: none !important;
  background-size: 0 0 !important;
  transition: none !important;
}
:is(.alem-article-content p a, .alem-photo-content p a, .alem-article-content p .alem-link-draw, .alem-photo-content p .alem-link-draw) {
  position: relative;
  text-decoration: none !important;
}
:is(.alem-article-content p a, .alem-photo-content p a, .alem-article-content p .alem-link-draw, .alem-photo-content p .alem-link-draw)::after {
  content: ""; position: absolute; right: 0; bottom: -.12em; left: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--alem-accent) 0 2px, transparent 2px 5px);
  transform: scaleX(0); transform-origin: left; transition: transform .24s ease;
}
:is(.alem-article-content p a, .alem-photo-content p a, .alem-article-content p .alem-link-draw, .alem-photo-content p .alem-link-draw):is(:hover, :focus-visible) { color: inherit !important; }
:is(.alem-article-content p a, .alem-photo-content p a, .alem-article-content p .alem-link-draw, .alem-photo-content p .alem-link-draw):is(:hover, :focus-visible)::after { transform: scaleX(1); }
@media (max-width: 780px) {
  /* The mobile WordPress toolbar is 46px tall, not the desktop 32px.
     Keep the fixed masthead flush against the video cover beneath it. */
  body.admin-bar.single-alem_video .alem-site-header {
    top: var(--alem-mobile-admin-top, 46px) !important;
  }
  body.single-alem_video .alem-video-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "series" "kicker" "title" "dek" "meta" "note" "related";
    column-gap: 0;
  }
  body.single-alem_video .alem-video-hero > .wp-block-post-title { max-width: none; margin: 14px 0 18px; }
  body.single-alem_video .alem-video-hero > .alem-publication-dek { max-width: none; margin: 0 0 24px; font-size: 18px; }
  .alem-video-poster { padding: 17px; }
  .alem-video-poster-meta { gap: 6px 10px; font-size: 9px; }
  .alem-video-poster-notice { max-width: 80%; font-size: 9px; }
}

@media (max-width: 780px) {
  body.single-post:not(.single-alem_video) .alem-article-content > .alem-core-publication-meta {
    margin: 20px 0 24px;
    padding-block: 18px;
    border-top: 1px solid var(--alem-rule);
    border-bottom: 1px solid var(--alem-rule);
  }
}

@media (prefers-reduced-motion: reduce) {
  .alem-video-poster-play,
  :is(.alem-article-content p a, .alem-photo-content p a)::after { transition: none; }
}

/* Periodic video edition: the title, selected readings and YouTube player share one dark cover. */
body.single-alem_video .alem-site-header {
  background: var(--alem-night) !important;
  color: var(--alem-paper) !important;
  border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 22%, transparent) !important;
}
body.single-alem_video .alem-brand-logo { background-image: url("assets/images/alem-logo-light-v7.png") !important; }
body.single-alem_video .alem-header-bar,
body.single-alem_video .alem-primary-nav .wp-block-navigation__responsive-container-open,
body.single-alem_video .alem-header-socials a,
body.single-alem_video .alem-topline-actions a { color: var(--alem-paper) !important; }
body.single-alem_video #alem-main > .alem-video-hero {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: clamp(38px, 5vw, 72px) max(5.2%, calc((100vw - 1300px)/2)) 28px !important;
  overflow: hidden;
  background: var(--alem-night) !important;
  color: var(--alem-paper);
}
body.single-alem_video .alem-video-series-label {
  margin: 0 0 24px;
  color: var(--alem-accent-on-dark);
  font: 700 11px/1.3 var(--alem-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.single-alem_video .alem-video-hero h1 { color: var(--alem-paper); }
body.single-alem_video .alem-video-hero .alem-publication-dek { color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 78%, transparent); }
body.single-alem_video .alem-video-hero .alem-core-publication-meta { color: var(--alem-paper); border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 25%, transparent); }
body.single-alem_video .alem-video-hero .alem-core-publication-author-names,
body.single-alem_video .alem-video-hero .alem-core-publication-facts dd,
body.single-alem_video .alem-video-hero .alem-core-share a,
body.single-alem_video .alem-video-hero .alem-core-share button { color: var(--alem-paper) !important; }
body.single-alem_video .alem-video-hero .alem-core-publication-facts dt,
body.single-alem_video .alem-video-hero .alem-core-overline { color: var(--alem-accent-on-dark); }
body.single-alem_video .alem-video-hero .alem-core-video-related { border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 25%, transparent); }
body.single-alem_video .alem-video-hero .alem-core-video-related > .alem-core-overline { color: var(--alem-accent-on-dark); }
body.single-alem_video .alem-video-hero .alem-core-video-related a { color: var(--alem-paper); }
body.single-alem_video .alem-video-hero .alem-core-video-related a span { color: var(--alem-accent-on-dark); }
body.single-alem_video .alem-video-hero .alem-core-video-related a strong { font-size: 17px; }
body.single-alem_video #alem-main > .alem-core-video-stage { margin-top: 0 !important; padding: 0 0 clamp(32px, 5vw, 64px); border: 0; }
body.single-alem_video .alem-core-video-stage .alem-core-video-player { width: min(89.6%, 1320px); margin-inline: auto; }
body.single-alem_video .alem-core-video-stage .alem-core-video-meta { width: min(89.6%, 1320px); margin-inline: auto; color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 62%, transparent); border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 22%, transparent); }

@media (max-width: 780px) {
  body.single-alem_video #alem-main > .alem-video-hero { padding: 32px 18px 20px !important; }
  body.single-alem_video .alem-video-series-label { margin-bottom: 18px; }
  body.single-alem_video #alem-main > .alem-core-video-stage { padding-bottom: 28px; }
  body.single-alem_video .alem-core-video-stage .alem-core-video-player,
  body.single-alem_video .alem-core-video-stage .alem-core-video-meta { width: 100%; }
}
/* One full-height marker per line; disable both native underlining and old pseudo-lines. */
body :is(.alem-article-content .wp-block-post-content, .alem-photo-content .wp-block-post-content) :is(p,li,td,th) a,
body .alem-topline-actions a.alem-reader-access {
  text-decoration: none !important;
  border-bottom: 0 !important;
  background-image: linear-gradient(var(--alem-accent-soft, #b9e0df), var(--alem-accent-soft, #b9e0df)) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 100% !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .2s ease, color .2s ease;
}
body :is(.alem-article-content .wp-block-post-content, .alem-photo-content .wp-block-post-content) :is(p,li,td,th) a:is(:hover,:focus-visible),
body .alem-topline-actions a.alem-reader-access:is(:hover,:focus-visible) {
  background-size: 100% 100% !important;
  color: var(--alem-ink, #111213) !important;
}
body :is(.alem-article-content .wp-block-post-content, .alem-photo-content .wp-block-post-content) :is(p,li,td,th) a::after { border: 0; background: none; }
body .alem-topline-actions a:is(:hover,:focus-visible,:active) {
  background-image: linear-gradient(var(--alem-accent-soft), var(--alem-accent-soft)) !important;
  background-size: 100% 100% !important;
  color: var(--alem-ink) !important;
}
body :is(.alem-article-content .wp-block-post-content, .alem-photo-content .wp-block-post-content) a:focus-visible { outline: 2px solid var(--alem-accent, #067378); outline-offset: 3px; }
@media(prefers-reduced-motion:reduce) { body a { transition: none !important; } }

/* Conversation drawer — comments stay closed until the reader asks for them. */
.alem-comments-trigger-wrap { margin-top: clamp(72px, 9vw, 128px); }
.alem-comments-trigger {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; width: 100%; min-height: 72px; padding: 0 22px;
  border: 1px solid var(--alem-ink); background: transparent; color: var(--alem-ink); cursor: pointer; text-align: left; transition: background .2s ease, color .2s ease;
}
.alem-comments-trigger:hover, .alem-comments-trigger:focus-visible { background: var(--alem-ink); color: var(--alem-paper); }
.alem-comments-trigger:focus-visible { outline: 3px solid var(--alem-accent); outline-offset: 4px; }
.alem-comments-trigger-label { font: 600 15px/1 var(--alem-sans); letter-spacing: .12em; text-transform: uppercase; }
.alem-comments-trigger-count { margin-left: 18px; color: var(--alem-accent) !important; font: 600 13px/1 var(--alem-sans); }
.alem-comments-trigger:hover .alem-comments-trigger-count, .alem-comments-trigger:focus-visible .alem-comments-trigger-count { color: var(--alem-accent-soft) !important; }
.alem-comments-trigger-arrow { margin-left: 22px; font-size: 25px; line-height: 1; }
.alem-comments-back { display: none; }
.alem-comments-drawer { transition: transform .3s ease; }
.alem-comments-panel.is-closing .alem-comments-drawer { animation: none; transform: translateX(100%); }
.alem-comments-panel.is-closing .alem-comments-backdrop { opacity: 0; transition: opacity .3s ease; }
@media (max-width: 780px) {
  body .alem-comments-panel { z-index: 10020; }
  .alem-comments-drawer { touch-action: pan-y; }
  .alem-comments-drawer.is-dragging { animation: none; transition: none; }
  .alem-comments-back {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: max(12px, env(safe-area-inset-top, 0px)) 24px 12px;
    border: 0;
    border-bottom: 1px solid var(--alem-rule);
    background: var(--alem-paper);
    color: var(--alem-ink);
    font: 600 14px/1.3 var(--alem-sans);
    text-align: left;
    cursor: pointer;
  }
  .alem-comments-back span { font-size: 24px; }
  .alem-comments-back:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: -4px; }
}
@media (prefers-reduced-motion: reduce) { .alem-comments-drawer { transition: none; } }
.alem-comments-panel[hidden] { display: none; }
.alem-comments-panel { position: fixed; z-index: 10020; inset: 0; display: flex; justify-content: flex-end; }
.alem-comments-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--alem-sombra, #111213) 56%, transparent); }
.alem-comments-drawer { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(470px, 42vw); height: 100%; overflow: hidden; background: var(--alem-paper); color: var(--alem-ink); box-shadow: -12px 0 40px color-mix(in srgb, var(--alem-ink, #111213) 20%, transparent); }
.alem-comments-drawer.is-opening { animation: alem-comments-in .25s ease both; }
.alem-comments-drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px 30px 22px; border-bottom: 1px solid var(--alem-rule); }
.alem-comments-drawer-header .alem-kicker { margin: 0 0 7px; }
.alem-comments-drawer-header h2 { margin: 0; font: 600 clamp(32px, 4vw, 48px)/1 var(--alem-display); letter-spacing: -.016em; }
.alem-comments-close { width: 40px; height: 40px; padding: 0; border: 1px solid var(--alem-ink); background: transparent; color: inherit; font: 300 29px/1 var(--alem-sans); cursor: pointer; }
.alem-comments-close:hover, .alem-comments-close:focus-visible { background: var(--alem-ink); color: var(--alem-paper); }
.alem-comments-close:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 3px; }
.alem-comments-community { padding: 18px 30px; background: var(--alem-paper-deep); border-bottom: 1px solid var(--alem-rule); font: 14px/1.45 var(--alem-sans); }
.alem-comments-community strong { display: block; margin-bottom: 5px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.alem-comments-community p { margin: 0; color: var(--alem-muted); }
.alem-comments-community a { color: var(--alem-accent); text-decoration: underline; text-underline-offset: 3px; }
.alem-comments-drawer-body { flex: 1; overflow-y: auto; padding: 0 30px 40px; overscroll-behavior: contain; }
.alem-comments-list-heading { display: flex; justify-content: space-between; gap: 12px; margin: 25px 0 0; padding-bottom: 12px; border-bottom: 2px solid var(--alem-ink); font: 600 12px/1 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; }
.alem-comments-list-heading span { color: var(--alem-accent); }
.alem-comment-list { margin: 0; padding: 0; list-style: none; }
.alem-comment-list .comment { position: relative; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--alem-rule-light); list-style: none; }
.alem-comment-list .children { margin: 18px 0 0 21px; padding: 0 0 0 20px; border-left: 2px solid var(--alem-rule); list-style: none; }
.alem-comment-list .children[hidden] { display: none; }
.alem-comment-card { min-width: 0; }
.alem-comment-meta { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--alem-sans); }
.alem-comment-avatar { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; }
.alem-comment-author { display: block; font-size: 14px; line-height: 1.15; }
.alem-comment-profile-link { color: inherit; text-decoration: none; }
.alem-comment-author .alem-comment-profile-link { display: inline-flex; align-items: baseline; gap: .3em; color: var(--alem-ink, #171b1d); }
.alem-comment-profile-name { text-decoration: underline; text-decoration-color: var(--alem-texto2-tela, #a9a49c); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .18s ease; }
.alem-comment-profile-arrow { color: var(--alem-desabilitado, #8a847b); font-size: .8em; font-weight: 400; transition: color .18s ease, transform .18s ease; }
.alem-comment-author .alem-comment-profile-link:is(:hover,:focus-visible) .alem-comment-profile-name { text-decoration-color: var(--alem-accent, #067378); }
.alem-comment-author .alem-comment-profile-link:is(:hover,:focus-visible) .alem-comment-profile-arrow { color: var(--alem-accent, #067378); transform: translate(1px, -1px); }
.alem-comment-profile-avatar { display: block; flex: none; border-radius: 50%; }
.alem-comment-profile-avatar:is(:hover,:focus-visible) .alem-comment-avatar { outline: 1px solid var(--alem-accent, #067378); outline-offset: 2px; }
.alem-comment-meta time { display: block; margin-top: 3px; color: var(--alem-muted); font-size: 12px; }
.alem-comment-collapse { width: 27px; height: 27px; margin-left: auto; padding: 0; border: 1px solid var(--alem-rule); background: transparent; color: var(--alem-ink); font: 18px/1 var(--alem-sans); cursor: pointer; }
.alem-comment-collapse:hover, .alem-comment-collapse:focus-visible { border-color: var(--alem-accent); color: var(--alem-accent); }
.alem-comment-collapse:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 2px; }
.alem-comment-content { margin: 13px 0 0 48px; font: 400 16px/1.52 var(--alem-body); }
.alem-comment-content p { margin: 0 0 .8em; }
.alem-comment-content p:last-child { margin-bottom: 0; }
.alem-comment-content blockquote { margin: 10px 0; padding: 8px 12px; border-left: 3px solid var(--alem-accent); background: var(--alem-paper-deep); font-style: italic; }
.alem-comment-actions { display: flex; flex-wrap: wrap; gap: 15px; margin: 12px 0 0 48px; font: 600 11px/1 var(--alem-sans); letter-spacing: .07em; text-transform: uppercase; }
.alem-comment-actions a, .alem-comment-actions button { padding: 0; border: 0; background: transparent; color: var(--alem-accent); font: inherit; cursor: pointer; text-decoration: none; }
.alem-comment-actions a:hover, .alem-comment-actions a:focus-visible, .alem-comment-actions button:hover, .alem-comment-actions button:focus-visible { color: var(--alem-ink); text-decoration: underline; text-underline-offset: 3px; }
.alem-comment-actions a:focus-visible, .alem-comment-actions button:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 3px; }
.alem-comments-empty, .alem-comments-closed { margin: 26px 0; color: var(--alem-muted); font: 16px/1.5 var(--alem-sans); }
.alem-comment-form { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--alem-ink); }
.alem-comment-form .comment-reply-title { margin: 0 0 12px; font: 600 27px/1.1 var(--alem-display); }
.alem-comment-form .comment-notes { margin: 0 0 17px; color: var(--alem-muted); font: 14px/1.45 var(--alem-sans); }
.alem-comment-form :is(input:not([type="submit"]), textarea) { width: 100%; padding: 11px 12px; border: 1px solid var(--alem-rule); border-radius: 0; background: var(--alem-campo, #fffdfa); color: var(--alem-ink); font: 400 16px/1.4 var(--alem-body); }
.alem-comment-form textarea { min-height: 130px; resize: vertical; }
.alem-comment-toolbar { display: flex; gap: 4px; margin-bottom: -1px; padding: 7px 8px; border: 1px solid var(--alem-rule); border-bottom: 0; background: var(--alem-paper-deep); }
.alem-comment-toolbar button { min-width: 30px; height: 26px; padding: 0 7px; border: 0; background: transparent; color: var(--alem-ink); font: 700 14px/1 var(--alem-sans); cursor: pointer; }
.alem-comment-toolbar button:nth-child(2) { font-style: italic; }
.alem-comment-toolbar button:nth-child(3) { font-size: 18px; }
.alem-comment-toolbar button:hover, .alem-comment-toolbar button:focus-visible { background: var(--alem-ink); color: var(--alem-paper); }
.alem-comment-toolbar button:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 2px; }
.alem-comment-form :is(input,textarea):focus { border-color: var(--alem-accent); outline: 2px solid var(--alem-accent); outline-offset: 2px; }
.alem-comment-form input[type="submit"] { padding: 13px 18px; border: 0; border-radius: 0; background: var(--alem-ink); color: var(--alem-paper); font: 600 12px/1 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.alem-comment-form input[type="submit"]:hover { background: var(--alem-accent-hover); }
.alem-comment-form input[type="submit"]:focus-visible { background: var(--alem-accent-active); }
.alem-comments-panel-open { overflow: hidden; }
@keyframes alem-comments-in { from { transform: translateX(22px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .alem-comments-drawer.is-opening { animation: none; } }
@media (max-width: 680px) {
  .alem-comments-trigger-wrap { width: min(calc(100% - 30px), 1320px); margin-top: 65px; }
  .alem-comments-trigger { min-height: 64px; padding: 0 15px; }
  .alem-comments-trigger-label { font-size: 12px; }
  .alem-comments-trigger-count { margin-left: 10px; font-size: 11px; }
  .alem-comments-trigger-arrow { margin-left: 13px; font-size: 20px; }
  .alem-comments-drawer { width: 100%; }
  .alem-comments-drawer-header { padding: 22px 20px 17px; }
  .alem-comments-community { padding: 15px 20px; }
  .alem-comments-drawer-body { padding-inline: 20px; }
  .alem-comment-content, .alem-comment-actions { margin-left: 0; }
  .alem-comment-list .children { margin-left: 9px; padding-left: 14px; }
}

/* Conversation tuning — give the drawer room for long, multi-level threads. */
.alem-comments-drawer { width: min(540px, 44vw); }
.alem-comments-drawer-header { padding: 38px 38px 26px; }
.alem-comments-community { padding: 22px 38px; }
.alem-comments-drawer-body { padding: 0 38px 56px; }
.alem-comments-list-heading { margin-top: 30px; padding-bottom: 15px; }
.alem-comment-list .comment { padding: 30px 0; }
.alem-comment-list .children { margin-top: 25px; margin-left: 28px; padding-left: 25px; }
.alem-comment-meta { gap: 13px; min-height: 48px; }
.alem-comment-avatar { width: 44px; height: 44px; }
.alem-comment-author { font-size: 15px; }
.alem-comment-meta time { font-size: 12px; }
.alem-comment-content { margin-top: 17px; margin-left: 57px; font-size: 17px; line-height: 1.65; }
.alem-comment-actions { margin-top: 16px; margin-left: 57px; gap: 18px; }
.alem-comment-votes { display: flex; gap: 8px; margin: 17px 0 0 57px; }
.alem-comment-vote { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 4px 8px; border: 1px solid var(--alem-rule); background: transparent; color: var(--alem-muted); font: 600 10px/1 var(--alem-sans); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.alem-comment-vote span:first-child { font-size: 16px; line-height: .7; }
.alem-comment-vote b { min-width: 1ch; color: var(--alem-ink); font-weight: 700; }
.alem-comment-vote:hover, .alem-comment-vote:focus-visible, .alem-comment-vote.is-selected { border-color: var(--alem-accent); background: var(--alem-accent-pale); color: var(--alem-accent); }
.alem-comment-vote:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 2px; }
.alem-comment-vote[aria-busy="true"] { opacity: .55; cursor: wait; }
.alem-comment-form { margin-top: 0; margin-bottom: 34px; padding: 26px 0 31px; border-top: 0; border-bottom: 2px solid var(--alem-ink); }
.alem-comment-form .comment-reply-title { font-size: 30px; }
.alem-comment-form .comment-notes { max-width: 42ch; line-height: 1.55; }
.alem-comment-form p { margin: 0 0 15px; }
.alem-comment-form p:last-child { margin-bottom: 0; }
@media (max-width: 680px) {
  .alem-comments-drawer { width: 100%; }
  .alem-comments-drawer-header { padding: 27px 24px 21px; }
  .alem-comments-community { padding: 18px 24px; }
  .alem-comments-drawer-body { padding: 0 24px 46px; }
  .alem-comment-list .comment { padding: 27px 0; }
  .alem-comment-list .children { margin-top: 23px; margin-left: 12px; padding-left: 17px; }
  .alem-comment-content, .alem-comment-actions, .alem-comment-votes { margin-left: 0; }
  .alem-comment-content { margin-top: 16px; font-size: 17px; line-height: 1.68; }
  .alem-comment-votes { margin-top: 17px; }
  .alem-comment-actions { margin-top: 15px; gap: 16px; }
  .alem-comment-form { padding-top: 24px; padding-bottom: 29px; }
}

/* Reader identity, compact article ending, and emoji controls. */
body.single .alem-article-content > :is(.alem-core-credits, .alem-core-sources, .alem-core-journalist) { margin-block: 32px; }
body.single .alem-article-content .alem-comments-trigger-wrap { width: 100%; max-width: none; margin: 32px 0 40px; }
body.single .alem-core-related-rail a { display: grid; gap: 8px; }
body.single .alem-core-related-rail a small { display: block; }
.alem-comment-form .alem-comment-identity { margin: 18px 0 24px; font: 400 15px/1.6 var(--alem-sans); }
.alem-comment-form .alem-comment-profile { color: var(--alem-accent); font-weight: 700; text-decoration: none; border: 0; box-shadow: none; }
.alem-comment-form .alem-comment-profile:is(:hover,:focus-visible) { background: var(--alem-accent-soft); color: var(--alem-accent-active); text-decoration: none; }
.alem-comment-form .alem-comment-identity small { display: block; margin-top: 5px; font: 400 12px/1.5 var(--alem-sans); }
.alem-comment-emojis:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border: 1px solid var(--alem-rule); }
.alem-comment-emojis button { min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 23px; }
.alem-comment-emojis button:is(:hover,:focus-visible) { background: var(--alem-accent-soft); outline: 2px solid var(--alem-accent); }
.alem-comment-toolbar button { min-width: 44px; min-height: 44px; }

.alem-comment-form .alem-comment-identity { display: flex; align-items: center; gap: 12px; }
.alem-comment-form .alem-comment-identity .alem-comment-identity-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; object-fit: cover; margin: 0; }
.alem-comment-identity-text { min-width: 0; overflow-wrap: anywhere; }

/* Sign-out remains secondary, with a visible link treatment. */
.alem-comment-form .alem-comment-identity small a {
  color: var(--alem-accent, #067378);
  font-weight: 500;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  background: none;
  cursor: pointer;
}
.alem-comment-form .alem-comment-identity small a:is(:hover, :focus-visible) {
  color: var(--alem-accent-active);
  background: var(--alem-accent-soft);
  text-decoration: none;
}
.alem-comment-form .alem-comment-identity small a::after { content: none; }
.alem-comment-form .alem-comment-identity small a:focus-visible {
  outline: 2px solid var(--alem-accent, #067378);
  outline-offset: 3px;
}

/* Keep the conversation heading below the visible WordPress toolbar. */
.alem-comments-panel { top: var(--alem-comments-top, 0px); }
.alem-comments-drawer-header { flex-shrink: 0; padding-top: max(38px, env(safe-area-inset-top, 0px)); }
.alem-comments-drawer-body { min-height: 0; }
@media (max-width: 780px) {
  .alem-comments-drawer-header { padding-top: max(30px, env(safe-area-inset-top, 0px)); }
}

.alem-comment-editor { min-height: 190px; padding: 16px; background: var(--alem-campo, #fffdfa); border: 1px solid var(--alem-rule); font: 400 17px/1.6 var(--alem-body); overflow-wrap: anywhere; }
.alem-comment-editor:focus { outline: 2px solid var(--alem-accent); outline-offset: 2px; }
.alem-comment-editor p { margin: 0 0 12px; }
.alem-comment-editor blockquote { margin: 12px 0; padding: 10px 16px; border-left: 3px solid var(--alem-accent); background: var(--alem-paper-deep); font: inherit; }
.alem-comment-editor blockquote::before { content: none; }
.alem-comment-error { display: block; color: var(--alem-accent, #067378); font: 500 14px/1.5 var(--alem-sans); margin-top: 8px; }
.alem-comment-error[hidden], .alem-comment-form textarea[hidden] { display: none; }

@keyframes alem-comment-highlight {
  0%, 25% { background-color: var(--alem-accent-pale); }
  100% { background-color: transparent; }
}
.alem-comment-card.alem-comment-highlight { animation: alem-comment-highlight 3s ease-out; }
.alem-comment-card:focus { outline: none; }
.alem-comment-card:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .alem-comment-card.alem-comment-highlight { animation: none; background-color: var(--alem-accent-pale); }
}

.alem-comment-toolbar { flex-wrap: wrap; align-items: center; }
.alem-comment-toolbar .alem-comment-clear-format { font: 500 12px/1.3 var(--alem-sans); width: auto; height: auto; padding: 8px; }

/* Compact quotations inside comments: prevent article pullquote styles from leaking into the drawer. */
.alem-comments-panel .alem-comment-content blockquote,
.alem-comments-panel .alem-comment-content blockquote:is(p,div) {
  position: static;
  margin: 14px 0;
  padding: 13px 16px 13px 18px;
  border: 0;
  border-left: 4px solid var(--alem-accent, #067378);
  background: var(--alem-paper-deep);
  color: var(--alem-ink);
  font: 400 0.94em/1.55 var(--alem-body);
  font-style: normal;
  letter-spacing: normal;
}
.alem-comments-panel .alem-comment-content blockquote::before,
.alem-comments-panel .alem-comment-content blockquote::after { content: none; }
.alem-comments-panel .alem-comment-content blockquote strong { font-weight: 700; color: var(--alem-accent, #067378); }
.alem-comments-panel .alem-comment-editor blockquote {
  position: static;
  margin: 12px 0;
  padding: 12px 16px;
  border: 0;
  border-left: 4px solid var(--alem-accent, #067378);
  background: var(--alem-paper-deep);
  font: inherit;
  font-style: normal;
}
.alem-comments-panel .alem-comment-editor blockquote::before,
.alem-comments-panel .alem-comment-editor blockquote::after { content: none; }

/* Publication-author comments receive a restrained editorial distinction. */
.alem-comment-author-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.alem-comment-author-badge { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid var(--alem-accent, #067378); color: var(--alem-accent, #067378); font: 700 10px/1 var(--alem-sans); letter-spacing: .11em; text-transform: uppercase; }
.alem-comment-list .alem-comment-by-author > .alem-comment-card { margin-inline: -10px; padding: 18px 10px 20px; background: var(--alem-accent-pale, #dcefed); border-left: 4px solid var(--alem-accent, #067378); }
.alem-comment-list .alem-comment-by-author .alem-comment-content,
.alem-comment-list .alem-comment-by-author .alem-comment-actions,
.alem-comment-list .alem-comment-by-author .alem-comment-votes { position: relative; }
@media (max-width: 780px) {
  .alem-comment-list .alem-comment-by-author > .alem-comment-card { margin-inline: -8px; padding-inline: 8px; }
  .alem-comment-author-badge { font-size: 9px; }
}

/* Tighten only the native WordPress heading-to-identity gap. */
.alem-comments-panel #respond { margin: 0; }
.alem-comments-panel #respond > .comment-reply-title { margin: 0 0 10px; font: 600 30px/1.1 var(--alem-display); }
.alem-comments-panel #respond > .comment-form { margin-top: 0; }
.alem-comments-panel #respond .alem-comment-identity { margin: 8px 0 18px; }
@media (max-width: 680px) {
  .alem-comments-panel #respond > .comment-reply-title { margin-bottom: 8px; }
  .alem-comments-panel #respond .alem-comment-identity { margin-top: 6px; margin-bottom: 16px; }
}

/* Publication layout: official subtitle belongs to the central column above the image. */
body.single .alem-editoria-opening { padding-bottom: clamp(24px, 3vw, 40px); }
body.single .alem-article-content > .alem-publication-dek {
  max-width: none;
  margin: 0 0 25px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--alem-rule);
  font: 600 clamp(20px, 2.15vw, 28px)/1.3 var(--alem-display);
  letter-spacing: -.012em;
}
body.single .alem-article-content .wp-block-post-content > p:first-child,
body.single .alem-article-content > p:first-child {
  font: 400 19px/1.72 var(--alem-body);
  letter-spacing: normal;
}
/* Blockquote is a highlighted passage; quotation marks remain literal text when supplied. */
body.single .alem-article-content blockquote {
  position: relative;
  margin: 48px 0;
  padding: 25px 28px;
  border: 1px solid var(--alem-rule);
  border-left: 4px solid var(--alem-accent, #067378);
  background: var(--alem-paper-deep);
  font: 500 clamp(22px, 2.5vw, 31px)/1.3 var(--alem-display);
  font-style: normal;
  letter-spacing: -.012em;
}
body.single .alem-article-content blockquote::before,
body.single .alem-article-content blockquote::after { content: none; }
/* Give the community rules and reply heading a clear hierarchy. */
.alem-comments-panel #respond { margin: 38px 0 0 !important; }
.alem-comments-panel #respond > .comment-reply-title { margin: 0 0 14px !important; padding: 0 !important; }
.alem-comments-panel #respond > .comment-form { margin-top: 0 !important; }
.alem-comments-panel #respond .alem-comment-identity { margin-top: 0 !important; margin-bottom: 18px !important; }
@media (max-width: 680px) {
  body.single .alem-article-content > .alem-publication-dek { margin-bottom: 21px; padding-bottom: 18px; font-size: 21px; }
  body.single .alem-article-content blockquote { margin: 36px 0; padding: 19px 18px; font-size: 23px; line-height: 1.38; }
  .alem-comments-panel #respond { margin-top: 30px !important; }
}

/* Final article hierarchy: stronger central subtitle, tighter three-column opening, text-only highlights. */
body.single .alem-article-layout { padding-top: clamp(20px, 2.5vw, 32px); }
body.single .alem-article-content > .alem-publication-dek {
  margin-bottom: 24px;
  padding-bottom: 23px;
  color: var(--alem-ink);
  font: 600 clamp(24px, 2.55vw, 33px)/1.25 var(--alem-display);
  letter-spacing: -.018em;
}
body.single .alem-article-content blockquote {
  margin: 46px 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--alem-accent, #067378);
  font: 700 clamp(23px, 2.55vw, 32px)/1.28 var(--alem-display);
  font-style: normal;
  letter-spacing: -.014em;
}
body.single .alem-article-content blockquote::before,
body.single .alem-article-content blockquote::after { content: none; }
body.single .alem-article-content blockquote strong,
body.single .alem-article-content blockquote cite { color: inherit; }
@media (max-width: 680px) {
  body.single .alem-article-layout { padding-top: 18px; }
  body.single .alem-article-content > .alem-publication-dek { margin-bottom: 20px; padding-bottom: 18px; font-size: 25px; }
  body.single .alem-article-content blockquote { margin: 35px 0; padding: 8px 0; font-size: 24px; line-height: 1.34; }
}

/* Final editorial tuning. */
body.single .alem-article-layout { padding-top: 0; }
body.single .alem-article-content > .alem-publication-dek {
  max-width: 31ch;
  margin: 0 0 25px;
  padding: 0 0 23px;
  font-family: var(--alem-display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
body.single .alem-article-content blockquote {
  margin: 46px clamp(22px, 5vw, 64px);
  padding: 22px 0;
  border: 0;
  border-block: 1px solid var(--alem-rule);
  background: transparent;
  color: var(--alem-ink);
  font-family: var(--alem-display);
  font-size: clamp(23px, 2.45vw, 31px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.014em;
}
body.single .alem-article-content blockquote::before,
body.single .alem-article-content blockquote::after { content: none; }
body.single .alem-article-content > .alem-core-credits,
body.single .alem-article-content > .alem-core-sources { margin-top: 18px !important; margin-bottom: 24px !important; }
body.single .alem-article-content .alem-comments-trigger-wrap { margin-top: 24px; }
@media (max-width: 680px) {
  body.single .alem-article-content > .alem-publication-dek { max-width: none; margin-bottom: 20px; padding-bottom: 18px; font-size: 28px; }
  body.single .alem-article-content blockquote { margin: 35px 18px; padding: 17px 0; font-size: 24px; }
  body.single .alem-article-content > .alem-core-credits,
  body.single .alem-article-content > .alem-core-sources { margin-top: 12px !important; margin-bottom: 20px !important; }
}

/* Correct the hierarchy: the official subtitle spans the central column; editorial highlights are visibly inset. */
body.single .alem-article-content > .alem-publication-dek {
  width: 100%;
  max-width: none !important;
  margin: 0 0 25px;
  padding: 0 0 23px;
  font-size: clamp(24px, 2.55vw, 33px);
  line-height: 1.27;
}
body.single .alem-article-content .wp-block-post-content > blockquote,
body.single .alem-article-content > blockquote {
  width: auto;
  max-width: none;
  margin: 46px clamp(56px, 7vw, 84px) !important;
  padding: 22px 0;
  border: 0;
  border-block: 1px solid var(--alem-ink);
  background: transparent;
  color: var(--alem-ink);
  font: 700 clamp(23px, 2.45vw, 31px)/1.28 var(--alem-display);
  letter-spacing: -.014em;
}
body.single .alem-article-content .wp-block-post-content > .wp-block-pullquote {
  width: auto;
  margin: 46px clamp(56px, 7vw, 84px) !important;
  padding: 22px 0;
  border: 0;
  border-block: 1px solid var(--alem-ink);
  background: transparent;
}
body.single .alem-article-content .wp-block-post-content > .wp-block-pullquote > blockquote {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--alem-ink);
  font: 700 clamp(23px, 2.45vw, 31px)/1.28 var(--alem-display);
  letter-spacing: -.014em;
}
@media (max-width: 680px) {
  body.single .alem-article-content > .alem-publication-dek { margin-bottom: 20px; padding-bottom: 18px; font-size: 28px; }
  body.single .alem-article-content .wp-block-post-content > blockquote,
  body.single .alem-article-content > blockquote,
  body.single .alem-article-content .wp-block-post-content > .wp-block-pullquote { margin: 35px 22px !important; padding: 17px 0; }
  body.single .alem-article-content .wp-block-post-content > .wp-block-pullquote > blockquote { margin: 0 !important; padding: 0; }
}

/* Bring the publication closer to the navigation without removing the editorial pause. */
body.single .alem-article-hero { padding-top: clamp(36px, 4vw, 52px); }
@media (max-width: 680px) {
  body.single .alem-article-hero { padding-top: 32px; }
}

/* Make the deck read as an editorial standfirst, not as another body paragraph. */
body.single .alem-article-content > .alem-publication-dek {
  font-family: var(--alem-display) !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -.022em !important;
  color: var(--alem-ink) !important;
}

/* The opening paragraph receives the newspaper-style drop cap automatically. */
body.single .alem-article-content .wp-block-post-content > p:first-of-type::first-letter {
  float: left;
  margin: .055em .12em 0 0;
  color: var(--alem-accent);
  font-family: var(--alem-display);
  font-size: 4.8em;
  font-weight: 600;
  line-height: .72;
}
@media (max-width: 680px) {
  body.single .alem-article-content > .alem-publication-dek {
    font-size: 29px !important;
    line-height: 1.2 !important;
  }
  body.single .alem-article-content .wp-block-post-content > p:first-of-type::first-letter {
    font-size: 4.2em;
  }
}

/* Slightly temper the standfirst so it supports the headline instead of competing with it. */
body.single .alem-article-content > .alem-publication-dek {
  font-size: clamp(25px, 2.5vw, 32px) !important;
}
@media (max-width: 680px) {
  body.single .alem-article-content > .alem-publication-dek { font-size: 26px !important; }
}

/* Video publications use the same chapter index as regular articles. H2
 * headings are collected by theme.js; timestamp chapters remain below it. */
body.single .alem-video-article-toc {
  position: static;
  top: auto;
  margin: 0 0 clamp(30px, 4vw, 46px);
  padding: 0;
  border: 0;
  font: 500 12px/1.45 var(--alem-sans);
  color: var(--alem-muted);
}
body.single .alem-video-article-toc > .alem-core-overline { margin: 0 0 8px; }
body.single .alem-video-article-toc > strong { display: block; margin-bottom: 12px; color: var(--alem-ink); text-transform: uppercase; letter-spacing: .08em; }
body.single .alem-core-video-layout > .alem-article-index > .alem-core-chapters {
  margin-top: clamp(26px, 3.5vw, 42px);
  padding-top: 22px;
  border-top: 1px solid var(--alem-rule);
}

/* Give the video breathing room after the editorial subtitle and before the
 * opening text. Empty subtitle blocks are omitted by the core renderer. */
body.single .alem-video-hero .alem-publication-dek {
  margin-top: clamp(22px, 3vw, 36px);
  margin-bottom: clamp(24px, 3.2vw, 42px);
}
body.single .alem-core-video-stage + .alem-core-video-layout {
  padding-top: clamp(34px, 5vw, 64px) !important;
}
@media (max-width: 680px) {
  body.single .alem-video-article-toc { margin-bottom: 28px; }
  body.single .alem-video-hero .alem-publication-dek { margin-top: 20px; margin-bottom: 28px; }
  body.single .alem-core-video-stage + .alem-core-video-layout { padding-top: 30px !important; }
}

/* Keep chapter labels visually clear of the active right-hand rule. */
body.single .alem-article-index li { padding-right: 18px; }
body.single .alem-article-index li a { display: block; padding-right: 2px; }

/* Final palette bridge: outrank WordPress global styles generated from the
 * old theme palette. The accent is intentionally controlled only above. */
html:root {
  --wp--preset--color--accent: var(--alem-accent) !important;
  --wp--preset--color--accent-hover: var(--alem-accent-hover) !important;
  --wp--preset--color--accent-active: var(--alem-accent-active) !important;
}
.has-accent-color,
.has-accent-color:hover,
.has-accent-color:focus,
.has-accent-color:active { color: var(--alem-accent) !important; }
.has-accent-background-color { background-color: var(--alem-accent) !important; }

/* Dark opening inspired by the new front-page direction. */
:root { --alem-night-text: var(--alem-paper, #f6f3ee); }
body { padding-top: 104px; }
.alem-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9000;
  background: var(--alem-paper);
  color: var(--alem-ink);
  transition: background-color .45s ease, color .45s ease, border-color .45s ease;
}
.alem-masthead {
  min-height: 62px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: clamp(18px, 3vw, 42px);
}
.alem-brand-lockup { flex: 0 0 clamp(118px, 12vw, 175px); margin: 0 !important; }
.alem-brand-logo { display: block; line-height: 0; }
.alem-brand-logo img { display: none; }
.alem-brand-logo { width: 100%; aspect-ratio: 2365 / 573; background: url("assets/images/alem-logo-dark-v7.png") center / contain no-repeat; }
.alem-brand-logo-light { display: none; }
.alem-primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
}
.alem-primary-nav .wp-block-navigation__container { gap: 0; }
.alem-primary-nav .wp-block-navigation__responsive-container-open { display: block !important; color: inherit; }
.alem-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
.alem-primary-nav .wp-block-navigation-item__content { padding: 10px 9px; font-size: 11px; }
.alem-header-socials {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font: 600 11px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.alem-header-socials a { color: inherit; }
body.home:not(.alem-header-light) .alem-site-header {
  background: var(--alem-night);
  color: var(--alem-night-text);
  border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 22%, transparent);
}
body.home:not(.alem-header-light) .alem-topline { border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 22%, transparent); }
body.home:not(.alem-header-light) .alem-topline-left p,
body.home:not(.alem-header-light) .alem-topline-actions a,
body.home:not(.alem-header-light) .alem-header-socials a { color: var(--alem-night-text) !important; }
body.home:not(.alem-header-light) .alem-brand-logo-dark { display: none; }
body.home:not(.alem-header-light) .alem-brand-logo { background-image: url("assets/images/alem-logo-light-v7.png"); }
body.home:not(.alem-header-light) .alem-primary-nav .wp-block-navigation-item__content { color: var(--alem-night-text); }
body.home:not(.alem-header-light) .alem-primary-nav .wp-block-navigation-item__content::after { background: var(--alem-night-text); }
body.home:not(.alem-header-light) .alem-topline-actions a { background-image: none !important; }
body.home .alem-core-front-hero--video {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(15px, calc((100vw - 1320px) / 2));
  background: var(--alem-night);
  color: var(--alem-night-text);
  border: 0 !important;
}
body.home .alem-core-front-hero--video .alem-core-front-hero-grid,
body.home .alem-core-front-hero--video .alem-core-front-hero-media {
  border: 0 !important;
}
body.home .alem-core-front-hero--video .alem-kicker { color: var(--alem-accent-on-dark); }
body.home .alem-core-front-hero--video .alem-dek { color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 78%, transparent); }
body.home .alem-core-front-hero--video .alem-meta { color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 62%, transparent); }
body.home .alem-core-front-hero--video .alem-story-link { background: transparent; }
body.home .alem-core-front-hero--video .alem-highlight-link { color: var(--alem-night-text); }
body.home .alem-core-front-hero--video .alem-lead-label { color: var(--alem-night-text); }
body.home.alem-header-light .alem-site-header .alem-topline-actions a,
body.home.alem-header-light .alem-site-header .alem-header-socials a { color: var(--alem-accent) !important; }
@media (max-width: 780px) {
  body { padding-top: 114px; }
  .alem-masthead { min-height: 72px; gap: 14px; }
  .alem-brand-lockup { flex-basis: 112px; }
  .alem-primary-nav { flex: 0 0 auto; order: 3; }
  .alem-primary-nav > .wp-block-navigation__responsive-container-open { display: block !important; padding: 10px 0; color: inherit; }
  .alem-primary-nav > .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .alem-header-socials { display: none; }
  body.home .alem-core-front-hero--video { padding-inline: 15px; }
}
body.admin-bar .alem-site-header { top: 32px; }
body.admin-bar { padding-top: 136px; }

/* The saved Site Editor header may still use the previous wrapper structure. */
.alem-primary-nav > .wp-block-navigation__responsive-container-open,
.alem-primary-nav .wp-block-navigation__responsive-container-open { display: block !important; }
.alem-primary-nav > .wp-block-navigation__container,
.alem-primary-nav .wp-block-navigation__container { display: none; }
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { display: flex; }
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10001 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  overflow: auto !important;
  padding: 92px 24px 36px !important;
  background: var(--alem-paper) !important;
  color: var(--alem-ink) !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  width: min(100%, 480px) !important;
  margin: 0 auto !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100% !important; border-bottom: 1px solid var(--alem-rule) !important; }
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block !important; padding: 17px 4px !important; color: var(--alem-ink) !important; font-size: 16px !important; }
.alem-primary-nav .wp-block-navigation__responsive-container-close { position: absolute !important; top: 20px !important; right: 20px !important; color: var(--alem-ink) !important; }

/* Mobile navigation: a readable overlay instead of a compressed inline list. */
@media (max-width: 780px) {
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow-y: auto !important;
    padding: 82px 24px 34px !important;
    background: var(--alem-paper) !important;
    color: var(--alem-ink) !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: min(100%, 440px) !important;
    margin: 0 auto !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100% !important;
    border-bottom: 1px solid var(--alem-rule) !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block !important;
    width: 100% !important;
    padding: 17px 4px !important;
    color: var(--alem-ink) !important;
    font-size: 16px !important;
    letter-spacing: .14em !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 8px !important;
    border: 1px solid var(--alem-ink) !important;
    color: var(--alem-ink) !important;
    background: transparent !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container-close svg {
    width: 24px !important;
    height: 24px !important;
  }
  .alem-primary-nav .wp-block-navigation__responsive-container-open {
    color: var(--alem-ink) !important;
  }
}

/* The account links must not inherit the former terracotta hover treatment. */
body .alem-topline-actions a,
body .alem-topline-actions a:hover,
body .alem-topline-actions a:focus-visible,
body .alem-topline-actions a:active,
body .alem-topline-actions a.alem-reader-access,
body .alem-topline-actions a.alem-reader-access:hover,
body .alem-topline-actions a.alem-reader-access:focus-visible,
body .alem-topline-actions a.alem-reader-access:active {
  border: 0 !important;
  color: var(--alem-accent) !important;
  background-color: transparent !important;
  background-image: linear-gradient(var(--alem-accent-soft), var(--alem-accent-soft)) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0 100% !important;
}
body .alem-topline-actions a:hover,
body .alem-topline-actions a:focus-visible,
body .alem-topline-actions a:active,
body .alem-topline-actions a.alem-reader-access:hover,
body .alem-topline-actions a.alem-reader-access:focus-visible,
body .alem-topline-actions a.alem-reader-access:active {
  color: var(--alem-ink) !important;
  background-size: 100% 100% !important;
}

/* Compatibility with a previously saved Site Editor header template. */
.alem-brand-lockup:has(.alem-wordmark) .alem-wordmark {
  width: clamp(118px, 12vw, 175px) !important;
  aspect-ratio: 2365 / 573;
  margin: 0 !important;
  font-size: 0 !important;
  background: url("assets/images/alem-logo-dark-v7.png") center / contain no-repeat !important;
}
.alem-brand-lockup:has(.alem-wordmark) .alem-wordmark a {
  display: block;
  width: 100%;
  height: 100%;
}
body.home:not(.alem-header-light) .alem-brand-lockup:has(.alem-wordmark) .alem-wordmark {
  background-image: url("assets/images/alem-logo-light-v7.png") !important;
}
body.home:not(.alem-header-light) .alem-tagline { display: none !important; }

/* The video lead is a borderless dark panel, including when old markup is cached. */
body .alem-core-front-hero--video,
body .alem-core-front-hero--video .alem-core-front-hero-grid,
body .alem-core-front-hero--video .alem-core-front-hero-media {
  border: 0 !important;
}

/* Final masthead: one compact row, inspired by a newspaper utility bar. */
body { padding-top: 76px !important; }
.alem-site-header {
  height: 76px;
  border: 0 !important;
  box-shadow: none !important;
}
.alem-header-bar {
  width: min(calc(100% - 40px), 1440px) !important;
  min-height: 76px;
  display: flex !important;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-inline: auto !important;
  padding: 0 !important;
}
.alem-header-bar::before,
.alem-header-bar::after,
.alem-site-header::before,
.alem-site-header::after { display: none !important; }
.alem-primary-nav {
  order: 1;
  flex: 0 0 34px;
  min-width: 34px;
  border: 0 !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container-open {
  display: block !important;
  width: 34px;
  height: 34px;
  padding: 5px !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container-open svg { width: 18px; height: 18px; }
.alem-brand-lockup {
  order: 2;
  flex: 0 0 clamp(118px, 11vw, 170px) !important;
  width: clamp(118px, 11vw, 170px);
  margin: 0 !important;
}
.alem-brand-logo {
  display: block;
  width: 100%;
  aspect-ratio: 2365 / 573;
  line-height: 0;
  background: none !important;
}
.alem-brand-logo img {
  width: 100%;
  height: auto;
  display: none;
}
.alem-brand-logo-dark { display: block !important; }
.alem-brand-logo-light { display: none !important; }
.alem-header-socials {
  order: 3;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: 14px;
  margin-inline: clamp(8px, 2vw, 34px);
  color: inherit;
}
.alem-header-socials a { color: inherit !important; }
.alem-topline-actions {
  order: 4;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.8vw, 26px) !important;
  margin-left: auto;
  color: inherit;
}
.alem-topline-actions a,
.alem-topline-actions a:hover,
.alem-topline-actions a:focus-visible,
.alem-topline-actions a:active {
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
}
body.home:not(.alem-header-light) .alem-site-header {
  background: var(--alem-night) !important;
  color: var(--alem-night-text) !important;
  border-bottom-color: transparent !important;
}
body.home:not(.alem-header-light) .alem-brand-logo-dark { display: none !important; }
body.home:not(.alem-header-light) .alem-brand-logo-light { display: block !important; }
body.home.alem-header-light .alem-brand-logo-dark { display: block !important; }
body.home.alem-header-light .alem-brand-logo-light { display: none !important; }
body.home:not(.alem-header-light) .alem-topline-actions a:hover,
body.home:not(.alem-header-light) .alem-header-socials a:hover { color: var(--alem-night-text) !important; }
body.home.alem-header-light .alem-topline-actions a:hover,
body.home.alem-header-light .alem-header-socials a:hover { color: var(--alem-ink) !important; }

/* If WordPress still serves a saved copy of the former header part, flatten it
 * into the same one-row layout instead of allowing its old masthead to leak in. */
.alem-site-header:has(> .alem-topline) {
  display: flex !important;
  align-items: center;
  padding-inline: max(20px, calc((100vw - 1440px) / 2)) !important;
}
.alem-site-header:has(> .alem-topline) > .alem-topline,
.alem-site-header:has(> .alem-topline) > .alem-topline > .alem-shell,
.alem-site-header:has(> .alem-topline) > .alem-masthead {
  display: contents !important;
  min-height: 0 !important;
  border: 0 !important;
}
.alem-site-header:has(> .alem-topline) .alem-topline-left { display: none !important; }
.alem-site-header:has(> .alem-topline) .alem-brand-lockup { order: 2; }
.alem-site-header:has(> .alem-topline) .alem-primary-nav { order: 1; }
.alem-site-header:has(> .alem-topline) .alem-header-socials { order: 3; }
.alem-site-header:has(> .alem-topline) .alem-topline-actions { order: 4; }
.alem-site-header:has(> .alem-topline) .alem-masthead::before,
.alem-site-header:has(> .alem-topline) .alem-masthead::after { display: none !important; }

@media (max-width: 780px) {
  body { padding-top: 68px !important; }
  .alem-site-header { height: 68px; }
  .alem-header-bar { min-height: 68px; width: calc(100% - 28px) !important; gap: 12px; }
  .alem-primary-nav { flex-basis: 32px; min-width: 32px; }
  .alem-primary-nav .wp-block-navigation__responsive-container-open { width: 32px; height: 32px; }
  .alem-brand-lockup { flex-basis: clamp(112px, 34vw, 150px) !important; width: clamp(112px, 34vw, 150px); }
  .alem-header-socials { display: none !important; }
  .alem-topline-actions { gap: 0 !important; }
  .alem-topline-actions .alem-header-search,
  .alem-topline-actions .alem-header-newsletter { display: none !important; }
  .alem-topline-actions .alem-reader-access { font-size: 10px; letter-spacing: .06em; }
  body.admin-bar { padding-top: 68px !important; }
}
body.admin-bar { padding-top: 76px !important; }
@media (max-width: 780px) {
  body.admin-bar { padding-top: 68px !important; }
}

/* Strong bridge for a header part persisted by the WordPress Site Editor. */
.alem-site-header:has(.alem-topline) .alem-topline {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  height: 76px !important;
  min-height: 0 !important;
  border: 0 !important;
  pointer-events: none;
  z-index: 4;
}
.alem-site-header:has(.alem-topline) .alem-topline > .alem-shell {
  display: block !important;
  width: 100% !important;
  height: 76px !important;
  min-height: 0 !important;
  margin: 0 !important;
}
.alem-site-header:has(.alem-topline) .alem-topline-left { display: none !important; }
.alem-site-header:has(.alem-topline) .alem-topline-actions {
  position: absolute !important;
  top: 0 !important;
  right: max(20px, calc((100vw - 1440px) / 2)) !important;
  height: 76px !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: auto;
  z-index: 5;
}
.alem-site-header:has(.alem-topline) .alem-masthead {
  width: min(calc(100% - 40px), 1440px) !important;
  height: 76px !important;
  min-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(14px, 2vw, 30px) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  border: 0 !important;
}
.alem-site-header:has(.alem-topline) .alem-masthead::before,
.alem-site-header:has(.alem-topline) .alem-masthead::after { display: none !important; }
.alem-site-header:has(.alem-topline) .alem-masthead .alem-primary-nav {
  order: 1 !important;
  flex: 0 0 34px !important;
  margin: 0 !important;
  border: 0 !important;
}
.alem-site-header:has(.alem-topline) .alem-masthead .alem-brand-lockup {
  order: 2 !important;
  flex: 0 0 clamp(118px, 11vw, 170px) !important;
  width: clamp(118px, 11vw, 170px) !important;
  height: 42px !important;
  margin: 0 !important;
  background: url("assets/images/alem-logo-dark-v7.png") center / contain no-repeat !important;
}
.alem-site-header:has(.alem-topline) .alem-masthead .alem-brand-lockup > * { display: none !important; }
.alem-site-header:has(.alem-topline) .alem-masthead .alem-header-socials {
  order: 3 !important;
  flex: 1 1 auto !important;
  justify-content: center !important;
  margin-inline: clamp(8px, 2vw, 34px) !important;
}
.alem-site-header:has(.alem-topline) .alem-primary-nav .wp-block-navigation__container { display: none !important; }
.alem-site-header:has(.alem-topline) .alem-primary-nav .wp-block-navigation__responsive-container-open {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  padding: 5px !important;
  border: 0 !important;
  background: transparent !important;
}
body.home:not(.alem-header-light) .alem-site-header:has(.alem-topline) .alem-masthead .alem-brand-lockup {
  background-image: url("assets/images/alem-logo-light-v7.png") !important;
}
.alem-site-header:has(.alem-topline) .alem-topline-actions > p { margin: 0 !important; }

@media (max-width: 780px) {
  .alem-site-header:has(.alem-topline) .alem-topline-actions {
    right: 14px !important;
    height: 68px !important;
  }
  .alem-site-header:has(.alem-topline) .alem-masthead {
    width: calc(100% - 28px) !important;
    height: 68px !important;
    min-height: 68px !important;
    gap: 12px !important;
  }
  .alem-site-header:has(.alem-topline) .alem-masthead .alem-brand-lockup {
    flex-basis: clamp(112px, 34vw, 150px) !important;
    width: clamp(112px, 34vw, 150px) !important;
    height: 36px !important;
  }
}

/* Final polish for the utility links and the compact side menu. */
.alem-topline-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
  font-family: var(--alem-sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
}
.alem-topline-actions > p { display: contents !important; }
.alem-topline-actions a {
  display: inline-block !important;
  padding: 11px 0 !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  transition: opacity .2s ease, color .2s ease !important;
}
.alem-topline-actions a:hover,
.alem-topline-actions a:focus-visible { opacity: .64; }

.alem-core-author-stack { display: flex; align-items: center; flex: 0 0 auto; isolation: isolate; }
.alem-core-author-stack .alem-core-publication-author-portrait {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--alem-paper);
}
.alem-core-author-stack .alem-core-publication-author-portrait + .alem-core-publication-author-portrait { margin-left: -12px; }
.alem-core-author-names { margin: 0; font: 600 18px/1.3 var(--alem-display); }
.alem-core-byline .alem-core-author-names a { display: inline; font: inherit; }
.alem-core-publication-author { display: flex; min-width: 0; flex-wrap: wrap; gap: 13px; align-items: center; }
.alem-core-publication-author .alem-core-byline { min-width: 0; }
@media (max-width: 780px) {
  .alem-core-author-stack .alem-core-publication-author-portrait { width: 48px; height: 48px; flex-basis: 48px; }
  .alem-core-author-stack .alem-core-publication-author-image { width: 48px; height: 48px; }
  .alem-core-author-stack { flex-wrap: wrap; row-gap: 6px; max-width: 100%; }
  .alem-core-author-names { font-size: 17px; }
}

/* Compact publication opening below the space reserved for the fixed header. */
body.single #alem-main { margin-block-start: 0; }
body.single #alem-main > :is(.alem-editoria-opening, .alem-article-hero, .alem-video-hero, .alem-photo-hero) {
  margin-block-start: 0;
  padding-top: 8px;
}
body.single .alem-editoria-opening > .alem-kicker,
body.single .alem-editoria-opening > .wp-block-group:first-of-type {
  margin-top: 0;
}
@media (max-width: 780px) {
  body.single #alem-main > :is(.alem-editoria-opening, .alem-article-hero, .alem-video-hero, .alem-photo-hero) {
    padding-top: 6px;
  }
}

/* Editorial marker: each wrapped line gets its own hand-drawn stroke.
 * Filled by default, including in the editor and when scripts are disabled. */
mark.alem-editorial-highlight {
  color: var(--alem-ink, #111213);
  background-color: transparent;
  background-image: url("assets/images/editorial-marker.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: .02em .14em;
}
mark.alem-editorial-highlight.alem-highlight-pending {
  color: inherit;
  background-size: 0% 100%;
}
mark.alem-editorial-highlight.alem-highlight-revealed {
  background-size: 100% 100%;
  transition: background-size 1.25s cubic-bezier(.25,.1,.25,1), color .3s ease;
}
@media (prefers-reduced-motion: reduce) {
  mark.alem-editorial-highlight.alem-highlight-pending { background-size: 100% 100%; color: var(--alem-ink); }
  mark.alem-editorial-highlight.alem-highlight-revealed { transition: none; }
}
@media print {
  mark.alem-editorial-highlight.alem-highlight-pending { background-size: 100% 100%; color: var(--alem-ink); }
}

/* Publication sharing occupies the existing third article column. */
.alem-sharing-column { display: none; }
@media (min-width: 1201px) {
  .alem-sharing-column {
    display: block;
    position: sticky;
    top: 100px;
    min-width: 0;
  }
  body.admin-bar .alem-sharing-column { top: 132px; }
  .alem-core-share.alem-share-has-rail { display: none; }
  body.single .alem-sharing-column > .alem-article-rail {
    position: static;
    margin-top: 36px;
  }
}
  .alem-sharing-rail {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: var(--alem-ink);
  }
  .alem-sharing-rail > p { margin: 0 0 8px; }
  .alem-sharing-rail .alem-share-control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--alem-ink);
    cursor: pointer;
    text-decoration: none;
  }
  .alem-share-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    isolation: isolate;
  }
  .alem-share-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--alem-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
  }
  .alem-share-mark img, .alem-share-mark svg {
    grid-area: 1 / 1;
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: opacity .3s ease, color .3s ease;
  }
  .alem-share-mark .alem-share-light { opacity: 0; }
  .alem-share-label {
    position: absolute;
    right: 52px;
    padding: 7px 9px;
    background: var(--alem-paper);
    color: var(--alem-ink);
    white-space: nowrap;
    font: 600 12px/1.3 var(--alem-sans);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .alem-share-control:is(:hover, :focus-visible, .is-copied) .alem-share-mark::before { transform: scaleX(1); }
  .alem-share-control:is(:hover, :focus-visible, .is-copied) .alem-share-dark { opacity: 0; }
  .alem-share-control:is(:hover, :focus-visible, .is-copied) .alem-share-light { opacity: 1; }
  .alem-share-control:is(:hover, :focus-visible, .is-copied) .alem-share-mark { color: var(--alem-paper); }
  .alem-share-control:is(:hover, :focus-visible, .is-copied) .alem-share-label { opacity: 1; transform: translateX(0); }
  .alem-share-check { display: none; grid-area: 1 / 1; font-size: 25px; }
  .alem-share-copy.is-copied svg { opacity: 0; }
  .alem-share-copy.is-copied .alem-share-check { display: block; }
  .alem-share-control:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 3px; }
/* Keep the desktop rail aligned with the related-reading column. */
@media (min-width: 1201px) {
  .alem-sharing-column .alem-sharing-rail { align-items: flex-start; }
  .alem-sharing-column .alem-share-control {
    justify-content: flex-start;
    width: auto;
    max-width: calc(100% + 10px);
    margin-inline-start: -10px;
    isolation: isolate;
  }
  .alem-sharing-column .alem-share-control::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--alem-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
  }
  .alem-sharing-column .alem-share-mark { order: -1; }
  .alem-sharing-column .alem-share-mark::before { display: none; }
  .alem-sharing-column .alem-share-label {
    position: static;
    min-width: 0;
    max-width: 0;
    overflow: hidden;
    padding: 0;
    background: transparent;
    color: var(--alem-paper);
    transform: translateX(-6px);
    transition: max-width .3s ease, padding .3s ease, opacity .3s ease, transform .3s ease;
  }
  .alem-sharing-column .alem-share-control:is(:hover, :focus-visible, .is-copied)::before { transform: scaleX(1); }
  .alem-sharing-column .alem-share-control:is(:hover, :focus-visible, .is-copied) .alem-share-label {
    max-width: 180px;
    padding-inline: 4px 16px;
    opacity: 1;
    transform: translateX(0);
  }
}
.alem-sharing-inline {
  position: relative;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.alem-sharing-inline > p { flex-basis: 100%; margin: 0 0 4px; }
.alem-sharing-inline .alem-share-label { display: none; }
.alem-sharing-inline .alem-share-copy.is-copied .alem-share-label {
  display: block;
  top: calc(100% + 4px);
  right: 0;
}
.alem-sharing-mobile { margin-top: 16px; }
.alem-core-share.alem-share-has-rail { display: none; }
.alem-sharing-end {
  width: min(calc(100% - 48px), 1320px);
  margin: 32px auto;
  padding-block: 16px;
}
.alem-article-content > .alem-sharing-end {
  width: 100%;
  max-width: none;
  margin: 24px 0;
}
@media (min-width: 1201px) { .alem-sharing-mobile { display: none; } }
@media (hover: none) {
  .alem-share-control:hover:not(:focus-visible):not(.is-copied) .alem-share-mark::before { transform: scaleX(0); }
  .alem-share-control:hover:not(:focus-visible):not(.is-copied) .alem-share-dark { opacity: 1; }
  .alem-share-control:hover:not(:focus-visible):not(.is-copied) .alem-share-light { opacity: 0; }
  .alem-share-control:hover:not(:focus-visible):not(.is-copied) .alem-share-mark { color: var(--alem-ink); }
  .alem-share-control:active .alem-share-mark::before { transform: scaleX(1) !important; }
  .alem-share-control:active .alem-share-dark { opacity: 0 !important; }
  .alem-share-control:active .alem-share-light { opacity: 1 !important; }
  .alem-share-control:active .alem-share-mark { color: var(--alem-paper) !important; }
}
@media print { .alem-sharing-column, .alem-sharing-inline { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .alem-share-mark::before, .alem-share-mark img, .alem-share-label { transition: none; }
  .alem-sharing-column .alem-share-control::before,
  .alem-sharing-column .alem-share-label { transition: none; }
}

/* Expandable header search. The link remains the trigger so the control
 * degrades to the regular search URL when JavaScript is unavailable. */
.alem-header-search-form {
  display: flex;
  align-items: center;
  width: 0;
  max-width: 0;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width .52s cubic-bezier(.22,.61,.36,1), max-width .52s cubic-bezier(.22,.61,.36,1), opacity .25s ease;
}
.alem-header-search-form input {
  width: clamp(170px, 15vw, 250px);
  min-width: 170px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 600 11px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: none;
  color-scheme: light;
  outline-offset: 3px;
}
.alem-header-search-form input::-webkit-search-cancel-button {
  opacity: .9;
}
body.home:not(.alem-header-light) .alem-header-search-form input {
  color-scheme: dark;
}
.alem-header-search-form input::placeholder { color: currentColor; opacity: .68; }
.alem-header-search-form input:focus {
  outline: 1px solid currentColor;
  outline-offset: -2px;
  box-shadow: none;
}
.alem-header-search-form button {
  height: 38px;
  margin-left: 6px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: var(--alem-accent);
  color: var(--alem-paper);
  border-color: var(--alem-accent);
  cursor: pointer;
  font: 600 11px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.alem-header-search-form button:hover,
.alem-header-search-form button:focus-visible {
  background: var(--alem-accent-hover);
  color: var(--alem-paper);
  border-color: var(--alem-accent-hover);
}
.alem-topline-actions.alem-search-open .alem-header-search {
  width: 0 !important;
  max-width: 0 !important;
  margin: 0 !important;
  padding-inline: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}
.alem-topline-actions.alem-search-open .alem-header-search-form {
  width: clamp(270px, 22vw, 340px);
  max-width: clamp(270px, 22vw, 340px);
  opacity: 1;
}

/* The light strip was the space above the lead section left by the former
 * masthead. The dark lead now meets the fixed header directly. */
body.home .alem-core-front-hero--video {
  margin-top: -42px !important;
}

/* Open navigation as a narrow drawer, while leaving the page visible beside it. */
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed !important;
  inset: 76px auto 0 0 !important;
  width: min(360px, 88vw) !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  overflow-y: auto !important;
  padding: 76px 28px 30px !important;
  background: var(--alem-paper) !important;
  color: var(--alem-ink) !important;
  box-shadow: 18px 0 40px color-mix(in srgb, var(--alem-preto, #000000) 18%, transparent) !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: 0 !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100% !important;
  border-bottom: 1px solid var(--alem-rule) !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  display: block !important;
  width: 100% !important;
  padding: 16px 0 !important;
  color: inherit !important;
  font-family: var(--alem-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  top: 20px !important;
  right: 22px !important;
  width: 36px !important;
  height: 36px !important;
  padding: 7px !important;
  border: 1px solid currentColor !important;
  background: transparent !important;
}
body.home:not(.alem-header-light) .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--alem-night) !important;
  color: var(--alem-night-text) !important;
}
body.home:not(.alem-header-light) .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 22%, transparent) !important;
}
@media (max-width: 780px) {
  body.home .alem-core-front-hero--video { margin-top: -42px !important; }
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    inset: 68px auto 0 0 !important;
    width: min(330px, 88vw) !important;
    padding: 64px 24px 26px !important;
  }
  .alem-topline-actions { gap: 0 !important; }
  .alem-topline-actions a { font-size: 10px !important; letter-spacing: .07em !important; }
}

/* Use one consistent hover treatment for all three utility links. */
.alem-topline-actions a,
.alem-topline-actions a:hover,
.alem-topline-actions a:focus-visible,
.alem-topline-actions a:active {
  color: inherit !important;
  background-color: transparent !important;
  background-image: linear-gradient(currentColor, currentColor) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0 1px !important;
  opacity: 1 !important;
}
.alem-topline-actions a:hover,
.alem-topline-actions a:focus-visible { background-size: 100% 1px !important; }
body.home:not(.alem-header-light) .alem-topline-actions a:hover,
body.home:not(.alem-header-light) .alem-topline-actions a:focus-visible { color: var(--alem-night-text) !important; }
body.home.alem-header-light .alem-topline-actions a:hover,
body.home.alem-header-light .alem-topline-actions a:focus-visible { color: var(--alem-ink) !important; }

/* Keep the drawer completely below the fixed header and above the page. */
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
  inset: 76px auto 0 0 !important;
  z-index: 8990 !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  z-index: 2 !important;
}
.alem-primary-nav .wp-block-navigation__responsive-container-open {
  position: relative !important;
  z-index: 9001 !important;
}
@media (max-width: 780px) {
  .alem-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    inset: 68px auto 0 0 !important;
  }
}

/* No structural rule between the dark header and the dark lead. */
body.home .alem-site-header,
body.home .alem-core-front-hero,
body.home .alem-core-front-hero--video,
body.home .alem-core-front-hero--video .alem-core-front-hero-grid {
  border: 0 !important;
  border-top: 0 !important;
}

/* WordPress adds its toolbar offset before the document flow. Pull the
 * fixed-header front-page lead back up by that extra desktop offset. */
@media (min-width: 781px) {
  body.home.admin-bar .alem-core-front-hero--video {
    margin-top: -32px !important;
  }
}

/* Remove the legacy filled marker from every utility link. */
.alem-site-header .alem-topline-actions a,
.alem-site-header .alem-topline-actions a:hover,
.alem-site-header .alem-topline-actions a:focus,
.alem-site-header .alem-topline-actions a:focus-visible,
.alem-site-header .alem-topline-actions a:active {
  background: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  box-shadow: none !important;
  color: inherit !important;
  text-decoration: none !important;
}
.alem-site-header .alem-topline-actions a:hover,
.alem-site-header .alem-topline-actions a:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px !important;
  text-decoration-color: currentColor !important;
}

/* Custom drawer used instead of the native WordPress navigation overlay. */
.alem-primary-nav { position: relative !important; }
.alem-menu-toggle {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 7px 5px !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  cursor: pointer;
}
.alem-menu-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 1px; background: currentColor; }
.alem-custom-menu-panel {
  position: fixed;
  inset: 76px auto 0 0;
  z-index: 8990;
  width: min(360px, 88vw);
  overflow-y: auto;
  padding: 76px 28px 30px;
  background: var(--alem-paper);
  color: var(--alem-ink);
  box-shadow: 18px 0 40px color-mix(in srgb, var(--alem-preto, #000000) 18%, transparent);
}
.alem-custom-menu-panel[hidden] { display: none !important; }
.alem-custom-menu-panel nav { display: flex; flex-direction: column; }
.alem-custom-menu-panel a {
  display: block;
  position: relative;
  padding: 12px 0;
  border-bottom: 0;
  color: inherit;
  font: 700 19px/1.15 var(--alem-display);
  letter-spacing: 0;
  text-decoration: none;
}
.alem-custom-menu-panel a:hover,
.alem-custom-menu-panel a:focus-visible { text-decoration: none; }
body.home:not(.alem-header-light) .alem-custom-menu-panel { background: var(--alem-night); color: var(--alem-night-text); }
@media (max-width: 780px) {
  .alem-custom-menu-panel { inset: 68px auto 0 0; width: min(330px, 88vw); padding: 64px 24px 26px; }
}

/* Final utility-link treatment: no filled background, only a drawn underline. */
.alem-site-header .alem-topline-actions a,
.alem-site-header .alem-topline-actions a:hover,
.alem-site-header .alem-topline-actions a:focus,
.alem-site-header .alem-topline-actions a:focus-visible,
.alem-site-header .alem-topline-actions a:active,
.alem-site-header .alem-topline-actions .alem-reader-access {
  position: relative !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit !important;
  text-decoration: none !important;
}
.alem-site-header .alem-topline-actions a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 4px !important;
  left: 0 !important;
  width: auto !important;
  height: 1px !important;
  margin: 0 !important;
  background: currentColor !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform .28s ease !important;
}
.alem-site-header .alem-topline-actions a:hover::after,
.alem-site-header .alem-topline-actions a:focus-visible::after {
  transform: scaleX(1) !important;
}

/* Keep the panel visually below the complete logo/header area. */
.alem-custom-menu-panel { inset: 90px auto 0 0 !important; }
.alem-brand-logo { width: clamp(120px, 11vw, 170px) !important; max-width: 170px !important; }
.alem-brand-logo img { width: 100% !important; max-width: 170px !important; max-height: 42px !important; object-fit: contain !important; }
.alem-custom-menu-panel a {
  position: relative;
  text-decoration: none !important;
}
.alem-custom-menu-panel a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.alem-custom-menu-panel a:hover::after,
.alem-custom-menu-panel a:focus-visible::after { transform: scaleX(1); }
@media (max-width: 780px) {
  .alem-custom-menu-panel a {
    padding: 12px 0;
    font-size: 18px;
  }
  .alem-custom-menu-panel { inset: 80px auto 0 0 !important; }
  .alem-brand-logo { width: clamp(112px, 34vw, 150px) !important; max-width: 150px !important; }
  .alem-brand-logo img { max-width: 150px !important; max-height: 36px !important; }
}

/* Utility links: light text at rest on the dark opening; dark text only after
 * the beige hover fill has completed. */
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a:focus-visible {
  color: var(--alem-night-text) !important;
  background-image: linear-gradient(var(--alem-paper), var(--alem-paper)) !important;
  background-size: 0 100% !important;
}
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a:hover {
  color: var(--alem-night) !important;
  background-size: 100% 100% !important;
}
/* Final override for the support-band header, after all legacy palette rules. */
body.home.alem-support-band-active .alem-site-header { background: var(--alem-accent) !important; color: var(--alem-paper) !important; border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 28%, transparent) !important; }
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a),
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a.alem-reader-access { color: var(--alem-paper) !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-dark,
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-light,
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-light { display: block !important; }
*** End of File

/* Last-word palette override for the support band under the sticky header. */
body.home.alem-support-band-active .alem-site-header {
  background: var(--alem-accent) !important;
  color: var(--alem-paper) !important;
  border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 28%, transparent) !important;
}
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a),
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a.alem-reader-access {
  color: var(--alem-paper) !important;
}
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-dark { display: none !important; }

/* Keep the pale header palette as the final override while over the cyan band. */
body.home.alem-support-band-active .alem-site-header {
  background: var(--alem-accent) !important;
  color: var(--alem-paper) !important;
  border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 28%, transparent) !important;
  transition: background-color .2s ease, color .2s ease;
}
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a),
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a.alem-reader-access {
  color: var(--alem-paper) !important;
}
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo { background-image: url("assets/images/alem-logo-light-v7.png") !important; }
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a {
  background-image: linear-gradient(color-mix(in srgb, var(--alem-paper, #f6f3ee) 16%, transparent), color-mix(in srgb, var(--alem-paper, #f6f3ee) 16%, transparent)) !important;
  background-size: 0 100% !important;
}
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a:hover,
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a:focus-visible {
  color: var(--alem-accent) !important;
  background-size: 100% 100% !important;
}

/* Carry the cyan support-band palette into the fixed home masthead. */
body.home.alem-support-band-active .alem-site-header {
  background: var(--alem-accent) !important;
  color: var(--alem-paper) !important;
  border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 28%, transparent) !important;
  transition: background-color .2s ease, color .2s ease;
}
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a) {
  color: var(--alem-paper) !important;
}
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo { background-image: url("assets/images/alem-logo-light-v7.png") !important; }
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a {
  background-image: linear-gradient(color-mix(in srgb, var(--alem-paper, #f6f3ee) 16%, transparent), color-mix(in srgb, var(--alem-paper, #f6f3ee) 16%, transparent)) !important;
  background-size: 0 100% !important;
}
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a:hover,
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a:focus-visible {
  color: var(--alem-accent) !important;
  background-size: 100% 100% !important;
}

@media (max-width: 780px) {
  /* Align the visible 24px icon with the label, preserving its 44px tap target. */
  body.single .alem-sharing-inline > p + .alem-share-control { margin-inline-start: -10px; }
  body.single .alem-article-layout:not(.alem-core-video-layout) { padding-top: 20px; margin-top: 0; }
  body.single .alem-editoria-opening { padding-bottom: 0; }
  body.single .alem-editoria-opening .alem-core-publication-meta { padding-bottom: 0; margin-bottom: 0; }
  body.single .alem-core-publication-facts > dl { padding-bottom: 14px; margin-bottom: 0; border-bottom: 1px solid var(--alem-rule); }
  body.single .alem-core-publication-facts > .alem-sharing-mobile {
    margin-top: 14px;
    margin-bottom: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--alem-rule);
  }
  body.single .alem-article-layout:not(.alem-core-video-layout) .alem-article-content > .alem-publication-dek {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  body.single .alem-article-content > .alem-featured-inline { margin-block: 0 24px; }
  body.single .alem-article-content > .alem-mobile-story-index {
    position: static;
    top: auto;
    width: 100%;
    margin: 0 0 26px;
    padding: 0 0 12px;
    border-top: 0;
    border-bottom: 1px solid var(--alem-rule);
    font: 400 14px/1.45 var(--alem-sans);
  }
  body.single .alem-mobile-story-index ol { margin-bottom: 0; }
  body.single .alem-mobile-story-index li { border-bottom: 0; }
  body.single .alem-core-publication-meta { border-bottom: 0; }
}

body.alem-navigation-disabled .alem-article-index { display: none !important; }
@media (min-width: 901px) {
  body.alem-navigation-disabled .alem-article-layout > .alem-article-content { grid-column: 2; }
}
.alem-support-column { display: none; }
@media (min-width: 1201px) {
  body.single .alem-article-layout > .alem-support-column {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 100px;
    min-width: 0;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  body.single.admin-bar .alem-support-column { top: 132px; max-height: calc(100dvh - 152px); }
  body.single .alem-support-column > .alem-article-index { position: static; margin-bottom: 30px; }
  body.single .alem-article-layout > .alem-article-content { grid-column: 2; grid-row: 1; }
  body.single .alem-article-layout > .alem-sharing-column { grid-column: 3; grid-row: 1; }
  .alem-support-invitation { position:relative; isolation:isolate; overflow:hidden; padding:24px 20px 34px; background:var(--alem-verde-faixa, #067378); color:var(--alem-paper); border:0; }
  .alem-support-invitation:before { content:""; position:absolute; z-index:0; width:230px; height:230px; right:-145px; top:-135px; border:1px solid color-mix(in srgb, var(--alem-paper, #f6f3ee) 26%, transparent); border-radius:50%; box-shadow:0 0 0 8px color-mix(in srgb, var(--alem-paper, #f6f3ee) 8%, transparent),0 0 0 16px color-mix(in srgb, var(--alem-paper, #f6f3ee) 5%, transparent),0 0 0 24px color-mix(in srgb, var(--alem-paper, #f6f3ee) 2.5%, transparent); pointer-events:none; }
  .alem-support-invitation:after { content:""; position:absolute; z-index:0; inset:auto 0 0; height:34px; background:repeating-linear-gradient(to bottom,color-mix(in srgb, var(--alem-paper, #f6f3ee) 72%, transparent) 0 1px,transparent 1px 6px); mask-image:linear-gradient(to bottom,transparent 0%,#000 45%,transparent 100%); opacity:.55; pointer-events:none; }
  .alem-support-invitation > * { position:relative; z-index:1; }
  .alem-support-kicker { margin: 0 0 18px; color:var(--alem-paper); font: 600 11px/1.4 var(--alem-sans); letter-spacing: .1em; }
  .alem-support-invitation h2 { margin: 0 0 20px; color:var(--alem-paper); font: 700 clamp(23px, 2.2vw, 32px)/1.12 var(--alem-display); letter-spacing: -.025em; }
  .alem-support-copy { margin: 0 0 18px; color:color-mix(in srgb, var(--alem-paper, #f6f3ee) 90%, transparent); font: 400 15px/1.5 var(--alem-sans); }
  .alem-support-invitation .alem-support-button { position:relative; z-index:1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 12px 14px; background:var(--alem-paper); color:var(--alem-ink); font: 700 11px/1.3 var(--alem-sans); letter-spacing: .08em; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
  .alem-support-invitation .alem-support-button:hover { background:var(--alem-branco, #ffffff); transform:translateY(-2px); }
  .alem-support-button:focus-visible { outline: 2px solid var(--alem-paper); outline-offset: 3px; }
}
@media print { .alem-support-column { display: none !important; } }
.alem-menu-socials { display: none; }
@media (max-width: 780px) {
  .alem-custom-menu-panel .alem-menu-socials { display: block; margin-top: 28px; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .alem-menu-socials-title { margin: 0 0 10px; font: 600 12px/1.4 var(--alem-sans); letter-spacing: .08em; text-transform: uppercase; }
  .alem-custom-menu-panel .alem-menu-socials nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 3px; }
  .alem-custom-menu-panel .alem-menu-socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex: 0 0 44px; border: 0; border-radius: 0; overflow: visible; }
  .alem-custom-menu-panel .alem-menu-socials a::before,
  .alem-custom-menu-panel .alem-menu-socials a::after { content: none !important; }
  .alem-custom-menu-panel .alem-menu-socials a:focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 1px; }
  .alem-menu-socials .alem-social-label { display: none; }
  .alem-menu-socials .alem-social-icon { width: 26px; height: 26px; object-fit: contain; flex: 0 0 26px; }
  .alem-menu-socials .alem-social-icon-light { display: none; }
  .alem-menu-socials .alem-social-icon-dark { display: block; }
  body.home:not(.alem-header-light) .alem-menu-socials .alem-social-icon-light { display: block; }
  body.home:not(.alem-header-light) .alem-menu-socials .alem-social-icon-dark { display: none; }
}

.alem-comment-suspension { margin: 20px 0; padding: 18px; border: 1px solid var(--alem-rule); background: var(--alem-paper-deep); font: 400 14px/1.5 var(--alem-sans); }
.alem-comments-panel .alem-comment-suspension h3 { margin: 0 0 12px; font: 700 17px/1.3 var(--alem-sans); }
.alem-comment-suspension p { font: inherit; margin: 10px 0; }
.alem-comment-suspension label { display: block; margin: 10px 0 6px; }
.alem-comment-suspension input[type="number"] { width: 100%; padding: 10px; border: 1px solid var(--alem-rule); background: var(--alem-paper); color: var(--alem-ink); font: inherit; }
.alem-comment-suspension .alem-suspension-indefinite { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.alem-suspension-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.alem-suspension-actions button { min-height: 44px; padding: 10px 12px; border: 1px solid var(--alem-ink); background: var(--alem-paper); color: var(--alem-ink); font: 600 13px/1.3 var(--alem-sans); cursor: pointer; }
.alem-suspension-actions button[type="submit"] { background: var(--alem-ink); color: var(--alem-paper); }
.alem-comment-suspension :is(input,button):focus-visible { outline: 2px solid var(--alem-accent); outline-offset: 2px; }
.alem-comment-suspension :disabled { opacity: .6; cursor: default; }
.alem-comments-panel .alem-comment-content.is-moderation-removed { color: var(--alem-muted); font-style: italic; }
.alem-comments-panel .alem-comment-actions { align-items: center; }
.alem-comments-panel .alem-comment-actions .alem-comment-permalink { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; }
.alem-comment-permalink svg { display: block; }
.alem-comment-permalink.is-copied svg { display: none; }
.alem-comment-permalink.is-copied::before { content: "✓"; font-size: 20px; }

/* One typographic family and a compact hierarchy throughout the conversation. */
.alem-comments-panel { font-family: var(--alem-sans); }
.alem-comments-panel .alem-comment-author { font: 700 16px/1.3 var(--alem-sans); }
.alem-comments-panel .alem-comment-meta time { font: 400 12px/1.45 var(--alem-sans); }
.alem-comments-panel .alem-comment-content,
.alem-comments-panel .alem-comment-editor,
.alem-comments-panel .alem-comment-form :is(textarea, input:not([type="submit"])) {
  font: 400 15px/1.6 var(--alem-sans);
  letter-spacing: normal;
}
.alem-comments-panel :is(.alem-comment-content, .alem-comment-editor) :is(p, ul, ol, li, blockquote) {
  font-family: var(--alem-sans);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
}
.alem-comments-panel .alem-comment-form .alem-comment-identity { font: 400 14px/1.5 var(--alem-sans); }
.alem-comments-panel .alem-comment-form label { display: block; margin-bottom: 8px; font: 600 14px/1.4 var(--alem-sans); }
.alem-comments-panel .alem-comment-form .comment-reply-title { font: 700 20px/1.3 var(--alem-sans); letter-spacing: normal; }
.alem-comments-panel .alem-comment-form input[type="submit"] { font: 600 12px/1.3 var(--alem-sans); letter-spacing: .04em; }
.alem-comments-panel .alem-comment-toolbar button { font-family: var(--alem-sans); }

/* Editorial portraits stay quiet until the reader interacts with their author. */
:is(.alem-core-publication-author-image, .alem-core-front-columnist-image,
    .alem-core-front-column-piece-portrait, .alem-core-journalist-image,
    .alem-core-author-image, .alem-column-hero .wp-block-avatar img) {
  filter: grayscale(1);
  transition: filter 450ms ease;
}
:is(.alem-core-publication-author-image, .alem-core-front-columnist-image,
    .alem-core-front-column-piece-portrait, .alem-core-journalist-image,
    .alem-core-author-image, .alem-column-hero .wp-block-avatar img):hover,
.alem-core-publication-author-portrait:is(:hover, :focus-visible, .is-author-active) img,
.alem-core-front-columnist:is(:hover, :focus-visible) img,
.alem-core-front-column-piece-image:is(:hover, :focus-visible) img,
.alem-core-journalist:has(h2 a:is(:hover, :focus-visible)) .alem-core-journalist-image,
.alem-core-author-profile:has(h1:is(:hover, :focus-within)) .alem-core-author-image,
.alem-column-hero:has(.wp-block-post-author-name:is(:hover, :focus-within)) .wp-block-avatar img {
  filter: grayscale(0);
}
@media (prefers-reduced-motion: reduce) {
  :is(.alem-core-publication-author-image, .alem-core-front-columnist-image,
      .alem-core-front-column-piece-portrait, .alem-core-journalist-image,
      .alem-core-author-image, .alem-column-hero .wp-block-avatar img) { transition: none; }
}

/* Mobile lead alignment and animated custom drawer. The former negative
 * offset pulled the lead underneath the fixed header and clipped its kicker. */
@media (max-width: 780px) {
  /* The mobile masthead occupies two visual bands in the saved header part. */
  body { padding-top: 112px !important; }
  .alem-site-header,
  .alem-header-bar,
  .alem-site-header:has(.alem-topline) .alem-masthead {
    height: 112px !important;
    min-height: 112px !important;
  }
  .alem-core-front-hero--video {
    margin-top: 0 !important;
    padding-top: 28px !important;
  }
  .alem-custom-menu-panel {
    inset: 112px auto 0 0 !important;
    width: min(330px, 88vw) !important;
    padding: 32px 24px 26px !important;
    transform: translateX(-104%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform .56s cubic-bezier(.22,.61,.36,1), opacity .4s ease, visibility 0s linear .56s !important;
  }
  .alem-custom-menu-panel.is-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition-delay: 0s !important;
  }
}

/* Keep the mobile drawer animated even when the device reports reduced
 * motion; this interaction is the requested navigation feedback. */
@media (max-width: 780px) {
  .alem-custom-menu-panel {
    transition: transform .72s cubic-bezier(.22,.61,.36,1), opacity .5s ease, visibility 0s linear .72s !important;
  }
  .alem-custom-menu-panel.is-open {
    transition-delay: 0s !important;
  }
}

/* Desktop video feature: give the entire hero a centered newspaper measure.
 * The mobile composition intentionally keeps its existing full-width treatment. */
@media (min-width: 781px) {
  .alem-core-front-hero--video {
    margin-top: 0 !important;
    padding-inline: clamp(48px, 8vw, 160px) !important;
  }
  .alem-core-front-hero--video .alem-lead-label,
  .alem-core-front-hero--video .alem-core-front-hero-media {
    margin-inline: clamp(22px, 4vw, 72px) !important;
  }
  .alem-core-front-hero--video .alem-core-front-hero-media {
    width: calc(100% - clamp(44px, 8vw, 144px)) !important;
  }
  .alem-core-front-hero--video .alem-dek {
    font-size: clamp(15px, 1.15vw, 18px) !important;
    line-height: 1.5 !important;
  }
}

/* Small social marks in the center of the masthead. */
.alem-header-socials {
  gap: 13px !important;
}
.alem-header-socials a {
  display: inline-flex !important;
  width: auto !important;
  max-width: 31px !important;
  height: 23px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .36s cubic-bezier(.22,.61,.36,1), background-color .2s ease, color .2s ease !important;
}
.alem-header-socials .alem-social-icon {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
  flex: 0 0 23px;
}
.alem-header-socials .alem-social-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  font: 600 10px/1 var(--alem-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: max-width .36s ease, opacity .2s ease;
}
.alem-header-socials a:is(:hover, :focus-visible) {
  max-width: 155px !important;
}
.alem-header-socials a:is(:hover, :focus-visible) .alem-social-label {
  max-width: 100px;
  opacity: 1;
}
.alem-header-socials .alem-social-icon-dark { display: none; }
body.home.alem-header-light .alem-header-socials .alem-social-icon-light { display: none; }
body.home.alem-header-light .alem-header-socials .alem-social-icon-dark { display: block; }
@media (max-width: 780px) {
  .alem-header-socials { display: none !important; }
}

.alem-custom-menu-panel[aria-hidden="true"] {
  pointer-events: none !important;
}
.alem-custom-menu-panel[aria-hidden="false"] {
  pointer-events: auto !important;
}

/* Dim the page beneath the drawer, leaving the menu itself fully readable. */
body.alem-menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8985;
  background: color-mix(in srgb, var(--alem-preto, #000000) 58%, transparent);
  opacity: 1;
  pointer-events: auto;
  transition: opacity .95s cubic-bezier(.22,.61,.36,1);
}
body:not(.alem-menu-open)::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity .95s cubic-bezier(.22,.61,.36,1);
}
.alem-custom-menu-panel { z-index: 8990 !important; }

@media (min-width: 781px) {
  .alem-custom-menu-panel {
    transform: translateX(-104%);
    opacity: 0;
    visibility: hidden;
    transition: transform .72s cubic-bezier(.22,.61,.36,1), opacity .5s ease, visibility 0s linear .72s;
  }
  .alem-custom-menu-panel.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alem-custom-menu-panel { transition: none !important; }
}

/* The account link is injected asynchronously by alem-core; target both its
 * class and data attribute so it receives the same dark-state treatment. */
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions .alem-reader-access,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions [data-alem-reader-access] {
  color: var(--alem-night-text) !important;
  background-color: transparent !important;
  background-image: linear-gradient(var(--alem-paper), var(--alem-paper)) !important;
  background-position: 0 0 !important;
  background-size: 0 100% !important;
}
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions .alem-reader-access:hover,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions .alem-reader-access:focus-visible,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions [data-alem-reader-access]:hover,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions [data-alem-reader-access]:focus-visible {
  color: var(--alem-night) !important;
  background-size: 100% 100% !important;
}
body.home.alem-header-light .alem-site-header .alem-topline-actions a {
  color: var(--alem-accent) !important;
}
body.home.alem-header-light .alem-site-header .alem-topline-actions a:hover,
body.home.alem-header-light .alem-site-header .alem-topline-actions a:focus-visible {
  color: var(--alem-ink) !important;
  background-size: 100% 100% !important;
}

/* Intentional rectangular hover: beige over the dark opening, blue over paper. */
.alem-site-header .alem-topline-actions a,
.alem-site-header .alem-topline-actions a:hover,
.alem-site-header .alem-topline-actions a:focus-visible {
  padding-inline: 10px !important;
  background-color: transparent !important;
  background-image: linear-gradient(var(--alem-accent-soft), var(--alem-accent-soft)) !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
  background-size: 0 100% !important;
  color: var(--alem-ink) !important;
  text-decoration: none !important;
  transition: background-size .28s ease, color .18s ease !important;
}
.alem-site-header .alem-topline-actions a:hover,
.alem-site-header .alem-topline-actions a:focus-visible {
  background-size: 100% 100% !important;
}
.alem-site-header .alem-topline-actions a::after { display: none !important; }
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a:hover,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a:focus-visible {
  color: var(--alem-night) !important;
  background-image: linear-gradient(var(--alem-paper), var(--alem-paper)) !important;
}

/* Final cascade: visible beige links at rest, black text only on activation. */
/* Home support: authentic eclipse, restrained film grain and diminishing scanlines. */
.alem-home-support { position: relative; isolation: isolate; margin: 0 !important; padding: 0 0 50px; color: var(--alem-paper); background: var(--alem-paper); }
.alem-home-support::before,
.alem-home-support::after { content: ""; position: absolute; inset: 0 0 50px; z-index: -1; pointer-events: none; }
.alem-home-support::before { background: var(--alem-verde-faixa, #067378); }
.alem-home-support::after { background: url("assets/images/support-film-grain.jpg") center / 900px auto repeat; mix-blend-mode: screen; opacity: .075; }
.alem-home-support-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 170px; padding-block: 44px 32px; overflow: clip; }
.alem-home-support-inner::before { content: ""; position: absolute; top: 50%; right: 3%; width: 450px; height: 450px; transform: translateY(-50%); background: url("assets/images/alem-eclipse.svg") center / contain no-repeat; filter: invert(1); opacity: .12; pointer-events: none; z-index: -1; }
.alem-home-support h2 { margin: 0 0 8px; font: 600 clamp(23px, 2.4vw, 34px)/1.16 var(--alem-display); letter-spacing: -.02em; }
.alem-home-support p { margin: 0; font: 400 16px/1.5 var(--alem-sans); }
.alem-home-support-inner > a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 14px 0; color: inherit; font: 600 12px/1.4 var(--alem-sans); letter-spacing: .12em; text-decoration: none; }
.alem-home-support-inner > a span { margin-left: 10px; font-size: 23px; transition: transform .2s ease; }
.alem-home-support-inner > a:hover span { transform: translateX(4px); }
.alem-home-support-inner > a:focus-visible { outline: 2px solid var(--alem-paper); outline-offset: 4px; }
.alem-home-support-lines { position: absolute; inset: auto 0 0; height: 50px; background: linear-gradient(to bottom, var(--alem-accent) 0 7px, transparent 7px 10px, var(--alem-accent) 10px 16px, transparent 16px 20px, var(--alem-accent) 20px 24px, transparent 24px 29px, var(--alem-accent) 29px 32px, transparent 32px 38px, var(--alem-accent) 38px 40px, transparent 40px 47px, var(--alem-accent) 47px 48px, transparent 48px); }
/* Shared link hierarchy: topics are optional and visually quieter. */
body .alem-kicker a { display: inline; padding: 0; margin: 0; border: 0; background: none; color: inherit; text-decoration: none; line-height: 1.6; }
body .alem-kicker a + a { margin-left: 9px; }
body .alem-kicker .alem-kicker-type { color: var(--alem-muted); }
body .alem-kicker .alem-kicker-topic { color: var(--alem-muted); opacity: .72; }
body .alem-kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
body .alem-kicker a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body.home .alem-core-front-hero--video .alem-kicker :is(.alem-kicker-type, .alem-kicker-topic) { color: var(--alem-night-text); }
body .alem-core-related-rail .alem-related-item { padding: 14px 0; border-top: 1px solid var(--alem-rule); }
body .alem-core-related-rail .alem-related-item small { display: block; margin-bottom: 8px; }
body.single .alem-core-related-rail .alem-kicker a { display: inline; padding: 0; border: 0; }
body .alem-core-related-rail .alem-related-title { display: block; padding: 0; border: 0; font: 600 18px/1.2 var(--alem-display); }
body .alem-core-front-edition-briefs > .alem-front-brief { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--alem-rule); }
.alem-front-brief time { color: var(--alem-accent); font: 600 10px/1.5 var(--alem-sans); }
.alem-front-brief .alem-kicker { display: block; margin: 0 0 6px; font-size: 10px; }
body .alem-front-brief > span > a { display: inline; padding: 0; border: 0; font: 600 17px/1.3 var(--alem-display); }
@media (max-width: 1200px) {
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation { position:relative; isolation:isolate; overflow:hidden; margin:32px 0; padding:30px 24px 42px; background:var(--alem-verde-faixa, #067378); color:var(--alem-paper); }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation:before { content:""; position:absolute; z-index:0; width:320px; height:320px; right:-210px; top:-220px; border:1px solid color-mix(in srgb, var(--alem-paper, #f6f3ee) 25%, transparent); border-radius:50%; box-shadow:0 0 0 9px color-mix(in srgb, var(--alem-paper, #f6f3ee) 7.5%, transparent),0 0 0 18px color-mix(in srgb, var(--alem-paper, #f6f3ee) 4.5%, transparent),0 0 0 27px color-mix(in srgb, var(--alem-paper, #f6f3ee) 2.5%, transparent); pointer-events:none; }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation:after { content:""; position:absolute; z-index:0; inset:auto 0 0; height:42px; background:repeating-linear-gradient(to bottom,color-mix(in srgb, var(--alem-paper, #f6f3ee) 72%, transparent) 0 1px,transparent 1px 7px); mask-image:linear-gradient(to bottom,transparent 0%,#000 45%,transparent 100%); opacity:.55; pointer-events:none; }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation > * { position:relative; z-index:1; }
  :is(.alem-article-content, .alem-photo-content) > .alem-core-credits + .alem-support-invitation { margin-top: 24px; }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation .alem-support-kicker { margin: 0 0 14px; color:var(--alem-paper); font: 600 11px/1.4 var(--alem-sans); letter-spacing: .1em; }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation h2 { margin: 0 0 18px; color:var(--alem-paper); font: 700 30px/1.12 var(--alem-display); letter-spacing: -.025em; }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation .alem-support-copy { margin: 0 0 16px; color:color-mix(in srgb, var(--alem-paper, #f6f3ee) 90%, transparent); font: 400 15px/1.5 var(--alem-sans); }
  :is(.alem-article-content, .alem-photo-content) > .alem-support-invitation .alem-support-button { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 12px 16px; background:var(--alem-paper); color:var(--alem-ink); font: 700 12px/1.3 var(--alem-sans); letter-spacing: .08em; text-decoration: none; }
}
@media (max-width: 780px) {
  .alem-home-support-inner { display: block; min-height: 0; padding-block: 34px 20px; }
  .alem-home-support-inner::before { width: 360px; height: 360px; right: -130px; opacity: .09; }
  .alem-home-support-inner > a { margin-top: 8px; }
  .alem-home-support p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .alem-home-support-inner > a span { transition: none; } }
@media print { .alem-home-support, .alem-support-invitation { display: none !important; } }

/* Compact mobile masthead while preserving comfortable touch targets. */
@media (max-width: 780px) {
  body { padding-top: 68px !important; }
  body.admin-bar { padding-top: 68px !important; }
  .alem-site-header { height: 68px !important; min-height:68px !important; }
  .alem-header-bar { height:68px !important; min-height: 68px !important; }
  .alem-site-header:has(.alem-topline) .alem-topline-actions { height: 68px !important; }
  .alem-site-header:has(.alem-topline) .alem-masthead,
  .alem-site-header:has(.alem-topline) .alem-masthead > * { height:68px !important; min-height: 68px !important; }
  .alem-site-header:has(.alem-topline) .alem-masthead .alem-brand-lockup { height: 36px !important; }
  body.single #alem-main > :is(.alem-editoria-opening, .alem-article-hero, .alem-video-hero, .alem-photo-hero) { padding-top: 18px !important; }
  body.single .alem-editoria-opening > .alem-publication-kicker { display:block !important; visibility:visible !important; opacity:1 !important; margin:0 0 14px !important; }
  .alem-site-header .alem-brand-lockup { flex-basis:clamp(100px,29vw,132px) !important; width:clamp(100px,29vw,132px) !important; }
  .alem-site-header .alem-brand-logo { width:100% !important; max-width:132px !important; }
  .alem-site-header .alem-brand-logo img { max-width:132px !important; }
}

body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a,
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a:focus-visible {
  color: var(--alem-night-text) !important;
  background-image: linear-gradient(var(--alem-paper), var(--alem-paper)) !important;
  background-size: 0 100% !important;
}
body.home:not(.alem-header-light) .alem-site-header .alem-topline-actions a:hover {
  color: var(--alem-night) !important;
  background-size: 100% 100% !important;
}
/* Final support-band palette override, after every legacy header rule. */
body.home.alem-support-band-active .alem-site-header { background: var(--alem-accent) !important; color: var(--alem-paper) !important; }
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.home.alem-support-band-active .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a),
body.home.alem-support-band-active .alem-site-header .alem-topline-actions a.alem-reader-access { color: var(--alem-paper) !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-dark,
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-dark { display: none !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo-light,
body.home.alem-support-band-active .alem-site-header .alem-header-socials .alem-social-icon-light { display: block !important; }
body.home.alem-support-band-active .alem-site-header .alem-brand-logo { background-image: url("assets/images/alem-logo-light-v7.png") !important; }

/* Full-bleed video chapter, while keeping its editorial content on the grid. */
body.home { overflow-x: clip; }
body.home .alem-core-front-videos.alem-core-front-dark {
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: clamp(54px, 6vw, 84px) max(24px, calc((100vw - 1320px) / 2)) clamp(62px, 7vw, 96px);
  background: var(--alem-night, #111213);
  color: var(--alem-paper, #f6f3ee);
}
body.home .alem-site-header {
  transition: background-color .48s ease, color .48s ease, border-color .48s ease;
}
body.home.alem-video-band-active .alem-site-header {
  background: var(--alem-night, #111213) !important;
  color: var(--alem-paper, #f6f3ee) !important;
  border-bottom-color: transparent !important;
}
body.home.alem-video-band-active .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.home.alem-video-band-active .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a) {
  color: var(--alem-paper, #f6f3ee) !important;
}
body.home.alem-video-band-active .alem-site-header .alem-brand-logo-dark,
body.home.alem-video-band-active .alem-site-header .alem-header-socials .alem-social-icon-dark { display: none !important; }
body.home.alem-video-band-active .alem-site-header .alem-brand-logo-light,
body.home.alem-video-band-active .alem-site-header .alem-header-socials .alem-social-icon-light { display: block !important; }
body.home.alem-video-band-active .alem-site-header .alem-brand-logo { background-image: url("assets/images/alem-logo-light-v7.png") !important; }

@media (max-width: 760px) {
  body.home .alem-core-front-videos.alem-core-front-dark {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 48px 18px 58px;
  }
}

/* Align the mobile drawer with the compact masthead and soften touch feedback. */
@media (max-width: 780px) {
  .alem-custom-menu-panel { top: 68px !important; }
  body.admin-bar .alem-custom-menu-panel { top: 100px !important; }
  :is(a, button, summary, [role="button"]) { -webkit-tap-highlight-color: transparent; }
  :is(a, button, summary, [role="button"]):active { opacity: .72; transition: opacity .16s ease; }
}

/* A shared, paper-like card language across editorial and promotional modules. */
:root {
  --alem-card-shadow: 0 2px 8px color-mix(in srgb, var(--alem-ink, #111213) 9%, transparent), 0 1px 2px color-mix(in srgb, var(--alem-ink, #111213) 5%, transparent);
  --alem-card-shadow-raised: 0 8px 22px color-mix(in srgb, var(--alem-ink, #111213) 14%, transparent), 0 2px 5px color-mix(in srgb, var(--alem-ink, #111213) 7%, transparent);
}

body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card) {
  position: relative;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--alem-rule, #b8afa1) 68%, transparent);
  padding: clamp(16px, 2vw, 24px);
  background-color: var(--alem-paper, #f6f3ee);
  box-shadow: var(--alem-card-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.alem-core-front-cards,
.alem-query-grid .wp-block-post-template,
.alem-front-grid,
.alem-column-grid,
.alem-video-grid { counter-reset: alem-editorial-card; }

body :is(.alem-core-front-cards, .alem-query-grid .wp-block-post-template, .alem-front-grid, .alem-column-grid, .alem-video-grid) { gap: 18px; }

body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card) {
  counter-increment: alem-editorial-card;
}

body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card)::before {
  content: counter(alem-editorial-card, decimal-leading-zero);
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 14px;
  min-width: 22px;
  padding: 3px 4px 4px;
  border-bottom: 1px solid var(--alem-accent, #067378);
  background: var(--alem-paper, #f6f3ee);
  color: var(--alem-accent, #067378);
  font: 700 10px/1.2 var(--alem-sans, Arial, sans-serif);
  letter-spacing: .08em;
  text-align: center;
}

body .alem-core-front-dark .alem-core-front-card,
body .alem-core-front-dark .alem-core-front-card::before,
body .alem-video-band .alem-video-card,
body .alem-video-band .alem-video-card::before {
  border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 24%, transparent);
  background-color: var(--alem-ink, #111213);
  color: var(--alem-tela-8ccfd0, #8ccfd0);
}

body .alem-core-front-dark .alem-core-front-card,
body .alem-video-band .alem-video-card { color: var(--alem-paper, #f6f3ee); }

body .alem-core-front-dark .alem-core-front-card,
body .alem-video-band .alem-video-card { box-shadow: 0 3px 12px color-mix(in srgb, var(--alem-preto, #000000) 22%, transparent); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card):hover,
  body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card):focus-within {
    z-index: 2;
    border-color: color-mix(in srgb, var(--alem-accent, #067378) 42%, transparent);
    box-shadow: var(--alem-card-shadow-raised);
    transform: translateY(-2px);
  }
}

@media (max-width: 780px) {
  body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card) {
    padding: 16px;
    box-shadow: 0 2px 7px color-mix(in srgb, var(--alem-ink, #111213) 8%, transparent);
  }
  body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card):hover,
  body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card):focus-within { transform: none; }
}

/* Homepage: let typography and spacing lead; cards surface only on hover/focus. */
body.home :is(.alem-core-front-stories, .alem-core-front-columns, .alem-core-front-videos, .alem-core-front-photos, .alem-core-cover-cluster) {
  box-sizing: border-box;
  padding-inline: clamp(10px, 1.6vw, 22px);
}

body.home .alem-core-front-section { margin-block-start: clamp(72px, 8vw, 116px) !important; }
body.home .alem-core-front-heading {
  min-height: 0;
  padding-block: 0 22px;
  border: 0;
  grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) auto;
}
body.home .alem-core-front-heading .alem-eyebrow { margin-top: 0; }
body.home .alem-core-front-heading h2 { margin: 0; }
body.home .alem-core-front-heading > p:last-child { margin: 0 0 4px; }

body.home .alem-core-front-rule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  column-gap: clamp(18px, 2.4vw, 36px);
  row-gap: 8px;
  padding: 0 0 22px;
  border: 0;
}
body.home .alem-core-front-rule h2 {
  align-self: end;
  font: 700 clamp(22px, 1.55vw, 28px)/1.15 var(--alem-sans, Arial, sans-serif) !important;
  letter-spacing: .01em;
  text-transform: none !important;
}
body.home .alem-core-front-rule-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .045em;
  text-align: right;
}
body.home .alem-core-front-rule-meta time { color: var(--alem-ink, #111213); }
body.home .alem-core-front-rule > a {
  align-self: end;
  padding: 0 0 3px;
  color: var(--alem-accent, #067378);
  font: 600 14px/1.3 var(--alem-sans, sans-serif);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-underline-offset: 4px;
}
body.home .alem-core-front-rule > a:hover,
body.home .alem-core-front-rule > a:focus-visible { text-decoration: underline; }
body.home .alem-core-front-edition {
  grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-top: 12px;
  border: 0;
}
body.home .alem-core-front-edition-news { gap: clamp(24px, 3vw, 40px); padding-right: 0; border: 0; }
body.home .alem-core-front-edition-main { padding-right: 0; border-right: 0; }
body.home .alem-core-front-edition-secondary {
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: 26px;
  border: 0;
}
body.home .alem-core-front-edition-secondary .alem-core-front-card { padding-block: 16px; }
body.home .alem-core-front-edition-agenda { padding-bottom: 0; }
body.home .alem-core-front-edition-agenda > h3 { border: 0; padding-bottom: 8px; }
body.home .alem-core-front-edition-agenda .alem-front-brief { margin-top: 16px; }
body.home .alem-core-front-edition-agenda a { padding-block: 8px; border: 0; }

body.home .alem-core-front-cards { border: 0; gap: clamp(12px, 1.6vw, 22px); }
body.home :is(.alem-core-front-card, .alem-core-front-edition-main, .alem-core-cover-cluster-lead, .alem-core-front-column-piece) {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: clamp(14px, 1.5vw, 22px);
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
body.home .alem-core-front-card::before { pointer-events: none; }
body.home :is(.alem-core-front-card h3, .alem-core-front-edition-main h2, .alem-core-cover-cluster-lead h1, .alem-core-front-column-piece h3) {
  position: relative;
  z-index: 2;
}
body.home :is(.alem-core-front-edition-secondary, .alem-core-front-videos, .alem-core-front-photos) .alem-core-front-card,
body.home .alem-core-front-columns .alem-core-front-column-piece { align-self: start; }

body.home .alem-core-front-edition-briefs > .alem-front-brief {
  display: block;
  padding: 15px 0;
}
body.home .alem-core-front-edition-briefs > .alem-front-brief > span {
  display: block;
  width: 100%;
  min-width: 0;
}
body.home .alem-core-front-edition-briefs .alem-front-brief > span > a {
  display: block;
  width: 100%;
  padding: 0;
  font: 600 17px/1.3 var(--alem-display, Georgia, serif);
}
body.home .alem-core-front-edition-secondary .alem-core-front-card {
  margin: 0 0 8px;
  padding: 16px clamp(14px, 1.5vw, 22px);
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}
body.home .alem-core-front-edition-secondary .alem-core-front-card:is(:first-child, :nth-child(3)) {
  margin: 0 0 8px;
  padding: 16px clamp(14px, 1.5vw, 22px);
  border: 1px solid transparent;
}
body.home .alem-core-front-edition-secondary .alem-core-front-card:last-child { margin-bottom: 0; }
@media (hover: hover) {
  body.home .alem-core-front-edition-main:is(:hover, :focus-within),
  body.home .alem-core-front-edition-secondary .alem-core-front-card:is(:hover, :focus-within),
  body.home .alem-core-front-cards > .alem-core-front-card:is(:hover, :focus-within),
  body.home .alem-core-front-columns .alem-core-front-column-piece:is(:hover, :focus-within),
  body.home .alem-core-cover-cluster-lead:is(:hover, :focus-within),
  body.home .alem-core-cover-cluster-support .alem-core-front-card:is(:hover, :focus-within) {
    z-index: 4;
    border-color: color-mix(in srgb, var(--alem-rule, #b8afa1) 72%, transparent);
    background: var(--alem-paper, #f6f3ee);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--alem-ink, #111213) 12%, transparent), 0 2px 5px color-mix(in srgb, var(--alem-ink, #111213) 6%, transparent);
    transform: translateY(-2px);
  }
}
body.home .alem-core-cover-cluster-support .alem-core-front-card { border: 1px solid transparent; }
@media (prefers-reduced-motion: reduce) {
  body.home :is(.alem-core-front-edition-main, .alem-core-front-card, .alem-core-front-column-piece, .alem-core-cover-cluster-lead) { transition: none; }
}

/* Keep the dark "Mais vídeos" shelf legible while its cards are highlighted. */
body.home .alem-core-front-videos.alem-core-front-dark .alem-kicker .alem-kicker-type,
body.home .alem-core-front-videos.alem-core-front-dark .alem-kicker .alem-kicker-topic {
  color: var(--alem-paper, #f6f3ee) !important;
  opacity: .86;
}
@media (hover: hover) {
body.home .alem-core-front-videos.alem-core-front-dark .alem-core-front-card:is(:hover, :focus-within) {
    z-index: 5;
    border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 42%, transparent);
    background: color-mix(in srgb, var(--alem-paper, #f6f3ee) 4.5%, transparent);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--alem-preto, #000000) 24%, transparent);
    transform: translateY(-3px);
  }
}

/* Draw footer link underlines in the link's own color on hover/focus. */
.alem-footer-grid > :not(:first-child) a,
.alem-footer-bottom a {
  position: relative;
  text-decoration: none !important;
}
.alem-footer-grid > :not(:first-child) a::after,
.alem-footer-bottom a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
  pointer-events: none;
}
.alem-footer-grid > :not(:first-child) a:is(:hover, :focus-visible)::after,
.alem-footer-bottom a:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
.alem-footer-grid > :not(:first-child) a::after,
.alem-footer-bottom a::after { transition: none; }
}

/* The homepage YouTube iframe replaces the poster; keep it inside the full 16:9 frame. */
body.home .alem-core-front-hero--video [data-alem-front-video].is-playing > iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  aspect-ratio: 16 / 9 !important;
}

/* Restore the intended first-page hierarchy: lead + 2x2 story grid, then a horizontal agenda. */
body.home .alem-core-front-rule {
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--alem-rule, #b8afa1);
}
body.home .alem-core-front-edition {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: 8px;
  border: 0;
}
body.home .alem-core-front-edition-news {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: start;
  gap: clamp(20px, 2.4vw, 38px);
  min-width: 0;
  padding: 20px 0 0;
  border: 0;
}
body.home .alem-core-front-edition-main {
  min-width: 0;
  padding: 0 clamp(18px, 2vw, 32px) 28px 0;
  border: 0;
}
body.home .alem-core-front-edition-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  gap: clamp(12px, 1.5vw, 24px);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
body.home .alem-core-front-edition-secondary .alem-core-front-card,
body.home .alem-core-front-edition-secondary .alem-core-front-card:is(:first-child, :nth-child(3)) {
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 1.2vw, 18px);
}
body.home .alem-core-front-edition-secondary .alem-core-front-card:first-child .alem-core-card-image,
body.home .alem-core-front-edition-secondary .alem-core-front-card:first-child .alem-core-front-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: clamp(12px, 1.3vw, 18px);
}
body.home .alem-core-front-edition-secondary .alem-core-front-card:nth-child(n + 2) :is(.alem-core-card-image, .alem-core-front-card-image) {
  display: none;
}
body.home .alem-core-front-edition-secondary .alem-core-front-card h3 {
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.08;
}
body.home .alem-core-front-edition-agenda {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(0, 3.2fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 6px;
  min-width: 0;
  margin-top: clamp(26px, 3.5vw, 52px);
  padding: clamp(20px, 2.2vw, 32px) 0 0;
  border-top: 4px double var(--alem-ink, #111213);
}
body.home .alem-core-front-edition-agenda > .alem-eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
body.home .alem-core-front-edition-agenda > h3 {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.1;
}
body.home .alem-core-front-edition-briefs {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 28px);
  min-width: 0;
  margin: 0;
}
body.home .alem-core-front-edition-briefs > .alem-front-brief {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 clamp(12px, 1.2vw, 18px);
  border: 0;
  border-left: 1px solid var(--alem-rule, #b8afa1);
}
body.home .alem-core-front-edition-briefs > .alem-front-brief > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: auto;
}
body.home .alem-core-front-edition-briefs .alem-front-brief > span > a {
  display: block;
  width: auto;
  padding: 0;
  font: 600 clamp(16px, 1.35vw, 21px)/1.2 var(--alem-display, Georgia, serif);
}

@media (max-width: 1100px) {
  body.home .alem-core-front-edition-news {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(14px, 2vw, 24px);
  }
  body.home .alem-core-front-edition-secondary {
    gap: 10px;
  }
  body.home .alem-core-front-edition-secondary .alem-core-front-card h3 {
    font-size: clamp(20px, 2.3vw, 27px);
  }
  body.home .alem-core-front-edition-agenda {
    grid-template-columns: minmax(140px, .7fr) minmax(0, 3.3fr);
  }
  body.home .alem-core-front-edition-briefs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}
@media (max-width: 760px) {
  body.home .alem-core-front-rule {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 12px;
  }
  body.home .alem-core-front-rule h2 { grid-column: 1 / -1; }
  body.home .alem-core-front-edition-news {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-top: 18px;
  }
  body.home .alem-core-front-edition-main { padding: 0 0 18px; }
  body.home .alem-core-front-edition-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.home .alem-core-front-edition-agenda {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 8px;
    margin-top: 26px;
  }
  body.home .alem-core-front-edition-agenda > .alem-eyebrow,
  body.home .alem-core-front-edition-agenda > h3,
  body.home .alem-core-front-edition-briefs {
    grid-column: 1;
    grid-row: auto;
  }
  body.home .alem-core-front-edition-briefs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  body.home .alem-core-front-edition-secondary,
  body.home .alem-core-front-edition-briefs { grid-template-columns: minmax(0, 1fr); }
}

/* Restore the quiet, tactile interactions used across the editorial home. */
body.home .alem-core-front-edition-main {
  padding: clamp(18px, 2vw, 30px) !important;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.home .alem-core-front-edition-main:is(:hover, :focus-within),
  body.home .alem-core-front-edition-secondary .alem-core-front-card:is(:hover, :focus-within),
  body.home .alem-core-front-cards > .alem-core-front-card:is(:hover, :focus-within),
  body.home .alem-core-front-columns .alem-core-front-column-piece:is(:hover, :focus-within),
  body.home .alem-core-cover-cluster-lead:is(:hover, :focus-within),
  body.home .alem-core-cover-cluster-support .alem-core-front-card:is(:hover, :focus-within) {
    border-color: color-mix(in srgb, var(--alem-rule, #b8afa1) 52%, transparent);
    background-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 84%, white);
    box-shadow: 0 5px 16px color-mix(in srgb, var(--alem-ink, #111213) 8.5%, transparent), 0 1px 3px color-mix(in srgb, var(--alem-ink, #111213) 4%, transparent);
    transform: translateY(-2px);
  }
}

/* Agenda, dossier, columnist and story titles share a restrained drawn underline. */
:is(body.home .alem-core-front-edition-briefs .alem-front-brief > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist strong,
    body.home .alem-core-front-column-pieces h3 a,
    body.home .alem-core-front-latest-item h3 a,
    body.home .alem-core-front-card h3 a) {
  position: relative;
  text-decoration: none !important;
}
body.home .alem-core-front-columnists .alem-core-front-columnist strong { display: inline-block; }
:is(body.home .alem-core-front-edition-briefs .alem-front-brief > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist strong,
    body.home .alem-core-front-column-pieces h3 a,
    body.home .alem-core-front-latest-item h3 a,
    body.home .alem-core-front-card h3 a)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.08em;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
  pointer-events: none;
}
:is(body.home .alem-core-front-edition-briefs .alem-front-brief:hover > span > a,
    body.home .alem-core-front-edition-briefs .alem-front-brief:focus-within > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row:hover h3,
    body.home .alem-core-front-dossiers .alem-core-dossier-row:focus-visible h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist:hover strong,
    body.home .alem-core-front-columnists .alem-core-front-columnist:focus-visible strong,
    body.home .alem-core-front-column-pieces h3 a:hover,
    body.home .alem-core-front-column-pieces h3 a:focus-visible,
    body.home .alem-core-front-latest-item h3 a:hover,
    body.home .alem-core-front-latest-item h3 a:focus-visible,
    body.home .alem-core-front-card h3 a:hover,
    body.home .alem-core-front-card h3 a:focus-visible)::after { transform: scaleX(1); }
body.home .alem-core-front-dossiers .alem-core-dossier-row,
body.home .alem-core-front-columnists .alem-core-front-columnist,
body.home .alem-core-front-edition-briefs > .alem-front-brief {
  transition: background-color .22s ease, color .22s ease;
}
@media (hover: hover) {
  body.home .alem-core-front-edition-briefs > .alem-front-brief:is(:hover, :focus-within) {
    background-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 72%, white);
  }
}

/* Desktop drawer: remove the duplicate brand lockup and style its own controls. */
@media (min-width: 781px) {
  .alem-custom-menu-panel {
    width: min(390px, 42vw) !important;
    padding: 30px clamp(24px, 2.4vw, 38px) !important;
  }
  .alem-custom-menu-panel .alem-menu-drawer-logo { display: none !important; }
  .alem-custom-menu-panel .alem-menu-drawer-header { min-height: 0; margin: 0 0 20px; }
  .alem-custom-menu-panel .alem-menu-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: 600 12px/1.2 var(--alem-sans, Arial, sans-serif);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .alem-custom-menu-panel .alem-menu-back span:first-child { font-size: 19px; transition: transform .2s ease; }
  .alem-custom-menu-panel .alem-menu-back:hover span:first-child { transform: translateX(-3px); }
  .alem-custom-menu-panel .alem-menu-search-form {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
  }
  .alem-custom-menu-panel .alem-menu-search-form input {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--alem-rule, #b8afa1);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: 400 15px/1.3 var(--alem-sans, Arial, sans-serif);
  }
  .alem-custom-menu-panel .alem-menu-search-form button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid var(--alem-accent, #067378);
    border-radius: 0;
    background: var(--alem-accent, #067378);
    color: var(--alem-paper, #f6f3ee);
    font: 700 11px/1.2 var(--alem-sans, Arial, sans-serif);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
  }
  .alem-custom-menu-panel .alem-menu-search-form button:hover,
  .alem-custom-menu-panel .alem-menu-search-form button:focus-visible {
    background: transparent;
    color: var(--alem-accent, #067378);
  }
  .alem-custom-menu-panel nav[aria-label="Menu principal"] { gap: 2px; }
  .alem-custom-menu-panel nav[aria-label="Menu principal"] a {
    padding: 10px 0;
    font: 600 clamp(20px, 1.7vw, 25px)/1.12 var(--alem-display, Georgia, serif);
  }
}
.alem-custom-menu-panel .alem-menu-search-form input:focus-visible,
.alem-custom-menu-panel .alem-menu-search-form button:focus-visible,
.alem-custom-menu-panel .alem-menu-back:focus-visible {
  outline: 2px solid var(--alem-accent, #067378);
  outline-offset: 3px;
}

/* Latest-publication pagination: editorial controls and directional page reveal. */
body.home .alem-core-front-latest-controls,
body.home .alem-latest-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
body.home :is(.alem-latest-more, .alem-latest-prev, .alem-latest-archive) {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--alem-rule, #b8afa1);
  border-radius: 0;
  background: transparent;
  color: var(--alem-ink, #111213);
  font: 600 11px/1.2 var(--alem-sans, Arial, sans-serif);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
body.home :is(.alem-latest-more, .alem-latest-prev, .alem-latest-archive):hover,
body.home :is(.alem-latest-more, .alem-latest-prev, .alem-latest-archive):focus-visible {
  border-color: var(--alem-accent, #067378);
  background: color-mix(in srgb, var(--alem-paper, #f6f3ee) 72%, white);
  color: var(--alem-accent, #067378);
  transform: translateY(-1px);
}
body.home :is(.alem-latest-more, .alem-latest-prev):disabled { opacity: .45; cursor: not-allowed; }
body.home .alem-latest-page[hidden] { display: none !important; }
body.home :is(.alem-latest-more, .alem-latest-prev, .alem-latest-archive)[hidden] { display: none !important; }
body.home .alem-latest-page.is-entering-forward { animation: alem-latest-enter-forward .42s cubic-bezier(.2,.7,.2,1) both; }
body.home .alem-latest-page.is-entering-back { animation: alem-latest-enter-back .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes alem-latest-enter-forward {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes alem-latest-enter-back {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.home :is(.alem-core-front-edition-main, .alem-core-front-card, .alem-core-front-column-piece, .alem-core-front-dossiers .alem-core-dossier-row, .alem-core-front-columnists .alem-core-front-columnist, .alem-front-brief, .alem-latest-more, .alem-latest-prev, .alem-latest-archive),
  body.home :is(.alem-core-front-edition-briefs .alem-front-brief > span > a, .alem-core-front-dossiers .alem-core-dossier-row h3, .alem-core-front-columnists .alem-core-front-columnist strong)::after {
    transition: none !important;
  }
  body.home .alem-latest-page.is-entering-forward,
  body.home .alem-latest-page.is-entering-back { animation: none !important; }
}

/* Keep click feedback intentional; navigation should not flash or fade generically. */
body.home :is(.alem-primary-nav .wp-block-navigation-item__content, .alem-custom-menu-panel nav a):active {
  opacity: 1 !important;
  background-color: transparent;
  transition: color .2s ease, background-color .2s ease;
}

/* Subtle paper lift is shared by editorial cards outside the front page too. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body :is(.alem-core-front-card, .alem-query-grid .wp-block-post, .alem-main-story, .alem-secondary-story, .alem-column-card, .alem-video-card, .alem-layout-card, .alem-module-card):is(:hover, :focus-within) {
    border-color: color-mix(in srgb, var(--alem-rule, #b8afa1) 52%, transparent) !important;
    background-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 84%, white) !important;
    box-shadow: 0 5px 16px color-mix(in srgb, var(--alem-ink, #111213) 8.5%, transparent), 0 1px 3px color-mix(in srgb, var(--alem-ink, #111213) 4%, transparent) !important;
    transform: translateY(-2px);
  }
  body .alem-core-front-dark .alem-core-front-card:is(:hover, :focus-within),
  body .alem-core-front-videos.alem-core-front-dark .alem-core-front-card:is(:hover, :focus-within) {
    border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 38%, transparent) !important;
    background-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 4.5%, transparent) !important;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--alem-preto, #000000) 20%, transparent) !important;
    transform: translateY(-2px);
  }
}

/* Video article masthead swaps palette as soon as its dark hero/player leave the viewport. */
body.single-alem_video .alem-site-header {
  background: var(--alem-night, #111213) !important;
  color: var(--alem-paper, #f6f3ee) !important;
  border-bottom-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 22%, transparent) !important;
}
body.single-alem_video .alem-site-header :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.single-alem_video .alem-site-header :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a) {
  color: var(--alem-paper, #f6f3ee) !important;
}
body.single-alem_video .alem-site-header .alem-brand-logo-light { display: block !important; }
body.single-alem_video .alem-site-header .alem-brand-logo-dark { display: none !important; }
body.single-alem_video .alem-site-header.is-on-light {
  background: var(--alem-paper, #f6f3ee) !important;
  color: var(--alem-ink, #111213) !important;
  border-bottom-color: var(--alem-rule, #b8afa1) !important;
}
body.single-alem_video .alem-site-header.is-on-light :is(.alem-primary-nav, .alem-menu-toggle, .alem-brand-lockup, .alem-topline-actions, .alem-header-socials),
body.single-alem_video .alem-site-header.is-on-light :is(.alem-primary-nav a, .alem-menu-toggle, .alem-topline-actions a, .alem-header-socials a) {
  color: var(--alem-ink, #111213) !important;
}
body.single-alem_video .alem-site-header.is-on-light .alem-brand-logo-light { display: none !important; }
body.single-alem_video .alem-site-header.is-on-light .alem-brand-logo-dark { display: block !important; }

/* Video publication: keep the signature block seamless with the dark cover. */
body.single-alem_video .alem-video-hero > .alem-core-publication-meta { border-top: 0 !important; }

/* Mobile video posts: the cover ends with the player; the signature returns to paper. */
@media (max-width: 780px) {
  /* Extend the cover upward beneath the fixed masthead; keep its copy in place. */
  body.single-alem_video #alem-main > .alem-video-hero {
    margin-top: -32px !important;
    padding-top: 64px !important;
  }
  body.single-alem_video .alem-video-hero {
    grid-template-areas: "series" "kicker" "title" "dek" "stage" "note" "related" !important;
  }
  body.single-alem_video .alem-video-hero > .alem-core-video-stage {
    grid-area: stage;
    box-sizing: border-box;
    width: calc(100% + 36px);
    margin: 0 -18px !important;
    padding: 0 18px 26px !important;
    border: 0 !important;
    background: var(--alem-night) !important;
  }
  body.single-alem_video .alem-video-hero > .alem-core-video-stage .alem-core-video-player,
  body.single-alem_video .alem-video-hero > .alem-core-video-stage .alem-core-video-meta {
    width: 100% !important;
  }
  body.single-alem_video #alem-main > .alem-core-publication-meta {
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 18px 18px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--alem-rule) !important;
    background: var(--alem-paper) !important;
    color: var(--alem-ink) !important;
  }
  body.single-alem_video #alem-main > .alem-core-publication-meta .alem-core-publication-author-names,
  body.single-alem_video #alem-main > .alem-core-publication-meta .alem-core-publication-facts dd,
  body.single-alem_video #alem-main > .alem-core-publication-meta .alem-core-share :is(a, button) {
    color: var(--alem-ink) !important;
  }
  body.single-alem_video #alem-main > .alem-core-publication-meta .alem-core-publication-facts dt,
  body.single-alem_video #alem-main > .alem-core-publication-meta .alem-core-overline {
    color: var(--alem-accent) !important;
  }
}

/* Give the video article's sharing rail enough room for the support invitation. */
@media (min-width: 1201px) {
  body.single-alem_video .alem-core-video-layout {
    grid-template-columns: minmax(160px, .66fr) minmax(0, 760px) minmax(230px, .95fr) !important;
  }
  body.single-alem_video .alem-sharing-column > .alem-support-invitation {
    margin: 0 0 28px;
    padding: 20px 16px 30px;
  }
  body.single-alem_video .alem-sharing-column > .alem-support-invitation h2 {
    font-size: clamp(22px, 1.8vw, 27px);
  }
}

/* Related cards in the post footer stay typographic until hover/focus, clear of separators. */
body.single .alem-core-continuation .alem-core-continuation-group > h3 {
  margin-bottom: 0;
  border-bottom: 1px solid var(--alem-ink, #111213);
}
body.single .alem-core-continuation .alem-core-front-cards {
  gap: clamp(14px, 1.7vw, 24px);
  margin: 0;
  padding: clamp(12px, 1.8vw, 24px) 0;
  border: 0;
}
body.single .alem-core-continuation .alem-core-front-card {
  margin: 0;
  padding: clamp(14px, 1.5vw, 22px);
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.single .alem-core-continuation .alem-core-front-card:is(:hover, :focus-within) {
    z-index: 4;
    border-color: color-mix(in srgb, var(--alem-rule, #b8afa1) 72%, transparent) !important;
    background: var(--alem-paper, #f6f3ee) !important;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--alem-ink, #111213) 12%, transparent), 0 2px 5px color-mix(in srgb, var(--alem-ink, #111213) 6%, transparent) !important;
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single .alem-core-continuation .alem-core-front-card { transition: none; }
}

/* Agenda titles underline their own text, without creating a false card surface. */
body.home .alem-core-front-edition-briefs > .alem-front-brief,
body.home .alem-core-front-edition-briefs > .alem-front-brief:is(:hover, :focus-within) {
  background: transparent !important;
  background-color: transparent !important;
}
:is(body.home .alem-core-front-edition-briefs .alem-front-brief > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist strong,
    body.home .alem-core-front-column-pieces h3 a,
    body.home .alem-core-front-latest-item h3 a,
    body.home .alem-core-front-card h3 a) {
  text-decoration: underline !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .12em;
  text-decoration-skip-ink: auto;
  transition: text-decoration-color .24s ease !important;
}
:is(body.home .alem-core-front-edition-briefs .alem-front-brief:hover > span > a,
    body.home .alem-core-front-edition-briefs .alem-front-brief:focus-within > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row:hover h3,
    body.home .alem-core-front-dossiers .alem-core-dossier-row:focus-visible h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist:hover strong,
    body.home .alem-core-front-columnists .alem-core-front-columnist:focus-visible strong,
    body.home .alem-core-front-column-pieces h3 a:hover,
    body.home .alem-core-front-column-pieces h3 a:focus-visible,
    body.home .alem-core-front-latest-item h3 a:hover,
    body.home .alem-core-front-latest-item h3 a:focus-visible,
    body.home .alem-core-front-card h3 a:hover,
    body.home .alem-core-front-card h3 a:focus-visible) {
  text-decoration-color: currentColor !important;
}
:is(body.home .alem-core-front-edition-briefs .alem-front-brief > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist strong,
    body.home .alem-core-front-column-pieces h3 a,
    body.home .alem-core-front-latest-item h3 a,
    body.home .alem-core-front-card h3 a)::after { content: none !important; }

/* These titles use native text-decoration above; disable the plugin's
   background-drawn underline so wrapped lines never receive a second rule. */
body.home :is(.alem-core-front-edition-briefs, .alem-core-front-dossiers,
  .alem-core-front-columnists, .alem-core-front-column-pieces,
  .alem-core-front-latest-item, .alem-core-front-card) .alem-link-draw {
  background-image: none !important;
  background-size: 0 0 !important;
}

/* The drawer follows the same teal state as the masthead over the support band. */
body.home.alem-support-band-active .alem-custom-menu-panel {
  background: var(--alem-accent, #067378) !important;
  color: var(--alem-paper, #f6f3ee) !important;
  box-shadow: 18px 0 40px color-mix(in srgb, var(--alem-preto, #000000) 20%, transparent);
}
body.home.alem-support-band-active .alem-custom-menu-panel :is(a, .alem-menu-back) {
  color: var(--alem-paper, #f6f3ee) !important;
}
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form input {
  border-color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 70%, transparent) !important;
  background: transparent !important;
  color: var(--alem-paper, #f6f3ee) !important;
}
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form input::placeholder {
  color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 72%, transparent) !important;
}
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form button {
  border-color: var(--alem-paper, #f6f3ee) !important;
  background: var(--alem-paper, #f6f3ee) !important;
  color: var(--alem-accent, #067378) !important;
}
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form button:is(:hover, :focus-visible) {
  border-color: var(--alem-ink, #111213) !important;
  background: var(--alem-ink, #111213) !important;
  color: var(--alem-paper, #f6f3ee) !important;
}
body.home.alem-support-band-active .alem-custom-menu-panel :is(a, .alem-menu-back):focus-visible,
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form :is(input, button):focus-visible {
  outline-color: var(--alem-paper, #f6f3ee) !important;
}

/* Latest-publication controls sit at the right, with breathing room from the rule. */
body.home .alem-latest-controls {
  justify-content: flex-end !important;
  padding: 8px 0 25px;
  margin: 16px 0 8px !important;
}
body.home :is(.alem-latest-more, .alem-latest-prev, .alem-latest-archive) {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--alem-accent, #067378) !important;
  background: var(--alem-accent, #067378) !important;
  color: var(--alem-paper, #f6f3ee) !important;
  box-shadow: 0 2px 5px color-mix(in srgb, var(--alem-ink, #111213) 9%, transparent);
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
body.home :is(.alem-latest-more, .alem-latest-prev, .alem-latest-archive):is(:hover, :focus-visible) {
  border-color: var(--alem-ink, #111213) !important;
  background: var(--alem-ink, #111213) !important;
  color: var(--alem-paper, #f6f3ee) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--alem-ink, #111213) 16%, transparent);
  transform: translateY(-2px);
}
body.home .alem-latest-more:active,
body.home .alem-latest-prev:active { transform: translateY(0); }

/* Publication save control shares the facts' left edge and a common baseline. */
body.single .alem-core-publication-facts > .alem-save-publication {
  justify-self: start;
  align-self: center;
  gap: 8px;
  min-height: 34px;
  padding-inline: 0;
  line-height: 1;
}
body.single .alem-core-publication-facts > .alem-save-publication .alem-save-icon {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
body.single .alem-core-publication-facts > .alem-save-publication .alem-save-label { display: inline-flex; align-items: center; min-height: 16px; }

/* Animate the chapter-index marker and text as one deliberate navigation state. */
body.single .alem-article-index li {
  transition: background-color .22s ease;
}
body.single .alem-article-index li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--alem-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
body.single .alem-article-index li a {
  display: block;
  transition: color .22s ease, transform .22s ease;
}
body.single .alem-article-index li a::after { content: none !important; }
body.single .alem-article-index li:has(a[aria-current="location"])::after { transform: scaleY(1); }
body.single .alem-article-index li:is(:hover, :focus-within)::after { transform: scaleY(.45); }
body.single .alem-article-index li:is(:hover, :focus-within) a,
body.single .alem-article-index li a[aria-current="location"] {
  color: var(--alem-ink);
  transform: translateX(3px);
}
body.single .alem-article-index li:active { background: transparent; }
body.single .alem-article-index li a:active { opacity: 1 !important; }


/* Mobile drawer: keep the masthead as the only brand mark and remove the
   desktop-only back control. Give search a deliberate, touch-sized layout. */
@media (max-width: 780px) {
  .alem-custom-menu-panel { padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px)) !important; }
  .alem-custom-menu-panel .alem-menu-drawer-header,
  .alem-custom-menu-panel .alem-menu-drawer-logo,
  .alem-custom-menu-panel .alem-menu-back { display: none !important; }
  .alem-custom-menu-panel .alem-menu-search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0 0 22px;
  }
  .alem-custom-menu-panel .alem-menu-search-form input {
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid color-mix(in srgb, var(--alem-paper, #f6f3ee) 58%, transparent);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: 400 16px/1.3 var(--alem-sans, Arial, sans-serif);
  }
  .alem-custom-menu-panel .alem-menu-search-form input::placeholder { color: color-mix(in srgb, var(--alem-paper, #f6f3ee) 68%, transparent); }
  .alem-custom-menu-panel .alem-menu-search-form button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--alem-accent, #067378);
    border-radius: 0;
    background: var(--alem-accent, #067378);
    color: var(--alem-paper, #f6f3ee);
    font: 700 11px/1.2 var(--alem-sans, Arial, sans-serif);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }
  .alem-custom-menu-panel .alem-menu-search-form button:is(:hover, :focus-visible) {
    border-color: var(--alem-paper, #f6f3ee);
    background: var(--alem-paper, #f6f3ee);
    color: var(--alem-accent, #067378);
  }
  .alem-custom-menu-panel .alem-menu-search-form :is(input, button):focus-visible {
    outline: 2px solid var(--alem-paper, #f6f3ee);
    outline-offset: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single .alem-article-index li,
  body.single .alem-article-index li::after,
  body.single .alem-article-index li a { transition: none !important; }
}

/* Keep the mobile drawer legible and aligned with the active masthead palette. */
.alem-custom-menu-panel .alem-menu-search-form input {
  box-sizing: border-box !important;
  border: 1px solid var(--alem-rule, #b8afa1) !important;
  background: var(--alem-paper, #f6f3ee) !important;
  color: var(--alem-ink, #111213) !important;
  caret-color: var(--alem-ink, #111213) !important;
}
.alem-custom-menu-panel .alem-menu-search-form input::placeholder {
  color: var(--alem-ink, #111213) !important;
  opacity: .62 !important;
}
body.single-alem_video:not(.alem-video-header-light) .alem-custom-menu-panel {
  background: var(--alem-night, #111213) !important;
  color: var(--alem-paper, #f6f3ee) !important;
}
body.single-alem_video.alem-video-header-light .alem-custom-menu-panel {
  background: var(--alem-paper, #f6f3ee) !important;
  color: var(--alem-ink, #111213) !important;
}
body.single-alem_video:not(.alem-video-header-light) .alem-custom-menu-panel :is(a, .alem-menu-back, .alem-menu-socials-title) {
  color: var(--alem-paper, #f6f3ee) !important;
}
body.single-alem_video.alem-video-header-light .alem-custom-menu-panel :is(a, .alem-menu-back, .alem-menu-socials-title) {
  color: var(--alem-ink, #111213) !important;
}
@media (max-width: 780px) {
  body.home.admin-bar {
    padding-top: 68px !important;
  }
  body.home.admin-bar .alem-site-header {
    top: var(--alem-mobile-admin-top, 46px) !important;
  }
body.home.admin-bar .alem-custom-menu-panel {
    top: calc(var(--alem-mobile-admin-top, 46px) + 68px) !important;
  }
}

/* Match the homepage title underline to the video lead's native CSS draw. */
:is(body.home .alem-core-front-edition-briefs .alem-front-brief > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist strong,
    body.home .alem-core-front-column-pieces h3 a,
    body.home .alem-core-front-latest-item h3 a,
    body.home .alem-core-front-card h3 a) {
  background-image: linear-gradient(currentColor, currentColor) !important;
  background-position: 0 100% !important;
  background-repeat: no-repeat !important;
  background-size: 0 1px !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: background-size .28s ease !important;
}
:is(body.home .alem-core-front-edition-briefs .alem-front-brief:hover > span > a,
    body.home .alem-core-front-edition-briefs .alem-front-brief:focus-within > span > a,
    body.home .alem-core-front-dossiers .alem-core-dossier-row:hover h3,
    body.home .alem-core-front-dossiers .alem-core-dossier-row:focus-visible h3,
    body.home .alem-core-front-columnists .alem-core-front-columnist:hover strong,
    body.home .alem-core-front-columnists .alem-core-front-columnist:focus-visible strong,
    body.home .alem-core-front-column-pieces h3 a:is(:hover, :focus-visible, :active),
    body.home .alem-core-front-latest-item h3 a:is(:hover, :focus-visible, :active),
    body.home .alem-core-front-card h3 a:is(:hover, :focus-visible, :active)) {
  background-size: 100% 1px !important;
}

/* Search palette follows the drawer surface: ink on paper, paper elsewhere. */
.alem-custom-menu-panel .alem-menu-search-form :is(input, input:hover, input:focus) {
  border: 1px solid var(--alem-ink, #111213) !important;
  background: transparent !important;
  color: var(--alem-ink, #111213) !important;
  caret-color: var(--alem-ink, #111213) !important;
  box-shadow: none !important;
}
.alem-custom-menu-panel .alem-menu-search-form input::placeholder {
  color: var(--alem-ink, #111213) !important;
  opacity: .58 !important;
}
.alem-custom-menu-panel .alem-menu-search-form button {
  border: 1px solid var(--alem-ink, #111213) !important;
  background: var(--alem-ink, #111213) !important;
  color: var(--alem-paper, #f6f3ee) !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}
.alem-custom-menu-panel .alem-menu-search-form button:is(:hover, :focus-visible) {
  border-color: var(--alem-ink, #111213) !important;
  background: transparent !important;
  color: var(--alem-ink, #111213) !important;
}

body.home:not(.alem-header-light):not(.alem-support-band-active) .alem-custom-menu-panel .alem-menu-search-form input,
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form input,
body.single-alem_video:not(.alem-video-header-light) .alem-custom-menu-panel .alem-menu-search-form input {
  border-color: var(--alem-paper, #f6f3ee) !important;
  background: transparent !important;
  color: var(--alem-paper, #f6f3ee) !important;
  caret-color: var(--alem-paper, #f6f3ee) !important;
}
body.home:not(.alem-header-light):not(.alem-support-band-active) .alem-custom-menu-panel .alem-menu-search-form input::placeholder,
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form input::placeholder,
body.single-alem_video:not(.alem-video-header-light) .alem-custom-menu-panel .alem-menu-search-form input::placeholder {
  color: var(--alem-paper, #f6f3ee) !important;
  opacity: .64 !important;
}
body.home:not(.alem-header-light):not(.alem-support-band-active) .alem-custom-menu-panel .alem-menu-search-form button,
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form button,
body.single-alem_video:not(.alem-video-header-light) .alem-custom-menu-panel .alem-menu-search-form button {
  border-color: var(--alem-paper, #f6f3ee) !important;
  background: var(--alem-paper, #f6f3ee) !important;
  color: var(--alem-ink, #111213) !important;
}
body.home:not(.alem-header-light):not(.alem-support-band-active) .alem-custom-menu-panel .alem-menu-search-form button:is(:hover, :focus-visible),
body.home.alem-support-band-active .alem-custom-menu-panel .alem-menu-search-form button:is(:hover, :focus-visible),
body.single-alem_video:not(.alem-video-header-light) .alem-custom-menu-panel .alem-menu-search-form button:is(:hover, :focus-visible) {
  border-color: var(--alem-paper, #f6f3ee) !important;
  background: transparent !important;
  color: var(--alem-paper, #f6f3ee) !important;
}

/* Mobile article index: a compact, sticky section picker without row rules. */
@media (max-width: 780px) {
  body.single-alem_video .alem-core-video-layout {
    isolation: isolate;
  }
  body.single-alem_video .alem-core-video-layout > .alem-article-content {
    position: relative;
    z-index: 0 !important;
  }
  body.admin-bar.single .alem-site-header {
    top: var(--alem-mobile-admin-top, 46px) !important;
  }
  body.single .alem-core-video-layout > .alem-article-index.alem-toc-sticky-shell {
    position: sticky !important;
    align-self: start !important;
    top: calc(var(--alem-mobile-admin-top, 0px) + 68px) !important;
    z-index: 2147483000 !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: var(--alem-paper, #f6f3ee) !important;
    color: var(--alem-ink, #111213) !important;
    isolation: isolate;
    transform: translateZ(0);
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) {
    position: relative !important;
    z-index: 1 !important;
    align-self: start !important;
    width: 100%;
    margin: 0 0 24px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: var(--alem-paper, #f6f3ee) !important;
    color: var(--alem-ink, #111213) !important;
    isolation: isolate;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > .alem-core-overline,
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > strong {
    display: none !important;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > .alem-article-index-toggle {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    grid-template-areas: "label number arrow" "title title arrow";
    align-items: center;
    column-gap: 10px;
    width: 100%;
    min-height: 64px;
    padding: 10px 16px;
    position: relative;
    z-index: 2;
    border: 1px solid transparent !important;
    background-color: var(--alem-paper, #f6f3ee) !important;
    color: var(--alem-ink, #111213) !important;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 0 0 color-mix(in srgb, var(--alem-ink, #111213) 0%, transparent);
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced).alem-toc-scrolled > .alem-article-index-toggle {
    border-color: color-mix(in srgb, var(--alem-ink, #111213) 13%, transparent) !important;
    box-shadow: 0 9px 24px color-mix(in srgb, var(--alem-ink, #111213) 12%, transparent);
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced).alem-article-index-open > .alem-article-index-toggle {
    border-color: color-mix(in srgb, var(--alem-ink, #111213) 14%, transparent) !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 6px 24px color-mix(in srgb, var(--alem-ink, #111213) 12%, transparent);
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > .alem-article-index-toggle[hidden] {
    display: none !important;
  }
  body.single .alem-article-index-toggle-label {
    grid-area: label;
    color: var(--alem-accent, #067378);
    font: 700 10px/1.2 var(--alem-sans, Arial, sans-serif);
    letter-spacing: .13em;
    text-transform: uppercase;
  }
  body.single .alem-article-index-toggle-title {
    grid-area: title;
    overflow: hidden;
    font: 700 16px/1.15 var(--alem-display, Georgia, serif);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.single .alem-article-index-toggle-number {
    grid-area: number;
    color: var(--alem-accent, #067378);
    font: 700 10px/1.2 var(--alem-sans, Arial, sans-serif);
    letter-spacing: .06em;
    white-space: nowrap;
  }
  body.single .alem-article-index-toggle-arrow {
    grid-area: arrow;
    color: var(--alem-accent, #067378);
    font: 400 22px/1 var(--alem-sans, Arial, sans-serif);
    transition: transform .2s ease;
  }
  body.single .alem-article-index-toggle[aria-expanded="true"] .alem-article-index-toggle-arrow {
    transform: rotate(180deg);
    transition: transform .3s cubic-bezier(.2, .75, .25, 1);
  }
  body.single .alem-article-index-toggle {
    transition: background-color .22s ease, border-color .3s ease, box-shadow .38s cubic-bezier(.2, .75, .25, 1), transform .28s cubic-bezier(.2, .75, .25, 1) !important;
  }
  body.single .alem-article-index-toggle:active {
    transform: none;
    /* The generic mobile :active rule fades controls; keep the sticky TOC opaque
       so article text cannot show through while a finger is held on it. */
    opacity: 1 !important;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list {
    position: absolute;
    inset: calc(100% - 1px) 0 auto;
    z-index: 3;
    display: block !important;
    max-height: min(55svh, 440px);
    overflow: auto;
    margin: 0 !important;
    padding: 8px 16px 16px !important;
    border: 1px solid transparent !important;
    background-color: var(--alem-paper, #f6f3ee) !important;
    box-shadow: 0 0 0 color-mix(in srgb, var(--alem-ink, #111213) 0%, transparent);
    list-style: none;
    scroll-snap-type: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    clip-path: inset(0 0 100%);
    pointer-events: none;
    transition: opacity .24s ease, transform .36s cubic-bezier(.2, .75, .25, 1), clip-path .36s cubic-bezier(.2, .75, .25, 1), visibility 0s linear .36s;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced).alem-article-index-open > ol.alem-toc-section-list {
    border-color: color-mix(in srgb, var(--alem-ink, #111213) 14%, transparent) !important;
    border-top-color: transparent !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--alem-ink, #111213) 12%, transparent);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    clip-path: inset(0);
    pointer-events: auto;
    transition: opacity .24s ease, transform .36s cubic-bezier(.2, .75, .25, 1), clip-path .36s cubic-bezier(.2, .75, .25, 1), visibility 0s;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list > li {
    display: block;
    min-height: 0;
    margin: 0 !important;
    padding: 10px 0 10px 30px !important;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-align: none;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list > li::after {
    content: none !important;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list > li::before {
    top: 12px;
    left: 0;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list > li > a {
    display: block;
    padding: 0 !important;
    color: var(--alem-muted, #68645e);
    font: 600 15px/1.2 var(--alem-display, Georgia, serif);
    white-space: normal;
  }
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list > li:has(a[aria-current="location"]) > a {
    color: var(--alem-ink, #111213);
  }
  body.single .alem-article-content .wp-block-post-content :is(h2, h3)[id] {
    scroll-margin-block-start: calc(var(--alem-mobile-admin-top, 0px) + 150px) !important;
  }
  body.single .alem-article-index-toggle:focus-visible,
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list > li > a:focus-visible {
    outline: 2px solid var(--alem-accent, #067378) !important;
    outline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single .alem-article-index-toggle,
  body.single .alem-article-index-toggle-arrow,
  body.single :is(.alem-article-index.alem-toc-enhanced, .alem-video-article-toc.alem-toc-enhanced) > ol.alem-toc-section-list {
    transition: none !important;
  }
}

/* Legenda da imagem de destaque da matéria */
.wp-block-post-featured-image .alem-featured-caption { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--alem-accent, #067378); color: var(--alem-muted, #534f4a); font: 400 14px/1.45 "Source Sans 3", system-ui, sans-serif; }
