/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.13.8.1785404236
Updated: 2026-07-30 09:37:16

*/


/* ----------------------------- Tokens ------------------------------ */
:root {
  /* Colors */
  --primary: #4F3B86;         
  --primary-text: #2E2A36;    
  --secondary: #C89B2D;      
  --accent: #D4A73A;         
  --secondary-text: #6D6875;  
  --muted-text: #B0ACB9;
  --icon-purple: #6F5E8A;
  --white:#fff;      
  --dark: #141B34;            
  --bg: #FAF7F2;              
  --bg-cream: #F4F0E8;        
  --card-bg: #FFFFFF;
  --line: rgba(155, 151, 164, .5);
  --card-gradient: linear-gradient(to top, rgba(37, 17, 64, .6), rgba(0, 0, 0, .06));

  /* Type */
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Effects */
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --radius-card: .75rem;
  --radius-btn: .3125rem;

  /* Layout */
  --content: 87.5rem;
  --gutter: 1.25rem;
}

/* ----------------------------- Base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
  font-size: 1vw;
}

/* Blog posts: Easy TOC scrolls with JS, so CSS smooth scroll must be off or the two fight */
html:has(body.single-post) {
  scroll-behavior: auto;
}


body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--secondary-text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--secondary); text-decoration: none; }

a:hover, a:focus {
  color: inherit;
}
a:hover { color: var(--secondary); }
a:focus{outline: none;}


p { margin: 0; }
p + p { margin-top: 1rem; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; line-height: 1.2; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

#vue-app {
    display: none;
}
/* --------------------------- Container ----------------------------- */
.container, .site-header .ast-container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------- Utilities ----------------------------- */
.clr-gold { color: var(--secondary); }
.clr-accent { color: var(--accent); }
.clr-purple { color: var(--primary); }
.clr-navy { color: var(--dark); }
.clr-muted { color: var(--muted-text); }
.bg-theme {
  background-color: var(--bg);
}
.bg-cream {
  background-color: var(--bg-cream);
}

/* --------------------------- Headings ------------------------------ */
.large-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--primary-text);
}

/* ---------------------------- Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1;
  padding: .75rem .875rem;
  min-height: 3rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn img { width: 1.5rem; height: 1.5rem; }
.btn:hover { transform: translateY(-2px); }

.btn--purple { background: var(--primary); color: var(--white); }
.btn--purple:hover, .btn--purple:active { background-color: #5c46a0 !important; box-shadow: 0 8px 18px -6px rgba(79, 59, 134, .6); color: var(--white) !important; }

.btn--gold { background: var(--accent); color: var(--white); }
.btn--gold:hover, .btn--gold:active { background: #c99a2c; box-shadow: 0 8px 18px -6px rgba(212, 167, 58, .6); color: var(--white); }
:is(.btn--gold, .btn--purple, .btn--outline-light):focus {
  color: var(--white);
}
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover, .btn--outline-light:active { background: rgba(255, 255, 255, .14); color: var(--white);}
.btn--outline-purple { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline-purple:hover, .btn--outline-purple:active, .btn--outline-purple:focus { background: rgba(79, 59, 134, .1); color: var(--primary) !important; }
.max-w-auto {
  max-width: none !important;
}
.container-full .container {
  max-width: 100%;
  padding: 0rem;
}
body.home {
	overflow: initial !important;
}


/* Table of Content Blog Page */

.blog-content #ez-toc-container {
    display: none !important;
}

/* Remove the plugin's box styling in the aside */
.topic-sidebar #ez-toc-container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* List items: dividers, arrow and gold hover/active */
 .topic-sidebar .ez-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
	margin-top: 0.5rem !important;
}

.topic-sidebar .ez-toc-list li {
    margin: 0 !important;
}

.topic-sidebar .ez-toc-list li + li a {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.topic-sidebar .ez-toc-list a {
    display: flex !important;
    justify-content: space-between;
    align-items: center !important;
    gap: 1rem;
    padding: 1rem 0;
    color: #2b2b2b !important;
    text-decoration: none;
   	line-height: 1.67;
	font-size: 1.125rem !important;
    font-weight: 400 !important;
	
}
.topic-sidebar .ez-toc-list a::after {
    content: url('/wp-content/themes/astra-child/assets/images/icons/arrow-right-gray.svg');
    font-size: 22px;
    opacity: 0.5;

} 
.topic-sidebar #ez-toc-container .ez-toc-list a:hover
 {
    color: var(--primary) !important;
	text-decoration:none !important;
}
.topic-sidebar #ez-toc-container .ez-toc-list a.is-active {
	color: var(--secondary) !important;
	text-decoration:none !important;
}

/* ===== Topic Sidebar: fixed heading + scrollable body ===== */
.blog-content-wrapper .topic-sidebar {
  display: flex;
  flex-direction: column ;
  max-height: calc(100vh - 3rem) ;
  overflow: hidden;
}

.topic-sidebar .topic-sidebar-title,
.topic-sidebar .ornament--sidebar {
  flex-shrink: 0;
}

.topic-sidebar .ornament--sidebar {
  margin-bottom: 1rem ;
}

.topic-sidebar #ez-toc-container {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto ;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding-right: 0.75rem;
  margin-right: -0.5rem;
}

.topic-sidebar .ez-toc-list {
  margin-top: 0 
}
.topic-sidebar .ez-toc-list > li:first-child > a {
  padding-top: 0 
}

.topic-sidebar #ez-toc-container::-webkit-scrollbar {
  width: 6px;
}
.topic-sidebar #ez-toc-container::-webkit-scrollbar-track {
  background: #FFFFFF;
  border-radius: 10px;
}
.topic-sidebar #ez-toc-container::-webkit-scrollbar-thumb {
  background: #D8CFBE;
  border-radius: 10px;
}
.topic-sidebar #ez-toc-container::-webkit-scrollbar-thumb:hover {
  background: #C7BCA7;
}

@supports not selector(::-webkit-scrollbar) {
  .topic-sidebar #ez-toc-container {
    scrollbar-width: thin;
    scrollbar-color: #D8CFBE #FFFFFF;
  }
}





/* Table of Content Blog Page End*/



/* ======================= HEADER / NAVBAR ========================== */
.site-header {
  background: var(--primary);
}
.site-header .ast-primary-header-bar {
    background-color: transparent;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.875rem;
}

