/*
 * GDC Custom CSS – Table of contents (by page/section, then by screen size within sections)
 * Convention: Base = desktop; @media (max-width: 991.98px) = tablet; @media (max-width: 767.98px) or 640px = mobile.
 * -----------------------------------------------------------------------------
 * 1. GLOBAL & TYPOGRAPHY .......... :root, body, headings, display, body utilities
 * 2. LAYOUT & CONTAINERS ......... .gdc-container, #wrapper, responsive overflow
 * 3. BREADCRUMB & LINKS .......... Breadcrumb, default link color
 * 4. BLOG ........................ TOC, sidebar (with tablet/mobile)
 * 5. HOME – HERO ................. Hero carousel, overlay, controls (with mobile)
 * 6. HOME – SERVICES ............. Services strip, cards, grid, overlays (with tablet/mobile)
 * 7. DOCTORS ..................... Grid, cards, “All doctors”, filters (with mobile)
 * 8. WHY / SOCIAL / HOURS ........ Why grid, social connect, working hours (with tablet/mobile)
 * 9. SERVICE TEMPLATE ............ Why choose, transformations, who/for, steps, hero CTA (with breakpoints)
 * 10. DOCTOR MODAL ............... Sidebar, content (with mobile)
 * 11. BOOKING MODAL .............. Form, radio, success
 * 12. HEADER & NAV ............... Logo, dropdown, contact, FAB (with mobile)
 * 13. CONTACT / CLINICS ......... Clinics layout, About labels, sterilization, certificates
 * 14. BLOG (archive/single) ...... Featured, tags, grid, pagination (tablet/mobile)
 * 15. FOOTER ..................... Typography, links, contacts, flag, copyright (desktop/tablet/mobile)
 * 16. MISC ....................... FAQ accordion, doctor search, steri row
 * -----------------------------------------------------------------------------
 */

/* ========== 1. GLOBAL & TYPOGRAPHY ========== */
/* Typography at 80%: scale root so rem-based theme typography also reduces */
html {
  font-size: clamp(12px, 80%, 16px);
}

/* Typography variables: −20% scale (×0.8). Change --gdc-font-scale to adjust globally. */
:root {
  --gdc-font-scale: 0.8;
  --gdc-font-family: "Manrope", sans-serif;

  /* Display (80→64, 72→57.6, 64→51.2, 56→44.8, 48→38.4, 40→32) */
  --gdc-fs-display-1: 64px;
  --gdc-fs-display-2: 58px;
  --gdc-fs-display-3: 52px;
  --gdc-fs-display-4: 46px;
  --gdc-fs-display-5: 40px;
  --gdc-fs-display-6: 32px;

  /* Headings (H1 40→32, H2 32→25.6, H3 28→22.4, H4 24→19.2, H5 20→16, H6 16→12.8) */
  --gdc-fs-h1: var(--gdc-fs-display-6);
  --gdc-fs-h2: 28px;
  --gdc-fs-h3: 24px;
  --gdc-fs-h4: 22px;
  --gdc-fs-h5: 20px;
  --gdc-fs-h6: 12px;

  /* Body & utilities */
  --gdc-fs-body: 14px;
  --gdc-fs-lead: 16px;
  --gdc-fs-small: 12px;

  --gdc-line-height-tight: 1.2;
  --gdc-line-height-normal: 1.5;

  /* Spacing (use --gdc-spacer or --bs-space-* where it fits) */
  --gdc-spacer: 16px;
  --bs-space-0: 0;
  --bs-space-1: 0.25rem;
  --bs-space-2: 0.5rem;
  --bs-space-3: 1rem;
  --bs-space-4: 1.5rem;
  --bs-space-5: 3rem;

  /* Colors – use these instead of hardcoded #111318, #f1eadf, etc. */
  --gdc-color-text: #111318;
  --gdc-color-text-muted: #111318bf;
  --gdc-color-text-muted-50: rgba(17, 19, 24, 0.5);
  --gdc-color-text-muted-08: rgba(17, 19, 24, 0.08);
  --gdc-color-text-muted-12: rgba(17, 19, 24, 0.12);
  --gdc-color-bg: #fff;
  --gdc-color-bg-linen: #f1eadf;
  --gdc-color-bg-warm: #fbf8f2;
  --gdc-color-bg-social: #f7f5f1;
  --gdc-color-border: #e0e0e0;
  --gdc-color-border-light: #e6e0d7;
  --gdc-color-border-icon: #d5d7da;
  --gdc-color-accent: #a98f77;
  --gdc-color-accent-border: #c9b199;
  --gdc-color-accent-hover: #2f2f2f;
  --gdc-color-hero-bg: #dcc8ad;

  /* Border radius (many places use 4px, 8px, 12px, 14px, 16px, 20px, 999px) */
  --gdc-radius-sm: 4px;
  --gdc-radius-md: 8px;
  --gdc-radius-card: 12px;
  --gdc-radius-card-lg: 14px;
  --gdc-radius-xl: 16px;
  --gdc-radius-lg: 20px;
  --gdc-radius-pill: 999px;

  /* Shadows (repeated patterns: card, overlay, dropdown) */
  --gdc-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --gdc-shadow-card-hover: 0 4px 10px rgba(0, 0, 0, 0.1);
  --gdc-shadow-card-strong: 0 4px 20px rgba(0, 0, 0, 0.1);
  --gdc-shadow-dropdown: 0 2px 8px rgba(0, 0, 0, 0.15);
  --gdc-shadow-modal: 0 10px 40px rgba(0, 0, 0, 0.2);
  --gdc-blur-overlay: 36px;
  --gdc-blur-modal: 10px;
}

/*
 * Variables you can use across the file:
 * - Colors: --gdc-color-text, --gdc-color-text-muted, --gdc-color-bg, --gdc-color-bg-linen, --gdc-color-bg-warm, --gdc-color-border, --gdc-color-accent, --gdc-color-accent-hover, etc.
 * - Radius: --gdc-radius-sm (4px), --gdc-radius-md (8px), --gdc-radius-card (12px), --gdc-radius-card-lg (14px), --gdc-radius-xl (16px), --gdc-radius-lg (20px), --gdc-radius-pill (999px).
 * - Shadows: --gdc-shadow-card, --gdc-shadow-card-hover, --gdc-shadow-card-strong, --gdc-shadow-dropdown, --gdc-shadow-modal.
 * - Blur: --gdc-blur-overlay, --gdc-blur-modal.
 * - Font: --gdc-font-family (Manrope).
 * Gradually replace hardcoded #111318, #f1eadf, border-radius: 8px, box-shadow: 0 2px 8px..., etc. with these variables.
 */

/* Base typography (Bootstrap-like) – 80% scale */
body {
  font-family: var(--gdc-font-family) !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  color: var(--gdc-color-text) !important;
  font-weight: 400 !important;
}

/* Default text color for all elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
td,
th,
label,
input,
textarea,
select,
.text,
.title,
.heading,
article,
section,
div {
  color: var(--gdc-color-text);
}

/* Headings – use --gdc-fs-h1 … --gdc-fs-h6 */
h1,
.h1 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h1) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}
h2,
.h2 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 500 !important;
}
h3,
.h3 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h3) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 500 !important;
}
h4,
.h4 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h4) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
}
h5,
.h5 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h5) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
}
h6,
.h6 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h6) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 500 !important;
}

/* Display Styles – use --gdc-fs-display-1 … --gdc-fs-display-6 */
.display-1 {
  font-size: var(--gdc-fs-display-1) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}
.display-2 {
  font-size: var(--gdc-fs-display-2) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}
.display-3 {
  font-size: var(--gdc-fs-display-3) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}
.display-4 {
  font-size: var(--gdc-fs-display-4) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}
.display-5 {
  font-size: var(--gdc-fs-display-5) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
  color: #111318 !important;
}
.display-6 {
  font-size: var(--gdc-fs-display-6) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}

/* Body & Utilities – match typography guide: Lead, Blockquote, Regular, Bold, Light, Italic, Underline, Strike, Small, Code */
.lead,
.gdc-body-lead {
  font-size: var(--gdc-fs-lead) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
  font-family: "Manrope", sans-serif !important;
}
blockquote,
.gdc-body-blockquote {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-lead) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 400 !important;
  letter-spacing: 0;
  font-style: normal;
}
.gdc-body-regular {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}
.gdc-body-bold {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}
.gdc-body-light {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 300 !important;
  letter-spacing: 0;
}
.gdc-body-italic {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  letter-spacing: 0;
}
.gdc-body-underline {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
  letter-spacing: 0;
}
.gdc-body-strike {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-body) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  letter-spacing: 0;
}
small,
.small,
.gdc-body-small {
  font-size: var(--gdc-fs-small) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-family: "Manrope", sans-serif !important;
  font-weight: 400 !important;
}
code,
.gdc-body-code {
  font-family: "Roboto Mono", monospace !important;
  font-size: var(--gdc-fs-small) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 400 !important;
}
p {
  margin: 0 0 1rem !important;
  color: inherit;
}
.m-0 {
  margin: var(--bs-space-0) !important;
}
.m-1 {
  margin: var(--bs-space-1) !important;
}
.m-2 {
  margin: var(--bs-space-2) !important;
}
.m-3 {
  margin: var(--bs-space-3) !important;
}
.m-4 {
  margin: var(--bs-space-4) !important;
}
.m-5 {
  margin: var(--bs-space-5) !important;
}
.mt-0 {
  margin-top: var(--bs-space-0) !important;
}
.mt-1 {
  margin-top: var(--bs-space-1) !important;
}
.mt-2 {
  margin-top: var(--bs-space-2) !important;
}
.mt-3 {
  margin-top: var(--bs-space-3) !important;
}
.mt-4 {
  margin-top: var(--bs-space-4) !important;
}
.mt-5 {
  margin-top: var(--bs-space-5) !important;
}
.mb-0 {
  margin-bottom: var(--bs-space-0) !important;
}
.mb-1 {
  margin-bottom: var(--bs-space-1) !important;
}
.mb-2 {
  margin-bottom: var(--bs-space-2) !important;
}
.mb-3 {
  margin-bottom: var(--bs-space-3) !important;
}
.mb-4 {
  margin-bottom: var(--bs-space-4) !important;
}
.mb-5 {
  margin-bottom: var(--bs-space-5) !important;
}
.ms-0 {
  margin-left: var(--bs-space-0) !important;
}
.ms-1 {
  margin-left: var(--bs-space-1) !important;
}
.ms-2 {
  margin-left: var(--bs-space-2) !important;
}
.ms-3 {
  margin-left: var(--bs-space-3) !important;
}
.ms-4 {
  margin-left: var(--bs-space-4) !important;
}
.ms-5 {
  margin-left: var(--bs-space-5) !important;
}
.me-0 {
  margin-right: var(--bs-space-0) !important;
}
.me-1 {
  margin-right: var(--bs-space-1) !important;
}
.me-2 {
  margin-right: var(--bs-space-2) !important;
}
.me-3 {
  margin-right: var(--bs-space-3) !important;
}
.me-4 {
  margin-right: var(--bs-space-4) !important;
}
.me-5 {
  margin-right: var(--bs-space-5) !important;
}
.mx-0 {
  margin-left: var(--bs-space-0) !important;
  margin-right: var(--bs-space-0) !important;
}
.mx-1 {
  margin-left: var(--bs-space-1) !important;
  margin-right: var(--bs-space-1) !important;
}
.mx-2 {
  margin-left: var(--bs-space-2) !important;
  margin-right: var(--bs-space-2) !important;
}
.mx-3 {
  margin-left: var(--bs-space-3) !important;
  margin-right: var(--bs-space-3) !important;
}
.mx-4 {
  margin-left: var(--bs-space-4) !important;
  margin-right: var(--bs-space-4) !important;
}
.mx-5 {
  margin-left: var(--bs-space-5) !important;
  margin-right: var(--bs-space-5) !important;
}
.my-0 {
  margin-top: var(--bs-space-0) !important;
  margin-bottom: var(--bs-space-0) !important;
}
.my-1 {
  margin-top: var(--bs-space-1) !important;
  margin-bottom: var(--bs-space-1) !important;
}
.my-2 {
  margin-top: var(--bs-space-2) !important;
  margin-bottom: var(--bs-space-2) !important;
}
.my-3 {
  margin-top: var(--bs-space-3) !important;
  margin-bottom: var(--bs-space-3) !important;
}
.my-4 {
  margin-top: var(--bs-space-4) !important;
  margin-bottom: var(--bs-space-4) !important;
}
.my-5 {
  margin-top: var(--bs-space-5) !important;
  margin-bottom: var(--bs-space-5) !important;
}
.p-0 {
  padding: var(--bs-space-0) !important;
}
.p-1 {
  padding: var(--bs-space-1) !important;
}
.p-2 {
  padding: var(--bs-space-2) !important;
}
.p-3 {
  padding: var(--bs-space-3) !important;
}
.p-4 {
  padding: var(--bs-space-4) !important;
}
.p-5 {
  padding: var(--bs-space-5) !important;
}
.pt-0 {
  padding-top: var(--bs-space-0) !important;
}
.pt-1 {
  padding-top: var(--bs-space-1) !important;
}
.pt-2 {
  padding-top: var(--bs-space-2) !important;
}
.pt-3 {
  padding-top: var(--bs-space-3) !important;
}
.pt-4 {
  padding-top: var(--bs-space-4) !important;
}
.pt-5 {
  padding-top: var(--bs-space-5) !important;
}
.pb-0 {
  padding-bottom: var(--bs-space-0) !important;
}
.pb-1 {
  padding-bottom: var(--bs-space-1) !important;
}
.pb-2 {
  padding-bottom: var(--bs-space-2) !important;
}
.pb-3 {
  padding-bottom: var(--bs-space-3) !important;
}
.pb-4 {
  padding-bottom: var(--bs-space-4) !important;
}
.pb-5 {
  padding-bottom: var(--bs-space-5) !important;
}
.ps-0 {
  padding-left: var(--bs-space-0) !important;
}
.ps-1 {
  padding-left: var(--bs-space-1) !important;
}
.ps-2 {
  padding-left: var(--bs-space-2) !important;
}
.ps-3 {
  padding-left: var(--bs-space-3) !important;
}
.ps-4 {
  padding-left: var(--bs-space-4) !important;
}
.ps-5 {
  padding-left: var(--bs-space-5) !important;
}
.pe-0 {
  padding-right: var(--bs-space-0) !important;
}
.pe-1 {
  padding-right: var(--bs-space-1) !important;
}
.pe-2 {
  padding-right: var(--bs-space-2) !important;
}
.pe-3 {
  padding-right: var(--bs-space-3) !important;
}
.pe-4 {
  padding-right: var(--bs-space-4) !important;
}
.pe-5 {
  padding-right: var(--bs-space-5) !important;
}
.px-0 {
  padding-left: var(--bs-space-0) !important;
  padding-right: var(--bs-space-0) !important;
}
.px-1 {
  padding-left: var(--bs-space-1) !important;
  padding-right: var(--bs-space-1) !important;
}
.px-2 {
  padding-left: var(--bs-space-2) !important;
  padding-right: var(--bs-space-2) !important;
}
.px-3 {
  padding-left: var(--bs-space-3) !important;
  padding-right: var(--bs-space-3) !important;
}
.px-4 {
  padding-left: var(--bs-space-4) !important;
  padding-right: var(--bs-space-4) !important;
}
.px-5 {
  padding-left: var(--bs-space-5) !important;
  padding-right: var(--bs-space-5) !important;
}
.py-0 {
  padding-top: var(--bs-space-0) !important;
  padding-bottom: var(--bs-space-0) !important;
}
.py-1 {
  padding-top: var(--bs-space-1) !important;
  padding-bottom: var(--bs-space-1) !important;
}
.py-2 {
  padding-top: var(--bs-space-2) !important;
  padding-bottom: var(--bs-space-2) !important;
}
.py-3 {
  padding-top: var(--bs-space-3) !important;
  padding-bottom: var(--bs-space-3) !important;
}
.py-4 {
  padding-top: var(--bs-space-4) !important;
  padding-bottom: var(--bs-space-4) !important;
}
.py-5 {
  padding-top: var(--bs-space-5) !important;
  padding-bottom: var(--bs-space-5) !important;
}

