/* ============================================
   Dr. Andre Panossian — Premium Practice Site
   Brand Kit: Black / White / Clean Monochrome
   Fonts: Figtree (headings), Cormorant (serif accent)
   ============================================ */

/* --- Google font imports removed (Marcellus & Fraunces) — using Cormorant only --- */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gloock&display=swap');

/* --- Local Font Faces --- */
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/Figtree-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/Cormorant-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/Cormorant-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/Cormorant-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/Cormorant-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/Cormorant-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }

/* --- CSS Custom Properties --- */
:root {
  /* Brand colors */
  --black: #000000;
  --black-soft: #111111;
  --black-light: #1a1a1a;
  --charcoal: #222222;
  --charcoal-light: #333333;
  --gray-dark: #444444;
  --gray: #666666;
  --gray-light: #999999;
  --gray-lighter: #cccccc;
  --gold: #ffffff;
  --gold-light: #cccccc;
  --gold-muted: rgba(255, 255, 255, 0.08);
  --gold-border: rgba(255, 255, 255, 0.15);
  --white: #FFFFFF;
  --off-white: #ffffff;
  --cream: #ffffff;

  /* Semantic */
  --bg-primary: var(--black);
  --bg-secondary: var(--black-soft);
  --bg-card: var(--charcoal);
  --bg-light: var(--off-white);
  --bg-cream: var(--cream);
  --text-primary: var(--white);
  --text-secondary: #999999;
  --text-muted: #555555;
  --text-dark: #333333;
  --text-dark-muted: #555555;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.08);

  /* Effects */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --radius: 0;
  --radius-lg: 0;
  --transition: 0.3s ease;

  /* Typography */
  --font-heading: 'Gloock', Georgia, 'Times New Roman', serif;
  --font-serif: 'Gloock', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1600px;
  --max-width-narrow: 900px;
  --header-height: 90px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; text-shadow: none !important; -webkit-text-stroke: 0; filter: none; }
h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; line-height: 1.25; text-shadow: none !important; -webkit-text-stroke: 0; filter: none; }
h1, h2, h3, h4, h5, h6 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h2, h3, h4, h5 {
  font-weight: 400;
  opacity: 0.92;
}
h1 .name-marcellus, .hero h1 { font-family: var(--font-heading); font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.3rem; font-weight: 600; }

.serif { font-family: var(--font-serif); }
.serif-heading { font-family: var(--font-serif); font-weight: 600; font-style: italic; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-light .section-label,
.section-cream .section-label,
.section-white .section-label { color: #999; }

.section-title { margin-bottom: 20px; text-align: center; }
.section-label { text-align: center; }
.section-label.with-logo::before {
  content: '';
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  background: url('assets/logos/favicon_DrP_333.webp') center/contain no-repeat;
}
.section-label.with-logo[style*="text-align:left"]::before,
.section-label.with-logo[style*="text-align: left"]::before { margin-left: 0; margin-right: auto; }
.section-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
.section-subtitle {
  font-size: 0.95rem;
  color: #333;
  max-width: 820px;
  line-height: 1.7;
  font-weight: 300;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 72px; width: auto; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
}
.logo-text .logo-sub {
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--gray-light);
  display: block;
}

.main-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: space-evenly; margin-left: 24px; }
.main-nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,1);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 18px;
  transition: color var(--transition);
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after { width: 100%; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { display: none; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: #333;
  border-bottom: none;
}
.nav-dropdown-menu a:hover { color: #333; background: #f5f5f5; }
.nav-dropdown-menu a::after { display: none; }

.nav-cta {
  background: transparent !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.5px;
  transition: all var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white) !important; color: var(--black) !important; border-color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger-lines span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.hamburger-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hamburger.active .hamburger-lines span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .hamburger-lines span:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-lines span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--black);
  flex-direction: column;
  padding: 40px 24px;
  gap: 20px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .nav-cta {
  display: inline-block;
  text-align: center;
  margin-top: 16px;
  border-bottom: none !important;
}
.mobile-nav .mobile-sub { padding-left: 20px; }
.mobile-nav .mobile-sub a { font-size: 0.95rem; font-weight: 500; color: var(--gray-light); border-bottom-color: rgba(255,255,255,0.04); }

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--black);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.93), rgba(17,17,17,0.88));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--gold); }
.hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 580px; margin-bottom: 32px; }

/* Hero Slideshow */
.hero-slideshow { position: relative; min-height: 90vh; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }

.hero-slide .hero-content { width: 100%; }

