/**
 * Phase Counselling — main.css (clean rebuild)
 * Focused on Header/Nav, Hero (index + blog), Buttons, About/Intro sections,
 * Blockquotes, and responsive spacing. Minimal duplication, scoped overrides.
 */

/* -------------------------------------------------------------
   0) Root variables & fonts
------------------------------------------------------------- */
:root {
  /* Fonts */
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Nunito Sans", sans-serif;
  --nav-font: "Inter", sans-serif;

  /* Global colours */
  --background-color: #ffffff;
  --surface-color:    #ffffff;
  --default-color:    #1f2428;  /* body text */
  --heading-color:    #1f2428;  /* headings */
  --accent-color:     #3a5f6f;  /* brand */
  --contrast-color:   #ffffff;

  /* Nav colours */
  --nav-color:                    #1f2428;
  --nav-hover-color:              #3a5f6f;
  --nav-mobile-background-color:  #ffffff;
  --nav-dropdown-background-color:#ffffff;
  --nav-dropdown-color:           #1f2428;
  --nav-dropdown-hover-color:     #3a5f6f;
}

.light-background {
  --background-color: #ececec;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root { scroll-behavior: smooth; }

/* -------------------------------------------------------------
   1) Base elements
------------------------------------------------------------- */
* { box-sizing: border-box; }

html, body {
  padding: 0;
  margin: 0;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 400; /* lighter look */
  margin: 0 0 .5rem 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: .3s;
}
a:hover { color: color-mix(in srgb, var(--accent-color), black 25%); }

/* Utility */
.section,
section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/* Scroll offset for anchored targets (so header doesn’t cover) */
#about, #features, #courses, #trainers-index, #footer, #blog, #our-services, our-team { scroll-margin-top: 90px; }

/* -------------------------------------------------------------
   2) Header & navigation
------------------------------------------------------------- */
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all .5s;
  z-index: 997;
}

.header .logo { line-height: 1; display: flex; align-items: center; }
.header .logo img { max-height: 72px; margin-right: 8px; }
.header .logo .sitename {
  font-weight: 700;                /* bolder */
  font-size: 30px;
  letter-spacing: 1px;
  color: #103a5c;                  /* deep blue title as requested */
}

@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
  .navmenu li { position: relative; }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: .3s;
    border: 0;
    box-shadow: none;
  }

  .navmenu li:hover > a,
  .navmenu a.active { color: var(--nav-hover-color); font-weight: 600; }

  /* Active link highlight (no underline, no baseline shift) */
  .navmenu a.active {
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    border-radius: 6px;
  }
}

/* Mobile nav */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    margin-right: 10px;
    cursor: pointer;
    transition: color .3s;
  }
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    border-radius: 8px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    z-index: 9998;
  }

  .navmenu ul li + li {
    border-top: 1px solid rgba(16, 58, 92, 0.08);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    display: block;
    padding: 0.75rem 1.25rem;
    font-family: var(--nav-font);
    font-size: 1.05rem;
    font-weight: 500;
  }

  .navmenu a:hover {
    color: var(--nav-dropdown-hover-color);
    background: color-mix(in srgb, var(--accent-color), transparent 93%);
  }

  .navmenu a.active {
    color: var(--nav-dropdown-hover-color);
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    font-weight: 600;
  }

  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff; position: absolute; font-size: 32px; top: 15px; right: 15px; z-index: 9999;
  }
  .mobile-nav-active .navmenu { position: fixed; inset: 0; background: rgba(33,37,41,0.8); }
  .mobile-nav-active .navmenu > ul { display: block; }
}


/* -------------------------------------------------------------
   3) Hero (shared), with per-page overrides
------------------------------------------------------------- */
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 90%);
  position: absolute; inset: 0; z-index: 2;
}

.hero .container { position: relative; z-index: 3; }

.hero h2 { margin: 0; font-size: 48px; font-weight: 600; /* bolder for impact */ }
.hero p  { margin: 10px 0 0 0; font-size: 24px; color: color-mix(in srgb, var(--default-color), transparent 20%); }

/* Small screens: centre the hero text + button only on small devices */
@media (max-width: 991.98px) {
  .hero .container { text-align: center; }
  .hero .container .d-flex { justify-content: center; }
}

/* Optional: vertical nudge for hero content (apply on the element you want moved) */
.hero .nudge--50 { transform: translateY(-50px); }

/* -------------------------------------------------------------
   4) Primary buttons
------------------------------------------------------------- */
.btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: .4s;
  margin-top: 30px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
  background: transparent;
  text-align: center;
  min-width: 220px; /* keeps multi-line labels neat */
}