/* Logo (Figma artwork) */
.site-header .site-logo-img .custom-logo { width: min(14.625rem, 62vw); height: auto; }
.site-header .site-branding {
padding-block: 0.75rem;
}
/* Nav links */
.main-navigation ul { display: flex; align-items: center; gap: 1.25rem; }
.ast-builder-menu-1 .menu-item > .menu-link {
  display: block;
  padding: .5rem 1rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.67;
  color: var(--white);
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.ast-builder-menu-1 .menu-item > .menu-link:hover { color: var(--accent) !important; }
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link { color: var(--accent); border-color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle-bar { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

.site-content .ast-container {
    display: block !important;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  fill: var(--white);
    width: 2rem;
    height: 2rem;
}

/* ============================== HERO ============================== */
.hero {
  position: relative;
  background: var(--bg-cream);
  overflow: hidden;
}
.hero .hero-container { 
  position: relative; 
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
    z-index: 1;
    padding-bottom: clamp(1.5rem, 4.5vw, 5rem);
    /* max-width: 100%;
    padding-right: 0rem;
    padding-left: calc(calc(100% - var(--content) + 2.5rem) / 2); */
}
.hero-content {
  padding-top: clamp(1.5rem, 4.5vw, 5rem);
  width: 38%;             
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.chatbot-wrapper {
  width: 38%;
	align-self: flex-start;
  margin-top: clamp(1.5rem, 4.5vw, 5rem);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--primary-text);
}
.ornament { width: 18.1875rem; max-width: 60%; height: auto; opacity: .95; }
.hero-lead {
  font-size: 1.25rem;
  color: var(--primary-text);
}
.hero-quote { margin: 2rem 0 0; padding-left: 2.8125rem; position: relative; }
.hero-quote .quote-mark { position: absolute; left: 0; top: -1rem; width: 2.5rem; height: 1.75rem;    transform: rotate(180deg); }
.hero-quote blockquote { margin: 0;     border: none; padding: 0;}
.hero-quote blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 2;               /* 36/18 */
  color: var(--secondary-text);
}
.hero-quote figcaption {
  margin-top: .5rem;
  font-family: var(--font-serif);
  font-size: .875rem;
  color: var(--secondary);
}

/* Portrait bleeding in from the right */
.hero-portrait {
  width: 37%;
      position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    height: 100%;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Floating purple card over the portrait */
.hero-card {
  /* position: absolute;
  right: calc(calc(100% - var(--content) + 2.5rem)/ 2);
  bottom: clamp(1.5rem, 5vw, 5rem);
  z-index: 1; */
  width: 24%;                 
  /* max-width: calc(100% - 2rem); */
  transform: translateY(4rem);
  background: var(--primary);
  border: 1px solid var(--accent);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 7.7px 5.8px rgba(0, 0, 0, .1), 0 3.1px 2.3px rgba(0, 0, 0, .1);
}
.hero-card-row { display: flex; gap: 1rem; align-items: flex-start; }
.hero-card-row .quote-mark--sm { width: 1.9375rem; height: 1.375rem; flex: none; transform: rotate(180deg); }
.hero-card-body { flex: 1; min-width: 0; }
.hero-card-body p { font-size: 1rem; line-height: 1.375; color: var(--white); }
.hero-card-line { display: block; margin-top: 1rem; width: 10.3rem; max-width: 100%; height: 1px; background: var(--secondary) }
.hero-card-legacy {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: .875rem;
  line-height: 1.57;
  color: var(--accent);
}

/* ============================ SECTIONS ============================ */
.section { padding-block: clamp(2.75rem, 5vw, 3.75rem); }
.explore { background: var(--bg); }
.library { background: var(--bg-cream); }
.dr { background: var(--bg); }
.highlights { background: var(--bg-cream); }

.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.section-head .large-title {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  justify-content: center;
}
.section-head .large-title::before,
.section-head .large-title::after
{
    content: "";
    background-image: url("/wp-content/themes/astra-child/assets/images/icons/sparkle.svg");
    width: 1.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
}
.sparkle { width: 1.375rem; height: 1.375rem; flex: none; }
.section-sub {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: var(--primary-text);
}

/* ======================= EXPLORE TOPICS =========================== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.3125rem;
}
.topic-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* .topic-card:hover { transform: translateY(-4px); box-shadow: 0 16px 26px -10px rgba(37, 17, 64, .35); } */
.topic-card-media { position: relative; height: 9.75rem; flex: none; z-index: 0; }
.topic-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.topic-card-media::after { content: ""; position: absolute; inset: 0; background: var(--card-gradient); }

/* concave cream ellipse forming the scallop */
.topic-card-arc {
  position: absolute;
  left: 50%;
  top: 7.5rem;
  transform: translateX(-50%);
  width: 144%;
  aspect-ratio: 366 / 252;
  background: var(--bg);
  border-radius: 50%;
  z-index: 1;
}
.topic-card-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 3.125rem; height: 3.125rem;
  display: grid; place-items: center;
  background: var(--primary);
  border-radius: 50%;
}
.topic-card-badge img { width: 1.5rem; height: 1.5rem; }

.topic-card-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}
.topic-card-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.36;
  color: var(--secondary);
}
.topic-card-title h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.44;
  color: var(--primary-text);
  transition: color .2s ease
}
.topic-card-title:hover h3{
  color: var(--accent);
}
.topic-card-icons { display: flex; gap: 1.25rem; }
.topic-card-icons svg { display: block; width: 1.5rem; height: 1.5rem; color: var(--dark); transition: color .2s ease, transform .2s ease;}
.topic-card-icons a:hover svg{ color: var(--accent); transform: translateY(-2px);}

.explore-cta { margin-top: clamp(2rem, 4vw, 2.75rem); text-align: center; }

/* ===================== DISCOVER THE LIBRARY ======================= */
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.lib-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  min-height: 17.25rem;
  background: var(--dark);
}
.lib-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lib-card::after { content: ""; position: absolute; inset: 0; background: var(--card-gradient); z-index: 1; }
.lib-card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.lib-card-icon {
  flex: none;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 1px solid var(--bg);
  border-radius: 50%;
}
.lib-card-icon img { width: 1.5rem; height: 1.5rem; }
.lib-card-text {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: var(--bg);
}
.lib-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.29;
  color: var(--bg);
}
.lib-card-count {
  margin-top: .75rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--bg);
}
.lib-card-desc { font-size: 1.125rem; color: var(--bg-cream); }
.lib-card .btn { align-self: flex-start; margin-top: auto; }

/* ===================== MEET DR. DONALD WARD ======================= */
.content-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 2.375rem);
}
.content-grid--reverse { flex-direction: row-reverse; }
.content-image {
  margin: 0;
  flex: none;
  width: 40%;
}
.content-image img {border-radius: var(--radius-card); width: 100%; }
.content-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2.5rem;align-items: flex-start; }
.content-intro { display: flex; flex-direction: column; gap: 1.25rem; }

.eyebrow-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.44;
  letter-spacing: .04em;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}
.content-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--primary-text);
}
.dr-body { font-size: 1.125rem; line-height: 1.67; color: var(--secondary-text); }

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.timeline--journey { align-items: flex-start; gap: 1.25rem; }
.timeline--journey .timeline-item {
  flex: 0 1 auto;
  max-width: 15.5rem;                     
  gap: .375rem;
}
.timeline--journey .timeline-year { font-size: 1.125rem; }
.timeline--journey .timeline-label { font-size: 1rem; line-height: 1.75; }
.timeline-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .125rem;
  
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: calc(-1.25rem - 4.5px);
  left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}
.timeline-year {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.44;
  color: var(--primary);
}
.timeline-label {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--secondary-text);
}

/* ================= KNOWLEDGE LIBRARY HIGHLIGHTS =================== */
.stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.stat {
  position: relative;
  flex: 1;
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 1.25rem;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 3.375rem;
  background: var(--accent);
  opacity: .55;
}
.stat-icon {
  flex: none;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
}
.stat-icon img { width: 1.125rem; height: 1.125rem; }
.stat-text { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;            
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--secondary-text);
}

/* ============================== CTA ============================== */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 3.75rem);
  background: var(--dark);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/wp-content/themes/astra-child/assets/images/cta-banner.webp");
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(184, 145, 255, 0) 0%, rgba(57, 28, 93, .72) 60%, rgba(37, 17, 64, .9) 86%);
  z-index: 1;
}
.cta .container { position: relative; z-index: 2; }
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.cta-quote { position: relative; margin: 0; max-width: 50.25rem; padding: 0 1.75rem; }
.cta-quote .blockquote { margin: 0; }
.cta-quote .blockquote p {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.29;
  color: var(--white);
}
.cta-quote figcaption {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--secondary);
}
.quote-mark--cta-open { position: absolute; left: -.25rem; top: -.25rem; width: 1.6875rem; height: 1.25rem;transform: rotate(180deg); }
.quote-mark--cta-close { position: absolute; right: -.25rem; bottom: 2.75rem; width: 1.5625rem; height: 1.125rem; }
.ornament--cta { width: 11.375rem; margin-top: .5rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: .75rem; }
.cta-buttons .btn { justify-content: space-between; }

/* ============================ FOOTER ============================= */
.site-footer { background: var(--primary); color: var(--bg); padding: clamp(2.75rem, 5vw, 3.75rem) 0 1.25rem; }
.footer-top { display: flex; justify-content: space-between; gap: clamp(2rem, 4vw, 2.5rem); align-items: flex-start; }
.footer-brand { width: 16rem; flex: none; display: flex; flex-direction: column; gap: 1.25rem; }