.hero-indicators {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero-indicators button {
  width: 40px; height: 3px;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 0;
}
.hero-indicators button.active { background: var(--gold); width: 56px; }

/* Page Hero */
.page-hero {
  min-height: 20vh;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 24px;
}
.page-hero .hero-content { padding: 40px 24px; }

/* --- Page Banner (Karam-style split hero) --- */
/* --- Page Banner (Karam-style split hero) --- */
.page-banner {
  background: #fff;
  display: flex;
  align-items: stretch;
  min-height: 70vh;
  overflow: hidden;
}
/* Reversed variant: image left, copy right */
.page-banner.reversed {
  flex-direction: row-reverse;
}
.page-banner.reversed .banner-copy {
  padding-left: 48px;
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
}
.page-banner .banner-copy {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 48px) 48px 56px max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  color: #333;
}
.page-banner .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #999;
  letter-spacing: 0.02em;
}
.page-banner .breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.page-banner .breadcrumb a:hover { color: #333; }
.page-banner .breadcrumb .sep { margin: 0 2px; }
.page-banner h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #333;
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.page-banner .banner-desc {
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
}
.page-banner .banner-media {
  flex: 1;
  position: relative;
  background: #f5f5f5;
}
.page-banner .banner-media img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Placeholder when no photo supplied yet */
.page-banner .banner-media.placeholder {
  background: #eee;
}

@media (max-width: 900px) {
  .page-banner {
    flex-direction: column;
    min-height: auto;
  }
  .page-banner .banner-copy {
    flex: none;
    padding: calc(var(--header-height) + 32px) 24px 40px;
  }
  .page-banner .banner-media {
    min-height: 220px;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid;
  text-align: center;
}

.btn-primary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 0;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-dark {
  background: transparent;
  color: #333;
  border: 1px solid #333;
  border-radius: 0;
}
.btn-dark:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.btn-ghost { background: transparent; color: var(--gold); padding: 0; font-weight: 600; border: none; }
.btn-ghost:hover { color: var(--gold-light); }

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 0.92rem; }

/* --- Sections --- */
.section { padding: 100px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.85); }
.section-charcoal { background: var(--black-soft); color: var(--white); }
.section-charcoal .section-subtitle { color: rgba(255,255,255,0.85); }
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }

