/* 
Theme Name: Nova & Root
Theme URI: https://www.lightyellow-gull-647878.hostingersite.com
Author: Nova & Root
Author URI: https://www.lightyellow-gull-647878.hostingersite.com
Description: A trauma-informed consultancy and training practice theme - rooted in healing, equity, and transformation.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novaandroot
Tags: custom-background, custom-logo, threaded-comments, translation-ready, mobile-first, responsive
*/

/* ===================================
   @import Rules
   =================================== */

/* ===================================
   CSS Reset & Variables
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #8abeb2;
  --secondary-color: #edb480;
  --accent-color: #b6d6cf;
  --light-color: #ffe4ad;
  --dark-color: #2a2a2a;
  --white: #ffffff;
  --heading-font: "Newsreader", Georgia, serif;
  --body-font:
    "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --text-color: #4a5568;
}
body.sticky-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.sticky-footer .site-main {
  flex: 1 0 auto;
}
body.sticky-footer .site-footer {
  flex-shrink: 0;
}

body.tax-resource_category,
body.tax-resource_category .site-main,
body.category,
body.category .site-main,
body.tag,
body.tag .site-main {
  background-color: #f5f0e8;
}

body.tax-resource_category .archive-hero,
body.category .archive-hero,
body.tag .archive-hero {
  background: #f5f0e8;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  background-color: var(--white);
  overflow-x: clip;
  min-height: 100vh;
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font), var(--body-font), serif;
  font-weight: 500;
}

/* Ensure important section titles use the softened weight */
.section-title h2,
.section-title h2 .highlight {
  font-weight: 500;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
h5 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* ===================================
   Layout
   =================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  background-color: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}

/* ===================================
   Header
   =================================== */
.site-header {
  background-color: #f5f0e8;
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: opacity 0.3s ease;
}

/* Accessible in-page quicklink (hidden visually, visible on keyboard focus) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  padding: 10px 14px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
  z-index: 1100;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
}
.skip-link:focus:not(:focus-visible) {
  /* keep it visible only when keyboard-focused in browsers that support focus-visible */
  outline: none;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

@media (max-width: 900px) {
  .site-header .header-container {
    padding-left: 0;
    padding-right: 0;
  }
  .site-branding {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hamburger-menu {
    margin-right: -3px;
  }
}

@media (max-width: 767px) {
  .header-container {
    height: auto !important;
    min-height: 56px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding h1,
.site-branding .site-title,
.site-branding .site-title a {
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  color: #6b7a74;
  margin: 0;
  font-weight: 700;
  font-family: "Newsreader", Georgia, serif;
  text-decoration: none;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .site-branding {
    height: 44px;
  }
  .site-branding .site-title {
    display: flex;
    align-items: center;
    height: 44px;
  }
  .site-branding .site-title a {
    display: block;
    line-height: 1;
    transform: translateY(2px);
  }
  .site-branding .site-title,
  .site-branding .site-title a {
    font-size: clamp(1.75rem, 4.5vw, 2.2rem);
  }
}

.site-branding a {
  text-decoration: none;
  color: inherit;
}

/* ===================================
   Navigation
   =================================== */
.main-navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}

@media (min-width: 901px) {
  /* Header container layout - center items vertically */
  .site-header .header-container {
    display: flex;
    align-items: center;
  }
}

/* Ensure nav links vertically center relative to the logo */
.main-navigation a {
  display: inline-flex;
  align-items: center;
  padding: 12px 10px;
  min-height: 44px;
  height: auto;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  color: #6b7a74;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.main-navigation .nav-cta {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  padding: 6px 18px;
  min-height: 0;
  height: auto;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  line-height: 1;
  transition:
    background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    color 220ms ease,
    box-shadow 300ms ease;
}

.main-navigation .nav-cta:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: none;
  box-shadow: 0 6px 18px rgba(138, 190, 178, 0.25);
}

.main-navigation .nav-cta:focus-visible {
  outline: 3px solid rgba(237, 180, 128, 0.18);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .main-navigation .nav-cta {
    transition: none;
  }
}

/* ===================================
   Hamburger Menu
   =================================== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1110;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
}

.hamburger-menu span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: #6b7a74;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger-menu.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===================================
   Mobile Menu Overlay
   =================================== */
.mobile-menu-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f5f0e8;
  z-index: 1100;
  padding: 60px 44px 28px;
  transform: translateX(-100%);
  opacity: 0;
  transition:
    transform 0.35s ease-in-out,
    opacity 0.35s ease-in-out;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Close button */
.mobile-menu-close {
  position: fixed;
  top: 14px;
  right: 18px;
  width: 46px;
  height: 46px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1110;
  display: none;
  align-items: center;
  justify-content: center;
}

body.menu-open .mobile-menu-close {
  display: flex;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background-color: #6b7a74;
  border-radius: 1px;
}

.mobile-menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.menu-open .site-header {
  z-index: 900;
}
body.menu-open .hamburger-menu {
  display: none !important;
}

/* Header scroll-to-collapse (mobile only) */
@media (max-width: 900px) {
  .site-header.scrolled {
    background: transparent;
    border-bottom-color: transparent;
  }

  .site-header.scrolled .site-branding {
    display: none;
  }

  .site-header.scrolled .hamburger-menu {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 1110;
    background: #f5f0e8;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

@media (max-width: 480px) {
  .site-header.scrolled .hamburger-menu {
    right: 15px;
  }
}
/* ===================================
   Decorative leaves
   =================================== */
.mobile-menu__deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.mobile-menu__deco .mobile-menu__dots {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.8);
}

.mobile-menu__deco .mobile-menu__dots--1 {
  top: 10%;
  left: 6%;
  box-shadow:
    0 22px 0 0 rgba(237, 180, 128, 0.8),
    0 44px 0 0 rgba(237, 180, 128, 0.8),
    20px 11px 0 0 rgba(237, 180, 128, 0.8),
    20px 33px 0 0 rgba(237, 180, 128, 0.8),
    40px 22px 0 0 rgba(237, 180, 128, 0.8);
}

.mobile-menu__deco .mobile-menu__dots--2 {
  top: 35%;
  right: 8%;
  box-shadow:
    0 22px 0 0 rgba(237, 180, 128, 0.8),
    0 44px 0 0 rgba(237, 180, 128, 0.8),
    -20px 11px 0 0 rgba(237, 180, 128, 0.8),
    -20px 33px 0 0 rgba(237, 180, 128, 0.8),
    -40px 22px 0 0 rgba(237, 180, 128, 0.8);
}

.mobile-menu__deco .mobile-menu__dots--3 {
  bottom: 18%;
  left: 48%;
  box-shadow:
    0 -22px 0 0 rgba(237, 180, 128, 0.8),
    0 22px 0 0 rgba(237, 180, 128, 0.8),
    -20px -11px 0 0 rgba(237, 180, 128, 0.8),
    -20px 11px 0 0 rgba(237, 180, 128, 0.8),
    -40px 0 0 0 rgba(237, 180, 128, 0.8);
}

.mobile-menu__deco .mobile-menu__blob {
  position: absolute;
  pointer-events: none;
}

.mobile-menu__deco .mobile-menu__blob--1 {
  width: 260px;
  height: 320px;
  background: rgba(138, 190, 178, 0.14);
  border-radius: 63% 37% 54% 46% / 42% 48% 52% 58%;
  bottom: -100px;
  right: -80px;
}

.mobile-menu__deco .mobile-menu__blob--2 {
  width: 180px;
  height: 220px;
  background: rgba(138, 190, 178, 0.14);
  border-radius: 42% 58% 38% 62% / 56% 40% 60% 44%;
  top: -60px;
  left: -60px;
}

.mobile-menu__deco .mobile-menu__blob--3 {
  width: 100px;
  height: 120px;
  background: rgba(237, 180, 128, 0.1);
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  top: 50%;
  right: 30%;
}

.mobile-menu__deco .mobile-menu__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(138, 190, 178, 0.2);
  pointer-events: none;
}

.mobile-menu__deco .mobile-menu__ring--1 {
  width: 100px;
  height: 100px;
  top: 12%;
  right: 25%;
}

.mobile-menu__deco .mobile-menu__ring--2 {
  width: 70px;
  height: 70px;
  border-color: rgba(237, 180, 128, 0.25);
  bottom: 25%;
  left: 10%;
}

/* ===================================
   Mobile nav structure
   =================================== */
.mobile-nav {
  position: relative;
  z-index: 1105;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 88px);
  padding-top: 8px;
}

.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-nav__list > li {
  border-bottom: 1px solid rgba(107, 122, 116, 0.1);
}

.mobile-nav__list > li:last-child {
  border-bottom: none;
}

.mobile-nav__list a {
  display: block;
  color: #6b7a74;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 0;
  transition: color 0.2s ease;
}

.mobile-nav__list a:hover {
  color: #8abeb2;
}

/* Services toggle button */
.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #6b7a74;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: inherit;
  padding: 16px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-nav__toggle:hover {
  color: #6b7a74;
}

.mobile-nav__toggle:active,
.mobile-nav__toggle:focus {
  color: #6b7a74;
  outline: none;
}

.mobile-nav__toggle:focus-visible {
  outline: 2px solid #8abeb2;
  outline-offset: 2px;
}

.mobile-nav__arrow {
  transition: transform 0.3s ease;
  color: #6b7a74;
}

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__arrow {
  transform: rotate(180deg);
}

/* Submenu */
.mobile-nav__submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease 0.05s,
    padding 0.35s ease;
}

.mobile-nav__submenu.open {
  max-height: 260px;
  opacity: 1;
  padding: 6px 0;
}

.mobile-nav__submenu li {
  border-top: 1px solid rgba(107, 122, 116, 0.06);
}

.mobile-nav__submenu a {
  display: block;
  color: #6b7a74;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0 12px 16px;
  transition: color 0.2s ease;
}

/* Contact button */
.mobile-nav__list > li:last-child {
  text-align: center;
  padding-top: 24px;
  margin-top: 8px;
}

.mobile-nav__list > li:last-child a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
  background: #edb480;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: 50px;
  padding: 13px 36px;
  transition: background-color 0.25s ease;
}

.mobile-nav__list > li:last-child a:hover {
  background: #8abeb2;
}

.mobile-nav__list > li:last-child a svg {
  flex-shrink: 0;
}

/* Brand heading */
.mobile-nav__brand {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #6b7a74;
  text-align: center;
  padding: 8px 0 20px;
  letter-spacing: 0.01em;
}

/* Quote */
.mobile-nav__quote {
  margin: 0;
  padding: 28px 12px;
  text-align: center;
  border-top: 1px solid rgba(107, 122, 116, 0.1);
}

.mobile-nav__quote p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: #6b7a74;
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   Social links
   =================================== */
.mobile-nav__social {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 32px 0 12px;
  border-top: 1px solid rgba(107, 122, 116, 0.1);
  margin-top: 8px;
}

.mobile-nav__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #6b7a74;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-nav__social-link svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  background: #f5f0e8;
  padding: clamp(80px, 15vw, 180px) 0 clamp(105px, 13vw, 175px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero decorative blobs + dots (replaces previous leaf SVGs) */
.hero-section__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

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

/* ── Hero dot clusters ── */
.hero-section__dots {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.8);
}

.hero-section__dots--1 {
  top: 12%;
  left: 6%;
  box-shadow:
    0 22px 0 0 rgba(237, 180, 128, 0.8),
    0 44px 0 0 rgba(237, 180, 128, 0.8),
    20px 11px 0 0 rgba(237, 180, 128, 0.8),
    20px 33px 0 0 rgba(237, 180, 128, 0.8),
    40px 22px 0 0 rgba(237, 180, 128, 0.8);
}

.hero-section__dots--2 {
  top: 20%;
  right: 8%;
  box-shadow:
    0 22px 0 0 rgba(237, 180, 128, 0.8),
    0 44px 0 0 rgba(237, 180, 128, 0.8),
    -20px 11px 0 0 rgba(237, 180, 128, 0.8),
    -20px 33px 0 0 rgba(237, 180, 128, 0.8),
    -40px 22px 0 0 rgba(237, 180, 128, 0.8);
}