/* span {
  color: rgba(255, 255, 255, 1);
} */

span.breadcrumb_last {
  color: var(--gdc-color-text-muted);
}

/* ========== 3. BREADCRUMB & LINKS ========== */
/* Breadcrumb block (e.g. "Home \ ABOUT US") – same color for whole part */
#content .gdc-container.mb-4.mb-md-5.px-0.px-lg-0.px-md-4,
#content .gdc-container.mb-4.mb-md-5.px-0.px-lg-0.px-md-4 span,
#content .gdc-container.mb-4.mb-md-5.px-0.px-lg-0.px-md-4 a {
  color: var(--gdc-color-text-muted);
}

/* Ensure links inherit color unless specifically styled */
a {
  color: inherit;
}

a:hover {
  color: var(--gdc-color-text);
}

/* ========== 4. BLOG – TOC (Sidebar navigation) ========== */
/* --- Blog Post TOC (Sidebar navigation) --- */
.gdc-post-toc {
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 14px;
  padding: 14px 14px 10px 14px;
  background: #fff;
}

.gdc-post-toc .widget-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #111318;
}

.gdc-post-toc-toggle {
  display: none;
  width: 100%;
  border: 1px solid rgba(17, 19, 24, 0.12);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  text-align: left;
}

.gdc-post-toc-nav {
  max-height: 58vh;
  overflow: auto;
  padding-right: 6px;
}

.gdc-post-toc-list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gdc-post-toc-item.is-h3 {
  padding-left: 14px;
}

.gdc-post-toc-link {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #111318;
  text-decoration: none !important;
  padding: 6px 8px;
  border-radius: 10px;
}

.gdc-post-toc-link:hover {
  background: rgba(17, 19, 24, 0.05);
}

.gdc-post-toc-link.is-active {
  background: rgba(17, 19, 24, 0.08);
  font-weight: 700;
}

@media (max-width: 849px) {
  .gdc-post-toc-toggle {
    display: block;
    margin-bottom: 10px;
  }
  .gdc-post-toc-nav {
    display: none;
    max-height: 40vh;
  }
  .gdc-post-toc-nav.is-open {
    display: block;
  }
}

/* Ensure blog sidebar (and TOC widget) remains visible on tablet/mobile.
   Some Flatsome configurations collapse or hide sidebars on smaller screens. */
@media (max-width: 849px) {
  .blog-single .row.row-large {
    display: flex;
    flex-direction: column;
  }
  .blog-single .row.row-large > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .blog-single .post-sidebar {
    display: block !important;
    order: 2;
    margin-top: 18px;
  }
  .blog-single #secondary.widget-area {
    display: block !important;
  }
}

/* Responsive Section Title: Desktop display-5, Tablet display-6, Mobile h3 */
.gdc-our-doctors-title {
  font-size: var(--gdc-fs-display-5) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
  color: #111318;
}

@media (max-width: 960px) {
  .gdc-our-doctors-title {
    font-size: var(--gdc-fs-display-6) !important;
  }
}

@media (max-width: 640px) {
  .gdc-our-doctors-title {
    font-size: var(--gdc-fs-h3) !important;
    font-weight: 500 !important;
  }
}

/* Responsive Testimonials Title: Desktop display-5, Tablet display-6, Mobile h3 */
.gdc-testimonial-title {
  font-size: var(--gdc-fs-display-5) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
  color: #111318;
}

@media (max-width: 960px) {
  .gdc-testimonial-title {
    font-size: var(--gdc-fs-display-6) !important;
  }
}

@media (max-width: 640px) {
  .gdc-testimonial-title {
    font-size: var(--gdc-fs-h3) !important;
    font-weight: 500 !important;
  }
}

/* Responsive Why Title: Desktop/Tablet display-6, Mobile h3 */
.gdc-why-title {
  font-size: var(--gdc-fs-display-6) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
  color: #111318;
}

@media (max-width: 640px) {
  .gdc-why-title {
    font-size: var(--gdc-fs-h3) !important;
    font-weight: 500 !important;
  }
}

/* Custom Responsive Text: Display 2 (Desktop/Tablet) -> Display 3 (Mobile) */
.gdc-responsive-display-text {
  font-size: var(--gdc-fs-display-2) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}

/* Tablet: hero responsive display text (e.g. "quality") uses display-3 */
@media (max-width: 991.98px) {
  .gdc-responsive-display-text {
    font-size: var(--gdc-fs-display-3) !important;
  }
}

/* Custom Responsive Text: Services Title */
.gdc-services-title {
  font-size: var(--gdc-fs-display-5) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}

@media (max-width: 960px) {
  .gdc-services-title {
    font-size: var(--gdc-fs-display-6) !important;
  }
}

@media (max-width: 640px) {
  .gdc-services-title {
    font-size: var(--gdc-fs-h3) !important;
    font-weight: 500 !important;
  }
}

/* Custom Responsive Text: Doctors Page Title */
.gdc-doctors-page-title {
  font-size: var(--gdc-fs-display-5) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 400 !important;
}

@media (max-width: 960px) {
  .gdc-doctors-page-title {
    font-size: var(--gdc-fs-display-6) !important;
  }
}

@media (max-width: 640px) {
  .gdc-doctors-page-title {
    font-size: var(--gdc-fs-h2) !important;
    font-weight: 500 !important;
  }
}

/* Custom Responsive Text: Doctors Page Subtitle */
.gdc-doctors-page-subtitle {
  font-size: var(--gdc-fs-h4) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
  color: var(--Text-Tertiary, #11131880);
}

@media (max-width: 960px) {
  .gdc-doctors-page-subtitle {
    font-size: var(--gdc-fs-h5) !important;
  }
}

@media (max-width: 640px) {
  .gdc-doctors-page-subtitle {
    font-size: var(--gdc-fs-h5) !important;
  }
}

@media (max-width: 640px) {
  .gdc-responsive-display-text {
    font-size: var(--gdc-fs-display-3) !important;
  }
}

/* Benefits typography – responsive title (desktop h2, tablet/mobile h3) and subtitle (desktop h4, tablet h5, mobile h6) */
.gdc-benefits-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important;
  line-height: var(--gdc-line-height-tight) !important;
  font-weight: 500 !important;
}
@media (max-width: 991.98px) {
  .gdc-benefits-title {
    font-size: var(--gdc-fs-h3) !important;
  }
}

.gdc-benefits-subtitle {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h4) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
}
@media (max-width: 991.98px) {
  .gdc-benefits-subtitle {
    font-size: var(--gdc-fs-h5) !important;
  }
}
@media (max-width: 767.98px) {
  .gdc-benefits-subtitle {
    font-size: var(--gdc-fs-lead) !important;
  }
}

/* Desktop h4, tablet and mobile h5 (e.g. why-choose item title/description) */
.gdc-font-desktop-h4-tablet-h5 {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h4) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
}
@media (max-width: 991.98px) {
  .gdc-font-desktop-h4-tablet-h5 {
    font-size: var(--gdc-fs-h5) !important;
  }
}

/* Why choose item title: desktop h4, tablet and mobile h5 */
.gdc-why-choose-item-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h4) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
}
@media (max-width: 991.98px) {
  .gdc-why-choose-item-title {
    font-size: var(--gdc-fs-h5) !important;
  }
}

.gdc-why-choose-item-subtitle {
  font-size: var(--gdc-fs-lead) !important;
}

@media (max-width: 991.98px) {
  .gdc-why-choose-item-subtitle {
    font-size: var(--gdc-fs-body) !important;
  }
}

.gdc-sterilization-item-subtitle {
  font-size: var(--gdc-fs-h5) !important;
}

@media (max-width: 991.98px) {
  .gdc-sterilization-item-subtitle {
    font-size: var(--gdc-fs-body) !important;
  }
}

/* ========== 2. LAYOUT & CONTAINERS ========== */
.gdc-container {
  max-width: 1296px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.gdc-page-title {
  color: var(--gdc-color-text);
}

.gdc-page-sub {
  font-size: var(--gdc-fs-lead) !important;
}

.gdc-select {
  color: var(--gdc-color-text-muted);
}

/* Ensure mobile responsiveness */
#wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

html {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

/* Ensure all images are responsive */
img {
  max-width: 100% !important;
  height: auto !important;
}

/* Ensure containers don't overflow on mobile */
.container,
.container-fluid,
.row {
  max-width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .gdc-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Prevent horizontal scroll on mobile */
  * {
    max-width: 100%;
  }

  /* Ensure all content fits within viewport */
  body,
  html,
  #wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
  }
}

/* ========== 5. HOME – HERO ========== */
.gdc-hero {
  background: #dcc8ad;
  background: radial-gradient(37.74% 111.42% at 75.45% 100%, #e7dac4 0%, rgba(231, 218, 196, 0) 100%), #dcc8ad;
  background-blend-mode: overlay;
}

/* Hero Carousel Styles */
.gdc-hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gdc-hero-carousel {
  width: 100%;
  position: relative;
}

.gdc-hero-ratio {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Desktop/Tablet: 5:2 ratio, max-height 1024px */
  aspect-ratio: 5 / 2;
  max-height: 1024px;
}

.gdc-hero-ratio picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile: 1:1 ratio */
@media (max-width: 767px) {
  .gdc-hero-ratio {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  /* If mobile image doesn't exist, crop desktop image to 1:1 */
  .gdc-hero-ratio.gdc-hero-fallback-crop .gdc-hero-img {
    object-fit: cover;
    object-position: center;
  }
}

.gdc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gdc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

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

/* Carousel Indicators (Bootstrap 5 Style) */
.gdc-hero-carousel .carousel-indicators {
  bottom: 20px;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}

.gdc-hero-carousel .carousel-indicators button {
  box-sizing: content-box !important;
  flex: 0 1 auto !important;
  width: 30px !important;
  height: 3px !important;
  min-height: 0 !important; /* Override theme button min-height */
  padding: 0 !important;
  margin-right: 3px !important;
  margin-left: 3px !important;
  text-indent: -999px !important;
  cursor: pointer !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 0 !important;
  border-top: 10px solid transparent !important;
  border-bottom: 10px solid transparent !important;
  opacity: 0.5 !important;
  transition: opacity 0.6s ease !important;
  border-radius: 0 !important;
  display: block !important;
  line-height: 0 !important; /* Fix for theme button line-height */
  font-size: 0 !important; /* Fix for theme button font-size */
  appearance: none !important; /* Reset default button appearance */
  box-shadow: none !important; /* Remove any theme button shadows */
}

.gdc-hero-carousel .carousel-indicators button.active {
  opacity: 1 !important;
  background-color: #fff !important;
}

/* Carousel Controls */
.gdc-hero-carousel .carousel-control-prev,
.gdc-hero-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.gdc-hero-carousel .carousel-control-prev:hover,
.gdc-hero-carousel .carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.3);
}

.gdc-hero-carousel .carousel-control-prev {
  left: 20px;
}

.gdc-hero-carousel .carousel-control-next {
  right: 20px;
}

.gdc-hero-grid {
  gap: 56px;
  align-items: end;
}

.gdc-hero-sub {
  font-size: var(--gdc-fs-h4) !important; /* h4 style */
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 12px 0 20px;
}

.gdc-hero-visual {
  align-self: end;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0;
  position: relative;
  height: 520px;
  width: 100%;
  max-width: 760px; /* Increased to accommodate full image width */
  overflow: hidden;
}

@media (min-width: 1025px) {
  .gdc-hero-visual {
    width: 700px;
    flex: 0 0 700px; /* Fix width on desktop to prevent shrinking */
    flex-shrink: 0;
  }
}

.gdc-hero-visual img {
  object-fit: cover;
  object-position: 50% 35%;
  position: relative;
  bottom: auto;
  transform: translateY(20px);
  width: 100%;
  height: 100%;
}
/* ========== 6. HOME – SERVICES (strip, cards, grid) ========== */
.gdc-services-strip {
  position: relative;
  overflow: hidden;
  padding: 32px 48px 28px;
  background: var(--GDC-Linen-100, #f1eadf);
  border-radius: 0;
}
.gdc-services-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px;
  scrollbar-width: none; /* Firefox */
}
.gdc-services-track::-webkit-scrollbar {
  display: none;
}
.gdc-service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 0 0 40%;
  max-width: 480px;
  min-width: 320px;
  height: 420px;
  scroll-snap-align: start;
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  overflow: hidden; /* Changed back to hidden to clip the gradient */
}