/* Hover: brand fill for generic buttons (not hero) */
.btn-get-started:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Hero variant: force white outline button */
.hero .btn-get-started {
  color: #fff !important;
  border-color: #fff !important;
  background: transparent !important;
}
.hero .btn-get-started:hover {
  background: #fff !important;
  color: var(--accent-color) !important;
}

/* -------------------------------------------------------------
   5) About intro & Intro sections
------------------------------------------------------------- */
/* Shared image/text grids */
.intro-section .row,
.about-intro .row {
  align-items: center;
}

/* Default: justified copy for both */
.intro-section .content,
.about-intro .content {
  text-align: justify;
  text-justify: inter-word;
}

/* Headings centred in about-intro (as requested) */
.about-intro h3,
.about-intro h4 { text-align: center; }

/* Spacing per module */
.intro-section,
.about-intro { padding: 25px 0; }

/* Content padding on small devices (fixes “no left/right padding” issue) */
@media (max-width: 575.98px) {
  .intro-section .content,
  .about-intro .content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* If you place buttons inside these sections and want them centred: */
.intro-section .content .d-flex,
.about-intro .content .d-flex { justify-content: center; }

/* Bleed image on mobile: make image edge-to-edge when it stacks above text */
.bleed-img { position: relative; }
@media (max-width: 991.98px) {
  .bleed-img .img-fluid {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    display: block;
  }
}

/* -------------------------------------------------------------
   6) Blockquotes (about-intro / intro look)
------------------------------------------------------------- */
blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  line-height: 1.55;
}
blockquote footer {
  margin-top: .6rem;
  font-style: italic;
  opacity: .95;
}
blockquote footer cite {
  font-style: italic;
}

/* Drop-shadowed white quote for overlays (used when text sits on images) */
.quote-overlay blockquote {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0,0,0,.45),
    0 6px 18px rgba(0,0,0,.35);
}

/* -------------------------------------------------------------
   7) BLOG hero: left-aligned quote + button (scoped)
   Add class="hero-left" to the hero's container in blog.html
------------------------------------------------------------- */
.hero-left .quote-overlay { display: block; }
.hero-left .quote-overlay blockquote {
  margin: 0;
  width: auto;
  max-width: 720px;
  text-align: left;
  color: #fff;
  font-style: italic;
  text-shadow:
    0 1px 2px rgba(0,0,0,.45),
    0 6px 18px rgba(0,0,0,.35);
  line-height: 1.5;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}
.hero-left .quote-overlay blockquote footer {
  margin-top: .6rem;
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
}
.hero-left .d-flex { justify-content: flex-start; }


/* -------------------------------------------------------------
   8) Page title & breadcrumbs (kept minimal, single-line)
------------------------------------------------------------- */
.page-title {
  --default-color: var(--contrast-color);
  --background-color: var(--accent-color);
  --heading-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
}
.page-title .heading { padding: 60px 0; border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.page-title .heading h1 { font-size: 34px; font-weight: 400; margin: 0; }
.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
  padding: 12px 0;
}
.page-title nav ol {
  display: flex; flex-wrap: nowrap; gap: 10px;
  list-style: none; margin: 0; padding: 0;
  font-size: 16px; font-weight: 400;
}
.page-title nav ol li+li::before {
  content: "/"; color: color-mix(in srgb, var(--default-color), transparent 70%); padding-right: 10px;
}

/* -------------------------------------------------------------
   9) Footer (kept from your prior setup, simplified)
------------------------------------------------------------- */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
}
.footer .footer-top { padding-top: 50px; }
.footer .footer-about .logo span {
  font-size: 26px; font-weight: 400; letter-spacing: 1px; font-family: var(--heading-font); color: var(--heading-color);
}
.footer .social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px; color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px; transition: .3s;
}
.footer .social-links a:hover { color: var(--accent-color); border-color: var(--accent-color); }
.footer .copyright {
  padding: 25px 0; background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

/* -------------------------------------------------------------
   10) Scroll-top button
------------------------------------------------------------- */
.scroll-top {
  position: fixed; visibility: hidden; opacity: 0; right: 15px; bottom: -15px; z-index: 99999;
  background-color: var(--accent-color); width: 44px; height: 44px; border-radius: 50px; transition: all .4s;
}
.scroll-top i { font-size: 24px; color: var(--contrast-color); }
.scroll-top.active { visibility: visible; opacity: 1; bottom: 15px; }
.scroll-top:hover { background-color: color-mix(in srgb, var(--accent-color), transparent 20%); }

/* -------------------------------------------------------------
   11) Vendor helper tweaks
------------------------------------------------------------- */
/* Disable AOS delay on smaller devices */
@media (max-width: 768px) { [data-aos-delay] { transition-delay: 0 !important; } }

/* Hero type sizes on very small screens */
@media (max-width: 768px) {
  .hero h2 { font-size: 36px; }
  .hero p  { font-size: 18px; }
}
/* ==== PATCH: restore over-image quote overlays & hero heading colour ==== */

/* 1) Over-image quote overlay inside a .bleed-img column */
.bleed-img { position: relative; }

.bleed-img .quote-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;     /* centre the quote both ways */
  padding: clamp(12px, 4vw, 24px);
  pointer-events: none;        /* clicks pass through (keeps images usable) */
}

