/* Global styles including header */
:root {
    /* Colors - intentional usage */
    --major: #1e3b71;      /* Primary brand color (60%) */
    --accent: #2a9d90;     /* Call-to-action color (30%) */
    --accent-warm: #e8c468; /* Accent highlights (10%) */
    --text: #292c33;
    --text-muted: rgba(41,44,51,0.7);
    --panel: #ffffff;
    --primary-bg: #f4f7fb;
    --script: #000000;
    /* Typography Scale (1.25 ratio) */
    --text-xs: 0.8rem;     /* 12.8px */
    --text-sm: 0.9rem;     /* 14.4px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.25rem;    /* 20px */
    --text-xl: 1.563rem;   /* 25px */
    --text-2xl: 1.953rem;  /* 31.25px */
    --text-3xl: 2.441rem;  /* 39.06px */
    --text-4xl: 3.052rem;  /* 48.83px */
    --text-5xl: 3.815rem;  /* 61.04px */
    
    /* Spacing (8pt grid) */
    --space-2: 0.5rem;     /* 8px */
    --space-4: 1rem;       /* 16px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */
    --space-48: 12rem;     /* 192px */

    /* Typography */
    --font-serif: "Fraunces", Georgia, serif;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --wrap: 1200px;
    --radius: 12px;
    --section-sm: var(--space-8);
    --section-md: var(--space-12);
    --section-lg: var(--space-16);
    --section-xl: var(--space-24);
    --section-xxl: var(--space-32);
    --section-xxxl: var(--space-48);
}

    .section { padding-block: clamp(2rem, 6vw, var(--section-md)); }
    .section-sm { padding-block: clamp(1.5rem, 4vw, var(--section-sm)); }
    .section-lg { padding-block: clamp(3rem, 8vw, var(--section-lg)); }
    .section-xl { padding-block: clamp(4rem, 10vw, var(--section-xl)); }
    .section-xxl { padding-block: clamp(4rem, 10vw, var(--section-xxl));}
    .section-xxxl { padding-block: clamp(6rem, 12vw, var(--section-xxxl)); }
    
    .section:first-of-type { padding-top: clamp(2rem, 6vw, var(--section-lg)); }
    .section:last-of-type  { padding-bottom: clamp(2rem, 6vw, var(--section-lg)); }
/* Base Typography */
html { 
    font-size: 100%; 
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--panel);
    -webkit-font-smoothing: antialiased;
}


/* Ensure content stacks above */
#content,
.site-topbar {
  position: relative;
  z-index: 1;
}

/* Typography Hierarchy */
h1, .h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 var(--space-8);
    color: var(--major);
    text-align: left;
}

h2, .h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: var(--space-12) 0 var(--space-6);
    color: var(--major);
}

h3, .h3 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: var(--space-8) 0 var(--space-4);
    color: var(--accent);
    text-align: center;
}
h4, .h4 {
    font-size: clamp(1rem, 1.5vw + .75rem, 1.5rem);
    line-height: 1.;
    letter-spacing: -0.01em;
    margin: var(--space-6) 0 var(--space-2);
    color: var(--accent);
    text-align: center;
}
p {
    margin: 0 0 var(--space-4);
    max-width: 70ch;
   text-align: left;
}

pb, .pb {
    margin: 0 0 var(--space-4);
    max-width: 70ch;
   text-align: left;
   color: var(--accent)
}
/* Hero Section */
.hero-title {
    font-size: clamp(3.5rem, 6vw + 1rem, 6rem);
    line-height: 0.95;
    margin-bottom: var(--space-6);
}

.hero-tagline {
    font-size: clamp(1rem, 1.5vw + 1rem, 1.25rem);
    line-height: 1.3;
    color: var(--script);
    margin-bottom: var(--space-8);
}

/* Header & Navigation */
.site-topbar {
    background: var(--panel);
    border-bottom: 1px solid rgba(16,24,40,.04);
    box-shadow: 0 2px 8px rgba(16,24,40,.04);
    position: relative;
    z-index: 50;
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem .25rem;
    width: 100%;
}
.topbar-links { 
    display: flex; align-items: center; 
    margin-left: auto; 
    gap: 1rem; 
}

