/*
Theme Name: Hello Mind
Theme URI: https://hellomind.in
Author: Hello Mind Team
Author URI: https://hellomind.in
Description: Modern, accessible, premium healthcare theme for Hello Mind based on Design System v2.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hellomind
Tags: block-theme, full-site-editing, custom-colors, custom-typography, responsive-layout
*/

/* CSS Variables */
:root {
  --hm-color-primary: #3CC666;
  --hm-color-primary-hover: #34b35b;
  --hm-color-dark: #0C1D2A;
  --hm-color-secondary-dark: #234E70;
  --hm-color-surface: #FFFFFF;
  --hm-color-surface-soft: #F8FAF8;
  --hm-color-surface-alt: #E8F0EB;
  --hm-color-surface-featured: #F2F6F3;
  --hm-color-surface-success: #EEF8F1;
  --hm-color-amber: #F4B740;
  --hm-color-border: #E5ECE7;
  --hm-color-border-alt: #DFE8E1;
  --hm-color-muted: #627A8A;

  /* ── Premium gradient & shadow tokens ── */
  --hm-gradient-primary: linear-gradient(135deg, #3CC666 0%, #1ea850 100%);
  --hm-gradient-primary-reverse: linear-gradient(135deg, #1ea850 0%, #3CC666 100%);
  --hm-gradient-hero: linear-gradient(155deg, #071420 0%, #0C1D2A 45%, #1a3a55 80%, #234E70 100%);
  --hm-gradient-surface: linear-gradient(145deg, #edf9f2 0%, #f4faf6 40%, #F8FAF8 100%);
  --hm-gradient-warm: linear-gradient(145deg, #fffdf7 0%, #fffbf2 50%, #fff8eb 100%);
  --hm-gradient-dark-section: linear-gradient(155deg, #071420 0%, #0d2135 50%, #163347 100%);
  --hm-gradient-footer: linear-gradient(160deg, #0e2438 0%, #163347 40%, #234E70 100%);

  --hm-shadow-card: 0 2px 12px rgba(12,29,42,0.07), 0 1px 3px rgba(12,29,42,0.04);
  --hm-shadow-card-hover: 0 12px 40px rgba(60,198,102,0.13), 0 4px 16px rgba(12,29,42,0.08);
  --hm-shadow-btn: 0 4px 20px rgba(60,198,102,0.35), 0 1px 4px rgba(60,198,102,0.2);
  --hm-shadow-btn-hover: 0 8px 28px rgba(60,198,102,0.45), 0 2px 8px rgba(60,198,102,0.25);
}

* {
  box-sizing: border-box;
}

/* Non-draggable images for a polished, app-like, premium feel */
img,
svg,
picture {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--hm-color-dark);
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Full Width & Edge-to-Edge Layout Reset */
.wp-site-blocks,
.wp-block-post-content,
.entry-content,
.hm-main-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-block-post-content > *,
:where(.wp-block-post-content) > * + *,
:where(.wp-block-post-content.is-layout-flow) > * + * {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Material Symbols Integration */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* Container */
.hm-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .hm-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Header Styles & Sticky Positioning */
header.wp-block-template-part,
.wp-block-template-part:has(.hm-site-header),
.hm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.hm-site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hm-color-border);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 2px 10px rgba(12, 29, 42, 0.03);
  width: 100%;
}

.hm-site-header.hm-header-interactive {
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-bar header.wp-block-template-part,
.admin-bar .wp-block-template-part:has(.hm-site-header),
.admin-bar .hm-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar header.wp-block-template-part,
  .admin-bar .wp-block-template-part:has(.hm-site-header),
  .admin-bar .hm-site-header {
    top: 46px;
  }
}

.hm-site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(12, 29, 42, 0.08);
  border-bottom-color: rgba(229, 236, 231, 0.7);
}

/* Homepage Mobile Transparent Header (Before Scroll) */
@media (max-width: 991px) {
  header.wp-block-template-part,
  .wp-block-template-part:has(.hm-site-header),
  .hm-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  /* Padding offset on non-home pages so fixed header doesn't overlap content */
  .hm-main-content {
    padding-top: 64px !important;
  }

  /* On Homepage, hero starts directly at Y=0 behind transparent fixed header */
  body:has(.hm-home-hero) .hm-main-content,
  body.home .hm-main-content,
  body.front-page .hm-main-content {
    padding-top: 0 !important;
  }

  body:has(.hm-home-hero) header.wp-block-template-part:not(.is-scrolled),
  body:has(.hm-home-hero) .wp-block-template-part:has(.hm-site-header:not(.is-scrolled)),
  body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled),
  body.home header.wp-block-template-part:not(.is-scrolled),
  body.home .wp-block-template-part:has(.hm-site-header:not(.is-scrolled)),
  body.home .hm-site-header:not(.is-scrolled),
  body.front-page header.wp-block-template-part:not(.is-scrolled),
  body.front-page .wp-block-template-part:has(.hm-site-header:not(.is-scrolled)),
  body.front-page .hm-site-header:not(.is-scrolled) {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom-color: transparent !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled) .hm-logo-img,
  body.home .hm-site-header:not(.is-scrolled) .hm-logo-img,
  body.front-page .hm-site-header:not(.is-scrolled) .hm-logo-img {
    filter: brightness(0) invert(1);
  }

  body:has(.hm-home-hero) .hm-site-header.hm-header-interactive .hm-logo-img,
  body.home .hm-site-header.hm-header-interactive .hm-logo-img,
  body.front-page .hm-site-header.hm-header-interactive .hm-logo-img {
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.hm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

@media (min-width: 992px) {
  .hm-header-inner {
    height: 76px;
  }
}

.hm-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 991px) {
  .hm-logo-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
}

.hm-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  .hm-logo-img {
    height: 40px;
  }
}

.hm-desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 992px) {
  .hm-desktop-nav {
    display: flex;
  }
}

.hm-nav-item {
  position: relative;
}

.hm-nav-link-group {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.hm-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hm-color-dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.hm-nav-link:hover,
.hm-dropdown-item:hover .hm-nav-link,
.hm-dropdown-item.is-open .hm-nav-link {
  color: var(--hm-color-primary);
}

.hm-dropdown-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 6px 4px;
  margin-left: 2px;
  cursor: pointer;
  color: var(--hm-color-dark);
  line-height: 1;
  border-radius: 6px;
  min-width: 28px;
  min-height: 28px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.hm-dropdown-arrow-btn:hover,
.hm-dropdown-arrow-btn:focus-visible,
.hm-dropdown-item:hover .hm-dropdown-arrow-btn,
.hm-dropdown-item.is-open .hm-dropdown-arrow-btn {
  color: var(--hm-color-primary);
  background-color: rgba(60, 198, 102, 0.08);
}

.hm-dropdown-arrow {
  font-size: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  pointer-events: none;
}

.hm-dropdown-item:hover .hm-dropdown-arrow,
.hm-dropdown-item.is-open .hm-dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.hm-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: #ffffff;
  border: 1px solid var(--hm-color-border);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(12, 29, 42, 0.12);
  padding: 20px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
  pointer-events: none;
}

.hm-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.hm-dropdown-wide {
  min-width: 320px;
}

/* Hover for desktop pointer devices */
@media (hover: hover) and (pointer: fine) {
  .hm-dropdown-item:hover .hm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Active / Open state (Touch, iPad, Click) */
.hm-dropdown-item.is-open .hm-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Tablet & iPad Pro Portrait Header Optimization (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .hm-site-header .hm-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hm-header-inner {
    height: 68px !important;
    gap: 12px !important;
  }

  .hm-logo-img {
    height: 35px !important;
  }

  .hm-desktop-nav {
    gap: 12px !important;
  }

  .hm-nav-link {
    font-size: 13.5px !important;
    padding: 6px 0 !important;
  }

  .hm-dropdown-arrow-btn {
    min-width: 24px !important;
    min-height: 24px !important;
    padding: 4px 2px !important;
    margin-left: 0 !important;
  }

  .hm-dropdown-arrow {
    font-size: 16px !important;
  }

  .hm-header-btn {
    padding: 9px 15px !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
    gap: 6px !important;
    min-height: 40px !important;
  }

  .hm-header-btn .material-symbols-outlined {
    font-size: 16px !important;
  }
}

.hm-dropdown-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hm-color-primary);
  margin: 0 0 12px 0;
}

.hm-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-drop-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--hm-color-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.hm-drop-link:hover {
  color: var(--hm-color-primary);
  background-color: rgba(60, 198, 102, 0.08);
  transform: translateX(4px);
}

.hm-header-cta {
  display: none;
}

@media (min-width: 992px) {
  .hm-header-cta {
    display: block;
  }
}

/* Mobile Menu Button - Matches Nuxt AppHeader.vue 1:1 */
.hm-mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(35, 78, 112, 0.2);
  background-color: rgba(35, 78, 112, 0.08);
  color: var(--hm-color-secondary-dark, #234E70);
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: auto;
  position: relative;
  z-index: 20;
}

.hm-mobile-menu-toggle:active {
  transform: scale(0.95);
}

.hm-mobile-menu-toggle:hover {
  background-color: rgba(35, 78, 112, 0.15);
  color: var(--hm-color-primary, #3CC666);
}

/* Homepage Hero Transparent Header: Frosted Glass Button */
body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle,
body.home .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle,
body.front-page .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle:hover,
body.home .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle:hover,
body.front-page .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--hm-color-primary, #3CC666);
  border-color: rgba(60, 198, 102, 0.4);
}

@media (min-width: 992px) {
  .hm-mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.hm-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1050;
  box-shadow: -8px 0 32px rgba(12, 29, 42, 0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.hm-mobile-drawer.is-open {
  right: 0;
  display: flex !important;
}

.hm-mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 29, 42, 0.6);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hm-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  display: block !important;
}

.hm-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hm-color-border);
}

.hm-mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hm-mobile-drawer-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hm-mobile-accordion {
  border-bottom: 1px solid var(--hm-color-border);
  padding-bottom: 8px;
}

.hm-mobile-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-color-dark);
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  line-height: 1.4;
}

.hm-mobile-acc-content {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  padding-bottom: 8px;
}

.hm-mobile-acc-content.is-open {
  display: flex;
}

.hm-mobile-link {
  font-size: 14px;
  color: var(--hm-color-muted);
  text-decoration: none;
  padding: 6px 0;
  line-height: 1.4;
  display: block;
  transition: color 0.2s ease;
}

.hm-mobile-link.hm-mobile-link-overview {
  font-weight: 700;
  color: var(--hm-color-primary);
}

.hm-mobile-link:hover {
  color: var(--hm-color-primary);
}

.hm-mobile-direct-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-color-dark);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--hm-color-border);
  line-height: 1.4;
  display: block;
  transition: color 0.2s ease;
}

.hm-mobile-direct-link:hover {
  color: var(--hm-color-primary);
}

.hm-mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 29, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hm-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ── Premium Section Backgrounds ── */
.hm-section-bg-dark {
  background: var(--hm-gradient-hero);
  position: relative;
  overflow: hidden;
}

.hm-section-bg-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hm-section-bg-dark > * {
  position: relative;
  z-index: 1;
}

/* Decorative glow orb for dark sections */
.hm-section-bg-dark::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60,198,102,0.12) 0%, rgba(60,198,102,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hm-section-bg-soft {
  background: var(--hm-gradient-surface);
  position: relative;
}

.hm-section-bg-white {
  background: #ffffff;
  position: relative;
}

/* Subtle dot pattern for white sections */
.hm-section-bg-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(60,198,102,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.hm-section-bg-white > * {
  position: relative;
  z-index: 1;
}

.hm-section-bg-warm {
  background: var(--hm-gradient-warm);
}

/* Section Wave Divider */
.hm-wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.hm-wave-divider svg {
  display: block;
  width: 100%;
}

/* Section heading accent — green underline */
.hm-h2-title {
  position: relative;
  display: inline-block;
}

.hm-h2-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--hm-gradient-primary);
  margin: 10px auto 0 auto;
}

