/* ============================================================
   Argentina Libre — Design System
   Inspirado en: The Washington Post (2024 Redesign)
   Principio: Modular, Adaptativo y Tipográficamente Dominante
   ============================================================ */

/* ─────────────────────────────────────────────
   1. DESIGN TOKENS
   Variables que cambian automáticamente con el tema.
   No hardcodear NUNCA colores fuera de estas variables.
   ───────────────────────────────────────────── */

:root {
  --np-serif: "Playfair Display", "Georgia", serif;
  --np-sans: var(--md-text-font, "Inter", sans-serif);
}

/* ─── Dark mode (slate) ─── */
[data-md-color-scheme="slate"] {
  --md-accent-fg-color: #ffb74d;

  --np-border: hsla(225, 15%, 90%, 0.12);
  --np-text: hsla(225, 15%, 90%, 0.87);
  --np-text-muted: hsla(225, 15%, 90%, 0.60);
  --np-surface: hsla(225, 15%, 14%, 1);
  --np-accent: #ffb74d;
  --np-surface-raised: hsla(220, 14%, 12%, 1);
}

/* ─── Light mode (default) ─── */
[data-md-color-scheme="default"] {
  --md-accent-fg-color: #c62828;

  --np-border: hsla(0, 0%, 0%, 0.12);
  --np-text: hsla(0, 0%, 0%, 0.87);
  --np-text-muted: hsla(0, 0%, 0%, 0.54);
  --np-surface: #ffffff;
  --np-accent: #c62828;
  --np-surface-raised: hsla(210, 17%, 97%, 1);
}

/* ─────────────────────────────────────────────
   2. MASTHEAD (newspaper banner)
   ───────────────────────────────────────────── */
.np-masthead {
  background-color: var(--np-surface);
  color: var(--np-text);
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  border-bottom: 3px double var(--np-border);
}

.np-masthead__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.np-masthead__dateline {
  font-family: var(--np-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--np-text-muted);
  display: block;
  margin-bottom: 0.8rem;
}

.np-masthead__title {
  font-family: var(--np-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  color: var(--np-text);
}

.np-masthead__rule {
  width: 120px;
  height: 2px;
  background-color: var(--np-accent);
  margin: 1rem auto;
}

.np-masthead__tagline {
  font-family: var(--np-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--np-text-muted);
}

/* ─────────────────────────────────────────────
   3. ZONE SYSTEM
   Every major section is a .np-zone.
   ───────────────────────────────────────────── */
.np-zone {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.np-zone--above-fold {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--np-border);
}

/* ─────────────────────────────────────────────
   4. ABOVE THE FOLD (Hero + Sidebar)
   ───────────────────────────────────────────── */
.np-zone__layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 2.5rem;
}

/* ─── Story: generic card ─── */
.np-story { 
  display: flex; 
  flex-direction: column; 
  position: relative;
}