.logo--footer .logo-img { width: 13.375rem; }
.footer-desc { font-size: 1.125rem; color: var(--bg-cream); }

.footer-links { display: flex; gap: 2.5rem; flex: 1; justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: .75rem; }
.footer-col--topics { flex: 0 1 26rem; }
.footer-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1;
  color: var(--bg);
}
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col ul li {
  line-height: 1.2;
}
.footer-col a {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1;
  color: var(--muted-text);
  transition: color .18s ease;
}
.footer-col a:hover { color: #fff; }
.footer-topics { display: flex; gap: 2.5rem; }
.footer-topics ul { flex: 1; }

.footer-bottom { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.footer-rule { border: 0; border-top: 1px solid rgba(255, 255, 255, .18); margin: 0; }
.footer-copy {
  text-align: center;
  font-family: var(--font-serif);
  font-size: .875rem;
  color: var(--muted-text);
}

/* ------------------------ Scroll reveal --------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }


/* contact */
.contact-banner {
  max-width: none !important;
  padding-right: 4rem;
  padding-top: 0rem;
}
.contact-banner .hero-quote {
  background-color: var(--white);
    padding: 1rem 1rem 1rem 3.5rem;
}
.contact-banner .hero-quote .quote-mark {
  left: 0.5rem;
    top: 0.5rem;
}
.form-wrapper {
  padding: 2rem;
    background-color: var(--white);
    border-radius: 0.75rem;
}
.form-wrapper .nf-before-form-content {
  display: none;
} 
.form-wrapper nf-fields-wrap {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.form-wrapper nf-fields-wrap nf-field:nth-child(2) ~ nf-field {
  grid-column: span 2;
}
.form-wrapper nf-fields-wrap select.ninja-forms-field {
font-size: 1rem;
    padding: 12px 16px;
}
.form-wrapper nf-fields-wrap .nf-field-container {
      margin-bottom: 0rem;
}
.form-wrapper nf-fields-wrap label {
  font-family: var(--font-serif);
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--primary-text);
}
.form-wrapper nf-fields-wrap .ninja-forms-field {
  background-color: var(--bg-cream);
    border-color: #C8C5CE80;
}
.form-wrapper .submit-container input[type="submit"] {
  background: var(--primary);
    color: var(--white);
    font-family: var(--font-serif);
    padding: 1rem;
    transition: 0.4s;
}
.form-wrapper .submit-container input[type="submit"]:hover {
  background: #5c46a0;
    box-shadow: 0 8px 18px -6px rgba(79, 59, 134, .6);
    color: var(--white);
}
.nf-error-msg, .ninja-forms-req-symbol {
  font-size: 0.875rem;
}
/* end */

/* ===================== DOCUMENTS VIEW — DOCUMENT PAGE ==================== */
.doc-view { padding-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs ol {
  display: inline-block;
}
.breadcrumbs li { display: inline; }
.breadcrumbs li + li::before {
  content: "";
   width: 1.125rem; 
   height: 1.125rem;
  background-image: url("/wp-content/themes/astra-child/assets/images/icons/chevron-right.svg");
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  transform: translateY(0.2rem);
}
.breadcrumbs a,
.breadcrumbs span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.44;
  color: var(--primary-text);
}
.breadcrumbs a { transition: color .18s ease; padding-inline: 0.5rem;}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--secondary); padding-left: 0.5rem; }

/* Title + lead */
.hero-intro { margin-top: 1.875rem; display: flex; flex-direction: column; gap: .3125rem; }


/* PDF viewer */
.doc-viewer {
  margin: 1.875rem 0 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #525659;                     /* viewer chrome, matches the design */
}
.doc-viewer-frame {
  display: block;
  width: 100%;
  height: 63rem;
  border: 0;
}

/* --------------------- Related documents --------------------- */
.related-panel {
  background: var(--bg-cream);
  border-radius: var(--radius-card);
  padding: 1.875rem;
}
.related-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.29;
  color: var(--primary);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9375rem 1.875rem;
  margin-top: 1.875rem;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: .9375rem;
  height: 100%;                            /* fill the row so pairs match */
  min-height: 5rem;
  padding: .75rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--muted-text);
  border-radius: var(--radius-card);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.doc-card:hover {
  border-color: var(--primary);
  box-shadow: 0 .5rem 1rem -.5rem rgba(37, 17, 64, .28);
  transform: translateY(-2px);
}
.doc-card-icon {
  flex: none;
  width: 3.125rem; height: 3.125rem;
  display: grid; place-items: center;
  background: var(--icon-purple);
  border-radius: 50%;
}
.doc-card-icon img { width: 1.5rem; height: 1.5rem; }
.doc-card-text { flex: 1; min-width: 0; }
.doc-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.44;
  color: var(--primary-text);
}
.doc-card-meta {
  margin-top: .5rem;
  font-size: 1rem;
  line-height: 1.375;
  color: var(--secondary-text);
}
.doc-card-view {
  flex: none;
  width: 1.9375rem; height: 1.9375rem;
  display: grid; place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  transition: background-color .18s ease;
}
.doc-card:hover .doc-card-view { background: rgba(79, 59, 134, .1); }
.doc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.doc-card-view img { width: .9375rem; height: .9375rem; }

/* ===================== DOCUMENTS — LISTING PAGE ========================= */
/* Hero */
.doc-hero {
  position: relative;
  background-color: var(--dark);
  background-image: url("/wp-content/themes/astra-child/assets/images/documents-hero.jpg");
  background-size: cover;
  background-position: center right;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 7vw, 5rem);
  min-height: 37.5rem;
  display: flex;
  align-items: center;
}
.doc-hero .container { width: 100%; }
.doc-hero-title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 1.1rem + 3.1vw, 3.5rem);
  line-height: 1.12;
  color: var(--bg);
  max-width: 40rem;
}
.doc-hero .ornament { margin-top: 1.5rem; }
.doc-hero-lead {
  margin-top: 1.5rem;
  max-width: 39rem;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--bg);
}

/* Breadcrumbs — light variant for dark backgrounds */
.breadcrumbs--lite a,
.breadcrumbs--lite span { color: var(--bg); }
.breadcrumbs--lite a:hover { color: var(--accent); }
.breadcrumbs--lite [aria-current="page"] { color: var(--secondary); }
.breadcrumbs--lite li + li::before { background-image: url("/wp-content/themes/astra-child/assets/images/icons/chevron-right-lite.svg"); }

/* Search bar — overlaps the hero edge */
.doc-search-wrap { position: relative; z-index: 2; margin-top: -2.8125rem; }
.doc-search {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(62.5rem, 100%);
  margin-inline: auto;
  min-height: 4.25rem;
  padding: 0rem 1.875rem;
  background: var(--bg);
  border-radius: var(--radius-card);
  box-shadow: 0 1rem 2rem -.75rem rgba(37, 17, 64, .28);
}
.doc-search-icon { flex: none; width: 1.625rem; height: 1.625rem; }
.doc-search-wrap .doc-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--primary-text);
  box-shadow: none;
  height: auto;
  padding: 1.6rem 0;
}
.doc-search-input::placeholder { color: var(--secondary-text); }
.doc-search-input:focus { outline: 0; border: none !important; background-color: transparent !important; }
.doc-search:focus-within { box-shadow: 0 1rem 2rem -.75rem rgba(37, 17, 64, .28), 0 0 0 3px rgba(79, 59, 134, .18); }

/* Layout: sidebar + results */
.doc-layout { display: flex; align-items: flex-start; gap: 2rem; }