/* Flex wrapper for bottom content */
.gdc-card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  position: relative;
  z-index: auto; /* avoid creating stacking context; button handles its own z-index */
  margin-top: auto;
}

/* Force bottom alignment for services grid cards */
.gdc-card-service .gdc-card-bottom-row {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  width: auto;
  margin-top: 0;
  z-index: 20; /* Sit above the link visually */
  pointer-events: none; /* Let clicks pass through to the link below */
}

/* Ensure text lets clicks pass through to the link */
.gdc-card-service .gdc-card-text {
  pointer-events: none;
}

/* Reserve space so CTA button does not overlap the description text */
.gdc-card-service .gdc-card-bottom-row .gdc-card-text {
  padding-right: 46px; /* 34px button + 12px gap */
  min-width: 0;
}

/* Ensure button wrapper lets clicks pass, but button itself is auto */
.gdc-card-service .gdc-card-action {
  pointer-events: none;
}

.gdc-card-service .gdc-card-action .gdc-card-service-cta-icon {
  pointer-events: auto;
}

.gdc-card-text {
  flex: 1;
  padding-right: 12px;
  min-width: 0; /* Allow text truncate */
  position: relative;
  z-index: 2; /* below link */
}

.gdc-card-action {
  flex: 0 0 34px;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 25; /* above link */
}

.gdc-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffffff 100%);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, black 85%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, black 85%, black 100%);
  z-index: 1;
  pointer-events: none;
}

.gdc-service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d7b9a3;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 5;
}

.gdc-service-title {
  font-size: var(--gdc-fs-h3) !important; /* h3 style */
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin: 0 0 6px;
  position: relative;
  z-index: 2;
}

.gdc-service-desc {
  font-size: var(--gdc-fs-body) !important; /* h5 style */
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #3f3a35;
  margin: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media (max-width: 640px) {
  .gdc-service-title {
    font-size: var(--gdc-fs-h4) !important; /* h4 style */
  }
  .gdc-service-desc {
    font-size: var(--gdc-fs-body) !important; /* h6 style */
  }
}

.gdc-service-cta-icon {
  position: relative; /* Changed from absolute */
  bottom: auto;
  right: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #c9b199;
  color: #c9b199;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gdc-fs-body);
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 100; /* Higher than overlay */
}
.gdc-service-cta-icon:hover {
  background: #c9b199;
  color: #fff;
}
.gdc-service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 50.34%);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 10;
  border-radius: 12px;
  pointer-events: none;
}

.gdc-service-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  padding-right: 32px;
  padding-bottom: 60px;
  max-height: 100%;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.gdc-service-overlay-content .gdc-service-long {
  margin-top: auto;
}

/* Hide duplicate title inside overlay */
.gdc-service-overlay-content h4 {
  display: none !important;
}

.gdc-card-service-overlay-content h4 {
  display: none !important;
}

.gdc-service-overlay-content p,
.gdc-service-overlay-content li {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #3f3a35;
}

.gdc-service-overlay-content ul {
  padding-left: 18px;
  margin: 0;
}

/* Show overlay on hover over the button */
.gdc-service-card:has(.gdc-service-cta-icon:hover) .gdc-service-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gdc-service-card:has(.gdc-service-cta-icon:hover) .gdc-service-overlay-content {
  transform: translateY(0);
}

/* Button styling updates */
.gdc-service-cta-icon {
  position: relative;
  bottom: auto;
  right: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #c9b199;
  color: #c9b199;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* Hide default text content */
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
}

.gdc-service-cta-icon::before {
  content: "+";
  font-size: var(--gdc-fs-body);
  font-weight: 400;
}

.gdc-service-cta-icon:hover::before,
.gdc-service-card.is-open .gdc-service-cta-icon::before {
  content: "-";
}

.gdc-service-cta-icon:hover,
.gdc-service-card.is-open .gdc-service-cta-icon {
  background: #c9b199;
  color: #fff;
}

/* Ensure card handles expansion gracefully */
.gdc-service-card {
  transition: all 0.3s ease;
  height: auto; /* Allow growth */
  min-height: 480px;
}

/* Services Grid Layout */
.gdc-grid-services {
  display: grid;
  grid-template-columns: repeat(3, 416px);
  gap: 24px;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.gdc-card-service {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important; /* Align content to bottom */
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 416px;
  height: 480px;
  overflow: hidden;
  box-sizing: border-box;
}

.gdc-card-service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffffff 100%);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, black 85%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, black 85%, black 100%);
  z-index: 1;
  pointer-events: none;
}

.gdc-card-service-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Fill the card */
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f5f5f5;
  z-index: 0;
}

.gdc-card-service-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffffff 100%);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, black 85%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, black 85%, black 100%);
  z-index: 1;
}

.gdc-card-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gdc-card-service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d7b9a3;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 5;
}

/* Service card title: desktop/tablet h3, mobile h4 */
.gdc-card-service-title {
  font-size: var(--gdc-fs-h3); /* h3 */
  font-weight: 500;
  margin: 0 0 12px 0;
  color: #111318;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
  z-index: 2; /* Sit above the gradient overlay */
}

@media (max-width: 640px) {
  .gdc-card-service-title {
    font-size: var(--gdc-fs-h4); /* h4 */
  }
}

/* Service card desc: desktop/tablet h5, mobile h6 */
.gdc-card-service-desc {
  font-size: var(--gdc-fs-body); /* h5 */
  font-weight: 500;
  line-height: 1.5;
  color: #3f3a35;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  flex: 0 0 auto; /* Don't expand to fill space */
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .gdc-card-service-desc {
    font-size: var(--gdc-fs-body); /* h6 */
    line-height: 1.2;
  }
}

/* Ensure all card content is behind overlay so it can be blurred */
.gdc-card-service
  > *:not(.gdc-card-service-overlay):not(.gdc-card-bottom-row):not(.gdc-card-service-media):not(.gdc-card-link) {
  position: relative;
  z-index: 2;
}

/* Plus state: background #A98F77, icon white */
.gdc-card-service-cta-icon {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #a98f77;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #a98f77;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 50;
  pointer-events: auto;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}

/* Minus state (hover): background white, icon #A98F77 */
.gdc-card-service-cta-icon:hover {
  background: #fff;
  color: #a98f77;
  border: 1px solid #a98f77;
}

.gdc-card-service-cta-icon::before {
  content: "+";
  font-size: var(--gdc-fs-body);
  font-weight: 400;
  text-indent: 0;
  display: block;
  line-height: 1;
}

/* Hide original text on hover to prevent overlap */
.gdc-service-card:has(.gdc-service-cta-icon:hover) .gdc-card-text,
.gdc-service-card:has(.gdc-service-cta-icon:hover) .gdc-service-badge,
.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-text,
.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-service-badge {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gdc-card-text,
.gdc-service-badge,
.gdc-card-service-badge {
  transition: opacity 0.3s ease;
}

.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-service-cta-icon::before {
  content: "−";
}

.gdc-card-service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 50.34%);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 10;
  border-radius: 12px;
  pointer-events: none;
}

.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-service-overlay {
  pointer-events: auto;
}

/* Show overlay on hover over the button */
.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-service-overlay {
  opacity: 1;
  visibility: visible;
}

.gdc-card-service-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  padding-right: 32px;
  padding-bottom: 60px;
  max-height: 100%;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.gdc-card-service-overlay-content h4 {
  display: none;
}

.gdc-card-service-overlay-content .gdc-card-service-long {
  margin-top: auto;
}

@media (max-width: 767.98px) {
  .gdc-card-service-overlay-content .gdc-card-service-long,
  .gdc-card-service-overlay-content .gdc-card-service-long p,
  .gdc-card-service-overlay-content .gdc-card-service-long li {
    font-size: var(--gdc-fs-body) !important;
  }
}

/* Slide up content on hover */
.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-service-overlay-content {
  transform: translateY(0);
}

.gdc-card-service-overlay-content h4 {
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #111318;
}

.gdc-card-service-overlay-content p,
.gdc-card-service-overlay-content li {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #3f3a35;
}

.gdc-card-service-overlay-content ul {
  padding-left: 20px;
  margin: 0 0 0 0;
}

.gdc-service-header {
  display: flex;
  justify-content: space-between;
  align-items: center !important;
  margin-bottom: 16px;
  gap: 16px;
}
.gdc-service-header .gdc-services-title {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}
.gdc-service-header-btn {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
}
/* Keep header slider buttons vertically centered; override any items-end / flex-end */
.gdc-service-header .gdc-slider-btn {
  top: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gdc-slider-btn {
  position: relative;
  transform: none;
  background: #f5f5f5;
  border: none;
  color: #000000;
  width: 44px;
  height: 44px;
  min-height: 44px; /* override theme button min-height so we get a square */
  border-radius: 50%;
  cursor: pointer;
  box-shadow: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gdc-fs-body);
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}
.gdc-slider-btn:hover {
  background: #c9b199;
  color: #fff;
}
.gdc-slider-btn--prev {
  margin-right: 12px;
}
.gdc-slider-btn--next {
  margin-right: 0;
}
.gdc-grid {
  display: grid;
  gap: 18px;
  align-items: center;
}
.gdc-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gdc-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
/* ========== 7. DOCTORS (grid, cards, “All doctors”) ========== */
/* Doctors grid */
.gdc-grid-doctors {
  display: grid;
  gap: 16px !important;
  width: min(1360px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 306px); /* Fixed width columns as requested */
  justify-content: space-between; /* Center the grid */
  align-items: start;
  grid-auto-rows: 1fr;
}

/* Ensure archive layout has proper spacing */
.gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) {
  gap: 16px !important;
  grid-template-columns: repeat(4, 306px) !important;
  justify-content: center !important;
}

/* Archive layout: cards should be exactly 306px */
.gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person {
  max-width: 306px !important;
  width: 306px !important;
  margin: 0 auto !important;
}

/* Archive layout: images should still be 306x306px on desktop */
.gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person .gdc-card-media {
  width: 306px !important;
  height: 306px !important;
}

.gdc-card-person {
  width: 306px !important;
  max-width: 306px !important;
  height: 438px !important;
  min-height: 438px !important;
  padding: 0 !important; /* Removed padding to match exact dimensions */
  gap: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gdc-card-person .gdc-card-media {
  width: 306px;
  height: 306px;
  min-width: 306px;
  min-height: 306px;
  border-radius: 4px;
  background-size: cover;
  background-repeat: no-repeat;
}

.gdc-card-title {
  font-size: var(--gdc-fs-body); /* H5 - Desktop and Tablet */
  font-weight: 500;
  margin: 4px 0;
  color: #111318;
}

.gdc-card-meta {
  font-size: var(--gdc-fs-body) !important;
  color: #111318bf;
  margin: 0;
}

.gdc-card-person .gdc-card-meta {
  font-size: var(--gdc-fs-body) !important;
}

.gdc-card-text {
  font-size: 12px;
  color: #111318bf;
  margin: 4px 0 0;
}

.gdc-card-person .gdc-card-meta,
.gdc-card-person .gdc-card-text {
  line-height: 1.35;
}

/* Card actions (buttons) - always align to start (left) */
.gdc-card-actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start !important;
}

.gdc-card-person .gdc-card-actions {
  align-self: flex-start !important;
}

.gdc-btn-black {
  background: #111318;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.2s;
  border: 1px solid #111318;
}

.gdc-btn-black:hover {
  background: #333;
  color: #fff;
}

.gdc-link-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #111318;
  border-radius: 999px;
  font-size: var(--gdc-fs-body) !important;
  font-weight: 500;
  color: #111318;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gdc-link-details:hover {
  background: #111318 !important;
  color: #fff !important;
}

.gdc-card-person .gdc-link-details {
  font-size: var(--gdc-fs-body) !important;
}

.gdc-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #111318;
  border-radius: 999px;
  font-size: 12px;
  color: #111318;
  text-decoration: none;
  background: #fff;
  width: fit-content;
  margin-top: auto;
  position: static;
}

.gdc-btn-outline:hover {
  background: #111318;
  color: #fff;
}

/* All Doctors link container */
.gdc-all-doctors-wrapper {
  text-align: center;
  margin-top: 32px;
  width: 100%;
  grid-column: 1 / -1;
}

.gdc-all-doctors-link {
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  color: #111318;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gdc-all-doctors-link:hover {
  text-decoration: underline;
}

.gdc-card-ghost {
  visibility: hidden;
  pointer-events: none;
  min-height: 454px;
}

.gdc-german-typo {
  padding: 160px 0 !important;
}

@media (max-width: 640px) {
  .gdc-german-typo {
    padding: 80px 0 !important;
  }
}

/* "All doctors" Card Styles */
.gdc-card-all {
  width: 100% !important;
  max-width: 306px !important;
  min-height: 454px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #e6e0d7 !important;
  border-radius: 12px !important;
  background: #fff !important;
  align-self: stretch;
}

.gdc-card-all-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  color: #2f2822;
}

.gdc-card-all-icon {
  font-size: var(--gdc-fs-body);
}

.gdc-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  pointer-events: auto;
  display: block;
  cursor: pointer;
  background: transparent; /* Ensure it catches clicks */
}

.gdc-card-service .gdc-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  pointer-events: auto;
  display: block;
  cursor: pointer;
  background: transparent; /* Ensure it catches clicks */
}