.hero-section__dots--3 {
  bottom: 18%;
  left: 48%;
  box-shadow:
    0 -22px 0 0 rgba(237, 180, 128, 0.8),
    0 22px 0 0 rgba(237, 180, 128, 0.8),
    -20px -11px 0 0 rgba(237, 180, 128, 0.8),
    -20px 11px 0 0 rgba(237, 180, 128, 0.8),
    -40px 0 0 0 rgba(237, 180, 128, 0.8);
}

.hero-section__dots--4 {
  top: 55%;
  left: 12%;
  box-shadow:
    0 16px 0 0 rgba(237, 180, 128, 0.7),
    0 32px 0 0 rgba(237, 180, 128, 0.7),
    14px 8px 0 0 rgba(237, 180, 128, 0.7),
    14px 24px 0 0 rgba(237, 180, 128, 0.7),
    28px 16px 0 0 rgba(237, 180, 128, 0.7);
}

/* ── Hero organic blobs ── */
.hero-section__blob {
  position: absolute;
  pointer-events: none;
}

.hero-section__blob--1 {
  width: 360px;
  height: 440px;
  background: rgba(138, 190, 178, 0.2);
  border-radius: 63% 37% 54% 46% / 42% 48% 52% 58%;
  bottom: -140px;
  right: -100px;
}

.hero-section__blob--2 {
  width: 240px;
  height: 300px;
  background: rgba(138, 190, 178, 0.2);
  border-radius: 42% 58% 38% 62% / 56% 40% 60% 44%;
  top: -90px;
  left: -70px;
}

.hero-section__blob--3 {
  width: 160px;
  height: 140px;
  background: rgba(138, 190, 178, 0.18);
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  top: 50%;
  right: 30%;
}

.hero-section__blob--4 {
  width: 100px;
  height: 140px;
  background: rgba(237, 180, 128, 0.15);
  border-radius: 35% 65% 28% 72% / 55% 32% 68% 45%;
  bottom: 15%;
  left: 22%;
}

/* ── Hero ring shapes ── */
.hero-section__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(138, 190, 178, 0.25);
  pointer-events: none;
}

.hero-section__ring--1 {
  width: 140px;
  height: 140px;
  top: 8%;
  right: 25%;
}

.hero-section__ring--2 {
  width: 80px;
  height: 80px;
  border-color: rgba(237, 180, 128, 0.3);
  bottom: 30%;
  left: 8%;
}

.hero-section__ring--3 {
  width: 200px;
  height: 200px;
  border-color: rgba(138, 190, 178, 0.2);
  bottom: -40px;
  left: 40%;
}

.hero-content h1 {
  margin-bottom: 20px;
  line-height: 1.1;
  padding: 0 10px;
}

/* Enforce correct fonts for hero content to avoid homepage mismatch */
.hero-content {
  font-family: var(--body-font);
}
.hero-content h1 {
  font-family: var(--heading-font);
}
.hero-content p {
  font-family: var(--body-font);
}

/* Hero content text styling (restored to theme defaults) */
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 0 auto 30px;
  max-width: 800px;
  color: #6b7a74;
}

.hero-content h1 {
  color: #6b7a74;
}

.hero-highlight {
  font-style: italic;
  color: #6b7a74;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--secondary-color) 25%, transparent) 50%,
    transparent 50%
  );
  padding: 0 2px;
}

/* Keep buttons as theme defaults */
.hero-content .btn,
.hero-content small,
.hero-content .eyebrow {
  color: inherit;
  text-shadow: none;
}

/* Ensure hero CTA text remains readable */
.hero-section .btn,
.hero-section .hero-content .btn {
  color: #ffffff !important;
}

.hero-section .btn:hover,
.hero-section .hero-content .btn:hover {
  color: #ffffff !important;
}

/* ===================================
   Section Divider — keyword strip with wavy bottom
   =================================== */
.section-divider {
  position: relative;
  background: #ffffff;
  padding: 44px 20px 52px;
  text-align: center;
}

.section-divider::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 21px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20'%3E%3Cpath d='M0 10 Q75 2 150 10 Q225 18 300 10' fill='none' stroke='%23f5f0e8' stroke-width='2.5' opacity='0.65'/%3E%3C/svg%3E")
    repeat-x bottom #ffffff;
  background-size: 300px 20px;
  pointer-events: none;
}

.divider-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.divider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #2a2a2a;
}

.divider-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f3e8df;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.divider-icon svg {
  width: 26px;
  height: 26px;
  color: #2a2a2a;
  stroke: currentColor;
  stroke-width: 1.5;
}

.divider-text {
  font-family: var(--body-font);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: #2a2a2a;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ===================================
   Section Titles with Leaf Separator
   =================================== */
.section-title {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 80px);
}

.section-title h2 {
  color: #6b7a74;
  margin-bottom: 8px;
  padding: 0 10px;
}

.section-title .subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #4a5568;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: #8b7355;
  margin-bottom: 4px;
  line-height: 1.3;
}

.section-title .title-icon {
  display: block;
  margin: 12px auto;
  text-align: center;
}

.title-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px auto 24px;
  max-width: 300px;
}

.title-separator .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.title-separator .title-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Values section - different colors for visibility */
.values-section .section-title .subtitle {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.values-section .section-label {
  color: #ffffff;
}

.values-section .title-separator .line {
  background: rgba(138, 190, 178, 0.25);
}

.values-section .title-separator .title-icon {
  color: #ffffff;
}

.about-section .section-title .subtitle {
  color: #4a5568 !important;
}

.values-section .values-section .section-title h2 {
  color: #ffffff !important;
}

.values-section .section-title h2 .highlight {
  color: #ffffff !important;
  background: none !important;
}

/* Make only the About section title use the primary color (solid blue) */
.about-section .section-title h2 {
  color: #6b7a74 !important;
}

.about-section .section-title h2 .highlight {
  color: #6b7a74 !important;
  background: none !important;
}

/* ===================================
   Services Section
   =================================== */

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: transparent;
}
.faq-section .section-title {
  margin-bottom: 30px;
}
.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.faq-list details {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 18px 0;
  flex: 1 1 100%;
  align-self: flex-start;
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(139, 115, 85, 0.12) 10%,
    rgba(139, 115, 85, 0.12) 90%,
    transparent
  );
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 400;
  font-family: var(--heading-font);
  color: #2a2a2a;
  outline: none;
  display: block;
  position: relative;
  padding-right: 36px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #2a2a2a;
  border-bottom: 2px solid #2a2a2a;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(-135deg);
}

.faq-body {
  margin-top: 12px;
  color: #6b7a74;
  line-height: 1.6;
  font-family: var(--body-font);
  flex: 1 1 auto;
}
.faq-body a {
  color: var(--primary-color);
  text-decoration: none;
}
.faq-body a:hover {
  text-decoration: underline;
}

/* Force single-column FAQ layout to avoid cross-row stretching issues */
.faq-list {
  display: block !important;
}
.faq-row {
  display: block !important;
}
.faq-row details {
  width: 100% !important;
  flex: none !important;
}

/* ===================================
   Contact Section (restored original layout)
   =================================== */
.contact-section .contact-content {
  display: block;
  gap: 0;
}

/* Keep contact elements centered as per theme defaults (restore original layout) */
.contact-section .contact-content h2 {
  color: #6b7a74;
}
.contact-section .contact-content h2,
.contact-section .contact-content p,
.contact-section .contact-details,
.contact-section .contact-content form {
  grid-column: auto;
  justify-self: auto;
  text-align: center;
}

@media (max-width: 899px) {
  .contact-section .contact-content {
    display: block;
  }
}

.services-section {
  padding: clamp(50px, 10vw, 100px) 0;
  background: #f5f0e8;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(138, 190, 178, 0.15);
  top: -180px;
  right: -180px;
  pointer-events: none;
}

.services-section::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.12);
  bottom: -120px;
  left: -120px;
  pointer-events: none;
}

.services-section__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.services-section__dots span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.services-section__dots--1 {
  top: 20%;
  left: 5%;
  background: rgba(138, 190, 178, 0.5);
  box-shadow:
    0 -24px 0 0 rgba(138, 190, 178, 0.5),
    0 -48px 0 0 rgba(138, 190, 178, 0.5),
    18px -12px 0 0 rgba(138, 190, 178, 0.5),
    18px -36px 0 0 rgba(138, 190, 178, 0.5);
}

.services-section__dots--2 {
  bottom: 25%;
  right: 5%;
  background: rgba(237, 180, 128, 0.5);
  box-shadow:
    0 22px 0 0 rgba(237, 180, 128, 0.5),
    0 44px 0 0 rgba(237, 180, 128, 0.5),
    -16px 11px 0 0 rgba(237, 180, 128, 0.5),
    -16px 33px 0 0 rgba(237, 180, 128, 0.5);
}

.services-section__dots--3 {
  top: 50%;
  left: 3%;
  background: rgba(138, 190, 178, 0.4);
  box-shadow:
    0 20px 0 0 rgba(138, 190, 178, 0.4),
    0 40px 0 0 rgba(138, 190, 178, 0.4),
    16px 10px 0 0 rgba(138, 190, 178, 0.4),
    16px 30px 0 0 rgba(138, 190, 178, 0.4);
}

.services-section__dots--4 {
  top: 8%;
  right: 5%;
  background: rgba(237, 180, 128, 0.45);
  box-shadow:
    0 20px 0 0 rgba(237, 180, 128, 0.45),
    0 40px 0 0 rgba(237, 180, 128, 0.45),
    -16px 10px 0 0 rgba(237, 180, 128, 0.45),
    -16px 30px 0 0 rgba(237, 180, 128, 0.45);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.services-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(138, 190, 178, 0.2) 0%,
    rgba(138, 190, 178, 0.2) calc(50% - 16px),
    transparent calc(50% - 16px),
    transparent calc(50% + 16px),
    rgba(138, 190, 178, 0.2) calc(50% + 16px),
    rgba(138, 190, 178, 0.2) 100%
  );
  transform: translateY(-50%);
  pointer-events: none;
}

.services-grid::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238abeb2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.services-row:last-child {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  --card-accent: var(--secondary-color);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-row:first-child .service-card:nth-child(2) {
  --card-accent: var(--primary-color);
}

.services-row:last-child .service-card:nth-child(1) {
  --card-accent: var(--primary-color);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
  transform: translateY(-50%);
  z-index: 2;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(138, 190, 178, 0.25) 15%,
    rgba(138, 190, 178, 0.25) calc(50% - 8px),
    transparent calc(50% - 8px),
    transparent calc(50% + 8px),
    rgba(138, 190, 178, 0.25) calc(50% + 8px),
    rgba(138, 190, 178, 0.25) 85%,
    transparent 100%
  );
}

.service-card:last-child::after,
.service-card:last-child::before {
  display: none;
}

.services-row:first-child .service-card:nth-child(3)::after,
.services-row:first-child .service-card:nth-child(3)::before {
  display: none;
}

/* Make entire card clickable via the .learn-more pseudo-element overlay */
.service-card .learn-more {
  position: static;
}
.service-card .learn-more::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card h3 {
  color: #2a2a2a;
  margin-bottom: 12px;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 30px;
  height: 2px;
  background: var(--card-accent, var(--secondary-color));
  transform: translateX(-50%);
  border-radius: 1px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--card-accent, var(--secondary-color));
  opacity: 0.2;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: #8b7355;
  stroke-width: 1.5;
}

.service-card p {
  color: #556064;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 380px;
}

