/* ============================================================
   style.css — bundled from:
     - variables.css
     - base.css
     - layout.css
     - components.css
     - responsive.css

   DO NOT EDIT DIRECTLY. Edit the source files in css/ and
   re-run build-css.sh from the client root.
   Last built: 2026-10-29T16:47:59Z
   ============================================================ */

/* ---- variables.css ---- */
/* ==========================================================================
   STELLA MARIS MEDIA — Design Tokens & Custom Properties
   Catholic News Portal — Design System Variables
   ========================================================================== */

:root {
  /* ── Brand Colors ─────────────────────────────────────────────────────── */
  /* From Christine Niles's BRANDING.docx: royal blue + gold primary, cream +
     muted blue secondary, gold + onyx for the Forward Boldly mark. -dark/-light
     shades derived by HSL adjustment for consistency, not hand-picked. */
  --color-navy:            #050368;
  --color-navy-dark:       #030252;
  --color-navy-light:      #4A49B8;
  --color-gold:            #D4AF37;
  --color-gold-dark:       #A98A24;
  --color-gold-light:      #DFC369;
  --color-beige:           #F2E7C3;
  --color-beige-dark:      #EDDDAA;
  --color-white:           #FFFFFF;
  --color-red:             #8B1A1A;
  --color-red-light:       #A52A2A;
  --color-footer:          #02012F;
  --color-footer-light:    #030250;
  --color-onyx:            #353935;
  --color-sky:             #6ABCE2;

  /* ── Neutral Palette ──────────────────────────────────────────────────── */
  --color-gray-50:         #F6F7F9;
  --color-gray-100:        #E9ECF1;
  --color-gray-200:        #C5CAD3;
  --color-gray-300:        #C5CAD3;
  --color-gray-400:        #98A0AD;
  --color-gray-500:        #5F6876;
  --color-gray-600:        #5B6573;
  --color-gray-700:        #424A56;
  --color-gray-800:        #2F3640;
  --color-gray-900:        #1E242C;

  /* ── Semantic Colors ──────────────────────────────────────────────────── */
  --color-text-primary:    #1E242C;
  --color-text-secondary:  #5B6573;
  --color-text-muted:      #5F6876;
  --color-text-inverse:    #FFFFFF;
  --color-text-link:       #050368;
  --color-text-link-hover: #D4AF37;
  --color-border:          #C5CAD3;
  --color-border-light:    #E9ECF1;
  --color-surface:         #FFFFFF;
  --color-surface-raised:  #FFFFFF;
  --color-overlay:         rgba(5, 3, 104, 0.85);
  --color-backdrop:        rgba(0, 0, 0, 0.5);

  /* ── Typography ───────────────────────────────────────────────────────── */
  /* Christine's spec: "Montserrat (headings — usually capitalized) and EB
     Garamond (body text)". --font-serif/--font-sans keep their original names
     (the convention these styles were built on: "the heading font" / "the body font") even though
     the actual families no longer match those names literally — renaming the
     custom properties everywhere they're consumed was out of scope here. */
  --font-serif:            'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans:             'EB Garamond', Georgia, 'Times New Roman', serif;

  --font-weight-regular:   400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-black:     900;

  /* ── Type Scale (mobile-first, rem-based) ─────────────────────────────── */
  --text-xs:               0.75rem;    /* 12px */
  --text-sm:               0.875rem;   /* 14px */
  --text-base:             1rem;       /* 16px */
  --text-lg:               1.125rem;   /* 18px */
  --text-xl:               1.25rem;    /* 20px */
  --text-2xl:              1.5rem;     /* 24px */
  --text-3xl:              1.875rem;   /* 30px */
  --text-4xl:              2.25rem;    /* 36px */
  --text-5xl:              3rem;       /* 48px */
  --text-6xl:              3.75rem;    /* 60px */

  --leading-tight:         1.2;
  --leading-snug:          1.35;
  --leading-normal:        1.5;
  --leading-relaxed:       1.65;
  --leading-loose:         1.8;

  --tracking-tight:       -0.025em;
  --tracking-normal:       0;
  --tracking-wide:         0.025em;
  --tracking-wider:        0.05em;
  --tracking-widest:       0.1em;

  /* ── Spacing Scale ────────────────────────────────────────────────────── */
  --space-1:               0.25rem;    /* 4px */
  --space-2:               0.5rem;     /* 8px */
  --space-3:               0.75rem;    /* 12px */
  --space-4:               1rem;       /* 16px */
  --space-5:               1.25rem;    /* 20px */
  --space-6:               1.5rem;     /* 24px */
  --space-8:               2rem;       /* 32px */
  --space-10:              2.5rem;     /* 40px */
  --space-12:              3rem;       /* 48px */
  --space-16:              4rem;       /* 64px */
  --space-20:              5rem;       /* 80px */
  --space-24:              6rem;       /* 96px */

  /* ── Layout ───────────────────────────────────────────────────────────── */
  --container-max:         1200px;
  --container-narrow:      800px;
  --container-wide:        1400px;
  --container-padding:     var(--space-6);
  --content-gap:           var(--space-8);
  --sidebar-width:         340px;

  /* ── Breakpoints (for reference — used in responsive.css) ─────────────── */
  /* --bp-sm:  480px  */
  /* --bp-md:  768px  */
  /* --bp-lg:  1024px */
  /* --bp-xl:  1200px */
  /* --bp-2xl: 1400px */

  /* ── Border Radius ────────────────────────────────────────────────────── */
  --radius-sm:             0.25rem;    /* 4px */
  --radius-md:             0.375rem;   /* 6px */
  --radius-lg:             0.5rem;     /* 8px */
  --radius-xl:             0.75rem;    /* 12px */
  --radius-full:           9999px;

  /* ── Shadows ──────────────────────────────────────────────────────────── */
  --shadow-sm:             0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:             0 4px 6px -1px rgba(0, 0, 0, 0.07),
                           0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:             0 10px 15px -3px rgba(0, 0, 0, 0.08),
                           0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:             0 20px 25px -5px rgba(0, 0, 0, 0.08),
                           0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card:           0 1px 3px rgba(0, 0, 0, 0.06),
                           0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card-hover:     0 10px 20px -5px rgba(0, 0, 0, 0.1),
                           0 4px 8px -4px rgba(0, 0, 0, 0.06);

  /* ── Transitions ──────────────────────────────────────────────────────── */
  --ease-default:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:               cubic-bezier(0.4, 0, 1, 1);
  --ease-out:              cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:           cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:         150ms;
  --duration-normal:       250ms;
  --duration-slow:         400ms;
  --duration-slower:       600ms;

  --transition-colors:     color var(--duration-normal) var(--ease-default),
                           background-color var(--duration-normal) var(--ease-default),
                           border-color var(--duration-normal) var(--ease-default);
  --transition-transform:  transform var(--duration-normal) var(--ease-default);
  --transition-shadow:     box-shadow var(--duration-normal) var(--ease-default);
  --transition-opacity:    opacity var(--duration-normal) var(--ease-default);
  --transition-all:        all var(--duration-normal) var(--ease-default);

  /* ── Z-Index Scale ────────────────────────────────────────────────────── */
  --z-base:                1;
  --z-dropdown:            10;
  --z-sticky:              20;
  --z-overlay:             30;
  --z-modal:               40;
  --z-toast:               50;
}

/* ---- base.css ---- */
/* ==========================================================================
   STELLA MARIS MEDIA — Base Styles & Reset
   Foundations: box model, typography scale, element defaults
   ========================================================================== */

/* ── Reset & Box Model ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Prevent font size inflation on mobile */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* ── Document Defaults ──────────────────────────────────────────────────── */
html {
  font-size: 100%; /* 16px base */
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* account for sticky nav */
  background-color: var(--color-footer);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Selection ──────────────────────────────────────────────────────────── */
::selection {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
}

::-moz-selection {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
}

/* ── Focus Visible ──────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Typography Scale ───────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-navy);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-black);
  line-height: 1.15;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ── Paragraph & Body Text ──────────────────────────────────────────────── */
p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

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

strong, b {
  font-weight: var(--font-weight-semibold);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

blockquote {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background-color: var(--color-beige);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-navy);
}

blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-style: normal;
  font-family: var(--font-sans);
  color: var(--color-text-muted);
}

/* ── Links ──────────────────────────────────────────────────────────────── */
a {
  color: var(--color-text-link);
  text-decoration: none;
  transition: var(--transition-colors);
}

a:hover {
  color: var(--color-text-link-hover);
}

/* Content area links get underlines for accessibility */
.article-single__body a,
.lepanto-content a {
  text-decoration: underline;
  text-decoration-color: var(--color-gold-light);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.article-single__body a:hover,
.lepanto-content a:hover {
  text-decoration-color: var(--color-gold);
}

/* ── Images ─────────────────────────────────────────────────────────────── */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
  vertical-align: middle;
}

figure {
  margin: 0;
}

figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  font-style: italic;
}

/* ── Form Element Resets ────────────────────────────────────────────────── */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-white);
  transition: var(--transition-colors), border-color var(--duration-normal) var(--ease-default);
}

input:focus,
textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-gray-400);
}

/* ── Table Defaults ─────────────────────────────────────────────────────── */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* ── Horizontal Rule ────────────────────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

/* ── Screen Reader Only ─────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Scroll Animations ──────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(1rem);
  }
}

.fade-in-up {
  animation: fadeInUp var(--duration-slow) var(--ease-out) both;
}

.fade-in {
  animation: fadeIn var(--duration-slow) var(--ease-out) both;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- layout.css ---- */
/* ==========================================================================
   STELLA MARIS MEDIA — Layout
   Structural components: utility bar, header, nav, content grid, footer
   ========================================================================== */

/* ── Container ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

/* ==========================================================================
   UTILITY BAR — Compact top bar
   ========================================================================== */
.utility-bar {
  background-color: var(--color-navy);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  position: relative;
  z-index: 50;
}

.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.utility-bar__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.utility-bar__social a {
  color: var(--color-gray-300);
  font-size: var(--text-base);
  transition: var(--transition-colors);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.utility-bar__social a:hover {
  color: var(--color-gold);
}

.utility-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.utility-bar__date {
  color: var(--color-gray-300);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
}

/* ── Search in Utility Bar ──────────────────────────────────────────────── */
.search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.search-toggle {
  color: var(--color-gray-300);
  font-size: var(--text-base);
  padding: var(--space-2);
  transition: var(--transition-colors);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.search-toggle:hover {
  color: var(--color-gold);
}

.search-input {
  width: 0;
  opacity: 0;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-navy-light);
  border-radius: var(--radius-full);
  background-color: var(--color-navy);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  transition: width var(--duration-slow) var(--ease-default),
              opacity var(--duration-normal) var(--ease-default),
              padding var(--duration-slow) var(--ease-default);
}

.search-input::placeholder {
  color: var(--color-gray-500);
}

.search-form.is-open .search-input {
  width: 200px;
  opacity: 1;
  padding: var(--space-2) var(--space-4);
  margin-right: var(--space-2);
}

/* Search Overlay (full-screen) */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 58, 75, 0.95);
  z-index: var(--z-modal, 1000);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}

.search-overlay[hidden] {
  display: none !important;
}

.search-overlay__form {
  position: relative;
  display: flex;
  gap: var(--space-3);
  align-items: center;
  max-width: 600px;
  width: 100%;
}

.search-overlay__input {
  flex: 1;
  padding: var(--space-4);
  font-size: var(--text-lg);
  border: none;
  border-bottom: 2px solid var(--color-gold);
  background: transparent;
  color: #fff;
  outline: none;
  font-family: var(--font-sans);
}

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

.search-overlay__submit {
  padding: var(--space-3) var(--space-5);
  background: var(--color-gold);
  color: var(--color-navy);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  font-size: var(--text-base);
}

.search-overlay__close {
  background: none;
  border: none;
  color: #fff;
  font-size: var(--text-3xl);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
  line-height: 1;
  padding: var(--space-2);
}

.search-overlay__close:hover {
  opacity: 1;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  animation: slideDown var(--duration-normal) var(--ease-out);
  display: none;
}

.search-results-dropdown.is-visible {
  display: block;
}

.search-results-dropdown__item {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition-colors);
}

.search-results-dropdown__item:last-child {
  border-bottom: none;
}

.search-results-dropdown__item:hover {
  background-color: var(--color-beige);
}

.search-results-dropdown__item a {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.search-results-dropdown__title {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
  color: var(--color-navy);
}

.search-results-dropdown__excerpt {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.btn-doe {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  transition: var(--transition-all);
  white-space: nowrap;
  line-height: 1.6;
}

.btn-doe:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-navy-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   SITE HEADER — Logo & site title
   ========================================================================== */
.site-header {
  position: relative;
  background-color: var(--color-white);
  text-align: center;
}

/* ── Split header: all absolute positioned layers ─── */
.site-header--split {
  position: relative;
  height: 230px;
  overflow: visible;
}

/* Video panels — fill full width behind everything */
.site-header__video-left,
.site-header__video-right {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.site-header__video-left { left: 0; right: 50%; }
.site-header__video-right { left: 50%; right: 0; }

.site-header__video-left video,
.site-header__video-right video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.site-header__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 75, 0.45);
  pointer-events: none;
}

/* Video text overlays — editorial style with repeating animation */
.site-header__video-text {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-header__video-text::before {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  animation: textLineReveal 15s ease infinite;
}

.site-header__video-text span {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: white;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6), 0 4px 20px rgba(0,0,0,0.3);
  padding: 6px 14px;
  background: linear-gradient(90deg, rgba(27,58,75,0.6) 0%, rgba(27,58,75,0) 100%);
  border-left: 3px solid var(--color-gold);
  opacity: 0;
  transform: translateX(-40px);
  animation: textSlideReveal 15s ease infinite;
}

.site-header__video-text--left {
  left: 28px;
}

.site-header__video-text--left::before {
  animation-delay: 0.3s;
}

.site-header__video-text--left span {
  animation-delay: 0.6s;
}

.site-header__video-text--right {
  left: auto;
  right: 28px;
  top: auto;
  bottom: 28px;
  align-items: flex-end;
}

.site-header__video-text--right span {
  background: linear-gradient(270deg, rgba(27,58,75,0.6) 0%, rgba(27,58,75,0) 100%);
  border-left: none;
  border-right: 3px solid var(--color-gold);
}

.site-header__video-text--right::before {
  animation-delay: 1s;
}

.site-header__video-text--right span {
  animation-delay: 1.3s;
}

/* Gold line draws in, holds, disappears */
@keyframes textLineReveal {
  0%    { width: 0; opacity: 0; }
  3%    { opacity: 1; }
  8%    { width: 60px; }
  30%   { width: 60px; opacity: 1; }
  38%   { width: 0; opacity: 0; }
  100%  { width: 0; opacity: 0; }
}

/* Text slides in, holds, fades out */
@keyframes textSlideReveal {
  0%    { opacity: 0; transform: translateX(-40px); }
  5%    { opacity: 0; transform: translateX(-40px); }
  12%   { opacity: 1; transform: translateX(0); }
  30%   { opacity: 1; transform: translateX(0); }
  38%   { opacity: 0; transform: translateX(10px); }
  100%  { opacity: 0; transform: translateX(-40px); }
}

/* Navy parallelogram — centered, skewed */
.site-header__parallelogram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(42, 80, 104, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(0, 0, 0, 0.35),
    0 0 120px rgba(0, 0, 0, 0.15);
  animation: circleBreath 4s ease-in-out infinite alternate;
}

@keyframes circleBreath {
  0% {
    box-shadow:
      0 0 30px rgba(0, 0, 0, 0.4),
      0 0 60px rgba(0, 0, 0, 0.2),
      0 0 90px rgba(0, 0, 0, 0.08);
  }
  100% {
    box-shadow:
      0 0 50px rgba(0, 0, 0, 0.7),
      0 0 100px rgba(0, 0, 0, 0.4),
      0 0 140px rgba(0, 0, 0, 0.2);
  }
}

@keyframes goldSweep {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -100% 0; }
}

/* Navy trapezoids bridging bars to rectangle edges */
.site-header__trap {
  display: none;
}

/* Left trapezoid */
.site-header__trap--left {
  left: calc(50% - 160px);
  width: 65px;
  clip-path: polygon(
    26% 0,         /* top-left: tucked into gold bar */
    100% 0,        /* top-right: top corner of white rectangle */
    100% 100%,     /* bottom-right: straight down (90°) */
    -2% 100%       /* bottom-left: further into gold bar */
  );
}

/* Right trapezoid */
.site-header__trap--right {
  left: calc(50% + 95px);
  width: 65px;
  clip-path: polygon(
    0 0,           /* top-left: top corner of white rectangle */
    106% 0,        /* top-right: extended into gold bar */
    74% 100%,      /* bottom-right: tucked into gold bar */
    0 100%         /* bottom-left: straight down (90°) */
  );
}

/* White bars — 33px wide, 16px gap from parallelogram */
.site-header__bar {
  display: none;
}

.site-header__bar--left {
  left: calc(50% - 169px);
}

.site-header__bar--right {
  left: calc(50% + 136px);
}

/* Logo — centered within the visible rectangle */
.site-header__logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
}

/* The visible rectangle is offset from the parallelogram center
   because the left triangle eats bottom-left and right eats top-right.
   The visual center of the rectangle is the same as the parallelogram center,
   so no offset needed — the triangles are symmetric. */

.site-header__logo-container a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.site-header__logo {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}

.site-header__name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.site-header__title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

.site-header__tagline {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* ==========================================================================
   MAIN NAV — Sticky navigation bar
   ========================================================================== */
.main-nav {
  background-color: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: box-shadow 0.3s ease;
}

.main-nav--scrolled {
  box-shadow: var(--shadow-lg);
}

.main-nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: calc(var(--z-overlay) + 1);
}

.main-nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text-inverse);
  border-radius: 1px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease,
              width 0.3s ease;
}

.main-nav__hamburger span:nth-child(1) { top: 14px; width: 20px; }
.main-nav__hamburger span:nth-child(2) { top: 21px; width: 14px; }
.main-nav__hamburger span:nth-child(3) { top: 28px; width: 20px; }

/* Gold accent dot */
.main-nav__hamburger::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Open state: diamond cross */
.main-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  width: 20px;
  transform: translateX(-50%) rotate(135deg);
}
.main-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.main-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  width: 20px;
  transform: translateX(-50%) rotate(-135deg);
}
.main-nav__hamburger[aria-expanded="true"]::after {
  opacity: 0;
  transform: translateX(-50%) scale(0);
}

/* Mobile-only elements (hidden on desktop, shown in responsive.css) */
.main-nav__logo-mobile { display: none; }

.main-nav__social-mobile { display: none; }

/* Nav actions: search */
.main-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.main-nav__search-btn {
  position: relative;
  z-index: 50;
  background: none;
  border: none;
  color: var(--color-text-inverse);
  cursor: pointer;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.main-nav__search-btn:hover {
  opacity: 1;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: block;
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-5);
  transition: var(--transition-colors);
  position: relative;
  white-space: nowrap;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--duration-normal) var(--ease-default);
}

.main-nav__link:hover,
.main-nav__link--active {
  color: var(--color-gold);
}

.main-nav__link:hover::after,
.main-nav__link--active::after {
  width: calc(100% - var(--space-10));
}

/* ── Hamburger Toggle ───────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  position: absolute;
  right: var(--container-padding);
  top: 50%;
  transform: translateY(-50%);
  z-index: calc(var(--z-sticky) + 1);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-transform), var(--transition-opacity);
  transform-origin: center;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   LITURGICAL STRIP — Auto-scrolling ticker
   ========================================================================== */
.liturgia-strip {
  background: var(--color-navy);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-xs);
  font-family: var(--font-sans);
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  height: 32px;
  position: relative;
}

.liturgia-strip__ticker {
  position: relative;
  height: 100%;
  text-align: center;
}

.liturgia-strip__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 0 var(--space-4);
}

.liturgia-strip__slide--active {
  opacity: 1;
  transform: translateY(0);
}

.liturgia-strip__slide--exit {
  opacity: 0;
  transform: translateY(-100%);
}

.liturgia-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-block;
  flex-shrink: 0;
}

.liturgia-strip__lbl {
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
}

.liturgia-strip__src {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 10px;
  font-style: italic;
  margin-left: 4px;
}

.liturgia-strip__src:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   HERO ROW — Carousel (60%) + Vatican Feed (40%)
   ========================================================================== */
.hero-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
}

/* ── Vatican News Feed Sidebar ────────────────────────────────────── */
.vatican-feed {
  background: var(--color-white);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  max-height: 480px;
  overflow-y: auto;
}

.vatican-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-warm);
}

.vatican-feed__title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.vatican-feed__link {
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
}

.vatican-feed__link:hover { text-decoration: underline; }

.vatican-feed__list {
  flex: 1;
  overflow-y: auto;
}

.vatican-feed__item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s;
}

.vatican-feed__item:hover {
  background: var(--color-bg-warm);
}

.vatican-feed__thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.vatican-feed__item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vatican-feed__item-title {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vatican-feed__item-time {
  font-size: 11px;
  color: var(--color-text-muted);
}

.vatican-feed__loading,
.vatican-feed__error {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* YouTube section */
.vatican-feed__youtube {
  border-top: 2px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-warm);
}

.vatican-feed__subtitle {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vatican-feed__live-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  margin: var(--space-3);
  margin-bottom: var(--space-3);
  width: calc(100% - var(--space-6));
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.vatican-feed__live-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vatican-feed__yt-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Instagram section */
.vatican-feed__instagram {
  border-top: 2px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-warm);
}

.vatican-feed__subtitle--ig {
  color: #E1306C;
}

.ig-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: var(--space-2);
}

.ig-feed__item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 3px;
}

.ig-feed__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ig-feed__item:hover .ig-feed__img {
  transform: scale(1.08);
  opacity: 0.85;
}

.ig-feed__follow {
  display: block;
  text-align: center;
  padding: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #4A90D9;
  text-decoration: none;
  margin-top: var(--space-2);
}

.ig-feed__follow:hover {
  text-decoration: underline;
  color: #3672B5;
}

/* Instagram single-post carousel */
.ig-carousel__slides {
  position: relative;
  min-height: 200px;
}

.ig-carousel__slide {
  display: none;
}

.ig-carousel__slide--active {
  display: block;
}

.ig-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-2) 0;
}

.ig-carousel__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ig-carousel__arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.ig-carousel__counter {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.vatican-feed__yt-item {
  display: flex;
  gap: var(--space-2);
  text-decoration: none;
  align-items: center;
}

.vatican-feed__yt-item:hover .vatican-feed__yt-title {
  color: var(--color-gold);
}

.vatican-feed__yt-thumb {
  width: 80px;
  height: 45px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.vatican-feed__yt-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

/* ==========================================================================
   HERO SECTION — Article carousel
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-warm, #F6F7F9);
}

/* Carousel container */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

/* Individual slide */
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-carousel__slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* Background image */
.hero-carousel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease-out;
}

.hero-carousel__slide--active .hero-carousel__bg {
  transform: scale(1.05);
}

/* Placeholder variant — used when an article has no cover image.
   Renders a plain navy panel instead of a stock "Stella Maris Media"
   placeholder image. The hero gradient overlay on top keeps the
   title legible against the solid colour. */
.hero-carousel__bg--placeholder {
  background-color: var(--color-navy);
  background-image: none !important;
}
.hero-carousel__slide--active .hero-carousel__bg--placeholder {
  transform: none;
}

/* Dark gradient overlay */
.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(19, 40, 48, 0.95) 0%,
    rgba(19, 40, 48, 0.6) 35%,
    rgba(19, 40, 48, 0.25) 65%,
    rgba(19, 40, 48, 0.1) 100%
  );
}