/* Allow hover/click on the + button without the link blocking it */
.gdc-service-card:has(.gdc-service-cta-icon:hover) .gdc-card-link,
.gdc-card-service:has(.gdc-card-service-cta-icon:hover) .gdc-card-link {
  pointer-events: none;
}
.gdc-clinics {
  padding: 60px 0;
}
/* Force Flexbox layout for clinics row to override theme floats/tables */
.gdc-clinics .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -15px;
  margin-right: -15px;
}
.gdc-clinics .col {
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}
@media (min-width: 850px) {
  .gdc-clinics .col.medium-4 {
    width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
  .gdc-clinics .col.medium-8 {
    width: 66.6666% !important;
    flex: 0 0 66.6666% !important;
    max-width: 66.6666% !important;
  }
}
.clinic-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
}
.clinic-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: #f1eadf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #111318;
  font-size: 12px;
  margin-right: 16px;
  margin-top: 4px; /* Align with first line of text */
}
.clinic-content {
  flex: 1;
}
.clinic-address {
  color: #111318bf;
  font-size: var(--gdc-fs-body);
  line-height: 1.5;
  margin-bottom: 8px;
}
.clinic-phone {
  display: flex;
  align-items: center;
  color: #111318;
  font-size: var(--gdc-fs-body);
  margin-bottom: 16px;
  font-weight: 600;
}
.clinic-phone i {
  margin-right: 8px;
  font-size: 12px;
}
.clinic-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: #111318;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.clinic-btn:hover {
  border-color: #111318;
  background: #111318;
  color: #fff;
}

/* Aliases for user's manual HTML structure (gdc- prefix) */
.gdc-clinic-item {
  display: flex;
  align-items: flex-start;
  /* margin-bottom: 48px; */
}
.gdc-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: #f1eadf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #111318;
  font-size: 12px;
  margin-right: 16px;
  margin-top: 4px;
}
.gdc-info {
  flex: 1;
}
.gdc-address {
  color: #535862;
  font-size: var(--gdc-fs-body);
  line-height: 1.5;
  margin-bottom: 8px;
}
.gdc-phone {
  display: flex;
  align-items: center;
  color: #111318;
  font-size: var(--gdc-fs-body);
  margin-bottom: 16px;
  font-weight: 600;
}
.gdc-phone-icon {
  margin-right: 8px;
  font-size: 12px;
}
.gdc-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: #111318;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.gdc-btn:hover {
  border-color: #111318;
  background: #111318;
  color: #fff;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 600px;
  position: relative;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
}
.gdc-stats {
  padding: 40px 0;
}
.gdc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  text-align: center;
}
.gdc-stat-number {
  font-size: var(--gdc-fs-display-3) !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}
@media (max-width: 640px) {
  .gdc-stat-number {
    font-size: var(--gdc-fs-display-5) !important;
  }
}
.gdc-stat-label {
  font-size: 12px;
  color: #4b433d;
}
.gdc-stat-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 6px;
}
.gdc-slider {
  position: relative;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.gdc-slider::-webkit-scrollbar {
  display: none;
}
.gdc-slider-testimonials .gdc-slider-track {
  gap: 24px;
}
.gdc-slider-track {
  display: flex;
  gap: 18px;
  min-width: 100%;
}
.gdc-testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 12px 0;
}
.gdc-testimonial-header-btn {
  display: flex;
}
.gdc-card-testimonial {
  min-width: 600px;
  max-width: 800px;
  height: auto;
  padding: 24px;
  border-radius: var(--gdc-radius-lg);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: white;
  border: 1px solid #d5d7da;
}

/* Split layout for desktop when video is present */
@media (min-width: 960px) {
  .gdc-card-testimonial.has-video {
    flex-direction: row;
    min-width: 1000px; /* Wider card for split content */
    max-width: 1100px;
    align-items: flex-start;
  }

  .gdc-testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .gdc-testimonial-video {
    flex: 0 0 450px; /* Fixed width for video column */
    max-width: 320px;
  }
}

.gdc-testimonial-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdc-testimonial-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.gdc-card-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.gdc-avatar {
  width: 128px;
  height: 128px;
  border-radius: 4px; /* Skeleton shows slight rounding */
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
/* Scoped styles for testimonial content to match skeleton */
.gdc-card-testimonial .gdc-card-title {
  font-size: var(--gdc-fs-h2) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 0 0 4px 0;
  color: #111318;
}

.gdc-card-testimonial .gdc-card-meta {
  font-size: var(--gdc-fs-body) !important; /* Body blockquote size/style approximation */
  line-height: 1.5 !important;
  color: #4b5563;
  font-style: italic; /* assuming blockquote style */
}

.gdc-card-testimonial .gdc-card-text {
  font-size: var(--gdc-fs-lead) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #111318bf;
  margin-top: 0;
}

/* Tablet Overrides (max-width: 960px) */
@media (max-width: 960px) {
  .gdc-card-testimonial .gdc-card-title {
    font-size: var(--gdc-fs-h3) !important;
  }
  .gdc-card-testimonial .gdc-card-meta {
    font-size: var(--gdc-fs-body) !important; /* Keep body blockquote size */
  }
  .gdc-card-testimonial .gdc-card-text {
    font-size: var(--gdc-fs-lead) !important;
  }
}

/* Mobile Overrides (max-width: 640px) */
@media (max-width: 640px) {
  .gdc-card-testimonial .gdc-card-title {
    font-size: var(--gdc-fs-body) !important; /* H6 */
    font-weight: 400 !important;
  }
  .gdc-card-testimonial .gdc-card-meta {
    font-size: 12px !important; /* Body small */
    font-style: normal;
  }
  .gdc-card-testimonial .gdc-card-text {
    font-size: 12px !important; /* Body small */
    font-weight: 400 !important;
  }
  .gdc-avatar {
    width: 64px !important;
    height: 64px !important;
  }
}
.gdc-rating span {
  color: #d7b9a3;
}
.gdc-logos {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.gdc-logo-item {
  background: #f7f5f1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  max-width: 1296px;
}
.gdc-logos img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(0.1);
}
.gdc-card-photo .gdc-card-media {
  width: 100%;
}
.gdc-gallery-split {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.gdc-gallery-split > * {
  flex: 1 1 0;
  min-width: 0;
}

.gdc-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  align-content: flex-start;
}

.gdc-gallery-column figure,
.gdc-gallery-column .gdc-card-photo {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  align-self: flex-start;
  position: relative;
  border: none !important;
  outline: none !important;
}

.gdc-gallery-column-left {
  align-items: flex-end;
  flex: 1 1 0;
  align-self: flex-start;
}

.gdc-gallery-column-right {
  align-items: flex-start;
  flex: 1 1 0;
  align-self: flex-start;
}

.gdc-gallery-column .gdc-card-photo {
  align-self: flex-start;
  width: 100%;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.gdc-gallery-split .gdc-card-photo {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  box-sizing: border-box;
  border: none !important;
  outline: none !important;
}

.gdc-card-photo .gdc-card-media {
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  border: none !important;
  overflow: hidden;
  position: relative;
}

/* For gallery masonry: maintain original aspect ratio, resize to container width */
.gdc-gallery-column .gdc-card-photo .gdc-card-media {
  padding-bottom: 75%; /* Default 4:3 ratio - maintains aspect ratio */
  height: 0;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}

/* Note: To maintain each image's unique aspect ratio, JavaScript would need to:
   1. Load each image
   2. Get its natural width/height
   3. Calculate aspect ratio
   4. Set padding-bottom: (height/width * 100)%
   
   For now, using default 4:3 ratio. Images will maintain their aspect ratio within this container.
*/
.gdc-why {
  padding: 0;
}

.gdc-why-hero {
  position: relative;
  height: 256px;
  background-size: cover !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px 48px;
  margin-bottom: 48px;
  overflow: hidden;
}

.gdc-why-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 20%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 20%, black 100%);
  z-index: 1;
}

.gdc-why-hero::after {
  display: none;
}

.gdc-why-hero-title {
  position: relative;
  z-index: 2;
  font-size: var(--gdc-fs-display-5);
  font-weight: 700;
  color: #111318;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* ========== 8. WHY / SOCIAL / WORKING HOURS ========== */
.gdc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1296px;
  margin: 0 auto;
}

.gdc-why-card {
  background: #fff;
  border-radius: 14px;
  display: grid;
  /* margin: 16px; */
  /* gap: 12px; */
}

.gdc-why-card h3 {
  margin: 0;
  font-size: 14.4px;
  font-weight: 600;
  color: #111318;
}

.gdc-why-card p {
  margin: 0;
  color: #111318bf;
  line-height: 1.5;
  font-size: var(--gdc-fs-body) !important;
}

@media (max-width: 991.98px) {
  .gdc-why-card p {
    font-size: var(--gdc-fs-body) !important;
  }
  .gdc-card-person .gdc-link-details {
    font-size: var(--gdc-fs-body) !important;
  }
  .gdc-card-person .gdc-card-meta {
    font-size: var(--gdc-fs-body) !important;
  }
}

@media (max-width: 767.98px) {
  .gdc-why-card p {
    font-size: var(--gdc-fs-body) !important;
  }
  .gdc-card-person .gdc-link-details {
    font-size: var(--gdc-fs-body) !important;
  }
  .gdc-card-person .gdc-card-meta {
    font-size: var(--gdc-fs-body) !important;
  }
}

.gdc-why-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 4px;
  border: 1px solid var(--Border-Color, #d5d7da);
  border-radius: 10px;
  padding: 12px;
}

.gdc-why-icon-bi {
  font-size: var(--gdc-fs-h2);
  color: #111318;
  margin-bottom: 12px;
  display: inline-block;
  line-height: 1;
}

.gdc-why-btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 32px 48px;
}

.gdc-why-btn-wrapper .gdc-btn-outline {
  background: #111318;
  color: #fff;
  border-color: #111318;
  padding: 8px 12px;
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  border-radius: 999px;
  border-width: 1px;
  cursor: pointer;
  min-width: 171px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdc-why-btn-wrapper .gdc-btn-outline:hover {
  background: #2f2f2f;
  border-color: #2f2f2f;
}

/* Social Connect (desktop h2, tablet h3, mobile h4) */
/* Social Connect Section */
.gdc-social-connect {
  background-color: #f7f5f1;
  padding: 60px 20px;
  text-align: center;
}

/* Responsive: Desktop h2, Tablet h3, Mobile h4 */
.gdc-social-title {
  font-size: var(--gdc-fs-h2) !important; /* h2 */
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 24px;
  color: #111318;
}

@media (max-width: 960px) {
  .gdc-social-title {
    font-size: var(--gdc-fs-h3) !important; /* h3 */
  }
}

@media (max-width: 640px) {
  .gdc-social-title {
    font-size: var(--gdc-fs-h4) !important; /* h4 */
  }
}

.gdc-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.gdc-social-icon {
  font-size: var(--gdc-fs-h2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.gdc-social-icon:hover {
  transform: translateY(-2px);
}

/* Brand Colors */
.gdc-social-icon.facebook {
  color: #1877f2;
}

.gdc-social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* Fallback */
}

.gdc-social-icon.youtube {
  color: #ff0000;
}

.gdc-social-icon.twitter {
  color: #000000;
}

.gdc-social-icon.linkedin {
  color: #0a66c2;
}

.gdc-social-icon.default {
  color: #111318;
}

/* Working Hours Section */
.gdc-working-hours {
  background-color: #fff;
}

.gdc-hours-card {
  background-color: #f1eadf;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1296px;
  margin: 0 auto;
}

/* Ensure flex layout works */
.gdc-hours-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Responsive: Desktop display-5, Tablet display-6, Mobile h4 */
.gdc-working-hours .gdc-hours-title,
.gdc-working-hour .gdc-hours-title,
.gdc-hours-card .gdc-hours-title {
  font-size: var(--gdc-fs-display-5) !important; /* display-5 */
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 24px;
  color: #111318;
}

@media (max-width: 960px) {
  .gdc-working-hours .gdc-hours-title,
  .gdc-working-hour .gdc-hours-title,
  .gdc-hours-card .gdc-hours-title {
    font-size: var(--gdc-fs-display-6) !important; /* display-6: 40px −20% */
  }
}

@media (max-width: 640px) {
  .gdc-working-hours .gdc-hours-title,
  .gdc-working-hour .gdc-hours-title,
  .gdc-hours-card .gdc-hours-title {
    font-size: var(--gdc-fs-h4) !important; /* h4 */
    font-weight: 500 !important;
  }
}

.gdc-hours-days,
.gdc-hours-time {
  font-size: 14.4px;
  color: #11131880;
  margin-bottom: 8px;
}

.gdc-hours-time {
  margin-bottom: 32px;
  font-weight: 600;
}

/* Mobile: hours days/time at h4 size (override h1 default) */
@media (max-width: 640px) {
  .gdc-working-hours .gdc-hours-days,
  .gdc-working-hour .gdc-hours-days,
  .gdc-hours-card .gdc-hours-days,
  .gdc-working-hours .gdc-hours-time,
  .gdc-working-hour .gdc-hours-time,
  .gdc-hours-card .gdc-hours-time,
  #main .gdc-hours-days,
  #main .gdc-hours-time,
  #content .gdc-hours-days,
  #content .gdc-hours-time {
    font-size: var(--gdc-fs-h4) !important; /* h4 */
    line-height: 1.5 !important;
    font-weight: 500 !important;
  }
}

.gdc-hours-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #111318;
  color: #fff;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.2s;
}

.gdc-hours-btn:hover {
  background-color: #333;
  color: #fff;
}