.learn-more {
  margin-top: auto;
  color: var(--card-accent, var(--primary-color));
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.learn-more:hover .arrow-icon {
  transform: translateX(4px) rotate(-15deg);
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

@keyframes arrow-swirl {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 0.6;
  }
  30% {
    transform: translateX(10px) rotate(-30deg);
    opacity: 1;
  }
  60% {
    transform: translateX(1px) rotate(-5deg);
  }
  100% {
    transform: translateX(4px) rotate(-15deg);
    opacity: 1;
  }
}

.learn-more:hover .arrow-icon {
  animation: arrow-swirl 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Tablet: 2 columns */
@media (max-width: 1100px) {
  .services-row,
  .services-row:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-row:first-child .service-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
  }

  .services-row:first-child .service-card:nth-child(3)::after {
    display: none;
  }

  .services-row:first-child .service-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .services-row,
  .services-row:last-child {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-row:first-child .service-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  .service-card::after,
  .service-card::before {
    display: none;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-card:not(:last-child) {
    border-bottom: 1px solid rgba(138, 190, 178, 0.15);
  }

  .services-grid::before,
  .services-grid::after {
    display: none;
  }

  .services-section__dots {
    display: none;
  }

  .services-section::before {
    width: 280px;
    height: 280px;
    top: -100px;
    right: -100px;
  }

  .services-section::after {
    width: 180px;
    height: 180px;
    bottom: -70px;
    left: -70px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .service-icon svg {
    width: 24px;
    height: 24px;
  }

  .service-card h3 {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }

  .service-card p {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 24px 16px;
  }

  .services-section {
    padding: clamp(30px, 6vw, 50px) 0;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .service-icon svg {
    width: 20px;
    height: 20px;
  }

  .service-card h3 {
    font-size: 1rem;
    padding-bottom: 10px;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* ===================================
   About Section
   =================================== */
.about-section {
  padding: clamp(30px, 5vw, 60px) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  left: -100px;
  top: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(138, 190, 178, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.about-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(237, 180, 128, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.about-section .container {
  max-width: 1100px;
}

.about-section .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.about-section .section-title h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary-color);
  margin-bottom: 12px;
}

.about-section .section-title .subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #4a5568;
  font-style: italic;
  max-width: 540px;
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 48px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight: 500;
  margin: 0 0 20px 0;
}

.about-body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-color);
  margin: 20px 0 0 0;
}

.about-separator {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.sep-line {
  flex: 1;
  height: 1px;
  background: rgba(138, 190, 178, 0.3);
}

.sep-icon {
  color: var(--secondary-color);
  opacity: 0.5;
  display: flex;
  align-items: center;
  line-height: 0;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 100%);
  height: min(420px, 80vw);
  aspect-ratio: 1;
}

.about-logo img.about-img {
  position: relative;
  z-index: 3;
  max-height: 67%;
  max-width: 57%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.about-logo .leaf {
  position: absolute;
  left: 8%;
  top: 17%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle at 60% 40%,
    var(--accent-color) 60%,
    var(--primary-color) 100%
  );
  border-radius: 60% 40% 60% 40% / 50% 60% 40% 60%;
  opacity: 0.55;
  transform: rotate(-18deg);
}

.about-logo .leaf2 {
  position: absolute;
  left: 48%;
  top: 23%;
  width: 20%;
  height: 20%;
  background: radial-gradient(
    circle at 40% 60%,
    var(--secondary-color) 60%,
    var(--accent-color) 100%
  );
  border-radius: 50% 60% 50% 60% / 60% 50% 60% 50%;
  opacity: 0.4;
  transform: rotate(22deg);
}

.about-logo .leaf3 {
  position: absolute;
  left: 30%;
  top: 50%;
  width: 24%;
  height: 24%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--light-color) 50%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  opacity: 0.3;
  transform: rotate(5deg);
}

.about-logo .burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 81%;
  height: 81%;
  background: radial-gradient(
    circle at center,
    rgba(255, 228, 173, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
}

.about-logo .ray {
  position: absolute;
  width: 11%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
  opacity: 0.2;
}

.about-logo .ray.ray1 {
  left: 52%;
  top: 6%;
  transform: rotate(15deg);
}
.about-logo .ray.ray2 {
  left: 45%;
  top: 2%;
  transform: rotate(-10deg);
}
.about-logo .ray.ray3 {
  left: 60%;
  top: 13%;
  transform: rotate(35deg);
}
.about-logo .ray.ray4 {
  left: 26%;
  top: 25%;
  transform: rotate(-25deg);
}
.about-logo .ray.ray5 {
  left: 67%;
  top: 43%;
  transform: rotate(60deg);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}

.about-cards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(138, 190, 178, 0.3) 15%,
    rgba(138, 190, 178, 0.3) 85%,
    transparent
  );
  transform: translateX(-50%);
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 40px;
}

.about-card:first-child {
  padding-right: 48px;
}

.about-card:last-child {
  padding-left: 48px;
}

.about-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #f3e8df;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.about-card-icon svg {
  stroke: #8b7355;
  stroke-width: 1.5;
}

.about-card-title {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.about-card-text {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 360px;
  min-height: 3.2em;
}

.about-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100px;
}

.about-card-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #6b7a74;
  line-height: 1.4;
}

.about-card-bullet-icon {
  flex-shrink: 0;
  stroke: var(--primary-color);
}

.about-card-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 0.88rem;
  font-style: italic;
  color: #8b7355;
  line-height: 1.5;
  padding: 12px 16px;
  background: rgba(243, 232, 223, 0.4);
  border-radius: 10px;
  width: 100%;
  max-width: 320px;
}

.about-card-quote-icon {
  flex-shrink: 0;
  stroke: #c49a7a;
}

/* Tablet */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-logo {
    width: min(300px, 80vw);
    height: min(300px, 80vw);
  }

  .about-text {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 540px) {
  .about-section {
    padding: clamp(40px, 8vw, 60px) 0;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-cards::before {
    display: none;
  }

  .about-logo {
    width: min(260px, 90vw);
    height: min(260px, 90vw);
  }

  .about-card {
    padding: 24px 16px;
  }

  .about-card:first-child {
    padding-right: 16px;
  }

  .about-card:last-child {
    padding-left: 16px;
  }
}

/* Keep team cards above the decorative background */
.team-section .container,
.team-section .team-card {
  position: relative;
  z-index: 1;
}

/* Restore original team section */
.team-section {
  padding: clamp(50px, 10vw, 100px) 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.dot-grid {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
}

.dot-grid--tr {
  top: 6%;
  right: 4%;
  width: 96px;
  height: 120px;
  background-image: radial-gradient(
    circle at 12px 12px,
    var(--secondary-color) 2px,
    transparent 2px
  );
  background-size: 24px 24px;
}

.dot-grid--bl {
  bottom: 6%;
  left: 4%;
  width: 96px;
  height: 120px;
  background-image: radial-gradient(
    circle at 12px 12px,
    var(--primary-color) 2px,
    transparent 2px
  );
  background-size: 24px 24px;
}

@media (max-width: 768px) {
  .dot-grid {
    opacity: 0.3;
    transform: scale(0.7);
  }
  .dot-grid--tr {
    right: 1%;
  }
  .dot-grid--bl {
    left: 1%;
  }
}

/* Full background decorative flower pattern - REMOVED per request */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-section .container,
.team-section .team-card {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .team-section::before {
    opacity: 0.1;
  }
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(193, 123, 58, 0.06);
  padding: 24px;
  display: flex;
}

.team-wrapper {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.team-image {
  width: 180px;
  height: 260px;
  flex: 0 0 180px;
  object-fit: cover;
  object-position: 85% center;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  display: block;
}

.team-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

@media (max-width: 899px) {
  .team-card {
    display: block;
    padding: 20px;
  }
  .team-wrapper {
    display: flex;
    flex-direction: column;
  }
  .team-image {
    width: 100% !important;
    height: 280px !important;
    flex: none !important;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .team-content {
    max-width: 100% !important;
    width: 100% !important;
  }
  .team-content h3 {
    font-size: 1.3rem;
  }
}

/* Prevent team cards exceeding their container and causing horizontal scroll */
.team-card {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure no unintentional horizontal overflow site-wide */
html,
body {
  overflow-x: clip;
}

/* Additional overflow protections for team cards */
.team-card {
  overflow: hidden;
}
.team-content {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.team-card .team-content p {
  max-width: 100%;
}

/* Services section — warm background */
.services-section {
  background: #f5f0e8;
}

/* ===================================
   Card Depth & Polish
   =================================== */

/* Team cards - no shadow, no glow */
.team-card {
  background: #f7f2ed !important;
  box-shadow: none !important;
  border: 1px solid rgba(138, 190, 178, 0.1) !important;
}

/* Team card text spacing */
.team-card .team-content p {
  margin: 0 !important;
  color: #4a5568;
  display: block;
  line-height: 1.7;
}
.team-card .team-content p + p {
  margin-top: 8px !important;
}

/* Remove bottom border from last FAQ item */
.faq-list details:last-of-type {
  background-image: none;
}

/* Ensure contact area elements are centered in the restored single-column layout */
.contact-section .contact-content,
.contact-section .contact-details {
  text-align: center;
}

.contact-section .contact-details {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-item {
  background: #ffffff;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid rgba(138, 190, 178, 0.2);
}

.contact-item a {
  color: var(--primary-color);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  text-decoration: none;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  flex-shrink: 0;
  pointer-events: none;
  display: block;
}

/* Ensure form container and controls are centered and fill their columns */
.contact-section {
  text-align: center;
}
.contact-section .contact-content {
  margin: 0 auto;
  max-width: 920px;
}
.contact-section .contact-content form {
  max-width: 720px;
}
.contact-section .contact-content form input[type="text"],
.contact-section .contact-content form input[type="email"],
.contact-section .contact-content form textarea {
  width: 100% !important;
  box-sizing: border-box;
}

/* ===================================
   General Blog Styles (for other templates)
   =================================== */
.page-header {
  text-align: center;
  margin: 40px 0;
}

.page-header h1 {
  color: var(--primary-color);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.content-wrapper {
  display: block;
  padding-bottom: 60px;
  max-width: 800px;
  margin: 0 auto;
}

/* Legacy article styles for other templates */
article.post,
article.post-type-post {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(107, 122, 116, 0.07);
  border: 1px solid rgba(107, 122, 116, 0.08);
  margin-bottom: 30px;
}

.entry-thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

@media (max-width: 420px) {
  .entry-thumbnail img {
    height: 160px;
  }
}

.entry-title {
  margin: 16px 0 10px;
}

.entry-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-title a:hover {
  color: var(--secondary-color);
}

.entry-meta {
  color: #7b8791;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.entry-content {
  color: var(--dark-color);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ===================================
   Single Post Page
   =================================== */
/* ===================================
   Single Post — Full Redesign
   =================================== */

/* =============================================
   Single Post Page  (.sp-*)
   Matches reference: two-column + sticky sidebar
   ============================================= */

.sp-page {
  background: #f5f0e8;
}

/* Override the generic article.post card rule on single pages */
.sp-page article.post,
.sp-page article.post-type-post {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  margin-bottom: 0 !important;
}

/* ── Outer wrap ── */
.sp-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

/* Back link */
.sp-back-row {
  margin-bottom: 28px;
}

.sp-back {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  color: #6b7a74;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid rgba(107, 122, 116, 0.2);
  border-radius: 50px;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}
.sp-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.sp-back:hover {
  color: #fff;
}
.sp-back:hover::before {
  transform: scaleX(1);
}
.sp-back svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  display: block;
  flex-shrink: 0;
}

/* ── Two-column grid ── */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 300px);
  gap: 56px;
  align-items: start;
}

/* ════════════════
   SIDEBAR
   ════════════════ */
/* ── Full-width header above the grid ── */
.sp-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.sp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* ════════════════════
   MAIN ARTICLE COLUMN
   ════════════════════ */
.sp-main {
  min-width: 0;
}

/* Meta row */
.sp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #9aa5a0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sp-meta__icon {
  display: none;
}

.sp-meta__sep {
  color: #d0d5d0;
  font-size: 0.7rem;
}

.sp-meta__cat {
  color: #6b7a74;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  background-image: linear-gradient(var(--primary-color), var(--primary-color));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition:
    background-size 0.3s ease,
    color 0.3s ease;
}
.sp-meta__cat:hover {
  color: var(--primary-color);
  background-size: 100% 1px;
}

/* Title — serif, matching reference */
.sp-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.22;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

/* Orange rule under title */
.sp-title-rule {
  width: 36px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
  margin-bottom: 22px;
}

/* Lead text */
.sp-lead {
  font-size: 1.05rem;
  color: #5a6860;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Featured image in main column */
.sp-featured-img {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.sp-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Article content typography ── */
.sp-content {
  color: #3d4840;
  font-size: 1rem;
  line-height: 1.85;
}

.sp-content p {
  margin-bottom: 1.5em;
}

.sp-content h2 {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-style: italic;
  font-weight: 600;
  margin: 2em 0 0.65em;
  line-height: 1.35;
}

.sp-content h3,
.sp-content h4 {
  font-size: 1.05rem;
  color: #2a2a2a;
  font-weight: 700;
  margin: 1.75em 0 0.5em;
}

.sp-content a {
  color: var(--secondary-color);
  text-decoration: none;
}
.sp-content a:hover {
  color: var(--primary-color);
}

.sp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
}

/* Lists with subtle leaf-style markers */
.sp-content ul {
  list-style: none;
  margin: 1em 0 1.5em 0;
  padding: 0;
}

.sp-content ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 0.55em;
}

.sp-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary-color);
  opacity: 0.55;
  transform: rotate(-45deg);
}

.sp-content ol {
  margin: 1em 0 1.5em 1.4em;
}
.sp-content li {
  margin-bottom: 0.55em;
}

/* Blockquote — matches reference leaf watermark style */
.sp-content blockquote {
  background: #f5f0e8;
  border-left: none;
  border-radius: 10px;
  padding: 28px 28px 28px 80px;
  margin: 2em 0;
  font-style: italic;
  color: #4a5260;
  position: relative;
  font-size: 1.03rem;
  line-height: 1.75;
}

.sp-content blockquote::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 52px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 60 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 75C30 75 5 55 5 30C5 14.536 16.536 3 32 3C47.464 3 59 14.536 59 30C59 55 30 75 30 75Z' fill='%238ABEB2' fill-opacity='0.22' stroke='%238ABEB2' stroke-opacity='0.4' stroke-width='1'/%3E%3Cpath d='M30 75C30 75 30 50 30 30C30 20 35 10 45 5' stroke='%238ABEB2' stroke-opacity='0.3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
}

/* Tags */
.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sp-tag {
  background: #f5f0e8;
  color: #6b7a74;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.sp-tag:hover {
  background: var(--primary-color);
  color: #2a2a2a;
}

/* Prev / Next navigation */
.sp-nav {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.sp-nav::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.sp-nav__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  width: calc(50% - 24px);
}

.sp-nav__prev {
  align-items: flex-start;
}

.sp-nav__next {
  align-items: flex-end;
  margin-left: auto;
}

.sp-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #b0b9b4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.sp-nav__item:hover .sp-nav__label {
  color: var(--primary-color);
}

.sp-nav__label svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sp-nav__prev:hover .sp-nav__label svg {
  transform: translateX(-4px);
}

.sp-nav__next:hover .sp-nav__label svg {
  transform: translateX(4px);
}

.sp-nav__title {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.4;
}

.sp-nav__next .sp-nav__title {
  text-align: right;
}

/* Sidebar cards — white on cream background */
/* Single unified panel */
.sp-sidebar__panel {
  background: #faf6f0;
  border-radius: 14px;
  border: 1px solid rgba(196, 189, 181, 0.35);
  box-shadow: 0 2px 10px rgba(107, 122, 116, 0.05);
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.sp-sidebar__section {
  padding: 22px 22px;
}

.sp-sidebar__divider {
  height: 1px;
  background: rgba(196, 189, 181, 0.4);
  margin: 0;
}

.sp-sidebar__section--quote {
  text-align: center;
  padding: 24px 22px;
}

/* Shared label style */
.sp-sidebar__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin: 0 0 16px;
}

/* Author block */
.sp-sidebar__author-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sp-sidebar__logo-oval {
  width: 140px;
  height: 170px;
  border-radius: 80px;
  background: #ede4d8;
  border: 1px solid rgba(196, 175, 148, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
}

.sp-sidebar__logo {
  width: 110px;
  height: auto;
  display: block;
  object-fit: contain;
}

.sp-sidebar__author-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.25;
  margin: 0 0 10px;
}

.sp-sidebar__author-bio {
  font-size: 0.85rem;
  color: #6b7a74;
  line-height: 1.65;
  margin: 0;
}

/* Quote */
.sp-sidebar__quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1rem;
  color: #4a5550;
  line-height: 1.6;
  margin: 0 0 14px;
}