.np-story__link {
  color: var(--np-text) !important;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.np-story__link--row {
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.np-story__figure {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.np-story__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.np-story__link:hover .np-story__figure img {
  transform: scale(1.03);
}

.np-story__kicker {
  display: inline-block;
  font-family: var(--np-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--np-accent);
  margin-bottom: 0.4rem;
}

.np-story__headline {
  font-family: var(--np-serif);
  font-weight: 700;
  color: var(--np-text);
  line-height: 1.2;
  margin: 0 0 0.6rem;
  transition: color 0.2s ease;
}

.np-story__link:hover .np-story__headline {
  color: var(--np-accent);
}

.np-story__headline--xl { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.np-story__headline--sm { font-size: 1.05rem; line-height: 1.3; }

.np-story__excerpt {
  font-family: var(--np-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--np-text-muted);
  margin: 0 0 1rem;
}

.np-story__byline {
  font-family: var(--np-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-text-muted);
  margin-top: auto;
}

/* ─── Lead story specifics ─── */
.np-story--lead .np-story__figure {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.2rem;
}

.np-story--lead .np-story__body {
  padding-right: 1rem;
}

/* ─── Aside (sidebar) ─── */
.np-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--np-border);
  padding-left: 2.5rem;
}

.np-story--compact {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--np-border);
}

.np-story--compact:last-child {
  border-bottom: none;
}

.np-story__figure--sm {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 4/3;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────
   5. BELT — 4-across card row
   ───────────────────────────────────────────── */
.np-zone--belt {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--np-border);
}

.np-belt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.np-story--card .np-story__figure {
  aspect-ratio: 3 / 2;
  margin-bottom: 0.8rem;
  border-radius: 2px;
}

.np-story--card .np-story__headline {
  font-size: 1.1rem;
  line-height: 1.3;
}

/* ─────────────────────────────────────────────
   6. FOCUS — Immersive Feature
   ───────────────────────────────────────────── */
.np-zone--focus {
  background-color: var(--np-surface-raised);
  border-top: 1px solid var(--np-border);
  border-bottom: 1px solid var(--np-border);
  padding: 3rem 0;
  margin-bottom: 0;
  /* full width background via negative margins won't work inside md-grid.
     We make this zone NOT constrained and add inner grid. */
  max-width: none;
}

.np-focus {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.np-focus__label {
  font-family: var(--np-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--np-accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--np-accent);
  display: inline-block;
}

.np-focus__layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem;
  align-items: center;
}

.np-focus__figure {
  margin: 0;
  overflow: hidden;
  line-height: 0;
  border-radius: 3px;
}

.np-focus__figure img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.np-focus__headline {
  font-family: var(--np-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--np-text);
}

.np-focus__excerpt {
  font-family: var(--np-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--np-text-muted);
  margin: 0 0 1.5rem;
}

.np-focus__cta {
  font-family: var(--np-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--np-accent) !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease;
}

.np-focus__cta:hover {
  opacity: 0.7;
}

/* ─────────────────────────────────────────────
   7. SUPPORT / MONETIZATION
   ───────────────────────────────────────────── */
.np-zone--support {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--np-border);
}

.np-support {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.np-support__text {
  flex: 1;
}

.np-support__headline {
  font-family: var(--np-serif);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: var(--np-text);
}

.np-support__text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--np-text-muted);
  margin: 0;
}