.brand {
    margin: 0;
    padding-left: 0;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2.6rem,1.4rem + 3vw,4.6rem);
    color: var(--major);
}

/* Hamburger Button */
.hamburger {
    width: 56px;
    height: 44px;
    display: inline-grid;
    align-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(41,44,51,0.06);
    padding: 6px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(41,44,51,0.06);
}

.hamburger span {
    display: block;
    height: 4px;
    width: 30px;
    background: var(--major);
    border-radius: 4px;
    margin-inline: auto;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--primary-bg);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: hidden;
}


.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay .close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: 0;
    font-size: 2.4rem;
    color: var(--major);
    cursor: pointer;
    z-index: 10001;
}


.menu-overlay .menu-list a:hover {
    color: var(--accent);
    transform: translateY(-4px);
}
.menu-overlay .menu-list{
  /* use small-viewport height to avoid mobile browser chrome issues */
  min-height: auto;
  height: 100svh;
  box-sizing: border-box;

  /* shrink padding and gaps on short screens */
  padding: clamp(8px, 4vh, 28px);
  gap: clamp(6px, 3vh, 20px);

  /* allow wrapping so long labels break to two lines, not off-screen */
  overflow: clip;
}

/* Scalable link text + compact spacing */
.menu-overlay .menu-list a{
  font-size: clamp(1rem, 5.5vw, 2.2rem);
  line-height: 1.1;
  padding: 0.4em;           /* a bit tighter than 0.6em */
  white-space: normal;      /* allow wraps */
  word-break: break-word;   /* break very long words */
  max-width: 92vw;          /* avoid edge collisions */
}
.menu-overlay .menu-list{
  display: flex;                 /* <-- you removed this */
  flex-direction: column;        /* <-- and this */
  align-items: center;           /* <-- and this */
  justify-content: center;       /* <-- and this */

  height: 100svh;                /* keep */
  box-sizing: border-box;        /* keep */
  padding: clamp(8px, 4vh, 28px);
  gap: clamp(6px, 3vh, 20px);
  overflow: clip;
}

/* keep a single link style + hover */
.menu-overlay .menu-list a{
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--major);
  text-decoration: none;
  transition: transform .2s, color .2s;
  line-height: 1.1;
  padding: 0.4em;
  white-space: normal;
  word-break: break-word;
  max-width: 92vw;
}
.menu-overlay .menu-list a:hover { color: var(--accent); transform: translateY(-4px); }
/* If the screen is not very tall, shrink more */
@media (max-height: 800px){
  .menu-overlay .menu-list{ padding: clamp(8px, 3vh, 20px); gap: clamp(4px, 2.5vh, 14px); }
  .menu-overlay .menu-list a{ font-size: clamp(0.95rem, 5vw, 1.8rem); }
}

@media (max-height: 600px){
  .menu-overlay .menu-list{ padding: clamp(6px, 2vh, 16px); gap: clamp(3px, 2vh, 10px); }
  .menu-overlay .menu-list a{ font-size: clamp(0.9rem, 4.5vw, 1.5rem); }
}