/* Working hours image: desktop 525×561, tablet 696×378, mobile 359×384 */
.gdc-hours-img {
  display: block;
  width: 525px;
  max-height: 561px;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .gdc-grid-doctors {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }

  .gdc-card-person {
    width: 100% !important;
    max-width: 306px !important;
    height: auto !important;
    min-height: auto !important;
  }

  .gdc-card-person .gdc-card-media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1;
    min-width: unset !important;
    min-height: unset !important;
  }

  /* Services grid: 2 columns on tablet */
  .gdc-grid-services {
    grid-template-columns: repeat(2, 416px);
    gap: 20px;
    justify-content: center;
  }

  .gdc-card-service {
    width: 416px;
    height: 480px;
  }

  /* Archive layout: 3 columns at tablet size - allow flexible sizing */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) {
    grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
    gap: 32px !important;
    justify-content: center !important;
  }

  /* Archive layout: cards should fill their cells at tablet */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Archive layout: images should be 306x306px but can scale down if needed */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person .gdc-card-media {
    width: 100% !important;
    max-width: 306px !important;
    height: 306px !important;
    margin: 0 auto !important;
  }
  .gdc-card-testimonial {
    min-width: 820px;
    max-width: 820px;
    height: auto;
  }
  .gdc-service-card {
    flex: 0 0 55%;
  }
}
/* Tablet breakpoint: 641px to 1200px - 2 columns for why grid */
@media (min-width: 641px) and (max-width: 1200px) {
  .gdc-why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

@media (max-width: 960px) {
  .gdc-hero-grid {
    grid-template-columns: 1fr;
  }
  /* Make hero display-4 look like h2 on tablet/mobile */
  .gdc-hero .display-4 {
    font-size: var(--gdc-fs-h2) !important; /* h2 size */
    font-weight: 500 !important; /* h2 weight */
    line-height: 1.2 !important;
  }

  .gdc-hero-sub {
    font-size: var(--gdc-fs-body) !important; /* h5 style */
    font-weight: 500 !important;
  }

  /* Stats Grid: 2 items per row on tablet */
  .gdc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tablet Doctors Grid - 3 columns as requested */
  .gdc-grid-doctors {
    grid-template-columns: repeat(3, 1fr) !important;
    justify-content: center;
    gap: 16px !important;
  }

  /* Services grid: 2 columns on tablet/mobile */
  .gdc-grid-services {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 16px;
    justify-content: center;
  }

  .gdc-card-service {
    width: 100%;
    max-width: 416px;
    height: auto;
    min-height: 400px;
  }

  /* Archive layout: 3 columns at tablet */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    justify-content: center !important;
  }

  /* Archive layout: cards should fill their cells at tablet */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Mobile/Tablet Card Styling - Make all cards consistent */
  .gdc-card-person {
    min-height: auto !important;
    padding: 0 !important;
    gap: 8px;
    align-items: center !important; /* Center all content */
    text-align: center !important; /* Center text */
    max-width: 100% !important; /* Remove max-width restriction */
    display: flex !important;
    flex-direction: column !important;
  }

  /* Image size for tablet - Fluid */
  .gdc-card-person .gdc-card-media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1;
    min-width: unset !important;
    min-height: unset !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 auto 8px auto !important; /* Center the image */
    flex-shrink: 0 !important; /* Prevent image from shrinking */
    background-size: cover !important; /* Ensure image covers the square */
    background-repeat: no-repeat !important; /* Prevent image repetition */
    border-radius: 4px !important; /* Maintain rounded corners */
    overflow: hidden !important; /* Ensure nothing shows outside the square */
    display: block !important; /* Ensure it's a block element */
  }

  /* Center and style title - will be equalized by JS */
  .gdc-card-person .gdc-card-title {
    text-align: start !important;
    margin: 0 0 4px 0 !important;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  /* Center and style meta/role - will be equalized by JS */
  .gdc-card-person .gdc-card-meta {
    text-align: start !important;
    margin: 0 !important;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  /* Card actions on the left on tablet/mobile */
  .gdc-card-person .gdc-card-actions {
    justify-content: flex-start !important;
    align-self: flex-start !important;
    width: 100%;
    margin-top: auto !important;
    padding-top: 8px !important;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  /* Grid alignment - stretch all cards in row to same height */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) {
    align-items: stretch !important;
  }

  /* Ensure cards fill their grid cells */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person {
    height: 100% !important;
  }

  /* Hide Book Appointment button on mobile/tablet - Increased specificity */
  .gdc-card-actions .gdc-btn-black {
    display: none !important;
  }

  /* Style details link as a button - centered */
  .gdc-link-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: 1px solid #111318;
    border-radius: 999px;
    font-size: var(--gdc-fs-body) !important;
    font-weight: 600;
    color: #111318;
    background: #fff;
    width: auto;
  }

  .gdc-clinics-inner {
    grid-template-columns: 1fr;
  }
  .gdc-gallery-split {
    flex-direction: column;
    gap: 32px;
  }
  .gdc-gallery-column-left,
  .gdc-gallery-column-right {
    align-items: center;
  }
  .gdc-card-testimonial {
    min-width: 100%;
    max-width: 100%;
    height: auto;
  }
  .gdc-services-strip {
    padding: 20px 16px 16px;
  }
  .gdc-service-card {
    flex: 0 0 75%;
    min-width: 260px;
    height: 420px;
  }
  /* .gdc-slider-btn {
    top: -14px;
  } */
  .gdc-why-hero {
    min-height: 300px;
    padding: 60px 12px;
  }
  .gdc-why-hero-title {
    font-size: 28.8px;
  }
  .gdc-why-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  /* Tablet hours image */
  .gdc-hours-img {
    width: 696px;
    max-height: 378px;
  }
  /* Mobile hours layout (stacked) */
  .gdc-hours-card > div {
    flex-direction: column;
  }
  .gdc-hours-card .gdc-hours-title {
    margin-bottom: 16px;
  }
}
@media (max-width: 640px) {
  /* Mobile hours image */
  .gdc-hours-img {
    max-height: 384px;
  }
  .gdc-hero-sub {
    font-size: var(--gdc-fs-body) !important; /* body style */
    font-weight: 400 !important;
  }

  /* Services strip: 1 full card visible on mobile (not 1.5) */
  .gdc-services-track .gdc-service-card {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
  }

  /* Stats Grid: 1 item per row on mobile */
  .gdc-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .gdc-grid-doctors {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    /* padding: 0 10px; */
  }

  /* Services grid: 1 column on mobile */
  .gdc-grid-services {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }

  .gdc-card-service {
    width: 100%;
    max-width: 416px;
    height: auto;
    min-height: 400px;
    margin: 0 auto;
  }

  /* Archive layout: 2 columns at mobile */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) {
    grid-template-columns: repeat(2, minmax(164px, 1fr)) !important;
    gap: 16px !important;
    justify-content: center !important;
    padding: 0 10px !important;
  }

  .gdc-card-person {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    padding: 0 !important;
  }

  /* Archive layout: cards should fill their cells at mobile */
  .gdc-grid.gdc-grid-doctors:not(.gdc-grid-home) .gdc-card-person {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Mobile "All doctors" card: in grid order (next to last doctor card), style like .gdc-why-card */
  .gdc-grid-doctors .gdc-card-all,
  .gdc-grid.gdc-grid-doctors.gdc-grid-home .gdc-card-all {
    /* No order / grid-column so it stays in flow with other articles */
    background: #fff !important;
    border-radius: 14px !important;
    border: 1px solid #e6e0d7 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    min-height: auto !important;
    height: auto !important;
    padding: 24px 20px !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .gdc-grid-doctors .gdc-card-all-inner,
  .gdc-grid.gdc-grid-doctors.gdc-grid-home .gdc-card-all-inner {
    justify-content: center;
    font-size: var(--gdc-fs-body) !important;
    font-weight: 600 !important;
    color: #111318 !important;
  }
  .gdc-grid-doctors .gdc-card-all .gdc-card-link,
  .gdc-grid.gdc-grid-doctors.gdc-grid-home .gdc-card-all .gdc-card-link {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 11 !important;
  }

  /* Image size for mobile - Fluid to fit 2 columns */
  .gdc-card-person .gdc-card-media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1;
    min-width: unset !important;
    min-height: unset !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 auto 8px auto !important;
    flex-shrink: 0 !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    display: block !important;
  }
  .gdc-card-title {
    font-size: var(--gdc-fs-body); /* H6 - Mobile */
    font-weight: 400;
  }

  /* Hide gallery on mobile */
  .gdc-gallery-split {
    display: none !important;
  }

  /* Fix slider header alignment */
  .gdc-testimonial-header,
  .gdc-service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .gdc-testimonial-header .section-title,
  .gdc-service-header h1 {
    font-size: 17.6px;
    margin-bottom: 0;
    line-height: 1.2;
  }
  .gdc-testimonial-header .gdc-testimonial-title {
    font-size: var(--gdc-fs-h3) !important; /* h3 on mobile */
    font-weight: 500 !important;
  }
  .gdc-testimonial-header-btn,
  .gdc-service-header-btn {
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
  }
  .gdc-service-header .gdc-slider-btn {
    top: 0;
    width: 36px;
    height: 36px;
    min-height: 36px; /* override theme 40px so button stays 36×36 */
    font-size: var(--gdc-fs-body);
  }
  .gdc-slider-btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
    font-size: var(--gdc-fs-body);
  }
  .gdc-slider-btn--prev {
    margin-right: 0;
  }

  /* Other mobile styles */
  .gdc-clinics-inner {
    grid-template-columns: 1fr;
  }
  .gdc-why-hero {
    min-height: 250px;
    padding: 24px 20px;
  }
  .gdc-why-hero-title {
    font-size: var(--gdc-fs-h3);
  }
  .gdc-why-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (min-width: 1201px) {
  /* Hard override to force exact 4-column layout on large screens */
  .gdc-grid.gdc-grid-doctors.gdc-grid-home {
    grid-template-columns: repeat(4, 306px) !important;
    gap: 16px !important;
    justify-content: center !important;
  }
  .gdc-grid.gdc-grid-doctors.gdc-grid-home > .gdc-card-person {
    width: 306px !important;
    max-width: 306px !important;
    min-height: 438px !important;
    height: 438px !important;
  }
  .gdc-grid.gdc-grid-doctors.gdc-grid-home > .gdc-card-ghost {
    min-height: 438px !important;
  }
  .gdc-grid.gdc-grid-doctors.gdc-grid-home > .gdc-card-all {
    width: 306px !important;
    max-width: 306px !important;
    min-height: 438px !important;
  }
}

/* 5 Column Grid for About Page */
.gdc-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .gdc-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .gdc-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Core Values */
.gdc-value-icon {
  font-size: var(--gdc-fs-h4);
  margin-bottom: 16px;
  display: inline-block;
  color: #111318;
}
.gdc-value-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* FAQ Layout */
.gdc-faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .gdc-faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Phone link styling */
.gdc-clinic-phone a,
.clinic-phone a {
  color: inherit;
  text-decoration: none;
}
.gdc-clinic-phone a:hover,
.clinic-phone a:hover {
  text-decoration: underline;
}

/* ========== 11. BOOKING MODAL ========== */
/* --- Booking Modal Styles --- */
.gdc-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gdc-modal.is-active {
  display: flex;
}

.gdc-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.gdc-modal-container {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: gdcModalFadeIn 0.3s ease-out forwards;
  max-height: 90vh;
  overflow-y: auto;
}

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

.gdc-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: var(--gdc-fs-h3);
  line-height: 1;
  color: #6a6057;
  cursor: pointer;
  padding: 5px;
}

.gdc-modal-header {
  margin-bottom: 24px;
}

.gdc-modal-title {
  font-size: var(--gdc-fs-h4);
  font-weight: 600;
  margin: 0 0 12px;
  color: #111318;
}

.gdc-modal-desc {
  font-size: 12px;
  color: #111318bf;
  line-height: 1.5;
  margin: 0;
}

.gdc-form-group {
  margin-bottom: 20px;
}

.gdc-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #111318bf;
}

/* Radio items: bullet left, text right (override .gdc-form-group label display) */
.gdc-form-group .gdc-radio-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-bottom: 0;
}

.gdc-form-group .required {
  color: #d32f2f;
}

.gdc-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: var(--gdc-fs-body);
  color: #111318;
  background: #fff;
  transition: border-color 0.2s;
}

.gdc-input:focus {
  outline: none;
  border-color: #111318;
}

.gdc-clinics-radio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gdc-radio-item {
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
}

.gdc-radio-input-wrapper {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  order: 0;
  margin-top: 2px;
}

.gdc-radio-input-wrapper input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.gdc-radio-control {
  position: absolute;
  inset: 0;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  transition: all 0.2s;
}

.gdc-radio-control::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #111318;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s;
}

.gdc-radio-input-wrapper input:checked + .gdc-radio-control {
  border-color: #111318;
  border-width: 2px;
}

.gdc-radio-input-wrapper input:checked + .gdc-radio-control::after {
  transform: scale(1);
}

.gdc-radio-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  order: 1;
}

.gdc-radio-title {
  font-size: 12px;
  font-weight: 500;
  color: #111318;
}

.gdc-radio-input-wrapper input:checked ~ .gdc-radio-content .gdc-radio-title {
  font-weight: 700;
}

.gdc-radio-desc {
  font-size: 12px;
  color: #6a6057;
  margin-top: 2px;
}

.gdc-btn-submit {
  width: 100%;
  background: #111318;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 999px;
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.gdc-btn-submit:hover {
  background: #333;
}

.gdc-btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.gdc-form-message {
  margin-top: 16px;
  font-size: 12px;
  text-align: center;
}

.gdc-form-message.success {
  color: #2e7d32;
}

.gdc-form-message.error {
  color: #d32f2f;
}

/* ========== 12. HEADER & NAV ========== */
/* Logo aligned to end of header-inner */
.header-inner #logo {
  margin-left: auto !important;
}

/* Header nav main: use body font size */
.header-nav.header-nav-main,
.header-nav.header-nav-main .nav-top-link,
.header-nav.header-nav-main > li > a {
  font-size: var(--gdc-fs-body) !important;
}

/* Header Navigation Button Styling */
.header .button,
.header a.button,
.header-nav a.button,
.header-inner .button,
.header-inner a.button,
.header-wrapper .button,
.header-wrapper a.button,
.header-main .button,
.header-main a.button {
  color: #fff !important;
}

.header .button:hover,
.header a.button:hover,
.header-nav a.button:hover,
.header-inner .button:hover,
.header-inner a.button:hover,
.header-wrapper .button:hover,
.header-wrapper a.button:hover,
.header-main .button:hover,
.header-main a.button:hover {
  color: #fff !important;
  opacity: 0.9;
}
/* 
/* Navigation Dropdown Styling - Match Sample Design */
.nav-dropdown {
  border-radius: 12px !important;
  background-color: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
  padding: 16px !important; /* Reduced generic padding for better default look */
  /* Fix for JS calculating full height on container-width dropdowns */
  bottom: auto !important;
  height: auto !important;
}

/* 
 * FIX FOR SERVICES MEGA MENU (UX BLOCK)
 * Ensures the UX Block has full control over spacing
 * Position: centered on page, top at 150% of trigger
 */