/* Category sidebar */
.topic-sidebar {
  flex: none;
  width: 20.875rem;
  max-width: 100%;
  padding: 1.875rem 1.5rem;
  background: var(--bg-cream);
  border-radius: var(--radius-card);
}
.topic-sidebar-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--primary-text);
}
.ornament--sidebar { width: 9.875rem; margin-top: .75rem; }
.topic-list { margin-top: 1.25rem; }
.topic-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.25rem .75rem 0;
  border-bottom: 1px solid rgba(176, 172, 185, .5);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.67;
  color: var(--primary-text);
  transition: color .18s ease;
}
.topic-link::after {
	content: url("/wp-content/themes/astra-child/assets/images/icons/arrow-right-gray.svg");
	transform: translateY(0.25rem);
}
.topic-link.is-active::after {
	content: url("/wp-content/themes/astra-child/assets/images/icons/arrow-right-yellow.svg");
	transform: translateY(0.25rem);
}
.topic-link:hover { color: var(--primary); }
.topic-link.is-active { color: var(--secondary); }
.topic-list li:last-child .topic-link { border-bottom: 0; }

/* Results column */
.doc-results { flex: 1; min-width: 0; }
.list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.875rem;
}
.list-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.29;
  color: var(--primary);
  max-width: 60%;
}

/* Sort control */
.sort { display: flex; align-items: center; gap: 1.375rem; }
.sort-label {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1;
  color: var(--primary-text);
}
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  width: 9.0625rem;
  height: 2.5625rem;
  padding: 0 2.5rem 0 1rem;
  background-color: var(--bg);
  background-image: url("/wp-content/themes/astra-child/assets/images/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  border: 1px solid var(--muted-text);
  border-radius: .5rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1;
  color: var(--secondary-text);
  cursor: pointer;
}
.sort-select:focus-visible { border-color: var(--primary); }

.doc-results .doc-grid { margin-top: 1.875rem; }

/* Pagination */
.pagination { margin-top: 1.875rem; justify-content: center; }
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9375rem;
}
.page-link {
  display: grid;
  place-items: center;
  width: 2.8125rem; height: 2.8125rem;
  background: var(--bg);
  border: 1px solid var(--muted-text);
  border-radius: .25rem;
  font-family: var(--font-serif);
  font-size: .875rem;
  line-height: 1.57;
  color: var(--primary);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.page-link img { width: 1.5rem; height: 1.5rem; }
.page-link:hover { border-color: var(--primary); background: var(--bg-cream); color: var(--primary);}
.page-link.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.page-link.current:hover { background: var(--primary); color: var(--white); }
.page-link--disabled {
  background: var(--secondary-text);
  border-color: transparent;
  opacity: .5;
  pointer-events: none;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;                         
  margin-top: 1.875rem;
}
.audio-card {
  display: flex;
  align-items: stretch;
  gap: 1.125rem;
  height: 100%;
  min-height: 7.5rem;                     
  padding: .75rem .9375rem;               
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.audio-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 .5rem 1rem -.5rem rgba(200, 155, 45, .45);
  transform: translateY(-2px);
}
.audio-card-icon {
  flex: none;
  align-self: flex-start;
  width: 3.125rem; height: 3.125rem;      
  display: grid; place-items: center;
  background: var(--secondary);
  border-radius: 50%;
}
.audio-card-icon img { width: 1.5rem; height: 1.5rem; }
.audio-card-text {
  flex: 1;
  min-width: 0;
  min-height: 5.375rem;                  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .5rem;
}
.audio-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;                   
  line-height: 1.44;
  color: var(--primary-text);
}
.audio-card-time {
  font-size: 1rem;                        
  line-height: 1.375;
  color: var(--secondary-text);
}
.audio-card-play {
  flex: none;
  align-self: flex-end;
  width: 1.9375rem; height: 1.9375rem;     
  display: grid; place-items: center;
  border: 1px solid var(--secondary);
  border-radius: 50%;
  transition: background-color .18s ease;
}
.audio-card:hover .audio-card-play { background: rgba(200, 155, 45, .14); }
.audio-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.audio-card-play img { width: .9375rem; height: .9375rem; }

/* Wide variant — related audios sit 4-up in the full content width */
.audio-grid--wide { grid-template-columns: repeat(4, 1fr); }


/* ------------------- Audio player (static) --------------------- */
.audio-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 1.875rem;
  min-height: 5.5rem;
  margin-top: 1.875rem;
  padding: 1rem 1.875rem;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: 3px -6px 17.1px rgba(0, 0, 0, .1);
  position: relative;
    z-index: 99;
}
.audio-player .plyr--audio {
  width: 100%;
}
.audio-player .plyr__control:not(.plyr__menu__container .plyr__control),
.audio-player .plyr__control:not(.plyr__menu__container .plyr__control):hover, 
.audio-player .plyr__control:not(.plyr__menu__container .plyr__control):focus {
  background-color: var(--primary) !important;
    border-radius: 50%;
    color: var(--white) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}
.audio-player .plyr__control[data-plyr="rewind"],
.audio-player .plyr__control[data-plyr="fast-forward"] {
  position: relative;
}
.audio-player .plyr__control[data-plyr="rewind"] svg,
.audio-player .plyr__control[data-plyr="fast-forward"] svg
{
  fill: rgb(79 59 134);
}
.audio-player .plyr__control[data-plyr="rewind"] .plyr__sr-only,
.audio-player .plyr__control[data-plyr="fast-forward"] .plyr__sr-only {
position: static !important;
}
.audio-player .plyr__control[data-plyr="rewind"] .plyr__sr-only::before,
.audio-player .plyr__control[data-plyr="fast-forward"] .plyr__sr-only::before {
  content: "";
    background-image: url(/wp-content/themes/astra-child/assets/images/icons/forword.svg);
    background-repeat: no-repeat;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    filter: brightness(4);
    transform: translate(-50%, -50%);
    background-position: center;
    background-size: 100%;
}
.audio-player .plyr__control[data-plyr="rewind"] .plyr__sr-only::before {
  background-image: url(/wp-content/themes/astra-child/assets/images/icons/backword.svg);
}
.audio-player .plyr__control[data-plyr="play"] {
padding: 0.75rem !important;
}
.plyr__control:focus {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}
.audio-player .plyr__control[data-plyr="play"] {
  padding: 0.75rem;
} 
.audio-player .plyr--full-ui input[type=range] {
  color: var(--secondary);
}
.plyr--audio .plyr__control:focus-visible, .plyr--audio .plyr__control:hover, .plyr--audio .plyr__control[aria-expanded=true] {
  background:var(--primary) !important;
}
/* transport */
.ap-transport { display: flex; align-items: center; gap: .9375rem; }
.ap-skip {
  position: relative;
  flex: none;
  width: 1.5625rem; height: 1.5625rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.ap-skip img { width: 100%; height: 100%; }
.ap-skip--fwd img { transform: scaleX(-1); }
.ap-skip-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: .125rem;
  font-family: var(--font-sans);
  font-size: .625rem;
  line-height: 1;
  color: var(--secondary-text);
}
.ap-play {
  flex: none;
  width: 2.65rem; height: 2.65rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease;
}
.ap-play:hover { transform: scale(1.06); }
.ap-play img { width: 100%; height: 100%; }

/* progress */
.ap-progress { flex: 1 1 22rem; min-width: 0; display: flex; align-items: center; gap: .9375rem; }
.ap-track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: .3125rem;
  background: var(--muted-text);
  border-radius: 200px;
}
.ap-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10.8%;                            /* 82 / 759 */
  background: var(--secondary);
  border-radius: 200px;
}
.ap-handle {
  position: absolute;
  top: 50%;
  left: 10.8%;
  transform: translate(-50%, -50%);
  width: 1.03125rem; height: 1.03125rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(71, 69, 68, .5);
}
.ap-time {
  flex: none;
  font-size: 1rem;
  line-height: 1.375;
  color: var(--secondary-text);
  white-space: nowrap;
}
.ap-time-sep { color: var(--muted-text); }

/* speed */
.ap-speed {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 1.875rem;
  padding: 0 .5rem;
  background: var(--bg);
  border: 1px solid var(--muted-text);
  border-radius: .5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.375;
  color: var(--secondary-text);
  cursor: pointer;
}
.ap-speed span { padding-inline: .25rem; }
.ap-speed img { width: .625rem; height: .625rem; }