/* Text content */
.hero-carousel__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-10) var(--container-padding) var(--space-12);
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 2;
}

.hero-carousel__category {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  text-decoration: none;
  transition: background-color 0.2s;
}

.hero-carousel__category:hover {
  background-color: var(--color-gold-light);
}

.hero-carousel__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-3);
  max-width: 680px;
}

.hero-carousel__title a {
  color: var(--color-white);
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-carousel__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-underline-offset: 4px;
}

.hero-carousel__excerpt {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 560px;
}

/* Navigation arrows — top right corner, small */
.hero-carousel__arrow {
  position: absolute;
  top: 16px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(19, 40, 48, 0.6);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.hero-carousel__arrow svg {
  width: 18px;
  height: 18px;
}

.hero-carousel__arrow:hover {
  background: rgba(201, 168, 76, 0.8);
  border-color: var(--color-gold);
}

.hero-carousel__arrow--prev { right: 62px; }
.hero-carousel__arrow--next { right: 16px; }

/* Dots */
.hero-carousel__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-carousel__dot--active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.2);
}

.hero-carousel__dot:hover {
  border-color: var(--color-gold);
}

/* Progress bar */
.hero-carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 5;
}

.hero-carousel__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-gold);
  transition: width 6s linear;
}

/* ── Hero Skeleton Loaders ──────────────────────────────────────────────── */
.hero__skeleton {
  position: relative;
  width: 100%;
  min-height: 480px;
  background-color: var(--color-bg-warm, #F6F7F9);
  display: flex;
  align-items: flex-end;
}

.hero__skeleton .hero__content {
  z-index: 2;
}

.skeleton--image {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #E8E4DE 0%,
    #F5F1EB 50%,
    #E8E4DE 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton--badge {
  width: 100px;
  height: 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    #DDD8D0 0%,
    #EDE9E3 50%,
    #DDD8D0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: var(--space-4);
}

.skeleton--title {
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(
    90deg,
    #DDD8D0 0%,
    #EDE9E3 50%,
    #DDD8D0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: var(--space-3);
  max-width: 600px;
}

.skeleton--title:nth-child(3) {
  max-width: 420px;
}

.skeleton--text {
  height: 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    90deg,
    #DDD8D0 0%,
    #EDE9E3 50%,
    #DDD8D0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: var(--space-2);
  max-width: 500px;
}

.skeleton--text:last-child {
  max-width: 350px;
}

/* ==========================================================================
   CONTENT WRAPPER — 2-column layout
   ========================================================================== */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--content-gap);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-10) var(--container-padding);
}

.content-wrapper--full {
  grid-template-columns: 1fr;
}

/* ── Main Content Area ──────────────────────────────────────────────────── */
.main-content {
  min-width: 0; /* prevent grid blowout */
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ==========================================================================
   SITE FOOTER — 4-column dark footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-footer);
  color: var(--color-gray-300);
  padding-top: var(--space-16);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  padding-bottom: var(--space-12);
}

.site-footer__col-title,
.site-footer__heading {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.site-footer__col-title::after,
.site-footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--color-gold);
}

/* Footer Logo Column */
.site-footer__logo {
  width: 120px;
  height: auto;
  margin-bottom: var(--space-4);
  opacity: 0.9;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__description {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-300);
  text-align: center;
}

/* Footer Navigation */
.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__nav a {
  color: var(--color-gray-300);
  font-size: var(--text-sm);
  transition: var(--transition-colors);
}

.site-footer__nav a:hover {
  color: var(--color-gold);
  padding-left: var(--space-2);
}

/* Footer Social */
.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background-color: var(--color-footer-light);
  color: var(--color-gray-300);
  font-size: var(--text-lg);
  transition: var(--transition-all);
}

.site-footer__social a:hover {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  transform: translateY(-2px);
}

/* Footer Contact */
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.site-footer__contact a {
  color: var(--color-gray-300);
  transition: var(--transition-colors);
}

.site-footer__contact a:hover {
  color: var(--color-gold);
}

.site-footer__col a {
  color: var(--color-gray-300);
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--color-gold);
}

/* Footer Bottom Bar */
.site-footer__bottom {
  border-top: 1px solid var(--color-footer-light);
  padding: var(--space-3) 0;
  text-align: center;
}

.site-footer__bottom .container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-gray-500);
}

.site-footer__bottom a {
  color: var(--color-gray-500);
}

.site-footer__bottom a:hover {
  color: var(--color-gold);
}

/* Fix: center footer logo column */
.site-footer__col:first-child { text-align: center; }
.site-footer__mission { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-gray-300); text-align: center; }

.site-footer__bottom p { margin: 0; line-height: 1.4; }

/* ── Inner Page Header (non-homepage) ──────────────────────── */
.site-header--inner { background: var(--color-white); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.site-header--inner__container { display: flex; align-items: center; }
.site-header--inner__brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.site-header--inner__logo { width: 50px; height: auto; }
.site-header--inner__name { display: flex; flex-direction: column; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--color-navy); line-height: 1.15; letter-spacing: 0.08em; text-transform: uppercase; }
.site-header--inner__name span:first-child { font-size: 16px; }
.site-header--inner__name span:last-child { font-size: 13px; color: var(--color-navy-light); }

/* ── Nav Brand (inner pages — logo inline with nav) ────────── */
.main-nav__brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; margin-right: var(--space-4); flex-shrink: 0; }
.main-nav__brand-logo { width: 32px; height: auto; filter: brightness(0) invert(1); }
.main-nav__brand-name { display: flex; flex-direction: column; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--color-white); line-height: 1.1; letter-spacing: 0.06em; text-transform: uppercase; }
.main-nav__brand-name span:first-child { font-size: 13px; }
.main-nav__brand-name span:last-child { font-size: 10px; opacity: 0.7; }

/* ---- components.css ---- */
/* ==========================================================================
   STELLA MARIS MEDIA — Components
   Reusable UI elements: cards, buttons, badges, widgets, article layouts
   ========================================================================== */

/* ==========================================================================
   ARTICLE CARD
   ========================================================================== */
.article-card {
  background-color: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.article-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

/* Placeholder variant — rendered when an article has no cover_url /
   image_url. Navy gradient with the site logo as a semi-transparent
   watermark behind a Cinzel gold label. Echoes the hero carousel
   placeholder styling so empty cards feel intentional, not broken. */
.article-card__image-wrapper--placeholder {
  background: linear-gradient(135deg, #050368 0%, #1A3D52 55%, #0F2638 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card__image-wrapper--placeholder::before {
  /* Logo watermark, low opacity, centered. Sits behind the text via
     z-index. The mix-blend-mode lightens the darker navy areas so the
     logo silhouette reads clearly without overpowering the label. */
  content: '';
  position: absolute;
  inset: 0;
  /* the current logo (light ink, for dark backgrounds); it carries the name, so no label below */
  background-image: url('/img/logo-lockup-dark.svg?v=c');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 56% auto;
  opacity: 0.92;
  pointer-events: none;
}
.article-card__image-wrapper--placeholder::after {
  display: none;
  content: 'Stella Maris Media';
  position: relative;
  font-family: 'Montserrat', Georgia, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(201, 168, 76, 0.95);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
  z-index: 1;
  /* Push the label below the centered logo watermark */
  align-self: flex-end;
  margin-bottom: 18px;
  width: 100%;
}
/* Scale the label up on the big featured card */
.article-card--featured .article-card__image-wrapper--placeholder::after {
  font-size: 16px;
  letter-spacing: 2.6px;
  margin-bottom: 28px;
}
.article-card--featured .article-card__image-wrapper--placeholder::before {
  background-size: 30% auto;
  background-position: center 38%;
}

.article-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}

.article-card:hover .article-card__image {
  transform: scale(1.04);
}

.article-card__body {
  padding: var(--space-3) var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
  transition: var(--transition-colors);
}

.article-card__title a {
  color: inherit;
}

.article-card__title a:hover {
  color: var(--color-gold-dark);
}

.article-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}

.article-card__author {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

.article-card__date {
  white-space: nowrap;
}

/* ── Featured Article Card (larger) ─────────────────────────────────────── */
.article-card--featured {
  grid-column: 1 / -1;
}

.article-card--featured .article-card__image-wrapper {
  aspect-ratio: 21 / 9;
}

.article-card--featured .article-card__title {
  font-size: var(--text-2xl);
}

.article-card--featured .article-card__excerpt {
  font-size: var(--text-base);
  -webkit-line-clamp: 4;
}

/* ==========================================================================
   ARTICLE GRID
   ========================================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-all);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Outline variant */
.btn--outline {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn--outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Gold variant */
.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
}

/* Instagram variant */
.btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--color-white);
  border-color: transparent;
}

.btn--instagram:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

/* ==========================================================================
   SECTION TITLE — Decorative heading with gold underline
   ========================================================================== */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-3);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
}

/* Center variant */
.section-title--center {
  display: block;
  text-align: center;
}

.section-title--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   CATEGORY BADGE — Small colored pill
   ========================================================================== */
.category-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  transition: var(--transition-colors);
  line-height: 1.4;
}

.category-badge:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-navy-dark);
}

.category-badge--red {
  background-color: var(--color-red);
  color: var(--color-white);
}

.category-badge--red:hover {
  background-color: var(--color-red-light);
  color: var(--color-white);
}

.category-badge--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.widget-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-gold);
}

.sidebar__widget {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

/* Lepanto (study group) widget — dark variant */
.sidebar__widget--lepanto {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-gray-300);
}

.sidebar__widget--lepanto .widget-title {
  color: var(--color-white);
  border-bottom-color: var(--color-gold);
}

.sidebar__widget--lepanto p {
  color: var(--color-gray-400);
}

.sidebar__widget--lepanto a {
  color: var(--color-gold-light);
}

.sidebar__widget--lepanto a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   TAG LIST — Horizontal scrollable category tags
   ========================================================================== */
.tag-list {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tag-list::-webkit-scrollbar {
  display: none;
}

.tag-list__item {
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-navy);
  background-color: var(--color-beige);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: var(--transition-all);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.tag-list__item:hover,
.tag-list__item.is-active {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
}

/* ==========================================================================
   LOAD MORE
   ========================================================================== */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  padding: var(--space-10) 0 var(--space-4);
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: var(--transition-colors);
}

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

.breadcrumb__separator {
  color: var(--color-gray-300);
  font-size: var(--text-xs);
}

.breadcrumb__current {
  color: var(--color-navy);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   INSTAGRAM EMBEDS
   ========================================================================== */
.instagram-embeds {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 540px;
  margin: 0 auto;
}

.instagram-embeds iframe {
  width: 100% !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ARTICLE SINGLE — Full article page
   ========================================================================== */
.article-single {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-10) var(--container-padding);
  --article-content-width: 820px;
}

.article-single__header {
  text-align: center;
  margin: 0 auto var(--space-10) auto;
  max-width: var(--article-content-width);
}

.article-single__category {
  margin-bottom: var(--space-4);
}

.article-single__title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-black);
  color: var(--color-navy);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.article-single__subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-relaxed);
  font-style: italic;
}

/* ── Article Meta ───────────────────────────────────────────────────────── */
.article-single__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-single__meta-author {
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
}

.article-single__meta-divider {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background-color: var(--color-gray-300);
}

/* ── Article Featured Image ─────────────────────────────────────────────── */
.article-single__image {
  /* Match the same content width the header/body use so the cover
     image lines up with the title and text column below it instead
     of stretching to the full 1200px .article-single wrapper. */
  max-width: var(--article-content-width);
  width: 100%;
  margin: 0 auto var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.article-single__image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-single__image-caption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: calc(var(--space-3) * -1);
  margin-bottom: var(--space-8);
}

/* ── Article Body — Reading typography ──────────────────────────────────── */
.article-single__body {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: var(--color-text-primary);
  max-width: var(--article-content-width);
  margin: 0 auto;
}

.article-single__body p {
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
  font-size: inherit;
  line-height: inherit;
}

.article-single__body h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
}

.article-single__body h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article-single__body h4 {
  font-size: var(--text-lg);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-single__body img {
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
  box-shadow: var(--shadow-md);
}

/* Imported-article floated figures (fig-l/fig-r) — from Christine's
   original stellamaris.media article bodies (Phase 7 content import).
   Float + caption, clears itself so trailing paragraphs don't wrap
   underneath indefinitely. */
.article-single__body figure.fig-l,
.article-single__body figure.fig-r {
  max-width: 45%;
  margin: var(--space-2) 0 var(--space-6);
  clear: none;
}

.article-single__body figure.fig-l {
  float: left;
  margin-right: var(--space-6);
}

.article-single__body figure.fig-r {
  float: right;
  margin-left: var(--space-6);
}

/* Text beside a picture stays tidy: a new section, a full-width picture, a video or a
   quote always starts below a side picture, and the article never ends mid-float. */
.article-single__body h2,
.article-single__body h3,
.article-single__body hr,
.article-single__body blockquote,
.article-single__body figure:not(.fig-l):not(.fig-r) { clear: both; }
.article-single__body::after { content: ""; display: table; clear: both; }

.article-single__body figure.fig-l img,
.article-single__body figure.fig-r img {
  margin: 0;
  width: 100%;
  height: auto;
}

.article-single__body figure.fig-l figcaption,
.article-single__body figure.fig-r figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  line-height: var(--leading-snug);
  font-style: italic;
}

/* Imported-article embedded video (YouTube iframe) — responsive 16:9 box */
.article-single__body .video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  clear: both;
}

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

/* A since-deleted/privated YouTube video -- text-only placeholder */
.article-single__body .video-gone {
  clear: both;
  margin: var(--space-8) 0;
  padding: var(--space-6);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-beige);
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}

.article-single__body .video-gone p {
  margin: 0;
  color: inherit;
}

@media (max-width: 640px) {
  .article-single__body figure.fig-l,
  .article-single__body figure.fig-r {
    float: none;
    max-width: 100%;
    margin: var(--space-6) 0;
  }
}

.article-single__body blockquote {
  /* Mirrors the admin editor's blockquote so the WYSIWYG preview
     and the published article look the same. Sans font, stone-grey
     text on cream background, subtle right rounded corner, no
     dramatic Playfair italic. Overrides base.css which is used
     elsewhere (newsletter, etc). */
  font-family: inherit;
  font-size: inherit;
  color: #5B6573;
  background: #F6F7F9;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 6px 6px 0;
  padding: 14px 22px;
  margin: 20px 0;
  font-style: italic;
  line-height: var(--leading-relaxed);
}
.article-single__body blockquote p {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 0;
}

.article-single__body ul,
.article-single__body ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.article-single__body ul {
  list-style: disc;
}

.article-single__body ol {
  list-style: decimal;
}

.article-single__body li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

.article-single__body hr {
  margin: var(--space-10) auto;
  max-width: 100px;
  border-top: 2px solid var(--color-gold);
}

/* Drop cap for first paragraph — class-based. A tiny JS helper in
   articles.js tags the first "real" paragraph with .drop-cap, skipping
   pseudo-title paragraphs (where the content is a span with a heading
   font-size). That way editors can put a styled title line before the
   body and the drop cap still lands on the first real paragraph. */
/* Source / Fonte footer at the bottom of an article. Shown as a
   bordered aside with a subtle background so readers can clearly see
   the attribution and follow through to the original source. */
.article-single__source {
  display: block;
  max-width: var(--article-content-width);
  margin: 40px auto 0 auto;
  padding: 16px 0 0 0;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  line-height: 1.55;
  word-break: break-word;
}
.article-single__source strong {
  font-weight: 700;
  color: inherit;
  font-style: italic;
  margin-right: 4px;
}
.article-single__source a {
  color: #4b5563;
  text-decoration: underline;
  font-style: italic;
  word-break: break-all;
}
.article-single__source a:hover { color: #1f2937; }

.article-single__body > p.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: var(--font-weight-black);
  float: left;
  line-height: 0.8;
  padding-right: var(--space-3);
  padding-top: var(--space-2);
  color: var(--color-navy);
}

/* ── Share Buttons ──────────────────────────────────────────────────────── */
.article-single__share {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  margin-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.article-single__share-label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  white-space: nowrap;
}

.article-single__share-buttons {
  display: flex;
  gap: var(--space-2);
}

.article-single__share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background-color: var(--color-beige);
  color: var(--color-navy);
  font-size: var(--text-base);
  transition: var(--transition-all);
  cursor: pointer;
  border: none;
}

.article-single__share-btn:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   SAINT CARD — Santo do Dia
   ========================================================================== */
.saint-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.saint-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 320px;
}

.saint-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.saint-card__body {
  padding: var(--space-6);
}

.saint-card__feast {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-2);
}

.saint-card__name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.saint-card__title {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.saint-card__summary {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SAINT CALENDAR — Month/day grid
   ========================================================================== */
.saint-calendar {
  margin: var(--space-8) 0;
}

.saint-calendar__month-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  text-align: center;
  margin-bottom: var(--space-6);
}

.saint-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.saint-calendar__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition-all);
}

.saint-calendar__nav-btn:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.saint-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
}

.saint-calendar__day-header {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  text-align: center;
  padding: var(--space-2);
}

.saint-calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: var(--transition-all);
}

.saint-calendar__day:hover {
  background-color: var(--color-beige);
  border-color: var(--color-gold);
}

.saint-calendar__day.is-today {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  font-weight: var(--font-weight-bold);
  border-color: var(--color-gold);
}

.saint-calendar__day.is-feast {
  color: var(--color-red);
  font-weight: var(--font-weight-bold);
}

.saint-calendar__day.is-empty {
  visibility: hidden;
}

/* ==========================================================================
   MATERIAL CARD — Downloadable resource
   ========================================================================== */
.material-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: var(--transition-shadow);
}

.material-card:hover {
  box-shadow: var(--shadow-md);
}

.material-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background-color: var(--color-beige);
  color: var(--color-navy);
  font-size: var(--text-2xl);
}

.material-card__content {
  flex-grow: 1;
  min-width: 0;
}

.material-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.material-card__description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  line-height: var(--leading-normal);
}

.material-card__meta {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
}

.material-card__download {
  flex-shrink: 0;
  align-self: center;
}

/* ==========================================================================
   CONTACT INFO
   ========================================================================== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background-color: var(--color-beige);
  color: var(--color-navy);
  font-size: var(--text-xl);
}

.contact-info__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
  color: var(--color-navy);
  font-weight: var(--font-weight-medium);
}

.contact-info__value a {
  color: var(--color-navy);
}

.contact-info__value a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   LEPANTO CONTENT — Study group page
   ========================================================================== */
.lepanto-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-10) var(--container-padding);
}

.lepanto-content__hero {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  margin-bottom: var(--space-10);
}

.lepanto-content__hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.lepanto-content__hero p {
  color: var(--color-gray-300);
  font-size: var(--text-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lepanto-content__section {
  margin-bottom: var(--space-10);
}

.lepanto-content__section h2 {
  margin-bottom: var(--space-5);
}

.lepanto-content__section p {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-10) 0;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition-all);
  cursor: pointer;
  text-decoration: none;
}

.pagination__item:hover {
  background-color: var(--color-beige);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.pagination__item.is-active {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

.pagination__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pagination__ellipsis {
  color: var(--color-gray-400);
  padding: 0 var(--space-2);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: toastIn var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.toast.is-leaving {
  animation: toastOut var(--duration-normal) var(--ease-in) forwards;
}

.toast--success {
  background-color: #16a34a;
}

.toast--error {
  background-color: var(--color-red);
}

/* ==========================================================================
   NO RESULTS — Empty state
   ========================================================================== */
.no-results {
  text-align: center;
  padding: var(--space-16) var(--space-8);
}

.no-results__icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  opacity: 0.4;
}

.no-results__title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.no-results__message {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* ================================================================
   JS-generated classes (santo widget, calendar, article cards, etc.)
   ================================================================ */

/* Santo Widget (sidebar) */
.santo-widget-card { padding: var(--space-4); text-align: center; }
.santo-widget-heading { display: none; } /* already in sidebar section title */
.santo-widget-image { width: 100%; max-width: 200px; height: auto; border-radius: var(--radius-lg); margin: 0 auto var(--space-3); display: block; }
.santo-widget-name { font-family: var(--font-serif); font-size: var(--text-lg); color: var(--color-navy); margin-bottom: var(--space-1); }
.santo-widget-title { display: block; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.santo-widget-summary { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-3); }
.santo-widget-link { display: inline-block; font-size: var(--text-sm); font-weight: 600; color: var(--color-gold); text-decoration: none; }
.santo-widget-link:hover { color: var(--color-gold-dark, #a88a3a); text-decoration: underline; }
.santo-widget-empty { text-align: center; padding: var(--space-6) var(--space-4); color: var(--color-text-muted); }
.santo-cross-icon { margin-bottom: var(--space-3); opacity: 0.4; }

/* Santo Today (full page) */
.santo-today-section { margin-bottom: var(--space-8); }
.santo-today-heading { font-family: var(--font-serif); font-size: var(--text-2xl); color: var(--color-navy); margin-bottom: var(--space-6); }
.santo-today-card { display: flex; gap: var(--space-6); align-items: flex-start; padding: var(--space-6); background: var(--color-bg-warm); border-radius: var(--radius-lg); }
.santo-today-image { width: 200px; height: auto; border-radius: var(--radius-lg); flex-shrink: 0; }
.santo-today-info { flex: 1; }
.santo-today-name { font-family: var(--font-serif); font-size: var(--text-xl); color: var(--color-navy); margin-bottom: var(--space-2); }
.santo-today-title { font-size: var(--text-base); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.santo-today-bio { font-size: var(--text-base); line-height: 1.7; color: var(--color-text); }
.santo-today-empty { color: var(--color-text-muted); font-style: italic; }

/* Month Tabs */
.month-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.month-tab { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); background: var(--color-bg); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-text); cursor: pointer; transition: all 0.2s; }
.month-tab:hover { border-color: var(--color-gold); color: var(--color-gold); }
.month-tab.active { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }

/* Santo Calendar Grid */
.santo-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-2); }
.santo-calendar-cell { padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); min-height: 60px; font-size: var(--text-sm); transition: all 0.2s; }
.santo-calendar-cell.has-saint { background: var(--color-bg-warm); border-color: var(--color-gold); cursor: pointer; }
.santo-calendar-cell.has-saint:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.santo-calendar-cell.selected { background: var(--color-navy); border-color: var(--color-navy); }
.santo-calendar-cell.selected .santo-calendar-day,
.santo-calendar-cell.selected .santo-calendar-name { color: #fff; }
.santo-calendar-cell.empty { opacity: 0.5; }
.santo-calendar-day { display: block; font-weight: 600; color: var(--color-navy); margin-bottom: var(--space-1); }
.santo-calendar-name { display: block; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.3; }
.santo-loading { text-align: center; color: var(--color-text-muted); padding: var(--space-8); }

/* Santo Detail Panel */
.santo-detail-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.santo-detail-panel.visible { max-height: 600px; margin-top: var(--space-6); }
.santo-detail-card { position: relative; padding: var(--space-6); background: var(--color-bg-warm); border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.santo-detail-close { position: absolute; top: var(--space-3); right: var(--space-3); background: none; border: none; font-size: var(--text-2xl); color: var(--color-text-muted); cursor: pointer; line-height: 1; }
.santo-detail-close:hover { color: var(--color-text); }
.santo-detail-date { font-family: var(--font-serif); font-size: var(--text-sm); color: var(--color-gold); margin-bottom: var(--space-4); }
.santo-detail-content { display: flex; gap: var(--space-5); align-items: flex-start; }
.santo-detail-image { width: 150px; height: auto; border-radius: var(--radius-lg); flex-shrink: 0; }
.santo-detail-info { flex: 1; }
.santo-detail-name { font-family: var(--font-serif); font-size: var(--text-xl); color: var(--color-navy); margin-bottom: var(--space-2); }
.santo-detail-title { font-size: var(--text-base); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.santo-detail-bio { font-size: var(--text-sm); line-height: 1.7; color: var(--color-text); }

/* Article Share Buttons */
/* Share row — the top border spans the full article width, but the
   actual icons line up with the body text (not the decorative line).
   All icons are normalised to the same box + same internal size so
   WhatsApp / X / copy-link visually match. */
.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-6);
  margin: var(--space-6) auto 0 auto;
  max-width: var(--article-content-width);
  border-top: 1px solid var(--color-border);
}
.article-share-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  padding: 0;
  flex-shrink: 0;
}
.share-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.share-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Article Not Found */
.article-not-found { text-align: center; padding: var(--space-12) var(--space-4); }
.article-not-found h2 { font-family: var(--font-serif); font-size: var(--text-2xl); color: var(--color-navy); margin-bottom: var(--space-3); }
.article-not-found p { color: var(--color-text-muted); margin-bottom: var(--space-6); }

/* Empty message */
.empty-message { text-align: center; color: var(--color-text-muted); padding: var(--space-8); font-style: italic; }

/* Article card link wrapper */
.article-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }

/* Search dropdown */
.search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 100; max-height: 400px; overflow-y: auto; margin-top: var(--space-2); }
.search-dropdown__item { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) var(--space-4); text-decoration: none; color: var(--color-text); border-bottom: 1px solid var(--color-border); transition: background 0.15s; }
.search-dropdown__item:last-child { border-bottom: none; }
.search-dropdown__item:hover { background: var(--color-bg-warm); }
.search-dropdown__title { font-size: var(--text-sm); font-weight: 500; }
.search-dropdown__category { font-size: var(--text-xs); color: var(--color-text-muted); }
.search-dropdown__empty { padding: var(--space-4); text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }

/* Back to top button */
.back-to-top { position: fixed; bottom: var(--space-6); right: var(--space-6); width: 44px; height: 44px; border-radius: 50%; background: var(--color-navy); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(20px); transition: all 0.3s; z-index: 50; }
.back-to-top--visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--color-navy-light, #2C5F7C); }

/* Toast notification */
.toast { position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%) translateY(20px); background: var(--color-navy); color: #fff; padding: var(--space-3) var(--space-6); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; transition: all 0.3s; z-index: 9999; }
.toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Santo do Dia Page Layout */
.santo-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.santo-page__main { min-width: 0; }
.santo-page__calendar { margin-top: var(--space-6); }

/* Full Saint Detail below calendar */
.santo-full {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 2px solid var(--color-border);
}

.santo-full__header {
  margin-bottom: var(--space-6);
}

.santo-full__date {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.santo-full__name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.santo-full__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.santo-full__body {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  max-width: 680px;
}

.santo-full__body p {
  margin-bottom: var(--space-4);
}

.santo-full__ref {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
}

.santo-full__ref:hover {
  text-decoration: underline;
}

.santo-today-loading { padding: var(--space-4) 0; }

.santo-page__sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* Extraordinary Form Card */
.santo-extra-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.santo-extra-card__header {
  background: var(--color-navy);
  padding: var(--space-4) var(--space-5);
}

.santo-extra-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 2px;
}

.santo-extra-card__subtitle {
  font-size: 11px;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.santo-extra-card__body { padding: var(--space-4) var(--space-5); }

.santo-extra-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: capitalize;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.santo-extra-card__mass {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.santo-extra-card__mass:last-child { margin-bottom: 0; }

.santo-extra-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
  margin-top: 3px;
}

.santo-extra-card__mass strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 2px;
}

.santo-extra-card__meta {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}