.sp-sidebar__link {
  font-size: 0.855rem;
  color: #4a5550;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-block;
}
.sp-sidebar__link:hover {
  color: var(--primary-color);
}

/* Filed under — pill tags */
.sp-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-sidebar__tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(138, 190, 178, 0.55);
  background: transparent;
  font-size: 0.8rem;
  color: #4a5550;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.sp-sidebar__tag:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Related posts */
.sp-sidebar__related-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-sidebar__related-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sp-sidebar__related-thumb {
  flex: 0 0 68px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.sp-sidebar__related-thumb img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  display: block;
}

.sp-sidebar__related-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

.sp-sidebar__related-title {
  font-size: 0.875rem;
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s;
  display: block;
  overflow-wrap: break-word;
  word-break: break-word;
}
.sp-sidebar__related-title:hover {
  color: var(--primary-color);
}

.sp-sidebar__related-excerpt {
  font-size: 0.78rem;
  color: #6b7a74;
  line-height: 1.5;
  margin: 0;
}

.sp-sidebar__related-date {
  font-size: 0.75rem;
  color: #9aa5a0;
}

.sp-sidebar__link--all {
  display: block;
  margin-top: 4px;
  font-size: 0.855rem;
}

/* ── Blog post notification / newsletter signup (matches bl-newsletter) ── */
.sp-notify {
  position: relative;
  margin: 48px 0 36px;
  background: #edf3f0;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: 0;
}

.sp-notify__deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}
.sp-notify__deco--left {
  left: 0;
  bottom: 0;
  top: auto;
}
.sp-notify__deco--right {
  right: 0;
  top: 0;
}

.sp-notify__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sp-notify__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-notify__text {
  flex: 1;
  min-width: 200px;
}

.sp-notify__heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2421;
  margin: 0 0 4px;
}

.sp-notify__desc {
  font-size: 0.875rem;
  color: #6b7a74;
  line-height: 1.6;
  margin: 0;
}

.sp-notify__form {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 280px;
}

.sp-notify__row {
  display: flex;
  gap: 8px;
}

.sp-notify__input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(138, 190, 178, 0.4);
  background: #ffffff;
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: #2a2a2a;
  outline: none;
  transition: border-color 0.2s;
}

.sp-notify__input:focus {
  border-color: var(--primary-color);
}

.sp-notify__input::placeholder {
  color: #a8b5b0;
}

.sp-notify__btn {
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  background: #4a6b5e;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: var(--body-font);
  white-space: nowrap;
}

.sp-notify__btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.sp-notify__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sp-notify__msg {
  font-size: 0.8rem;
  margin: 0;
  min-height: 0;
  line-height: 1.4;
}

.sp-notify__msg.footer-newsletter__msg--success {
  color: #3a9d7a;
}

.sp-notify__msg.footer-newsletter__msg--error {
  color: #c75a5a;
}