#menu-item-26128 > .nav-dropdown {
  /* Reset padding so the UX Block controls the spacing */
  padding: 0 !important;

  /* Ensure correct stacking and visibility */
  z-index: 100 !important;
  background-color: #fff !important;

  /* Center dropdown on page; override theme/JS left (e.g. left: -99706px) */
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  /* Top: ~150% of header/nav height so dropdown sits clearly below bar */
  top: 40px !important;
  right: auto !important;
  width: 910px !important;
  max-width: calc(100vw - 32px) !important;
  margin-left: 0 !important;
}

/* 
 * FIX FOR LANGUAGE SWITCHER DROPDOWN
 * Ensures the dropdown appears below the button, not above
 */
.active > ul.sub-menu,
ul.sub-menu.nav-dropdown.nav-dropdown-default {
  top: 100% !important;
  display: table !important;
}

.header-language-dropdown,
#menu-item-26974 {
  position: relative !important;
}

.header-language-dropdown .nav-dropdown,
#menu-item-26974 > .nav-dropdown {
  top: 100% !important;
  bottom: auto !important;
  margin-top: 8px !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
}

.nav-dropdown li {
  padding: 0;
  margin: 0;
  border-bottom: none !important;
}

.nav-dropdown li > a {
  font-size: var(--gdc-fs-body) !important;
  color: #111318 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease !important;
  display: block !important;
}
*/ .nav-dropdown li > a:hover,
.nav-dropdown li > a:focus,
.nav-dropdown li:hover > a,
.nav-dropdown li.active > a,
.nav-dropdown li.current-menu-item > a {
  background-color: #f5f5f5 !important;
  color: #111318 !important;
  /* Remove any green highlights */
  outline: none !important;
  box-shadow: none !important;
}

/* Remove any green selection/highlight effects */
.nav-dropdown li > a::before,
.nav-dropdown li > a::after {
  display: none !important;
}

.nav-dropdown li.active::before,
.nav-dropdown li.current-menu-item::before {
  display: none !important;
}

/* Ensure no green colors appear */
.nav-dropdown li > a:hover {
  background-color: #f5f5f5 !important;
}

/* Remove any theme default hover effects that might be green */
.nav-dropdown-default li > a:hover {
  color: #111318 !important;
  background-color: #f5f5f5 !important;
}

/* Remove white blur background from entire header */
#header,
.header,
.header-wrapper,
.header-wrapper .header-main,
.header-wrapper .header-bg-container,
.header-bg-color,
.header-bg-image {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Add semi-transparent white background with blur to navigation menu */
.header-wrapper .header-nav-main.nav-left {
  background: #ffffff4d !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  box-shadow: none !important;
}

/* Mobile (768px and less): mobile nav button text (e.g. "Book") uses body */
@media (max-width: 768px) {
  #header .mobile-nav .header-button a.button span,
  #header .mobile-nav .header-button a span {
    font-size: var(--gdc-fs-body) !important;
  }
}

/* Mobile/Tablet: solid white navigation background */
@media (max-width: 1024px) {
  #header .header-main {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Ensure no transparent overrides */
  .header-bg-color,
  .header-wrapper {
    background-color: #ffffff !important;
  }
}

/* Contact Button Styling */
.gdc-contact-button {
  font-size: var(--gdc-fs-h6) !important;
  background-color: #111318;
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.gdc-contact-button:hover {
  background-color: #333;
  color: #fff;
  opacity: 0.9;
}

/* Off-canvas menu: ensure it sits above share block and other fixed elements when open */
.mfp-wrap.off-canvas-right,
.mfp-wrap.off-canvas-left {
  z-index: 10002 !important;
}

/* Share block inside off-canvas menu: keep in flow so it doesn’t overlap nav links */
.mfp-content .share-icons,
.mfp-content .blog-share,
.mfp-content .social-icons.share-icons {
  position: relative !important;
  z-index: 0 !important;
}

/* Off-canvas panel: white background */
.off-canvas-right .mfp-content,
.off-canvas-left .mfp-content {
  background: #ffffff !important;
}

/* Off-canvas top-level nav: body lead typography, no dividers */
.off-canvas-right .mfp-content .nav-sidebar.nav-vertical > li > a,
.off-canvas-left .mfp-content .nav-sidebar.nav-vertical > li > a {
  font-size: var(--gdc-fs-lead, 16px) !important;
  line-height: var(--gdc-line-height-normal, 1.5) !important;
  font-weight: 500 !important;
  font-family: var(--gdc-font-family, "Manrope", sans-serif) !important;
  color: var(--gdc-color-text, #111318);
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.off-canvas-right .mfp-content .nav-sidebar.nav-vertical > li:first-child > a,
.off-canvas-left .mfp-content .nav-sidebar.nav-vertical > li:first-child > a {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  /* padding-bottom: 0 !important; */
}

.off-canvas-right .mfp-content .nav-sidebar.nav-vertical > li:last-child > a,
.off-canvas-left .mfp-content .nav-sidebar.nav-vertical > li:last-child > a,
.off-canvas-right .mfp-content .nav-sidebar.nav-vertical > li.pll-parent-menu-item,
.off-canvas-left .mfp-content .nav-sidebar.nav-vertical > li.pll-parent-menu-item {
  border-top: none !important;
  margin-top: 0 !important;
  /* padding-top: 0 !important; */
}

.off-canvas-right .mfp-content .nav-sidebar.nav-vertical > li,
.off-canvas-left .mfp-content .nav-sidebar.nav-vertical > li {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Mobile: off-canvas sub-menu links (e.g. ORTHODONTIC, GENERAL DENTISTRY) use body */
@media (max-width: 768px) {
  .off-canvas-right .mfp-content .nav-sidebar .sub-menu li a,
  .off-canvas-left .mfp-content .nav-sidebar .sub-menu li a,
  .off-canvas-right .mfp-content .nav-sidebar .children li a,
  .off-canvas-left .mfp-content .nav-sidebar .children li a {
    font-size: var(--gdc-fs-body) !important;
  }
}

/* Icon Action Button Styling */
.gdc-icon-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  /* Color is set inline via style attribute from theme mod */
}

.gdc-icon-action-button:hover {
  transform: scale(1.05);
  opacity: 0.9;
  /* Preserve icon color on hover */
}

.gdc-icon-action-button svg {
  width: auto;
  height: auto;
  flex-shrink: 0;
}

/* Success Modal Styling (Figma) */
.gdc-success-container {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.gdc-success-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 32px;
}

.gdc-success-modal-title {
  font-family: "Manrope", sans-serif;
  font-size: var(--gdc-fs-h4);
  font-weight: 600;
  color: #111318;
  margin: 0;
}

.gdc-success-container .gdc-success-close {
  position: static;
  top: auto;
  right: auto;
  background: none;
  border: none;
  font-size: var(--gdc-fs-h2);
  line-height: 1;
  color: #111318;
  padding: 0;
  width: 32px;
  height: 32px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gdc-success-container .gdc-success-close:hover {
  color: #666;
}

.gdc-success-container .gdc-success-close i {
  font-size: 1em;
}

.gdc-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 48px 48px;
  gap: 24px;
}

.gdc-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f5f5f5;
  border-radius: 50%;
  flex-shrink: 0;
}

.gdc-success-icon i {
  font-size: 48px;
  color: #111318;
  line-height: 1;
}

.gdc-success-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #111318;
  margin: 0;
}

.gdc-success-title.gdc-display-6 {
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gdc-success-message {
  font-size: var(--gdc-fs-body);
  color: #111318bf;
  line-height: 1.5;
  margin: 0;
  max-width: 400px;
  padding-left: 3rem;
  padding-right: 3rem;
}

.gdc-btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111318;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 0;
}

.gdc-btn-success:hover {
  background: #333;
  color: #fff;
}

/* Floating Action Buttons (Mobile Only) */
.gdc-fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  display: none; /* Hidden by default, shown on mobile */
  flex-direction: column;
  gap: 16px;
}

.gdc-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.gdc-fab-booking {
  background: #111318;
  color: #fff;
}

.gdc-fab-booking:hover {
  background: #333;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.gdc-fab-booking svg {
  width: 24px;
  height: 24px;
}

.gdc-fab-plus {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
}

.gdc-fab-call {
  background: #6a6057;
  color: #fff;
}

.gdc-fab-call:hover {
  background: #5a5047;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

.gdc-fab-call svg {
  width: 24px;
  height: 24px;
}

/* Show FABs only on mobile/small screens */
@media (max-width: 768px) {
  .gdc-fab-container {
    display: flex;
  }
}

/* Adjust position on very small screens */
@media (max-width: 480px) {
  .gdc-fab-container {
    bottom: 16px;
    right: 16px;
  }

  .gdc-fab {
    width: 52px;
    height: 52px;
  }

  .gdc-fab svg {
    width: 22px;
    height: 22px;
  }
}

/* Header Phone Dropdown */
.header-icon-action.has-dropdown {
  position: relative;
}

.header-icon-action.has-dropdown:hover .gdc-phone-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gdc-phone-dropdown {
  position: absolute;
  top: 100%;
  right: -10px;
  margin-top: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 8px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Triangle arrow */
.gdc-phone-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bridge to prevent closing when moving cursor */
.gdc-phone-dropdown::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.gdc-phone-item {
  display: flex !important; /* Override theme a styles */
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  text-decoration: none !important;
  border-radius: 12px;
  transition: background-color 0.2s ease;
  color: #111318 !important;
  background: transparent;
}

.gdc-phone-item:hover {
  background-color: #f8f9fa;
}

.gdc-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111318;
  font-size: var(--gdc-fs-body);
  opacity: 0.8;
}

.gdc-phone-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.gdc-phone-number {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: var(--gdc-fs-body);
  color: #111318;
  transition: color 0.2s ease;
}

.gdc-phone-item:hover .gdc-phone-number {
  color: #007bff; /* Blue on hover */
}

.gdc-phone-item:hover .gdc-phone-icon {
  color: #007bff;
}

.gdc-phone-label {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  color: #6c757d; /* Muted text */
  font-weight: 400;
}

/* ========== 13. CONTACT / CLINICS & ABOUT ========== */
/* --- Improved "Our Clinics" Layout Classes --- */
.gdc-clinics-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  width: 100% !important;
}

.gdc-clinics-list-col {
  display: none; /* Hidden on mobile by default */
  flex-direction: column;
  gap: 40px;
}

.gdc-clinics-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important; /* H2 */
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
}

@media (max-width: 640px) {
  .gdc-clinics-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

.gdc-clinics-map-col {
  width: 100%;
}

.gdc-map-embed {
  width: 100%;
  height: 500px;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gdc-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Tablet (md) and Desktop Layout */
@media (min-width: 768px) {
  .gdc-clinics-grid {
    grid-template-columns: 350px 1fr !important; /* Fixed sidebar width */
    align-items: center !important; /* Center vertically */
    gap: 48px !important;
  }

  .gdc-clinics-list-col {
    display: flex !important; /* Visible on tablet+ */
  }
}

@media (min-width: 1200px) {
  .gdc-clinics-grid {
    grid-template-columns: 380px 1fr !important;
  }
}

/* --- Contact Us Page: Our Clinics Section --- */
.gdc-contact-us-our-clinics {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important; /* H2 */
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #111318 !important;
}

@media (max-width: 640px) {
  .gdc-contact-us-our-clinics {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

.gdc-contact-clinic-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h3) !important; /* H3 */
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #111318 !important;
  margin-bottom: 4px !important;
}

@media (max-width: 960px) {
  .gdc-contact-clinic-title {
    font-size: var(--gdc-fs-h4) !important; /* H4 */
    line-height: 1.5 !important;
  }
}

/* --- About Us Page Label --- */
/* About label: use on <span> or <h1>. Desktop display-5, tablet display-6, mobile h2 */
.gdc-about-label {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-display-5) !important; /* display-5 */
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: #111318 !important;
  margin: 0;
}

@media (max-width: 960px) {
  .gdc-about-label {
    font-size: var(--gdc-fs-display-6) !important; /* display-6: 40px −20% */
  }
}

@media (max-width: 640px) {
  .gdc-about-label {
    font-size: var(--gdc-fs-h2) !important; /* h2 */
    font-weight: 500 !important;
  }
}

/* About main heading: desktop display-3, tablet display-4, mobile display-6 */
.gdc-about-main-heading {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-display-3) !important; /* display-3 */
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: #111318 !important;
  margin: 0;
}

@media (max-width: 960px) {
  .gdc-about-main-heading {
    font-size: var(--gdc-fs-display-4) !important; /* display-4 */
  }
}

@media (max-width: 640px) {
  .gdc-about-main-heading {
    font-size: var(--gdc-fs-display-6) !important; /* display-6: 40px −20% */
  }
}

/* --- About Us Introduction Text --- */
.gdc-about-intro-text {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h5) !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #4b433d !important;
}

@media (max-width: 960px) {
  .gdc-about-intro-text {
    font-size: var(--gdc-fs-body) !important; /* H5 */
  }
}

@media (max-width: 640px) {
  .gdc-about-intro-text {
    font-size: var(--gdc-fs-h5) !important;
  }
}

/* --- About Us Brand Vision and Mission Title --- */
.gdc-about-vision-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important; /* H2 */
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #111318 !important;
}