/* Safe-area padding for notches */
@supports (padding: max(0px)){
  .menu-overlay .menu-list{
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* Buttons */
.btn {
    font-size: var(--text-lg);
    font-weight: 700;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-primary {
    background: var(--accent-warm);
    color: rgb(0, 0, 0);
    box-shadow: 0 var(--space-4) var(--space-12) rgba(42,157,144,0.2);
}

.btn-secondary {
    background: #fff;
    color: rgb(0, 0, 0);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 var(--space-6) var(--space-16) rgba(42,157,144,0.25);
}

/* Yellow Button */
.btn-yellow {
    background: var(--accent-warm); /* Use the warm yellow accent color */
    color: #000; /* Black text for contrast */
    font-weight: 700;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(232, 196, 104, 0.3);
}

.btn-yellow:hover {
    background: #f3d673; /* Slightly darker yellow on hover */
    box-shadow: 0 6px 16px rgba(232, 196, 104, 0.4);
    transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--major);
  border: 2px solid var(--major);
}
.btn-chunky {
  padding: calc(var(--space-6) - 2px) calc(var(--space-8) - 2px);
  border-radius: 999px;
  font-weight: 800;
}

/* Big, branded PayPal CTA – inherits your .btn + .btn-chunky spacing */
:root{
  --paypal-bg: #003087;         /* PayPal Blue */
  --paypal-bg-hover: #001c64;   /* Darker on hover */
  --paypal-text: #ffffff;
}

.btn-paypal{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding-inline: 1.25rem;         /* a bit wider */
  min-height: 56px;                 /* bigger tap target */
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  background: var(--paypal-bg);
  color: var(--paypal-text);
  border: none;
  box-shadow: 0 6px 16px rgba(0,48,135,.25);
}

.btn-paypal:hover,
.btn-paypal:focus-visible{
  background: var(--paypal-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,48,135,.32);
}

.btn-paypal .pp-mark{
  display: inline-block;
  /* Uses currentColor so it follows text color */
}

.btn-paypal .pp-text{
  line-height: 1;
  letter-spacing: .2px;
}

/* Keep the button centered inside the card */
.donate-cta form{
  text-align: center;
}

/* brand link: no underline, no hover effects, keep color */
.brand .brand-link{
  text-decoration: none;
  color: var(--major);
}

/* kill any global hover styles for this one link */
.brand .brand-link:hover,
.brand .brand-link:active{
  text-decoration: none;
  color: var(--major);
  transform: none;
  box-shadow: none;
}

/* keep an accessible focus style without changing color */
.brand .brand-link:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.script {
    color: var(--script);
    font-family: 'script-font', cursive;
    font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
    line-height: 1.2;
    margin: 0 0 var(--space-4);
    max-width: 70ch;
}
/* Layout Utilities */
.wrap {
    width: min(var(--wrap), 92vw);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


.grid-6 {
    display: grid;
    gap: clamp(1.4rem, 3vw, 2.4rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 2rem 0;
}

.benefit {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: var(--space-6);
    box-shadow: 
        0 4px 6px -1px rgba(16,24,40,0.05),
        0 12px 24px -4px rgba(16,24,40,0.1),
        0 0 0 1px rgba(255,255,255,0.9) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.wyg.group-reveal.in-view .grid-6 {
    opacity: 1;
    transform: translateY(0);
}
.wyg .grid-6 { opacity: 1; transform: none; }
/* Recent Highlights Cards */
.post-card {
    background: var(--panel);
    border-radius: var(--radius);
    padding: var(--space-6);
    box-shadow: 
        0 4px 6px -1px rgba(16,24,40,0.03),
        0 12px 24px -4px rgba(16,24,40,0.08),
        0 0 0 1px rgba(16,24,40,0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 12px -2px rgba(16,24,40,0.06),
        0 20px 32px -8px rgba(16,24,40,0.12),
        0 0 0 1px rgba(16,24,40,0.06);
}

.post-card__title {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--major);
    margin: 0 0 var(--space-4);
    line-height: 1.2;
}

.post-card__excerpt {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    flex: 1;
}

.post-card__meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.post-actions {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(16,24,40,0.08);
}

/* Seasonal Post Cards */
.post-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.season-accent {
    position: absolute;
    top: 50%;
    right: -20%;
    width: 200px;
    height: 200px;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.post-card:hover .season-accent {
    transform: translateY(-50%) scale(1.1);
}

/* Seasonal Colors */
.post-card.winter {
    background: linear-gradient(135deg, var(--panel) 0%, #f7fafd 100%);
}
.post-card.winter .post-card__title a { color: #2c5282; }

.post-card.spring {
    background: linear-gradient(135deg, var(--panel) 0%, #f7fbf7 100%);
}
.post-card.spring .post-card__title a { color: #276749; }

.post-card.summer {
    background: linear-gradient(135deg, var(--panel) 0%, #fdf8f3 100%);
}
.post-card.summer .post-card__title a { color: #c05621; }

.post-card.fall {
    background: linear-gradient(135deg, var(--panel) 0%, #fbf6f3 100%);
}
.post-card.fall .post-card__title a { color: #9c4221; }

/* Seasonal Button Colors */
.post-card.winter .btn-primary {
    background: #4299e1;
    box-shadow: 0 12px 24px rgba(66,153,225,0.15);
}

.post-card.spring .btn-primary {
    background: #48bb78;
    box-shadow: 0 12px 24px rgba(72,187,120,0.15);
}

.post-card.summer .btn-primary {
    background: #ed8936;
    box-shadow: 0 12px 24px rgba(237,137,54,0.15);
}

.post-card.fall .btn-primary {
    background: #dd6b20;
    box-shadow: 0 12px 24px rgba(221,107,32,0.15);
}

/* Pagination Styles */
.pagination-wrap {
    margin-top: var(--space-8);
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers.current {
    background: var(--major);
    color: white;
}

/* Carousel container */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.06);
  padding-block: var(--space-6);
}

/* Track and slides */
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%; /* Each slide takes up 100% of the carousel width */
  gap: 0;
  scroll-snap-type: x mandatory;
  transition: transform 0.5s ease;
}

.carousel-slide {
  scroll-snap-align: start;
  display: grid;
  gap: var(--space-4);
 padding-block: var(--space-6);
  padding-inline: var(--space-24);
}

.carousel-slide h3 {
  margin: 0;
  color: var(--major);
  font-family: var(--font-serif);
}

.carousel-slide .source {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* Controls */
.carousel-controls {
  position: absolute;
  /* Change the 'inset' property and add a 'transform' */
  inset: 50% var(--space-4) auto var(--space-4);
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.carousel-controls .btn-prev,
.carousel-controls .btn-next {
  pointer-events: auto;
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  color: var(--major); /* Ensure the chevrons are visible */
  font-weight: 900;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
  transition: transform 0.2s ease;
}

.carousel-controls button:hover {
  transform: translateY(-2px);
}

/* Dots */
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--space-4);
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 40, 0.25);
  background: #fff;
  opacity: 0.6;
}

.carousel-dots .dot.is-active {
  background: var(--major);
  border-color: var(--major);
  opacity: 1;
}

/* Pause motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}


.js-animate .grid-6 { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.js-animate.in-view .grid-6 { opacity: 1; transform: none; }
/* Footer Styles */
.site-footer {
    background: var(--major);
    color: #fff;
    padding: var(--space-8) 0;
    text-align: center;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.site-footer .wrap {
    width: min(var(--wrap), 92vw);
    margin-inline: auto;
}

.site-footer .copyright {
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* Sticky Footer Layout */
html, body {
    height: 100%; /* Ensure the body takes up the full height of the viewport */
}

#content {
    min-height: 100%; /* Ensure the content area stretches to fill the remaining space */
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto; /* Push the footer to the bottom of the page */
}
/* Newsletter form base */
.mc-form,
#mc-embedded-subscribe-form {
  display: grid;
  gap: var(--space-4);
  max-width: 720px;
}

/* Field groups */
.mc-field-group label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--major);
}

.mc-field-group input[type="text"],
.mc-field-group input[type="email"] {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid rgba(16,24,40,.15);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

/* Focus + validity */
.mc-field-group input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.mc-field-group input:invalid:focus {
  outline-color: #d33;
}

/* Helper / responses */
.mc-responses,
#mce-responses {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Button already styled by .btn, .btn-primary, .btn-chunky */
/* Center the whole form block */
#mc-embedded-subscribe-form,
.mc-form {
  margin-inline: auto;        /* centers the form container */
  justify-items: stretch;     /* inputs stay full-width */
}

/* Center just the submit button within the grid */
#mc-embedded-subscribe {
  place-self: center;         /* shorthand => align-self + justify-self */
}
/* Ensure cards have space and the CTA isn't touching them */
.posts-grid {
  display: grid;                 /* if not already */
  gap: var(--space-6, 2rem);     /* space between cards */
}

/* Clear separation above the CTA */
.articles-grid .cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--space-12, 3rem);
  padding-top: var(--space-6, 1.5rem);
  border-top: 1px solid color-mix(in oklab, currentColor 12%, transparent);
}

/* Keep the button comfy on all screens */
.articles-grid .cta-row .btn {
  text-align: center;
  min-width: 280px;
  max-width: 100%;
}
/* === Only the Menu button === */
.menu-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem 1rem;
  min-width:82px;
  border:0;
  border-radius:.6rem;
  background: var(--btn-navy, #1e3b71); /* from inline style */
  color:#fff;
  font: 700 clamp(.95rem, .5rem + .9vw, 1.05rem)/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  cursor:pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.15), 0 6px 16px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.menu-btn:hover{ transform: translateY(-1px); }
.menu-btn:active{ transform: translateY(0); box-shadow: 0 1px 0 rgba(0,0,0,.15), 0 3px 10px rgba(0,0,0,.18); }
.menu-btn:focus-visible{
  outline:3px solid color-mix(in oklab, var(--btn-navy, #1e3b71) 40%, white);
  outline-offset:2px;
}
/* WYG: force 4 → 2 → 1 using wyg-grid */
#wyg .wyg-grid{
  display: grid;
  gap: var(--space-8, 2rem);
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 across on wide screens */
}

/* 2 per row on medium screens */
@media (max-width: 1100px){
  #wyg .wyg-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 1 per row on phones */
@media (max-width: 540px){
  #wyg .wyg-grid{
    grid-template-columns: 1fr;
  }
}
/* Header: logo image sizing */
.brand .brand-logo{
  display:block;
  height: clamp(36px, 4.2vw, 64px);
  width: auto;
}

/* Stack the four buttons vertically on the right */
.topbar-stack{
  display:flex;
  flex-direction:row;
  gap: var(--space-2);
  margin-left:auto;
}

/* Compact buttons so four fit comfortably */
.topbar-stack .btn{
  padding:.55rem .9rem;
  font-size: var(--text-sm);
  min-width: 140px;
  justify-content:center;
}

/* Keep header tidy on smaller phones */
@media (max-width: 520px){
  .brand .brand-logo{ height:44px; }
  .topbar-stack .btn{ min-width:120px; }
}
/* Center logo and place menu underneath */
.topbar-centered{
  display: grid;                 /* overrides the flex in .topbar-inner */
  justify-items: center;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

/* Logo sizing */
.brand .brand-logo{
  display:block;
  height: clamp(44px, 5vw, 80px);
  width:auto;
}

/* Inline menu under logo, centered; wraps nicely on small screens */
.topbar-inline{
  display:flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

/* Keep buttons tidy for a header menu */
.topbar-inline .btn{
  padding: .5rem .9rem;
  font-size: var(--text-sm);
  border-radius: var(--radius);
  min-width: 110px;
  justify-content: center;
}
/* Force the CTA rows into 2 columns: button | text */
.prose > .cta-row{
  display: grid !important;                 /* beat any flex overrides */
  grid-template-columns: max-content 1fr;   /* button | text */
  gap: var(--space-2) var(--space-4);
  align-items: center;
  margin-block: var(--space-4);
  width: 100%;
}

/* Make sure the items are direct children and behave predictably */
.prose > .cta-row > .btn{
  display: inline-flex;      /* your global .btn already sets this, safe repeat */
  white-space: nowrap;
  justify-self: start;
}

.prose > .cta-row > p{
  margin: 0;
  max-width: 70ch;
  color: var(--text);
}

/* OPTIONAL: if you still want stacking on small screens, 
   keep it but tighten the breakpoint so it won't trigger on tablets/desktops */
@media (max-width: 480px){
  .prose > .cta-row{
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}