@media (max-width: 640px) {
  .sp-notify {
    padding: 32px 20px;
  }

  .sp-notify__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sp-notify__form {
    min-width: 0;
  }

  .sp-notify__row {
    flex-direction: column;
  }

  .sp-notify__btn {
    padding: 11px 20px;
    width: 100%;
    text-align: center;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sp-layout {
    grid-template-columns: 1fr minmax(0, 260px);
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .sp-wrap {
    padding: 24px 16px 60px;
  }

  .sp-layout {
    grid-template-columns: 1fr;
  }

  .sp-sidebar {
    position: static;
  }

  .sp-title {
    font-size: 1.65rem;
  }

  .sp-nav {
    flex-direction: column;
    gap: 16px;
  }

  .sp-nav::after {
    display: none;
  }

  .sp-nav__item {
    width: 100%;
  }

  .sp-nav__next {
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* ===================================
   Generic Page Styles
   =================================== */
.page-content {
  padding: 0;
}

.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

@media (max-width: 767px) {
  .page-container {
    padding: 30px 20px 60px;
  }
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1,
.page-title {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

.page-body {
  color: var(--dark-color);
  line-height: 1.8;
  font-size: 1.05rem;
}

.page-body p {
  margin-bottom: 1.5em;
}

.page-body h2,
.page-body h3,
.page-body h4 {
  color: var(--primary-color);
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.page-body a {
  color: var(--secondary-color);
}

.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===================================
   Privacy Policy Page Styles
   =================================== */

/* ===================================
   404 Page
   =================================== */

.error-404 {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #f5f0e8;
}

.error-404 h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--dark-color);
  margin: 0 0 16px;
}

.error-404 p {
  color: #6b7a74;
  max-width: 480px;
  margin: 0 0 40px;
  line-height: 1.7;
}

/* Also ensure the site-main wrapping the 404 uses cream background */
body.error404,
body.error404 .site-main {
  background-color: #f5f0e8;
}

.error-404 h1 {
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 1;
  color: var(--dark-color);
  margin: 0 0 16px;
}

/* Match site-wide cream background */
body.page-template-page-privacy-policy,
body.page-template-page-privacy-policy .site-main,
.privacy-page {
  background-color: #f5f0e8;
}

/* Force near-black readable text throughout the privacy policy */
.privacy-page .page-title {
  color: #1a1a1a;
}

.privacy-page .page-header .last-updated {
  color: #555;
  font-size: 0.9rem;
  margin-top: 10px;
}

.policy-content,
.policy-content p,
.policy-content li,
.policy-content strong {
  color: #1a1a1a;
}

.policy-content h2 {
  color: #1a1a1a;
  padding-bottom: 0.5em;
}

.policy-content h2::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.15) 20%,
    rgba(0, 0, 0, 0.15) 80%,
    transparent
  );
  margin-top: 0.5em;
}

.policy-content h3 {
  color: #1a1a1a;
  font-size: 1.15rem;
}

.policy-content section {
  margin-bottom: 2.5em;
}

.policy-content ul {
  margin: 1em 0 1.5em 1.5em;
}

.policy-content ul li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.policy-content .contact-info {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.policy-content .contact-info li {
  margin-bottom: 0.8em;
}

.policy-content a {
  color: #1a1a1a;
}

/* Pagination Styles */
.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* Reset the list and use flex layout for paginate_links('type' => 'list') output */
.pagination-wrapper ul.page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-wrapper ul.page-numbers li {
  list-style: none;
}

/* Style the anchor/span elements that receive the page-numbers class */
.pagination-wrapper a.page-numbers,
.pagination-wrapper span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.18s ease;
}

.pagination-wrapper a.page-numbers:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.pagination-wrapper a.page-numbers.current,
.pagination-wrapper span.page-numbers.current {
  background: var(--primary-color);
  color: var(--white);
}

/* Prev/Next links might come with their own classes */
.pagination-wrapper .prev,
.pagination-wrapper .next,
.pagination-wrapper a.prev,
.pagination-wrapper a.next {
  padding: 0 20px;
}

/* The ellipsis/dots elements should not get the pill styling */
.pagination-wrapper .page-numbers.dots,
.pagination-wrapper a.page-numbers.dots,
.pagination-wrapper span.page-numbers.dots {
  min-width: auto;
  width: auto;
  height: auto;
  padding: 0 6px;
  border-radius: 4px;
  background: transparent;
  color: var(--muted-color, #777);
  box-shadow: none;
  border: none;
  font-weight: 400;
  cursor: default;
  transform: none;
}

.pagination-wrapper .page-numbers.dots:hover {
  background: transparent;
  color: var(--muted-color, #777);
}

/* ===================================
   Native WP Pagination (archive, author, search, category)
   the_posts_pagination() outputs .navigation.pagination > .nav-links
   =================================== */
.navigation.pagination {
  margin-top: 50px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.18s ease;
}

.navigation.pagination a.page-numbers:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navigation.pagination .page-numbers.current {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.navigation.pagination .page-numbers.dots {
  min-width: auto;
  height: auto;
  padding: 0 6px;
  background: transparent;
  color: var(--text-color);
  box-shadow: none;
  border: none;
  font-weight: 400;
  cursor: default;
  transform: none;
}

.navigation.pagination .page-numbers.dots:hover {
  background: transparent;
  transform: none;
}

/* Hide WordPress screen-reader-text spans inside native WP pagination */
.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   Author / Archive / Search Page Styles
   =================================== */
.archive-hero {
  background: var(--white);
  padding: clamp(40px, 8vw, 80px) 0 clamp(30px, 6vw, 60px);
  margin-bottom: 0;
}

.archive-hero .container {
  max-width: 800px;
}

.archive-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.archive-hero h1 {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

.archive-hero .archive-description {
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
}

.archive-body {
  padding: clamp(40px, 6vw, 70px) 0;
}

.archive-body .container {
  max-width: 800px;
}

.archive-post-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.archive-post-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(107, 122, 116, 0.07);
  border: 1px solid rgba(107, 122, 116, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.archive-post-card:hover {
  box-shadow: 0 6px 24px rgba(107, 122, 116, 0.13);
  transform: translateY(-2px);
}

.archive-post-card.no-thumb {
  grid-template-columns: 1fr;
}

.archive-post-thumb {
  overflow: hidden;
}

.archive-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.archive-post-card:hover .archive-post-thumb img {
  transform: scale(1.04);
}

.archive-post-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.archive-post-meta {
  font-size: 0.82rem;
  color: var(--text-color);
  opacity: 0.7;
  display: flex;
  gap: 10px;
  align-items: center;
}

.archive-post-meta .sep {
  opacity: 0.5;
}

.archive-post-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.archive-post-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-post-title a:hover {
  color: var(--secondary-color);
}

.archive-post-excerpt {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-post-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
  margin-top: 4px;
  width: fit-content;
}

.archive-post-read-more:hover {
  color: var(--primary-color);
  gap: 8px;
}

.archive-no-posts {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.archive-no-posts h2 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.archive-no-posts p {
  color: var(--text-color);
}

/* Search-specific: highlight the search query */
.search-query-highlight {
  color: var(--secondary-color);
}

/* Search form in no-results */
.archive-search-form {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.archive-search-form input[type="search"] {
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 280px;
  max-width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
}

.archive-search-form input[type="search"]:focus {
  border-color: var(--primary-color);
}

.archive-search-form button {
  padding: 10px 24px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.archive-search-form button:hover {
  background: var(--secondary-color);
}

@media (max-width: 600px) {
  .archive-post-card {
    grid-template-columns: 1fr;
  }

  .archive-post-thumb {
    height: 180px;
  }

  .archive-post-body {
    padding: 18px 20px;
  }
}

/* ===================================
   Comments Area
   =================================== */
.comments-area {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(138, 190, 178, 0.2);
}

.comments-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.comment-list .comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.comment-list .comment-author img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.comment-list .comment-meta {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 6px;
}

.comment-list .comment-author .fn {
  font-weight: 700;
  color: var(--primary-color);
  font-style: normal;
}

.comment-list .comment-content p {
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
}

.comment-list .reply a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.comment-list .reply a:hover {
  color: var(--primary-color);
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-color);
  background: var(--white);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.no-comments {
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.7;
}

.team-content h3 {
  color: #3b2b23;
  margin: 0 0 4px 0;
  font-family: var(--heading-font);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.2;
}

.team-content .role {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 0 12px 0;
  display: block;
}

.team-content p {
  color: #556064;
  line-height: 1.55;
  margin: 0 !important;
  font-size: 0.9rem;
}

/* Ensure role/title appears under the name in all markup variations */
.team-card .team-content h3 .role,
.team-card .team-content h3 + .role,
.team-card .team-content > .role,
.team-card .team-content .role {
  display: block !important;
  margin-top: 4px !important;
  margin-bottom: 12px !important;
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  position: relative;
  padding-bottom: 12px;
}

.team-card .team-content h3 .role::after,
.team-card .team-content h3 + .role::after,
.team-card .team-content > .role::after,
.team-card .team-content .role::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  border-radius: 1px;
}

.team-content .contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.team-content .contact a {
  color: var(--primary-color);
  font-weight: 600;
  margin-right: 15px;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Strong, late-scoped fixes to prevent team text overflowing beside images */
.team-section .team-card {
  display: flex !important;
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

.team-section .team-wrapper {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: 0 !important;
}

.team-section .team-image {
  flex: 0 0 220px !important;
  width: 220px !important;
  height: auto !important;
  min-height: auto !important;
  align-self: stretch !important;
  object-fit: cover !important;
  object-position: 85% center !important;
  display: block !important;
  border-radius: 0;
}

.team-section .team-image--erika {
  object-position: 20% 10% !important;
}

.team-section .team-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 24px;
}

.team-section .team-content p {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

/* ===================================
   Values Section
   =================================== */
.values-section {
  position: relative;
  padding: clamp(50px, 10vw, 100px) 0;
  background-image:
    radial-gradient(
      ellipse at center,
      rgba(15, 20, 18, 0) 40%,
      rgba(10, 12, 14, 0.12) 100%
    ),
    linear-gradient(
      135deg,
      rgba(237, 180, 128, 0.06) 0%,
      rgba(0, 0, 0, 0.04) 60%
    ),
    linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  background-blend-mode: normal, overlay, normal;
  color: var(--white);
  overflow: visible;
}

.values-section h2 {
  color: var(--white);
}
.values-section .subtitle {
  color: #ffffff;
}

.values-section > .container {
  position: relative;
  z-index: 1;
}

.corner-wave {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.corner-wave--tl {
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M0,170 C30,120 60,190 90,110 C120,30 160,100 200,0' fill='none' stroke='white' stroke-width='1.8' opacity='0.35' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.corner-wave--br {
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M200,30 C170,80 140,10 110,90 C80,170 40,100 0,200' fill='none' stroke='white' stroke-width='1.8' opacity='0.35' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.values-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  z-index: 5;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 25px;
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card__icon i,
.value-card__icon svg {
  width: 40px;
  height: 40px;
  color: var(--secondary-color, #edb480);
  stroke-width: 1.25;
}

.value-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  position: relative;
  display: inline-block;
  padding: 0 6px;
  padding-bottom: 10px;
  font-weight: 700;
}

.value-card h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  height: 1.5px;
  background: rgba(237, 180, 128, 0.7);
  border-radius: 2px;
}

.value-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
  padding: clamp(60px, 12vw, 120px) 0;
  text-align: center;
  background: linear-gradient(135deg, #fef9f3 0%, #f8f5f0 50%, #f0ebe6 100%);
}

.contact-content h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 auto 30px;
  max-width: 720px;
  color: #4a5568;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

.contact-details {
  display: flex;
  justify-content: flex-start; /* align left as a column element */
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%;
}

/* Contact form styles */
.contact-form {
  margin: 18px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  width: 100%;
  font-family: var(--body-font);
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: #4a5568;
  font-size: 0.8rem;
}

.contact-form .field {
  margin-bottom: 6px;
}

.contact-form .row .field {
  flex: 1;
  min-width: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
  resize: none;
  background: var(--white);
  color: var(--dark-color);
  font-family: var(--body-font);
}

.contact-form textarea {
  min-height: 130px;
}

.contact-form > div:not(.row) {
  margin-bottom: 12px;
}

.contact-form p {
  margin-bottom: 20px;
}

.contact-form .btn {
  width: auto;
  padding: 10px 22px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}

.contact-form .row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.submit-row {
  text-align: center;
  margin-top: 0;
}

.response-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #6b7a74;
  margin-top: 8px;
  margin-bottom: 0;
}

.response-note svg {
  color: var(--primary-color);
}

.form-message {
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}
.form-message.success {
  background: rgba(138, 190, 178, 0.12);
  color: #1b5e4a;
  display: none;
}
.form-message.error {
  background: rgba(193, 83, 83, 0.08);
  color: #8a2c2c;
  display: none;
}

.hp-field {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}

@media (max-width: 900px) {
  .contact-form .row {
    flex-direction: column;
  }
  .contact-form textarea {
    min-height: 100px;
  }
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background-color: #f5f0e8;
  color: #000;
  padding: 0;
  position: relative;
  z-index: 20;
  width: 100%;
  border-top: 1px solid rgba(107, 122, 116, 0.18);
}

/* ===================================
   Knowledge Hub Page
   =================================== */

/* â”€â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kh-page {
  overflow-x: hidden;
}

.kh-hero {
  position: relative;
  background: #f5f0e8;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 100px);
  overflow: hidden;
}

.kh-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* ── KH hero dot clusters ── */
.kh-hero__dots {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.8);
}

.kh-hero__dots--1 {
  top: 15%;
  right: 18%;
  box-shadow:
    0 20px 0 0 rgba(237, 180, 128, 0.8),
    0 40px 0 0 rgba(237, 180, 128, 0.8),
    -18px 10px 0 0 rgba(237, 180, 128, 0.8),
    -18px 30px 0 0 rgba(237, 180, 128, 0.8),
    -36px 20px 0 0 rgba(237, 180, 128, 0.8);
}

.kh-hero__dots--2 {
  top: 40%;
  left: 10%;
  box-shadow:
    0 20px 0 0 rgba(237, 180, 128, 0.8),
    0 40px 0 0 rgba(237, 180, 128, 0.8),
    18px 10px 0 0 rgba(237, 180, 128, 0.8),
    18px 30px 0 0 rgba(237, 180, 128, 0.8),
    36px 20px 0 0 rgba(237, 180, 128, 0.8);
}

.kh-hero__dots--3 {
  bottom: 20%;
  left: 50%;
  box-shadow:
    0 -20px 0 0 rgba(237, 180, 128, 0.8),
    0 20px 0 0 rgba(237, 180, 128, 0.8),
    -18px -10px 0 0 rgba(237, 180, 128, 0.8),
    -18px 10px 0 0 rgba(237, 180, 128, 0.8),
    -36px 0 0 0 rgba(237, 180, 128, 0.8);
}

/* ── KH hero blobs ── */
.kh-hero__blob {
  position: absolute;
  pointer-events: none;
}

.kh-hero__blob--1 {
  width: 300px;
  height: 360px;
  background: rgba(138, 190, 178, 0.14);
  border-radius: 63% 37% 54% 46% / 42% 48% 52% 58%;
  bottom: -120px;
  left: -80px;
}

.kh-hero__blob--2 {
  width: 200px;
  height: 250px;
  background: rgba(138, 190, 178, 0.14);
  border-radius: 42% 58% 38% 62% / 56% 40% 60% 44%;
  top: -70px;
  right: -80px;
}

.kh-hero__blob--3 {
  width: 100px;
  height: 80px;
  background: rgba(237, 180, 128, 0.1);
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  top: 55%;
  right: 35%;
}

/* ── KH hero rings ── */
.kh-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(138, 190, 178, 0.2);
  pointer-events: none;
}

.kh-hero__ring--1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 15%;
}

.kh-hero__ring--2 {
  width: 70px;
  height: 70px;
  border-color: rgba(237, 180, 128, 0.25);
  bottom: 35%;
  right: 12%;
}

.kh-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.kh-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--secondary-color);
  background: rgba(237, 180, 128, 0.14);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.kh-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.07;
  color: #6b7a74;
  margin-bottom: 18px;
}

.kh-hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #667070;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 32px;
}

/* Search */
.kh-hero-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(138, 190, 178, 0.25);
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.kh-hero-search:focus-within {
  box-shadow: 0 8px 32px rgba(138, 190, 178, 0.22);
  border-color: var(--primary-color);
}

.kh-si {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #b0c4c0;
  pointer-events: none;
}

.kh-hero-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 17px 50px 17px 50px;
  font-size: 0.97rem;
  font-family: var(--body-font);
  color: var(--dark-color);
  background: transparent;
  border-radius: 50px;
  -webkit-appearance: none;
  appearance: none;
}
.kh-hero-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.kh-search-x {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #b0c4c0;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition:
    color 0.2s,
    background 0.2s;
}
.kh-search-x:hover {
  color: var(--primary-color);
  background: rgba(138, 190, 178, 0.12);
}

.kh-hero-meta {
  font-size: 0.82rem;
  color: #a0b4b0;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.kh-hero-dot {
  opacity: 0.5;
}

/* â”€â”€â”€ Topic nav (sticky tabs) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kh-topic-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 74px;
  z-index: 90;
}

.kh-topic-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}
.kh-topic-tabs::-webkit-scrollbar {
  display: none;
}

.kh-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 16px 22px;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--body-font);
  color: #8a9c98;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.kh-tab:hover {
  color: var(--primary-color);
}
.kh-tab--active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

@media (max-width: 600px) {
  .kh-tab {
    padding: 13px 14px;
    font-size: 0.82rem;
  }
}

/* â”€â”€â”€ Reading list section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kh-reading-section {
  padding: clamp(24px, 4vw, 48px) 0 clamp(60px, 10vw, 100px);
  background: #ffffff;
}

.kh-list-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(138, 190, 178, 0.18);
}

.kh-list-heading {
  font-size: 1.3rem;
  color: #6b7a74;
  margin: 0;
  font-family: var(--heading-font);
}

/* Reading list */
.kh-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* â”€â”€â”€ Resource row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kh-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0 20px;
  align-items: start;
  padding: 22px 20px 22px 16px;
  border-bottom: 1px solid rgba(186, 175, 153, 0.14);
  transition: background 0.18s;
  position: relative;
  color: #4a5568;
}

.kh-row::before {
  content: "ROOTED";
  position: absolute;
  left: -9px;
  top: 0;
  bottom: 0;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-lr;
  text-orientation: upright;
  font-size: 0.85rem;
  color: #8a9a94;
  opacity: 0.55;
  font-weight: 800;
  pointer-events: none;
  user-select: none;
  transition:
    opacity 0.3s,
    color 0.3s,
    transform 0.3s;
}

.kh-row:hover::before {
  opacity: 1;
  color: var(--primary-color);
  transform: scale(1.1);
}

.kh-row:hover {
  background: rgba(138, 190, 178, 0.06);
}

@media (max-width: 600px) {
  .kh-row {
    grid-template-columns: 40px 1fr;
    gap: 0 14px;
    padding: 18px 16px 18px 14px;
  }
  .kh-row::before {
    display: none;
  }
  .kh-row-action {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    margin-top: 14px;
    padding-top: 0;
    min-width: 0;
  }
  .kh-row-body {
    padding-right: 0;
    min-width: 0;
  }
  .kh-row-excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

/* Format icon column */
.kh-row-format {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kh-format-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(138, 190, 178, 0.1);
  color: var(--primary-color);
  transition:
    background 0.2s,
    color 0.2s;
}
.kh-row:hover .kh-format-icon {
  background: rgba(138, 190, 178, 0.2);
}

/* Type colour overrides for format icon */
.kh-fi--article {
  background: rgba(237, 180, 128, 0.1);
  color: #9a5010;
}
.kh-fi--guide {
  background: rgba(138, 190, 178, 0.12);
  color: #1a6555;
}
.kh-fi--video {
  background: rgba(200, 100, 200, 0.09);
  color: #7a1a80;
}
.kh-fi--webinar {
  background: rgba(80, 200, 170, 0.1);
  color: #0a6050;
}
.kh-fi--tool {
  background: rgba(240, 200, 60, 0.12);
  color: #7a5a00;
}
.kh-fi--report {
  background: rgba(150, 80, 220, 0.09);
  color: #4a1a8a;
}
.kh-fi--template {
  background: rgba(100, 140, 230, 0.1);
  color: #2040a0;
}

/* Body column */
.kh-row-body {
  padding-right: 12px;
  color: #4a5568;
}

.kh-row-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.kh-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 9px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.kh-tag--type {
  background: rgba(0, 0, 0, 0.05);
  color: #778c88;
}
.kh-tag--featured {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(237, 180, 128, 0.2);
  color: #b07030;
}
.kh-tag--cat {
  background: rgba(138, 190, 178, 0.12);
  color: #1a6f5f;
}
.kh-tag--free {
  background: rgba(138, 190, 178, 0.14);
  color: #1a6f5f;
}
.kh-tag--paid {
  background: rgba(237, 180, 128, 0.15);
  color: #9a5216;
}

/* Type tag colour overrides */
.kh-tag--article {
  background: rgba(237, 180, 128, 0.1);
  color: #8a4a10;
}
.kh-tag--guide {
  background: rgba(138, 190, 178, 0.12);
  color: #1a6555;
}
.kh-tag--video {
  background: rgba(200, 100, 200, 0.09);
  color: #7a1a80;
}
.kh-tag--webinar {
  background: rgba(80, 200, 170, 0.1);
  color: #0a6050;
}
.kh-tag--tool {
  background: rgba(240, 200, 60, 0.12);
  color: #7a5a00;
}
.kh-tag--report {
  background: rgba(150, 80, 220, 0.09);
  color: #4a1a8a;
}
.kh-tag--template {
  background: rgba(100, 140, 230, 0.1);
  color: #2040a0;
}

.kh-row-title {
  font-family: var(--heading-font);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.35;
  margin: 0 0 8px;
  color: #2a3830;
}
.kh-row-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.kh-row-title a:hover {
  color: var(--secondary-color);
}

.kh-row-excerpt {
  font-size: 0.9rem;
  color: #667070;
  line-height: 1.68;
  margin: 0;
  max-width: 56ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Action column */
.kh-row-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 100px;
  align-self: stretch;
}

.kh-row-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #b0c4c0;
  white-space: nowrap;
}

.kh-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: var(--body-font);
  color: var(--primary-color);
  background: rgba(138, 190, 178, 0.1);
  border: 1.5px solid rgba(138, 190, 178, 0.3);
  padding: 7px 16px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    gap 0.2s;
}
.kh-row-cta:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #2a2a2a;
  gap: 8px;
}
.kh-row-cta svg {
  position: relative;
  top: 0.5px;
}

/* â”€â”€â”€ No results â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kh-no-results {
  text-align: center;
  padding: 64px 24px;
  color: #9badaa;
}
.kh-no-results svg {
  margin-bottom: 18px;
  color: rgba(138, 190, 178, 0.45);
}
.kh-no-results h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.kh-no-results p {
  margin-bottom: 22px;
}

.kh-empty {
  text-align: center;
  font-style: italic;
  color: #a0b4b0;
  padding: 48px 0;
}

/* ─── Weekly Quiz ──────────────────────── */
.kh-quiz-section {
  padding: clamp(44px, 7vw, 72px) 0;
  background: #f5f0e8;
  border-top: 1px solid rgba(138, 190, 178, 0.2);
  border-bottom: 1px solid rgba(138, 190, 178, 0.2);
}

.kh-quiz-intro {
  margin-bottom: 36px;
}

.kh-quiz-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8abeb2;
  margin-bottom: 12px;
}