.hm-h2-title.text-left::after {
  margin-left: 0;
}

/* ── Alignment Utilities ── */
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}

/* ── Premium Section Label Chip ── */
.hm-section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hm-section-chip-green {
  background: rgba(60,198,102,0.12);
  border: 1px solid rgba(60,198,102,0.25);
  color: #1a9948;
}

.hm-section-chip-white {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Pill Buttons */
.hm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--hm-gradient-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
  box-shadow: var(--hm-shadow-btn);
}

/* Shimmer animation on primary button */
.hm-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.hm-btn-primary:hover::after {
  left: 170%;
}

.hm-btn-primary:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 10px 28px rgba(60, 198, 102, 0.42), 0 2px 8px rgba(60, 198, 102, 0.25);
}

.hm-btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.hm-btn-primary .material-symbols-outlined,
.hm-btn-primary svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hm-btn-primary:hover .material-symbols-outlined,
.hm-btn-primary:hover svg {
  transform: translateX(4px);
}

.hm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--hm-color-dark) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--hm-color-border);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.hm-btn-secondary:hover {
  background-color: var(--hm-color-surface-soft);
  border-color: var(--hm-color-primary);
  color: var(--hm-color-primary) !important;
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(12, 29, 42, 0.08);
}

.hm-btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.hm-btn-secondary .material-symbols-outlined,
.hm-btn-secondary svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hm-btn-secondary:hover .material-symbols-outlined,
.hm-btn-secondary:hover svg {
  transform: translateX(3px);
}

.hm-btn-secondary:active {
  transform: scale(0.98);
}

/* Mobile: full-width CTA buttons below 640px (excluding hero and header buttons and callback drawer buttons) */
@media (max-width: 639px) {
  .hm-btn-primary:not(.hm-header-btn):not(.hm-hero-cta-group *):not(.hm-cb-btn-submit),
  .hm-btn-secondary:not(.hm-hero-cta-group *):not(.hm-cb-btn-cancel) {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
  }
}

/* Footer Base Styles */
.hm-site-footer {
  background: #013038;
  color: #ffffff;
  padding-top: 64px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  position: relative;
}

.hm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1fr 1.05fr;
  gap: 36px;
}

@media (min-width: 1200px) {
  .hm-footer-grid {
    gap: 48px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hm-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
}

.hm-footer-logo-link {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.hm-footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  .hm-footer-logo-img {
    height: 46px;
  }
}

.hm-footer-brand-title {
  font-size: 30px;
  font-weight: 700;
  color: #c9eedf;
  letter-spacing: -0.02em;
  display: inline-block;
}

.hm-footer-brand-tagline {
  font-size: 14px;
  color: #baeddd;
  margin: 0 0 20px 0;
  font-weight: 400;
  line-height: 1.4;
}

.hm-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.hm-footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hm-footer-contact-item:hover {
  color: var(--hm-color-primary, #3CC666);
}

.hm-footer-contact-item .material-symbols-outlined {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.hm-footer-contact-item.hm-footer-address {
  align-items: flex-start;
  line-height: 1.45;
}

.hm-footer-contact-item.hm-footer-address .material-symbols-outlined {
  margin-top: 2px;
}

.hm-footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hm-social-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0;
  flex-shrink: 0;
}

.hm-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.hm-social-icon:hover {
  background: rgba(60, 198, 102, 0.2);
  border-color: rgba(60, 198, 102, 0.5);
  color: var(--hm-color-primary, #3CC666);
  transform: translateY(-2px);
}

.hm-footer-col-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  display: block;
}

/* Footer Accordion Base (Desktop Default) */
.hm-footer-accordion-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
  display: block;
  cursor: default;
  pointer-events: none;
}

.hm-footer-accordion-icon {
  display: none;
}

.hm-footer-accordion-content {
  display: block;
}

.hm-footer-links-col {
  padding: 0;
  margin: 0;
}

.hm-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hm-footer-links-list li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hm-footer-links-list a {
  color: #dceef3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.hm-footer-links-list a:hover {
  color: var(--hm-color-primary, #3CC666);
}

/* Bottom Legal & Copyright Bar */
.hm-footer-bottom-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.hm-footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13.5px;
}

.hm-footer-legal-links a {
  color: #dceef3;
  opacity: 0.85;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hm-footer-legal-links a:hover {
  opacity: 1;
  color: var(--hm-color-primary, #3CC666);
}

.hm-footer-legal-dot {
  color: rgba(220, 238, 243, 0.4);
  font-size: 12px;
}

.hm-footer-copyright {
  font-size: 13px;
  color: rgba(220, 238, 243, 0.6);
  margin: 0;
}

/* Mobile Footer Styles (max-width: 767px) */
@media (max-width: 767px) {
  .hm-site-footer {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hm-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hm-footer-brand-col {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
  }

  .hm-footer-logo-link {
    margin-bottom: 16px;
  }

  .hm-footer-logo-img {
    height: 36px;
  }

  .hm-footer-brand-title {
    font-size: 26px;
  }

  .hm-footer-brand-tagline {
    font-size: 13px;
    margin: 4px 0 16px 0;
  }

  .hm-footer-contact-list {
    gap: 8px;
    margin-bottom: 18px;
  }

  .hm-footer-contact-item {
    font-size: 13.5px;
  }

  .hm-footer-socials {
    gap: 12px;
    margin: 0;
  }

  .hm-social-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  /* Mobile Footer Accordion */
  .hm-footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .hm-footer-accordion-btn {
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    min-height: 52px;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    background: none;
    border: none;
  }

  .hm-footer-accordion-btn .hm-footer-col-title {
    margin: 0 !important;
    font-size: 15px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
  }

  .hm-footer-accordion-item.is-open .hm-footer-accordion-btn .hm-footer-col-title {
    color: var(--hm-color-primary, #3CC666) !important;
  }

  .hm-footer-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    transition: color 0.2s ease;
  }

  .hm-footer-accordion-item.is-open .hm-footer-accordion-icon {
    color: var(--hm-color-primary, #3CC666);
  }

  .hm-footer-accordion-content {
    display: none;
    padding: 0 0 16px 0;
    animation: hmFooterSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hm-footer-accordion-item.is-open .hm-footer-accordion-content {
    display: block;
  }

  .hm-footer-links-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .hm-footer-links-list li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .hm-footer-links-list a {
    font-size: 13.5px !important;
    padding: 5px 0 !important;
    display: block !important;
    color: #dceef3 !important;
    opacity: 0.9;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .hm-footer-links-list a:hover {
    color: var(--hm-color-primary, #3CC666) !important;
    transform: translateX(3px);
  }

  @keyframes hmFooterSlideDown {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hm-footer-bottom-bar {
    margin-top: 20px;
    padding-top: 0;
    border-top: none;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }

  .hm-footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
    column-gap: 10px;
    font-size: 13px;
    padding: 0;
    margin: 0;
  }

  .hm-footer-legal-dot-desktop {
    display: none;
  }

  .hm-footer-legal-links a:last-child {
    flex-basis: 100%;
    text-align: center;
  }

  .hm-footer-copyright {
    font-size: 12px;
    color: rgba(220, 238, 243, 0.55);
    margin: 14px 0 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Single Therapist View (Matches therapist-detail.vue 1:1)
   ========================================================================== */

.hm-therapist-detail-wrap {
  padding-top: 16px;
  padding-bottom: 64px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .hm-therapist-detail-wrap {
    padding-top: 32px;
    padding-bottom: 96px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.hm-therapist-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hm-therapist-detail-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* Sidebar Column */
.hm-therapist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hm-therapist-sidebar {
    grid-column: span 4;
    position: sticky;
    top: 112px;
  }
}

/* Main Content Column */
.hm-therapist-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hm-therapist-main {
    grid-column: span 8;
  }
}

/* Card Container */
.hm-td-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--hm-shadow-card);
  border: 1px solid rgba(229, 236, 231, 0.5);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hm-td-card:hover {
  box-shadow: var(--hm-shadow-card-hover);
}

@media (min-width: 768px) {
  .hm-td-card {
    border-radius: 24px;
    padding: 24px;
  }
  .hm-td-card-lg {
    padding: 32px;
  }
}

/* Therapist Bullet List */
.hm-td-bullets-list {
  margin: 0;
  padding: 0 0 0 20px;
  list-style-type: disc;
}

.hm-td-bullets-list li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: #475569;
  font-size: 15px;
  padding-left: 4px;
}

.hm-td-bullets-list li::marker {
  color: #3CC666;
}

.hm-td-bullets-list li:last-child {
  margin-bottom: 0;
}

/* Profile Header (Mobile: row, Desktop: col) */
.hm-td-profile-header {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hm-td-profile-header {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    margin-bottom: 24px;
  }
}

.hm-td-img-box {
  position: relative;
  width: 82px;
  height: 98px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #F8FAF8;
  border: 1px solid rgba(229, 236, 231, 0.5);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hm-td-img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }
}

.hm-td-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-td-profile-meta {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .hm-td-profile-meta {
    margin-top: 24px;
  }
}

.hm-td-name-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
  min-width: 0;
  max-width: 100%;
}

.hm-td-name {
  font-size: clamp(17px, 4.2vw, 20px);
  font-weight: 700;
  color: #234E70;
  line-height: 1.25;
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .hm-td-name {
    font-size: 24px;
  }
}

.hm-td-verified-tick {
  color: #3CC666;
  font-size: 20px;
  line-height: 1.25;
  margin-top: 2px;
  font-variation-settings: 'FILL' 1;
  flex-shrink: 0;
  display: inline-flex;
}

@media (min-width: 768px) {
  .hm-td-verified-tick {
    font-size: 22px;
    margin-top: 3px;
  }
}

.hm-td-specialty {
  font-size: 12px;
  font-weight: 600;
  color: rgba(35, 78, 112, 0.8);
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .hm-td-specialty {
    font-size: 14px;
  }
}

.hm-td-affiliations {
  font-size: 11px;
  color: #667085;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hm-td-affiliations {
    font-size: 12px;
  }
}

/* Verification Banner */
.hm-td-verify-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  font-size: 11px;
  color: #065F46;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hm-td-verify-banner {
    font-size: 12px;
  }
}

/* Badges Grid (Rating & Experience) */
.hm-td-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 2px;
}

.hm-td-badge-box {
  background: linear-gradient(145deg, #f0fdf4, #f8faf8);
  border: 1px solid rgba(60, 198, 102, 0.15);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hm-td-badge-box:hover {
  box-shadow: 0 4px 16px rgba(60, 198, 102, 0.12);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .hm-td-badge-box {
    padding: 12px;
  }
}

.hm-td-badge-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #2F3A3D;
}

@media (min-width: 768px) {
  .hm-td-badge-val {
    font-size: 14px;
  }
}

.hm-td-badge-label {
  font-size: 10px;
  color: #667085;
  font-weight: 500;
  display: block;
}

@media (min-width: 768px) {
  .hm-td-badge-label {
    font-size: 11px;
  }
}

/* Info List */
.hm-td-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(229, 236, 231, 0.7);
  font-size: 11px;
  color: #667085;
}

@media (min-width: 768px) {
  .hm-td-info-list {
    font-size: 12px;
  }
}

.hm-td-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-td-info-item .material-symbols-outlined {
  color: #3CC666;
  font-size: 16px;
}

@media (min-width: 768px) {
  .hm-td-info-item .material-symbols-outlined {
    font-size: 18px;
  }
}

.hm-td-book-btn {
  width: 100%;
  margin-top: 16px;
  background-color: #3CC666;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(60, 198, 102, 0.25);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hm-td-book-btn:hover {
  background-color: #34b35b;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(60, 198, 102, 0.35);
}

.hm-td-book-btn:active {
  transform: scale(0.98);
}

/* Video Card */
.hm-td-video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(229, 236, 231, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  background-color: #0C1D2A;
}

.hm-td-video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hm-td-video-box:hover img {
  transform: scale(1.05);
}

.hm-td-video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.hm-td-video-box:hover .hm-td-video-overlay {
  background-color: rgba(0, 0, 0, 0.35);
}

.hm-td-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-td-play-circle {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hm-td-video-box:hover .hm-td-play-circle {
  transform: scale(1.1);
}

.hm-td-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* Audio Player */
.hm-td-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: #F8FAF8;
  border-radius: 12px;
  border: 1px solid rgba(229, 236, 231, 0.6);
}

.hm-td-audio-btn {
  background: none;
  border: none;
  padding: 0;
  color: #3CC666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.hm-td-audio-btn:hover {
  color: #34b35b;
}

.hm-td-audio-btn:active {
  transform: scale(0.95);
}

.hm-td-waveform-wrap {
  position: relative;
  flex: 1;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  container-type: inline-size;
}

.hm-td-waveform-bg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 24px;
  padding: 0 4px;
  pointer-events: none;
}

.hm-td-waveform-clipper {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width 0.08s linear;
}

.hm-td-waveform-fg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 4px;
  pointer-events: none;
  width: 100cqw;
}