@media (max-width: 960px) {
  .gdc-about-vision-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

@media (max-width: 640px) {
  .gdc-about-vision-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

/* --- About Us Equipment Title --- */
.gdc-about-equipment-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important; /* H2 */
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #111318 !important;
}

@media (max-width: 960px) {
  .gdc-about-equipment-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

@media (max-width: 640px) {
  .gdc-about-equipment-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

/* --- About Us Equipment Description Text --- */
.gdc-about-equipment-desc {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h4) !important; /* H4 */
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #4b433d !important;
}

@media (max-width: 960px) {
  .gdc-about-equipment-desc {
    font-size: var(--gdc-fs-body) !important; /* H5 */
  }
}

@media (max-width: 640px) {
  .gdc-about-equipment-desc {
    font-size: var(--gdc-fs-body) !important; /* H6 */
    line-height: 1.2 !important;
  }
}

/* --- About Us Sterilization & Safety Standards Title --- */
/* Sterilization title: desktop h2, tablet and mobile h3 */
.gdc-about-sterilization-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important; /* h2 */
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #111318 !important;
  margin: 0;
}

@media (max-width: 960px) {
  .gdc-about-sterilization-title {
    font-size: var(--gdc-fs-h3) !important; /* h3 tablet and mobile */
  }
}

/* --- About Us Certificates & Licenses Title --- */
.gdc-about-certificates-title {
  font-family: "Manrope", sans-serif !important;
  font-size: var(--gdc-fs-h2) !important; /* H2 */
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #111318 !important;
}

@media (max-width: 960px) {
  .gdc-about-certificates-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

@media (max-width: 640px) {
  .gdc-about-certificates-title {
    font-size: var(--gdc-fs-h3) !important; /* H3 */
  }
}

/* ========== 10. DOCTOR DETAILS MODAL (Sidebar) ========== */
/* --- Doctor Details Modal (Sidebar) --- */
.gdc-doctor-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000 !important;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.4s;
}

.gdc-doctor-modal.is-active {
  visibility: visible !important;
  opacity: 1 !important;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.gdc-doctor-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  transition: background 0.3s ease;
}

.gdc-doctor-modal.is-active .gdc-doctor-modal-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.gdc-doctor-modal-sidebar {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 600px !important;
  height: 100% !important;
  background: #fff !important;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1) !important;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  will-change: transform;
  z-index: 10001 !important;
}

.gdc-doctor-modal.is-active .gdc-doctor-modal-sidebar {
  transform: translateX(0) !important;
}

.gdc-doctor-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* align × with title text baseline so they sit on same level */
  padding: 16px 32px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.gdc-doctor-modal-title {
  font-family: "Manrope", sans-serif;
  font-size: var(--gdc-fs-h4);
  font-weight: 600;
  line-height: 1.25;
  color: #111318;
  margin: 0;
  margin-block: 0;
}

.gdc-doctor-modal-close {
  background: none;
  border: none;
  font-size: var(--gdc-fs-h2);
  line-height: 1;
  color: #111318;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  min-height: 0; /* override theme button min-height */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.gdc-doctor-modal-close i {
  font-size: 1em;
}

.gdc-doctor-modal-close:hover {
  color: #666;
}

.gdc-doctor-modal-close:hover i {
  color: inherit;
}

.gdc-doctor-modal-content {
  flex: 1;
  padding: 16px 32px;
  overflow-y: auto;
}

.gdc-doctor-modal-loading,
.gdc-doctor-modal-error {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.gdc-doctor-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.gdc-doctor-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.gdc-doctor-photo {
  width: 125px;
  height: 125px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.gdc-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gdc-doctor-name {
  font-family: "Manrope", sans-serif;
  font-size: var(--gdc-fs-h3);
  font-weight: 600;
  color: #111318;
  margin: 0;
}

.gdc-doctor-role {
  font-family: "Manrope", sans-serif;
  font-size: 14.4px;
  font-weight: 500;
  color: #111318bf;
  margin: 4px 0 8px 0;
}

.gdc-doctor-specialties {
  font-size: var(--gdc-fs-body);
  color: #111318bf;
  line-height: 1.5;
}

.gdc-doctor-description {
  font-size: var(--gdc-fs-body);
  color: #111318bf;
  line-height: 1.6;
  margin: 12px 0 0 0;
}

.gdc-doctor-description p {
  margin: 0 0 16px 0;
}

.gdc-doctor-description p:last-child {
  margin-bottom: 0;
}

.gdc-doctor-section {
  margin-bottom: 32px;
}

.gdc-doctor-section-title {
  font-family: "Manrope", sans-serif;
  font-size: 14.4px;
  font-weight: 600;
  color: #111318;
  margin: 0 0 12px 0;
}

.gdc-doctor-section p {
  font-size: var(--gdc-fs-body);
  color: #111318bf;
  line-height: 1.6;
  margin: 0;
}

.gdc-doctor-location {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gdc-doctor-clinic {
  font-family: "Manrope", sans-serif;
  font-size: var(--gdc-fs-body);
  font-weight: 600;
  color: #111318;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gdc-doctor-clinic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  flex-shrink: 0;
}

.gdc-doctor-clinic-icon i {
  font-size: 14.4px;
  color: #666;
}

.gdc-doctor-address {
  font-size: var(--gdc-fs-body);
  color: #111318bf;
  line-height: 1.5;
  margin-left: 26px;
}

.gdc-doctor-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gdc-doctor-list li {
  font-size: var(--gdc-fs-body);
  color: #111318bf;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.gdc-doctor-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111318;
  font-weight: bold;
}

@media (max-width: 768px) {
  .gdc-doctor-modal-sidebar {
    max-width: 100% !important;
  }

  .gdc-doctor-modal-header {
    padding: 20px;
  }

  .gdc-doctor-modal-content {
    padding: 24px 20px;
  }

  .gdc-doctor-photo {
    width: 125px;
    height: 125px;
  }

  .gdc-doctor-name {
    font-size: var(--gdc-fs-h4);
  }
}

/* ========== 9. SERVICE TEMPLATE (Why Choose, Transformations, Who/For, Steps, Hero CTA) ========== */
/* Service Page - Why Choose Section */
.gdc-why-choose-box {
  background-color: #fbf8f2 !important;
}

/* Why Choose columns: gap between items via column margin only (no row class, no :has) */
.row .col.gdc-why-choose-col {
  margin-right: 1rem !important;
  width: calc((100% - 2rem) / 3) !important;
  max-width: calc((100% - 2rem) / 3) !important;
  flex: 0 0 calc((100% - 2rem) / 3) !important;
  box-sizing: border-box;
}

.row .col.gdc-why-choose-col:nth-child(3n) {
  margin-right: 0 !important;
}

@media (max-width: 768px) {
  .row .col.gdc-why-choose-col {
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* 2-col gap (e.g. Transformations): column margin only, no row class */
.row .col.gdc-col-gap-2 {
  margin-right: 1rem !important;
  width: calc((100% - 1rem) / 2) !important;
  max-width: calc((100% - 1rem) / 2) !important;
  flex: 0 0 calc((100% - 1rem) / 2) !important;
  box-sizing: border-box;
}

.row .col.gdc-col-gap-2:nth-child(2n) {
  margin-right: 0 !important;
}

@media (max-width: 960px) {
  .row .col.gdc-col-gap-2 {
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Service Page - Transformations Section */
.gdc-transformations-item img,
[class*="sp-transformations"] img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Ensure transformation images stay side-by-side on all screen sizes */
[class*="sp-transformations"] [col_inner] {
  padding: 0 8px !important;
}

[class*="sp-transformations"] [col_inner]:first-child {
  padding-left: 0 !important;
}

[class*="sp-transformations"] [col_inner]:last-child {
  padding-right: 0 !important;
}

/* Force 1 transformation item per row on tablet and mobile */
@media (max-width: 991px) {
  [class*="sp-transformations"] [col],
  [class*="sp-transformations"] .col,
  section[class*="sp-transformations"] [col],
  section[class*="sp-transformations"] .col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Service Page - Who Is It For Section */
/* Ensure proper spacing and alignment */
[class*="sp-who-is-it-for"] [col_inner] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

[class*="sp-who-is-it-for"] [col_inner] img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* On tablet and mobile, stack image and text vertically */
@media (max-width: 991px) {
  [class*="sp-who-is-it-for"] [col_inner]:first-child {
    margin-bottom: 16px;
  }

  /* Ensure image and text stack on tablet and mobile */
  [class*="sp-who-is-it-for"] [col_inner][span__md="12"],
  [class*="sp-who-is-it-for"] [col_inner][span__sm="12"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* On mobile only, force 1 item per row */
@media (max-width: 768px) {
  [class*="sp-who-is-it-for"] [col][span="6"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Service Page - Treatment Steps Section */
/* Desktop: justify-content space-between for step number, text, and image/video */
@media (min-width: 992px) {
  [class*="sp-treatment-steps"] [row],
  section[class*="sp-treatment-steps"] [row] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  [class*="sp-treatment-steps"] [row] [col],
  section[class*="sp-treatment-steps"] [row] [col] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  /* Step number column - col-3 */
  [class*="sp-treatment-steps"] [row] [col][span="3"]:first-of-type {
    flex: 0 0 25% !important;
    margin-right: 20px !important;
  }

  /* Text content column - col-6 */
  [class*="sp-treatment-steps"] [row] [col][span="6"] {
    flex: 0 0 50% !important;
    margin-right: 20px !important;
  }

  /* Image/Video column - col-3 */
  [class*="sp-treatment-steps"] [row] [col][span="3"]:last-of-type {
    flex: 0 0 25% !important;
  }
}

.sp-hero .button.dark span {
  color: #fff !important;
}

/* Service Page - Hero Button Dark with White Text */
[class*="sp-hero"] .button.dark,
section[class*="sp-hero"] .button.dark,
[class*="sp-hero"] .button.rounded-5,
section[class*="sp-hero"] .button.rounded-5 {
  background-color: #111318 !important;
  color: #ffffff !important;
  border-color: #111318 !important;
}

[class*="sp-hero"] .button.dark:hover,
section[class*="sp-hero"] .button.dark:hover,
[class*="sp-hero"] .button.rounded-5:hover,
section[class*="sp-hero"] .button.rounded-5:hover {
  background-color: #2a2d35 !important;
  color: #ffffff !important;
  border-color: #2a2d35 !important;
}

/* Override primary class if present */
[class*="sp-hero"] .button.primary.dark,
section[class*="sp-hero"] .button.primary.dark {
  background-color: #111318 !important;
  color: #ffffff !important;
  border-color: #111318 !important;
}

[class*="sp-hero"] .button.primary.dark:hover,
section[class*="sp-hero"] .button.primary.dark:hover {
  background-color: #2a2d35 !important;
  color: #ffffff !important;
  border-color: #2a2d35 !important;
}

/* Service Page - Hero CTA Description Typography */
[class*="sp-hero"] .col-md-6 ~ div p,
section[class*="sp-hero"] .col-md-6 ~ div p,
[class*="sp-hero"] [col] [ux_text] div p:last-of-type,
section[class*="sp-hero"] [col] [ux_text] div p:last-of-type {
  font-size: var(--gdc-fs-h4) !important; /* h4 */
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

@media (max-width: 991px) {
  [class*="sp-hero"] .col-md-6 ~ div p,
  section[class*="sp-hero"] .col-md-6 ~ div p,
  [class*="sp-hero"] [col] [ux_text] div p:last-of-type,
  section[class*="sp-hero"] [col] [ux_text] div p:last-of-type {
    font-size: var(--gdc-fs-body) !important; /* h5 */
  }
}

@media (max-width: 768px) {
  [class*="sp-hero"] .col-md-6 ~ div p,
  section[class*="sp-hero"] .col-md-6 ~ div p,
  [class*="sp-hero"] [col] [ux_text] div p:last-of-type,
  section[class*="sp-hero"] [col] [ux_text] div p:last-of-type {
    font-size: var(--gdc-fs-body) !important; /* h6 */
    line-height: 1.5 !important;
    font-weight: 400 !important;
  }
}

/* Book An Appointment CTA button: body font size */
a.button.primary.is-large.dark.rounded-5,
a.button.primary.is-large.rounded-5,
a.button.primary.is-large.dark.rounded-5 span,
a.button.primary.is-large.rounded-5 span {
  font-size: var(--gdc-fs-body) !important;
}

@media (max-width: 991.98px) {
  a.button.primary.is-large.dark.rounded-5,
  a.button.primary.is-large.rounded-5,
  a.button.primary.is-large.dark.rounded-5 span,
  a.button.primary.is-large.rounded-5 span {
    font-size: var(--gdc-fs-h6) !important;
  }
}

/* Booking appointment button: full width and H6 font on mobile */
@media (max-width: 767.98px) {
  a.button.primary.is-large.dark.rounded-5,
  a.button.primary.is-large.rounded-5,
  a.button.primary.is-large.dark.rounded-5 span,
  a.button.primary.is-large.rounded-5 span {
    font-size: var(--gdc-fs-h6) !important;
  }
  a.button.primary.is-large.rounded-5[href*="booking-appointment"] {
    display: block !important;
    width: 100% !important;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ========== 14. BLOG (archive/single) ========== */
/* Single post entry meta (posted on / by): H6 font size */
.entry-header .entry-meta,
.entry-meta.uppercase.is-xsmall {
  font-size: var(--gdc-fs-h6) !important;
}

@media (max-width: 991.98px) {
  .entry-header .entry-meta,
  .entry-meta.uppercase.is-xsmall {
    font-size: var(--gdc-fs-h6) !important;
  }
}

/* Featured Post Section */
.gdc-blog-featured h3 {
  font-size: var(--gdc-fs-h2);
  font-weight: 600;
  margin-bottom: 24px;
  color: #111318;
}

.gdc-blog-featured-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gdc-blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gdc-blog-featured-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gdc-blog-featured-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gdc-blog-featured-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  flex-shrink: 0;
}

.gdc-blog-featured-content {
  flex: 1;
}

.gdc-blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gdc-blog-featured-tags {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gdc-blog-tag {
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #111318;
}

.gdc-blog-featured-content {
  padding: 24px;
  background: #fff;
}

.gdc-blog-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.gdc-blog-title,
.gdc-blog-card-title {
  font-size: var(--gdc-fs-h4);
  font-weight: 600;
  color: #111318;
  margin-bottom: 12px;
  line-height: 1.3;
}

.gdc-blog-excerpt,
.gdc-blog-card-excerpt {
  font-size: var(--gdc-fs-body);
  color: #666;
  line-height: 1.6;
}

/* Tag Filter Section */
.gdc-blog-tags h4 {
  font-size: var(--gdc-fs-h4);
  font-weight: 600;
  color: #111318;
  margin-bottom: 16px;
}

.gdc-blog-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gdc-blog-tag-btn {
  padding: 8px 12px;
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 700;
  color: #111318;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gdc-blog-tag-btn:hover,
.gdc-blog-tag-btn.active {
  background: #111318;
  color: #fff;
  border-color: #111318;
}

.gdc-blog-tag-btn-text {
  font-size: var(--gdc-fs-h6) !important;
}

.gdc-blog-sort-btn {
  padding: 8px 12px;
  border: 1px solid #111318;
  background: #fff;
  border-radius: 0.75rem !important; /* rounded-5 = 12px */
  font-size: 12px;
  font-weight: 700;
  color: #111318;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Blog Grid – gap between cards */
.gdc-blog-grid {
  margin-top: 40px;
}

.gdc-blog-grid #gdc-blog-posts-container,
.gdc-blog-grid .row.g-4 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Column widths account for 24px gap (e.g. 4 cols = 3 gaps) */
.gdc-blog-grid .gdc-blog-post-item,
.gdc-blog-grid #gdc-blog-posts-container .gdc-blog-post-item {
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 calc((100% - 72px) / 4) !important; /* 4 columns, 3 gaps */
  max-width: calc((100% - 72px) / 4) !important;
}

/* Blog card – match reference: image, tags (pills), title, excerpt, date */
.gdc-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: #fff;
  height: 100%;
}

.gdc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gdc-blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.gdc-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tags below image as pills (light grey bg) */
.gdc-blog-card-content .gdc-blog-card-tags {
  position: static;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.gdc-blog-card-content .gdc-blog-card-tags .gdc-blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #111318;
  background: #f0f0f0;
}

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

.gdc-blog-card-title {
  font-size: 14.4px;
  font-weight: 600;
  color: #111318;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.gdc-blog-card-excerpt {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.gdc-blog-card-content .gdc-blog-date {
  font-size: 12px;
  color: #888;
  margin: 0;
  margin-top: auto;
}

/* Pagination */
.gdc-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gdc-blog-pagination .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gdc-blog-pagination .page-numbers li {
  list-style: none;
}

.gdc-blog-pagination .page-numbers a,
.gdc-blog-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  color: #111318;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gdc-blog-pagination .page-numbers .current {
  background: #111318;
  color: #fff;
}

.gdc-blog-pagination .page-numbers a:hover {
  background: #f5f5f5;
}

/* Bootstrap pagination: page numbers and links color, sizes */
.gdc-blog-pagination .pagination .page-link {
  color: #111318 !important;
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Number cells: 36px × 36px */
.gdc-blog-pagination .pagination .page-item:not(:first-child):not(:last-child) {
  width: 36px;
}
.gdc-blog-pagination .pagination .page-item:not(:first-child):not(:last-child) .page-link {
  width: 36px !important;
  min-width: 36px !important;
  height: 38px !important;
  min-height: 38px !important;
}
/* Chevron cells: 38px width, 38px height */
.gdc-blog-pagination .pagination .page-item:first-child .page-link,
.gdc-blog-pagination .pagination .page-item:last-child .page-link {
  width: 38px !important;
  min-width: 38px !important;
}
.gdc-blog-pagination .pagination .page-item.active .page-link {
  background-color: #111318 !important;
  border-color: #111318 !important;
  color: #fff !important;
}

/* Pagination prev/next chevrons */
.gdc-blog-pagination .pagination .page-link .bi-chevron-left,
.gdc-blog-pagination .pagination .page-link .bi-chevron-right {
  color: #111318bf !important;
}

/* Share this post: horizontal layout, Copy Link pill + circular social icons */
.blog-share.blog-share-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  justify-content: flex-end;
  padding: 0;
}

.blog-share.blog-share-inline .share-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
}

.blog-share.blog-share-inline .share-icons-title {
  margin: 0;
  margin-right: 8px;
  font-size: var(--gdc-fs-lead) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
  font-family: var(--gdc-font-family, "Manrope", sans-serif) !important;
  color: var(--gdc-color-text, #111318);
}

.blog-share.blog-share-inline .share-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  margin-left: auto;
  padding: 8px 16px;
  background: #fbf8f2;
  border: none;
  border-radius: 9999px;
  font-size: inherit;
  font-family: inherit;
  color: var(--gdc-color-text, #111318);
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-share.blog-share-inline .share-copy-link:hover {
  background: #eeeeee;
}

.blog-share.blog-share-inline .share-copy-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.blog-share.blog-share-inline .share-copy-link-icon svg {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.blog-share.blog-share-inline .share-copy-link-text {
  font-size: var(--gdc-fs-lead) !important;
  line-height: var(--gdc-line-height-normal) !important;
  font-weight: 500 !important;
  font-family: var(--gdc-font-family, "Manrope", sans-serif) !important;
  white-space: nowrap;
}

.blog-share.blog-share-inline .share-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0;
  background: #fbf8f2 !important;
  border: none !important;
  border-radius: 50%;
  color: var(--gdc-color-text, #111318) !important;
  transition: background 0.2s ease;
}

.blog-share.blog-share-inline .share-icons a:hover {
  background: #f0ebe3 !important;
  color: var(--gdc-color-text, #111318) !important;
}

.blog-share.blog-share-inline .share-icons a .bi,
.blog-share.blog-share-inline .share-icons a svg,
.blog-share.blog-share-inline .share-icons a .icon {
  font-size: 1.25rem;
  fill: currentColor;
  color: currentColor;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 991px) {
  .gdc-blog-featured-wrapper {
    flex-direction: row;
    align-items: stretch;
  }

  .gdc-blog-featured-image {
    width: 50%;
    height: auto;
    min-height: 300px;
  }

  .gdc-blog-featured-content {
    width: 50%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .gdc-blog-title {
    font-size: 17.6px;
  }

  .gdc-blog-card-title {
    font-size: 13.6px;
  }

  .gdc-blog-card-image {
    height: 180px;
  }

  /* 2 columns on tablet with gap */
  .gdc-blog-grid #gdc-blog-posts-container .gdc-blog-post-item,
  .gdc-blog-grid .row .gdc-blog-post-item,
  .gdc-blog-grid #gdc-blog-posts-container .gdc-blog-post-item[class*="col-"],
  .gdc-blog-grid .row .gdc-blog-post-item[class*="col-"] {
    flex: 0 0 calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
  }

  /* Tags in row on tablet */
  .gdc-blog-tags-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .gdc-blog-tag-btn {
    flex: 0 0 auto !important;
  }

  .gdc-blog-sort-btn {
    margin-left: auto;
    flex: 0 0 auto !important;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .gdc-blog-featured-image {
    height: 250px;
  }

  .gdc-blog-title {
    font-size: var(--gdc-fs-body);
  }

  .gdc-blog-card-title {
    font-size: var(--gdc-fs-body);
  }

  /* Tags in row on mobile */
  .gdc-blog-tags-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .gdc-blog-tag-btn {
    flex: 0 0 auto !important;
  }

  .gdc-blog-sort-btn {
    margin-top: 12px;
    margin-left: 0;
    flex: 0 0 auto !important;
  }

  /* Force 1 column on mobile */
  .gdc-blog-grid .row .gdc-blog-post-item,
  .gdc-blog-grid #gdc-blog-posts-container .gdc-blog-post-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Tablet: Step on top, then Text (left, pe-2) | Image/Video (right, ps-2) */
@media (min-width: 768px) and (max-width: 991px) {
  [class*="sp-treatment-steps"] [row] [col][span__md="12"]:first-of-type {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* Text column with pe-2 (padding-end) */
  [class*="sp-treatment-steps"] [row] [col].pe-2,
  [class*="sp-treatment-steps"] [row] [col][span__md="6"]:nth-of-type(2) {
    padding-right: 0.5rem !important;
  }

  /* Image/Video column with ps-2 (padding-start) */
  [class*="sp-treatment-steps"] [row] [col].ps-2,
  [class*="sp-treatment-steps"] [row] [col][span__md="6"]:last-of-type {
    padding-left: 0.5rem !important;
  }
}

/* ========== 15. FOOTER ========== */
/* =========================
   FOOTER TYPO SYSTEM
   ========================= */
/* Footer base */
.gdc-footer a {
  text-decoration: none;
}
.gdc-footer a:hover {
  text-decoration: underline;
}

/* ===== Titles (Site / Social / Contacts) =====
   Desktop = H2, Tablet = H4, Mobile = H5
*/
.gdc-footer-title {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-weight: 500;
  color: rgba(17, 19, 24, 0.5); /* like #11131880 */
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Desktop (lg+) ~ H2 */
@media (min-width: 992px) {
  .gdc-footer-title {
    font-size: var(--gdc-fs-h2);
  }
}

/* Tablet (md to lg) ~ H4 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gdc-footer-title {
    font-size: var(--gdc-fs-h4);
  }
}

/* Mobile (<md) ~ H5 */
@media (max-width: 767.98px) {
  .gdc-footer-title {
    font-size: var(--gdc-fs-body);
  }
}

/* ===== Links for Site/Social =====
   Desktop = H3, Tablet+Mobile = H5
*/

.gdc-footer-link {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: #111318;
  font-weight: 500;
  line-height: 1.25;
}

/* Desktop ~ H3 */
@media (min-width: 992px) {
  .gdc-footer-link {
    font-size: var(--gdc-fs-h3);
  }
}
/* Tablet + Mobile ~ H5 */
@media (max-width: 991.98px) {
  .gdc-footer-link {
    font-size: var(--gdc-fs-body);
  }
}

/* ===== Contacts typography ===== */
.gdc-footer-subtitle {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: var(--gdc-fs-body) !important;
  font-weight: 500;
  color: rgba(17, 19, 24, 0.5);
  margin-bottom: 8px;
}

.gdc-footer-text {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: var(--gdc-fs-body) !important;
  font-weight: 400;
  color: #111318;
  line-height: 1.5;
  margin-bottom: 8px;
}

.gdc-footer-phone {
  display: inline-block;
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: var(--gdc-fs-body) !important;
  font-weight: 700;
  color: #111318;
  margin-bottom: 10px;
}

.gdc-footer-email {
  display: inline-block;
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: var(--gdc-fs-body) !important;
  font-weight: 400;
  color: #111318;
}

/* Tablet: footer contact typography (addresses row, working time, email) use H6 */
@media (max-width: 991.98px) {
  .footer-wrapper .gdc-footer-subtitle,
  .footer-wrapper .gdc-footer-text,
  .footer-wrapper .gdc-footer-phone,
  .footer-wrapper .gdc-footer-email,
  .footer-wrapper .gdc-footer-hours .gdc-footer-subtitle,
  .footer-wrapper .gdc-footer-hours .gdc-footer-text,
  .footer-wrapper .gdc-footer-hours .gdc-footer-email {
    font-size: var(--gdc-fs-h6) !important;
  }
}

/* Mobile: footer contact typography (addresses, working time, email) use H6 */
@media (max-width: 767.98px) {
  .footer-wrapper .gdc-footer-subtitle,
  .footer-wrapper .gdc-footer-text,
  .footer-wrapper .gdc-footer-phone,
  .footer-wrapper .gdc-footer-email,
  .footer-wrapper .gdc-footer-hours .gdc-footer-subtitle,
  .footer-wrapper .gdc-footer-hours .gdc-footer-text,
  .footer-wrapper .gdc-footer-hours .gdc-footer-email {
    font-size: var(--gdc-fs-h6) !important;
  }
}

/* Open maps pill */
.gdc-footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #111318;
  border-radius: 999px;
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #111318;
  width: fit-content;
}

/* Germany flag line (same ratios you measured) */
.gdc-footer-flag {
  width: 100%;
  max-width: 1296px;
  height: 2px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(
    to right,
    #241f21 0%,
    #241f21 59.82%,
    #e31f26 59.82%,
    #e31f26 79.46%,
    #f5cf0f 79.46%,
    #f5cf0f 100%
  );
}

/* Copyright */
.gdc-footer-copyright {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 12px;
  color: #111318;
}

@media (max-width: 767.98px) {
  .gdc-footer-links {
    gap: 12px;
  }
}

.gdc-footer-links {
  gap: 10px;
}

/* Base: MOBILE = 2 columns */
.gdc-steri-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 16px;
}

.gdc-steri-card {
  flex: 0 0 calc(50% - 8px) !important; /* 2 columns */
  max-width: calc(50% - 8px) !important;
}

.gdc-steri-card.is-last {
  flex: 0 0 100% !important; /* last item full width on mobile */
  max-width: 100% !important;
}

.gdc-steri-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* TABLET: scroll row */
@media (min-width: 768px) {
  .gdc-steri-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .gdc-steri-card,
  .gdc-steri-card.is-last {
    flex: 0 0 240px !important; /* each card fixed width */
    max-width: 240px !important;
  }
}

/* DESKTOP: 5 equal columns */
@media (min-width: 992px) {
  .gdc-steri-row {
    overflow-x: visible;
  }
  .gdc-steri-card,
  .gdc-steri-card.is-last {
    flex: 1 1 0 !important; /* equal width */
    max-width: none !important;
  }
}

/* ========== 16. MISC (FAQ, doctor search, steri row) ========== */
/* Fix white accordion text ONLY in FAQ */
.gdc-faq-accordion,
.gdc-faq-accordion * {
  color: #111318;
}

/* Title row + title spans specifically (often the white culprit) */
.gdc-faq-accordion .accordion-title,
.gdc-faq-accordion .accordion-title span {
  color: #111318 !important;
}

/* Content text */
.gdc-faq-accordion .accordion-inner {
  color: #111318bf !important;
}

/* If icons/arrow are also white */
.gdc-faq-accordion .toggle {
  color: #111318 !important;
}

.gdc-doctor-search {
  margin: 0;
  max-width: 100%;
}

.gdc-about-us-comfort-title {
  font-size: var(--gdc-fs-h1) !important;
}
@media (max-width: 991.98px) {
  .gdc-about-us-comfort-title {
    font-size: var(--gdc-fs-h3) !important;
  }
}
@media (max-width: 767.98px) {
  .gdc-about-us-comfort-title {
    font-size: var(--gdc-fs-h2) !important;
  }
}

.gdc-about-us-comfort-subtitle {
  font-size: var(--gdc-fs-h4) !important;
}
@media (max-width: 991.98px) {
  .gdc-about-us-comfort-subtitle {
    font-size: var(--gdc-fs-lead) !important;
  }
}