.bleed-img .quote-overlay blockquote {
  margin: 0;
  width: 100%;
  max-width: 90%;              /* mobile: more width to avoid cramped text */
  text-align: center;
  color: #fff;
  font-style: italic;
  line-height: 1.5;
  text-shadow:
    0 1px 2px rgba(0,0,0,.45),
    0 6px 18px rgba(0,0,0,.35);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
}

.bleed-img .quote-overlay blockquote footer {
  margin-top: .6rem;
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  opacity: .95;
}

@media (min-width: 992px) {
  .bleed-img .quote-overlay blockquote { max-width: 85%; } /* roomier on desktop */
}

/* ==== PATCH: hero typography + universal overlay support ==== */

/* Hero headings: larger, bolder, white */
.hero h2 {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: clamp(36px, 6vw, 60px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.hero p {
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(16px, 3.5vw, 30px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Keep the hero button white outline */
.hero .btn-get-started {
  color: #fff !important;
  border: 2px solid #fff !important;
  background: transparent !important;
}
.hero .btn-get-started:hover {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
}

/* Over-image quote overlay: works anywhere you add .bleed-img */
.bleed-img { position: relative; }
.bleed-img .quote-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 24px);
  pointer-events: none;
}
.bleed-img .quote-overlay blockquote {
  margin: 0;
  width: 100%;
  max-width: 90%;
  text-align: center;
  color: #fff;
  font-style: italic;
  line-height: 1.5;
  text-shadow:
    0 1px 2px rgba(0,0,0,.45),
    0 6px 18px rgba(0,0,0,.35);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
}
.bleed-img .quote-overlay blockquote footer {
  margin-top: .6rem;
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  opacity: .95;
}
@media (min-width: 992px) {
  .bleed-img .quote-overlay blockquote { max-width: 85%; }
}
/* Blog hero single column */
.blog-hero {
  padding: 60px 0;
}

.image-quote-wrapper {
  position: relative;
  max-width: 700px;   /* controls how wide the image+quote can go */
}

.image-quote-wrapper img {
  width: 100%;
  border-radius: 8px; /* optional: rounded corners */
}

.image-quote-wrapper .quote-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%; /* shrink quote text relative to image */
  text-align: center;
}

.image-quote-wrapper blockquote {
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  margin: 0;
}

.image-quote-wrapper blockquote footer {
  margin-top: 10px;
  font-size: 1.5rem;
  font-style: italic;
  color: #f0f0f0;
}
/* Blog index cards */
.post-card {
  display: block;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: var(--surface-color);
  border-radius: 10px;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
}

.post-card-body {
  padding: 20px 22px;
}

.post-title {
  margin: 0 0 6px 0;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--heading-color);
}

.post-meta {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.post-excerpt {
  margin: 0 0 14px 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 1.6;
}

.post-cta {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-color);
}

/* Multi-line clamp (graceful fallback if not supported) */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-thumb {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.post-hero-float {
  float: left;
  max-width: 40%;       /* keeps it responsive */
  height: auto;         /* preserve aspect ratio */
  margin: 0 1.5rem 1rem 0;
  border-radius: 8px;
  object-fit: contain;  /* show the full image without cropping */
}


@media (max-width: 768px) {
  .post-hero-float {
    float: none;       /* stop floating on small screens */
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
  }
}
.blog-excerpt .btn-readmore,
.blog-post .btn-back {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 20px;
  border: 2px solid #fff; /* white border */
  color: #fff;            /* white text */
  background: transparent;
}

.blog-excerpt .btn-readmore:hover,
.blog-post .btn-back:hover {
  background: var(--accent-color); 
  border: 2px solid var(--accent-color);
  color: #fff;
}

/* Blog excerpt dividers (stronger specificity + visible on light bg) */
.blog.section .blog-post {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 65%);
}

/* If you prefer a brand-tinted divider instead of neutral: */
/*
.blog.section .blog-post {
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), white 70%);
}
*/

/* Optional: remove the divider under the final excerpt on the page */
.blog.section:last-of-type .blog-post {
  border-bottom: 0;
}