.section-cream, .section-cream p, .section-cream h2, .section-cream h3, .section-cream h4, .section-cream li, .section-cream a:not(.btn):not(.nav-cta):not(.logo) {
  color: #333;
}
.section-light, .section-light p, .section-light h2, .section-light h3, .section-light h4, .section-light li, .section-light a:not(.btn):not(.nav-cta):not(.logo) {
  color: #333;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
#patient-transformations .card:hover { transform: none; box-shadow: none; }
#travel .card:hover { transform: none; box-shadow: none; }

/* --- Inline Gallery Viewer (on procedure pages) --- */
.section .patient-viewer {
  max-width: 900px;
  margin: 0 auto 40px;
}
.section .patient-viewer-top {
  gap: 12px;
}
.section .patient-main-image img {
  max-height: 480px;
}
.section .patient-thumbnails {
  width: 90px;
  min-width: 90px;
  max-height: 480px;
}
.section .patient-thumbnails .thumb-item img {
  width: 100%;
}
.section .patient-nav-panel {
  margin-top: 24px;
  padding-top: 16px;
}
.section .patient-strip .strip-item {
  width: 60px;
  height: 60px;
}

.team-card {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}
.team-card:hover { transform: none; box-shadow: none; }

a.card-outline {
  background: transparent;
  border: 1px solid #ccc;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  display: block;
}
a.card-outline:hover {
  border-color: #333;
  background: rgba(0,0,0,0.02);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-dark {
  background: var(--charcoal);
  border: 1px solid var(--border-light);
}
.card-dark:hover { border-color: var(--gold-border); }

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 0.85rem;
  font-style: italic;
}

.card-body { padding: 28px; }
.card-body h4 { margin-bottom: 10px; }
.card-body p { color: #333; font-size: 0.92rem; line-height: 1.7; font-weight: 300; }

/* Dark section cards */
.section-dark .card { background: var(--charcoal); border: 1px solid var(--border-light); }
.section-dark .card:hover { border-color: var(--gold-border); }
.section-dark .card-body p { color: #fff; }
.section-dark .card-body h4 { color: var(--white); }

.section-charcoal .card { background: var(--black-light); border: 1px solid var(--border-light); }
.section-charcoal .card:hover { border-color: var(--gold-border); }
.section-charcoal .card-body p { color: #fff; }
.section-charcoal .card-body h4 { color: var(--white); }

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Condition Cards --- */
.condition-card {
  background: var(--charcoal);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  display: block;
}
.condition-card:hover { border-color: var(--gold); transform: translateY(-4px); background: var(--charcoal-light); }
.condition-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--gold-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.condition-card h4 { color: var(--white); font-size: 1.35rem; margin-bottom: 8px; font-weight: 600; }
.condition-card p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; font-weight: 300; }

/* Light-bg condition cards */
.section-light .condition-card,
.section-cream .condition-card,
.section-white .condition-card {
  background: var(--white);
  border-color: #e0ddd8;
  box-shadow: var(--shadow-sm);
}
.section-light .condition-card:hover,
.section-cream .condition-card:hover,
.section-white .condition-card:hover { border-color: var(--gold); background: var(--off-white); }
.section-light .condition-card h4,
.section-cream .condition-card h4,
.section-white .condition-card h4 { color: var(--text-dark); }
.section-light .condition-card p,
.section-cream .condition-card p,
.section-white .condition-card p { color: var(--text-dark-muted); }

/* --- Logo/Media Bar --- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 0 60px;
  width: 100%;
}
.logo-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}
.logo-bar-item img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.8;
  pointer-events: none;
}
/* On dark backgrounds, invert the logos to white */
.section-dark .logo-bar-item img {
  filter: grayscale(100%) brightness(10) contrast(0.5);
  opacity: 0.5;
}
.logo-bar-item { pointer-events: none; cursor: default; }

/* --- Blog Read More Links --- */
.btn-text {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1.5px solid #333;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text:hover {
  color: #333;
  border-color: #333;
}

/* --- Dual CTA --- */
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.cta-track {
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cta-track h3 { margin-bottom: 16px; }
.cta-track p { margin-bottom: 28px; font-size: 0.95rem; flex: 1; }
.cta-track .btn { display: inline-flex; width: auto; max-width: 260px; justify-content: center; margin: 0 auto; }
.cta-track-primary { background: #111; color: #fff; border: none; }
.cta-track-primary p { color: rgba(255,255,255,0.8); }
.cta-track-primary .btn { border-color: #fff; color: #fff; }
.cta-track-primary .btn:hover { background: #fff; color: #333; }
.cta-track-secondary { background: #fff; color: #333; border: 2px solid #333; }
.cta-track-secondary h3 { color: #333; }
.cta-track-secondary p { color: #333; }
.cta-track-secondary .btn { background: #333; color: #fff; border-color: #333; }
.cta-track-secondary .btn:hover { background: #fff; color: #333; border-color: #333; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  display: none;
}
.timeline-item:not(:last-child)::after {
  content: none !important;
  display: none !important;
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #333;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #333;
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item .year {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #666;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.timeline-item h4 { font-weight: 600; }
.timeline-item p { color: #333; font-size: 0.92rem; margin-top: 8px; font-weight: 300; }

/* --- Patient Journey Steps --- */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: step;
}
.journey-step {
  text-align: center;
  padding: 28px 20px;
  position: relative;
  counter-increment: step;
  background: var(--white);
  border: 1.5px solid #e0ddd8;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.journey-step:hover { border-color: #e0ddd8; transform: none; box-shadow: var(--shadow-sm); }
.journey-step::before {
  content: counter(step);
  display: block;
  width: 52px; height: 52px;
  line-height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
}
.journey-step h5 { color: var(--text-dark); margin-bottom: 8px; font-size: 1.15rem; font-weight: 600; }
.journey-step p { color: #333; font-size: 0.8rem; line-height: 1.5; font-weight: 300; }

.section-dark .journey-step { background: var(--charcoal); border-color: var(--border-light); }
.section-dark .journey-step:hover { border-color: var(--gold-border); }
.section-dark .journey-step h5 { color: var(--white); }
.section-dark .journey-step p { color: #fff; }

/* --- Accordion --- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border-bottom: 1px solid #e0ddd8;
  overflow: hidden;
}
.section-dark .accordion-item { border-bottom-color: var(--border-light); }

.accordion-header {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}
.accordion-header::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform var(--transition);
  font-weight: 500;
}
.accordion-item.open .accordion-header::after { content: '−'; }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content-inner {
  padding: 0 0 24px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}
.section-dark .accordion-content-inner { color: #fff; }

/* --- Procedure Cards (expandable) --- */
.procedure-card {
  background: var(--white);
  border: 1.5px solid #e0ddd8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.procedure-card:hover { border-color: #999; }
.procedure-card:hover .procedure-card-header h4 { color: #333; }
.procedure-card:hover .procedure-card-header .expand { color: #333; }
.procedure-card.featured { border-color: #999; border-width: 2px; }
.procedure-card.featured .procedure-card-header { background: rgba(0,0,0,0.03); }

.section-dark .procedure-card { background: var(--charcoal); border-color: var(--border-light); box-shadow: none; }
.section-dark .procedure-card:hover { border-color: rgba(255,255,255,0.3); }
.section-dark .procedure-card:hover .procedure-card-header h4 { color: #fff; }
.section-dark .procedure-card:hover .procedure-card-header .expand { color: #fff; }

.procedure-card-header {
  padding: 20px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.procedure-card-header:hover { background: rgba(255,255,255,0.03); }
.procedure-card-header h4 { color: var(--text-dark); font-size: 1.3rem; margin: 0; font-weight: 600; }
.section-dark .procedure-card-header h4 { color: var(--white); }
.procedure-card-header .tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 4px 10px;
  border-radius: 0;
  margin-left: 12px;
}
.procedure-card-header .expand {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.procedure-card.open .procedure-card-header .expand { transform: rotate(45deg); }
.procedure-card.open {
  border-color: #999;
}
.section-dark .procedure-card.open {
  border-color: rgba(255,255,255,0.3);
}

.procedure-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.procedure-card-body-inner {
  padding: 0 28px 24px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.8;
  font-weight: 300;
}
.section-dark .procedure-card-body-inner { color: #fff; }

/* --- Gallery --- */
.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.gallery-tab {
  padding: 10px 24px;
  border: 1.5px solid #ddd;
  border-radius: 0;
  background: transparent;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-tab:hover { border-color: var(--gold); color: var(--text-dark); }
.gallery-tab.active { background: var(--black); color: var(--white); border-color: var(--black); }

.section-dark .gallery-tab { border-color: var(--border-light); color: #fff; }
.section-dark .gallery-tab:hover { border-color: var(--gold-border); color: var(--white); }
.section-dark .gallery-tab.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Video Placeholder --- */
.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
}
.video-placeholder .play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* --- Bio --- */
.bio-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.bio-portrait {
  aspect-ratio: 3/4;
  min-height: 560px;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-style: italic;
  border: 1px solid var(--border-light);
}

/* --- Bio Tabs (Karam-style about page) --- */
.bio-tabs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  min-height: 560px;
}
.bio-tabs-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
}
.bio-tabs-image {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 560px;
}
.bio-tabs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
  position: absolute;
  top: 0;
  left: 0;
}
.bio-tab-panel {
  animation: bioFadeIn 0.4s ease;
}
@keyframes bioFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bio-tabs-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 20px;
}
.bio-tabs-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.bio-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: opacity 0.2s, background 0.2s;
}
.bio-arrow-btn:hover:not(.disabled) {
  background: #333;
  color: #fff;
}
.bio-arrow-btn.disabled {
  opacity: 0.25;
  cursor: default;
}
.bio-tabs-labels {
  display: flex;
  gap: 8px;
}
.bio-tab-label {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.bio-tab-label:hover {
  color: #333;
}
.bio-tab-label.active {
  color: #333;
  border-bottom-color: #333;
}

/* --- Bio Textbox with Arrows (about page) --- */
.bio-textbox {
  position: relative;
  overflow: hidden;
}
.bio-textbox-inner {
  transition: transform 0.5s ease;
}
.bio-textbox-fade {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
  transition: opacity 0.3s;
}
.bio-textbox.at-bottom .bio-textbox-fade {
  opacity: 0;
}
.bio-textbox-arrows {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.bio-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #000;
  background: #fff no-repeat center center;
  background-size: auto 100%;
  cursor: pointer;
  transition: filter 0.3s, border-color 0.3s;
}
.bio-arrow:hover:not(:disabled) {
  filter: invert(1);
  border-color: #fff;
}
.bio-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.bio-arrow-prev {
  background-image: url('assets/images/arrow-prev.png');
}
.bio-arrow-next {
  background-image: url('assets/images/arrow-next.png');
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-toggle {
  display: inline-flex;
  background: #eee;
  border-radius: var(--radius);
  overflow: hidden;
}
.form-toggle button {
  padding: 10px 24px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray);
}
.form-toggle button.active {
  background: var(--black);
  color: var(--white);
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  color: var(--text-secondary);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.footer-col-connect { align-self: center; }
.footer-brand .logo { display: flex; align-items: center; justify-content: center; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; max-width: 320px; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.footer-col a:hover { color: var(--white); }

/* Footer address hover */
.footer-col a[href*="google.com/maps"]:hover {
  color: #fff !important;
  opacity: 0.9;
}

/* Footer text white enforcement */
.site-footer, .site-footer p, .site-footer a, .site-footer span, .site-footer h5 {
  color: #fff;
}
.site-footer .footer-col a {
  color: rgba(255,255,255,0.7);
}
.site-footer .footer-col a:hover {
  color: #fff;
}
.site-footer .footer-col h5 {
  color: #fff;
}

/* --- Footer Social & Reviews (inline in 5th column) --- */
.footer-social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-social-links a {
  color: var(--gray-light);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.footer-social-links a:hover { color: var(--white); }
.footer-social-links a svg { width: 24px; height: 24px; fill: currentColor; }

.footer-reviews-inline .footer-review-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-reviews-inline .footer-review-link:hover { color: #fff; }
.footer-reviews-inline .review-rating-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-reviews-inline .stars { color: #fff; font-size: 0.9rem; letter-spacing: 2px; }
.footer-reviews-inline .rating { font-weight: 700; color: #fff; font-size: 0.9rem; }
.footer-reviews-inline .review-count { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* --- Footer Legal Links --- */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.footer-legal a:hover { color: #333; }
.footer-legal span.sep { color: #999; font-size: 16px; }

/* --- Nav Social Icons --- */
.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 16px;
}
.nav-social a {
  color: rgba(255,255,255,1);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  padding: 0;
}
.nav-social a::after { display: none; }
.nav-social a:hover { color: var(--white); }
.nav-social a svg { width: 17px; height: 17px; fill: currentColor; }

/* Full-width footer bottom bar */
.footer-bottom-bar {
  background: #fff;
  padding: 18px 16px;
  margin-top: 48px;
}

.footer-bottom-bar .container {
  max-width: 100%;
  padding: 0 16px;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 16px;
  color: #333;
  gap: 8px;
  align-items: flex-start;
}

.footer-bottom span {
  color: #333;
}

.footer-bottom-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.footer-bottom-right {
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-end;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--gray); }
.footer-social a:hover { color: var(--gold); }

/* Footer bottom font size override */
.footer-bottom, .footer-bottom span, .footer-legal a, .footer-legal span.sep, .footer-accessibility {
  font-size: 16px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-tabs-layout { grid-template-columns: 1fr; gap: 30px; }
  .bio-tabs-image { order: -1; max-height: 400px; }
  .bio-tabs-text { min-height: auto; }
  .bio-tabs-nav { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bio-tabs-labels { flex-wrap: wrap; }
}

/* Responsive nav scaling */
@media (max-width: 1280px) {
  .main-nav a { font-size: 0.82rem; padding: 4px 10px; }
  .nav-social { gap: 8px; padding: 4px 8px; }
  .nav-social a svg { width: 13px; height: 13px; }
  .nav-cta { padding: 8px 16px !important; font-size: 0.72rem !important; }
  .logo img { height: 60px !important; }
  .nav-dropdown-menu a { font-size: 0.75rem; padding: 8px 16px; }
}

@media (max-width: 1024px) {
  .main-nav a { font-size: 0.76rem; padding: 4px 7px; }
  .nav-social { gap: 6px; padding: 4px 6px; }
  .nav-social a svg { width: 12px; height: 12px; }
  .logo img { height: 50px !important; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 75vh; }
  .hero-slideshow { min-height: 75vh; }
  .section { padding: 60px 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tlc-feature { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dual-cta { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .cta-track { padding: 32px 24px; }
  .logo-bar { gap: 24px; }

  h1 { font-size: 2rem; }
  .logo-text { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-serif { font-family: var(--font-serif); }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap { display: flex; gap: 16px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Dark/Charcoal section text color enforcement --- */
.section-dark, .section-dark p, .section-dark li { color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.85); }
.section-charcoal, .section-charcoal p, .section-charcoal li { color: #fff; }
.section-charcoal h2, .section-charcoal h3, .section-charcoal h4 { color: #fff; }
.section-charcoal .section-subtitle { color: rgba(255,255,255,0.85); }

/* --- Footer Accessibility --- */
.footer-accessibility {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  max-width: 1900px;
  text-align: center;
  margin: 0 auto;
}
.footer-accessibility strong {
  font-weight: 700;
  color: #333;
}
.footer-accessibility a {
  color: #333 !important;
}

/* --- Footer Action Buttons (inline in footer-bottom) --- */
.footer-action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.footer-action-btn {
  display: flex;
  align-items: center;
  gap: 0;
  height: 32px;
  width: 32px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  background: #333;
  color: #fff;
}

.footer-action-btn svg {
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 7px;
  flex-shrink: 0;
  fill: #fff;
}

.footer-action-btn .footer-btn-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
  padding-right: 0;
  color: #fff;
}

.footer-action-btn:hover {
  width: 140px;
  background: #333;
  color: #fff;
}

.footer-action-btn:hover svg {
  fill: #fff;
}

.footer-action-btn:hover .footer-btn-label {
  opacity: 1;
  max-width: 110px;
  padding-right: 12px;
}

.media-video-card {
  margin-bottom: 32px;
}

/* ============================================
   Media Page — Logo Strip & Cards
   ============================================ */

/* Featured-In Logo Strip */
.media-logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}
.media-logo-strip img {
  height: 44px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease, filter 0.3s ease;
  object-fit: contain;
}
.media-logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Divider line between sections */
.media-divider {
  display: none;
}

/* Media Appearance Cards — Card Grid */
.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.media-card {
  background: #efefef;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: clamp(120px, 12vw, 170px) 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
  transition: background 0.3s ease;
}
.media-card:hover {
  background: #e6e6e6;
}
/* Circle wrapper for logo */
.media-card-logo-wrap {
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  grid-row: 1 / -1;
}
.media-card-logo-wrap .media-card-logo {
  width: 65%;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Fallback: logo without wrapper (backward compat) */
.media-card > .media-card-logo {
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  padding: 22%;
  object-fit: contain;
  grid-row: 1 / -1;
}
.media-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.media-card h4 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  font-weight: 400;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.35;
}
.media-card p {
  color: #333;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}
.media-card-readmore {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.media-card-readmore:hover {
  color: #333;
  text-decoration: underline;
}

/* Video play button overlay */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0,0,0,0.75);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: none;
}
.video-play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.video-thumb-wrap:hover .video-play-btn {
  background: rgba(200, 0, 0, 0.85);
}

/* Video Grid for media page */
.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.media-video-item {
  margin-bottom: 0;
}
.media-video-item .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 14px;
  cursor: pointer;
}
.media-video-item .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.media-video-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: #333;
}
.media-video-item p {
  color: #333;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Category headers for media sections */
.media-category-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #999;
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 12px;
}

@media (max-width: 768px) {
  .media-logo-strip {
    gap: 24px 32px;
  }
  .media-logo-strip img {
    height: 24px;
  }
  .media-cards-grid {
    grid-template-columns: 1fr;
  }
  .media-video-grid {
    grid-template-columns: 1fr;
  }
  .media-card {
    padding: 24px;
  }
  .media-cards-grid {
    grid-template-columns: 1fr;
  }
  .media-card {
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 24px;
  }
}

/* Condition pages: text + image split layout */
.condition-split {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 60px;
}
.condition-split-text {
  flex: 1 1 0%;
  min-width: 0;
}
.condition-split-image {
  flex: 0 0 42%;
  max-width: 42%;
}
.condition-split-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .condition-split {
    flex-direction: column !important;
    gap: 32px;
  }
  .condition-split-image {
    flex: none;
    width: 100%;
    max-width: 100%;
    order: -1;
  }
}

/* Condition overview: photo left + text right — stack on mobile */
@media (max-width: 768px) {
  .section-light[style*="padding:0"] > div[style*="display:flex"] {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .section-light[style*="padding:0"] > div[style*="display:flex"] > div:first-child {
    flex: none !important;
    height: 300px !important;
  }
  .section-light[style*="padding:0"] > div[style*="display:flex"] > div:last-child {
    padding: 40px 24px !important;
  }
}

/* Patient Forms Dropdown */
.section-dark.form-section { position: relative; z-index: 10; overflow: visible; padding-bottom: 140px; }
.section-dark.form-section .container { overflow: visible; }
.form-dropdown { position: relative; display: inline-flex; }
.form-dropdown-toggle {
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  line-height: inherit;
  box-sizing: border-box;
}
.form-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.form-dropdown.open .form-dropdown-menu { display: block; }
.form-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s;
  white-space: nowrap;
}
.form-dropdown-menu a:hover {
  background: #f0f0f0;
  color: #111;
}