.kh-quiz-intro-title {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #2a2a2a;
  margin: 0 0 12px;
  line-height: 1.3;
}

.kh-quiz-intro-desc {
  font-size: 1rem;
  color: #6b7a74;
  line-height: 1.7;
  max-width: 600px;
  margin: 0;
}

.kh-quiz-inner {
  background: #fff;
  border: 1px solid rgba(138, 190, 178, 0.25);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px);
  box-shadow: 0 2px 20px rgba(107, 122, 116, 0.07);
}

.kh-quiz-question {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-family: var(--heading-font);
  color: #2a2a2a;
  line-height: 1.5;
  margin: 0 0 24px;
}

.kh-quiz-options {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}

.kh-quiz-options li {
  display: flex;
}

.kh-quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  width: 100%;
  border: 1.5px solid rgba(107, 122, 116, 0.22);
  border-radius: 10px;
  cursor: pointer;
  background: #faf9f6;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  transition:
    border-color 0.18s,
    background 0.18s,
    transform 0.12s;
}

.kh-quiz-option:hover {
  border-color: #8abeb2;
  background: #f0f8f5;
}

.kh-quiz-option.selected {
  border-color: #8abeb2;
  background: #edf3f0;
}

.kh-quiz-option-letter {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(138, 190, 178, 0.18);
  color: #4a6b5e;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kh-quiz-option-text {
  font-size: 0.92rem;
  color: #3a3a3a;
  line-height: 1.5;
}

.kh-quiz-option--correct {
  border-color: #8abeb2 !important;
  background: #edf3f0 !important;
}

.kh-quiz-option--correct .kh-quiz-option-letter {
  background: #8abeb2;
  color: #fff;
}

.kh-quiz-option--wrong {
  border-color: #e07a5f !important;
  background: #fdf1ee !important;
}

.kh-quiz-option--wrong .kh-quiz-option-letter {
  background: #e07a5f;
  color: #fff;
}

.kh-quiz-submit {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  background: #4a6b5e;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kh-quiz-submit:hover {
  background: #8abeb2;
}

.kh-quiz-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.kh-quiz-result[hidden] {
  display: none;
}

.kh-quiz-result {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 10px;
  background: #edf3f0;
  border: 1px solid rgba(138, 190, 178, 0.35);
}

.kh-quiz-result--wrong {
  background: #fdf1ee;
  border-color: rgba(224, 122, 95, 0.3);
}

.kh-quiz-result-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #8abeb2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kh-quiz-result--wrong .kh-quiz-result-icon {
  background: #e07a5f;
}

.kh-quiz-verdict {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2a2a2a;
  margin: 0 0 6px;
}

.kh-quiz-explanation {
  font-size: 0.875rem;
  color: #6b7a74;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 767px) {
  .kh-quiz-intro {
    text-align: center;
  }

  .kh-quiz-intro-desc {
    max-width: none;
  }
}

/* ─── Quote strip ──────────────────────── */
.kh-quote-strip {
  padding: clamp(36px, 5vw, 56px) 0 clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(138, 190, 178, 0.2);
}

.kh-quote-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  border: none;
}

.kh-quote-block::before {
  content: "\201C";
  display: block;
  font-family: var(--heading-font);
  font-size: 4rem;
  line-height: 0.7;
  color: #8abeb2;
  margin-bottom: 12px;
}

.kh-quote-block p {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-style: italic;
  font-family: var(--heading-font);
  color: #4a6b5e;
  line-height: 1.7;
  margin: 0 0 14px;
}

.kh-quote-block cite {
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8abeb2;
}

/* ─── Invite strip ──────────────────────────────── */
.kh-invite {
  position: relative;
  background: #edf3f0;
  overflow: hidden;
  padding: clamp(48px, 8vw, 80px) 0;
}

/* ── KH CTA decorative dots ── */
.kh-invite__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.kh-invite__dots {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.55);
}

.kh-invite__dots--1 {
  top: 28px;
  left: 24px;
  box-shadow:
    0 18px 0 0 rgba(237, 180, 128, 0.55),
    0 36px 0 0 rgba(237, 180, 128, 0.55),
    16px 9px 0 0 rgba(237, 180, 128, 0.55),
    16px 27px 0 0 rgba(237, 180, 128, 0.55),
    32px 18px 0 0 rgba(237, 180, 128, 0.55);
}

.kh-invite__dots--2 {
  top: 18%;
  right: 32%;
  box-shadow:
    0 18px 0 0 rgba(237, 180, 128, 0.55),
    0 36px 0 0 rgba(237, 180, 128, 0.55),
    -16px 9px 0 0 rgba(237, 180, 128, 0.55),
    -16px 27px 0 0 rgba(237, 180, 128, 0.55),
    -32px 18px 0 0 rgba(237, 180, 128, 0.55);
}

.kh-invite__dots--3 {
  top: 50%;
  right: 32px;
  box-shadow:
    0 -18px 0 0 rgba(237, 180, 128, 0.55),
    0 18px 0 0 rgba(237, 180, 128, 0.55),
    -16px -9px 0 0 rgba(237, 180, 128, 0.55),
    -16px 9px 0 0 rgba(237, 180, 128, 0.55),
    -32px 0 0 0 rgba(237, 180, 128, 0.55);
}

/* ── KH CTA decorative blobs ── */
.kh-invite__blob {
  position: absolute;
  pointer-events: none;
}

.kh-invite__blob--1 {
  width: 200px;
  height: 260px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 63% 37% 54% 46% / 42% 48% 52% 58%;
  bottom: -80px;
  right: -50px;
}

.kh-invite__blob--2 {
  width: 130px;
  height: 170px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 42% 58% 38% 62% / 56% 40% 60% 44%;
  top: -40px;
  left: -30px;
}

.kh-invite__blob--3 {
  width: 100px;
  height: 90px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  top: 15%;
  right: 30%;
}