.hm-td-wavebar {
  width: 3px;
  border-radius: 9999px;
  transition: height 0.3s ease;
}

/* Section Headings */
.hm-td-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #234E70;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hm-td-section-title-bordered {
  margin: 0 0 24px 0;
  border-bottom: 1px solid rgba(229, 236, 231, 0.7);
  padding-bottom: 12px;
}

/* Areas of Expertise Grid */
.hm-td-expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .hm-td-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hm-td-expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-td-expertise-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  transition: all 0.3s ease;
}

.hm-td-expertise-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.hm-td-expertise-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  border: 1px solid rgba(229, 236, 231, 0.5);
}

.hm-td-expertise-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* Services Offered Grid */
.hm-td-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .hm-td-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-td-service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: default;
}

.hm-td-service-check {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hm-td-service-item:hover .hm-td-service-check {
  transform: scale(1.1);
}

.hm-td-service-text {
  font-size: 16px;
  color: #667085;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.hm-td-service-item:hover .hm-td-service-text {
  color: #3CC666;
}

/* Collapsible Items in Therapist Detail (Areas of Expertise & Services) */
.hm-td-item-hidden {
  display: none !important;
}

.hm-td-item-collapsible:not(.hm-td-item-hidden) {
  animation: hmTdFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hmTdFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hm-td-show-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 4px;
}

.hm-td-show-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #166534;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  outline: none;
}

.hm-td-show-all-btn:hover {
  background: #DCFCE7;
  border-color: #3CC666;
  color: #14532D;
  box-shadow: 0 4px 12px rgba(60, 198, 102, 0.18);
  transform: translateY(-1px);
}

.hm-td-show-all-btn:active {
  transform: scale(0.98);
}

.hm-td-show-all-btn .hm-td-show-all-icon {
  font-size: 19px;
  transition: transform 0.25s ease;
  line-height: 1;
}

.hm-td-show-all-btn[data-expanded="true"] .hm-td-show-all-icon {
  transform: rotate(180deg);
}

/* 3. Therapist Filter Grid on Mobile */
.hm-therapist-filter-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 20px auto 0 auto;
}

@media (min-width: 768px) {
  .hm-therapist-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: none;
    margin-top: 24px;
  }
}

.hm-filter-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  min-height: 56px;
  background-color: #ffffff;
  border: 1.5px solid rgba(229,236,231,0.9);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-color-dark);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  line-height: 1.25;
  width: 100%;
  box-shadow: 0 1px 4px rgba(12,29,42,0.04);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.hm-filter-pill:focus {
  outline: none;
}

.hm-filter-pill:focus-visible {
  outline: 2px solid var(--hm-color-primary);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .hm-filter-pill {
    min-height: 52px;
    font-size: 13.5px;
  }
  .hm-filter-pill[data-filter="all"] {
    grid-column: span 2;
    justify-content: center;
    padding: 10px 16px;
    min-height: 48px;
  }
}

@media (min-width: 768px) {
  .hm-filter-pill {
    width: auto;
    font-size: 14px;
    padding: 12px 20px;
    min-height: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hm-filter-pill:hover:not(.active) {
    border-color: rgba(60,198,102,0.4);
    box-shadow: 0 4px 14px rgba(60,198,102,0.1);
    transform: translateY(-2px);
    color: var(--hm-color-primary);
  }
}

.hm-filter-pill.is-pressed:not(.active) {
  background-color: #F0FDF4;
  border-color: rgba(60, 198, 102, 0.6);
  color: var(--hm-color-primary);
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(60, 198, 102, 0.15);
  transition: transform 0.08s ease, background-color 0.08s ease, border-color 0.08s ease;
}

.hm-filter-pill.active {
  background: var(--hm-gradient-primary);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 198, 102, 0.35);
}

/* ==========================================================================
   Gallery Grid & Mobile Slider with Fullscreen Lightbox Modal
   ========================================================================== */
.hm-gallery-section {
  padding: 40px 0;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .hm-gallery-section {
    padding: 60px 0;
  }
}

.hm-gallery-header {
  text-align: center;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hm-gallery-header {
    margin-bottom: 36px;
  }
}

/* Mobile Slider (Minimal space, smooth horizontal swipe with scroll snap) */
@media (max-width: 767px) {
  .hm-gallery-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 4px 16px 12px 16px;
    margin-left: -16px;
    margin-right: -16px;
    scrollbar-width: none; /* Firefox */
  }
  .hm-gallery-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }
  .hm-gallery-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: center;
    border: none !important;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(12, 29, 42, 0.08);
  }
}

/* Tablet & Desktop Grid */
@media (min-width: 768px) {
  .hm-gallery-grid {
    display: grid;
    gap: 18px;
  }
  .hm-gallery-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-gallery-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .hm-gallery-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .hm-gallery-card {
    border: none !important;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(12, 29, 42, 0.07);
  }
}

.hm-gallery-card {
  position: relative;
  overflow: hidden;
  background: #0C1D2A;
  border: none !important;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hm-gallery-card.aspect-square {
  aspect-ratio: 1 / 1;
}

.hm-gallery-card.aspect-natural {
  aspect-ratio: auto;
}

.hm-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(60, 198, 102, 0.18);
}

.hm-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-gallery-card:hover img {
  transform: scale(1.08);
}

/* Mobile swipe dots indicator */
.hm-gallery-mobile-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .hm-gallery-mobile-dots {
    display: none;
  }
}

.hm-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.25s ease;
}

.hm-gallery-dot.active {
  width: 18px;
  border-radius: 9999px;
  background: #3CC666;
}

.hm-gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 29, 42, 0.32);
  backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.hm-gallery-card:hover .hm-gallery-card-overlay {
  opacity: 1;
}

.hm-gallery-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0C1D2A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease;
}

.hm-gallery-card:hover .hm-gallery-card-icon {
  transform: scale(1);
}

.hm-gallery-card-icon:hover {
  background: #3CC666;
  color: #ffffff;
  transform: scale(1.1);
}

.hm-gallery-card-title,
.hm-lightbox-bottom-bar,
.hm-lightbox-caption {
  display: none !important;
}

/* Fullscreen Lightbox Modal */
.hm-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 18, 26, 0.95);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  user-select: none;
}

.hm-lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.hm-lightbox-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(8, 18, 26, 0.7) 0%, rgba(8, 18, 26, 0) 100%);
}

.hm-lightbox-counter {
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.hm-lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hm-lightbox-close-btn:hover {
  background: #ef4444;
  transform: scale(1.08);
}

.hm-lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.hm-lightbox-modal.is-open .hm-lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.hm-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.hm-lightbox-nav-btn:hover {
  background: #3CC666;
  transform: translateY(-50%) scale(1.1);
}

.hm-lightbox-nav-prev {
  left: 20px;
}

.hm-lightbox-nav-next {
  right: 20px;
}

@media (max-width: 767px) {
  .hm-lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }
  .hm-lightbox-nav-prev {
    left: 10px;
  }
  .hm-lightbox-nav-next {
    right: 10px;
  }
}

.hm-lightbox-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  text-align: center;
  color: #ffffff;
  z-index: 10;
  background: linear-gradient(to top, rgba(8, 18, 26, 0.8) 0%, rgba(8, 18, 26, 0) 100%);
}

.hm-lightbox-caption {
  font-size: 15px;
  color: #f1f5f9;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Floating Action Buttons (FAB) - Instagram, Call, WhatsApp
   ========================================================================== */
.hm-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  user-select: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform, opacity;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.hm-floating-actions.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(16px) translateZ(0) !important;
}

.hm-floating-actions.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) translateZ(0) !important;
}

@media (max-width: 639px) {
  .hm-floating-actions {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    gap: 10px;
  }
}

.hm-fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: none;
  outline: none;
}

@media (min-width: 640px) {
  .hm-fab-btn {
    width: 56px;
    height: 56px;
  }
}

.hm-fab-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 6px 12px rgba(0, 0, 0, 0.12);
  opacity: 0.96;
}

.hm-fab-btn:active {
  transform: scale(0.95);
}

.hm-fab-instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.hm-fab-call {
  background: var(--hm-color-primary, #3CC666);
}

.hm-fab-whatsapp {
  background: #25D366;
}

.hm-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #25D366;
  opacity: 0.4;
  animation: hmPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

.hm-fab-whatsapp:hover .hm-fab-pulse {
  animation: none;
}

@keyframes hmPing {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hm-fab-icon {
  display: block;
}

/* ==========================================================================
   Premium Hero Section (Service & Concern & generic pages)
   ========================================================================== */

.hm-hero-dark {
  background: var(--hm-gradient-hero);
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 48px) 0;
}

/* Glow orb top-right */
.hm-hero-dark::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60,198,102,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Glow orb bottom-left */
.hm-hero-dark::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,78,112,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hm-hero-dark > * {
  position: relative;
  z-index: 1;
}

/* Dark hero text overrides */
.hm-hero-dark .hm-hero-heading {
  color: #ffffff !important;
  font-size: clamp(1.75rem, 6vw, 3rem) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hm-hero-dark .hm-hero-subheading,
.hm-hero-dark p {
  color: rgba(255,255,255,0.8) !important;
}

.hm-hero-dark .hm-section-subtitle {
  color: rgba(255,255,255,0.72) !important;
}

/* ==========================================================================
   Premium Therapist Card Upgrades
   ========================================================================== */

.hm-therapist-card {
  background: #ffffff !important;
  border-radius: 20px;
  border: 1px solid #E5ECE7 !important;
  box-shadow: 0 6px 20px rgba(12, 29, 42, 0.04) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hm-therapist-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.1), 0 0 0 1px rgba(61, 198, 102, 0.35) !important;
  border-color: rgba(61, 198, 102, 0.4) !important;
}

/* Name and profile photo section: Darker matching color of theme brand #3DC666 */
.hm-t-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 22px 18px 22px;
  background: linear-gradient(145deg, #165b32 0%, #0d3b1f 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  min-width: 0;
  gap: 16px;
}

.hm-t-header-text,
.hm-t-card-header > div:first-child {
  flex: 1;
  min-width: 0;
}

.hm-t-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 4px 0;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-t-spec {
  font-size: 13px;
  font-weight: 600;
  color: #4ade80 !important;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-t-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-therapist-card:hover .hm-t-avatar {
  transform: scale(1.06);
}

.hm-t-card-body {
  padding: 20px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  background: #ffffff !important;
}

.hm-t-tags-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 52px;
}