/* Reduce space between blog excerpts */
.blog.section {
  padding-top: 1rem;   /* override big top padding */
  padding-bottom: 1rem;
  margin-top: 0;
  margin-bottom: 0;
}

.blog.section .row {
  margin-top: 0;
  margin-bottom: 0;
}

.blog.section .blog-post h2 {
  margin-top: 0.5rem;  /* shrink heading top margin */
}

/* Bolder Blog excerpt titles */
.blog-post h2 a {
  font-weight: 700;        /* bolder weight (600 = semi-bold, 700 = bold, 800 = extra-bold) */
  color: var(--heading-color, #222); /* keep consistent with theme */
  text-decoration: none;   /* removes underline */
}

.blog-post h2 a:hover {
  text-decoration: underline; /* or change color if you want a hover effect */
}


/* Team excerpts (based on blog cards but tweaked) */
.team-member {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.team-member:last-child {
  border-bottom: none;
}
.team-member h2 {
  clear: both;
  padding-top: 1.5rem; /* optional, adds spacing above */
}


/* Header row: image + name inline */
.member-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.member-header h2 {
  margin: 0; /* remove top gap */
  font-weight: 700; /* bolder name */
}

/* Thumbnail small inline image */
.member-thumb {
  width: 60px;       /* tweak size */
  height: 60px;
  object-fit: cover; /* crop nicely */
  border-radius: 50%; /* circle thumb, optional */
}

/* Qualifications line */
.member-meta {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/*This is where the shared css starts for team member and blog
/* Reusable excerpt list (Blog + Team) */
.card-excerpt .excerpt-item {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.card-excerpt .excerpt-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

/* Inline title weight for stronger headings */
.excerpt-item h2 a {
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
}
.excerpt-item h2 a:hover { text-decoration: underline; }

/* Team variant (thumbnail + name on one line) */
.team-card .excerpt-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.team-card .excerpt-thumb {
  width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
}
.team-card .excerpt-header h2 { margin: 0; }

/* Make list sections a bit tighter than the default .section */
.card-excerpt.section { padding-top: 2rem; padding-bottom: 2rem; }

/*Forcing the line between blog excerpts and team members
/* === Robust dividers for Blog + Team lists === */

/* Use a pseudo-element so nothing can override it */
.card-excerpt .excerpt-item,
.blog.section .blog-post {
  position: relative;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Draw the line ourselves (works even if borders get reset elsewhere) */
.card-excerpt .excerpt-item:not(:last-child)::after,
.blog.section .blog-post:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  /* Fallback if color-mix unsupported */
  background: rgba(0,0,0,.25);
  pointer-events: none;
}

/* Optional: brand-tinted variant (uncomment to use instead of neutral)
.card-excerpt .excerpt-item:not(:last-child)::after,
.blog.section .blog-post:not(:last-child)::after {
  background: color-mix(in srgb, var(--accent-color), white 70%);
}
*/


/* Blog excerpt meta (date + author) */
.excerpt-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .95rem;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin: .5rem 0 1rem;
}

.excerpt-meta .post-date {
  font-weight: 600; /* make date stand out slightly */
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Separator bullet */
.excerpt-meta .meta-sep {
  opacity: .55;
  user-select: none;
}

/* Additional padding for team profile pages on small screens */
@media (max-width: 575.98px) {
  .team-member .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Debug: force contact form to be visible */
.php-email-form {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide the hidden honeypot / spam blocker field */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* =======================================================================
   Mobile / Tablet Styling for Quote Panels (clean version)
   ======================================================================= */

@media (max-width: 991.98px) {

  /* The column itself becomes the soft card */
  .quote-panel {
    background: #f5f6fa;
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    margin-bottom: 1.75rem;
  }

  /* Don’t restrict width or add extra background inside */
  .quote-panel .image-quote-wrapper {
    max-width: none;
    background: none;
  }

  /* Hide the blue sky image on small screens */
  .quote-panel .image-quote-wrapper img {
    display: none;
  }

  /* Make quote behave like normal centred text */
  .quote-panel .quote-overlay {
    position: static;
    transform: none;
    text-align: center;
  }
	/* Ensure the overlay fills the card (fixes 85% width shift) */
	.quote-panel .image-quote-wrapper .quote-overlay {
	width: 100%;
	margin: 0 auto;
  }


  .quote-panel blockquote {
    margin: 0;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    color: #16324f !important;   /* override white-on-image */
    text-shadow: none !important;
  }

  .quote-panel blockquote footer,
  .quote-panel blockquote cite {
    color: #16324f !important;
    opacity: 0.9;
  }
}