.santo-extra-card__link {
  display: block;
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.santo-extra-card__link:hover { background: var(--color-beige-dark); }

@media (max-width: 768px) {
  .santo-page {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .santo-page__main {
    display: contents;
  }
  .santo-page__sidebar {
    position: static;
    order: 2;
  }
  /* Calendar first, then cards, then santo details */
  .santo-page__main > section:first-child { order: 1; }
  .santo-page__sidebar { order: 2; }
  .santo-full { order: 3; }
}

/* Social Channels Widget */
.social-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.social-channel {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s;
  border-radius: var(--radius-sm);
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.social-channel:last-child { border-bottom: none; }

.social-channel:hover {
  background: var(--color-bg-warm);
}

.social-channel__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-channel__icon--whatsapp { background: #25D366; color: #fff; }
.social-channel__icon--youtube { background: #FF0000; color: #fff; }
.social-channel__icon--telegram { background: #0088CC; color: #fff; }

.social-channel__info { display: flex; flex-direction: column; }

.social-channel__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.social-channel__desc {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* AMDG Credit */
.footer-credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--color-gold);
}

.amdg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.amdg-link:hover .amdg-icon {
  transform: scale(1.15);
}

.amdg-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.amdg-logo-credit {
  height: 14px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.amdg-link:hover .amdg-logo-credit {
  transform: scale(1.05);
  opacity: 1 !important;
}

/* Nav open body lock */
body.nav-open { overflow: hidden; }

/* Responsive santo */
@media (max-width: 768px) {
  .santo-today-card { flex-direction: column; }
  .santo-today-image { width: 100%; max-width: 300px; }
  .santo-calendar-grid { grid-template-columns: repeat(4, 1fr); }
  .santo-detail-content { flex-direction: column; }
  .santo-detail-image { width: 100%; max-width: 200px; }
  .article-share { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .santo-calendar-grid { grid-template-columns: repeat(3, 1fr); }
  .month-tabs { gap: var(--space-1); }
  .month-tab { padding: var(--space-1) var(--space-2); font-size: var(--text-xs); }
}

/* ── AI Search Results ─────────────────────────────────────── */
.search-ai-results { position: absolute; top: calc(100% + var(--space-3, 12px)); left: 0; right: 0; max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.search-ai-loading { display: flex; align-items: center; gap: var(--space-3, 12px); color: rgba(255,255,255,0.7); font-size: var(--text-sm, 14px); padding: var(--space-4, 16px) 0; }
.search-ai-shimmer { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--color-gold, #D4A574); border-radius: 50%; animation: search-spin 0.8s linear infinite; }
@keyframes search-spin { to { transform: rotate(360deg); } }
.search-ai-empty { color: rgba(255,255,255,0.6); font-size: var(--text-sm, 14px); padding: var(--space-4, 16px) 0; text-align: center; }
.search-ai-item { display: flex; align-items: flex-start; gap: var(--space-3, 12px); padding: var(--space-3, 12px) var(--space-4, 16px); background: rgba(255,255,255,0.08); border-radius: var(--radius-md, 8px); text-decoration: none; color: #fff; transition: background 0.15s; cursor: pointer; }
.search-ai-item:hover { background: rgba(255,255,255,0.15); }
.search-ai-item__badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.search-ai-item__badge--article { background: rgba(27, 58, 75, 0.9); color: #8ab4c9; }
.search-ai-item__badge--saint { background: rgba(212, 165, 116, 0.25); color: var(--color-gold, #D4A574); }
.search-ai-item__badge--material { background: rgba(39, 174, 96, 0.2); color: #5dd99e; }
.search-ai-item__badge--instagram { background: rgba(225, 48, 108, 0.2); color: #f07; }
.search-ai-item__body { flex: 1; min-width: 0; }
.search-ai-item__title { font-size: var(--text-sm, 14px); font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-ai-item__subtitle { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.search-ai-item__relevance { font-size: 12px; color: var(--color-gold, #D4A574); font-style: italic; margin-top: 4px; opacity: 0.85; }

/* ── Notícias Search Bar ───────────────────────────────────── */
.listing-search { position: relative; display: flex; align-items: center; max-width: 100%; margin-top: var(--space-4); margin-bottom: 0; }
.listing-search__icon { position: absolute; left: var(--space-4); color: var(--color-text-muted); pointer-events: none; }
.listing-search__input { width: 100%; padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 28px); font-size: var(--text-base); font-family: var(--font-sans); border: 1px solid var(--color-border); border-radius: var(--radius-xl, 12px); background: var(--color-white); color: var(--color-text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.listing-search__input:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15); }
.listing-search__input::placeholder { color: var(--color-text-muted); }
.listing-search__clear { position: absolute; right: var(--space-3); background: none; border: none; color: var(--color-text-muted); font-size: 24px; cursor: pointer; padding: var(--space-2); line-height: 1; opacity: 0.6; transition: opacity 0.2s; }
.listing-search__clear:hover { opacity: 1; }

/* ── Category Pills ────────────────────────────────────────── */
.listing-categories { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.listing-categories__pill { padding: var(--space-2) var(--space-4); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 500; border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-text); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.listing-categories__pill:hover { border-color: var(--color-navy); color: var(--color-navy); }
.listing-categories__pill--active { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }

/* ── AI Search Results ─────────────────────────────────────── */
.ai-results { background: var(--color-bg-warm, #F6F7F9); border-radius: var(--radius-lg, 12px); padding: var(--space-5); margin-bottom: var(--space-6); border: 1px solid var(--color-border); }
.ai-results__heading { font-family: 'Montserrat', sans-serif; font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin: 0 0 var(--space-4) 0; }
.ai-results__list { display: flex; flex-direction: column; gap: 2px; }
.ai-results__loading { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); padding: var(--space-3) 0; }
.ai-results__spinner { width: 20px; height: 20px; border: 2px solid var(--color-border); border-top-color: var(--color-gold); border-radius: 50%; animation: ai-spin 0.8s linear infinite; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-results__empty { color: var(--color-text-muted); font-size: var(--text-sm); padding: var(--space-2) 0; margin: 0; }
.ai-results__item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text); transition: background 0.15s; }
.ai-results__item:hover { background: var(--color-white); box-shadow: var(--shadow-card, 0 1px 3px rgba(0,0,0,0.08)); }
.ai-results__badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.ai-results__badge--article { background: rgba(27, 58, 75, 0.1); color: var(--color-navy); }
.ai-results__badge--saint { background: rgba(201, 168, 76, 0.15); color: #96791A; }
.ai-results__badge--material { background: rgba(39, 174, 96, 0.12); color: #1A8A4A; }
.ai-results__badge--instagram { background: rgba(225, 48, 108, 0.1); color: #C13584; }
.ai-results__body { flex: 1; min-width: 0; }
.ai-results__title { font-size: var(--text-sm); font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ai-results__meta { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.ai-results__note { font-size: 12px; color: var(--color-gold, #D4AF37); font-style: italic; margin-top: 4px; }

/* ── Notícias Section Heading ──────────────────────────────── */
.listing-section-heading { font-family: 'Montserrat', sans-serif; font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin: 0 0 var(--space-4) 0; padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }

/* ── Search hint text ──────────────────────────────────────── */
.listing-search__hint { font-size: var(--text-xs, 12px); color: var(--color-link, #3B82F6); margin: 4px 0 var(--space-4) var(--space-4); letter-spacing: 0.01em; padding: 0; }

/* ── Page title area spacing ───────────────────────────────── */
.page-title-area { padding-top: var(--space-6, 24px); text-align: left; }
.article-grid { text-align: left; }
.article-card__body { text-align: left; }
.listing-search { text-align: left; }
.listing-categories { justify-content: flex-start; }

/* ── Fix article card images without class ─────────────────── */
.article-card__image-wrapper img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-card__image-wrapper { line-height: 0; font-size: 0; }

.article-card__body .category-badge { margin-bottom: var(--space-2); }
.article-card__body > h3:first-child, .article-card__body > a:first-child + h3 { margin-top: 0; }

/* ── Support & Connect Widget ──────────────────────────────── */
.support-socials { display: flex; gap: var(--space-3); justify-content: center; padding-bottom: var(--space-4); }
.support-socials__btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.support-socials__btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.support-socials__btn--whatsapp { background: #25D366; }
.support-socials__btn--youtube { background: #FF0000; }
.support-socials__btn--telegram { background: #0088CC; }
.support-divider { border: none; border-top: 1px solid var(--color-gold); margin: 0 0 var(--space-4) 0; opacity: 0.4; }

/* ── Support socials with labels ───────────────────────────── */
.support-socials__link { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; transition: transform 0.2s; }
.support-socials__link:hover { transform: translateY(-2px); }
.support-socials__circle { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: box-shadow 0.2s; }
.support-socials__link:hover .support-socials__circle { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.support-socials__circle--whatsapp { background: #25D366; }
.support-socials__circle--youtube { background: #FF0000; }
.support-socials__circle--telegram { background: #0088CC; }
.support-socials__name { font-size: 11px; font-weight: 500; color: var(--color-text-muted); }

/* ── QR Toggle button ──────────────────────────────────────── */

/* ── Support widget centered titles ────────────────────────── */
.support-subheading { font-family: 'Montserrat', sans-serif; font-size: var(--text-sm); font-weight: 600; text-align: center; color: var(--color-navy); margin: 0 0 var(--space-4) 0; letter-spacing: 0.05em; }
#support-heading { text-align: center; }

/* ── Top Articles Widget ───────────────────────────────────── */
.top-articles-widget { padding: 0 !important; overflow: hidden; }
.top-articles__tabs { display: flex; }
.top-articles__tab { flex: 1; padding: var(--space-3) var(--space-4); border: none; background: var(--color-bg-warm, #F6F7F9); color: var(--color-text-muted); font-family: 'Montserrat', sans-serif; font-size: var(--text-xs, 12px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all 0.2s; border-bottom: 2px solid transparent; }
.top-articles__tab--active { background: var(--color-white); color: var(--color-navy); border-bottom-color: #5B8BA2; }
.top-articles__tab:hover:not(.top-articles__tab--active) { color: var(--color-navy); }
.top-articles__panel { padding: var(--space-3) 0; }
.top-articles__panel[hidden] { display: none; }
.top-articles__loading { padding: var(--space-4); text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }
.top-articles__list { list-style: none; margin: 0; padding: 0; }
.top-articles__item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); text-decoration: none; color: var(--color-text); transition: background 0.15s; }
.top-articles__item:last-child { border-bottom: none; }
.top-articles__item:hover { background: var(--color-bg-warm, #F6F7F9); }
.top-articles__rank { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #5B8BA2, #3A6B82); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.top-articles__item:nth-child(1) .top-articles__rank { background: linear-gradient(135deg, #5B8BA2, #2C5A70); }
.top-articles__item:nth-child(2) .top-articles__rank { background: linear-gradient(135deg, #6E9DB3, #4A7D94); }
.top-articles__item:nth-child(3) .top-articles__rank { background: linear-gradient(135deg, #82AFC3, #5B8BA2); }
.top-articles__item:nth-child(n+4) .top-articles__rank { background: linear-gradient(135deg, #96C1D4, #6E9DB3); }
.top-articles__info { flex: 1; min-width: 0; }
.top-articles__title { font-size: var(--text-sm); font-weight: 500; line-height: 1.4; color: var(--color-navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.top-articles__category { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.top-articles__thumb { flex-shrink: 0; width: 60px; height: 42px; border-radius: var(--radius-sm, 4px); object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════
   GRUPO LEPANTO PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Banner ───────────────────────────────────────────── */
.lep-hero { background: linear-gradient(135deg, #030252 0%, #050368 50%, #1A3545 100%); padding: var(--space-16, 64px) 0 var(--space-12, 48px); text-align: center; position: relative; overflow: hidden; }
.lep-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--color-gold), transparent); }
.lep-hero__badge { display: inline-block; font-family: 'EB Garamond', serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-gold); border: 1px solid rgba(201,168,76,0.3); padding: 6px 16px; border-radius: 999px; margin-bottom: var(--space-4); }
.lep-hero__title { font-family: 'Montserrat', sans-serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #fff; letter-spacing: 0.06em; margin: 0 0 var(--space-3); }
.lep-hero__subtitle { font-family: 'EB Garamond', serif; font-size: var(--text-lg, 18px); color: rgba(255,255,255,0.6); font-weight: 300; letter-spacing: 0.02em; margin: 0; }

/* ── Section Title ─────────────────────────────────────────── */
.lep-section-title { font-family: 'Montserrat', sans-serif; font-size: var(--text-xl, 20px); font-weight: 600; color: var(--color-navy); text-align: center; margin: 0 0 var(--space-8, 32px); text-transform: uppercase; letter-spacing: 0.08em; position: relative; padding-bottom: var(--space-4); }
.lep-section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: var(--color-gold); }
.lep-section-title--light { color: #fff; }
.lep-section-title--light::after { background: rgba(255,255,255,0.4); }

/* ── Intro ─────────────────────────────────────────────────── */
.lep-intro { padding: var(--space-12, 48px) 0; }
.lep-intro__grid { display: grid; grid-template-columns: 360px 1fr; gap: var(--space-10, 40px); align-items: center; }
.lep-intro__logo { text-align: center; }
.lep-intro__logo img { width: 100%; max-width: 360px; height: auto; border-radius: 50%; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.lep-intro__text { font-size: var(--text-lg, 18px); line-height: 1.9; color: var(--color-text); }
.lep-intro__text p { margin: 0 0 var(--space-4); }
.lep-intro__highlights { display: flex; flex-direction: column; gap: var(--space-3); }
.lep-highlight { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--color-bg-warm, #F6F7F9); border-radius: var(--radius-md, 8px); border-left: 3px solid var(--color-gold); }
.lep-highlight svg { color: #5B8BA2; flex-shrink: 0; }
.lep-highlight span { font-size: var(--text-sm); font-weight: 600; color: var(--color-navy); }

/* ── Battle Inspiration Quote ──────────────────────────────── */
.lep-battle { padding: var(--space-10, 40px) 0; background: var(--color-bg-warm, #F6F7F9); }
.lep-battle__grid { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-8, 32px); align-items: center; }
.lep-quote { margin: 0; padding: var(--space-6, 24px) var(--space-8, 32px); border-left: 4px solid var(--color-gold); font-family: 'EB Garamond', serif; font-style: italic; font-size: var(--text-base); line-height: 1.8; color: var(--color-text); }
.lep-quote__title { font-family: 'Montserrat', sans-serif; font-size: var(--text-base); font-weight: 700; font-style: normal; color: var(--color-navy); margin: 0 0 var(--space-3); letter-spacing: 0.03em; }
.lep-quote p { margin: 0 0 var(--space-3); }
.lep-quote p:last-child { margin-bottom: 0; }

/* ── Topics Grid ───────────────────────────────────────────── */
.lep-topics { padding: var(--space-12, 48px) 0; background: var(--color-bg-warm, #F6F7F9); }
.lep-topics__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6, 24px); }
.lep-topic { background: #fff; border-radius: var(--radius-lg, 12px); padding: var(--space-6, 24px); text-align: center; border: 1px solid var(--color-border); transition: transform 0.2s, box-shadow 0.2s; }
.lep-topic:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lep-topic__icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #5B8BA2, #3A6B82); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); color: #fff; }
.lep-topic__title { font-family: 'EB Garamond', serif; font-size: var(--text-base); font-weight: 700; color: var(--color-navy); margin: 0 0 var(--space-2); }
.lep-topic__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ── Locations ─────────────────────────────────────────────── */
.lep-locations { padding: var(--space-12, 48px) 0; background: #fff; }
.lep-locations__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6, 24px); max-width: 640px; margin: 0 auto; }
.lep-location { text-align: center; padding: var(--space-6, 24px); background: var(--color-bg-warm, #F6F7F9); border-radius: var(--radius-lg, 12px); border: 1px solid var(--color-border); }
.lep-location__icon { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #5B8BA2, #3A6B82); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-3); color: #fff; }
.lep-location__city { font-family: 'Montserrat', sans-serif; font-size: var(--text-base); font-weight: 700; color: var(--color-navy); margin: 0 0 var(--space-2); }
.lep-location__date { font-size: var(--text-sm); color: var(--color-text); margin: 0 0 var(--space-1); }
.lep-location__feast { font-size: var(--text-xs, 12px); color: var(--color-gold-dark, #A98A24); font-style: italic; margin: 0; }

/* ── How to Join ───────────────────────────────────────────── */
.lep-join { padding: var(--space-12, 48px) 0; background: linear-gradient(135deg, #132F48, #1B3A4B); color: #fff; }
.lep-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6, 24px); margin-bottom: var(--space-8, 32px); }
.lep-step { text-align: center; }
.lep-step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-gold); color: var(--color-navy); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: var(--space-3); }
.lep-step__title { font-family: 'EB Garamond', serif; font-size: var(--text-base); font-weight: 600; margin: 0 0 var(--space-2); color: #fff; }
.lep-step__desc { font-size: var(--text-sm); color: rgba(255,255,255,0.6); line-height: 1.5; margin: 0; }
.lep-join__actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

/* ── Buttons ───────────────────────────────────────────────── */
.lep-btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-6, 24px); border-radius: var(--radius-md, 8px); font-family: 'EB Garamond', serif; font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.lep-btn--primary { background: #E1306C; color: #fff; }
.lep-btn--primary:hover { background: #C13584; transform: translateY(-1px); }
.lep-btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.lep-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.lep-btn--gold { background: var(--color-gold); color: var(--color-navy); }
.lep-btn--gold:hover { background: #B8973F; transform: translateY(-1px); }

/* ── Bottom CTA ────────────────────────────────────────────── */
.lep-cta { padding: var(--space-10, 40px) 0; text-align: center; background: var(--color-bg-warm, #F6F7F9); }
.lep-cta__text { font-family: 'Montserrat', sans-serif; font-size: var(--text-xl, 20px); color: var(--color-navy); margin: 0 0 var(--space-4); }

/* ── Join invite text ──────────────────────────────────────── */
.lep-join__invite { font-family: 'Montserrat', sans-serif; font-size: var(--text-xl, 20px); color: #fff; text-align: center; margin: 0 0 var(--space-4); letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════════════════════════
   MATERIAIS PAGE
   ═══════════════════════════════════════════════════════════════ */
.page-title { padding-top: var(--space-6, 24px); font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--color-navy); margin: 0 0 var(--space-2); }
.page-subtitle { font-size: var(--text-base); color: var(--color-text-muted); margin: 0 0 var(--space-6); line-height: 1.6; }

/* Filter tabs */
.materials-filters { display: flex; gap: var(--space-2); margin-bottom: var(--space-6); flex-wrap: wrap; }
.btn--filter { padding: var(--space-2) var(--space-4); font-family: 'EB Garamond', serif; font-size: var(--text-sm); font-weight: 500; border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-text); cursor: pointer; transition: all 0.2s; }
.btn--filter:hover { border-color: var(--color-navy); color: var(--color-navy); }
.btn--filter--active { background: var(--color-navy); color: #fff !important; border-color: var(--color-navy); }

/* Materials grid */
.materials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.materials-empty { text-align: center; color: var(--color-text-muted); padding: var(--space-8) 0; }

/* ═══════════════════════════════════════════════════════════════
   CONTATO PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-page__intro { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-8); max-width: 680px; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-bottom: var(--space-10, 40px); }
.contact-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg, 12px); padding: var(--space-6, 24px); text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.contact-card__icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #5B8BA2, #3A6B82); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); color: #fff; }
.contact-card__label { font-family: 'EB Garamond', serif; font-size: var(--text-base); font-weight: 700; color: var(--color-navy); margin: 0 0 var(--space-2); }
.contact-card__value { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; word-break: break-all; }
.contact-card__value:hover { color: var(--color-gold); }

/* Contact form */
.contact-form-section { max-width: 600px; }
.contact-form-section .section-title { font-family: 'Montserrat', sans-serif; font-size: var(--text-lg); font-weight: 600; color: var(--color-navy); margin: 0 0 var(--space-6); text-transform: uppercase; letter-spacing: 0.08em; position: relative; padding-bottom: var(--space-3); }
.contact-form-section .section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--color-gold); }
.contact-form__field { margin-bottom: var(--space-4); }
.contact-form__label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-navy); margin-bottom: var(--space-1); }
.contact-form__input, .contact-form__textarea { width: 100%; padding: var(--space-3); font-family: 'EB Garamond', serif; font-size: var(--text-base); border: 1px solid var(--color-border); border-radius: var(--radius-md, 8px); background: var(--color-white); color: var(--color-text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form__input:focus, .contact-form__textarea:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.contact-form__textarea { resize: vertical; min-height: 120px; }
.contact-form__submit { margin-top: var(--space-2); }
.contact-form__note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); font-style: italic; }

/* ── Lepanto IG Card ───────────────────────────────────────── */
.lep-instagram { padding: var(--space-10, 40px) 0; }
.lep-ig-card { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-6, 24px) var(--space-10, 40px); background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg, 12px); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.lep-ig-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lep-ig-card__icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #E1306C, #C13584, #833AB4); display: flex; align-items: center; justify-content: center; color: #fff; }
.lep-ig-card__handle { font-family: 'EB Garamond', serif; font-size: var(--text-base); font-weight: 600; color: var(--color-navy); }
.lep-ig-card__follow { font-size: var(--text-sm); color: #E1306C; font-weight: 500; }

/* ── Contact Channels List ─────────────────────────────────── */
.contact-channels { margin-top: var(--space-8, 32px); }
.channel-list { display: flex; flex-direction: column; gap: 2px; }
.channel-item { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md, 8px); text-decoration: none; color: var(--color-text); transition: background 0.15s; }
.channel-item:hover { background: var(--color-bg-warm, #F6F7F9); }
.channel-item__icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.channel-item__icon--instagram { background: linear-gradient(135deg, #E1306C, #C13584); }
.channel-item__icon--whatsapp { background: #25D366; }
.channel-item__icon--youtube { background: #FF0000; }
.channel-item__icon--telegram { background: #0088CC; }
.channel-item__info { display: flex; flex-direction: column; }
.channel-item__name { font-size: var(--text-base); font-weight: 600; color: var(--color-navy); }
.channel-item__desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }

/* ── Lepanto Join Grid (steps left, IG right) ──────────────── */
.lep-join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8, 32px); align-items: start; }
.lep-steps--vertical { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-6); }
.lep-step--left { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; }
.lep-step--left .lep-step__num { flex-shrink: 0; }
.lep-join__left .lep-join__invite { text-align: center; margin-top: auto; margin-bottom: var(--space-3); }
.lep-join__left { display: flex; flex-direction: column; height: 100%; }
.lep-join__left .lep-join__actions { justify-content: center; margin-top: auto; }
.lep-ig-embed { border-radius: var(--radius-lg, 12px); overflow: hidden; }

/* ── Join section intro + spacing ──────────────────────────── */
.lep-join__intro { color: rgba(255,255,255,0.7); font-size: var(--text-base); line-height: 1.7; margin: 0 0 var(--space-6); }
.lep-steps--vertical .lep-step--left { margin-bottom: var(--space-5, 20px); }

/* ═══════════════════════════════════════════════════════════════
   MATERIALS TABLE
   ═══════════════════════════════════════════════════════════════ */
.mat-table-wrap { overflow-x: auto; margin-bottom: var(--space-6); }
.mat-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.mat-table thead th { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); padding: var(--space-3) var(--space-4); border-bottom: 2px solid var(--color-gold); text-align: left; white-space: nowrap; }
.mat-table tbody tr { border-bottom: 1px solid var(--color-border); transition: background 0.15s; }
.mat-table tbody tr:hover { background: var(--color-bg-warm, #F6F7F9); }
.mat-table td { padding: var(--space-3) var(--space-4); vertical-align: middle; }
.mat-table__title { font-weight: 600; color: var(--color-navy); min-width: 180px; }
.mat-table__desc { color: var(--color-text-muted); max-width: 280px; line-height: 1.4; }
.mat-table__meta { white-space: nowrap; color: var(--color-text-muted); text-align: center; }
.mat-table__loading { text-align: center; color: var(--color-text-muted); padding: var(--space-8) 0 !important; }

/* Category badges */
.mat-cat { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mat-cat--estudo { background: rgba(91,139,162,0.15); color: #3A6B82; }
.mat-cat--oracao { background: rgba(201,168,76,0.2); color: #96791A; }
.mat-cat--catequese { background: rgba(39,174,96,0.12); color: #1A8A4A; }
.mat-cat--geral { background: rgba(0,0,0,0.06); color: var(--color-text-muted); }

/* File extension badge */
.mat-ext { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; background: rgba(27,58,75,0.08); color: var(--color-navy); letter-spacing: 0.05em; }

/* Download icon */
.mat-dl { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--color-navy); transition: all 0.2s; }
.mat-dl:hover { background: var(--color-navy); color: #fff; }

/* ── Related Articles (smaller cards) ──────────────────────── */
.related-articles { padding: var(--space-8, 32px) 0; }
.related-articles .container { max-width: var(--container-max); }
.related-articles .article-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.related-grid .article-card { font-size: var(--text-sm); }
.related-grid .article-card__body { padding: var(--space-3) var(--space-4) var(--space-4); }
.related-grid .article-card__title { font-size: var(--text-base); margin-bottom: var(--space-2); }
.related-grid .article-card__excerpt { display: none; }
.related-grid .article-card__image-wrapper { aspect-ratio: 16 / 9; }

/* ── Article skeleton fix ──────────────────────────────────── */
.article-skeleton { padding: var(--space-6) 0; }
.skeleton--breadcrumb { height: 14px; width: 200px; margin-bottom: var(--space-4); }
.skeleton--heading { height: 2.5rem; width: 80%; margin-bottom: var(--space-3); }
.skeleton--meta { height: 14px; width: 250px; margin-bottom: var(--space-6); }
.skeleton--hero-image { height: 400px; margin-bottom: var(--space-6); border-radius: var(--radius-lg, 12px); }
.skeleton--short { width: 60%; }

/* ── Article reading time ──────────────────────────────────── */
.article-single__reading-time { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-xs); color: var(--color-text-muted); }
.article-single__reading-time::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--color-text-muted); margin: 0 var(--space-2); }

/* ── Source Badge (Instagram, etc.) ────────────────────────── */
.source-badge { display: inline-block; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: var(--font-weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-wider); vertical-align: middle; line-height: 1.4; }
.source-badge--inline { margin-left: var(--space-2); }
.article-card__date { display: inline-flex; align-items: center; gap: var(--space-2); }
.source-badge--instagram { color: #8134AF; border: 1.5px solid #8134AF; background: transparent; }

/* ── Article card footer (date + source badge inline) ──────── */
.article-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }

/* IG Widget Title — icon + text inline, Cinzel font */
.widget__title {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-gold);
}

.widget__title svg {
  flex-shrink: 0;
}

/* ==========================================================================
   COMMENTS SECTION
   ========================================================================== */

.comments-section {
  max-width: var(--container-narrow);
  margin: var(--space-10) auto var(--space-8);
  padding: 0 var(--container-padding);
}

.comments-section__title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-gold);
}

/* ── Single Comment ─────────────────────────────────────────── */
.comment {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-light);
}

.comment:last-child {
  border-bottom: none;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-avatar--reply {
  width: 32px;
  height: 32px;
  font-size: var(--text-sm);
}

.comment__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comment__author {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
}

.comment__time {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.comment__body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: var(--leading-relaxed);
  margin-left: calc(40px + var(--space-3));
  margin-bottom: var(--space-2);
}

.comment--reply .comment__body {
  margin-left: calc(32px + var(--space-3));
}

.comment__reply-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold-dark);
  margin-left: calc(40px + var(--space-3));
  padding: 0;
  transition: var(--transition-colors);
}

.comment__reply-btn:hover {
  color: var(--color-navy);
}

/* ── Replies Thread ─────────────────────────────────────────── */
.comment-replies {
  margin-left: var(--space-8);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-gold-light);
}

/* ── Comment Form ───────────────────────────────────────────── */
.comment-form {
  background-color: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
}

.comment-form--reply {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  padding: var(--space-5);
}

.comment-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.comment-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.comment-form__row .comment-form__field {
  margin-bottom: 0;
}

.comment-form__field label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-navy);
}

.comment-form__field input,
.comment-form__field textarea {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-text-primary);
  transition: border-color var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
}

.comment-form__field input:focus,
.comment-form__field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.comment-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.comment-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.comment-form__submit {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  background-color: var(--color-navy);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-5);
  cursor: pointer;
  transition: background-color var(--duration-normal) var(--ease-default);
}

.comment-form__submit:hover {
  background-color: var(--color-navy-dark);
}

.comment-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.comment-form__cancel {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  transition: var(--transition-colors);
}

.comment-form__cancel:hover {
  color: var(--color-text-primary);
}

.comment-form__status {
  margin-top: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-red);
  min-height: 1.2em;
}

/* ── Empty State ────────────────────────────────────────────── */
.comments-list:empty + .comment-form {
  margin-top: var(--space-2);
}

/* ── Mobile Breakpoints ─────────────────────────────────────── */
@media (max-width: 768px) {
  .comment-form__row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .comment-replies {
    margin-left: var(--space-4);
    padding-left: var(--space-4);
  }

  .comment__body {
    margin-left: calc(40px + var(--space-2));
  }

  .comment--reply .comment__body {
    margin-left: calc(32px + var(--space-2));
  }

  .comment__reply-btn {
    margin-left: calc(40px + var(--space-2));
  }
}

@media (max-width: 480px) {
  .comments-section {
    padding: 0 var(--space-4);
  }

  .comment-replies {
    margin-left: var(--space-2);
    padding-left: var(--space-3);
  }

  .comment-avatar {
    width: 34px;
    height: 34px;
    font-size: var(--text-base);
  }

  .comment-avatar--reply {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
  }

  .comment__body {
    margin-left: calc(34px + var(--space-2));
  }

  .comment--reply .comment__body {
    margin-left: calc(28px + var(--space-2));
  }

  .comment__reply-btn {
    margin-left: calc(34px + var(--space-2));
  }

  .comment-form {
    padding: var(--space-4);
  }

  .comment-form--reply {
    padding: var(--space-3);
  }
}

/* ── Comment Replies Toggle ──────────────────────────── */
.comment-replies-wrapper {
  margin-left: var(--space-10, 40px);
}
.comment-replies__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-gold-dark, #A98A24);
  font-family: var(--font-sans);
  font-size: var(--text-xs, 12px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: var(--space-2, 8px) 0;
  transition: color 0.2s;
}
.comment-replies__toggle:hover { color: var(--color-navy, #050368); }
.comment-replies__arrow {
  transition: transform 0.2s;
}
.comment-replies__toggle[aria-expanded=true] .comment-replies__arrow {
  transform: rotate(180deg);
}

/* ── Reply comments beige background ─────────────────── */
.comment--reply {
  background: var(--color-beige, #F2E7C3);
  border-radius: var(--radius-md, 8px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
  margin-bottom: var(--space-2, 8px);
}
.comment-replies {
  margin-top: var(--space-2, 8px);
  border-left: 2px solid var(--color-gold-light, #DFC369);
  padding-left: var(--space-4, 16px);
}

/* ── Community Rules Card ────────────────────────────── */
.comments-rules {
  background: var(--color-beige, #F2E7C3);
  border: 1px solid var(--color-border, #C5CAD3);
  border-radius: var(--radius-md, 8px);
  padding: var(--space-4, 16px);
  margin-bottom: var(--space-6, 24px);
}
.comments-rules__text {
  font-size: var(--text-sm, 14px);
  color: var(--color-text-secondary, #5B6573);
  line-height: 1.6;
  margin: 0;
}
.comments-rules__text strong {
  color: var(--color-navy, #050368);
}

@media (max-width: 768px) {
  .comment-replies-wrapper { margin-left: var(--space-6, 24px); }
}
@media (max-width: 480px) {
  .comment-replies-wrapper { margin-left: var(--space-4, 16px); }
}

/* ── Reply count inline with Responder ───────────────── */
.comment__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4, 16px);
  margin-top: var(--space-2, 8px);
}
.comment__reply-count .comment-replies__toggle {
  color: var(--color-text-muted, #5F6876);
  font-size: var(--text-xs, 12px);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}
.comment__reply-count .comment-replies__toggle:hover {
  color: var(--color-text-secondary, #5B6573);
}

/* ── Ver mais collapsed comments ─────────────────────── */
.comments-show-more {
  display: block;
  width: 100%;
  padding: var(--space-3, 12px);
  margin-top: var(--space-4, 16px);
  background: var(--color-beige, #F2E7C3);
  border: 1px solid var(--color-border, #C5CAD3);
  border-radius: var(--radius-md, 8px);
  color: var(--color-navy, #050368);
  font-family: var(--font-sans);
  font-size: var(--text-sm, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.comments-show-more:hover {
  background: var(--color-beige-dark, #EDDDAA);
}

/* ── Form title ──────────────────────────────────────── */
.comment-form__title {
  font-family: var(--font-sans);
  font-size: var(--text-base, 16px);
  font-weight: 600;
  color: var(--color-navy, #050368);
  margin: 0 0 var(--space-3, 12px) 0;
}

/* ==========================================================================
   NEWSLETTER SIGNUP OVERLAY (newsletter-overlay.js)
   Full-screen modal that appears 4s after first visit on every public page.
   Two-step flow: email → name + mobile. Fade-in via opacity transition.
   ========================================================================== */
.smm-nl-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.smm-nl-overlay.smm-nl-visible {
  opacity: 1;
  pointer-events: auto;
}
.smm-nl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.smm-nl-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
  border-top: 4px solid var(--color-gold);
  animation: smm-nl-pop 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes smm-nl-pop {
  from { transform: translateY(16px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.smm-nl-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 150ms ease, color 150ms ease;
}
.smm-nl-close:hover { background: var(--color-bg-warm); color: var(--color-navy); }
.smm-nl-heading {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.smm-nl-lead {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.55;
  margin: 0 0 20px 0;
}
.smm-nl-lead strong { color: var(--color-navy); font-weight: 700; }

/* Step switching: hide the inactive step entirely */
.smm-nl-step { display: none; margin: 0; }
.smm-nl-overlay[data-step="1"] .smm-nl-step-1 { display: block; }
.smm-nl-overlay[data-step="2"] .smm-nl-step-2 { display: block; }

.smm-nl-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.smm-nl-input {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
  width: 100%;
  margin-bottom: 10px;
}
.smm-nl-row .smm-nl-input { margin-bottom: 0; }
.smm-nl-input:focus {
  border-color: var(--color-gold);
  background: #fff;
}
.smm-nl-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.smm-nl-btn:disabled { opacity: 0.6; cursor: wait; }
.smm-nl-btn-primary {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}
.smm-nl-btn-primary:hover:not(:disabled) { background: #030252; border-color: #030252; }
.smm-nl-btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.smm-nl-btn-ghost:hover { background: var(--color-bg-warm); color: var(--color-navy); }
.smm-nl-later {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}
.smm-nl-later:hover { color: var(--color-navy); }
.smm-nl-error {
  color: #c53030;
  font-size: 13px;
  margin: 6px 0 0;
  line-height: 1.4;
}
.smm-nl-error.is-success {
  color: #276749;
}
.smm-nl-success {
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #f0f9f4;
  border-left: 3px solid #3fa661;
  border-radius: var(--radius-sm);
}
.smm-nl-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Mobile tightening */
@media (max-width: 520px) {
  .smm-nl-card { padding: 30px 22px 22px; }
  .smm-nl-heading { font-size: 22px; }
  .smm-nl-lead { font-size: 14px; }
  .smm-nl-row { flex-direction: column; }
  .smm-nl-row .smm-nl-input { margin-bottom: 8px; }
}

/* Footer newsletter form — sits inside the Contato column under the
   mailto link. Reuses the same subscribe endpoint as the overlay via
   newsletter-overlay.js. */
.site-footer__newsletter {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__newsletter-label {
  font-size: 13px;
  color: var(--color-gray-300, #cbd5e1);
  margin: 0 0 10px 0;
  line-height: 1.4;
}
.site-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__newsletter-form input[type="email"],
.site-footer__newsletter-form input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}
.site-footer__newsletter-form input[type="email"]::placeholder,
.site-footer__newsletter-form input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.site-footer__newsletter-form input[type="email"]:focus,
.site-footer__newsletter-form input[type="text"]:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.12);
}
.site-footer__newsletter-form button {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-navy);
  background: var(--color-gold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 150ms ease, transform 120ms ease;
}
.site-footer__newsletter-form button:hover:not(:disabled) {
  background: #d4b562;
  transform: translateY(-1px);
}
.site-footer__newsletter-form button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.site-footer__newsletter-msg {
  font-size: 12px;
  margin: 10px 0 0;
  line-height: 1.4;
}
.site-footer__newsletter-msg.is-success {
  color: #9be3a8;
}
.site-footer__newsletter-msg.is-error {
  color: #ffb4b4;
}

/* ── Admin-reply comments (verified official response) ────────── */
.comment--admin-reply {
  background: var(--color-navy-softer, #EAF0F4);
  border-left: 3px solid var(--color-navy, #050368);
}
.comment--admin-reply .comment__author {
  color: var(--color-navy, #050368);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.comment__verified-badge {
  color: var(--color-navy, #050368);
  flex-shrink: 0;
  vertical-align: middle;
}
.comment-avatar--admin {
  background: var(--color-navy, #050368) !important;
  color: #fff !important;
}

/* ── Deleted comment placeholder ──────────────────────────────── */
.comment--deleted {
  opacity: 0.55;
  font-style: italic;
  padding: var(--space-3, 12px) var(--space-4, 16px);
}
.comment--deleted .comment__body {
  color: var(--color-text-muted, #5F6876);
}

/* ============================================================
   Vatican News YouTube Facade — click-to-play
   Renders a poster image + play glyph in place of the iframe.
   main.js swaps the button for the real iframe on first click,
   keeping ~1 MB of YouTube player JS off the critical path.
   ============================================================ */
.vatican-feed__live-facade {
  padding: 0;
  border: 0;
  margin: 0;
  background: #000;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.vatican-feed__live-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.vatican-feed__live-facade:hover .vatican-feed__live-poster,
.vatican-feed__live-facade:focus-visible .vatican-feed__live-poster {
  opacity: 1;
}
.vatican-feed__live-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.15s ease;
}
.vatican-feed__live-facade:hover .vatican-feed__live-play {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ============================================================
   Below-fold content-visibility: tells the browser to skip
   rendering (layout + paint) for these sections until they
   scroll into the viewport. Hugely reduces initial style &
   layout cost, which was dominating TBT on throttled mobile.
   ============================================================ */
.article-grid,
.sidebar,
.site-footer,
.vatican-feed__youtube {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* ---- Instagram feed grid (official Graph API cache; see fetch-instagram.py) ---- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 0.85rem; }
.ig-grid:empty { display: none; }
.ig-grid__item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-beige); border-radius: 2px; }
.ig-grid__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); pointer-events: none; }
.ig-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ig-grid__item:hover img { transform: scale(1.05); }
.ig-grid--lg { gap: 6px; max-width: 460px; }
@media (max-width: 480px) { .ig-grid, .ig-grid--lg { gap: 3px; } }

/* ==========================================================================
   SPONSORS (home sidebar) — managed in the admin, Sponsorship → Sponsors
   ========================================================================== */
.sponsors { display: flex; flex-direction: column; gap: var(--space-4); }
.sponsor-card { display: block; border: 1px solid var(--color-border); border-radius: var(--radius-md, 8px); overflow: hidden; text-decoration: none; color: inherit; background: var(--color-white); transition: box-shadow .2s ease, transform .2s ease; }
.sponsor-card:hover { box-shadow: 0 6px 20px rgba(5, 3, 104, .12); transform: translateY(-1px); text-decoration: none; }
.sponsor-card__img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: #f4f1ec; }
.sponsor-card__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.sponsor-card__name { font-family: var(--font-serif); font-weight: var(--font-weight-bold); font-size: 1.05rem; color: var(--color-navy); line-height: 1.3; }
.sponsor-card__tag { font-size: .875rem; color: #5B6573; }
.sponsor-card__visit { margin-top: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: #9a7b14; }
.sponsor-card--text { background: var(--color-navy); border-color: var(--color-navy); border-left: 4px solid var(--color-gold); }
.sponsor-card--text .sponsor-card__name { color: #fff; }
.sponsor-card--text .sponsor-card__tag { color: rgba(255, 255, 255, .8); }
.sponsor-card--text .sponsor-card__visit { color: var(--color-gold); }
.sponsors-widget .widget-title { text-align: center; }
.sponsor-card__name { overflow-wrap: anywhere; }
.sponsor-card--text .sponsor-card__name { font-size: 1rem; }

/* ==========================================================================
   SUPPORT PAGE (/support) — content from the admin, Sponsorship → Support
   ========================================================================== */
.support-page { padding-bottom: var(--space-12, 3rem); }
.sup-hero { padding: var(--space-10, 2.5rem) 0 var(--space-8, 2rem); }
.sup-hero__grid { display: grid; grid-template-columns: 1.65fr 1fr; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 40px rgba(3, 3, 95, .12); }
.sup-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.sup-hero__panel { background: #fbf4e2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 36px 40px; }
.sup-hero__title { font-family: var(--font-serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.2; color: var(--color-navy); margin: 0; }
.sup-hero__text { font-size: 1.02rem; line-height: 1.65; color: #424A56; margin: 0; }
.sup-btn { display: inline-flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 26px; border-radius: 4px; transition: background .2s ease, transform .2s ease; }
.sup-btn--gold { background: var(--color-gold); color: #1E242C; }
.sup-btn--gold:hover { background: #c49d22; color: #1E242C; text-decoration: none; transform: translateY(-1px); }
.sup-tiers { padding: var(--space-6, 1.5rem) 0; }
.sup-h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--color-navy); margin: 0 0 var(--space-5, 1.25rem); padding-bottom: 10px; border-bottom: 2px solid var(--color-gold); display: inline-block; }
.sup-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sup-tier { position: relative; min-height: 210px; border-radius: 10px; overflow: hidden; background: #3a3a46 center/cover no-repeat; display: flex; }
.sup-tier::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 4, 40, .35) 0%, rgba(5, 4, 40, .62) 100%); }
.sup-tier__inner { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 16px; text-align: center; }
.sup-tier__name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.sup-tier__amount { font-size: 1.45rem; font-weight: 700; color: #fff; margin: 0 0 8px; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.sup-other { padding: var(--space-8, 2rem) 0 0; }
.sup-other__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sup-card { background: var(--color-white); border: 1px solid var(--color-border); border-left: 4px solid var(--color-gold); border-radius: 8px; padding: 22px 24px; }
.sup-card h3 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-navy); margin: 0 0 8px; }
.sup-card p { margin: 0; line-height: 1.7; color: #424A56; }
.sup-card a { color: #8a6d10; font-weight: 600; }
@media (max-width: 900px) { .sup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .sup-hero__grid { grid-template-columns: 1fr; }
  .sup-hero__img { min-height: 0; aspect-ratio: 16 / 9; }
  .sup-hero__panel { padding: 26px 22px; }
  .sup-other__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .sup-grid { grid-template-columns: 1fr; } .sup-tier { min-height: 170px; } }

/* a logo or icon taken from the sponsor's website: shown whole, on white */
.sponsor-card__img--contain { object-fit: contain; background: #fff; padding: 14px 18px; border-bottom: 1px solid var(--color-border); }

.sponsor-card__tag { line-height: 1.5; }

/* Comments (2026-10-23): name, email and the human check slide in once the reader clicks into the box */
.comment-form__extra { animation: cfReveal .25s ease; }
/* The check is invisible for normal readers: no reserved slot. It takes its own height only when it must show. */
.comment-form__extra .cf-turnstile { margin: 0; min-height: 0; }
.comment-form__status:empty { margin-top: 0; min-height: 0; }
@keyframes cfReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   STAGE CONTACT FORM (/contact/) — posts to /api/stella/contact (2026-10-23)
   ========================================================================== */
.stage-contact { margin: var(--space-8, 2rem) 0 var(--space-10, 2.5rem); }
.scf { background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-gold); border-radius: 10px; padding: 22px 24px; max-width: 760px; }
.scf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scf__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.scf__field label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: var(--color-navy); }
.scf__field label span { color: #b91c1c; }
.scf__field input, .scf__field textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #C5CAD3; border-radius: 6px; background: #F6F7F9; color: #1E242C; width: 100%; box-sizing: border-box; }
.scf__field input:focus, .scf__field textarea:focus { outline: none; border-color: var(--color-navy); background: #fff; box-shadow: 0 0 0 3px rgba(5, 3, 104, .12); }
.scf__field textarea { resize: vertical; min-height: 140px; }
.scf__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.scf__check { margin: 2px 0 14px; min-height: 66px; animation: cfReveal .25s ease; }
.scf__check[hidden] { display: none; }
.scf__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.scf__status { margin: 0; font-size: .9rem; color: #5B6573; flex: 1; min-width: 200px; }
.scf__status--error { color: #b91c1c; }
.scf__send { background: var(--color-navy); color: #fff; border: 0; border-radius: 6px; padding: 12px 26px; font: 700 .9rem 'Montserrat', sans-serif; letter-spacing: .03em; cursor: pointer; }
.scf__send:hover { background: #030252; }
.scf__send:disabled { opacity: .7; cursor: wait; }
.scf__done { text-align: center; padding: 24px 10px; }
.scf__done h3 { font-family: var(--font-serif); color: var(--color-navy); margin: 0 0 6px; font-size: 1.4rem; }
.scf__done p { margin: 0; color: #424A56; }
@media (max-width: 640px) { .scf { padding: 18px 16px; } .scf__row { grid-template-columns: 1fr; gap: 0; } .scf__send { width: 100%; } }

.scf__field select { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #C5CAD3; border-radius: 6px; background: #F6F7F9; color: #1E242C; width: 100%; box-sizing: border-box; }
.scf__field select:focus { outline: none; border-color: var(--color-navy); background: #fff; box-shadow: 0 0 0 3px rgba(5, 3, 104, .12); }
.scf__field select:invalid { color: #8a8580; }

/* several sources, one per line (2026-10-23) */
.article-single__sources { list-style: none; margin: 6px 0 0; padding: 0; }
.article-single__sources li { margin: 2px 0; }
/* admin preview banner */
.preview-bar { position: sticky; top: 0; z-index: 2000; background: #D4AF37; color: #1a1a1a; text-align: center; padding: 9px 16px; font: 500 14px/1.4 'Montserrat', system-ui, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* Become a Sponsor (sponsors block) */
.sponsors-cta { display: block; width: 100%; text-align: center; margin-top: var(--space-4); }

/* Article page: article + the same social/sponsors strip as the home sidebar */
.article-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: var(--content-gap);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  align-items: start;
}
.article-page__layout .article-single { max-width: none; width: 100%; padding-left: 0; padding-right: 0; min-width: 0; min-height: 100vh; }
.article-page__layout .skeleton--hero-image { height: auto; aspect-ratio: 16 / 9; max-width: var(--article-content-width, 820px); margin-inline: auto; }
.article-page__aside { padding-top: var(--space-10); }
@media (max-width: 1024px) {
  .article-page__layout { grid-template-columns: 1fr; gap: 0; }
  .article-page__aside { padding-top: 0; padding-bottom: var(--space-10); }
}

/* ==========================================================================
   SITE HEADER — broadcast bar (smh) + Stella Maris Media page (smm)
   ========================================================================== */
.smh { background: var(--color-navy); color: #fff; }
.smh__wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.smh__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 12px; }
.smh__logo { display: block; }
.smh__logo img { height: 104px; width: auto; display: block; margin: -20px 0; }
.smh__tools { display: flex; align-items: center; gap: 20px; }
.smh__soc { display: flex; align-items: center; gap: 16px; }
.smh__soc a, .smh__search { color: #fff; display: inline-flex; background: none; border: 0; padding: 4px; cursor: pointer; opacity: .92; }
.smh__soc a:hover, .smh__search:hover { opacity: 1; color: var(--color-gold, #D4AF37); }
.smh__support { display: inline-block; background: var(--color-gold, #D4AF37); color: #1b1b1b; font: 700 12px Montserrat, Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; padding: 11px 18px; text-decoration: none; }
.smh__support:hover { background: #e0bd49; }
.smh__menu { display: none; font: 700 12px Montserrat, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid #fff; color: #fff; padding: 9px 13px; cursor: pointer; }
.smh__nav { border-top: 1px solid rgba(255,255,255,.18); }
.smh__list { display: flex; flex-wrap: wrap; gap: 30px; list-style: none; margin: 0; padding: 0; }
.smh__list a { display: block; padding: 13px 0 11px; border-bottom: 3px solid transparent; color: #fff; text-decoration: none; font: 600 12px Montserrat, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.smh__list a:hover { border-bottom-color: rgba(212,175,55,.6); }
.smh__list a.on { border-bottom-color: var(--color-gold, #D4AF37); }
.smh__li-support { display: none; }
.smh ~ .liturgia-strip { background: #030248; border-top: 0; color: var(--color-gold, #D4AF37); height: 34px; }
.smh ~ .liturgia-strip .liturgia-strip__slide { justify-content: flex-start; padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding))); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 900px) {
  .smh__logo img { height: 76px; margin: -14px 0; }
  .smh__soc, .smh__support { display: none; }
  .smh__menu { display: inline-block; }
  .smh__nav { border-top: 0; }
  .smh__list { display: none; flex-direction: column; gap: 0; padding: 4px 0 14px; border-top: 1px solid rgba(255,255,255,.18); }
  .smh__list.main-nav__list--open { display: flex; }
  .smh__list a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; }
  .smh__li-support { display: block; }
  .smh__li-support a { color: var(--color-gold, #D4AF37); }
  .smh ~ .liturgia-strip .liturgia-strip__slide { padding-left: var(--container-padding); font-size: 10px; }
}

/* ── Stella Maris Media page ── */
.smm { background: #fff; }
.smm-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.smm-kick { font: 700 12px Montserrat, Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--color-gold, #D4AF37); margin: 0 0 18px; }
.smm-kick--navy { color: var(--color-navy); margin: 0; }
.smm-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; background: #03060f; overflow: hidden; }
.smm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smm-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,6,15,.35) 0%, rgba(3,6,15,0) 28%, rgba(3,6,15,.25) 55%, rgba(3,6,15,.82) 100%); }
.smm-hero__in { position: relative; z-index: 1; width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding) clamp(64px, 9vh, 110px); }
.smm-hero h1 { color: #fff; font: 700 clamp(38px, 6.4vw, 84px)/1.04 Montserrat, Arial, sans-serif; letter-spacing: -.01em; margin: 0; max-width: 15ch; text-shadow: 0 2px 28px rgba(0,0,0,.45); }
.smm-hero__rule { display: block; height: 2px; width: 0; background: var(--color-gold, #D4AF37); margin: 26px 0 20px; animation: smm-draw 1.2s .9s cubic-bezier(.2,.7,.2,1) forwards; }
.smm-hero__sub { font: 400 clamp(18px, 1.9vw, 24px)/1.4 "EB Garamond", Georgia, serif; max-width: 34ch; margin: 0; color: rgba(255,255,255,.92); }
.smm-hero__more { position: absolute; z-index: 1; right: var(--container-padding); bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 10px Montserrat, Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.smm-hero__more i { width: 1px; height: 52px; background: linear-gradient(#fff, rgba(255,255,255,0)); animation: smm-drop 2.4s ease-in-out infinite; transform-origin: top; }
.smm-rise { opacity: 0; transform: translateY(18px); animation: smm-rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.smm-d1 { animation-delay: .25s; } .smm-d3 { animation-delay: 1.3s; }
@keyframes smm-rise { to { opacity: 1; transform: none; } }
@keyframes smm-draw { to { width: min(180px, 40vw); } }
@keyframes smm-drop { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.smm-vision { padding: clamp(64px, 10vw, 140px) 0; }
.smm-vision__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.smm-vision__label { position: sticky; top: 28px; }
.smm-rule { display: block; width: 64px; height: 3px; background: var(--color-gold, #D4AF37); margin-top: 14px; }
.smm-vision__text { max-width: 760px; }
.smm-vision__text p { font: 400 21px/1.62 "EB Garamond", Georgia, serif; margin: 0 0 1.2em; color: #26262b; }
.smm-vision__text .smm-lead { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.42; color: var(--color-navy); }
.smm-name { display: grid; grid-template-columns: 1fr 1fr; margin: 2.2em 0 2.4em; border-top: 3px solid var(--color-navy); border-bottom: 1px solid #cfcab9; }
.smm-name > div { padding: 22px 0 24px; }
.smm-name > div + div { padding-left: 28px; border-left: 1px solid #cfcab9; }
.smm-name dt { font: 700 11px Montserrat, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6b6b6b; margin-bottom: 8px; }
.smm-name dd { margin: 0; font: 500 clamp(26px, 3vw, 40px)/1.15 "EB Garamond", Georgia, serif; color: var(--color-navy); }
.smm-name .smm-name__tr { font-size: 19px; color: #6b6b6b; margin-top: 6px; font-style: normal; }

.smm-beacon { background: var(--color-navy); color: #fff; padding: clamp(72px, 11vw, 150px) 0; }
.smm-beacon__rule { display: block; width: 72px; height: 3px; background: var(--color-gold, #D4AF37); margin: 0 0 34px; }
.smm-beacon__text { color: #fff; font: 500 clamp(26px, 3.6vw, 48px)/1.32 "EB Garamond", Georgia, serif; max-width: 24em; margin: 0; }

.smm-close { padding: clamp(64px, 9vw, 120px) 0; background: #fff; }
.smm-close__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.smm-close__vid { width: min(460px, 80vw); height: auto; display: block; mix-blend-mode: multiply; }
.smm-close__links { display: flex; flex-direction: column; gap: 0; min-width: 260px; border-top: 3px solid var(--color-navy); }
.smm-close__links a { padding: 16px 0; border-bottom: 1px solid #cfcab9; color: var(--color-navy); text-decoration: none; font: 700 13px Montserrat, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.smm-close__links a::after { content: "\2192"; }
.smm-close__links a:hover { color: #000; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .smm-vision__grid { grid-template-columns: 1fr; gap: 24px; }
  .smm-vision__label { position: static; }
  .smm-hero { min-height: 78vh; }
  .smm-hero__more { display: none; }
  .smm-name { grid-template-columns: 1fr; } .smm-name > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #cfcab9; }
  .smm-vision__text p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .smm-rise, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .smm-hero__rule { width: 180px; animation: none; } .smm-hero__more i { animation: none; }
}

/* ── Footer logo (lockup) ── */
.site-footer__logo--lockup { width: 230px; height: auto; margin: -26px auto -6px; opacity: 1; }

/* ── Plain content pages (About Christine Niles, Sponsorship) ── */
.pg-hero { background: var(--color-navy); color: #fff; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 92px); }
.pg-hero h1 { color: #fff; font: 700 clamp(36px, 5.6vw, 74px)/1.05 Montserrat, Arial, sans-serif; letter-spacing: -.01em; margin: 0; }
.pg-hero__rule { display: block; width: 72px; height: 3px; background: var(--color-gold, #D4AF37); margin: 26px 0 0; }
.pg-hero__sub { font: 400 clamp(19px, 2vw, 25px)/1.4 "EB Garamond", Georgia, serif; color: rgba(255,255,255,.92); max-width: 34em; margin: 18px 0 0; }
.pg-sec { padding: clamp(56px, 8vw, 110px) 0; }
.pg-sec--paper { background: #fbf8ef; }
.pg-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pg-grid--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pg-photo { margin: 0; }
.pg-photo img { width: 100%; height: auto; display: block; }
.pg-photo figcaption { font: 400 16px/1.45 "EB Garamond", Georgia, serif; color: #5e5e5e; border-top: 1px solid #cfcab9; padding-top: 10px; margin-top: 12px; }
.pg-text { max-width: 760px; }
.pg-text p { font: 400 21px/1.62 "EB Garamond", Georgia, serif; margin: 0 0 1.2em; color: #26262b; }
.pg-text .pg-lead { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.45; color: var(--color-navy); }
.pg-link { display: inline-flex; gap: 12px; align-items: center; font: 700 13px Montserrat, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--color-navy); border-top: 3px solid var(--color-navy); padding-top: 12px; text-decoration: none; }
.pg-link:hover { color: #000; }
.pg-btn { display: inline-block; background: var(--color-gold, #D4AF37); color: #1b1b1b; font: 700 13px Montserrat, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 15px 26px; text-decoration: none; }
.pg-btn:hover { background: #e0bd49; }
.pg-sponsors .sponsors { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
@media (max-width: 900px) {
  .pg-grid, .pg-grid--flip { grid-template-columns: 1fr; gap: 28px; }
  .pg-grid--flip .pg-photo { order: -1; }
  .pg-photo { max-width: 460px; }
  .pg-text p { font-size: 19px; }
  .site-footer__logo--lockup { width: 190px; }
}

/* ── Article cards: whole picture, text and pill flush left ── */
.article-card__image-wrapper img { object-position: center top; }
.article-card__body { align-items: flex-start; text-align: left; }
.article-card__body .category-badge { align-self: flex-start; width: auto; max-width: 100%; text-align: left; }
.article-card__title, .article-card__excerpt, .article-card__footer { align-self: stretch; text-align: left; }

/* ── About Christine Niles: portrait hero, facts row, navy profile band ── */
.pg-hero--person { padding-bottom: clamp(44px, 6vw, 84px); }
.pg-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pg-card { margin: 0; width: clamp(260px, 29vw, 400px); background: #fff; border: 12px solid #fff; border-radius: 6px; box-shadow: 0 22px 48px rgba(0,0,0,.38); }
.pg-card img { display: block; width: 100%; height: auto; border-radius: 1px; }
.pg-facts { background: #fff; border-bottom: 1px solid #d9d5c6; }
.pg-facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.pg-facts__row > div { padding: clamp(26px, 3.4vw, 44px) clamp(18px, 2.4vw, 34px); border-left: 1px solid #d9d5c6; }
.pg-facts__row > div:first-child { border-left: 0; padding-left: 0; }
.pg-facts dt { font: 700 clamp(17px, 1.7vw, 22px)/1.2 Montserrat, Arial, sans-serif; color: var(--color-navy); letter-spacing: -.01em; margin: 0 0 10px; }
.pg-facts dd { font: 400 17px/1.45 "EB Garamond", Georgia, serif; color: #4a4a50; margin: 0; }
.pg-band { background: var(--color-navy); color: #fff; padding-top: clamp(24px, 3.2vw, 44px); overflow: hidden; }
.pg-band__grid { display: grid; grid-template-columns: max-content minmax(0, 660px); justify-content: center; column-gap: clamp(36px, 5.5vw, 88px); align-items: end; }
.pg-cut { margin: 0; align-self: end; line-height: 0; }
.pg-cut img { width: 330px; height: auto; display: block; }
.pg-band .pg-text { align-self: center; padding-bottom: clamp(24px, 3.2vw, 44px); }
.pg-text--dark p { color: rgba(255,255,255,.9); }
.pg-text--dark .pg-lead { color: #fff; }
.pg-text--dark .pg-link { color: #fff; border-top-color: var(--color-gold, #D4AF37); }
.pg-text--dark .pg-link:hover { color: var(--color-gold, #D4AF37); }
.pg-photo--print img { border: 10px solid #fff; box-shadow: 0 14px 34px rgba(0,0,0,.18); border-radius: 4px; }
@media (max-width: 900px) {
  .pg-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .pg-card { width: min(300px, 78%); }
  .pg-facts__row { grid-template-columns: 1fr 1fr; }
  .pg-facts__row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pg-facts__row > div:nth-child(n+3) { border-top: 1px solid #d9d5c6; }
  .pg-band__grid { grid-template-columns: 1fr; gap: 8px; }
  .pg-band .pg-text { order: -1; padding-bottom: 24px; }
  .pg-cut { margin: 0 auto; }
  .pg-cut img { width: min(300px, 82vw); }
}
@media (max-width: 520px) { .pg-facts__row { grid-template-columns: 1fr; } .pg-facts__row > div { border-left: 0; padding-left: 0; } .pg-facts__row > div + div { border-top: 1px solid #d9d5c6; } }
/* navy founder block + white profile band (alternating) */
.pg-sec--navy { background: var(--color-navy); color: #fff; }
.pg-sec--navy .smm-kick--navy { color: var(--color-gold, #D4AF37); }
.pg-sec--navy .pg-photo figcaption { color: rgba(255,255,255,.8); border-top-color: rgba(255,255,255,.3); }
.pg-sec--navy .pg-photo--print img { box-shadow: 0 16px 38px rgba(0,0,0,.42); }
.pg-band--light { background: #fff; color: inherit; }

/* Stella Maris Media page: Our Lady drawing beside the vision text */
.smm-vision__art { margin: 0; }
.smm-vision__art img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.smm-vision__art figcaption { font: 400 16px/1.45 "EB Garamond", Georgia, serif; color: #5e5e5e; border-top: 1px solid #cfcab9; padding-top: 10px; margin-top: 14px; }
@media (min-width: 901px) {
  .smm-vision__grid--art { grid-template-columns: 170px minmax(0, 1fr) clamp(250px, 25vw, 340px); gap: clamp(28px, 4.5vw, 72px); }
  .smm-vision__grid--art .smm-vision__text { max-width: none; }
  .smm-vision__art { position: sticky; top: 28px; }
}
@media (max-width: 900px) { .smm-vision__art { max-width: 360px; } }

/* Our Lady watermark: one tall figure that scrolls with the page, head at the top of the first white block (Our vision) and feet at the bottom of the last (closing band) */
.smm-stage { position: relative; overflow-x: clip; }
.smm-stage__lady { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; opacity: .21; filter: grayscale(1); pointer-events: none; z-index: 1; }
.smm-vision__grid, .smm-beacon .smm-wrap, .smm-close__in { position: relative; z-index: 2; }
@media (max-width: 700px) { .smm-stage__lady { left: 0; width: 100%; height: auto; opacity: .11; } }

/* Readable type pass (2026-10-28): body-ish text was 11-14px; raise to a comfortable reading size */
.article-card__excerpt { font-size: 16px; line-height: 1.55; }
.article-card__meta { font-size: 14px; }
.top-articles__title { font-size: 16px; line-height: 1.35; }
.top-articles__category { font-size: 13px; letter-spacing: .02em; }
.vatican-feed__subtitle { font-size: 14px; }
.vatican-feed__yt-title { font-size: 15px; line-height: 1.35; }
.vatican-feed__yt-thumb { width: 96px; height: 54px; }
.listing-search__hint { font-size: 15px; line-height: 1.5; }
.site-footer__nav a, .site-footer__mission { font-size: 16px; }
.site-footer__bottom, .site-footer__bottom p, .site-footer__bottom a { font-size: 14px; }

/* ==========================================================================
   HOMEPAGE — broadcast layout (hero band + top-this-week, video row,
   latest news stretching to the sponsors, month/Instagram/sponsors sidebar)
   ========================================================================== */
.home { background: #E9ECF1; padding-bottom: 10px; }
.home-band { background: #030252; color: #fff; padding: 26px 0 30px; }
.home-band__grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 22px; align-items: start; }
.home .hero { background: #000; margin: 0; min-width: 0; }
.home .hero-carousel { height: auto; aspect-ratio: 16 / 9; }
.home .hero__skeleton { min-height: 0; aspect-ratio: 16 / 9; }
.home .hero-carousel__overlay { background: linear-gradient(transparent 35%, rgba(3,3,110,.96)); }
.home .hero-carousel__content { max-width: none; margin: 0; padding: 80px 28px 34px; }
.home .hero-carousel__category { font: 700 12px Montserrat, sans-serif; letter-spacing: .09em; padding: 4px 12px; margin-bottom: 0; color: #16161d; }
.home .hero-carousel__title { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin: 10px 0 6px; max-width: 760px; }
.home .hero-carousel__excerpt { font: 400 19px/1.5 "EB Garamond", serif; color: #dcdcf3; max-width: 700px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home .hero-carousel__arrow { top: 14px; width: 40px; height: 40px; background: rgba(3,3,110,.7); border-color: rgba(255,255,255,.6); }
.home .hero-carousel__arrow--prev { right: 62px; left: auto; }
.home .hero-carousel__arrow--next { right: 14px; }
.home .hero-carousel__dots { left: auto; right: 20px; bottom: 18px; transform: none; gap: 9px; }
.home .hero-carousel__dot { width: 11px; height: 11px; }
.home .hero-carousel__dot--active { transform: none; }
.home .hero-carousel__progress { height: 4px; background: rgba(255,255,255,.15); }

.home-top { background: rgba(255,255,255,.07); padding: 18px 20px; align-self: stretch; display: flex; flex-direction: column; }
.home-top__title { font: 800 14px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #D4AF37; margin: 0 0 6px; }
.home .top-articles__panel { padding: 0; }
.home .top-articles__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 0; border-top: 1px solid rgba(255,255,255,.15); background: none; }
.home .top-articles__item:first-child { border-top: 0; }
.home .top-articles__item:hover { background: none; }
.home .top-articles__rank, .home .top-articles__item:nth-child(n) .top-articles__rank { background: none; width: auto; height: auto; border-radius: 0; color: #D4AF37; font: 800 26px/1 Montserrat, sans-serif; min-width: 30px; }
.home .top-articles__title { font: 600 16px/1.35 Montserrat, sans-serif; color: #fff; }
.home .top-articles__category { font: 500 13px Montserrat, sans-serif; color: #b9b9e8; letter-spacing: .03em; }
.home .top-articles__thumb { display: none; }
.home-top .top-articles__item:nth-child(n+5) { display: none; }
.home .top-articles__loading { color: #b9b9e8; }

.home-h { font: 800 22px Montserrat, sans-serif; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: #16161d; }
.home-h::after { content: ""; flex: 1; height: 2px; background: #050368; order: 1; }
.home-h__link { order: 2; font: 700 12px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #050368; }
.home-videos { margin-top: 34px; }
.home-vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-vid { display: block; }
.home-vid__thumb { position: relative; display: block; background: #dfe3ea; }
.home-vid__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.home-vid strong { font: 600 17px/1.35 Montserrat, sans-serif; display: block; margin-top: 9px; color: #16161d; }

.home .content-wrapper { grid-template-columns: 2fr 1fr; gap: 34px; padding-top: 40px; align-items: stretch; }
.home .content-main, .home .content-main > section { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.home .section-title { font: 800 22px Montserrat, sans-serif; color: #16161d; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; padding: 0; }
.home .section-title::after { position: static; content: ""; flex: 1; height: 2px; width: auto; background: #050368; }
.home .article-grid { display: flex; flex-direction: column; flex: 1; gap: 0; }
.home .article-card { flex: 1; background: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid #d9d6cc; overflow: visible; }
.home .article-card:hover { transform: none; box-shadow: none; }
.home .article-card__link { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: center; padding: 20px 0; width: 100%; }
.home .article-card__image-wrapper { border-radius: 0; }
.home .article-card__body { padding: 0; }
.home .article-card .category-badge { background: none; padding: 0; border-radius: 0; font: 700 12px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #050368; }
.home .article-card__title { font: 700 22px/1.25 Montserrat, sans-serif; margin: 6px 0; color: #16161d; }
.home .article-card__excerpt { font: 400 18px/1.5 "EB Garamond", serif; color: #55555f; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home .skeleton-card { flex: none; }
.home .load-more-wrapper { padding: 24px 0 0; }
.home #load-more { border: 2px solid #050368; color: #050368; border-radius: 0; font: 700 13px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 11px 22px; background: none; }

.home .sidebar { gap: 26px; }
.home-card { background: #fff; padding: 20px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none; }
.home-card .home-h { font-size: 18px; }
.home-card .top-articles__panel { padding: 0; }
.home-card .top-articles__item { border-top: 0; border-bottom: 1px solid #d9d6cc; padding: 14px 0; }
.home-card .top-articles__item:last-child { border-bottom: 0; }
.home-card .top-articles__title { color: #16161d; }
.home-card .top-articles__category { color: #55555f; }
.home-card .top-articles__loading { color: #55555f; }
.home .widget { background: #fff; padding: 20px; }
.home .widget__title { font: 800 18px Montserrat, sans-serif; color: #16161d; border: 0; padding: 0; gap: 10px; }
.home .widget__title::after { content: ""; flex: 1; height: 2px; background: #050368; }
.home .ig-feed__follow { display: inline-block; font: 700 13px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; border: 2px solid #050368; color: #050368; padding: 11px 22px; background: none; border-radius: 0; }

@media (max-width: 900px) {
  .home-band__grid { grid-template-columns: 1fr; }
  .home .hero-carousel { aspect-ratio: auto; height: 340px; }
  .home .hero__skeleton { min-height: 300px; aspect-ratio: auto; }
  .home .hero-carousel__content { padding: 60px 16px 40px; }
  .home .hero-carousel__excerpt, .home .hero-carousel__dots { display: none; }
  .home-vids { grid-template-columns: 1fr 1fr; }
  .home .content-wrapper { grid-template-columns: 1fr; }
  .home .article-card { flex: none; }
  .home .article-card__link { grid-template-columns: 120px 1fr; gap: 14px; }
  .home .article-card__title { font-size: 18px; }
  .home .article-card__excerpt { display: none; }
}

/* ==========================================================================
   LOGO INTRO (home) + LOGO LOADER (site-wide)
   ========================================================================== */
.smi { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; z-index: 200; overflow: hidden; background: #030252; opacity: 1; transition: opacity .9s ease-in-out; }
.smi.out { opacity: 0; pointer-events: none; }
.smi video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smi button { position: absolute; right: 22px; bottom: 22px; z-index: 2; font: 700 12px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(3,3,110,.55); border: 1.5px solid rgba(255,255,255,.55); padding: 10px 18px; border-radius: 99px; cursor: pointer; }
.smi button:hover { background: rgba(3,3,110,.85); }
.smload { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; background: rgba(3,3,110,.82); opacity: 0; pointer-events: none; transition: opacity .25s; }
.smload.on { opacity: 1; pointer-events: auto; }
.smload__m { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.smload__m img { width: 72px; height: 72px; animation: smpulse 1.6s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(212,175,55,.55)); }
.smload__m::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(212,175,55,.2); border-top-color: #D4AF37; animation: smspin 1.1s linear infinite; }
.smload--inline { position: static; display: inline-grid; background: none; opacity: 1; vertical-align: middle; z-index: auto; }
.smload--inline .smload__m { width: 34px; height: 34px; }
.smload--inline .smload__m img { width: 24px; height: 24px; filter: none; }
.top-articles__loading::before, .ai-results__spinner { content: ""; }
.top-articles__loading { font-size: 0; }
.top-articles__loading::before { display: block; width: 28px; height: 28px; margin: 0 auto; background: url(/img/loader-mark.svg) center / contain no-repeat; animation: smpulse 1.6s ease-in-out infinite; }
.ai-results__spinner { border: 0 !important; background: url(/img/loader-mark.svg) center / contain no-repeat; animation: smpulse 1.2s ease-in-out infinite !important; }
@keyframes smpulse { 0%, 100% { transform: scale(.9); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes smspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .smload__m img, .smload__m::after, .top-articles__loading::before, .ai-results__spinner { animation: none !important; } }

.home .article-card__excerpt { -webkit-line-clamp: 2; }
.home .article-card__link { padding: 16px 0; }

/* ==========================================================================
   NEWS + CATEGORY pages — same look as the homepage
   ========================================================================== */
.listing { background: #E9ECF1; padding-bottom: 40px; min-height: 60vh; }
.listing .page-title { font: 800 28px Montserrat, sans-serif; color: #16161d; margin: 0 0 18px; padding-top: 0; display: flex; align-items: center; gap: 12px; }
.listing .page-title::after { content: ""; flex: 1; height: 2px; background: #050368; }
.listing .page-title-area { padding-top: 34px; }
.listing .listing-search__input { border-radius: 0; background: #fff; border: 1px solid #d9d6cc; }
.listing .listing-search__input:focus { border-color: #050368; box-shadow: none; }
.listing .listing-search__hint { color: #050368; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 14px; margin-left: 0; }
.listing .listing-categories__pill { border-radius: 0; background: none; border: 2px solid #050368; color: #050368; font: 700 12px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px; }
.listing .listing-categories__pill:hover { background: rgba(5,3,104,.07); }
.listing .listing-categories__pill--active { background: #050368; color: #fff; }
.listing .ai-results { border-radius: 0; background: #fff; border-color: #d9d6cc; }
.listing .listing-section-heading, .listing .ai-results__heading { font: 800 13px Montserrat, sans-serif; color: #050368; }
.listing .article-grid { display: flex; flex-direction: column; gap: 0; }
.listing .article-card { background: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid #d9d6cc; overflow: visible; }
.listing .article-card:hover { transform: none; box-shadow: none; }
.listing .article-card__link { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; padding: 22px 0; }
.listing .article-card__image-wrapper { border-radius: 0; }
.listing .article-card__body { padding: 0; }
.listing .article-card .category-badge { background: none; padding: 0; border-radius: 0; font: 700 12px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #050368; }
.listing .article-card__title { font: 700 24px/1.25 Montserrat, sans-serif; margin: 6px 0; color: #16161d; }
.listing .article-card__excerpt { font: 400 19px/1.5 "EB Garamond", serif; color: #55555f; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.listing .skeleton-card { padding: 22px 0; }
.listing .pagination-link { border-radius: 0; border: 2px solid #050368; background: none; color: #050368; font: 700 13px Montserrat, sans-serif; }
.listing .pagination-link.active { background: #050368; color: #fff; }
@media (max-width: 700px) {
  .listing .article-card__link { grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; }
  .listing .article-card__title { font-size: 18px; }
  .listing .article-card__excerpt { display: none; }
}

/* Archive: search box */
.archive .listing-search { margin-bottom: 8px; }
.archive__search-status { min-height: 1.4em; margin: 6px 0 18px; font: 500 14px Montserrat, sans-serif; color: #050368; }
.archive [hidden] { display: none !important; }

/* ==========================================================================
   HEADER — fixed bar: socials left, logo centre, search + support right.
   Turns translucent + compact on scroll; the liturgy strip scrolls away.
   ========================================================================== */
.smh { background: none; height: var(--smh-h, 150px); }
.smh__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--color-navy); color: #fff;
  transition: background-color .35s ease, box-shadow .35s ease; }
.smh__row { display: grid; grid-template-columns: 1fr auto 1fr; padding: 14px 0 12px; transition: padding .3s ease; }
.smh__left { justify-self: start; }
.smh__tools { justify-self: end; }
.smh__logo img { transition: height .3s ease, margin .3s ease; }
.smh__list { justify-content: center; gap: clamp(28px, 4.2vw, 64px); }
.smh__list a { transition: padding .3s ease, border-color .2s; }
.smh__nav { transition: border-color .3s; }
.smh__bar.is-scrolled { background: rgba(5, 3, 104, .84); -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25); box-shadow: 0 6px 24px rgba(0, 0, 0, .2); }
.smh__bar.is-scrolled .smh__row { padding: 6px 0 4px; }
.smh__bar.is-scrolled .smh__logo img { height: 62px; margin: -9px 0; }
.smh__bar.is-scrolled .smh__list a { padding: 9px 0 7px; }
.smh__bar.is-scrolled .smh__nav { border-top-color: rgba(255, 255, 255, .12); }
html { scroll-padding-top: 110px; }
@media (max-width: 900px) {
  .smh { height: var(--smh-h, 100px); }
  .smh__row { display: flex; justify-content: space-between; }
  .smh__left { display: none; }
  .smh__bar.is-scrolled .smh__logo img { height: 52px; margin: -8px 0; }
  .smh__list.main-nav__list--open { max-height: calc(100vh - 110px); overflow-y: auto; }
  .smh__bar.is-scrolled .smh__list a { padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) { .smh__bar, .smh__row, .smh__logo img, .smh__list a { transition: none; } }

/* open mobile menu: solid so the links stay readable */
.smh__bar:has(.main-nav__list--open) { background: var(--color-navy) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ==========================================================================
   HEADER v3 — logo left; socials, search and Support on the right.
   The magnifier opens a search box in place (socials slide away, box grows,
   a Search button appears) and submitting goes to the News results page.
   ========================================================================== */
.smh__row { display: flex; justify-content: space-between; grid-template-columns: none; }
.smh__list { justify-content: flex-start; }
.smh__sform { display: flex; align-items: center; }
.smh__sinput { width: 0; opacity: 0; padding: 0; border: 0; height: 40px; background: rgba(255,255,255,.12); color: #fff; font: 400 17px "EB Garamond", serif; outline: none;
  transition: width .38s cubic-bezier(.4,0,.2,1), opacity .25s ease, padding .38s cubic-bezier(.4,0,.2,1); }
.smh__sinput::placeholder { color: rgba(255,255,255,.62); }
.smh__sinput::-webkit-search-cancel-button { display: none; }
.smh__sgo { width: 0; opacity: 0; padding: 0; border: 0; height: 40px; overflow: hidden; white-space: nowrap; background: none; color: #fff; cursor: pointer;
  font: 700 12px Montserrat, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75);
  transition: width .38s cubic-bezier(.4,0,.2,1) .05s, opacity .25s ease .1s, padding .38s cubic-bezier(.4,0,.2,1) .05s; }
.smh__sgo:hover { background: rgba(255,255,255,.14); }
.smh__soc { max-width: 210px; overflow: hidden; transition: max-width .38s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
.is-searching .smh__soc { max-width: 0; opacity: 0; margin-right: -20px; pointer-events: none; }
.is-searching .smh__sinput { width: min(300px, 28vw); opacity: 1; padding: 0 14px; }
.is-searching .smh__sgo { width: 92px; opacity: 1; }
.is-searching .smh__search { color: var(--color-gold, #D4AF37); }
.is-searching .smh__sinput, .is-searching .smh__sgo { }
@media (max-width: 900px) {
  .smh__row { justify-content: space-between; }
  .smh__logo { overflow: hidden; max-width: 220px; transition: max-width .38s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
  .smh__menu { overflow: hidden; max-width: 90px; transition: max-width .38s cubic-bezier(.4,0,.2,1), opacity .2s ease, padding .38s; }
  .smh__tools { gap: 12px; }
  .is-searching .smh__logo, .is-searching .smh__menu { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; border-width: 0; pointer-events: none; }
  .is-searching .smh__tools { flex: 1; }
  .is-searching .smh__sform { flex: 1; }
  .is-searching .smh__sinput { width: auto; flex: 1; min-width: 0; }
  .is-searching .smh__sgo { width: 84px; }
}
@media (prefers-reduced-motion: reduce) { .smh__sinput, .smh__sgo, .smh__soc, .smh__logo, .smh__menu { transition: none; } }

.smh__sinput, .smh__sgo { border-radius: 0; -webkit-appearance: none; appearance: none; }

/* No-flicker pass: spacer heights match the real bar from the first paint; reserved space for late content */
.smh { height: var(--smh-h, 133px); }
@media (max-width: 900px) { .smh { height: var(--smh-h, 74px); } }
.home-vids { min-height: 232px; }
@media (max-width: 900px) { .home-vids { min-height: 400px; } }
.liturgia-strip__ticker:empty { visibility: hidden; }

.listing-categories { min-height: 44px; }

.related-articles[hidden] { display: none !important; }

/* the footer never flashes into view while a page is still loading its content */
#main-content { min-height: 90vh; }

/* Seven nav items spread evenly across the full width under the logo row */
@media (min-width: 901px) {
  .smh__list { justify-content: space-between; gap: 10px; flex-wrap: nowrap; width: 100%; }
}
@media (min-width: 901px) and (max-width: 1100px) { .smh__list a { letter-spacing: .04em; font-size: 11.5px; } }

/* Self-hosted fonts (were Google Fonts: a late download made every page's header text change font after it first painted).
   Variable fonts, latin + latin-ext only; the two latin files are preloaded in every page's head. */
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(/fonts/ebgaramond-italic-latin-ext.woff2) format('woff2'); 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-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 700; font-display: block; src: url(/fonts/ebgaramond-italic-latin.woff2) format('woff2'); 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: 'EB Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/ebgaramond-latin-ext.woff2) format('woff2'); 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-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 700; font-display: block; src: url(/fonts/ebgaramond-latin.woff2) format('woff2'); 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: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format('woff2'); 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-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: block; src: url(/fonts/montserrat-latin.woff2) format('woff2'); 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; }

/* the home hero already has its first slide baked into the page: its loading skeleton must not sit under it (it made the band twice as tall until the script ran, then snap shorter) */
.hero-carousel[data-baked] ~ .hero__skeleton { display: none; }

/* phones: reserve the "Top this week" list so the video row below does not jump when it fills */
@media (max-width: 900px) { .home #top-week { min-height: 257px; } }
@media (max-width: 560px) { .home #top-week { min-height: 344px; } }

/* closing logo video: its white backdrop must multiply into the page, so its wrapper may not form a stacking context (it hid Our Lady behind a white block) */
.smm-stage__lady { z-index: 0; }
.smm-close__in { z-index: auto; }

.smm-close__vid { mix-blend-mode: normal; }
.smm-close__vid--flat { mix-blend-mode: multiply; }

/* Hover legibility: the global a:hover (gold text) must never reach buttons/cards that have their own background */
.smh__support:hover, .pg-btn:hover, .btn--gold:hover, .sup-btn--gold:hover { color: #1b1b1b; }
.listing-categories__pill--active:hover, .listing .listing-categories__pill--active:hover { background: #1a1990; border-color: #1a1990; color: #fff; }
.listing .listing-categories__pill:not(.listing-categories__pill--active):hover { color: #050368; }
.share-btn:hover { color: var(--color-navy, #050368); border-color: var(--color-gold); }
.share-btn:hover svg { fill: currentColor; }
.sponsor-card:hover, .ig-grid__item:hover { color: #1b1b1b; }

/* Clear hover states (the first pass was too close to the resting colour) */
.smh__support:hover { background: #fff; color: #050368; box-shadow: 0 0 0 2px #D4AF37 inset; }
.pg-btn:hover, .btn--gold:hover, .sup-btn--gold:hover { background: #050368; color: #fff; }
.listing .listing-categories__pill:not(.listing-categories__pill--active):hover { background: #f6e9b5; color: #050368; border-color: #050368; }
.listing-categories__pill--active:hover, .listing .listing-categories__pill--active:hover { background: #D4AF37; border-color: #D4AF37; color: #1b1b1b; }

/* ---- responsive.css ---- */
/* ==========================================================================
   STELLA MARIS MEDIA — Responsive Breakpoints
   Mobile-first approach: base styles are mobile, queries scale up
   ========================================================================== */

/* ==========================================================================
   TABLET — max-width: 1024px
   Sidebar stacks below main content
   ========================================================================== */
@media (max-width: 1024px) {

  /* Content grid becomes single column */
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .sidebar {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Footer grid to 2 columns */
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  /* Article grid stays 2 columns */
  .article-grid {
    gap: var(--space-5);
  }

  /* Contact info stays 2 columns but tighter */
  .contact-info {
    gap: var(--space-6);
  }

  /* Hero row stacks on tablet */
  .hero-row { grid-template-columns: 1fr; }
  .vatican-feed { max-height: none; overflow-y: visible; border-left: none; border-top: 1px solid var(--color-border); }
  .vatican-feed__list { overflow-y: visible; }
  /* Only top-articles above Últimas Notícias; IG/channels stay below */
  .content-wrapper {
    display: flex;
    flex-direction: column;
  }
  .content-wrapper .sidebar {
    display: contents;
  }
  .content-wrapper .top-articles-widget {
    order: -1;
  }
  .content-wrapper .content-main {
    order: 0;
  }

  .hero-carousel { height: 360px; }
  .hero-carousel__arrow { width: 40px; height: 40px; }
  .hero-carousel__arrow--prev { left: 12px; }
  .hero-carousel__arrow--next { right: 12px; }

  /* Article single */
  .article-single__title {
    font-size: var(--text-3xl);
  }

  /* Nav adjustments — slightly smaller padding */
  .main-nav__link {
    padding: var(--space-4) var(--space-4);
    font-size: var(--text-xs);
  }
}

/* ==========================================================================
   MOBILE LANDSCAPE / SMALL TABLET — max-width: 768px
   Nav becomes hamburger, hero smaller, footer 2-col
   ========================================================================== */
@media (max-width: 768px) {

  /* ── Typography scale down ────────────────────────────────────────────── */
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  h4 { font-size: var(--text-lg); }

  /* ── Container padding tighter ────────────────────────────────────────── */
  :root {
    --container-padding: var(--space-4);
  }

  /* ── Split header on tablet ──────────────────────────────────────────── */
  .site-header--split {
    height: 180px;
  }
  .site-header__parallelogram { width: 200px; }
  .site-header__bar { width: 25px; }
  .site-header__bar--left { left: calc(50% - 158px); }
  .site-header__bar--right { left: calc(50% + 133px); }
  .site-header__logo { width: 120px; }

  /* ── Mobile Nav Bar: [Logo] [Hamburger] [Magnifier] ─────────────────── */
  .nav-toggle,
  .main-nav__hamburger {
    display: flex;
  }

  .main-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
  }

  /* Logo on left */
  .main-nav__logo-mobile {
    display: flex;
    align-items: center;
    order: 1;
    flex-shrink: 0;
  }
  .main-nav__logo-mobile img {
    width: 36px;
    height: auto;
    border-radius: 50%;
  }

  /* Inner pages: brand acts as logo-mobile */
  .main-nav__brand {
    order: 1;
    flex-shrink: 0;
  }

  /* Hamburger centered */
  .main-nav__hamburger {
    position: static;
    transform: none;
    order: 2;
    margin: 0 auto;
    transition: position 0s, margin 0s;
  }

  /* When menu is open, move X to top-left */
  .main-nav__hamburger[aria-expanded="true"] {
    position: fixed;
    top: 10px;
    left: var(--space-4);
    margin: 0;
    z-index: calc(var(--z-overlay) + 2);
  }

  /* Search only on the right */
  .main-nav__actions {
    order: 3;
    flex-shrink: 0;
  }
  

  /* When menu is open, lift nav above utility-bar so overlay covers it */
  body.nav-open .main-nav {
    z-index: calc(var(--z-toast) + 10);
  }

  /* ── Full-Screen Menu Overlay ─────────────────────────────────────────── */
  .main-nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-overlay);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 25px var(--space-8) var(--space-8);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    /* Layered background */
    background:
      radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
      linear-gradient(175deg, var(--color-navy-dark) 0%, #1a3344 50%, var(--color-navy) 100%);

    /* Circular reveal from center-top */
    clip-path: circle(0% at 50% 26px);
    transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav__list.is-open,
  .main-nav__list--open {
    clip-path: circle(150% at 50% 26px);
    visibility: visible;
    pointer-events: auto;
  }

  /* Staggered item fade-in */
  .main-nav__list > li {
    width: 100%;
  }

  .main-nav__list--open > li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
  .main-nav__list--open > li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
  .main-nav__list--open > li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
  .main-nav__list--open > li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
  .main-nav__list--open > li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
  .main-nav__list--open > li:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
  .main-nav__list--open > li:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
  .main-nav__list--open > li:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
  .main-nav__list--open > li:nth-child(9) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

  /* Menu link styling */
  .main-nav__link {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: var(--space-4) var(--space-6);
    text-align: center;
    width: 100%;
  }

  .main-nav__link:hover,
  .main-nav__link:focus {
    color: var(--color-gold);
  }

  .main-nav__link::after {
    display: none;
  }

  /* Active page gold highlight */
  .main-nav__link--active {
    color: var(--color-gold) !important;
  }
  .main-nav__link--active::after {
    content: '';
    display: block !important;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--space-1) auto 0;
    border-radius: 1px;
  }

  /* Gold separator between nav items */
  .main-nav__list > li + li::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(201, 168, 76, 0.2);
    margin: 0 auto;
  }

  /* ── In-Menu Social Links ─────────────────────────────────────────────── */
  .main-nav__social-mobile {
    display: block !important;
    margin-top: var(--space-6);
  }

  .menu-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
  }

  .menu-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }

  .menu-socials a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
  }
  /* ── Liturgical ticker: horizontal scroll on mobile ───────────────────── */
  /* Ticker: horizontal scroll per slide, slide-up transition between */
  .liturgia-strip__slide {
    justify-content: flex-start;
    white-space: nowrap;
    width: max-content;
    inset: auto;
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0s, transform 0.4s ease;
  }

  .liturgia-strip__slide--active {
    opacity: 1;
    transform: translateY(0);
    animation: ticker-scroll 5s ease-in-out forwards;
  }

  .liturgia-strip__slide--exit {
    opacity: 0;
    transform: translateY(-100%);
    animation: none !important;
  }

  @keyframes ticker-scroll {
    0% { transform: translateX(4px) translateY(0); }
    75% { transform: translateX(calc(-100% + 100vw - 8px)) translateY(0); }
    90% { transform: translateX(calc(-100% + 100vw - 8px)) translateY(0); opacity: 1; }
    100% { transform: translateX(calc(-100% + 100vw - 8px)) translateY(-100%); opacity: 0; }
  }

  /* ── Header ───────────────────────────────────────────────────────────── */
  .site-header {
    padding: var(--space-6) 0 var(--space-4);
  }

  .site-header__logo {
    width: 140px;
  }

  .site-header__title {
    font-size: var(--text-xl);
  }

  /* ── Hero ──────────────────────────────────────────────────────────────── */
  .hero-carousel { height: 340px; }
  .hero-carousel__arrow { display: none; }
  .hero-carousel__excerpt { display: none; }
  .hero-carousel__content { padding: var(--space-6) var(--space-4) var(--space-10); }

  /* ── Sidebar stacks to single column ──────────────────────────────────── */
  .sidebar {
    grid-template-columns: 1fr;
  }

  /* ── Article grid 1 column ────────────────────────────────────────────── */
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card--featured .article-card__image-wrapper {
    aspect-ratio: 16 / 10;
  }

  .article-card--featured .article-card__title {
    font-size: var(--text-xl);
  }

  /* ── Article single ───────────────────────────────────────────────────── */
  .article-single {
    padding: var(--space-6) var(--container-padding);
  }

  .article-single__title {
    font-size: var(--text-2xl);
  }

  .article-single__body {
    font-size: var(--text-base);
  }

  .article-single__body > p.drop-cap::first-letter {
    font-size: 2.8rem;
  }

  .article-single__meta {
    flex-direction: column;
    gap: var(--space-2);
  }

  .article-single__meta-divider {
    display: none;
  }

  .article-single__share {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  /* ── Footer 2-col ─────────────────────────────────────────────────────── */
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .site-footer__bottom .container {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  /* ── Donation ─────────────────────────────────────────────────────────── */
  

  

  

  /* ── Contact info single column ───────────────────────────────────────── */
  .contact-info {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  /* ── Saint calendar ───────────────────────────────────────────────────── */
  .saint-calendar__grid {
    gap: var(--space-1);
  }

  .saint-calendar__day {
    font-size: var(--text-xs);
  }

  /* ── Lepanto content ──────────────────────────────────────────────────── */
  .lepanto-content__hero {
    padding: var(--space-8) var(--space-5);
  }

  .lepanto-content__hero h1 {
    font-size: var(--text-2xl);
  }

  /* ── Pagination ───────────────────────────────────────────────────────── */
  .pagination__item {
    min-width: 36px;
    height: 36px;
    font-size: var(--text-xs);
  }

  /* ── Search results ───────────────────────────────────────────────────── */
  .search-results-dropdown {
    width: calc(100vw - var(--space-8));
    right: calc(var(--space-4) * -1);
  }
}

/* ==========================================================================
   MOBILE PORTRAIT — max-width: 480px
   Single column everything, generous touch targets
   ========================================================================== */
@media (max-width: 480px) {

  /* ── Split header: single video background on mobile ────────────────── */
  .site-header--split {
    height: 200px;
    padding: 0;
    background: var(--color-navy-dark);
  }

  /* Hide right video, bars, parallelogram, text overlays */
  .site-header__video-right,
  .site-header__bar,
  .site-header__parallelogram,
  .site-header__video-text {
    display: none;
  }

  /* Left video spans full width */
  .site-header__video-left {
    left: 0;
    right: 0;
    width: 100%;
  }

  /* Stronger overlay for readability */
  .site-header__video-left .site-header__video-overlay,
  .site-header__video-overlay {
    background: linear-gradient(
      to bottom,
      rgba(30, 61, 79, 0.5) 0%,
      rgba(30, 61, 79, 0.7) 100%
    );
  }

  /* Logo centered over video */
  .site-header__logo-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 5;
  }

  .site-header__logo {
    width: 130px;
  }

  .site-header__name {
    font-size: 12px;
  }

  /* ── Even tighter container ───────────────────────────────────────────── */
  :root {
    --container-padding: var(--space-3);
  }

  /* ── Utility bar simplified ───────────────────────────────────────────── */
  .utility-bar__date {
    display: none;
  }

  .utility-bar__social a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .search-form.is-open .search-input {
    width: 140px;
  }

  .btn-doe {
    padding: var(--space-1) var(--space-3);
    font-size: 0.625rem;
  }

  /* ── Header minimal ──────────────────────────────────────────────────── */
  .site-header {
    padding: var(--space-4) 0;
  }

  .site-header__logo {
    width: 120px;
  }

  .site-header__title {
    font-size: var(--text-lg);
  }

  .site-header__tagline {
    font-size: var(--text-xs);
  }

  /* ── Hero compact ─────────────────────────────────────────────────────── */
  .hero {
    min-height: 300px;
  }

  .hero__skeleton {
    min-height: 300px;
  }

  .hero__title {
    font-size: var(--text-xl);
  }

  .hero__excerpt {
    font-size: var(--text-sm);
    -webkit-line-clamp: 2;
  }

  .hero__category {
    font-size: 0.625rem;
    padding: 2px var(--space-3);
  }

  /* ── Content wrapper reduced spacing ──────────────────────────────────── */
  .content-wrapper {
    padding: var(--space-6) var(--container-padding);
    gap: var(--space-8);
  }

  /* ── Article cards ────────────────────────────────────────────────────── */
  .article-card__body {
    padding: var(--space-4);
  }

  .article-card__title {
    font-size: var(--text-lg);
  }

  .article-card__excerpt {
    -webkit-line-clamp: 2;
  }

  /* ── Section titles ───────────────────────────────────────────────────── */
  .section-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
  }

  /* ── Article single ───────────────────────────────────────────────────── */
  .article-single__title {
    font-size: var(--text-xl);
  }

  .article-single__subtitle {
    font-size: var(--text-base);
  }

  .article-single__body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
  }

  .article-single__body > p.drop-cap::first-letter {
    font-size: 2.4rem;
    padding-right: var(--space-2);
  }

  .article-single__body blockquote {
    padding: var(--space-4) var(--space-5);
    margin: var(--space-6) 0;
  }

  /* ── Buttons — generous touch targets ─────────────────────────────────── */
  .btn {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    min-height: 48px;
  }

  .pagination__item {
    min-width: 44px;
    height: 44px;
  }

  /* ── Footer single column ─────────────────────────────────────────────── */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .site-footer__col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .site-footer__nav {
    align-items: center;
  }

  .site-footer__nav a:hover {
    padding-left: 0;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__contact {
    align-items: center;
  }

  /* ── Donation ─────────────────────────────────────────────────────────── */
  

  

  

  

  /* ── Material cards stack vertically ──────────────────────────────────── */
  .material-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .material-card__download {
    align-self: center;
  }

  /* ── Saint card ───────────────────────────────────────────────────────── */
  .saint-card__image-wrapper {
    max-height: 260px;
  }

  .saint-card__name {
    font-size: var(--text-lg);
  }

  /* ── Tag list larger touch targets ────────────────────────────────────── */
  .tag-list__item {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
  }

  /* ── Toast wider on mobile ────────────────────────────────────────────── */
  .toast {
    left: var(--space-4);
    right: var(--space-4);
    transform: none;
    text-align: center;
  }

  /* ── Breadcrumb scrollable ────────────────────────────────────────────── */
  .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding: var(--space-3) 0;
  }

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

  /* ── Lepanto ──────────────────────────────────────────────────────────── */
  .lepanto-content__hero {
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-lg);
  }

  .lepanto-content__hero h1 {
    font-size: var(--text-xl);
  }

  .lepanto-content__section p {
    font-size: var(--text-base);
  }

  /* ── No results ───────────────────────────────────────────────────────── */
  .no-results {
    padding: var(--space-10) var(--space-4);
  }

  .no-results__icon {
    font-size: var(--text-4xl);
  }

  .no-results__title {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  .utility-bar,
.main-nav,
.site-footer,
.sidebar,
.nav-toggle,
.article-single__share,
.load-more-wrapper,
.pagination,
.btn,
.search-form {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .content-wrapper {
    display: block;
  }

  .article-single__body {
    max-width: none;
  }

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

  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }

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

/* ── Notícias mobile overrides ─────────────────────────────── */
@media (max-width: 768px) {
  .listing-categories { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .listing-categories::-webkit-scrollbar { display: none; }
  .ai-results__item { flex-direction: column; gap: var(--space-2); }
}

/* ── Lepanto page mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .lep-intro__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .lep-topics__grid { grid-template-columns: 1fr; }
  .lep-steps { grid-template-columns: 1fr; gap: var(--space-4); }
  .lep-hero { padding: var(--space-10) 0 var(--space-8); }
  .lep-hero__title { font-size: 2.2rem; }
  .lep-intro__logo img { max-width: 260px; }
  .lep-battle__grid { grid-template-columns: 1fr; }
  .lep-locations__grid { grid-template-columns: 1fr; max-width: 360px; }
  .lep-quote { padding: var(--space-4) var(--space-5, 20px); font-size: var(--text-sm); }
}

/* ── Materiais + Contato mobile ────────────────────────────── */
@media (max-width: 768px) {
  .materials-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ── Lepanto join grid mobile ──────────────────────────────── */
@media (max-width: 768px) {
  .lep-join__grid { grid-template-columns: 1fr; }
}

/* ── Related articles mobile ───────────────────────────────── */
@media (max-width: 768px) {
  .related-grid, .related-articles .article-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion: poster instead of video ──────────────────────────── */
@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .site-header__video-left video {
    display: none;
  }
  .site-header__video-left {
    background: url('/img/og-image.jpg') center/cover no-repeat;
  }
}


/* 2026-10-29 readability: article byline/date/reading time, "Our news channels" and sponsor descriptions were too small */
.article-single__meta { font-size: 1.0625rem; }
.social-channel__label { font-size: 1.0625rem; }
.social-channel__desc { font-size: .9375rem; line-height: 1.4; }
.sponsor-card__tag { font-size: 1rem; }
.sponsor-card__visit { font-size: .9rem; }

/* 2026-10-29 (2): bigger byline row details, news-channel names and sidebar categories; the article page category is no longer a gold pill:
   it matches the home page cards (plain navy capitals) with a short gold rule */
.article-single__reading-time { font-size: 1em; }
.support-socials__name { font-size: .9375rem; font-weight: 500; }
.top-articles__category { font-size: 13px; }
.article-single__category.category-badge { background: none; padding: 0; border-radius: 0; color: var(--color-navy); font-size: .8125rem; letter-spacing: .12em; position: relative; padding-bottom: 12px; }
.article-single__category.category-badge::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 34px; height: 2px; background: var(--color-gold); transform: translateX(-50%); }
.article-single__category.category-badge:hover { background: none; color: var(--color-navy-dark); }

/* 2026-10-29 (3): comments section and community guidelines were too small */
.comments-rules__text { font-size: 1.0625rem; line-height: 1.6; }
.comment-form__title { font-size: 1.25rem; }
.comment-form__field label { font-size: 1rem; }
.comment-form__field input, .comment-form__field textarea { font-size: 1.0625rem; }
.comment-form__submit, .comment-form__cancel, .comment-form__status { font-size: 1rem; }
.comment__author { font-size: 1rem; }
.comment__time, .comment__reply-btn, .comment-replies__toggle { font-size: .9375rem; }
.comment__body { font-size: 1.125rem; line-height: 1.6; }
.comments-show-more { font-size: 1rem; }

/* 2026-10-29 (4): article cards anywhere (suggested articles included) show the category as plain navy capitals, no gold pill */
.article-card .category-badge { background: none; padding: 0; border-radius: 0; font: 700 12px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #050368; }

/* 2026-10-29 (5): suggested articles: the same short gold line under the category label as on the article page */
.related-articles .article-card .category-badge { position: relative; padding-bottom: 10px; margin-bottom: 8px; }
.related-articles .article-card .category-badge::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--color-gold); }

/* 2026-10-29 (6): closing logo video: the artwork sits ~7% inside its video frame, so pull the frame left until the logo lines up with the page margin (like the links on the right) */
.smm-close__vid { margin-left: calc(min(460px, 80vw) * -0.072); }

/* 2026-10-29 (7): footer: the "Newsletter" column is just the sign-up form, with readable type */
.site-footer__newsletter { margin-top: 0; padding-top: 0; border-top: none; }
.site-footer__newsletter-label { font-size: 1rem; margin-bottom: 12px; }
.site-footer__newsletter-form input[type="email"], .site-footer__newsletter-form input[type="text"] { font-size: 1rem; padding: 12px 14px; }
.site-footer__newsletter-form button { font-size: 1rem; padding: 12px 18px; }
.site-footer__newsletter-msg { font-size: .9375rem; }

/* 2026-10-29 (8): closing section: centre the two links on the "STELLA MARIS MEDIA" wordmark (it sits 7.7% of the video height below the frame centre), not on the whole logo incl. star. Side by side only. */
@media (min-width: 830px) {
  .smm-close__links { position: relative; top: calc(min(460px, 80vw) * 0.0569); }
}


/* ======================================================================
   2026-10-29 (9): gold-button hover, Contact page, Support page
   ====================================================================== */

/* Gold buttons: hover flips to deep blue with a gold ring + gold text (never grey, readable on blue AND on white) */
.smh__support, .pg-btn, .btn--gold, .sup-btn--gold, .sup-btn--navy, .scf__send { transition: none; }   /* instant swap: a fade between gold and navy passes through a muddy grey */
.smh__support:hover, .smh__support:focus-visible, .pg-btn:hover, .btn--gold:hover, .sup-btn--gold:hover, .sup-btn--gold:focus-visible {
  background: #050368; color: #D4AF37; box-shadow: inset 0 0 0 2px #D4AF37; text-decoration: none; }

/* ---------- Contact ---------- */
.contact-page { max-width: none; }
.contact-page .page-title { margin-bottom: clamp(28px, 4vw, 48px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 96px); align-items: start; padding-bottom: 72px; }
.contact-grid .stage-contact { margin: 0; }
.scf-title { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 Montserrat, sans-serif; color: var(--color-navy); margin: 0 0 28px; padding: 0; }
.scf-title--sm { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.scf { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.scf__row { gap: 0 36px; }
.scf__field { gap: 2px; margin-bottom: 26px; }
.scf__field label { font: 700 11.5px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #5b6573; }
.scf__field label span { color: var(--color-navy); }
.scf__field input, .scf__field textarea, .scf__field select {
  border: 0; border-bottom: 1.5px solid #b9bfc9; border-radius: 0; background: transparent; box-shadow: none;
  padding: 10px 0 11px; font-family: "EB Garamond", Georgia, serif; font-size: 1.3rem; color: #1E242C; transition: border-color .15s ease; }
.scf__field input::placeholder, .scf__field textarea::placeholder { color: #98a0ad; }
.scf__field input:focus, .scf__field textarea:focus, .scf__field select:focus { border-bottom-color: var(--color-navy); box-shadow: 0 1.5px 0 0 var(--color-navy); background: transparent; outline: none; }
.scf__field textarea { min-height: 150px; line-height: 1.5; }
.scf__field select { cursor: pointer; padding-right: 24px; }
.scf__field select:invalid { color: #98a0ad; }
.scf__foot { margin-top: 6px; }
.scf__send { border-radius: 0; background: var(--color-navy); color: #fff; padding: 16px 30px; font: 700 12.5px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.scf__send:hover:not(:disabled), .scf__send:focus-visible { background: #D4AF37; color: #050368; }
.scf__done { text-align: left; padding: 8px 0 24px; }
.scf__done h3 { font: 800 1.6rem Montserrat, sans-serif; }
.scf__done p { font-size: 1.2rem; }
.contact-channels { border-left: 1px solid #C5CAD3; padding-left: clamp(24px, 4vw, 48px); }
.contact-channels .page-subtitle { font-size: 1.1rem; margin: 0 0 22px; }
.channel-list { display: block; }
.contact-channels .channel-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border: 0; border-top: 1px solid #C5CAD3; border-radius: 0; background: none; box-shadow: none; transform: none; }
.contact-channels .channel-item:last-child { border-bottom: 1px solid #C5CAD3; }
.contact-channels .channel-item:hover { background: none; }
.contact-channels .channel-item__icon { width: 40px; height: 40px; background: none !important; color: var(--color-navy); box-shadow: inset 0 0 0 1.5px var(--color-navy); flex: none; }
.contact-channels .channel-item__icon svg { width: 18px; height: 18px; }
.contact-channels .channel-item__name { font: 700 1.02rem Montserrat, sans-serif; color: var(--color-navy); background: linear-gradient(#D4AF37, #D4AF37) 0 100% / 0 2px no-repeat; transition: background-size .2s ease; align-self: flex-start; padding-bottom: 2px; }
.contact-channels .channel-item:hover .channel-item__name { background-size: 100% 2px; }
.contact-channels .channel-item__desc { font-size: 1.02rem; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-channels { border-left: 0; padding-left: 0; }
  .scf__row { grid-template-columns: 1fr; }
}

/* ---------- Support: cinematic hero ---------- */
.sup-hero2 { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 82vh, 780px); background: #02012F; color: #fff; overflow: hidden; }
.sup-hero2__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.sup-hero2__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,1,47,.86) 0%, rgba(2,1,47,.5) 46%, rgba(2,1,47,.08) 100%), linear-gradient(0deg, rgba(2,1,47,.8) 0%, rgba(2,1,47,0) 55%); }
.sup-hero2__in { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 8vw, 88px); }
.sup-hero2__title { font: 800 clamp(2.5rem, 6vw, 5rem)/1.02 Montserrat, sans-serif; letter-spacing: -.015em; color: #fff; margin: 0 0 22px; max-width: 11em; text-shadow: 0 2px 26px rgba(0,0,0,.45); }
.sup-hero2__text { font: 400 clamp(1.2rem, 1.7vw, 1.5rem)/1.55 "EB Garamond", Georgia, serif; color: #e6e9f5; max-width: 33em; margin: 0 0 34px; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.sup-hero2__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }
.sup-hero2__more { color: #fff; font: 700 12.5px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid #D4AF37; }
.sup-hero2__more:hover { color: #D4AF37; text-decoration: none; }
.sup-hero2 .sup-btn { padding: 17px 30px; font-size: 13px; border-radius: 0; }

/* ---------- Support: the ladder of metals ---------- */
.sup-btn { border-radius: 0; }
.sup-btn--navy { background: #050368; color: #fff; }
.sup-btn--navy:hover, .sup-btn--navy:focus-visible { background: #D4AF37; color: #050368; text-decoration: none; transform: none; }
.sup-give { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.sup-give__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.sup-give__side { position: sticky; top: 180px; }
.sup-give .sup-h2 { font: 800 clamp(1.9rem, 3.2vw, 2.7rem)/1.08 Montserrat, sans-serif; color: var(--color-navy); border: 0; margin: 0 0 40px; padding: 0 0 20px; position: relative; }
.sup-give .sup-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: #D4AF37; }
.sup-other { padding: 0; border-top: 1px solid #cfd3da; }
.sup-other__grid { display: block; }
.sup-card { background: none; border: 0; border-bottom: 1px solid #cfd3da; border-radius: 0; box-shadow: none; padding: 22px 0 24px; }
.sup-card h3 { font: 700 11.5px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #5b6573; margin: 0 0 10px; }
.sup-card p { font: 400 1.25rem/1.5 "EB Garamond", Georgia, serif; color: #1E242C; margin: 0; }
.sup-card a { color: var(--color-navy); font-weight: 500; text-decoration: underline; text-decoration-color: #D4AF37; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sup-card a:hover { color: #050368; text-decoration-color: #050368; }

.sup-ladder { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--color-navy); counter-reset: none; }
.sup-ladder .sup-tier { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; column-gap: clamp(14px, 2.4vw, 28px);
  min-height: 0; padding: 20px 14px 20px 10px; background: none; border: 0; border-bottom: 1px solid #cfd3da; border-radius: 0; overflow: visible; transition: background-color .2s ease; }
.sup-ladder .sup-tier::before { content: none; }
.sup-ladder .sup-tier:hover { background: #faf6e8; }
.sup-tier__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sup-tier__no { font: 700 11px Montserrat, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #5b6573; }
.sup-ladder .sup-tier__name { font: 800 clamp(1.25rem, 2vw, 1.6rem)/1.1 Montserrat, sans-serif; color: var(--color-navy); margin: 0; text-shadow: none; }
.sup-ladder .sup-tier__amount { margin: 0; text-align: right; text-shadow: none; display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; min-width: 150px; color: #1E242C; }
.sup-tier__amount b { font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1 Montserrat, sans-serif; color: var(--color-navy); letter-spacing: -.01em; }
.sup-tier__amount small { font: 400 1.05rem "EB Garamond", Georgia, serif; color: #5b6573; }
.sup-ladder .sup-btn { min-width: 96px; padding: 13px 22px; font-size: 12px; letter-spacing: .14em; }

/* the coin: each metal is a small lit disc */
.sup-coin { --m1: #d9d9d9; --m2: #9a9a9a; --m3: #5a5a5a; position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, var(--m1) 0%, var(--m2) 46%, var(--m3) 100%);
  box-shadow: inset 0 -5px 9px rgba(0,0,0,.28), inset 0 2px 3px rgba(255,255,255,.45), 0 3px 8px rgba(5,3,104,.2); transition: transform .35s ease; }
.sup-coin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 1px 2px rgba(0,0,0,.25); }
.sup-tier:hover .sup-coin { transform: rotate(-12deg) scale(1.06); }
.sup-metal--iron     .sup-coin { --m1: #8b8b92; --m2: #4d4d54; --m3: #26262b; }
.sup-metal--steel    .sup-coin { --m1: #eef2f6; --m2: #9aa6b3; --m3: #5d6975; }
.sup-metal--copper   .sup-coin { --m1: #f0b48a; --m2: #c0703a; --m3: #7b3f18; }
.sup-metal--brass    .sup-coin { --m1: #f0e08a; --m2: #c4ac3c; --m3: #7d6a14; }
.sup-metal--nickel   .sup-coin { --m1: #e6e6df; --m2: #aaaaa2; --m3: #6e6e68; }
.sup-metal--titanium .sup-coin { --m1: #cdd2dc; --m2: #7f8694; --m3: #3f4552; }
.sup-metal--bronze   .sup-coin { --m1: #e9ab6a; --m2: #a8692a; --m3: #5e3512; }
.sup-metal--silver   .sup-coin { --m1: #ffffff; --m2: #c6c9cf; --m3: #82868f; }
.sup-metal--gold     .sup-coin { --m1: #fff0a0; --m2: #d4af37; --m3: #8f6d0c; }
/* the top step is the only dark one */
.sup-ladder .sup-metal--gold { background: var(--color-navy); border-bottom: 0; padding-top: 26px; padding-bottom: 26px; }
.sup-ladder .sup-metal--gold:hover { background: #07058f; }
.sup-metal--gold .sup-tier__no { color: #b7b9e6; }
.sup-ladder .sup-metal--gold .sup-tier__name { color: #fff; }
.sup-metal--gold .sup-tier__amount b { color: #D4AF37; }
.sup-metal--gold .sup-tier__amount small { color: #c9cbee; }
.sup-metal--gold .sup-btn--navy { background: #D4AF37; color: #050368; }
.sup-metal--gold .sup-btn--navy:hover, .sup-metal--gold .sup-btn--navy:focus-visible { background: #fff; color: #050368; }

@media (max-width: 900px) {
  .sup-give__grid { grid-template-columns: 1fr; }
  .sup-give__side { display: contents; }
  .sup-give .sup-h2 { order: 0; margin-bottom: 0; }
  .sup-give__grid > .sup-ladder { order: 1; }
  .sup-other { order: 2; }
}
@media (max-width: 620px) {
  .sup-ladder .sup-tier { grid-template-columns: 48px minmax(0, 1fr) auto; row-gap: 14px; padding: 18px 4px; }
  .sup-coin { width: 44px; height: 44px; }
  .sup-ladder .sup-tier__amount { min-width: 0; }
  .sup-ladder .sup-btn { grid-column: 1 / -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sup-coin, .sup-tier:hover .sup-coin { transition: none; transform: none; } }

.contact-grid { align-items: stretch; }

/* 2026-10-29 (10): tiers without photos or coins: her star, growing and warming from silver to gold */
:root{--starmask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-310%20-310%20620%20620%22%3E%3Cpath%20d%3D%22M0.0%2C-300.0%20L24.5%2C-59.1%20L134.4%2C-134.4%20L59.1%2C-24.5%20L215.0%2C0.0%20L59.1%2C24.5%20L134.4%2C134.4%20L24.5%2C59.1%20L0.0%2C300.0%20L-24.5%2C59.1%20L-134.4%2C134.4%20L-59.1%2C24.5%20L-215.0%2C0.0%20L-59.1%2C-24.5%20L-134.4%2C-134.4%20L-24.5%2C-59.1%20Z%22%2F%3E%3C%2Fsvg%3E");}
.sup-ladder .sup-tier:nth-child(1){--k:1;--p:5;}
.sup-ladder .sup-tier:nth-child(2){--k:2;--p:18;}
.sup-ladder .sup-tier:nth-child(3){--k:3;--p:28;}
.sup-ladder .sup-tier:nth-child(4){--k:4;--p:41;}
.sup-ladder .sup-tier:nth-child(5){--k:5;--p:50;}
.sup-ladder .sup-tier:nth-child(6){--k:6;--p:59;}
.sup-ladder .sup-tier:nth-child(7){--k:7;--p:69;}
.sup-ladder .sup-tier:nth-child(8){--k:8;--p:77;}
.sup-ladder .sup-tier:nth-child(9){--k:9;--p:100;}
.sup-coin { width: 56px; height: 56px; border-radius: 0; background: none; box-shadow: none; display: grid; place-items: center; }
.sup-coin::after { content: ""; position: static; inset: auto; border-radius: 0; box-shadow: none; display: block;
  width: calc(27px + var(--r, 1) * 29px); height: calc(27px + var(--r, 1) * 29px);
  background: color-mix(in srgb, #D4AF37 calc(var(--r, 1) * 100%), #9aa3b2);
  -webkit-mask: var(--starmask) center / contain no-repeat; mask: var(--starmask) center / contain no-repeat; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sup-tier:hover .sup-coin { transform: none; }
.sup-tier:hover .sup-coin::after { transform: rotate(45deg) scale(1.12); }
.sup-ladder .sup-tier:last-child .sup-coin::after { background: #D4AF37; animation: twinkle 3s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(212,175,55,.7)); }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.14) rotate(8deg); opacity: .82; } }


/* 2026-10-30: the blue blocks borrow the intro video's look: a soft lit centre fading to deep edges */
.pg-hero, .pg-sec--navy { background-color: #03035A; background-image: radial-gradient(ellipse 75% 130% at 30% 58%, #1616A4 0%, #0B0B82 34%, #04045E 68%, #02023F 100%); }
.pg-hero--person, .pg-sec--navy { background-image: radial-gradient(ellipse 70% 130% at 72% 52%, #1616A4 0%, #0B0B82 34%, #04045E 68%, #02023F 100%); }
@media (max-width: 800px) {
  .pg-hero, .pg-hero--person, .pg-sec--navy { background-image: radial-gradient(ellipse 120% 90% at 50% 40%, #1616A4 0%, #0B0B82 38%, #04045E 72%, #02023F 100%); }
}

.sup-card--give .sup-btn { margin-top: 18px; padding: 15px 26px; font-size: 12.5px; letter-spacing: .12em; }
.sup-card--give p { max-width: 24em; }

.sup-card a.sup-btn { color: #1E242C; font-weight: 700; text-decoration: none; }
.sup-card a.sup-btn--gold:hover, .sup-card a.sup-btn--gold:focus-visible { background: #050368; color: #D4AF37; box-shadow: inset 0 0 0 2px #D4AF37; text-decoration: none; }

.sup-card[hidden] { display: none; }

.sup-btn[hidden], .sup-hero2 a[hidden] { display: none !important; }

/* 2026-10-30: Deep Royal palette (#050368 / gold #D4AF37 / silver / pale mist) + Mist home hero, chosen by Felipe in /lab/palette */
:root { --color-border-light:#E9ECF1; }
body { background-color:#E9ECF1; }
.article-card, .sponsor-card, .top-articles, .comments-form, .support-socials { background-color:#FFFFFF; }
.home-top {background: #fff; border: 1px solid #C5CAD3; padding: 20px 22px 12px; box-shadow: 0 18px 38px -26px rgba(5,3,104,.5);}
.home-top__title {color: #050368; align-self: flex-start; padding-bottom: 9px; margin-bottom: 4px; border-bottom: 3px solid #D4AF37;}
.home .top-articles__item {border-top-color: #E9ECF1;}
.home .top-articles__rank, .home .top-articles__item:nth-child(n) .top-articles__rank {color: #A98A24;}
.home .top-articles__title {color: #1E242C;}
.home .top-articles__category {color: #5B6573;}
.home .top-articles__item:hover .top-articles__title {color: #050368;}
.home .hero {background: #0c0e26; box-shadow: 0 22px 44px -26px rgba(5,3,104,.55);}
.home .hero-carousel__overlay {background: linear-gradient(transparent 34%, rgba(10,12,34,.92));}
.home-band {background: #E9ECF1; padding: 30px 0 36px;}

/* 2026-10-30: clearer progression: size 20px -> 64px, colour slate -> copper -> gold across the ladder */
.sup-coin { width: 68px; height: 68px; }
.sup-coin::after { width: calc(20px + var(--r, 1) * 44px); height: calc(20px + var(--r, 1) * 44px);
  background: color-mix(in srgb, color-mix(in srgb, #6B7482, #C47F43 clamp(0%, calc(var(--r, 1) * 200%), 100%)), #E2B93B clamp(0%, calc((var(--r, 1) - 0.5) * 200%), 100%)); }
.sup-ladder .sup-tier:last-child .sup-coin::after { background: #E2B93B; }
@media (max-width: 700px) { .sup-coin { width: 54px; height: 54px; } .sup-coin::after { width: calc(18px + var(--r, 1) * 34px); height: calc(18px + var(--r, 1) * 34px); } }

/* 2026-10-30: footer + header alignment, consistent on every page.
   Desktop/tablet: every column (logo block included) is left-aligned on the same edges as the header (logo left, tools right).
   Phone: everything centred, including the gold underlines and the bottom credit line. */
.site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.15fr; align-items: start; }
.site-footer__col:first-child { text-align: left; }
.site-footer__mission { text-align: left; max-width: 21em; margin-left: 0; margin-right: auto; }
.site-footer__logo--lockup { margin: -26px 0 -6px -4px; }
.site-footer__bottom-inner { justify-content: center; text-align: center; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .site-footer__col:first-child, .site-footer__mission { text-align: center; }
  .site-footer__mission { margin-left: auto; margin-right: auto; }
  .site-footer__logo--lockup { margin: -26px auto -6px; }
  .site-footer__heading::after, .site-footer__col-title::after { left: 50%; transform: translateX(-50%); }
  .site-footer__nav { align-items: center; }
  .site-footer__newsletter { text-align: center; }
  .site-footer__bottom-inner { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .site-footer__bottom-inner p { text-align: center; }
}

/* header social icons: brand colours on hover (white glyph on the brand badge) */
.smh__soc { gap: 14px; }
.smh__soc a { padding: 5px; border-radius: 50%; transition: none; flex-shrink: 0; }
.smh__soc svg { flex-shrink: 0; }
.smh__soc a:hover, .smh__soc a:focus-visible { color: #fff; opacity: 1; }
.smh__soc a[data-contact="contact_instagram"]:hover, .smh__soc a[data-contact="contact_instagram"]:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.smh__soc a[data-contact="contact_youtube"]:hover, .smh__soc a[data-contact="contact_youtube"]:focus-visible { background: #FF0000; }
.smh__soc a[data-contact="contact_whatsapp"]:hover, .smh__soc a[data-contact="contact_whatsapp"]:focus-visible { background: #25D366; }

@media (max-width: 960px) { .site-footer__bottom .site-footer__bottom-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; } .site-footer__bottom .site-footer__bottom-inner p { text-align: center; } }

.smh__bar.is-measuring, .smh__bar.is-measuring * { transition: none !important; }

/* 2026-10-30 mobile fixes */
@media (max-width: 768px) { .article-single__reading-time::before { display: none; } .article-single__reading-time { justify-content: center; } }
@media (max-width: 829px) {
  .smm-close__in { flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
  .smm-close__vid { margin-left: 0; }
  .smm-close__links { width: min(460px, 80vw); min-width: 0; }
}

/* 2026-10-30: phones/tablets: the slide is exactly 16:9 like the photos, so the whole photo shows (no crop); the title stays ON the photo, as on desktop */
@media (max-width: 900px) {
  .home .hero-carousel { height: auto; aspect-ratio: 16 / 9; }
  .home .hero-carousel__bg { transform: none !important; }
  .home .hero-carousel__overlay { background: linear-gradient(transparent 38%, rgba(3,3,90,.94)); }
  .home .hero-carousel__content { padding: 36px 14px 16px; }
  .home .hero-carousel__category { font-size: 10.5px; padding: 3px 9px; }
  .home .hero-carousel__title { font-size: 18px; line-height: 1.2; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .home .hero-carousel__arrow { top: 8px; width: 34px; height: 34px; }
  .home .hero-carousel__arrow--prev { right: 50px; }
  .home .hero-carousel__arrow--next { right: 8px; }
}
/* phone intro: logo a little above the middle (optical centre), seam colour = the video's edge */
@media (max-width: 700px) and (orientation: portrait) {
  /* fixed to the screen, not the page: covers the whole display (under Safari's toolbars too) however they collapse or the page scrolls */
  .smi { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; touch-action: none; background: radial-gradient(ellipse 75% 55% at 50% 46%, #141496 0%, #01013A 100%); }
  /* sized by WIDTH (the video is 9:16), logo at ~46% of the screen height; top/bottom feather into the background on taller phones */
  .smi video { inset: auto; left: 0; width: 100%; height: 177.78vw; top: calc(46% - 88.89vw); object-fit: cover;
    -webkit-mask-image: linear-gradient(transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 10%, #000 90%, transparent 100%); }
}

/* Skip intro stays in the VISIBLE area: the overlay is the large viewport (runs behind browser bars and Android buttons), so lift the button by what is hidden. Browsers without these units keep the 22px above. */
.smi button { bottom: calc(100lvh - 100svh + 22px + env(safe-area-inset-bottom, 0px)); }

/* 2026-10-30: phones: the hero wrapper is exactly as tall as the 16:9 slide (the old 300px reserve showed as a dark band under it) */
@media (max-width: 900px) { .home .hero { min-height: 0; height: auto; aspect-ratio: 16 / 9; } .home .hero__skeleton { min-height: 0; aspect-ratio: 16 / 9; } }

/* 2026-10-30: article pages: content first, blocks later. The sidebar stays invisible until the article has rendered
   (articles.js adds .is-ready); the animation is only a safety net so it can never stay hidden. */
.article-page__aside { opacity: 0; animation: smmAsideIn .3s ease 4s forwards; }
.article-page.is-ready .article-page__aside { opacity: 1; animation: none; transition: opacity .45s ease .1s; }
@keyframes smmAsideIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .article-page.is-ready .article-page__aside { transition: none; } }

/* phones: article cover fills the card width, text below (Felipe 2026-10-30) */
@media (max-width: 700px) {
  .home .article-card__link, .listing .article-card__link { grid-template-columns: 1fr; gap: 0; align-items: start; padding: 16px 0 20px; }
  .home .article-card__image-wrapper, .listing .article-card__image-wrapper { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 12px; }
  .home .article-card__body, .listing .article-card__body { padding: 0; }
  .home .article-card__title, .listing .article-card__title { font-size: 20px; }
}


/* ── Home announcements (2026-11-02) — a plain newspaper notice, not a card ── */
.home-ann-wrap[hidden] { display: none; }
.home-ann { margin: 28px 0 8px; }
.home-ann__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; border-top: 3px solid #050368; border-bottom: 1px solid #d6d3d1; padding: 20px 0 22px; }
.home-ann__item + .home-ann__item { border-top-width: 1px; border-top-color: #d6d3d1; }
.home-ann__item--img { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.home-ann__img { line-height: 0; }
.home-ann__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.home-ann__kick { display: block; font: 700 .7rem/1.2 Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #966e00; margin: 0 0 8px; }
.home-ann__title { font: 800 clamp(1.3rem, 2.4vw, 1.75rem)/1.15 Montserrat, sans-serif; color: #050368; margin: 0 0 10px; }
.home-ann__body { font: 400 1.1rem/1.55 "EB Garamond", Georgia, serif; color: #2a2a3d; }
.home-ann__body p { margin: 0 0 10px; }
.home-ann__body ul, .home-ann__body ol { margin: 0 0 10px 1.2em; padding: 0; }
.home-ann__body a { color: #050368; text-decoration: underline; text-underline-offset: 3px; }
.home-ann__go { display: inline-block; margin-top: 6px; font: 700 .78rem/1.2 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #050368; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid #D4AF37; }
.home-ann__go:hover, .home-ann__go:focus-visible { color: #000; border-bottom-color: #050368; }
@media (max-width: 768px) {
  .home-ann { margin-top: 20px; }
  .home-ann__item--img { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* About page: IMDb link */
.pg-imdb a { font: 700 .78rem/1.2 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #050368; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid #D4AF37; }
.pg-imdb a:hover, .pg-imdb a:focus-visible { color: #000; border-bottom-color: #050368; }

/* About: facts row with only Degrees + memberships (timeline removed 2026-11-02) */
.pg-facts__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 520px) { .pg-facts__row--2 { grid-template-columns: 1fr; } }

/* Comments closed / moderated (admin → Comments, 2026-11-02) */
.comments-section--closed .comment__reply-btn { display: none; }
.comments-closed, .comments-moderated { font: 400 16px/1.5 "EB Garamond", Georgia, serif; color: #5b5b66; margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid #050368; background: #f6f5f1; }
.comments-moderated { margin: 18px 0 10px; border-left-color: #D4AF37; }

/* About page after the facts strip was removed (2026-11-03): white founder section, navy cut-out band */
.pg-sec--white { background: #fff; }
.pg-band:not(.pg-band--light) .pg-imdb a { color: #fff; border-bottom-color: var(--color-gold, #D4AF37); }
.pg-band:not(.pg-band--light) .pg-imdb a:hover, .pg-band:not(.pg-band--light) .pg-imdb a:focus-visible { color: var(--color-gold, #D4AF37); border-bottom-color: #fff; }

/* Article cover linked to its video (2026-11-03) */
.article-single__image--link { position: relative; }
.article-single__image-link { display: block; position: relative; color: inherit; }
.article-single__image-link:focus-visible { outline: 3px solid #D4AF37; outline-offset: 3px; }
.article-single__image-badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: #050368; color: #fff; font: 700 .74rem/1 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: background .2s ease; }
.article-single__image-link:hover .article-single__image-badge, .article-single__image-link:focus-visible .article-single__image-badge { background: #000; }
.article-single__image-link:hover img { filter: brightness(.94); }
@media (max-width: 520px) { .article-single__image-badge { left: 10px; bottom: 10px; padding: 7px 10px; font-size: .66rem; } }

/* Previous / Next article */
.article-pager { max-width: var(--article-content-width); margin: var(--space-8) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 3px solid #050368; padding-top: 18px; }
.article-pager__item { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #14142b; min-width: 0; }
.article-pager__item--next { flex-direction: row-reverse; text-align: right; }
.article-pager__thumb { width: 96px; height: 54px; object-fit: cover; flex: none; display: block; }
.article-pager__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.article-pager__kick { font: 700 .7rem/1.2 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #6b6b7a; }
.article-pager__title { font: 600 1.12rem/1.3 "EB Garamond", Georgia, serif; color: #050368; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-pager__item:hover .article-pager__title, .article-pager__item:focus-visible .article-pager__title { text-decoration: underline; text-underline-offset: 3px; }
.article-pager__item:focus-visible { outline: 2px solid #D4AF37; outline-offset: 4px; }
@media (max-width: 640px) {
  .article-pager { grid-template-columns: 1fr; gap: 16px; }
  .article-pager__item--empty { display: none; }
  .article-pager__item--next { flex-direction: row; text-align: left; }
}

/* Picture captions in articles: readable size (Christine, 2026-11-03: "a bit bigger") */
.article-single__body figcaption { font-size: 1.0625rem; line-height: 1.45; }
.article-single__body figure.fig-l figcaption,
.article-single__body figure.fig-r figcaption { font-size: 1rem; line-height: 1.4; }
@media (max-width: 640px) { .article-single__body figcaption { font-size: 1rem; } }
.article-single__body figcaption { text-align: center; }   /* centred under the picture (Christine, 2026-11-03) */

/* Cookie note: fixed, so it never moves the page. Under the newsletter overlay (9998) and the header (100). */
.smm-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 660px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 12px 14px 12px 18px; background: #fff; color: var(--color-text-primary); border: 1px solid rgba(6, 4, 134, .16); box-shadow: 0 8px 28px rgba(6, 4, 134, .14); font-family: var(--font-sans); font-size: 16px; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.smm-cookie.is-in { opacity: 1; transform: none; }
.smm-cookie p { margin: 0; flex: 1 1 auto; }
.smm-cookie a { color: var(--color-navy); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.smm-cookie button { flex: none; min-height: 40px; padding: 8px 16px; background: var(--color-navy); color: #fff; border: 0; cursor: pointer; font-family: var(--font-serif); font-size: 12px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.smm-cookie button:hover { background: var(--color-navy-dark); }
.smm-cookie button:focus-visible, .smm-cookie a:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }
@media (max-width: 600px) {
  .smm-cookie { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; font-size: 15px; }
  .smm-cookie button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .smm-cookie { transition: none; transform: none; } }

/* Phone menu fills the screen: links, then the Support button, then the social icons at the foot.
   nowrap: with a limited height the list used to wrap into a second column and clip "Support our Work". */
.smh__li-soc { display: none; }
@media (max-width: 900px) {
  body.nav-open .smm-cookie { display: none; }
  body.nav-open .smh__bar { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open .smh__wrap { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
  body.nav-open .smh__nav { flex: 1 0 auto; display: flex; flex-direction: column; }
  .smh__list.main-nav__list--open { flex: 1 0 auto; flex-wrap: nowrap; gap: 0; max-height: none; overflow: visible; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .smh__list .smh__li-support { margin-top: auto; padding-top: 22px; }
  .smh__list .smh__li-support a { background: var(--color-gold, #D4AF37); color: #1b1b1b; border: 0; padding: 15px 18px; text-align: center; white-space: nowrap; font-weight: 700; }
  .smh__list .smh__li-soc { display: block; padding-top: 16px; }
  .smh__li-soc ul { display: flex; justify-content: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
  .smh__list .smh__li-soc a { display: inline-flex; padding: 8px; border: 0; color: #fff; }
  /* links share the height evenly, down to the Support button */
  .smh__list.main-nav__list--open > li:not(.smh__li-support):not(.smh__li-soc) { flex: 1 1 auto; display: flex; }
  .smh__list.main-nav__list--open > li:not(.smh__li-support):not(.smh__li-soc) > a { flex: 1; display: flex; align-items: center; font-size: 14px; }
  .smh__list .smh__li-support { margin-top: 0; padding-top: 18px; }
  .smh__menu--x { display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; }
}
/* 901-1100px: the eight links stay on one line */
@media (min-width: 901px) and (max-width: 1100px) { .smh__list a { white-space: nowrap; } .smh__list { gap: 6px; } }
@media (min-width: 901px) and (max-width: 1000px) { .smh__list a { font-size: 10.5px; letter-spacing: .02em; } }
.back-to-top:not(.back-to-top--visible) { pointer-events: none; }