.hm-t-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(61, 198, 102, 0.1) !important;
  border: 1px solid rgba(61, 198, 102, 0.2) !important;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0C1D2A !important;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hm-t-tag-pill:hover {
  background: rgba(61, 198, 102, 0.2) !important;
  border-color: rgba(61, 198, 102, 0.4) !important;
  color: #0C1D2A !important;
}

.hm-t-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-top: 1px solid #E5ECE7 !important;
  border-bottom: 1px solid #E5ECE7 !important;
  margin-top: auto;
}

.hm-t-lang-lbl {
  color: #627A8A !important;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hm-t-lang-val {
  color: #0C1D2A !important;
  font-weight: 600;
}

.hm-t-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hm-btn-t-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, #3DC666 0%, #1ea850 100%) !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(61, 198, 102, 0.35) !important;
  transition: all 0.25s ease;
  min-height: 42px;
}

.hm-btn-t-primary:hover {
  box-shadow: 0 6px 20px rgba(61, 198, 102, 0.5) !important;
  transform: translateY(-1px);
}

.hm-btn-t-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: transparent !important;
  color: #0C1D2A !important;
  border: 1.5px solid #0C1D2A !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  min-height: 42px;
}

.hm-btn-t-secondary:hover {
  background: rgba(12, 29, 42, 0.05) !important;
  border-color: #0C1D2A !important;
  color: #0C1D2A !important;
}

.hm-therapists-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (min-width: 540px) {
  .hm-therapists-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-therapists-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Premium Section Padding helper (Tightened & Balanced)
   ========================================================================== */

.hm-section-padded {
  padding: 24px 0;
  width: 100%;
}

@media (min-width: 768px) {
  .hm-section-padded {
    padding: 36px 0;
  }
}

/* Balanced spacing for Homepage Content Sections */
.hm-home-hero + #therapists,
.hm-home-hero + .hm-section-padded,
#therapists.hm-section-padded {
  padding-top: 24px;
  padding-bottom: 28px;
}

@media (min-width: 768px) {
  .hm-home-hero + #therapists,
  .hm-home-hero + .hm-section-padded,
  #therapists.hm-section-padded {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}

#services.hm-section-padded {
  padding-top: 28px;
  padding-bottom: 28px;
}

#contact-us.hm-section-padded {
  padding-top: 28px;
  padding-bottom: 24px;
}

@media (min-width: 768px) {
  #services.hm-section-padded {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  #contact-us.hm-section-padded {
    padding-top: 32px;
    padding-bottom: 28px;
  }
}

/* Concern Detail: Services Offered Block (Direct Visual Block, Single Column without Image) */
.hm-concern-services-offered-block.hm-section-padded,
.hm-concern-services-offered-block {
  background-color: #071511;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .hm-concern-services-offered-block.hm-section-padded,
  .hm-concern-services-offered-block {
    padding-top: 80px;
    padding-bottom: 88px;
  }
}

@media (min-width: 1024px) {
  .hm-concern-services-offered-block.hm-section-padded,
  .hm-concern-services-offered-block {
    padding-top: 92px;
    padding-bottom: 100px;
  }
}

/* FAQ Accordion Block */
.hm-faq-section {
  padding: 32px 0 36px 0;
  background-color: #ffffff;
  border-top: none;
}

.hm-faq-help-card {
  background: #ffffff;
}

@media (max-width: 767px) {
  .hm-faq-section {
    padding: 24px 0 28px 0;
  }
}

.hm-h2-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--hm-color-dark);
  line-height: 1.25;
  margin: 0 0 12px 0;
  text-align: center;
}

.hm-section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--hm-color-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* Dark section heading overrides */
.hm-section-bg-dark .hm-h2-title,
.hm-hero-dark .hm-h2-title {
  color: #ffffff;
}

.hm-section-bg-dark .hm-section-subtitle {
  color: rgba(255,255,255,0.72);
}

/* ==========================================================================
   Mobile UX Improvements
   ========================================================================== */

@media (max-width: 639px) {
  /* Targeted touch target heights for buttons and interactive controls */
  .hm-btn-primary,
  .hm-btn-secondary,
  .hm-fab-btn {
    min-height: 44px;
  }

  .hm-mobile-acc-header {
    min-height: 52px;
    font-size: 15px;
  }

  .hm-mobile-link {
    font-size: 15px;
    padding: 9px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hm-mobile-direct-link {
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  /* Hero mobile adjustments */
  .hm-hero-dark .hm-hero-heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
  }

  /* Therapist card mobile */
  .hm-t-avatar {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   Global Interactive Micro-Animations & Scroll-Reveal System
   ========================================================================== */

/* 1. Scroll-Reveal Classes */
.hm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hm-reveal.hm-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Keyframes */
@keyframes hmFloatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes hmPulseGlowSoft {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.03);
  }
}

/* 3. Hero Visual Breathing */
.hm-hero-grid:not(.hm-cpt-hero-grid) img {
  animation: hmFloatGentle 6s ease-in-out infinite;
}

/* Service & Concern Detail Hero: Animate entire image wrap (image + background glow + border) together in unison */
.hm-cpt-hero-image-wrap {
  animation: hmFloatGentle 6s ease-in-out infinite;
  will-change: transform;
}

/* Prevent inner image from animating independently inside the glowing frame */
.hm-cpt-hero-grid img,
.hm-cpt-hero-img {
  animation: none !important;
}

.hm-hero-glow-overlay {
  animation: hmPulseGlowSoft 8s ease-in-out infinite alternate;
}

/* 4. Interactive Card Micro-Animations */
.hm-why-card-v2 {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.hm-why-card-v2:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 20px 42px rgba(12, 29, 42, 0.09), 0 2px 10px rgba(60, 198, 102, 0.06) !important;
}

.hm-why-card-v2 .hm-why-icon-box {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hm-why-card-v2:hover .hm-why-icon-box {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Therapist Profile Cards Hover */
.hm-therapist-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.hm-therapist-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.1), 0 0 0 1px rgba(61, 198, 102, 0.35) !important;
  border-color: rgba(61, 198, 102, 0.4) !important;
}

.hm-therapist-card .hm-t-avatar,
.hm-therapist-card .hm-t-avatar-box img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-therapist-card:hover .hm-t-avatar,
.hm-therapist-card:hover .hm-t-avatar-box img {
  transform: scale(1.06);
}

.hm-therapist-card .hm-btn-t-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hm-therapist-card .hm-btn-t-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(61, 198, 102, 0.5);
}

/* Hub Cards (Services & Concerns) */
.hm-hub-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.hm-hub-card:hover {
  transform: translateY(-6px) !important;
}

.hm-hub-card .hm-hub-icon-box {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

.hm-hub-card:hover .hm-hub-icon-box {
  transform: scale(1.12) rotate(-4deg) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hm-hub-card .hm-hub-cta-row .material-symbols-outlined {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.hm-hub-card:hover .hm-hub-cta-row .material-symbols-outlined {
  transform: translateX(6px) !important;
}

/* Subgroup Item Cards on Concern Detail */
.hm-subgroup-item-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.hm-subgroup-item-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(12, 29, 42, 0.09) !important;
}

.hm-subgroup-item-card div[style*="border-radius:14px"] {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hm-subgroup-item-card:hover div[style*="border-radius:14px"] {
  transform: scale(1.1) rotate(-3deg);
}

/* Location Cards Hover */
.hm-location-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.hm-location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(12, 29, 42, 0.08);
  border-color: rgba(60, 198, 102, 0.35);
}

.hm-contact-btns-grid a {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease !important;
}

.hm-contact-btns-grid a:hover {
  transform: translateY(-2.5px) scale(1.02);
  filter: brightness(1.04);
}

/* FAQ Accordion Hover */
.hm-faq-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.hm-faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 29, 42, 0.06);
  border-color: rgba(60, 198, 102, 0.4);
}

.hm-faq-num-badge {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
}

.hm-faq-card:hover .hm-faq-num-badge {
  transform: scale(1.1);
}

/* Section Chips Hover */
.hm-section-chip {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.hm-section-chip:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(60, 198, 102, 0.15);
}

/* Navbar Interactive Link Underlines */
.hm-nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.hm-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--hm-color-primary, #3CC666);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-nav-link:hover::after {
  width: calc(100% - 24px);
  left: 12px;
}

/* Offer Card Hover */
.hm-offer-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.hm-offer-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 32px rgba(60, 198, 102, 0.15);
}

/* Stat Card Hover */
.hm-stat-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.hm-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(12, 29, 42, 0.08);
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .hm-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hm-hero-grid img,
  .hm-cpt-hero-img,
  .hm-cpt-hero-image-wrap,
  .hm-hero-glow-overlay {
    animation: none !important;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Combined "Our Clinics" & Interactive Photo Gallery Component
   ========================================================================== */

.hm-clinics-section {
  background-color: #ffffff;
}

.hm-clinic-header {
  text-align: center;
  margin-bottom: 24px;
}

.hm-clinic-tabs-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.hm-clinic-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  padding: 4px;
}

.hm-clinic-tab-btn {
  border-radius: 9999px;
  padding: 10px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid #0C2B22;
  background: #ffffff;
  color: #0C2B22;
  -webkit-tap-highlight-color: transparent;
}

.hm-clinic-tab-btn:hover {
  background: #f8fafc;
}

.hm-clinic-tab-btn.is-active {
  background: #0C2B22;
  color: #ffffff;
  border-color: #0C2B22;
  box-shadow: 0 4px 14px rgba(12, 43, 34, 0.18);
}

.hm-clinic-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  font-weight: 500;
  user-select: none;
}

.hm-clinic-pane {
  display: none;
}

.hm-clinic-pane.is-active {
  display: block;
  animation: hmFadeIn 0.3s ease;
}

.hm-clinic-split-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 520px;
  margin: 0 auto;
}

/* Mobile ordering matching reference screenshot 1:1 */
.hm-clinic-media-col {
  order: 1;
  width: 100%;
}

.hm-clinic-info-col {
  order: 2;
  width: 100%;
}

@media (min-width: 992px) {
  .hm-clinic-split-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
    max-width: 1160px;
  }

  .hm-clinic-info-col {
    order: 1;
  }

  .hm-clinic-media-col {
    order: 2;
  }

  .hm-clinic-swipe-hint {
    display: none;
  }
}

/* Gallery Slider Card */
.hm-clinic-slider-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 30px -6px rgba(12, 29, 42, 0.12);
  user-select: none;
  touch-action: pan-y;
}

.hm-clinic-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hm-clinic-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
  pointer-events: none;
  transform: scale(1.02);
}

.hm-clinic-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.hm-clinic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-clinic-zoom-trigger {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 29, 42, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}

.hm-clinic-zoom-trigger:hover {
  background: rgba(12, 29, 42, 0.9);
  transform: scale(1.08);
}

.hm-clinic-counter-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 29, 42, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  z-index: 3;
  pointer-events: none;
  letter-spacing: 0.04em;
}

.hm-clinic-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #0C2B22;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.hm-clinic-arrow-prev {
  left: 12px;
}

.hm-clinic-arrow-next {
  right: 12px;
}