.kh-invite-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.kh-invite-text h2 {
  color: #1e2421;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}

.kh-invite-text p {
  color: #6b7a74;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 480px;
}

.kh-invite .btn {
  flex-shrink: 0;
  padding: 11px 24px;
  background: #4a6b5e;
  color: #ffffff;
  border: 1px solid #4a6b5e;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
.kh-invite .btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

@media (max-width: 640px) {
  .kh-invite-inner {
    flex-direction: column;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════
   Knowledge Hub — Mobile layout overrides
   Applies at ≤767px (phones and small tablets)
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* ── KH hero decorations: smaller or hidden ── */
  .kh-hero__blob--1 {
    width: 150px;
    height: 180px;
    bottom: -60px;
    left: -40px;
  }
  .kh-hero__blob--2 {
    width: 100px;
    height: 130px;
    top: -40px;
    left: -30px;
  }
  .kh-hero__blob--3 {
    display: none;
  }
  .kh-hero__ring--2 {
    display: none;
  }

  /* ── Hero search: full width, no overflow ── */
  .kh-hero-search {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* ── Topic tabs: flush to edge so they scroll naturally ── */
  .kh-topic-nav .container {
    padding: 0;
  }

  /* ── Spotlight: single-column, fully centred ── */
  .kh-spotlight {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  /* Visual panel on mobile: overflow visible so leaves aren't clipped.
       margin-top creates the gap between the button above and the panel.
       margin-bottom gives breathing room before the section edge. */
  .kh-spotlight-visual {
    display: flex;
    min-height: 200px;
    overflow: visible;
    margin-top: 36px;
    margin-bottom: 48px;
  }

  /* Centre the badges row */
  .kh-spotlight-badges {
    justify-content: center;
  }

  /* Centre excerpt text */
  .kh-spotlight-excerpt {
    max-width: 100%;
    text-align: center;
  }

  /* Centre the foot row — read time + CTA button */
  .kh-spotlight-foot {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
  }

  /* Spotlight CTA: inline-width, never forced full-width by global .btn rule */
  .kh-spotlight-cta.btn {
    width: auto;
    max-width: none;
    display: inline-flex;
  }

  /* Spotlight title: tighter size on small screens */
  .kh-spotlight-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
  }

  /* ── Reading list header: centred on mobile ── */
  .kh-list-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .kh-list-heading {
    text-align: center;
  }

  /* Resource row body: prevent grid cell blowout */
  .kh-row-body {
    padding-right: 0;
    min-width: 0;
  }

  /* ── Invite / CTA strip: fully centred on mobile ── */
  .kh-invite-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .kh-invite-text h2,
  .kh-invite-text p {
    text-align: center;
  }

  /* Invite CTA button: inline-width, centred — never forced full-width */
  .kh-invite .btn {
    width: auto;
    max-width: none;
    align-self: center;
    display: inline-flex;
  }
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 32px;
}

@media (max-width: 767px) {
  .footer-inner {
    padding: 50px 20px 30px;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 28px;
  align-items: start;
}

@media (max-width: 880px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .footer-widget:nth-child(2) {
    padding-left: 0 !important;
  }
  .footer-widget:first-child p {
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  .footer-content .footer-widget {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 8px !important;
  }
  .footer-widget h3 {
    width: 100% !important;
    text-align: center !important;
    margin: 0 0 12px !important;
  }
}

.footer-widget h3 {
  color: #000;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

/* Underline beneath footer column headings â€” skip the brand name (first widget) */
.footer-widget:not(:first-child) h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
}

.footer-widget p {
  color: #000;
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-widget:first-child p {
  margin-right: 12px;
  max-width: 320px;
}

.footer-widget:nth-child(2) {
  padding-left: 0;
}

.footer-widget a.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 7px 16px !important;
  border-radius: 50px;
  color: #000 !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  margin-bottom: 6px;
}
.footer-widget a.social-link:hover {
  background: rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
  padding-left: 16px !important;
  transform: none;
}
.footer-widget a.social-link .social-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 1;
  flex-shrink: 0;
}

/* ===================================
   Footer Newsletter Signup
   =================================== */

.footer-newsletter {
  margin-top: 20px;
  padding: 0;
  padding-right: 32px;
}

@media (max-width: 880px) {
  .footer-newsletter {
    padding-right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-newsletter__label {
    width: 100%;
    text-align: center;
  }
  .footer-newsletter__row {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
  .footer-newsletter__msg {
    text-align: center;
  }
}

.footer-newsletter__label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9a94;
  margin: 0 0 10px;
}

.footer-newsletter__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-newsletter__input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(107, 122, 116, 0.35);
  border-radius: 50px;
  background: #fff;
  color: #2a2a2a;
  font-size: 0.875rem;
  font-family: var(--body-font);
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter__input::placeholder {
  color: #9aaba5;
}

.footer-newsletter__input:focus {
  border-color: #8abeb2;
}

.footer-newsletter__btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  background: #8abeb2;
  color: #fff;
  font-size: 0.875rem;
  font-family: var(--body-font);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.footer-newsletter__btn:hover {
  background: #edb480;
}

.footer-newsletter__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer-newsletter__msg {
  font-size: 0.8rem;
  margin: 8px 0 0;
  min-height: 1.2em;
}

.footer-newsletter__msg--success {
  color: #8abeb2;
}

.footer-newsletter__msg--error {
  color: #e07a5f;
}

.footer-widget ul {
  list-style: none;
}
.footer-widget ul li {
  margin-bottom: 10px;
}

/* Two-column layout for footer quick links (more compact spacing) */
.footer-widget .quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 4px;
  padding: 0;
}
.footer-widget .quick-links li {
  margin-bottom: 2px;
}
.footer-widget .quick-links a {
  padding: 1px 0;
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .footer-widget .quick-links {
    grid-template-columns: 1fr;
  }
}

.footer-widget a {
  color: #000;
  font-weight: 400;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
  text-decoration: none;
}

.footer-widget a:hover {
  color: var(--secondary-color);
  padding-left: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.75);
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.footer-credit {
  margin-top: 6px !important;
  font-size: 0.75rem !important;
  color: rgba(0, 0, 0, 0.4) !important;
  letter-spacing: 0.02em;
}

.footer-bottom .footer-credit a,
.footer-bottom .footer-credit a:visited,
.footer-bottom .footer-credit a:link,
.footer-credit .lyfepixels-link {
  font-family: var(--heading-font) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  color: rgba(0, 0, 0, 0.5) !important;
  text-decoration: none !important;
  letter-spacing: 0.08em !important;
  transition: color 0.3s ease !important;
  display: inline !important;
  padding: 0 !important;
  vertical-align: baseline;
  background: none !important;
  border: none !important;
}

.footer-bottom .footer-credit a:hover,
.footer-credit .lyfepixels-link:hover {
  color: var(--secondary-color) !important;
  padding-left: 0 !important;
  text-decoration: none !important;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 900px) {
  .hamburger-menu {
    display: flex;
  }

  .main-navigation {
    display: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .contact-item {
    width: 100%;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    padding: 18px 8px 28px;
  }

  .footer-content .footer-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-widget:first-child p {
    margin: 0 auto 14px;
    max-width: 420px;
    padding: 0 12px;
    line-height: 1.6;
  }

  .footer-widget h3 {
    margin: 0 0 14px;
    text-align: center;
    width: 100%;
  }

  .footer-widget p {
    margin-bottom: 12px;
  }
  .footer-widget ul li {
    margin-bottom: 8px;
  }

  .footer-widget a.social-link .social-icon {
    width: 20px;
    height: 20px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 15px;
  }
  .site-header .header-container {
    padding-inline: 15px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section-title h2 {
    font-size: 1.5rem;
  }
  .team-card {
    padding: 16px;
    display: block;
  }
  .team-wrapper {
    display: flex;
    flex-direction: column;
  }
  .team-image {
    height: 220px;
    border-radius: 10px;
    margin-bottom: 12px;
    width: 100% !important;
  }
  .team-content {
    padding: 0;
  }
  .service-card {
    padding: 20px 16px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
}

/* Mobile overrides for team cards - image on top, text below */
@media (max-width: 899px) {
  .team-section .team-card {
    display: block !important;
    padding: 16px !important;
  }
  .team-section .team-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }
  .team-section .team-image {
    width: 100% !important;
    height: 280px !important;
    flex: none !important;
    margin-bottom: 16px;
  }
  .team-section .team-content {
    flex: none !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .team-section .team-image {
    height: 240px !important;
  }
}

/* ===================================
   Service Page Templates
   =================================== */

/* ===================================
   Mobile Polish
   =================================== */

/* Divider — responsive grid */
@media (max-width: 900px) {
  .divider-content {
    gap: 32px;
  }
  .divider-item {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 350px) {
  .divider-item {
    flex: 0 0 100%;
  }
  .section-divider {
    padding: 32px 16px 44px;
  }
  .section-divider::after {
    height: 15px;
    background-size: 200px 14px;
  }
}

/* Hero — tighter on mobile */
@media (max-width: 767px) {
  .hero-section {
    padding-bottom: clamp(50px, 10vw, 80px);
  }
  .hero-section__blob--1 {
    width: 160px;
    height: 200px;
    bottom: -60px;
    right: -40px;
  }
  .hero-section__blob--2 {
    width: 100px;
    height: 130px;
    top: -40px;
    left: -30px;
  }
  .hero-section__blob--3,
  .hero-section__blob--4 {
    display: none;
  }
  .hero-section__dots--3,
  .hero-section__dots--4 {
    display: none;
  }
  .hero-section__ring--2,
  .hero-section__ring--3 {
    display: none;
  }
  .hero-section__ring--1 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: 15%;
  }
}

/* Header — full-width border on mobile */
@media (max-width: 900px) {
  .site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* Footer — ensure text is black on mobile */
@media (max-width: 900px) {
  .footer-widget h3,
  .footer-widget p,
  .footer-widget a,
  .footer-bottom,
  .footer-credit {
    color: #000 !important;
  }

  .footer-widget a.social-link {
    color: #000 !important;
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
  }
}

/* Contact form — better spacing on mobile */
@media (max-width: 600px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 1rem;
  }
}

/* About section — tighter on small screens */
@media (max-width: 480px) {
  .about-section {
    padding: 30px 0;
  }
}

/* =============================================
   Blog Listing Page  (.bl-*)
   ============================================= */

.bl-page {
  background: #f5f0e8;
  min-height: 100vh;
}

/* ── Hero ── */
.bl-hero {
  position: relative;
  text-align: center;
  padding: 72px 24px 56px;
  overflow: hidden;
  background: var(--cream, #f5f0e8);
}

.bl-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
  z-index: 0;
}

/* ── Blog hero dot clusters ── */
.bl-hero__dots {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.8);
}

.bl-hero__dots--1 {
  bottom: 25%;
  left: 10%;
  box-shadow:
    0 18px 0 0 rgba(237, 180, 128, 0.8),
    0 36px 0 0 rgba(237, 180, 128, 0.8),
    16px 9px 0 0 rgba(237, 180, 128, 0.8),
    16px 27px 0 0 rgba(237, 180, 128, 0.8),
    32px 18px 0 0 rgba(237, 180, 128, 0.8);
}

.bl-hero__dots--2 {
  top: 18%;
  right: 6%;
  box-shadow:
    0 18px 0 0 rgba(237, 180, 128, 0.8),
    0 36px 0 0 rgba(237, 180, 128, 0.8),
    -16px 9px 0 0 rgba(237, 180, 128, 0.8),
    -16px 27px 0 0 rgba(237, 180, 128, 0.8),
    -32px 18px 0 0 rgba(237, 180, 128, 0.8);
}

.bl-hero__dots--3 {
  top: 35%;
  left: 45%;
  box-shadow:
    0 -18px 0 0 rgba(237, 180, 128, 0.8),
    0 18px 0 0 rgba(237, 180, 128, 0.8),
    -16px -9px 0 0 rgba(237, 180, 128, 0.8),
    -16px 9px 0 0 rgba(237, 180, 128, 0.8),
    -32px 0 0 0 rgba(237, 180, 128, 0.8);
}

/* ── Blog hero blobs ── */
.bl-hero__blob {
  position: absolute;
  pointer-events: none;
}

.bl-hero__blob--1 {
  width: 180px;
  height: 220px;
  background: rgba(138, 190, 178, 0.16);
  border-radius: 42% 58% 38% 62% / 56% 40% 60% 44%;
  top: -60px;
  left: -40px;
}

.bl-hero__blob--2 {
  width: 140px;
  height: 170px;
  background: rgba(237, 180, 128, 0.1);
  border-radius: 63% 37% 54% 46% / 42% 48% 52% 58%;
  bottom: -50px;
  right: -40px;
}

.bl-hero__blob--3 {
  width: 70px;
  height: 90px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  bottom: 30%;
  left: 35%;
}

/* ── Blog hero rings ── */
.bl-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(138, 190, 178, 0.2);
  pointer-events: none;
}

.bl-hero__ring--1 {
  width: 80px;
  height: 80px;
  top: 12%;
  left: 18%;
}

.bl-hero__ring--2 {
  width: 50px;
  height: 50px;
  border-color: rgba(237, 180, 128, 0.3);
  bottom: 18%;
  right: 12%;
}

.bl-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.bl-hero__overline {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.bl-hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #6b7a74;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.bl-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.bl-hero__divider-line {
  display: block;
  width: 36px;
  height: 1px;
  background: #c4bdb5;
}

.bl-hero__divider-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  line-height: 0;
}

.bl-hero__divider-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.bl-hero__subtitle {
  font-size: 0.97rem;
  color: #6b7a74;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Category tabs ── */
.bl-tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 48px;
}

.bl-tabs__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.bl-tabs__inner::-webkit-scrollbar {
  display: none;
}

.bl-tabs__tab {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #6b7a74;
  text-decoration: none;
  padding: 12px 20px 14px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.bl-tabs__tab:hover {
  color: #2a2a2a;
}
.bl-tabs__tab.is-active {
  color: #2a2a2a;
  font-weight: 600;
  border-bottom-color: var(--primary-color);
}

/* ── Outer wrap ── */
.bl-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* ── Post grid ── */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-bottom: 56px;
}

/* ── Post card ── */
.bl-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* Override any generic article.post card style */
.bl-page article.post,
.bl-page article.post-type-post {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  margin-bottom: 0 !important;
}

.bl-card__img-wrap {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  background: #ddd8ce;
}

.bl-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bl-card__img-wrap:hover .bl-card__img {
  transform: scale(1.03);
}

.bl-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ddd8ce 0%, #c8d8d2 100%);
}

.bl-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bl-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
  transition: color 0.2s;
}
.bl-card__cat:hover {
  color: var(--secondary-color);
}

.bl-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: #1e2421;
  line-height: 1.35;
  margin-bottom: 10px;
}
.bl-card__title a,
.bl-card__title a:visited {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.bl-card__title a:hover {
  color: var(--primary-color);
}

.bl-card__excerpt {
  font-size: 0.875rem;
  color: #6b7a74;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.bl-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: auto;
}

.bl-card__meta {
  font-size: 0.8rem;
  color: #9aa5a0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bl-card__meta-dot {
  color: #c4bdb5;
}

.bl-card__read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7a74;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background-image: linear-gradient(var(--primary-color), var(--primary-color));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition:
    background-size 0.3s ease,
    color 0.3s ease;
}
.bl-card__read-more:hover {
  color: var(--primary-color);
  background-size: 100% 1px;
}
.bl-card__arrow {
  display: inline;
  vertical-align: baseline;
  position: relative;
  top: 1px;
  transition: transform 0.25s ease;
  margin-left: 4px;
}
.bl-card__read-more:hover .bl-card__arrow {
  transform: translateX(4px);
}

/* ── Pagination ── */
.bl-pagination {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* paginate_links( type='list' ) outputs <ul class="page-numbers"> directly */
.bl-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.bl-pagination ul.page-numbers li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* Hide WordPress screen-reader-text spans inside pagination */
.bl-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #3d4840;
  text-decoration: none;
  background: transparent;
  transition:
    background 0.15s,
    color 0.15s;
}
.bl-pagination .page-numbers:hover {
  background: rgba(138, 190, 178, 0.15);
  color: #1e2421;
}
.bl-pagination .page-numbers.current {
  background: var(--primary-color);
  color: #2a2a2a;
  font-weight: 600;
}
.bl-pagination .page-numbers.dots {
  background: transparent;
  pointer-events: none;
}
.bl-pagination .prev,
.bl-pagination .next {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 14px;
  color: #6b7a74;
}

/* ── Newsletter ── */
.bl-newsletter {
  position: relative;
  background: #edf3f0;
  overflow: hidden;
  padding: 56px 24px;
}

/* ── Blog CTA decorative dots ── */
.bl-newsletter__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bl-newsletter__dots {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(237, 180, 128, 0.55);
}

.bl-newsletter__dots--1 {
  top: 28px;
  left: 24px;
  box-shadow:
    0 18px 0 0 rgba(237, 180, 128, 0.55),
    0 36px 0 0 rgba(237, 180, 128, 0.55),
    16px 9px 0 0 rgba(237, 180, 128, 0.55),
    16px 27px 0 0 rgba(237, 180, 128, 0.55),
    32px 18px 0 0 rgba(237, 180, 128, 0.55);
}

.bl-newsletter__dots--2 {
  top: 18%;
  right: 32%;
  box-shadow:
    0 18px 0 0 rgba(237, 180, 128, 0.55),
    0 36px 0 0 rgba(237, 180, 128, 0.55),
    -16px 9px 0 0 rgba(237, 180, 128, 0.55),
    -16px 27px 0 0 rgba(237, 180, 128, 0.55),
    -32px 18px 0 0 rgba(237, 180, 128, 0.55);
}

.bl-newsletter__dots--3 {
  top: 50%;
  right: 32px;
  box-shadow:
    0 -18px 0 0 rgba(237, 180, 128, 0.55),
    0 18px 0 0 rgba(237, 180, 128, 0.55),
    -16px -9px 0 0 rgba(237, 180, 128, 0.55),
    -16px 9px 0 0 rgba(237, 180, 128, 0.55),
    -32px 0 0 0 rgba(237, 180, 128, 0.55);
}

/* ── Blog CTA decorative blobs ── */
.bl-newsletter__blob {
  position: absolute;
  pointer-events: none;
}

.bl-newsletter__blob--1 {
  width: 200px;
  height: 260px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 63% 37% 54% 46% / 42% 48% 52% 58%;
  bottom: -80px;
  right: -50px;
}

.bl-newsletter__blob--2 {
  width: 130px;
  height: 170px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 42% 58% 38% 62% / 56% 40% 60% 44%;
  top: -40px;
  left: -30px;
}

.bl-newsletter__blob--3 {
  width: 100px;
  height: 90px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  top: 15%;
  right: 30%;
}

.bl-newsletter__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.bl-newsletter__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl-newsletter__text {
  min-width: 240px;
}

.bl-newsletter__heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2421;
  margin-bottom: 4px;
}

.bl-newsletter__sub {
  font-size: 0.875rem;
  color: #6b7a74;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

.bl-newsletter__btn {
  flex-shrink: 0;
  padding: 11px 24px;
  background: #4a6b5e;
  color: #fff;
  border: 1px solid #4a6b5e;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.bl-newsletter__btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.bl-newsletter__form {
  flex: 1;
  min-width: 240px;
}
.bl-newsletter__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bl-newsletter__input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(107, 122, 116, 0.35);
  border-radius: 50px;
  background: #fff;
  color: #2a2a2a;
  font-size: 0.875rem;
  font-family: var(--body-font);
  outline: none;
  transition: border-color 0.2s;
}
.bl-newsletter__input::placeholder {
  color: #9aaba5;
}
.bl-newsletter__input:focus {
  border-color: #8abeb2;
}
.bl-newsletter__msg {
  font-size: 0.8rem;
  margin: 8px 0 0;
  min-height: 1.2em;
}
.bl-newsletter__msg--success {
  color: #8abeb2;
}
.bl-newsletter__msg--error {
  color: #e07a5f;
}

/* ── Empty state ── */
.bl-empty {
  text-align: center;
  padding: 60px 0;
  color: #6b7a74;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }
}

@media (max-width: 640px) {
  .bl-hero {
    padding: 48px 20px 36px;
  }
  .bl-hero__deco {
    display: none;
  }
  .bl-wrap {
    padding: 0 20px 60px;
  }
  .bl-tabs__inner {
    padding: 0 20px;
  }

  .bl-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bl-newsletter__inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .bl-newsletter__form {
    width: 100%;
    min-width: 0;
  }
  .bl-newsletter__row {
    flex-direction: column;
  }
  .bl-newsletter__input {
    width: 100%;
  }
  .bl-newsletter__btn {
    width: 100%;
    text-align: center;
  }
}

/* ===================================
   Service Page (page-service.php)
   =================================== */

.sv-page {
  background: #f5f0e8;
}

/* ── Container ── */
.sv-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ── */
.sv-hero {
  position: relative;
  text-align: center;
  padding: 72px 24px 0;
  background: #f5f0e8;
}

.sv-hero__image {
  position: relative;
  z-index: 1;
  width: 75%;
  margin: 40px auto -40px;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

.sv-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 240, 232, 0.3);
  border-radius: 12px;
}

