:root {
    --navy: #1B2A4A;
    --teal: #2A7F7F;
    --teal-light: #E8F4F4;
    --gold: #C9A84C;
    --gold-light: #FBF5E6;
    --body: #3D4451;
    --muted: #6B7280;
    --border: #E5E9F0;
    --white: #ffffff;
    --bg: #F8FAFA;
    --purple-light: #F9F0F5;
    --purple: #8B4A6B;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    color: var(--body);
    background: var(--white);
    line-height: 1.75;
  }
  .hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2A4A7F 50%, var(--teal) 100%);
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 span { color: #7ECACA; }
  .hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-author {
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 8px;
  }
  .content { max-width: 760px; margin: 0 auto; padding: 0 24px; }
  .story-section { padding: 64px 0 48px; }
  .section-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
    display: block;
  }
  .story-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 24px;
  }
  .story-section p {
    font-size: 17px;
    color: var(--body);
    margin-bottom: 20px;
    line-height: 1.8;
  }
  .pull-quote {
    border-left: 4px solid var(--teal);
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--teal-light);
    border-radius: 0 12px 12px 0;
  }
  .pull-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin: 0;
  }
  .riley-box {
    background: var(--purple-light);
    border-left: 4px solid var(--purple);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 32px 0;
  }
  .riley-box-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 8px;
    display: block;
  }
  .riley-box p {
    font-size: 15.5px;
    color: #5A2A4A;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
  }
  .credentials-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .credentials-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 28px;
  }
  .cred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .cred-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    border-top: 3px solid var(--teal);
  }
  .cred-icon { font-size: 26px; margin-bottom: 10px; display: block; }
  .cred-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
  .cred-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
  .mission-section { padding: 48px 0; }
  .mission-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
  }
  .mission-section p {
    font-size: 17px;
    color: var(--body);
    margin-bottom: 16px;
    line-height: 1.8;
  }
  .mission-list { list-style: none; margin: 20px 0; }
  .mission-list li {
    font-size: 16px;
    color: var(--body);
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid var(--border);
    position: relative;
    line-height: 1.6;
  }
  .mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
    font-size: 16px;
  }
  .mission-list li:last-child { border-bottom: none; }
  .cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2A4A7F 100%);
    padding: 56px 24px;
    text-align: center;
    margin-top: 56px;
  }
  .cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
  }
  .cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin: 0 auto 28px;
  }
  .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .cta-btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
  }
  .cta-btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.4);
  }
  .cta-social { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.55); }
  .cta-social a { color: #7ECACA; text-decoration: none; }
  @media (max-width: 600px) {
    .cred-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
  }


/* ===== HEADER OVERRIDES ===== */
.main-header-bar,
.ast-primary-header-bar,
.site-header .ast-builder-grid-row-container-inner .ast-builder-grid-row {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  min-height: 70px !important;
}

.site-logo-img img,
.custom-logo-link img {
    max-width: 100px !important;
    height: auto !important;
}

.ast-site-identity {
  padding: 0 !important;
}

/* ===== HEADER OVERRIDES — AGGRESSIVE ===== */
header.site-header,
header.site-header .main-header-bar,
header.site-header .ast-primary-header-bar,
header.site-header .ast-builder-grid-row,
header.site-header .ast-builder-grid-row-container-inner,
.site-header [data-section*="header"],
.ast-builder-grid-row-full {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 60px !important;
  height: auto !important;
}

header.site-header .site-logo-img img,
header.site-header .custom-logo-link img,
header.site-header img.custom-logo {
    max-width: 100px !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
}

body {
  padding-top: 0 !important;
}

.celiac-announcement-bar {
  position: relative !important;
}
/* Remove Astra color filter from header logo */
.site-header:not(.ast-theme-transparent-header) .site-logo-img img {
    filter: none !important;
}


/* Coming Soon destination card - visually dimmed */
.coming-soon-card {
    opacity: 0.65;
    filter: grayscale(20%);
    pointer-events: none;
    cursor: default;
}
.coming-soon-card * {
    pointer-events: none !important;
}

/* ===== MOBILE HEADER  CLEAN UP LOGO BOX ===== */
/* Remove white box/border around logo in mobile header */
#ast-mobile-header .site-logo-img,
#ast-mobile-header .custom-logo-link,
#ast-mobile-header .ast-site-identity {
	  background: transparent !important;
	  border: none !important;
	  box-shadow: none !important;
	  padding: 0 !important;
}

/* Tighten the gap between announcement bar and header */
.ast-theme-transparent-header .site-header,
.site-header {
	  margin-top: 0 !important;
}

/* ===== MOBILE HEADER – COMPACT HEIGHT ===== */
@media (max-width: 921.99px) {
  #ast-mobile-header .ast-primary-header-bar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  #ast-mobile-header .site-logo-img img {
    max-height: 70px !important;
    width: auto !important;
  }
}

/* ===== BLOG POST FEATURED IMAGE – FULL WIDTH ===== */
.ast-separate-container .ast-article-single .post-thumbnail,
.single-post .post-thumbnail {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}
.single-post .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: none !important;
}

/* Footer mobile - prevent text cutoff by accessibility widget */
@media (max-width: 767px) {
  .ast-footer-copyright p {
    padding-right: 60px;
    text-align: left;
    line-height: 1.8;
  }
  
  /* WooCommerce shop - better mobile grid */
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  
  .woocommerce ul.products li.product-category {
    width: 100% !important;
    float: none !important;
    margin: 0 0 20px 0 !important;
  }
}