/* volume */
.ap-volume { flex: none; display: flex; align-items: center; gap: .75rem; }
.ap-volume > img { width: 1.375rem; height: 1.375rem; }
.ap-vol-track {
  position: relative;
  width: 7.875rem;
  height: .3125rem;
  background: var(--primary);
  border-radius: 200px;
}
.ap-vol-handle {
  position: absolute;
  top: 50%;
  left: 94%;                               /* 118.5 / 126 */
  transform: translate(-50%, -50%);
  width: .9375rem; height: .9375rem;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(71, 69, 68, .5);
}

/* ------------------------- Videos grid ------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;
  margin-top: 1.875rem;
}
/* the whole card is the link */
.video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-card);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 1.625rem -.625rem rgba(37, 17, 64, .35); }
.video-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.video-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1/0.6;               
  flex: none;
  background: var(--bg);
}
.video-card-media > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-gradient);
}
.video-card-play {
  position: relative;
  z-index: 1;
  width: 3.125rem; height: 3.125rem;
  display: grid; place-items: center;
  background: var(--primary);
  border-radius: 50%;
  transition: transform .2s ease;
}
.video-card:hover .video-card-play { transform: scale(1.08); }
.video-card-play img { width: 1.5rem; height: 1.5rem; }

.video-card-body {
  flex: 1;
  min-height: 5.625rem;
  display: grid;
  place-items: center;
  padding: .75rem 1rem;
  background: var(--card-bg);
}
.video-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.44;
  color: var(--primary-text);
  text-align: center;
}

/* Wide variant — related videos sit 4-up in the full content width */
.video-grid--wide { grid-template-columns: repeat(4, 1fr); }

/* YouTube embed */
.video-embed {
  margin: 1.875rem 0 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  height: auto;
}

/* ================= MEDIA LIBRARY — SECTION PANELS ================ */
.media-stack { display: flex; flex-direction: column; gap: 1.875rem; }

.media-section {
  padding: 1.875rem 1.5rem;
  border-radius: var(--radius-card);
}
.media-section--videos { background: #D3CCD5; }
.media-section--audios { background: #F6EFE0; }
.media-section--documents { background: #E9E5E4; }

.media-head {
  display: flex;
  align-items: flex-end;
  gap: 1.875rem;
  flex-wrap: wrap;
}
.media-head-badge {
  flex: none;
  width: 4.875rem; height: 4.875rem;
  display: grid; place-items: center;
  background: var(--primary);
  border-radius: 50%;
}
.media-section--audios .media-head-badge { background: var(--accent); }
.media-section--documents .media-head-badge { background: var(--icon-purple); }
.media-head-badge img { width: 2.25rem; height: 2.25rem; }
.media-section--audios .media-head-badge img,
.media-section--documents .media-head-badge img { width: 2.5rem; height: 2.5rem; }

.media-head-text {
  flex: 1;
  min-width: 0;
  min-height: 4.875rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
}
.media-head-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.29;
  color: var(--primary-text);
}
.no-related-data-found {
  margin-top: 1.5rem;
  padding-left: 6.7rem;
}
.media-section--audios .media-head-title { color: var(--secondary); }
.media-head-sub {
  font-size: 1.125rem;
  line-height: 1.67;
  color: var(--secondary-text);
}
.media-head .btn { flex: none; }

/* grids sit 30px below each header */
.media-section .video-grid,
.media-section .audio-grid,
.media-section .doc-grid { margin-top: 1.875rem; }


/* Life in Pictures */
.pic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem 1.775rem;
}
.pic-card {
  margin: 0;
  height: 100%;
  min-height: 19.6875rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pic-grid > li {
  position: relative;
}
.pic-grid > li .gallery-icon {
  position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
    transition: 0.3s;
    cursor: pointer;
}
.pic-grid > li .gallery-icon:hover {
  transform: scale(1.1);
}
.pic-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 1.625rem -.625rem rgba(37, 17, 64, .35); }
.pic-card-img {
  width: 100%;
  aspect-ratio: 1 / 0.7;                     
  flex: none;
  object-fit: cover;
}
.pic-card-body {
  flex: 1;
  min-height: 8.875rem;                   
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .75rem 1rem;
  background: var(--card-bg);
  text-align: center;
}
.pic-card-year {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.44;
  color: var(--secondary);
}
.pic-card-caption {
  font-size: 1rem;
  line-height: 1.375;
  color: var(--secondary-text);
}

/* Life in Pictures — gallery lightbox */
.pic-grid > li .gallery-icon {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  line-height: 0;
}
.pic-grid > li .gallery-icon:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-btn);
}

.pic-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  overflow-y: auto;
}
.pic-lightbox[hidden] { display: none; }
body.pic-lightbox-open { overflow: hidden; }

.pic-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(37, 17, 64, .82);
}

.pic-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: auto;
  width: var(--lb-img-w, min(45rem, 100%));
  max-width: min(45rem, 100%);
  height: auto;
  transition: width .25s ease;
  animation: pic-lightbox-in .25s ease both;
}
@keyframes pic-lightbox-in {
  from { opacity: 0; transform: translateY(.75rem) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pic-lightbox-dialog { animation: none; transition: none; }
  .pic-lightbox-img { transition: none; }
}

.pic-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: 0 1.5rem 3rem -.75rem rgba(0, 0, 0, .5);
}

.pic-lightbox-stage {
  position: relative;
  display: flex;
}
.pic-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity .25s ease;
}
.pic-lightbox-img.is-loaded { opacity: 1; }

/* Arrow navigation */
.pic-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 .375rem .75rem -.25rem rgba(37, 17, 64, .45);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.pic-lightbox-nav:hover { background: var(--secondary); }
.pic-lightbox-nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.pic-lightbox-nav[hidden] { display: none; }
.pic-lightbox-nav img {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}
.pic-lightbox-nav--prev { left: .875rem; }
.pic-lightbox-nav--prev img { transform: rotate(180deg); }
.pic-lightbox-nav--prev:hover { transform: translateY(-50%) translateX(-.125rem); }
.pic-lightbox-nav--next { right: .875rem; }
.pic-lightbox-nav--next:hover { transform: translateY(-50%) translateX(.125rem); }

/* Close */
.pic-lightbox-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.pic-lightbox-close:hover { background: var(--secondary); transform: scale(1.08); }
.pic-lightbox-close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.pic-lightbox-close svg { display: block; }

/* Caption */
.pic-lightbox-body {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.125rem 1.5rem;
  overflow-y: auto;
  text-align: center;
}
.pic-lightbox-year {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.44;
  color: var(--secondary);
}
.pic-lightbox-caption {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--secondary-text);
}
.pic-lightbox-caption > *:last-child { margin-bottom: 0; }
.pic-lightbox-count {
  margin: 0;
  font-size: .875rem;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--muted-text);
}
.pic-lightbox-count[hidden] { display: none; }
.privacy-wrapper > div {
  padding: 0;
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .pic-lightbox { padding: 1rem; }
  .pic-lightbox-nav { width: 2.25rem; height: 2.25rem; }
  .pic-lightbox-nav img { width: 1rem; height: 1rem; }
  .pic-lightbox-nav--prev { left: .5rem; }
  .pic-lightbox-nav--next { right: .5rem; }
  .pic-lightbox-body { padding: 1rem; }
}

.secondary-banner .hero-intro {
gap: 1.25rem;
padding-block: clamp(2.75rem, 5vw, 3.75rem);
align-items: flex-start;  
}
.hero-card-wrapper {
  padding-left: clamp(2.75rem, 5vw, 3.75rem);
  position: relative;
}
.secondary-banner .large-title {
  max-width: 75%;
}
.secondary-banner > .row {
	    margin-right: 0;
}
.secondary-banner > .row .hero-card-wrapper {
	padding-right: 0;
}
.right-container {
  max-width: 100%;
    padding-right: 0rem;
    padding-left: calc(calc(100% - var(--content) + 2.5rem) / 2);
}