.hm-clinic-arrow-btn:hover {
  background: #0C2B22;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.hm-clinic-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hm-clinic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hm-clinic-dot.is-active {
  background: var(--hm-color-primary, #3CC666);
  width: 22px;
  border-radius: 9999px;
}

/* Desktop Thumbnail Strip */
.hm-clinic-thumbs-strip {
  display: none;
}

@media (min-width: 992px) {
  .hm-clinic-thumbs-strip {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

.hm-clinic-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f1f5f9;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.hm-clinic-thumb.is-active,
.hm-clinic-thumb:hover {
  border-color: var(--hm-color-primary, #3CC666);
  opacity: 1;
  transform: translateY(-2px);
}

.hm-clinic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Embedded Map Layer (Exact gallery card space) */
.hm-clinic-map-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}

.hm-clinic-map-iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  position: relative !important;
  inset: auto !important;
}

.hm-clinic-view-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  background: #f8fafc;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hm-clinic-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hm-clinic-mode-btn.is-active {
  background: #ffffff;
  color: #0C2B22;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

/* Information Column Styles */
.hm-clinic-branch-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #0C2B22;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.hm-clinic-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.hm-clinic-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hm-clinic-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(60, 198, 102, 0.12);
  border: 1px solid rgba(60, 198, 102, 0.22);
  color: #0C2B22;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-clinic-icon-box .material-symbols-outlined {
  font-size: 22px;
  color: #0C2B22;
}

.hm-clinic-info-text-wrap {
  flex: 1;
}

.hm-clinic-info-label {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #0C2B22;
  margin-bottom: 3px;
}

.hm-clinic-info-val {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.hm-clinic-info-val a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.hm-clinic-info-val a:hover {
  color: var(--hm-color-primary, #3CC666);
  text-decoration: underline;
}

/* 2x2 Action Buttons Grid (Matches screenshot 1:1) */
.hm-clinic-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.hm-clinic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-sizing: border-box;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hm-btn-location,
.hm-btn-call {
  background: #ffffff;
  color: #0C2B22;
  border: 1.5px solid #0C2B22;
}

.hm-btn-location:hover,
.hm-btn-call:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.hm-location-card .hm-btn-whatsapp,
.hm-card .hm-btn-whatsapp {
  background: #ffffff;
  color: #0C2B22;
  border: 1.5px solid #0C2B22;
}

.hm-location-card .hm-btn-whatsapp svg,
.hm-card .hm-btn-whatsapp svg {
  color: #25D366;
  flex-shrink: 0;
}

.hm-location-card .hm-btn-whatsapp:hover,
.hm-card .hm-btn-whatsapp:hover {
  background: #f0fdf4;
  border-color: #25D366;
  color: #166534;
  transform: translateY(-1px);
}

.hm-btn-book {
  background: #3CC666;
  color: #ffffff !important;
  border: 1.5px solid #3CC666;
  box-shadow: 0 4px 14px rgba(60, 198, 102, 0.3);
}

.hm-btn-book:hover {
  background: #34b35b;
  border-color: #34b35b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 198, 102, 0.4);
}

/* Height stability when switching map / photos */
.hm-clinic-slider-wrap.is-map-active .hm-clinic-dots {
  visibility: hidden;
  pointer-events: none;
}

.hm-clinic-slider-wrap.is-map-active .hm-clinic-thumbs-strip {
  opacity: 0.85;
}

/* Lightbox Modal - True Fullscreen Viewport */
.hm-clinic-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(10, 25, 36, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 9999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
  opacity: 0;
  transition: opacity 0.25s ease;
  touch-action: none;
}

.hm-clinic-lightbox.is-open {
  display: flex !important;
  opacity: 1 !important;
}

.hm-clinic-lb-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  z-index: 10;
  color: #ffffff;
}

.hm-clinic-lb-counter {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.hm-clinic-lb-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.hm-clinic-lb-close:hover {
  transform: scale(1.15);
  color: #3CC666;
}

.hm-clinic-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.hm-clinic-lb-prev {
  left: 20px;
}

.hm-clinic-lb-next {
  right: 20px;
}

.hm-clinic-lb-arrow:hover {
  background: var(--hm-color-primary, #3CC666);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.hm-clinic-lb-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-clinic-lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Connect Consultation Section (In-Clinic & Online Options)
   ========================================================================== */
.hm-connect-section {
  background-color: var(--hm-color-surface-alt, #E8F0EB);
  padding: 44px 0 54px 0;
  border-top: 1px solid var(--hm-color-border-alt, #DFE8E1);
  border-bottom: 1px solid var(--hm-color-border-alt, #DFE8E1);
}

.hm-section-alt {
  background-color: var(--hm-color-surface-alt, #E8F0EB);
  border-top: 1px solid var(--hm-color-border-alt, #DFE8E1);
  border-bottom: 1px solid var(--hm-color-border-alt, #DFE8E1);
}

.hm-connect-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.hm-connect-header {
  text-align: center;
  margin-bottom: 32px;
}

.hm-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hm-connect-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #E5ECE7;
  border-radius: 20px;
  padding: 32px 28px 26px 28px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(12, 29, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hm-connect-card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 198, 102, 0.5);
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.08), 0 2px 10px rgba(60, 198, 102, 0.08);
}

.hm-connect-card:focus-visible {
  outline: 3px solid #3CC666;
  outline-offset: 3px;
}

.hm-connect-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #EDF7F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #0E4426;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.hm-connect-card:hover .hm-connect-icon-box {
  transform: scale(1.05);
  background-color: #E2F3E7;
}

.hm-connect-card-title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.hm-connect-card:hover .hm-connect-card-title {
  color: #0E4426;
}

.hm-connect-card-desc {
  font-family: inherit;
  font-size: 14.5px;
  color: #627A8A;
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex: 1;
}

.hm-connect-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 236, 231, 0.5);
}

.hm-connect-action-text {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #0C1D2A;
  transition: color 0.2s ease;
}

.hm-connect-card:hover .hm-connect-action-text {
  color: #0E4426;
}

.hm-connect-arrow {
  font-size: 20px;
  font-weight: 500;
  color: #B88728;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-connect-card:hover .hm-connect-arrow {
  transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .hm-connect-section {
    padding: 32px 0 42px 0;
  }

  .hm-connect-container {
    padding: 0 20px;
  }

  .hm-connect-header {
    margin-bottom: 24px;
  }

  .hm-connect-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hm-connect-card {
    padding: 24px 20px 20px 20px;
    border-radius: 18px;
  }

  .hm-connect-icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .hm-connect-card-title {
    font-size: 19px;
  }

  .hm-connect-card-desc {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hm-connect-action-text {
    font-size: 14.5px;
  }

  .hm-connect-arrow {
    font-size: 20px;
  }
}

/* ==========================================================================
   Request a Callback Drawer Modal & Form Component (HelloMind Design System)
   ========================================================================== */

/* Lock body scrolling when drawer is active */
body.hm-drawer-lock-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* Modal Root Container */
.hm-callback-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.35s ease;
}

.hm-callback-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* Backdrop Overlay with blur */
.hm-callback-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 29, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hm-callback-modal.is-open .hm-callback-backdrop {
  opacity: 1;
}

/* Drawer Sliding Panel */
.hm-callback-drawer-panel {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.hm-cb-drawer-box {
  pointer-events: auto;
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  box-shadow: -12px 0 45px rgba(12, 29, 42, 0.18), 0 0 0 1px rgba(12, 29, 42, 0.05);
  padding: 24px 20px 28px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

@media (min-width: 640px) {
  .hm-cb-drawer-box {
    max-width: 500px;
    padding: 32px 28px 36px 28px;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
  }
}

.hm-callback-modal.is-open .hm-cb-drawer-box {
  transform: translateX(0);
}

/* Header inside drawer */
.hm-cb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--hm-color-border, #E5ECE7);
  flex-shrink: 0;
}

.hm-cb-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hm-cb-brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(60, 198, 102, 0.12);
  color: var(--hm-color-primary, #3CC666);
  border: 1px solid rgba(60, 198, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-cb-brand-badge .material-symbols-outlined {
  font-size: 24px;
}

.hm-cb-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin: 0 0 3px 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hm-cb-title {
    font-size: 22px;
  }
}

.hm-cb-subtitle {
  font-size: 13px;
  color: var(--hm-color-muted, #627A8A);
  margin: 0;
  line-height: 1.4;
}

.hm-cb-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  color: var(--hm-color-muted, #627A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.hm-cb-close-btn .material-symbols-outlined {
  font-size: 20px;
}

.hm-cb-close-btn:hover {
  background-color: var(--hm-color-dark, #0C1D2A);
  border-color: var(--hm-color-dark, #0C1D2A);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Form Container */
.hm-cb-form {
  display: block;
  width: 100%;
}

/* Explicit Form Group Spacing (Ensures clean separation between all fields) */
.hm-cb-form-group {
  margin-bottom: 20px !important;
  width: 100%;
  box-sizing: border-box;
}

.hm-cb-form-group:last-of-type {
  margin-bottom: 0 !important;
}

/* Privacy & Anonymous Card */
.hm-cb-anon-card {
  background: linear-gradient(145deg, rgba(60, 198, 102, 0.06) 0%, rgba(248, 250, 248, 0.95) 100%);
  border: 1.5px solid rgba(60, 198, 102, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.hm-cb-anon-card:hover {
  border-color: rgba(60, 198, 102, 0.38);
  background: rgba(60, 198, 102, 0.08);
}

.hm-cb-anon-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(60, 198, 102, 0.15);
  color: var(--hm-color-primary, #3CC666);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-cb-anon-icon .material-symbols-outlined {
  font-size: 20px;
}

.hm-cb-anon-text {
  flex: 1;
  min-width: 0;
}

.hm-cb-anon-row {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.hm-cb-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--hm-color-primary, #3CC666);
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.hm-cb-anon-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hm-color-dark, #0C1D2A);
  user-select: none;
  cursor: pointer;
  line-height: 1.3;
}

.hm-cb-anon-sub {
  font-size: 12px;
  color: var(--hm-color-muted, #627A8A);
  margin: 4px 0 0 0;
  line-height: 1.45;
}

/* First and Last Name Grid */
.hm-cb-names-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  transition: opacity 0.25s ease;
  width: 100%;
}

@media (max-width: 479px) {
  .hm-cb-names-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.hm-cb-field-col {
  width: 100%;
}

/* Labels */
.hm-cb-label {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--hm-color-dark, #0C1D2A) !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.35 !important;
}

.hm-cb-req {
  color: #ef4444 !important;
  font-weight: 700 !important;
  margin-left: 2px !important;
}

.hm-cb-optional {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: var(--hm-color-muted, #627A8A) !important;
  margin-left: 4px !important;
}

/* Input Fields & Textareas */
.hm-cb-input,
.hm-cb-select {
  height: 48px !important;
  padding: 0 16px !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  color: var(--hm-color-dark, #0C1D2A) !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--hm-color-border, #E5ECE7) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.hm-cb-textarea {
  min-height: 104px !important;
  padding: 12px 16px !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: var(--hm-color-dark, #0C1D2A) !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--hm-color-border, #E5ECE7) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  resize: vertical !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.hm-cb-input::placeholder,
.hm-cb-textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.hm-cb-input:focus,
.hm-cb-textarea:focus,
.hm-cb-select:focus {
  outline: none !important;
  border-color: var(--hm-color-primary, #3CC666) !important;
  box-shadow: 0 0 0 3px rgba(60, 198, 102, 0.18) !important;
  background-color: #ffffff !important;
}

/* Phone Number with Country Select */
.hm-cb-phone-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.hm-cb-select {
  width: 110px !important;
  flex: 0 0 110px !important;
  font-weight: 500 !important;
  padding: 0 10px 0 12px !important;
  background-color: var(--hm-color-surface-soft, #F8FAF8) !important;
  cursor: pointer !important;
}

.hm-cb-phone-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Action Buttons Row */
.hm-cb-actions-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 26px !important;
  margin-bottom: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Cancel Button: Compact, fixed-width pill that NEVER stretches to full-width */
.hm-cb-btn-cancel {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 96px !important;
  max-width: 110px !important;
  height: 48px !important;
  padding: 0 20px !important;
  border-radius: 9999px !important;
  border: 1.5px solid var(--hm-color-border, #E5ECE7) !important;
  background-color: #ffffff !important;
  color: var(--hm-color-dark, #0C1D2A) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  line-height: normal !important;
  text-decoration: none !important;
}

.hm-cb-btn-cancel:hover {
  background-color: var(--hm-color-surface-soft, #F8FAF8) !important;
  border-color: var(--hm-color-primary, #3CC666) !important;
  color: var(--hm-color-primary, #3CC666) !important;
}

.hm-cb-btn-cancel:active {
  transform: scale(0.98);
}

/* Submit Button: Expands to fill remaining row width, never wraps text */
.hm-cb-btn-submit {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 48px !important;
  padding: 0 20px !important;
  border-radius: 9999px !important;
  background: var(--hm-gradient-primary, linear-gradient(135deg, #3CC666 0%, #1ea850 100%)) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 18px rgba(60, 198, 102, 0.35) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  box-sizing: border-box !important;
  line-height: normal !important;
  text-decoration: none !important;
}

.hm-cb-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(60, 198, 102, 0.45) !important;
}

.hm-cb-btn-submit:active:not(:disabled) {
  transform: scale(0.98) !important;
}

.hm-cb-btn-submit:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}


/* Alert Notification */
.hm-cb-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 20px;
  line-height: 1.45;
  font-weight: 500;
  box-sizing: border-box;
}

.hm-cb-alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.hm-cb-alert-success {
  background-color: var(--hm-color-surface-success, #EEF8F1);
  border: 1px solid rgba(60, 198, 102, 0.35);
  color: #166534;
}

/* Spinner */
.hm-cb-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: hmSpin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes hmSpin {
  to { transform: rotate(360deg); }
}

/* Success Confirmation Screen */
.hm-cb-success-view {
  text-align: center;
  padding: 40px 16px 20px 16px;
}

.hm-cb-success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(60, 198, 102, 0.12);
  border: 2px solid rgba(60, 198, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.hm-cb-success-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.hm-cb-success-desc {
  font-size: 14.5px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 26px auto;
}

/* ==========================================================================
   HelloMind 404 Not Found Page (Minimal & Clean)
   ========================================================================== */

.hm-404-page {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 100px 24px 120px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-404-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hm-404-code {
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 800;
  line-height: 1;
  color: var(--hm-color-primary, #3CC666);
  letter-spacing: -0.04em;
  margin: 0 0 16px 0;
}

.hm-404-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.hm-404-desc {
  font-size: 16px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 32px auto;
}

.hm-404-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hm-404-page {
    padding: 70px 20px 90px;
  }

  .hm-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .hm-404-actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   HelloMind Blog & Events Archives (Client UI Mockup Match)
   ========================================================================== */

.hm-archive-page {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  min-height: 70vh;
}

/* Blog Archive Hero (Mint background matching client mockup) */
.hm-blog-hero {
  padding: 68px 24px 52px;
  text-align: center;
  border-bottom: 1px solid #E2EFE7;
  background-color: #F4FBF7;
}

.hm-blog-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1F573C;
  margin-bottom: 14px;
}

.hm-blog-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #0F241B;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 740px;
  margin: 0 auto 14px auto;
}

.hm-blog-hero-subtitle {
  font-size: 16px;
  color: #4A5E53;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 28px auto;
}

/* Category Filter Pills */
.hm-blog-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hm-filter-pill {
  background: #FFFFFF;
  border: 1px solid #D5E2D9;
  color: #33473D;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 9999px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
  .hm-filter-pill:hover:not(.is-active) {
    border-color: #1F573C;
    color: #1F573C;
    background-color: #F7FBF8;
  }
}

.hm-filter-pill.is-active {
  background-color: #1F573C !important;
  border-color: #1F573C !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(31, 87, 60, 0.25);
}

.hm-blog-body {
  padding: 52px 24px 80px;
}

/* Section Header (Title + Count Badge) */
.hm-blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding: 0 2px;
}

.hm-blog-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F241B;
  letter-spacing: -0.01em;
  margin: 0;
}

.hm-blog-count-label {
  font-size: 14px;
  font-weight: 500;
  color: #6B7B73;
}

/* 3-Column Responsive Grid */
.hm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.hm-blog-card {
  background: #FFFFFF;
  border: 1px solid #E5ECE7;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.hm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 36, 27, 0.08);
  border-color: #BDD8C7;
}

.hm-blog-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #EEF4F0;
  overflow: hidden;
  text-decoration: none;
}

.hm-blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hm-blog-card:hover .hm-blog-card-img {
  transform: scale(1.04);
}

.hm-blog-card-content {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-blog-card-tag {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1F573C;
  margin-bottom: 10px;
}

.hm-blog-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #0F241B;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.hm-blog-card-title a {
  color: #0F241B !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.hm-blog-card:hover .hm-blog-card-title a,
.hm-blog-card-title a:hover {
  color: #1F573C !important;
}

.hm-blog-card-excerpt {
  font-size: 14px;
  color: #5C6B63;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.hm-blog-card-divider {
  border-top: 1px solid #EEF3F0;
  margin-bottom: 16px;
}

.hm-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.hm-blog-card-author {
  display: flex;
  flex-direction: column;
}

.hm-blog-card-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F241B;
  line-height: 1.25;
}

.hm-blog-card-author-role {
  font-size: 12px;
  color: #6B7B73;
  margin-top: 2px;
}

.hm-blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1F573C !important;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

.hm-blog-card:hover .hm-blog-card-link,
.hm-blog-card-link:hover {
  gap: 9px;
}

.hm-blog-arrow {
  transition: transform 0.2s ease;
}

.hm-blog-card:hover .hm-blog-arrow {
  transform: translateX(2px);
}

.hm-blog-link-desktop {
  display: inline;
}

.hm-blog-link-mobile {
  display: none;
}

/* ==========================================================================
   Single Blog Post Page (Client UI Mockup Match - 2 Column Layout)
   ========================================================================== */

.hm-blog-single-page {
  background: #FFFFFF;
  min-height: 70vh;
}

.hm-blog-single-header {
  padding: 48px 24px 28px;
  background-color: transparent;
}

.hm-blog-single-container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.hm-single-post-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Breadcrumbs */
.hm-blog-breadcrumbs {
  font-size: 13px;
  color: #6B7B73;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hm-blog-breadcrumbs a {
  color: #5C6B63 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.hm-blog-breadcrumbs a:hover {
  color: #1F573C !important;
}

.hm-bc-sep {
  opacity: 0.5;
}

.hm-bc-current {
  color: #1F573C;
  font-weight: 600;
}

/* Single Post Title & Subtitle */
.hm-blog-single-title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  color: #0F241B;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  max-width: 900px;
}

.hm-blog-single-subtitle {
  font-size: 16.5px;
  color: #4A5E53;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-weight: 400;
  max-width: 860px;
}

/* Author Bar */
.hm-blog-single-author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hm-blog-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #D1FAE5;
  color: #065F46;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.hm-blog-author-meta {
  display: flex;
  flex-direction: column;
}

.hm-blog-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F241B;
  line-height: 1.25;
}

.hm-blog-author-role {
  font-size: 12.5px;
  color: #6B7B73;
  margin-top: 2px;
}

/* 2-Column Article & Sidebar Layout */
.hm-blog-single-body {
  padding: 16px 24px 80px;
}

.hm-blog-layout-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.hm-blog-main-column {
  min-width: 0;
}

.hm-blog-sidebar-column {
  position: relative;
}

.hm-blog-sidebar-sticky {
  position: sticky;
  top: 96px;
}

/* Hero Image placed at the top of left main column */
.hm-blog-single-hero-wrap {
  width: 100%;
  margin-bottom: 32px;
}

.hm-blog-single-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Article Body & Typography */
.hm-article-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: #2D3E35;
}

.hm-article-content p {
  margin: 0 0 20px 0;
  color: #2D3E35;
}

.hm-article-content h2 {
  font-size: 25px;
  font-weight: 800;
  color: #1F573C !important;
  line-height: 1.3;
  margin: 40px 0 16px 0;
  letter-spacing: -0.01em;
}

.hm-article-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1F573C;
  line-height: 1.35;
  margin: 28px 0 10px 0;
}

/* Custom Green Bullet List Dots matching client mockup */
.hm-article-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 16px 0 28px 0 !important;
}

.hm-article-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.65;
  color: #2D3E35;
}

.hm-article-content ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: -1px;
  color: #1F573C;
  font-size: 12px;
}

.hm-article-content blockquote {
  border-left: 4px solid #1F573C;
  background: #F4FBF7;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #1F3E2F;
  margin: 32px 0;
  line-height: 1.7;
}

/* Inline Article Figures */
.hm-article-figure {
  margin: 36px 0;
  width: 100%;
}

.hm-article-inline-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Need Support? Right Sidebar Card */
.hm-blog-support-card {
  background: #FFFFFF;
  border: 1px solid #D9E5DE;
  border-radius: 16px;
  padding: 28px 24px;
  margin: 0;
  text-align: left;
  box-shadow: 0 4px 20px rgba(15, 36, 27, 0.04);
}

.hm-blog-support-title {
  font-size: 21px;
  font-weight: 800;
  color: #0F241B;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.hm-blog-support-desc {
  font-size: 14.5px;
  color: #5C6B63;
  margin: 0 0 20px 0;
  line-height: 1.55;
}

.hm-blog-support-btn {
  width: 100%;
  background-color: #1F573C !important;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}

.hm-blog-support-btn:hover {
  background-color: #17422E !important;
  transform: translateY(-1px);
}

.hm-blog-sidebar-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #EEF3F0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hm-blog-sidebar-meta-item {
  font-size: 13px;
  color: #6B7B73;
  line-height: 1.4;
}

.hm-blog-sidebar-meta-item a {
  color: #1F573C !important;
  text-decoration: none !important;
  font-weight: 600;
}

.hm-blog-sidebar-meta-item a:hover {
  text-decoration: underline !important;
}

/* Legacy Events Archive Styles preserved */
.hm-archive-hero {
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--hm-color-border, #E5ECE7);
  background-color: #ffffff;
}

.hm-archive-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-color-primary, #3CC666);
  margin-bottom: 12px;
}

.hm-archive-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--hm-color-dark, #0C1D2A);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.hm-archive-subtitle {
  font-size: 16px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.hm-archive-body {
  padding: 60px 24px 80px;
}

.hm-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.hm-archive-card {
  background: #ffffff;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hm-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(12, 29, 42, 0.07);
  border-color: rgba(60, 198, 102, 0.35);
}

.hm-archive-card-image-wrap,
.hm-archive-card-image-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #F1F5F2;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.hm-archive-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.hm-archive-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  color: #166534;
}

.hm-event-placeholder {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  color: #0F766E;
}

.hm-archive-card-placeholder .material-symbols-outlined {
  font-size: 40px;
  opacity: 0.7;
}

.hm-archive-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-archive-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-color-muted, #627A8A);
  margin-bottom: 10px;
}

.hm-archive-card-cat {
  color: var(--hm-color-primary, #3CC666);
}

.hm-archive-card-dot {
  opacity: 0.5;
}

.hm-archive-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  color: var(--hm-color-dark, #0C1D2A);
  transition: color 0.2s ease;
}

.hm-archive-card:hover .hm-archive-card-title,
.hm-archive-card-title a:hover {
  color: var(--hm-color-primary, #3CC666) !important;
}

.hm-archive-card-excerpt {
  font-size: 14.5px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.6;
  margin: 0 0 18px 0;
  flex: 1;
}

.hm-archive-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hm-color-primary, #3CC666) !important;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.hm-archive-card:hover .hm-archive-card-link,
.hm-archive-card-link:hover {
  gap: 10px;
}

.hm-archive-card-link .material-symbols-outlined {
  font-size: 16px;
}

/* Pagination */
.hm-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.hm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  color: var(--hm-color-dark, #0C1D2A);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.hm-pagination .page-numbers:hover,
.hm-pagination .page-numbers.current {
  background: #1F573C;
  border-color: #1F573C;
  color: #ffffff;
}

/* Empty State */
.hm-empty-state {
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 20px;
  padding: 48px 32px;
}

.hm-empty-icon {
  font-size: 48px;
  color: var(--hm-color-muted, #627A8A);
  opacity: 0.6;
  margin-bottom: 16px;
  display: inline-block;
}

.hm-empty-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.hm-empty-desc {
  font-size: 15px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.6;
  margin: 0 0 26px 0;
}

.hm-empty-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive Breakpoints matching client mockups */
@media (max-width: 1024px) {
  .hm-blog-grid,
  .hm-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hm-blog-layout-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hm-blog-sidebar-sticky {
    position: static;
  }

  .hm-blog-sidebar-card {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .hm-blog-hero {
    padding: 40px 16px 32px;
  }

  .hm-blog-hero-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .hm-blog-hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 22px;
  }

  .hm-blog-filter-pills {
    gap: 8px;
  }

  .hm-filter-pill {
    font-size: 13px;
    padding: 7px 16px;
  }

  .hm-blog-body {
    padding: 32px 16px 64px;
  }

  .hm-blog-section-header {
    margin-bottom: 20px;
  }

  .hm-blog-section-title {
    font-size: 22px;
  }

  .hm-blog-count-label {
    font-size: 13px;
  }

  .hm-blog-grid,
  .hm-archive-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hm-blog-card-content {
    padding: 18px 18px 16px;
  }

  .hm-blog-link-desktop {
    display: none;
  }

  .hm-blog-link-mobile {
    display: inline;
  }

  .hm-blog-single-header {
    padding: 32px 16px 16px;
  }

  .hm-blog-single-title {
    font-size: 26px;
    line-height: 1.25;
  }

  .hm-blog-single-subtitle {
    font-size: 14.5px;
  }

  .hm-blog-single-body {
    padding: 0 16px 64px;
  }

  .hm-blog-support-card {
    padding: 24px 20px;
  }

  .hm-empty-state {
    padding: 36px 20px;
  }

  .hm-empty-actions {
    flex-direction: column;
    width: 100%;
  }

  .hm-empty-actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Legal & Standard Content Pages (Privacy Policy, Terms, etc.)
   ========================================================================== */
.hm-legal-page-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 56px 20px 88px;
  width: 100% !important;
  box-sizing: border-box;
}

.hm-legal-card,
.wp-block-post-content > .hm-legal-card {
  max-width: 860px !important;
  width: 100% !important;
  margin: 0 auto !important;
  background-color: #ffffff;
  padding: 48px 48px;
  border-radius: 20px;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  box-shadow: 0 4px 24px rgba(12, 29, 42, 0.04);
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 768px) {
  .hm-legal-page-section {
    padding: 36px 14px 64px;
  }
  .hm-legal-card,
  .wp-block-post-content > .hm-legal-card {
    padding: 32px 20px;
    border-radius: 16px;
  }
}

/* Badge */
.hm-legal-badge,
p.hm-legal-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(60, 198, 102, 0.12);
  color: #3CC666;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Headings inside Legal Card */
.hm-legal-card h1,
.hm-legal-card .wp-block-heading:is(h1),
.hm-legal-card > h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0C1D2A;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 24px;
}

.hm-legal-card h2,
.hm-legal-card .wp-block-heading:is(h2) {
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #0C1D2A;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F0F4F1;
}

.hm-legal-card h3,
.hm-legal-card .wp-block-heading:is(h3) {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0C1D2A;
  line-height: 1.35;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Paragraphs & Text inside Legal Card */
.hm-legal-card p,
.hm-legal-card .wp-block-paragraph {
  font-size: 15px;
  color: #4A6375;
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 18px;
}

.hm-legal-card p:last-child {
  margin-bottom: 0;
}

/* Lists inside Legal Card */
.hm-legal-card ul,
.hm-legal-card ol,
.hm-legal-card .wp-block-list {
  padding-left: 24px;
  margin-top: 0;
  margin-bottom: 22px;
  color: #4A6375;
  line-height: 1.7;
}

.hm-legal-card li,
.hm-legal-card .wp-block-list-item {
  margin-bottom: 8px;
  font-size: 15px;
}

.hm-legal-card li:last-child {
  margin-bottom: 0;
}

/* Links inside Legal Card */
.hm-legal-card a {
  color: #3CC666;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hm-legal-card a:hover {
  color: #2EA853;
}

/* Separators */
.hm-legal-card hr,
.hm-legal-card .wp-block-separator {
  border: 0;
  border-top: 1px solid #E5ECE7;
  margin: 32px 0;
}

/* Tables */
.hm-legal-card .wp-block-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 12px;
  border: 1px solid #E5ECE7;
  box-shadow: 0 1px 4px rgba(12, 29, 42, 0.04);
  background: #ffffff;
}

.hm-legal-card table,
.hm-legal-card .wp-block-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.hm-legal-card .wp-block-table table.has-fixed-layout {
  table-layout: auto !important;
}

.hm-legal-card th,
.hm-legal-card td {
  padding: 14px 16px;
  border: 1px solid #E5ECE7;
  text-align: left;
  vertical-align: top;
}

.hm-legal-card th {
  background: #F8FAF8;
  font-weight: 600;
  color: #0C1D2A;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hm-legal-card tbody tr:nth-child(even) td {
  background-color: #FAFCFA;
}

.hm-legal-card tbody tr:hover td {
  background-color: rgba(60, 198, 102, 0.04);
}

/* Custom smooth scrollbar for tables */
.hm-legal-card .wp-block-table::-webkit-scrollbar {
  height: 6px;
}
.hm-legal-card .wp-block-table::-webkit-scrollbar-track {
  background: #F1F5F2;
  border-radius: 3px;
}
.hm-legal-card .wp-block-table::-webkit-scrollbar-thumb {
  background: #C4D4C8;
  border-radius: 3px;
}
.hm-legal-card .wp-block-table::-webkit-scrollbar-thumb:hover {
  background: #9DB4A3;
}

@media (max-width: 768px) {
  .hm-legal-card .wp-block-table {
    margin: 20px 0;
  }
  .hm-legal-card table,
  .hm-legal-card .wp-block-table table {
    min-width: 500px;
    font-size: 13px;
  }
  .hm-legal-card th,
  .hm-legal-card td {
    padding: 10px 12px;
  }
}

/* Editor Specific Tweaks */
.editor-styles-wrapper .hm-legal-page-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 40px 20px 60px;
}

.editor-styles-wrapper .hm-legal-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 48px 48px;
  border-radius: 20px;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  box-shadow: 0 4px 24px rgba(12, 29, 42, 0.04);
}

/* Fallback: Constrain simple standard pages in post-content (exempts block editor & full-width SEO layouts) */
body:not(.block-editor-page):not(.editor-styles-wrapper) .wp-block-post-content:not(:has(.hm-home-hero)):not(:has(.hm-section-padded)):not(:has(.hm-legal-page-section)):not(:has(.hm-seo-intro-section)):not(:has(.hm-split-section)):not(:has(.hm-signs-section)):not(:has(.alignfull)) {
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 56px 20px 88px !important;
}

/* ──────────────────────────────────────────────────
   SEO Introduction Pattern Styles
   ────────────────────────────────────────────────── */
.hm-seo-intro-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 72px 0 64px;
  position: relative;
}

.hm-seo-intro-header,
.hm-seo-header-wrap {
  max-width: 1020px;
  margin: 0 auto 36px auto;
  text-align: center;
}

.hm-seo-text-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .hm-seo-text-columns {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.hm-seo-text-col p {
  font-size: 1.025rem;
  line-height: 1.75;
  color: var(--hm-color-dark, #0C1D2A);
  margin-bottom: 16px;
}

.hm-seo-text-col p:last-child {
  margin-bottom: 0;
}

.hm-seo-lead-p {
  font-size: 1.125rem !important;
  font-weight: 500;
  line-height: 1.75 !important;
  color: var(--hm-color-dark, #0C1D2A);
}

.hm-seo-why-box {
  background: var(--hm-color-surface, #FFFFFF);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: var(--hm-shadow-card, 0 2px 12px rgba(12,29,42,0.07));
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .hm-seo-why-box {
    padding: 44px 40px;
  }
}

.hm-seo-why-header {
  margin-bottom: 32px;
  text-align: center;
}

.hm-seo-h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin: 0 0 8px 0;
}

.hm-seo-subtitle {
  color: var(--hm-color-muted, #627A8A);
  font-size: 0.95rem;
  margin: 0;
}

.hm-seo-pillars-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

@media (min-width: 640px) {
  .hm-seo-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .hm-seo-pillars-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.hm-seo-pillar-card {
  background: var(--hm-color-surface-soft, #F8FAF8);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 16px;
  padding: 24px 20px;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hm-seo-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(12, 29, 42, 0.08);
  border-color: rgba(60, 198, 102, 0.4);
}

.hm-seo-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(60, 198, 102, 0.12);
  color: var(--hm-color-primary, #3CC666);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hm-seo-pillar-card:hover .hm-seo-icon-wrap {
  transform: scale(1.1);
  background: var(--hm-color-primary, #3CC666);
  color: #ffffff;
}

.hm-seo-pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.hm-seo-pillar-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hm-color-muted, #627A8A);
  margin: 0;
}

.hm-seo-cta-banner {
  background: linear-gradient(135deg, rgba(60,198,102,0.08) 0%, rgba(35,78,112,0.06) 100%);
  border: 1px solid rgba(60,198,102,0.28);
  border-radius: 20px;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .hm-seo-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
  }
}

.hm-seo-cta-text {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--hm-color-dark, #0C1D2A);
  margin: 0;
  max-width: 680px;
}

.hm-seo-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hm-seo-cta-buttons .hm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hm-color-dark, #0C1D2A) !important;
  background: #ffffff;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hm-seo-cta-buttons .hm-btn-secondary:hover {
  background: var(--hm-color-surface-soft, #F8FAF8);
  border-color: var(--hm-color-primary, #3CC666);
  color: var(--hm-color-primary, #3CC666) !important;
}

/* ──────────────────────────────────────────────────
   HelloMind SEO Landing Page Components (From seo-components-demo.html)
   ────────────────────────────────────────────────── */

/* 1. Two-Column Split Sections (Media & Text / Text & Media) */
.hm-split-section {
  background-color: var(--hm-color-surface, #FFFFFF);
  padding: 64px 0;
  border-bottom: 1px solid var(--hm-color-border, #E5ECE7);
}

.hm-split-section--alt {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
}

.hm-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .hm-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
  }
}

.hm-split-media {
  width: 100%;
  height: 100%;
  display: flex;
}

.hm-split-image-card {
  position: relative;
  background: linear-gradient(145deg, #F0F6F2 0%, #FFFFFF 100%);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 24px;
  padding: 0;
  box-shadow: var(--hm-shadow-card, 0 2px 12px rgba(12,29,42,0.06));
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-split-image-card:hover {
  box-shadow: var(--hm-shadow-card-hover, 0 12px 36px rgba(12,29,42,0.08));
}

.hm-split-image-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.hm-media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(12, 29, 42, 0.90);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 2;
}

.hm-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--hm-color-primary, #3CC666);
  display: inline-block;
}

.hm-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-split-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: var(--hm-color-dark, #0C1D2A);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hm-split-heading span {
  color: var(--hm-color-primary, #3CC666);
}

.hm-split-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
}

.hm-split-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hm-split-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hm-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EEF8F1;
  color: var(--hm-color-primary, #3CC666);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
}

.hm-feature-icon .material-symbols-outlined {
  font-size: 15px;
}

.hm-split-feature-list strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin-bottom: 2px;
}

.hm-split-feature-list p {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.hm-split-feature-list--cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hm-split-feature-list--cards li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(12, 29, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hm-split-feature-list--cards li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 29, 42, 0.06);
  border-color: rgba(60, 198, 102, 0.4);
}

.hm-split-feature-list--cards .hm-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.hm-split-feature-list--cards .hm-feature-icon .material-symbols-outlined {
  font-size: 22px;
}

.hm-split-feature-list--cards strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin-bottom: 4px;
}

.hm-split-feature-list--cards p {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

.hm-split-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hm-btn-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hm-btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .hm-split-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hm-btn-whatsapp,
  .hm-split-actions .hm-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* 2. Signs & Symptoms Checklist */
.hm-signs-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 60px 0;
  border-top: 1px solid var(--hm-color-border, #E5ECE7);
  border-bottom: 1px solid var(--hm-color-border, #E5ECE7);
}

@media (min-width: 768px) {
  .hm-signs-section {
    padding: 72px 0;
  }
}

.hm-signs-section .hm-section-header,
.hm-process-section .hm-section-header,
.hm-why-choose-section .hm-section-header,
.hm-first-session-section .hm-section-header {
  margin-bottom: 36px;
  max-width: 760px;
}

.hm-signs-section .hm-section-title,
.hm-process-section .hm-section-title,
.hm-why-choose-section .hm-section-title,
.hm-first-session-section .hm-section-title,
.hm-faq-section .hm-section-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--hm-color-dark, #0C1D2A);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hm-signs-section .hm-section-subtitle,
.hm-why-choose-section .hm-section-subtitle {
  font-size: 15px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.6;
}

.hm-signs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .hm-signs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-sign-card--full {
    grid-column: 1 / -1;
  }
}

.hm-sign-card {
  background: #FFFFFF;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(12, 29, 42, 0.03);
}

.hm-sign-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hm-color-surface-success, #EEF8F1);
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hm-sign-check .material-symbols-outlined {
  font-size: 16px;
}

.hm-sign-content {
  font-size: 14.5px;
  color: #1E293B;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.hm-sign-card h3,
.hm-sign-card .hm-process-step-title,
.hm-sign-card .hm-sign-title {
  font-size: 16px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.hm-sign-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.hm-reassurance-card {
  background: #FFFFFF;
  border-left: 4px solid var(--hm-color-primary, #3CC666);
  border-radius: 0 10px 10px 0;
  padding: 18px 24px;
  border-top: 1px solid var(--hm-color-border, #E5ECE7);
  border-right: 1px solid var(--hm-color-border, #E5ECE7);
  border-bottom: 1px solid var(--hm-color-border, #E5ECE7);
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
}

.hm-reassurance-card--danger,
.hm-reassurance-card[style*="DC2626"],
.hm-reassurance-card[style*="rgb(220, 38, 38)"] {
  border-left-color: #DC2626 !important;
}

/* 3. How Sessions Work (Process) */
.hm-process-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .hm-process-section {
    padding: 72px 0;
  }
}

.hm-process-intro-text {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 820px;
}

.hm-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .hm-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-process-step {
  background: var(--hm-color-surface-soft, #F8FAF8);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 16px;
  padding: 26px 22px;
  position: relative;
}

.hm-process-step-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--hm-color-primary, #3CC666);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.hm-process-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin-bottom: 8px;
}

.hm-process-step-desc {
  font-size: 14px;
  color: var(--hm-color-muted, #627A8A);
  line-height: 1.6;
  margin: 0;
}

/* 4. Why Families Choose Us */
.hm-why-choose-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 60px 0;
  border-top: 1px solid rgba(229, 236, 231, 0.7);
  border-bottom: 1px solid rgba(229, 236, 231, 0.7);
}

@media (min-width: 768px) {
  .hm-why-choose-section {
    padding: 72px 0;
  }
}

.hm-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .hm-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-why-card-v2 {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border, rgba(60, 198, 102, 0.3));
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(12, 29, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-why-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.08);
}

.hm-why-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--icon-bg, #DCFCE7);
  color: var(--icon-color, #166534);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.hm-why-icon-box .material-symbols-outlined {
  font-size: 22px;
}

.hm-why-card-heading {
  font-size: 16.5px;
  font-weight: 700;
  color: #0C1D2A;
  margin-bottom: 8px;
  line-height: 1.35;
}

.hm-why-card-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* 5. First Session Guide */
.hm-first-session-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .hm-first-session-section {
    padding: 72px 0;
  }
}

.hm-first-session-block {
  background: linear-gradient(145deg, #F8FAF8 0%, #FFFFFF 100%);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(12, 29, 42, 0.04);
}

@media (min-width: 768px) {
  .hm-first-session-block {
    padding: 36px 40px;
  }
}

.hm-first-session-text {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hm-bullet-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1E293B;
  font-weight: 500;
}

.hm-bullet-point .material-symbols-outlined {
  color: var(--hm-color-primary, #3CC666);
  font-size: 18px;
}

/* 6. FAQ Accordion */
.hm-faq-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 60px 0;
  border-top: 1px solid var(--hm-color-border, #E5ECE7);
  border-bottom: 1px solid var(--hm-color-border, #E5ECE7);
}

@media (min-width: 768px) {
  .hm-faq-section {
    padding: 72px 0;
  }
}

.hm-section-header-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hm-faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.hm-faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  cursor: pointer;
  user-select: none;
}

.hm-faq-question:hover {
  color: var(--hm-color-primary, #3CC666);
}

.hm-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hm-color-surface-soft, #F8FAF8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hm-faq-item.open .hm-faq-icon {
  transform: rotate(180deg);
  background: var(--hm-color-surface-success, #EEF8F1);
  color: #166534;
}

.hm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FAFBF9;
  border-top: 1px solid transparent;
}

.hm-faq-item.open .hm-faq-answer {
  max-height: 480px;
  border-top-color: var(--hm-color-border, #E5ECE7);
}

.hm-faq-answer-inner {
  padding: 16px 22px 20px 22px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────
   WordPress Gutenberg Block Compatibility Styles (SEO Components)
   ────────────────────────────────────────────────── */
.wp-block-columns.hm-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .wp-block-columns.hm-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
  }
}

.wp-block-column.hm-split-media {
  width: 100%;
  height: 100%;
  display: flex;
}

.wp-block-column.hm-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wp-block-buttons.hm-split-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* Neutralize outer button containers so they do not leak backgrounds/borders */
.wp-block-buttons.hm-split-actions .wp-block-button,
.wp-block-button.hm-btn-whatsapp,
.wp-block-button.hm-btn-primary {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.wp-block-button.hm-btn-primary::after {
  content: none !important;
}

/* Chat on WhatsApp Button */
.hm-btn-whatsapp .wp-block-button__link,
.hm-split-actions a.hm-btn-whatsapp,
a.hm-btn-whatsapp {
  background: #25D366 !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
}

.hm-btn-whatsapp .wp-block-button__link:hover,
.hm-split-actions a.hm-btn-whatsapp:hover,
a.hm-btn-whatsapp:hover {
  background: #20bd5a !important;
  background-color: #20bd5a !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42) !important;
}

.hm-btn-whatsapp .wp-block-button__link .material-symbols-outlined,
a.hm-btn-whatsapp .material-symbols-outlined {
  font-size: 18px !important;
  color: #FFFFFF !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Book a Consultation Button (Primary CTA) */
.hm-btn-primary .wp-block-button__link,
.hm-split-actions .hm-btn-primary .wp-block-button__link,
.hm-split-actions a.hm-btn-primary {
  background: var(--hm-gradient-primary, linear-gradient(135deg, #3CC666 0%, #1ea850 100%)) !important;
  background-color: #3CC666 !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 26px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: var(--hm-shadow-btn, 0 4px 18px rgba(60, 198, 102, 0.35)) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
}

.hm-btn-primary .wp-block-button__link:hover,
.hm-split-actions .hm-btn-primary .wp-block-button__link:hover,
.hm-split-actions a.hm-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(60, 198, 102, 0.45) !important;
  color: #FFFFFF !important;
  filter: brightness(1.03) !important;
}

.hm-btn-primary .wp-block-button__link .material-symbols-outlined,
.hm-split-actions .hm-btn-primary .wp-block-button__link .material-symbols-outlined,
.hm-split-actions a.hm-btn-primary .material-symbols-outlined {
  font-size: 18px !important;
  color: #FFFFFF !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.2s ease !important;
}

.hm-btn-primary .wp-block-button__link:hover .material-symbols-outlined,
.hm-split-actions a.hm-btn-primary:hover .material-symbols-outlined {
  transform: translateX(3px) !important;
}

/* Signs Card CSS bullet support */
.hm-sign-card::before {
  content: 'check';
  font-family: 'Material Symbols Outlined';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: rgba(60, 198, 102, 0.15);
  color: #166534;
  font-weight: 700;
  font-size: 17px;
}

/* Process Grid Columns */
.wp-block-columns.hm-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .wp-block-columns.hm-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.wp-block-column.hm-process-step {
  background: var(--hm-color-surface-soft, #F8FAF8);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Why Choose Cards Color Themes */
.hm-why-card--green { border-color: rgba(60, 198, 102, 0.35); }
.hm-why-card--green .hm-why-icon-box { background: #DCFCE7; color: #166534; }

.hm-why-card--blue { border-color: rgba(30, 64, 175, 0.25); }
.hm-why-card--blue .hm-why-icon-box { background: #E0F2FE; color: #1E40AF; }

.hm-why-card--amber { border-color: rgba(180, 83, 9, 0.25); }
.hm-why-card--amber .hm-why-icon-box { background: #FEF3C7; color: #B45309; }

.hm-why-card--teal { border-color: rgba(15, 118, 110, 0.25); }
.hm-why-card--teal .hm-why-icon-box { background: #CCFBF1; color: #0F766E; }

/* First Session Bullets */
ul.hm-first-session-bullets,
.hm-first-session-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 24px;
}

@media (min-width: 640px) {
  ul.hm-first-session-bullets,
  .hm-first-session-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  ul.hm-first-session-bullets,
  .hm-first-session-bullets {
    grid-template-columns: repeat(3, 1fr);
  }
}

ul.hm-first-session-bullets li,
.hm-first-session-bullets li {
  display: block;
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

ul.hm-first-session-bullets li strong,
.hm-first-session-bullets li strong {
  font-weight: 700;
  color: #0C1D2A;
}

ul.hm-first-session-bullets li::before,
.hm-first-session-bullets li::before {
  content: 'check_circle';
  font-family: 'Material Symbols Outlined';
  color: var(--hm-color-primary, #3CC666);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 2px;
  line-height: 1;
  display: inline-block;
}

/* Native HTML <details> Accordion */
details.hm-faq-item {
  background: var(--hm-color-surface, #FFFFFF);
  border: 1px solid var(--hm-color-border, #E5ECE7);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(12,29,42,0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details.hm-faq-item[open] {
  border-color: var(--hm-color-primary, #3CC666);
  box-shadow: 0 4px 16px rgba(12,29,42,0.06);
}

details.hm-faq-item summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--hm-color-dark, #0C1D2A);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--hm-color-surface, #FFFFFF);
}

details.hm-faq-item summary::-webkit-details-marker {
  display: none;
}

details.hm-faq-item summary::after {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-size: 22px;
  color: #64748B;
  display: inline-block;
  transition: transform 0.2s ease;
}

details.hm-faq-item[open] summary::after {
  transform: rotate(180deg);
  color: var(--hm-color-primary, #3CC666);
}

details.hm-faq-item p {
  padding: 14px 24px 20px 24px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  border-top: 1px solid var(--hm-color-border, #E5ECE7);
  background: #FAFBF9;
}



