/* ========== MINIMAL VARIATION 3: Asymmetric Grid ========== */
.minimal-v3 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
    background: white;
}

.minimal-v3-top-section {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.minimal-v3-portrait-area {
    position: relative;
}

.minimal-v3-portrait-frame {
    position: relative;
    padding-bottom: 140%;
    overflow: hidden;
    background: #0f172a;
}

.minimal-v3-portrait-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.8s ease;
}

.minimal-v3-portrait-frame:hover img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1);
}

.minimal-v3-number-overlay {
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 180px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1;
    z-index: 1;
}

.minimal-v3-info-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.minimal-v3-tag {
    display: inline-block;
    background: #0f172a;
    color: white;
    padding: 10px 24px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 32px;
    width: fit-content;
}

.minimal-v3-specialty-line {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 16px;
}

.minimal-v3-name-large {
    font-size: 64px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.minimal-v3-credentials-text {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.minimal-v3-description-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 600px;
}

.minimal-v3-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 40px 0;
    border-top: 2px solid #0f172a;
    border-bottom: 2px solid #0f172a;
    margin-bottom: 48px;
}

.minimal-v3-metric {
    text-align: center;
}

.minimal-v3-metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
    white-space: nowrap;
}

.minimal-v3-metric-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    font-weight: 700;
}

.minimal-v3-action-buttons {
    display: flex;
    gap: 16px;
}

.minimal-v3-bottom-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

/* Shared content styles */
.section-header {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0f172a;
}

.content-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.list-clean li {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

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

/* Button Styles from Minimal V1 (reused in V3) */
.minimal-v1-btn {
    flex: 1;
    padding: 18px 32px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.minimal-v1-btn-primary {
    background: #0f172a;
    color: white;
}

.minimal-v1-btn-primary:hover {
    background: #1e293b;
}

.minimal-v1-btn-secondary {
    background: white;
    color: #0f172a;
    border: 2px solid #0f172a;
}

.minimal-v1-btn-secondary:hover {
    background: #f8fafc;
}

/* Responsive */
@media (max-width: 1200px) {
    .minimal-v3-bottom-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .minimal-v3-top-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .minimal-v3-name-large {
        font-size: 42px;
    }

    .minimal-v3 {
        padding: 40px 24px;
    }

    .minimal-v3-bottom-content {
        grid-template-columns: 1fr;
    }

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

    .minimal-v3-action-buttons {
        flex-direction: column;
    }
}

/* ============================================================
   DOCTOR PAGE: BRICKS FIXED HEADER STACKING FIX

   The Bricks global header is position:fixed (class .brx-sticky)
   with z-index:998. The doctor page hero starts at y=0 (no body
   padding-top is added automatically for custom templates). The
   hero's dark background and its absolute overlay divs physically
   cover the header's viewport area (y=0 to ~80px).

   Three layered fixes:
   1. Reinforce z-index on the header (also in public.css but
      scoped here for extra specificity on doctor pages).
   2. Ensure decorative hero overlays never intercept clicks via
      pointer-events: none.
   3. Push hero text content down so it clears the fixed header
      visually (mirrors the department hero fix in
      shb-department-single.css:644).
   ============================================================ */

/* 1 — Reinforce header z-index on doctor pages */
#brx-header,
#brx-header.brx-sticky,
#brx-header.brx-sticky.on-scroll {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

/* Ensure all nav children inside the header remain clickable */
#brx-header * {
    pointer-events: auto;
}

/* 2 — Decorative background layer: never intercept clicks */
.shb-doctor-single-wrapper > header > div:first-child,
.shb-doctor-single-wrapper > header > div:first-child * {
    pointer-events: none;
}

/* 3 — Hero content: add top padding to clear the fixed Bricks
   header (~80px). Adjust the value to match your header height. */
.shb-doctor-single-wrapper > header > .container {
    padding-top: 5rem !important;
}

/* 4 — The Alpine x-data video-lightbox wrapper must not intercept
   clicks when the lightbox is closed (before Alpine initialises
   the :style binding, the element has no inline pointer-events). */
.shb-doctor-single-wrapper .shb-video-lightbox-wrapper {
    pointer-events: none;
}
.shb-doctor-single-wrapper .shb-video-lightbox-wrapper [x-show] {
    pointer-events: auto;
}

/* ============================================================
   DOCTOR SINGLE: WRAPPER & TYPOGRAPHY
   (Previously inline in single-doctor.php)
   ============================================================ */

/* Fix Bricks Theme 62.5% font-size issue for REM units */
html {
    font-size: 16px !important;
}

.shb-doctor-single-wrapper {
    font-family: 'Manrope', sans-serif;
    color: #64748B;
    background-color: #FFFFFF;
    overflow-x: hidden;

    /* Force Full Width (Breakout) */
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.shb-doctor-single-wrapper h1,
.shb-doctor-single-wrapper h2,
.shb-doctor-single-wrapper h3,
.shb-doctor-single-wrapper h4,
.shb-doctor-single-wrapper h5,
.shb-doctor-single-wrapper h6 {
    font-family: 'Figtree', sans-serif;
    letter-spacing: -0.02em;
    color: #0F172A;
}

/* List Styling */
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #2DACC9;
    font-weight: 800;
}

/* ============================================================
   DOCTOR SINGLE: BOOK APPOINTMENT CTA STYLES
   (Previously inline in single-doctor.php)
   ============================================================ */

.shb-appointment-section {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.shb-appointment-section .section-title {
  font-family: 'Figtree', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.shb-cta-card {
  display: flex;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: 480px;
  text-align: left;
  border: 1px solid #E2E8F0;
}

.shb-cta-card__image-wrapper {
  flex: 1;
  position: relative;
}

.shb-cta-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.shb-cta-card__content {
  flex: 1;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.shb-cta-icon {
  margin-bottom: 24px;
  color: #2DACC9;
  background: #F0F9FA;
  padding: 12px;
  border-radius: 12px;
}

.shb-cta-title {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.1;
  margin-bottom: 16px;
}

.shb-cta-description {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 90%;
}

.shb-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2DACC9;
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -5px rgba(45, 172, 201, 0.4);
  font-size: 18px;
  border: none;
  cursor: pointer;
  width: 100%;
}

.shb-cta-btn-primary:hover {
  background: #2492AB;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(45, 172, 201, 0.5);
}

.shb-cta-helper-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94A3B8;
  margin-top: 20px;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  .shb-cta-card {
    flex-direction: column;
    min-height: auto;
  }
  .shb-cta-card__image-wrapper {
    height: 420px;
    width: 100%;
  }
  .shb-cta-card__image {
    object-position: top center;
  }
  .shb-cta-card__content {
    padding: 40px 24px;
    align-items: center;
    text-align: center;
  }
  .shb-cta-description {
    max-width: 100%;
  }
}

/* ============================================================
   Doctor Intro Video — Lightbox modal
   ============================================================ */
.shb-video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.shb-video-modal-container {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.shb-video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 9999px;
  transition: background-color 0.15s ease;
}
.shb-video-modal-close:hover { background: rgba(255, 255, 255, 0.15); }

.shb-video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.shb-video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.shb-intro-video-btn {
  width: 100%;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--shb-primary, #0a7a8c);
  border-radius: 9999px;
  background: #fff;
  color: var(--shb-primary, #0a7a8c);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.shb-intro-video-btn:hover {
  background: var(--shb-primary, #0a7a8c);
  color: #fff;
}
.shb-intro-video-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

[x-cloak] { display: none !important; }