.np-support__actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.np-support__btn {
  display: inline-block;
  font-family: var(--np-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8em 1.4em;
  border: 2px solid transparent;
  border-radius: 3px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.np-support__btn--cafecito {
  background-color: #f7a637;
  color: #fff;
  border-color: #f7a637;
}
.np-support__btn--cafecito:hover {
  background-color: transparent;
  color: #f7a637;
}

.np-support__btn--patreon {
  background-color: transparent;
  color: var(--np-text);
  border-color: var(--np-border);
}
.np-support__btn--patreon:hover {
  border-color: var(--np-accent);
  color: var(--np-accent);
}

/* ─────────────────────────────────────────────
   7b. BOTÓN FLOTANTE CAFECITO
   ───────────────────────────────────────────── */
.cafecito-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
.cafecito-float:hover {
  transform: scale(1.07);
  opacity: 1;
}
.cafecito-float img {
  height: 48px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .cafecito-float {
    bottom: 1rem;
    right: 1rem;
  }
  .cafecito-float img {
    height: 40px;
  }
}

/* ─────────────────────────────────────────────
   8. DOSSIERS (Feature Grid)
   ───────────────────────────────────────────── */
.np-zone--dossiers {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.np-section-title {
  font-family: var(--np-serif);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.3rem;
  color: var(--np-text);
}

.np-section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--np-text-muted);
  margin: 0 0 2.5rem;
}

.np-dossiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.np-dossier {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--np-border);
  border-radius: 4px;
  text-decoration: none !important;
  color: var(--np-text) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.np-dossier:hover {
  border-color: var(--np-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.np-dossier__icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.np-dossier h3 {
  font-family: var(--np-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--np-text);
}

.np-dossier p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--np-text-muted);
  margin: 0;
}

/* ─────────────────────────────────────────────
   9. SOCIAL SHARE BUTTONS
   ───────────────────────────────────────────── */

/* ─── Base popover ─── */
.np-share {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.np-share__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--np-border);
  background: var(--np-surface);
  color: var(--np-text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
}

.np-share__toggle:hover,
.np-share--active .np-share__toggle {
  color: var(--np-accent);
  border-color: var(--np-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.np-share__toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.np-share__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  padding: 0.5rem;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transform-origin: top right;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.np-share--active .np-share__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.np-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--np-border);
  background: transparent;
  color: var(--np-text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  padding: 0;
}

.np-share__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.np-share__btn:hover {
  transform: translateY(-2px);
  border-color: transparent;
  color: #fff;
}

/* Brand hover colors */
.np-share__btn--x:hover        { background-color: #000; }
.np-share__btn--facebook:hover { background-color: #1877f2; }
.np-share__btn--whatsapp:hover { background-color: #25d366; }
.np-share__btn--telegram:hover { background-color: #0088cc; }
.np-share__btn--linkedin:hover { background-color: #0a66c2; }
.np-share__btn--copy:hover     { background-color: var(--np-accent); }

[data-md-color-scheme="slate"] .np-share__btn--x:hover {
  background-color: #e7e9ea;
  color: #000;
}

.np-share__btn--copied {
  background-color: #4caf50 !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ─── Story Cards Share Visibility ─── */
.np-story .np-share {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.np-story:hover .np-share,
.np-share--active {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 991px) {
  .np-story .np-share {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ─── Blog post h1 top bar container ─── */
.md-typeset h1 .np-share {
  position: static;
  opacity: 1;
  pointer-events: auto;
}

.md-typeset h1 .np-share__dropdown {
  transform-origin: top right;
  right: 0;
  top: calc(100% + 4px);
}

/* ─────────────────────────────────────────────
   10. GLOBAL TYPOGRAPHY OVERRIDES FOR ARTICLES
   ───────────────────────────────────────────── */
.md-typeset h1, .md-typeset h2, .md-typeset h3 {
  font-family: var(--np-serif);
}

.md-typeset h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Base structural layout for blog lists */
article.md-post {
  position: relative;
}

.md-typeset .admonition {
  border-left-width: 4px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────
   11. RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .np-zone__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .np-aside {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--np-border);
    padding-top: 1.5rem;
  }
  .np-belt {
    grid-template-columns: repeat(2, 1fr);
  }
  .np-focus__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .np-dossiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .np-support {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .np-masthead__title {
    font-size: 2.4rem;
  }
  .np-belt {
    grid-template-columns: 1fr;
  }
  .np-dossiers-grid {
    grid-template-columns: 1fr;
  }
  .np-support__actions {
    flex-direction: column;
    width: 100%;
  }
  .np-support__btn {
    text-align: center;
  }
  /* Compact share bars on mobile */
  .np-share__label span {
    display: none;
  }
}

/* ─────────────────────────────────────────────
   12. FINANCIAL TICKER TAPE (ANIMATED)
   ───────────────────────────────────────────── */

.np-ticker {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  margin: 0 1.5rem 0 1rem;
  background-color: transparent;
  color: var(--md-primary-bg-color);
  font-family: var(--np-sans);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  height: 100%;
}

.np-ticker__track {
  display: flex;
  align-items: center;
  width: 100%;
}

.np-ticker__inner {
  display: flex;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

.np-ticker__inner:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

.np-ticker__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 2.5rem;
  gap: 0.4rem;
}

.np-ticker__name {
  font-weight: 700;
  color: var(--md-primary-bg-color);
}

.np-ticker__price {
  color: var(--md-primary-bg-color);
  opacity: 0.9;
}

.np-ticker__indicator {
  font-size: 0.65rem;
}

/* ─────────────────────────────────────────────
   13. BREAKING NEWS BANNER
   ───────────────────────────────────────────── */
.np-breaking {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1rem;
  font-family: var(--np-sans);
  font-size: 0.82rem;
  animation: np-breaking-pulse 3s ease-in-out infinite;
}

.np-breaking__label {
  background: #c62828;
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.25em 0.6em;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.np-breaking__text {
  color: var(--md-primary-bg-color);
  font-weight: 600;
}

@keyframes np-breaking-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ─────────────────────────────────────────────
   14. NEWSLETTER SECTION
   ───────────────────────────────────────────── */
.np-zone--newsletter {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--np-border);
}

.np-newsletter {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.np-newsletter__icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.np-newsletter__headline {
  font-family: var(--np-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--np-text);
  margin: 0 0 0.5rem;
}

.np-newsletter__text {
  font-family: var(--np-sans);
  font-size: 0.92rem;
  color: var(--np-text-muted);
  line-height: 1.6;
  margin: 0 0 1.4rem;
}

.np-newsletter__btn {
  display: inline-block;
  font-family: var(--np-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.8em 1.8em;
  border-radius: 3px;
  background-color: var(--np-accent);
  color: #fff;
  transition: opacity 0.25s ease;
}

.np-newsletter__btn:hover {
  opacity: 0.85;
}

.np-newsletter__btn--soon {
  background-color: var(--np-border);
  color: var(--np-text-muted);
  cursor: default;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   15. EDITORIAL FOOTER
   ───────────────────────────────────────────── */
.np-footer {
  background-color: var(--np-surface-raised);
  border-top: 3px double var(--np-border);
  padding: 3rem 0 0;
  margin-top: 0;
}

.np-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.np-footer__title {
  font-family: var(--np-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--np-text);
  margin: 0 0 0.8rem;
}

.np-footer__col--brand p {
  font-family: var(--np-sans);
  font-size: 0.85rem;
  color: var(--np-text-muted);
  line-height: 1.6;
  margin: 0;
}

.np-footer__heading {
  font-family: var(--np-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--np-text-muted);
  margin: 0 0 1rem;
}

.np-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.np-footer__links li {
  margin-bottom: 0.5rem;
}

.np-footer__links a {
  font-family: var(--np-sans);
  font-size: 0.88rem;
  color: var(--np-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.np-footer__links a:hover {
  color: var(--np-accent);
}

.np-footer__bottom {
  border-top: 1px solid var(--np-border);
  padding: 1.2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.np-footer__bottom p {
  font-family: var(--np-sans);
  font-size: 0.75rem;
  color: var(--np-text-muted);
  margin: 0;
  text-align: center;
}

.np-footer__bottom a {
  color: var(--np-accent);
  text-decoration: none;
}

/* Hide default MkDocs footer */
.md-footer {
  display: none;
}

@media (max-width: 992px) {
  .np-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .np-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ─────────────────────────────────────────────
   16. READING TIME BADGE
   ───────────────────────────────────────────── */
.np-reading-time {
  display: inline-block;
  font-family: var(--np-sans);
  font-size: 0.78rem;
  color: var(--np-text-muted);
  margin-left: 0.8rem;
  padding: 0.2em 0.7em;
  border: 1px solid var(--np-border);
  border-radius: 12px;
  vertical-align: middle;
  white-space: nowrap;
}

/* When appended below H1 (not inside meta) */
h1 + .np-reading-time {
  display: block;
  margin: -0.5rem 0 1.5rem;
  width: fit-content;
}

/* ─────────────────────────────────────────────
   17. PRINT STYLES
   ───────────────────────────────────────────── */
@media print {
  /* Hide navigation, header, footer, ticker, share */
  .md-header,
  .md-tabs,
  .md-sidebar,
  .md-footer,
  .np-footer,
  .np-ticker,
  .np-share,
  .np-masthead,
  .np-breaking,
  .np-zone--support,
  .np-zone--newsletter,
  .np-zone--dossiers,
  .np-zone--belt,
  .np-zone--focus,
  .md-search,
  .md-top {
    display: none !important;
  }

  /* Full width content */
  .md-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .md-main__inner {
    padding: 0;
  }

  /* Clean typography */
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .md-typeset h1 {
    font-size: 20pt;
    border-bottom: 2pt solid #000;
    padding-bottom: 0.3em;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  /* Show URL after links */
  .md-typeset a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  /* Page header with site name */
  @page {
    margin: 2cm;
    @top-center {
      content: "Argentina Libre";
    }
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }
}