.sv-hero__deco {
  position: absolute;
  top: 0;
  pointer-events: none;
  user-select: none;
}
.sv-hero__deco--left {
  left: 0;
}
.sv-hero__deco--right {
  right: 0;
}

.sv-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.sv-hero__back {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  color: #6b7a74;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid rgba(107, 122, 116, 0.2);
  border-radius: 50px;
  margin-bottom: 28px;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}
.sv-hero__back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.sv-hero__back:hover {
  color: #fff;
}
.sv-hero__back:hover::before {
  transform: scaleX(1);
}
.sv-hero__back svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  display: block;
  flex-shrink: 0;
}

.sv-hero__overline {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.sv-hero__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(138, 190, 178, 0.12);
  border-radius: 50%;
  color: var(--primary-color);
}
.sv-hero__icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.sv-hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #1e2421;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.sv-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.sv-hero__divider-line {
  display: block;
  width: 36px;
  height: 1px;
  background: #c4bdb5;
}
.sv-hero__divider-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  line-height: 0;
}
.sv-hero__divider-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sv-hero__subtitle {
  font-size: 1rem;
  color: #6b7a74;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Section title ── */
.sv-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: #1e2421;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}
.sv-section-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 1.5px;
  background: rgba(237, 180, 128, 0.7);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ── What's included ── */
.sv-includes {
  padding: 80px 0 48px;
  background: #ffffff;
}

.sv-includes__desc {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.8;
  text-align: center;
  max-width: 720px;
  margin: -16px auto 32px;
}

.sv-includes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sv-include-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f5f0e8;
  border-radius: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(107, 122, 116, 0.08);
}

.sv-include-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(138, 190, 178, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-top: 1px;
}
.sv-include-card__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}

.sv-include-card__label {
  font-size: 0.9rem;
  color: #3d4a44;
  line-height: 1.5;
  font-weight: 500;
}

/* ── Who is this for ── */
.sv-for {
  padding: 56px 0;
}

.sv-for__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sv-for-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(107, 122, 116, 0.1);
  box-shadow: 0 2px 12px rgba(107, 122, 116, 0.06);
  transition: box-shadow 0.2s;
}
.sv-for-card:hover {
  box-shadow: 0 6px 24px rgba(107, 122, 116, 0.12);
}

.sv-for-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(237, 180, 128, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--secondary-color);
}
.sv-for-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.sv-for-card__heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1e2421;
  margin-bottom: 8px;
}

.sv-for-card__text {
  font-size: 0.88rem;
  color: #6b7a74;
  line-height: 1.6;
}

/* ── Quote ── */
.sv-quote {
  padding: 56px 0;
  background: #ffffff;
}

.sv-quote__block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.sv-quote__mark {
  width: 32px;
  height: 32px;
  color: rgba(237, 180, 128, 0.5);
  margin: 0 auto 16px;
  display: block;
}
.sv-quote__mark svg {
  width: 32px;
  height: 32px;
}

.sv-quote__text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: #3d4a44;
  line-height: 1.75;
  margin: 0 0 16px;
  border: none;
  padding: 0;
}

.sv-quote__attr {
  font-size: 0.82rem;
  color: #6b7a74;
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ── CTA ── */
.sv-cta {
  padding: 72px 0 80px;
}

.sv-cta__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.sv-cta__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1e2421;
  margin-bottom: 12px;
}

.sv-cta__text {
  font-size: 0.97rem;
  color: #6b7a74;
  line-height: 1.7;
  margin-bottom: 32px;
}

.sv-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.sv-cta__btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.sv-cta__btn--primary {
  background: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}
.sv-cta__btn--primary:hover {
  background: #74a89c;
  border-color: #74a89c;
}
.sv-cta__btn--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.sv-cta__btn--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sv-hero {
    padding: 48px 20px 0;
  }
  .sv-hero__deco {
    display: none;
  }
  .sv-hero__image {
    width: calc(100% - 32px);
    height: 220px;
    margin: 12px auto 16px;
    border-radius: 10px;
    z-index: auto;
  }

  .sv-includes__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sv-for__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sv-includes__grid {
    grid-template-columns: 1fr;
  }

  .sv-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .sv-cta__btn {
    width: 100%;
    text-align: center;
  }
}