.hero-card-wrapper .hero-card {
  position: absolute;
  right: calc(calc(100vw - var(--content) + 3.5rem) / 2);
  bottom: clamp(1.5rem, 5vw, 5rem);
  z-index: 1;
  width: 24.5rem;   
  transform: none;        
}
.hero-card-wrapper .hero-card-row .quote-mark--sm {
    width: 3rem;
    height: auto;
    transform: none;     
}
.content-full {
  display: none;
}
#read-more img {
  transition: 0.3s;
}
#read-more.open img {
  transform: rotate(90deg);
}
.sticky-read-more {
	position: sticky;
    top: 1.25rem;
}
.sticky-read-more img {
	aspect-ratio: 1 / 0.65;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* Blog Page */

.blog-grid {
      display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.875rem;
    margin-top: 1.875rem;
}
.blog-grid .blog-card {
  display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-card);
    background: var(--card-bg);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.blog-grid .blog-card .blog-thumbnail {
  aspect-ratio: 1 / 0.6;
}
.blog-grid .blog-card .blog-thumbnail img {
      aspect-ratio: 1 / 0.6;
    object-fit: cover;
}
.blog-grid .blog-card .blog-card-body {
      padding: 1.25rem 1.5rem;
}
.blog-grid .blog-card .blog-card-body .blog-category {
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.blog-grid .blog-card .blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.blog-grid .blog-card .blog-card-body  .blog-category span {
    font-size: 0.875rem;
}
.blog-grid .blog-card .blog-card-body h3.blog-card-title {
      font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.44;
    margin-bottom: 1.25rem;
  color: var(--primary-text);
  transition: 0.4s;
}
.blog-grid .blog-card:hover .blog-card-body h3.blog-card-title {
  color: var(--secondary);
}
.blog-grid .blog-card .blog-card-body .blog-dec {
  margin-bottom: 1rem;
    font-size: 1rem;
}
.blog-grid .blog-card .blog-card-body .blog-date {
      font-size: 0.875rem;
}
.blog-grid article.ast-grid-common-col {
  padding-left: 0;
  padding-right: 0;
}
.blog-grid .blog-card:hover {
  transform: translateY(-4px);
    box-shadow: 0 1rem 1.625rem -.625rem rgba(37, 17, 64, .35);
}
/* Title link stretches over the whole card; category links stay clickable above it */
.blog-grid .blog-card {
  position: relative;
}
.blog-grid .blog-card .blog-card-stretched-link {
  color: inherit;
  text-decoration: none;
}
.blog-grid .blog-card .blog-card-stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-grid .blog-card .blog-category a {
  position: relative;
  z-index: 2;
}
.blog-grid .blog-card:focus-within {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.blog-grid .blog-card .blog-card-stretched-link:focus-visible {
  outline: none;
}



.blog-content :is(h2, h1, h3, h4) {
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
}
.blog-content :is(h2, h1) {
  font-size: 1.75rem;
}
.blog-content :is(h3) {
  font-size: 1.5rem;
}
.blog-content :is(h4) {
  font-size: 1.25rem;
}
.blog-content p {
  margin-bottom: 1.5rem;
}
.blog-content p + p {
  margin-bottom: 1rem;
}
.blog-content :is(ul,ol) {
  list-style: initial;
    list-style-position: inside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-content-wrapper .topic-sidebar {
    position: sticky;
    top: 1.5rem;
}
.doc-hero.blog-single-hero {
	z-index:0;
}
.doc-hero.blog-single-hero::before {
    content: "";
    background-image: linear-gradient(90deg, #25113fde 40%, #3d1d5561);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* End */




.privacy-content h3, .privacy-content h4 {
      font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-text);
    margin-block: 1rem;
}
.privacy-content h4 {
  font-size: 1.25rem;
}
.privacy-content ul {
      list-style: disc;
    list-style-position: inside;
    margin-block: 1rem;
}
@media (max-width:1400px) {
  /* .hero .hero-container {
        padding-left: 1.25rem;
                gap: 1.25rem;
                align-items: flex-start;
  } */
  .hero-card {
    right:1.25rem;
  }
  
}

/* ========================= RESPONSIVE ============================= */
@media (max-width: 1199.98px) {
  .topics-grid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
   .topic-sidebar { width: 18rem; }
  .doc-layout { gap: 1.5rem; }
  .audio-grid--wide { grid-template-columns: repeat(3, 1fr); }
  .video-grid--wide { grid-template-columns: repeat(3, 1fr); }
  .pic-grid { grid-template-columns: repeat(4, 1fr); }
  .right-container {
    padding-left: 1rem;
  }
  .hero-card-wrapper .hero-card {
    right: 1rem;
  }
}

@media (max-width: 991.98px) {
   html {
    font-size: 16px;
  }
  /* Nav → mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--primary);
    padding: .5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    box-shadow: var(--shadow);
    display: none;
    z-index: 50;
  }
  .nav-links.is-open { display: flex; }
  .site-header .container { position: relative; }
  .nav-links-link { padding: .875rem 1.5rem; border-bottom: 0; }
  .nav-links-link.is-active { border-bottom: 0; }

  /* Hero → stack */
  .hero { overflow: visible; }
  .hero-content {    width: 57%; }
  .chatbot-wrapper {
    width: 67%;
}
.hero-card {
  width: 30%;
  transform: none;
}
  .hero-portrait {
    height: auto;
  }
  
  .large-title {
    font-size: 2rem;
  }

  /* Topics 3-up */
  .topics-grid { grid-template-columns: repeat(3, 1fr); }

  /* Library stack */
  .library-grid { grid-template-columns: 1fr; max-width: 100%; margin-inline: auto; }

  /* Dr Ward stack */
  .content-grid { flex-direction: column; }
  .content-image { width: 100%; max-width: none; }

  /* Highlights → 2 rows wrap */
  .stats { flex-wrap: wrap; gap: 1.5rem 0; justify-content: center; }
  .stat { flex: 0 0 33.333%; }
  .stat:nth-child(3)::after { display: none; }
  .stat:not(:last-child)::after { height: 2.75rem; }

  /* Footer */
  .footer-top { flex-direction: column; }
  .footer-brand { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 2rem 2.5rem; }
  .footer-col--topics { flex: 1 1 100%; order: 3; }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-lead, .hero-quote blockquote p {
    font-size: 1rem;
  }
  .contact-banner {
      padding-right: 1rem;
	  margin-bottom: 2rem;
  }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-viewer-frame { height: 50rem; }
  .doc-layout { flex-direction: column; }
  .topic-sidebar { width: 100%; }
  .topic-list { columns: 2; column-gap: 1.5rem; }
  .topic-list li { break-inside: avoid; }
	.doc-results {
		width:100%;
	}
	.audio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .audio-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .ap-progress { flex-basis: 100%; order: 3; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .video-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .media-head { gap: 1.25rem; }
  .media-head-text { min-height: 0; flex-basis: 100%; order: 3; }
  .media-head-title { font-size: 1.5rem; }
  .hero .hero-container {
      flex-wrap: wrap;
  }
  .pic-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.25rem; }
  .timeline--journey { flex-wrap: wrap; gap: 1.5rem; }
  .timeline--journey .timeline-item { flex: 1 1 12rem; }
  /* stacked story sections keep image first regardless of order */
  .content-grid--reverse { flex-direction: column; }
  .hero-card-wrapper .hero-card {
        position: static;
    width: calc(100% - 1rem);
    margin-top: 1rem;
  }
  .hero-card-wrapper {
    padding-left: 1rem;
  }
  .no-related-data-found {
    padding-left: 0rem;
  }

.blog-grid {
        grid-template-columns: repeat(3, 1fr);
  }
  .blog-content-wrapper .topic-sidebar {
    position: relative;
    top: 0;
}



}

@media (max-width:921px) {
  .ast-header-break-point .main-header-menu {
    background-color: var(--primary) !important;
    padding-block: 1rem;
  }
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link,
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover
  {
    background-color: transparent;
    color: var(--white);
  }
   .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .menu-link {
    color: var(--accent);
  }
  
  .main-navigation ul {
    gap: 0rem;
  }
	
}


@media (max-width: 767.98px) {
  .hero-quote { padding-left: 2.25rem; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .lib-card-inner { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; }
  .cta-buttons .btn { width: 100%; }
  .cta-quote { padding: 0 1rem; margin-inline:1.5rem; }
  .quote-mark--cta-open { left: -0.65rem; }
  .quote-mark--cta-close { right: 0; }
.logo-img {
  width: 12rem;
}
  /* Highlights → 2 per row */
  .stat { flex: 0 0 50%; }
  .stat:nth-child(3)::after { display: block; }
  .stat:nth-child(2n)::after { display: none; }

  .footer-links { flex-direction: column; }
  .footer-col--topics { order: 0; }
  .footer-topics { flex-direction: column; gap: .75rem; }
  .timeline-item::before {
    top: 0.5rem;
    left: -1.25rem;
  }
  .timeline {
    flex-direction: column;
    border-left: 1px solid var(--line);
    padding-left: 1rem;
    border-top: none;
  }
  .hero .hero-container {
    flex-direction: column;
    padding-inline: 1.25rem;
    padding-bottom: 0rem;
  }
      .hero-title {
        font-size: 2rem;
    }
    .hero-quote .quote-mark {
          width: 1.5rem;
    height: auto;
    }
    .hero-quote {
      margin: 1rem 0 0;
    }
    .hero-portrait {
    position: static;
    width: 100%;
    padding: 1.25rem;
    }
    .hero-content {
      padding-top: 0rem;
    }
    .section-sub, .lib-card-desc, body, .timeline-label, .stat-label {
          font-size: 1rem;
    }
    .lib-card-title, .stat-num {
      font-size: 1.5rem;
    }
    .large-title, .content-title {
        font-size: 1.75rem;
    }
    .stats {
          justify-content: flex-start;
    }
    .stat {
      flex-direction: column;
    gap: 1rem;
    }
        .stat:not(:last-child)::after {
        height: 100%;
        right: 1rem;
    }
    .cta-quote .blockquote p{
      font-size: 1.25rem;
    }
    .form-wrapper nf-fields-wrap nf-field {
          grid-column: span 2;
    }
    .form-wrapper nf-fields-wrap {
      gap: 1rem;
    }
    .form-wrapper {
      padding: 1.25rem;
    }
    .doc-lead { font-size: 1rem; }
  .breadcrumbs a, .breadcrumbs span { font-size: 1rem; padding-inline: 0.25rem; }
  .breadcrumbs li + li::before { width: 1.125rem; height: 1.125rem; background-size: 1.125rem; }
  .related-panel { padding: 1.25rem; }
  .related-title { font-size: 1.5rem; }
  .doc-card { padding: .75rem; gap: .75rem; }
  .doc-card-icon { width: 2.75rem; height: 2.75rem; }
  .doc-card-icon img { width: 1.25rem; height: 1.25rem; }
  .doc-card-title { font-size: 1rem; }
  .doc-card-meta { font-size: .875rem; }
  .doc-hero { min-height: 0; background-position: 78% center; }
  .doc-hero-lead { font-size: 1rem; }
  .doc-search { gap: .875rem; padding: 0rem 1rem; min-height: 3.5rem; }
  .doc-search-icon { width: 1.25rem; height: 1.25rem; }
  .doc-search-input { font-size: 1rem; }
  .topic-list { columns: 1; }
  .list-head { gap: .75rem; }
  .list-title { font-size: 1.5rem; max-width: 100%; }
  .sort { width: 100%; justify-content: space-between; }
  .page-link { width: 2.375rem; height: 2.375rem; }
  .pagination ul { gap: .5rem; }
.audio-grid { grid-template-columns: 1fr; }
.audio-grid--wide { grid-template-columns: 1fr; }
  .audio-player { padding: 0.25rem; gap: 1rem; justify-content: center; }
  .ap-volume { display: none; }
  .ap-time { font-size: .875rem; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid--wide { grid-template-columns: 1fr; }
  .media-section { padding: 1.25rem 1rem; }
  .media-head-badge { width: 3.5rem; height: 3.5rem; }
  .media-head-badge img { width: 1.75rem; height: 1.75rem; }
  .media-section--audios .media-head-badge img,
  .media-section--documents .media-head-badge img { width: 1.875rem; height: 1.875rem; }
  .media-head .btn { width: 100%; justify-content: center; }
  .hero-content, .chatbot-wrapper, .hero-card {
    width: 100%;
  }
  .pic-grid { grid-template-columns: repeat(2, 1fr); }
  .pic-card { min-height: 0; }
  .pic-card-body { min-height: 0; padding: .625rem .75rem; }
  .pic-card-caption { font-size: .875rem; }
  .timeline--journey .timeline-item {
    flex: 1 1 0rem;
  }
  .video-embed iframe {
    aspect-ratio: 16/9;
  }
   .doc-viewer-frame { height: 40rem; }
   .audio-player .plyr__control svg {
    width: 0.625rem !important;
    height: 0.625rem !important;
   }
   .audio-player .plyr__control:not(.plyr__menu__container .plyr__control), 
   .audio-player .plyr__control:not(.plyr__menu__container .plyr__control):hover, 
   .audio-player .plyr__control:not(.plyr__menu__container .plyr__control):focus {
    padding: 0.5rem;
   }
   .audio-player .plyr__control[data-plyr="play"] {
padding: 0.75rem !important;
}
.audio-player .plyr__control[data-plyr="rewind"] .plyr__sr-only::before,
 .audio-player .plyr__control[data-plyr="fast-forward"] .plyr__sr-only::before {
    background-size: 1.125rem;
}
.plyr__volume input[type=range] {
  max-width: 3rem !important;
  min-width: 3rem !important;
}
	.secondary-banner > .row .hero-card-wrapper {
    padding-right: 1rem;
    
}
	.hero-card-wrapper .hero-card {
		width:100%;
	}
  .hero-home {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
  }
  .topic-card-body {
        gap: 0.5rem;
  }
  .topic-card-icons {
        margin-top: 0.5rem;
  }
  .secondary-banner >  .row {
    flex-direction: column-reverse;
  }
  .secondary-banner {
    padding-top: clamp(2.75rem, 5vw, 3.75rem);
  }
  .doc-hero {
    background-position: left center;
  }
	.plyr__controls .plyr__controls__item.plyr__time {
		position: absolute;
    left: 50%;
    bottom: 0rem;
    transform: translateX(-50%);
	}
	.read-more-block .row {
	flex-direction:column-reverse;
}

.blog-grid {
        grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid .blog-card .blog-card-body h3.blog-card-title {
    font-size: 1.125rem;
  }
  .blog-content :is(h2, h1) {
  font-size: 1.5rem;
}
.blog-content :is(h3) {
  font-size: 1.25rem;
}
.blog-content :is(h4) {
  font-size: 1.125rem;
}





}

@media (max-width: 400px) {
  .topics-grid { grid-template-columns: 1fr; max-width: 100%; }
  .topic-card-arc {
    width: 180%;
  }
  .pic-grid { grid-template-columns: 1fr; }
  .blog-grid {
        grid-template-columns: repeat(1, 1fr);
  }
}

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

/* ================== ASK DR. WARD — FLOATING CHAT WIDGET ================== */
/* The panel and the button are independent fixed elements — no wrapper — so
   nothing invisible sits over the page and swallows clicks when it's closed. */
.chat-panel,
.chat-fab {
  /* widget-scoped tokens */
  --chat-w: 32.3125rem;
  --chat-pad: 1.5rem;
  --chat-radius: 1rem;
  --chat-border: #E3DFDE;
  --chat-rule: rgba(46, 42, 54, .07);
  --chat-fab-size: 3.75rem;
  --chat-edge: 1.5rem;                     /* distance from viewport corner */
  --chat-gap: 1rem;                        /* space between button and panel */

  /* position: fixed;
  right: var(--chat-edge);
  z-index: 900; */
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------- Floating button ------------------------- */
.chat-fab {
  bottom: var(--chat-edge);
  width: var(--chat-fab-size);
  height: var(--chat-fab-size);
  display: grid;
  place-items: center;
  background: var(--primary);
  border: 0;
  padding: 0rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 .625rem 1.5rem -.375rem rgba(37, 17, 64, .45);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
:is(.chat-send,.chat-fab ):focus {
   background: var(--primary);
}
.chat-fab:hover { background: #5c46a0; transform: translateY(-2px); box-shadow: 0 .875rem 1.75rem -.375rem rgba(37, 17, 64, .55); }
.chat-fab-icon {
  width: 1.75rem; height: 1.75rem;
  transition: opacity .2s ease, transform .2s ease;
}

/* CSS-drawn close affordance (shown while the panel is open) */
.chat-fab-close {
  position: absolute;
  width: 1.125rem; height: 1.125rem;
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity .2s ease, transform .2s ease;
}
.chat-fab-close::before,
.chat-fab-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  margin-top: -1px;
  background: var(--white);
  border-radius: 2px;
}
.chat-fab-close::before { transform: rotate(45deg); }
.chat-fab-close::after { transform: rotate(-45deg); }

.chat-fab.is-open .chat-fab-icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat-fab.is-open .chat-fab-close { opacity: 1; transform: rotate(0deg); }

/* ----------------------------- Panel ------------------------------- */
.chat-panel {
  /* bottom: calc(var(--chat-edge) + var(--chat-fab-size) + var(--chat-gap)); */
  /* width: var(--chat-w); */
  max-width: calc(100vw - (var(--chat-edge) * 2));
  max-height: min(35.25rem, calc(100vh - var(--chat-edge) * 2 - var(--chat-fab-size) - var(--chat-gap)));
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--chat-radius);
  box-shadow: 0 1.5rem 3rem -.75rem rgba(37, 17, 64, .28), 0 .25rem .75rem -.25rem rgba(0, 0, 0, .1);
  overflow: hidden;

  /* closed state */
  /* opacity: 0; */
  /* visibility: hidden;
  transform: translateY(1rem) scale(.96);
  transform-origin: bottom right;
  transition: opacity .26s ease, transform .26s cubic-bezier(.34, 1.24, .5, 1), visibility 0s linear .26s; */
}
/* .chat-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .26s ease, transform .26s cubic-bezier(.34, 1.24, .5, 1), visibility 0s;
} */

/* Header */
.chat-head {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: var(--chat-pad) var(--chat-pad) 1.0625rem;
}
/* rule is inset to the panel padding, as in the design */
.chat-head::after,
.chat-foot::before {
  content: "";
  position: absolute;
  left: var(--chat-pad);
  right: var(--chat-pad);
  height: 1px;
  background: var(--chat-rule);
}
.chat-head::after { bottom: 0; }
.chat-foot::before { top: 0; }
.chat-head-icon {
  flex: none;
  width: 2.625rem; height: 2.625rem;
  display: grid; place-items: center;
  background: var(--primary);
  border-radius: .625rem;
}
.chat-head-icon img { width: 1.375rem; height: 1.375rem; }
.chat-title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--primary-text);
}
.chat-avatar {
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Message thread */
.chat-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.4375rem var(--chat-pad) 2.1875rem;
}
.chat-thread { display: flex; flex-direction: column; gap: 1.3125rem; }
.chat-msg {
  font-family: var(--font-sans);
  font-size: .9375rem;
  line-height: 1.4;
}
.chat-msg--user {
  align-self: flex-end;
  max-width: 82%;
  padding: .8125rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: .625rem;
}
.chat-msg--bot {
  align-self: flex-start;
  max-width: 78%;
  padding: 1rem;
  background: var(--bg-cream);
  color: var(--primary-text);
  border: 1px solid var(--chat-border);
  border-radius: .5rem;
  /* white-space: break-spaces; */
  text-align: left;
}
.chat-msg--bot a:focus {
	color: var(--secondary);
}
.chat-msg--bot a:hover {
	opacity:0.8;
}
/* Target the ordered lists (numbers) inside the chat bubble */
.chat-msg ol {
  list-style-type: decimal;
  white-space: normal;
  line-height: 1.75;
}

/* Target unordered lists (bullets) if the bot generates them later */
.chat-msg ul {
  list-style-type: disc;
  white-space: normal;
  line-height: 1.75;
}

/* Typing indicator — three bouncing dots */
.chat-msg--typing {
  display: flex;
  align-items: center;
  gap: .3125rem;
  padding: 1.0625rem 1rem;
}
.chat-typing__dot {
  width: .4375rem;
  height: .4375rem;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
  animation: chat-typing-bounce 1.2s infinite ease-in-out;
}
.chat-typing__dot:nth-child(2) { animation-delay: .18s; }
.chat-typing__dot:nth-child(3) { animation-delay: .36s; }
@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0);       opacity: .35; }
  30%           { transform: translateY(-.25rem); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-typing__dot { animation-duration: 2.4s; }
}

/* Footer — input + suggestions */
.chat-foot {
  position: relative;
  flex: none;
  padding: 1.125rem var(--chat-pad) 1.5rem;
}
.chat-form {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  min-height: 2.6875rem;                   /* 43px — grows with the textarea */
  padding: 0 .4375rem 0 1rem;
  background: var(--bg);
  border: 1px solid var(--chat-border);
  border-radius: .5rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.chat-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 59, 134, .12); }
.chat-input {
  flex: 1;
  min-width: 0;
  height: 2.6875rem;                       /* one row; JS grows it as you type */
  max-height: 6.5rem;                      /* then scrolls */
  padding: .6875rem 0;                     /* centres the first line in 43px */
  background: transparent;
  border: 0;
  resize: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: var(--font-sans);
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--primary-text);
}
.chat-input::placeholder { color: #9A94A3; }
.chat-input:focus { outline: 0;border: none; background-color: transparent;}
.chat-send {
  flex: none;
  margin-bottom: .25rem;                   /* keeps it off the bottom edge */
  width: 2.125rem; height: 2.125rem;
  display: grid; place-items: center;
  background: var(--primary);
  border: 0;
  padding: 0rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.chat-send:hover { background: #5c46a0; transform: translateY(-1px); }
.chat-send img { width: 1.1875rem; height: 1.1875rem; }

.chat-suggest-label {
  margin-top: 1.3125rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--primary-text);
}
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6875rem;
  margin-top: .875rem;
}
.chat-chip {
  display: inline-flex;
  align-items: center;
  height: 1.875rem;
  padding: 0 .75rem;
  background: var(--bg);
  border: 1px solid var(--chat-border);
  border-radius: .375rem;
  font-family: var(--font-sans);
  font-size: .8125rem;
  line-height: 1;
  color: var(--primary-text);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.chat-chip:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Chat widget — responsive */
@media (max-width: 767.98px) {
  .chat-panel, .chat-fab { --chat-edge: 1rem; --chat-gap: .75rem; --chat-fab-size: 3.25rem; }
  .chat-panel { --chat-pad: 1.125rem; }
  .chat-title { font-size: 1.0625rem; }
  .chat-head-icon { width: 2.25rem; height: 2.25rem; }
  .chat-avatar { width: 2.5rem; height: 2.5rem; }
  .chat-msg { font-size: .875rem; }
  .chat-msg--user, .chat-msg--bot { max-width: 88%; }
  .chat-fab-icon { width: 1.5rem; height: 1.5rem; }
	.chatbot-wrapper {
		margin-top:0rem;
	}
}
