/* styles.css — Urology NSW — Consolidated 2026-04-17 */
/* v2.5 2026-04-17 - Procedure hero is now single-column / video-first at every
                     breakpoint. The 720px+ two-column H1|video grid has been
                     removed so the .video-facade fills the full hero width
                     (~1040px on desktop vs the ~480px it was shrinking to). */
/* v2.4 2026-04-17 - #hero-portrait: mobile full-bleed single image; tablet+/desktop side-by-side pair */
/* v2.3 2026-04-17 - Renamed #video-title (homepage only) to #home-hero and
                     #video-title-text to .home-hero-text. All legacy #video-title /
                     #video-title-text selectors are now fully retired. */
/* v2.2 2026-04-17 - Cleanup: removed obsolete .video-container, .video-container-locally-hosted,
                     the forced 65% width at desktop, and the legacy soft-override layer.
                     All content pages now use .procedure-hero + .video-facade. */
/* v2.1 2026-04-17 - Added #hero-portrait section for Dr Kooner photo below homepage hero */
/* v2.0 2026-04-17 - Procedure page template (breadcrumbs, procedure-hero, video-facade,
                     page-toc, resource-card, procedure-videos, references-v2,
                     cta-band, cta-inline, mobile-cta-bar, related-treatments) */


/* ============================================================= */
/* 1. Design Tokens                                              */
/* ============================================================= */

:root {
  --navy: #02075d;
  --navy-mid: #030a8a;
  --navy-light: #040caf;
  --gold: #ffcc00;
  --gold-hover: #e6b800;
  --gold-light: #ffe066;
  --gold-pale: rgba(255, 204, 0, 0.12);
  --white: #ffffff;
  --off-white: #f7f8fc;
  --warm-gray: #f2f2f2;
  --light-gray: #eef1f6;
  --mid-gray: #d1d5db;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --green: #28a745;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s ease;
  --max-width: 1200px;
  /* v2.0 2026-04-17 - Procedure page template tokens */
  --content-read-width: 760px;
  --hero-h1-size: clamp(1.55rem, 3.2vw + 0.5rem, 2.4rem);
  --hero-sub-size: clamp(1rem, 1.2vw + 0.6rem, 1.15rem);
  --procedure-pad-y: clamp(24px, 4vw, 48px);
  --chip-bg: rgba(2, 7, 93, 0.06);
  --chip-border: rgba(2, 7, 93, 0.1);
}


/* ============================================================= */
/* 2. Reset & Base                                               */
/* ============================================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
}

iframe {
  border: 0;
}


/* ============================================================= */
/* 3. Typography                                                 */
/* ============================================================= */

@font-face {
  font-family: 'Bodoni';
  src: url('../fonts/bodoni.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ============================================================= */
/* 4. Skip Link (Accessibility)                                  */
/* ============================================================= */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.skip-link:focus {
  top: 0;
}


/* ============================================================= */
/* 5. Top Contact Bar                                            */
/* ============================================================= */

header {
  background: linear-gradient(180deg, var(--navy), var(--navy-light));
}

#top-bar {
  width: 100%;
  background: transparent;
  font-size: 0.82rem;
  padding: 0 20px;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-inner a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.top-bar-inner a:hover {
  color: var(--gold);
}

.top-bar-inner i {
  margin-right: 5px;
  font-size: 0.85em;
  color: var(--gold);
}

.top-bar-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.top-bar-locations {
  display: none;
}

.top-bar-location {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.top-bar-location:hover {
  color: var(--gold);
}

.top-bar-loc-sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}


/* ============================================================= */
/* 6. Header & Logo                                              */
/* ============================================================= */

#main-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  background: transparent;
  padding: 0 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#header-logo-text {
  font-family: 'Playfair Display', 'Bodoni', Georgia, serif;
  font-size: 1.8em;
  font-weight: 400;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  text-align: center;
  letter-spacing: 0.5px;
}

#header-logo-text a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
}

.logo-divider {
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  background-color: var(--gold);
  margin: 0 12px;
  opacity: 0.9;
  align-self: center;
  position: relative;
  top: 0.02em;
}

.logo-region {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95em;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

#header-logo-text a::after {
  content: '';
  display: none;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.logo-text-row {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-accent-line {
  display: none;
}


/* ============================================================= */
/* 7. Hamburger Icon                                             */
/* ============================================================= */

#hamburger-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1002;
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

#hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

#hamburger-menu.is-active {
  opacity: 0;
  pointer-events: none;
}


/* ============================================================= */
/* 8. Menu Overlay                                               */
/* ============================================================= */

#menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#menu-overlay.is-visible {
  display: block;
  opacity: 1;
}


/* ============================================================= */
/* 9. Mobile Menu Panel                                          */
/* ============================================================= */

#mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--navy);
  z-index: 1001;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

#mobile-menu.is-open {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header-title {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 1.1em;
  font-weight: bold;
}

.menu-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6em;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.menu-close:hover {
  color: var(--white);
}

#mobile-menu > ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

#mobile-menu > ul > li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: block;
  padding: 14px 20px;
  font-size: 0.95em;
  line-height: 1.4;
  transition: background-color 0.15s ease;
}

#mobile-menu a:hover,
#mobile-menu a:focus {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

#mobile-menu .menu-cta a {
  color: var(--navy);
  background-color: var(--gold);
  font-weight: bold;
  text-align: center;
  margin: 10px 20px;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
}

#mobile-menu .menu-cta a:hover {
  background-color: var(--gold-hover);
}

.has-children {
  position: relative;
}

.has-children > a {
  padding-right: 50px;
}

.submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 48px;
  background: none;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: 0.8em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.submenu-toggle .chevron {
  display: inline-block;
  transition: transform 0.3s ease;
}

.submenu-open > .submenu-toggle .chevron {
  transform: rotate(180deg);
}

.has-children > ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: rgba(0, 0, 0, 0.15);
}

.has-children > ul > li {
  margin: 0;
}

.has-children > ul a {
  padding: 11px 20px 11px 36px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.65);
}

.has-children > ul a::before {
  content: "";
  display: none;
}

.has-children > ul a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.06);
}

#mobile-menu ul li ul li {
  padding-left: 0;
  list-style: none;
}

#mobile-menu ul li ul li::before {
  display: none;
  content: none;
}

.menu-contact {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.menu-contact a {
  padding: 8px 0;
  color: var(--gold-light);
  font-size: 0.9em;
}

.menu-contact a i {
  width: 20px;
  margin-right: 8px;
  text-align: center;
}


/* ============================================================= */
/* 10. Sitewide Announcement                                     */
/* ============================================================= */

#sitewide-announcement {
  width: 100%;
  height: 40px;
  background-color: var(--gold);
}

#sitewide-announcement-text {
  color: var(--navy);
  font-size: 1em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  text-align: center;
}


/* ============================================================= */
/* 11. Hot Topics Bar                                            */
/* ============================================================= */

#hot-topics {
  width: 100%;
  min-height: 40px;
  background-color: var(--navy-mid);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border-top: none;
  padding: 8px 10px;
  position: relative;
}

#hot-topics::before,
#hot-topics::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}

#hot-topics::before {
  top: 0;
}

#hot-topics::after {
  bottom: 0;
}

#hot-topics-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85em;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 24px;
  text-align: center;
}

.hot-topics-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 0;
  margin: 0;
  font-family: 'Raleway', 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hot-topics-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.hot-topics-list li::before {
  content: "\25C6";
  color: var(--gold);
  font-size: 0.55em;
  line-height: 1;
  position: relative;
  top: -0.05em;
}

.hot-topics-list a {
  text-decoration: none;
  color: var(--white);
  transition: color var(--transition);
}

.hot-topics-list a:hover {
  color: var(--gold-light);
}


/* ============================================================= */
/* 11b. Mobile/Tablet Services Navigation                        */
/* ============================================================= */

#mobile-services-nav {
  display: block;
  width: 100%;
  background-color: var(--navy);
  padding: 14px 12px 10px;
  position: relative;
}

#mobile-services-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 204, 0, 0.2) 30%, rgba(255, 204, 0, 0.2) 70%, transparent 100%);
}

.services-nav-grid {
  columns: 2;
  column-gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.services-nav-group {
  break-inside: avoid;
  padding: 6px 8px 5px;
  margin-bottom: 4px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
}

.services-nav-group h4 {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin: 0 0 3px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
}

.services-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-nav-group li {
  margin: 0;
}

.services-nav-group a {
  display: block;
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.72em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.services-nav-group a:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  #mobile-services-nav {
    padding: 16px 16px 12px;
  }

  .services-nav-grid {
    columns: 3;
    column-gap: 12px;
  }

  .services-nav-group {
    padding: 8px 10px 6px;
    margin-bottom: 6px;
  }

  .services-nav-group h4 {
    font-size: 0.68em;
    letter-spacing: 1.4px;
    margin-bottom: 4px;
    padding-bottom: 3px;
  }

  .services-nav-group a {
    font-size: 0.76em;
    padding: 2.5px 0;
  }
}

@media (min-width: 1024px) {
  #mobile-services-nav {
    display: none;
  }
}


/* ============================================================= */
/* 12. Desktop Sidebar Navigation                                */
/* ============================================================= */

#desktop-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  #hamburger-menu {
    display: none;
  }

  #mobile-menu {
    display: none;
  }

  #menu-overlay {
    display: none;
  }

  #desktop-sidebar {
    display: block;
    float: left;
    width: 280px;
    background-color: var(--white);
    box-shadow: 2px 0 16px rgba(2, 7, 93, 0.06);
    padding-bottom: 40px;
    min-height: 500px;
    position: relative;
  }

  #desktop-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  }

  .sidebar-nav {
    padding: 20px 0 0;
  }

  .sidebar-category {
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(2, 7, 93, 0.06);
    padding-bottom: 4px;
  }

  .sidebar-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .sidebar-category h4 {
    font-family: 'Raleway', 'Inter', sans-serif;
    font-size: 0.72em;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 20px 6px;
    margin: 0;
    background-color: transparent;
    border-left: none;
    position: relative;
  }

  .sidebar-category h4::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin-top: 5px;
    border-radius: 1px;
    transition: width 0.3s ease;
  }

  .sidebar-category:hover h4::after {
    width: 40px;
  }

  .sidebar-category ul {
    list-style: none;
    padding: 2px 0 6px;
    margin: 0;
  }

  .sidebar-category li {
    margin: 0;
  }

  .sidebar-category a {
    display: block;
    font-family: 'Raleway', 'Inter', sans-serif;
    font-size: 0.88em;
    font-weight: 400;
    color: #4a4a4a;
    padding: 7px 20px;
    line-height: 1.45;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
  }

  .sidebar-category a:hover {
    background-color: rgba(2, 7, 93, 0.03);
    color: var(--navy);
    border-left-color: var(--gold);
    padding-left: 23px;
  }

  .sidebar-category a:active {
    background-color: rgba(2, 7, 93, 0.06);
  }

  main > section:not(#hot-topics):not(#desktop-sidebar) {
    margin-left: 290px;
  }

  main > section:not(#hot-topics):not(#desktop-sidebar):first-of-type,
  main > section#home-hero {
    margin-top: 20px;
  }

  #home-hero h1 {
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  main::after {
    content: "";
    display: table;
    clear: both;
  }
}

@media (min-width: 1200px) {
  #desktop-sidebar {
    width: 300px;
  }

  main > section:not(#hot-topics):not(#desktop-sidebar) {
    margin-left: 310px;
  }

  .sidebar-category h4 {
    font-size: 0.74em;
    padding: 13px 22px 6px;
  }

  .sidebar-category a {
    font-size: 0.9em;
    padding: 7px 22px;
  }

  .sidebar-category a:hover {
    padding-left: 25px;
  }
}

@media (min-width: 1400px) {
  #desktop-sidebar {
    width: 320px;
  }

  main > section:not(#hot-topics):not(#desktop-sidebar) {
    margin-left: 330px;
  }

  .sidebar-category h4 {
    font-size: 0.76em;
    letter-spacing: 1.8px;
    padding: 14px 24px 7px;
  }

  .sidebar-category a {
    font-size: 0.93em;
    padding: 8px 24px;
  }

  .sidebar-category a:hover {
    padding-left: 27px;
  }
}


/* ============================================================= */
/* 13. Page Heading & Hero Heading                               */
/* ============================================================= */

.page-heading {
  width: 100%;
  padding: 20px;
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1em;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-heading h1 {
  color: var(--white);
  font-size: 1.2em;
}

#home-hero {
  padding: 12px 20px;
  background: var(--off-white);
  border-bottom: 1px solid rgba(2, 7, 93, 0.06);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

#home-hero h1,
.home-hero-text {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  font-size: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
  font-weight: 600;
  margin: 0;
  flex-wrap: nowrap;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.05em;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-divider {
  flex: 0 0 auto;
  width: 1.5px;
  height: 1em;
  background: var(--gold-hover);
  opacity: 0.9;
}

.hero-stat {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.78em;
  color: var(--gold-hover);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.3em;
  color: var(--gold);
  letter-spacing: 0;
}

.hero-stat-year {
  color: var(--gold);
  font-weight: 600;
}

/* v1.1 2026-04-17 - Homepage hero portrait: mobile = full-bleed single image (no padding, no radius, no shadow); tablet/desktop = two images side-by-side */
/* v1.0 2026-04-17 - Homepage hero portrait (Dr Raji Kooner) below home-hero */

#hero-portrait {
  background: var(--off-white);
  padding: 0;
  border-bottom: 1px solid rgba(2, 7, 93, 0.06);
  text-align: center;
}

.hero-portrait-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
}

.hero-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.hero-portrait-img--secondary {
  display: none;
}

@media (min-width: 768px) {
  #hero-portrait {
    padding: 28px 20px 36px;
  }

  .hero-portrait-wrap {
    display: flex;
    flex-direction: row;
    gap: 16px;
    max-width: 780px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: center;
  }

  .hero-portrait-img {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(2, 7, 93, 0.12);
  }

  .hero-portrait-img--secondary {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero-portrait-wrap {
    max-width: 920px;
    gap: 20px;
  }

  .hero-portrait-img {
    height: 460px;
  }
}


/* ============================================================= */
/* 14. Content Area                                              */
/* ============================================================= */

.content {
  width: 100%;
  margin: 0 auto;
  padding: 30px 24px;
  line-height: 1.7;
  color: var(--text);
  font-size: 1.05rem;
  background-color: var(--white);
}

.content p {
  margin-bottom: 1.4em;
}

.content a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-decoration-color: rgba(3, 10, 138, 0.3);
  text-underline-offset: 2px;
}

.content a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--navy);
}

.content h3 {
  font-size: 1.2rem;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: var(--navy);
}

.content ul,
.content ol {
  padding-left: 24px;
  margin-bottom: 1.4em;
}

.content li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.content strong {
  font-weight: 600;
}

.floating_image_right {
  max-width: 300px;
}

.news-images {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 10px 0;
}


/* ============================================================= */
/* 14b. News Cards                                               */
/* ============================================================= */

.news-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.news-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.news-section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 0;
}
.news-header-accent {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hover));
  margin: 0 auto 16px;
  border-radius: 2px;
}
.news-section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.filter-btn {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.filter-btn:hover {
  border-color: var(--navy-mid);
  color: var(--navy);
}
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.news-featured {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(2,7,93,0.18);
}
.news-featured-inner {
  display: flex;
  flex-direction: column;
}
.news-featured-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.news-featured-body {
  padding: 28px 28px 24px;
}
.news-featured .news-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.news-featured h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}
.news-featured-excerpt {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.news-featured .read-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.news-featured:hover .read-more { gap: 10px; }

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(3,10,138,0.15);
}
.news-card-row {
  display: flex;
  flex-direction: column;
}
.news-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--off-white);
  flex-shrink: 0;
}
.news-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-thumb-wrap img {
  transform: scale(1.04);
}
.news-card-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.news-card-no-img i {
  font-size: 2.5rem;
  color: rgba(255,204,0,0.35);
}
.news-card-thumb-wrap .video-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

.news-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.news-tag-sm {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.tag-procedure   { background: #e0e7ff; color: #3730a3; }
.tag-milestone   { background: #fef3c7; color: #92400e; }
.tag-innovation  { background: #d1fae5; color: #065f46; }
.tag-video       { background: #fce7f3; color: #9d174d; }
.tag-research    { background: #ede9fe; color: #5b21b6; }
.tag-training    { background: #e0f2fe; color: #075985; }
.tag-recognition { background: #fff7ed; color: #9a3412; }
.tag-treatment   { background: #f0fdf4; color: #166534; }

.news-card h4 {
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 600;
}
.news-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 14px;
  transition: color 0.2s ease, gap 0.2s ease;
  text-decoration: none;
}
.news-card:hover .news-card-link { color: var(--gold-hover); gap: 8px; }

.news-card-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
  padding: 0 20px;
}
.news-card-expanded.open {
  max-height: 2000px;
  padding: 0 20px 20px;
}
.news-card-expanded-inner {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.news-card-expanded-inner img {
  border-radius: var(--radius-sm);
  margin: 14px 0;
  max-width: 100%;
}
.news-card-expanded-inner .responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 16px 0;
  border-radius: var(--radius-sm);
}
.news-card-expanded-inner .responsive-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.gallery-row img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 600px) {
  .news-card-row { flex-direction: row; }
  .news-card-thumb-wrap { width: 220px; height: auto; min-height: 170px; }
  .news-featured-inner { flex-direction: row; }
  .news-featured-img { width: 45%; height: auto; min-height: 300px; }
  .news-featured-body { width: 55%; display: flex; flex-direction: column; justify-content: center; padding: 32px 36px; }
}

@media (min-width: 768px) {
  .news-section { padding: 56px 32px 72px; }
  .news-section-header h2 { font-size: 2.3rem; }
}


/* ============================================================= */
/* 15. Video Containers                                          */
/* ============================================================= */
/* Note: .video-container and .video-container-locally-hosted were
   removed in v2.0 (2026-04-17). All content pages now use
   .video-facade + .procedure-hero-media. .responsive-video is kept
   for in-body news-feed embeds. */

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 20px;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ============================================================= */
/* 16. Feature Boxes                                             */
/* ============================================================= */

#feature-boxes {
  padding: 16px;
  background-color: var(--off-white);
}

.feature-boxes-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-box,
.content .feature-box {
  display: block;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 2px solid transparent;
}

.feature-box:hover,
.content .feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(2, 7, 93, 0.3);
  color: var(--white);
  text-decoration: none;
  border-color: rgba(255, 204, 0, 0.3);
}

.feature-icon {
  font-size: 1.5em;
  margin-bottom: 5px;
  color: var(--gold);
}

.feature-icon i {
  display: inline-block;
}

.feature-box h3 {
  font-size: 0.95em;
  margin-bottom: 4px;
  color: var(--gold);
  text-decoration: none;
}

.feature-box p {
  font-size: 0.85em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-decoration: none;
}

.feature-box:hover h3,
.feature-box:hover p {
  text-decoration: none;
}


/* ============================================================= */
/* 17. Second Opinion CTA                                        */
/* ============================================================= */

#second-opinion {
  width: 100%;
  background-color: var(--off-white);
  padding: 28px 0;
  text-align: center;
}

#second-opinion-text {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.second-opinion-button,
.content .second-opinion-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background-color: var(--gold);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.second-opinion-button:hover,
.content .second-opinion-button:hover {
  background-color: var(--gold-hover);
  color: var(--navy);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-1px);
}

.call-button,
.content .call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--green);
  color: var(--white);
  font-size: 1.1em;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.call-button:hover,
.content .call-button:hover {
  background-color: #218838;
  box-shadow: var(--shadow-md);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}


/* ============================================================= */
/* 18. Team Page                                                 */
/* ============================================================= */

.team-member {
  margin-bottom: 30px;
}

.team-member h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-member.principal h2 {
  font-size: 1.7rem;
}

.team-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  background-color: var(--navy);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 4px;
}

.team-qualifications {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 16px;
  font-size: 1rem;
}

.team-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}


/* ============================================================= */
/* 19. References Section                                        */
/* ============================================================= */

#references-section {
  padding: 20px 24px;
  margin-top: 24px;
  background-color: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

#references-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

#references-section ol {
  padding-left: 20px;
  margin: 0;
}

#references-section li {
  margin: 5px 0;
  line-height: 1.5;
  font-size: 0.82rem;
  color: var(--text-light);
}

#references-section a {
  color: var(--navy-mid);
  text-decoration: none;
}

#references-section a:hover {
  text-decoration: underline;
}


/* ============================================================= */
/* 20. Related Pages                                             */
/* ============================================================= */

#related-pages {
  width: 100%;
  background-color: var(--light-gray);
  padding: 24px;
}

#related-pages-text h3 {
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: var(--navy);
}

#related-pages ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#related-pages ul li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

#related-pages ul li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1em;
}

#related-pages ul li a {
  color: var(--navy-mid);
  font-size: 0.95rem;
}

#related-pages ul li a:hover {
  color: var(--gold);
}


/* ============================================================= */
/* 21. Mega Menu (Desktop)                                       */
/* ============================================================= */

#mega-menu {
  background-color: var(--navy);
  position: relative;
  z-index: 100;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 20px;
}

.main-menu > li {
  position: relative;
  padding: 20px 25px;
}

.main-menu > li > a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.main-menu > li:hover > a {
  color: var(--gold);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--navy-light);
  padding: 24px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  min-width: 600px;
  max-width: 90vw;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.has-submenu:hover .submenu {
  display: flex;
}

.submenu-column {
  flex: 1;
  padding: 0 20px;
  min-width: 200px;
}

.submenu-column h4 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.submenu-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 6px 0;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.submenu-column a:hover {
  color: var(--gold-light);
}


/* ============================================================= */
/* 22. Video Sidebar (Desktop)                                   */
/* ============================================================= */

.video-with-sidebar {
  display: flex;
  gap: 24px;
  padding: 24px;
}

.video-sidebar {
  width: 240px;
  background-color: var(--off-white);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.video-sidebar h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--navy);
}

.video-sidebar ul {
  list-style: none;
  padding: 0;
}

.video-sidebar li {
  margin-bottom: 8px;
}

.video-sidebar a {
  text-decoration: none;
  color: var(--navy-mid);
  font-size: 0.9rem;
}

.video-sidebar a:hover {
  color: var(--gold);
}


/* ============================================================= */
/* 22b. Homepage — Surgery Expertise / Credentials section       */
/* ============================================================= */

#surgery-expertise {
  max-width: 1080px;
  margin: 48px auto 56px;
  padding: 56px 0 0;
  position: relative;
}

#surgery-expertise::before {
  content: '';
  display: block;
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
}

.expertise-header {
  text-align: center;
  margin-bottom: 36px;
}

.expertise-eyebrow {
  display: inline-block;
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin-bottom: 14px;
}

.expertise-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: 0.2px;
  margin: 0 auto 18px;
  max-width: 760px;
}

.expertise-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* Lead pull-quote */
.lead-statement {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--off-white) 0%, #eef1f6 100%);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}

.lead-statement p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--navy);
  margin: 0 0 12px !important;
  font-family: 'Inter', sans-serif;
}

.lead-statement p:last-child {
  margin: 0 !important;
}

.lead-statement strong {
  color: var(--navy);
  font-weight: 700;
}

/* Featured-in pill */
.featured-in-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  row-gap: 6px;
  max-width: 820px;
  margin: 0 auto 42px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid rgba(2, 7, 93, 0.08);
  border-radius: 999px;
  font-size: 0.85rem;
  text-align: center;
}

.featured-label {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold-hover);
  white-space: nowrap;
}

.featured-items {
  color: var(--text-secondary);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: center;
}

#surgery-expertise .featured-items a {
  color: var(--navy-mid);
  text-decoration: none;
  border-bottom: 1px dotted rgba(2, 7, 93, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

#surgery-expertise .featured-items a:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold);
}

.featured-items .sep {
  color: var(--text-light);
}

/* Body with lead image */
.expertise-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  margin-bottom: 44px;
  align-items: start;
}

.expertise-image {
  margin: 0;
}

.expertise-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(2, 7, 93, 0.14);
  border: 1px solid rgba(2, 7, 93, 0.06);
  display: block;
}

.expertise-image figcaption {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.3px;
}

.expertise-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.05em !important;
}

.expertise-text p:last-child {
  margin-bottom: 0 !important;
}

.expertise-text strong {
  color: var(--navy);
  font-weight: 700;
}

#surgery-expertise .expertise-text a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-decoration-color: rgba(3, 10, 138, 0.3);
  text-underline-offset: 2px;
}

#surgery-expertise .expertise-text a:hover {
  color: var(--gold-hover);
  text-decoration-color: var(--gold);
}

/* Stat cards */
.expertise-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.25s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(2, 7, 93, 0.08);
  border-color: rgba(255, 204, 0, 0.4);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.stat-label {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.35;
}

.stat-label span {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 3px;
}

.expertise-stats-note {
  font-size: 0.86rem !important;
  color: var(--text-secondary) !important;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px !important;
  line-height: 1.55;
  font-style: italic;
}

.expertise-stats-note sup {
  font-size: 0.7em;
  color: var(--text-light);
}

/* Credentials grid: main card + side column */
.credentials-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.credentials-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 32px;
  transition: box-shadow 0.3s;
}

.credentials-card:hover {
  box-shadow: 0 14px 34px rgba(2, 7, 93, 0.08);
}

.credentials-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}

.credentials-card h3 i {
  color: var(--gold-hover);
  font-size: 1rem;
}

.credentials-card--accent {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.08) 0%, rgba(255, 204, 0, 0.02) 100%);
  border-color: rgba(255, 204, 0, 0.3);
}

.credentials-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credentials-side .expertise-image--davinci img {
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(2, 7, 93, 0.1);
}

.checkmark-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkmark-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.55;
  font-size: 0.94rem;
  color: var(--text);
  margin: 0 !important;
}

.checkmark-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 204, 0, 0.3);
}

.checkmark-list li sup {
  font-size: 0.7em;
  color: var(--text-light);
  font-weight: 400;
}

.checkmark-list strong {
  color: var(--navy);
  font-weight: 700;
}

/* Mentors card */
.mentors-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 22px 24px;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}

.mentors-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mentors-card h4 {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mentors-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mentors-card li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
  margin: 0 !important;
}

.mentors-card li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  top: 0.25em;
  font-size: 0.55em;
  color: var(--gold);
}

/* Final CTA panel */
.expertise-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 14px;
  padding: 34px 36px;
  color: var(--white);
  box-shadow: 0 16px 40px rgba(2, 7, 93, 0.2);
  position: relative;
  overflow: hidden;
}

.expertise-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.expertise-cta::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.expertise-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.expertise-cta-text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 6px;
  border-bottom: none;
}

.expertise-cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  margin: 0 !important;
  line-height: 1.55;
}

.expertise-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#surgery-expertise .btn-primary-gold {
  display: inline-block;
  padding: 13px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.25);
  border: none;
}

#surgery-expertise .btn-primary-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.32);
}

#surgery-expertise .btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

#surgery-expertise .btn-ghost-light i {
  color: var(--gold);
}

#surgery-expertise .btn-ghost-light:hover {
  border-color: var(--gold);
  background: rgba(255, 204, 0, 0.08);
}

.expertise-cta-guarantee {
  margin: 22px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.expertise-cta-guarantee i {
  color: var(--gold);
}

/* Responsive — tablet */
@media (max-width: 900px) {
  .expertise-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive — mobile */
@media (max-width: 640px) {
  #surgery-expertise {
    margin: 32px auto 40px;
    padding: 40px 0 0;
  }

  .lead-statement {
    padding: 20px 22px;
    margin: 0 14px 24px;
  }

  .lead-statement p {
    font-size: 0.98rem;
  }

  .featured-in-badge {
    flex-direction: column;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 14px 32px;
  }

  .expertise-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 14px;
  }

  .expertise-image {
    max-width: 340px;
    margin: 0 auto;
  }

  .expertise-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 14px;
    margin-bottom: 14px;
  }

  .stat-card {
    padding: 18px 12px;
  }

  .stat-number {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 1px;
  }

  .expertise-stats-note {
    padding: 0 14px;
    margin-bottom: 32px !important;
  }

  .credentials-grid {
    gap: 18px;
    padding: 0 14px;
    margin-bottom: 32px;
  }

  .credentials-card {
    padding: 22px 20px;
  }

  .credentials-card h3 {
    font-size: 1.08rem;
  }

  .checkmark-list li {
    font-size: 0.9rem;
  }

  .expertise-cta {
    padding: 26px 22px;
    margin: 0 14px;
    border-radius: 10px;
  }

  .expertise-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .expertise-cta-text h3 {
    font-size: 1.2rem;
  }

  .expertise-cta-actions {
    width: 100%;
  }

  #surgery-expertise .btn-primary-gold,
  #surgery-expertise .btn-ghost-light {
    flex: 1;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }
}


/* ============================================================= */
/* 23. Footer                                                    */
/* ============================================================= */

#footer {
  width: 100%;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 60%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Pre-footer CTA banner */
.footer-cta-banner {
  background: linear-gradient(90deg, rgba(255, 204, 0, 0.10) 0%, rgba(255, 204, 0, 0.04) 100%);
  border-top: 1px solid rgba(255, 204, 0, 0.25);
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  padding: 28px 0;
}

.footer-cta-banner .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-cta-text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: 0.3px;
}

.footer-cta-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-cta-primary {
  display: inline-block;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.18);
}

.footer-cta-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 204, 0, 0.25);
}

.footer-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  transition: border-color var(--transition), background var(--transition);
}

.footer-cta-secondary i {
  color: var(--gold);
}

.footer-cta-secondary:hover {
  border-color: var(--gold);
  background: rgba(255, 204, 0, 0.08);
}

/* Main footer grid */
.footer-main {
  padding: 52px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-heading {
  color: var(--gold);
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

/* Brand column */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  line-height: 1;
}

.footer-logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.footer-logo-divider {
  display: inline-block;
  width: 1.5px;
  height: 1.35rem;
  background-color: var(--gold);
  margin: 0 12px;
  opacity: 0.9;
}

.footer-logo-region {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 20px;
  max-width: 340px;
  font-size: 0.92rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-contact-item i {
  color: var(--gold);
  width: 16px;
  text-align: center;
  font-size: 0.9em;
}

a.footer-contact-item:hover {
  color: var(--gold-light);
}

.footer-hours {
  color: rgba(255, 255, 255, 0.7);
  cursor: default;
}

/* Locations column */
.footer-location-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.footer-location-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-location-list strong {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.footer-location-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-location-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 0.82rem;
  text-decoration: none;
  margin-top: 3px;
  width: fit-content;
  transition: color var(--transition), gap var(--transition);
}

.footer-location-list a i {
  font-size: 0.85em;
}

.footer-location-list a:hover {
  color: var(--gold);
  gap: 9px;
}

/* Links columns */
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Medical disclaimer */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.15);
}

.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  line-height: 1.65;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

/* Bottom bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.28);
  padding: 16px 0;
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin: 0;
}

.footer-legal {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.82rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.25);
}

/* Footer responsive — tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-main {
    padding: 44px 0 32px;
  }

  .footer-cta-text h3 {
    font-size: 1.35rem;
  }
}

/* Footer responsive — mobile */
@media (max-width: 640px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-cta-banner {
    padding: 24px 0;
  }

  .footer-cta-banner .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-primary,
  .footer-cta-secondary {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-main {
    padding: 36px 0 24px;
  }

  .footer-bottom .footer-container {
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}


/* ============================================================= */
/* 24. Responsive — Tablet (768px+)                              */
/* ============================================================= */

@media (min-width: 768px) {
  .top-bar-inner {
    justify-content: space-between;
  }

  .top-bar-locations {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  #hot-topics {
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  #hot-topics-text {
    font-size: 1em;
    height: 40px;
  }

  .hot-topics-list {
    flex-wrap: nowrap;
    gap: 20px;
  }

  #mobile-menu {
    width: 360px;
  }

  #mobile-menu a {
    font-size: 1em;
    padding: 15px 24px;
  }

  .has-children > ul a {
    padding-left: 42px;
  }

  .submenu-toggle {
    width: 56px;
    height: 52px;
  }

  .has-children > a {
    padding-right: 56px;
  }

  .feature-boxes-container {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .feature-box {
    flex: 1;
    padding: 22px 22px;
  }

  .feature-box h3 {
    font-size: 1.05em;
    margin-bottom: 6px;
  }

  .feature-box p {
    font-size: 0.85em;
    line-height: 1.5;
  }

  #second-opinion {
    padding: 32px 0;
  }

  .content {
    padding: 40px 30px;
  }

  .floating_image_right {
    float: right;
    margin: 0 0 20px 24px;
    max-width: 320px;
  }

  #home-hero {
    padding: 20px 30px;
  }

  .hero-title {
    font-size: 1.35em;
  }

  .hero-stat {
    font-size: 0.85em;
    letter-spacing: 2.2px;
  }

  .hero-divider {
    height: 1.1em;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 2px;
    padding: 5px 0;
  }

  .top-bar-contact {
    order: 1;
  }

  .top-bar-locations {
    order: 2;
    margin-left: 0;
  }
}


/* ============================================================= */
/* 25. Responsive — Desktop (1024px+)                            */
/* ============================================================= */

@media (min-width: 1024px) {
  .top-bar-inner {
    max-width: none;
    padding: 6px 10px;
  }

  #main-header {
    width: 100%;
    height: 60px;
    background: transparent;
  }

  #header-logo-text {
    font-size: 2em;
    height: 60px;
  }

  .logo-main {
    letter-spacing: 3.5px;
  }

  .logo-region {
    letter-spacing: 4px;
  }

  .logo-divider {
    margin: 0 14px;
    height: 0.95em;
  }

  .news-images {
    max-width: 500px;
  }

  #home-hero {
    padding: 22px 40px;
  }

  .hero-title {
    font-size: 1.6em;
  }

  .hero-stat {
    font-size: 0.9em;
    letter-spacing: 2.8px;
  }

  .hero-stat-number {
    font-size: 1.4em;
  }

  .hero-divider {
    width: 1.5px;
    height: 1.2em;
    margin: 0;
  }
}

@media screen and (max-width: 1024px) {
  .video-with-sidebar {
    flex-direction: column;
  }

  .video-sidebar {
    display: none;
  }

  .video-main {
    width: 100%;
  }
}


/* ============================================================= */
/* 26. Reduced Motion                                            */
/* ============================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ============================================================= */
/* 27. Procedure Page Template v2 (2026-04-17)                   */
/* ============================================================= */
/* Reusable building blocks for procedure / video pages.
   All video/treatment pages use .procedure-hero + .video-facade.
   The homepage hero uses its own dedicated #home-hero styling above. */


/* ---- 27.1 Breadcrumbs ---------------------------------------- */

#breadcrumbs {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  padding: 10px 20px;
}

#breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  color: var(--text-secondary);
}

#breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#breadcrumbs li + li::before {
  content: "\203A";
  color: var(--text-light);
  font-weight: 600;
}

#breadcrumbs a {
  color: var(--navy-mid);
  text-decoration: none;
}

#breadcrumbs a:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

#breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}


/* ---- 27.2 Procedure Hero ------------------------------------- */

.procedure-hero {
  width: 100%;
  padding: var(--procedure-pad-y) 20px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.procedure-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.procedure-hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.procedure-eyebrow {
  display: inline-block;
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold-hover);
}

.procedure-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--hero-h1-size);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.2px;
  margin: 0;
  font-weight: 700;
}

.procedure-hero .hero-tagline {
  font-size: var(--hero-sub-size);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  max-width: 620px;
}

.procedure-hero .procedure-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.procedure-hero .procedure-hero-cta .second-opinion-button {
  padding: 12px 24px;
}

/* At-a-glance fact chips */
.proc-facts {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proc-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.3;
}

.proc-facts li i {
  color: var(--gold-hover);
  font-size: 0.9em;
}

.proc-facts li .fact-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.proc-facts li .fact-value {
  font-weight: 600;
}

/* Hero media column */
.procedure-hero-media {
  min-width: 0;
}

/* Hero image (for pages that use an image instead of a video-facade, e.g. /single-port/).
   Scoped to direct children so it does not fight the video-facade's own poster/iframe. */
.procedure-hero-media > figure > img,
.procedure-hero-media > img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* Hero is single column at every breakpoint (video-first stack).
   H1 sits as a compact caption directly above the full-width video. */


/* ---- 27.3 Video Facade (click-to-load) ----------------------- */

.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.video-facade:hover,
.video-facade:focus-visible {
  outline: none;
}

.video-facade:focus-visible {
  box-shadow: 0 0 0 3px var(--gold), var(--shadow-md);
}

.video-facade img,
.video-facade .video-facade-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
  background: #111;
}

.video-facade:hover img,
.video-facade:hover .video-facade-poster {
  transform: scale(1.03);
  filter: brightness(0.92);
}

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.95);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.video-facade-play i {
  margin-left: 4px;
}

.video-facade:hover .video-facade-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gold);
}

.video-facade-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  z-index: 2;
  pointer-events: none;
}

/* Activated state - iframe/video takes over */
.video-facade.is-active {
  cursor: default;
}

.video-facade.is-active::after,
.video-facade.is-active .video-facade-play,
.video-facade.is-active .video-facade-label,
.video-facade.is-active .video-facade-poster,
.video-facade.is-active img {
  display: none;
}

.video-facade iframe,
.video-facade video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}


/* ---- 27.4 Content Column with TOC ---------------------------- */

.procedure-body {
  padding: 40px 0;
  background: var(--white);
}

.procedure-body-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.procedure-body .content {
  max-width: var(--content-read-width);
  padding: 0;
  background: transparent;
  font-size: 1.05rem;
  line-height: 1.7;
  min-width: 0;
}

.procedure-body .content > h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 2vw + 0.5rem, 1.7rem);
  color: var(--navy);
  margin-top: 2em;
  margin-bottom: 0.5em;
  letter-spacing: 0.2px;
  scroll-margin-top: 80px;
}

.procedure-body .content > h2:first-child {
  margin-top: 0;
}

.procedure-body .content > h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 1px;
}

.procedure-body .content > h3 {
  font-size: 1.12rem;
  color: var(--navy);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  font-weight: 600;
  scroll-margin-top: 80px;
}

.procedure-body .content > p {
  margin: 0 0 1.1em;
}

.procedure-body .content > ul,
.procedure-body .content > ol {
  padding-left: 22px;
  margin: 0 0 1.3em;
}

.procedure-body .content > ul > li,
.procedure-body .content > ol > li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.page-toc {
  display: none;
}

@media (min-width: 1100px) {
  .procedure-body-inner {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 48px;
    align-items: start;
  }

  .page-toc {
    display: block;
    position: sticky;
    top: 90px;
    font-size: 0.88rem;
    padding: 18px 18px 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .page-toc-heading {
    font-family: 'Raleway', 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-hover);
    margin: 0 0 10px;
  }

  .page-toc ol,
  .page-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .page-toc li {
    margin: 0;
  }

  .page-toc a {
    display: block;
    padding: 6px 10px;
    color: var(--text-secondary);
    text-decoration: none;
    border-left: 2px solid transparent;
    line-height: 1.4;
    border-radius: 2px;
    transition: all 0.18s ease;
  }

  .page-toc a:hover,
  .page-toc a.is-active {
    color: var(--navy);
    border-left-color: var(--gold);
    background: rgba(255, 204, 0, 0.08);
  }
}


/* ---- 27.5 Content figures ------------------------------------ */

.content-figure {
  margin: 1.8em 0;
  padding: 0;
}

.content-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
}

.content-figure figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
}


/* ---- 27.6 Resource cards (PDF brochures) --------------------- */

.procedure-resources {
  padding: 36px 20px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.procedure-resources-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.procedure-resources h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.6rem);
  color: var(--navy);
  margin: 0 0 6px;
}

.procedure-resources h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 1px;
  margin-bottom: 18px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.resource-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--text);
  text-decoration: none;
}

.resource-card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.resource-card-icon.has-thumb {
  background: transparent;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.resource-card-icon.has-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.resource-card-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.resource-card-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.resource-card-action {
  flex: 0 0 auto;
  color: var(--navy-mid);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.resource-card:hover .resource-card-action {
  color: var(--gold-hover);
}


/* ---- 27.7 Secondary video grid ------------------------------- */

.procedure-videos {
  padding: 36px 20px;
  background: var(--white);
}

.procedure-videos-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.procedure-videos h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.6rem);
  color: var(--navy);
  margin: 0 0 6px;
}

.procedure-videos h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 1px;
  margin-bottom: 18px;
}

.procedure-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 760px) {
  .procedure-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.procedure-video-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.procedure-video-item .video-facade {
  border-radius: var(--radius-sm);
}

.procedure-video-caption {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.procedure-video-caption strong {
  color: var(--navy);
  font-weight: 600;
}


/* ---- 27.8 References (collapsible) --------------------------- */

#references-section.references-v2 {
  padding: 0;
  margin-top: 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 32px;
}

#references-section.references-v2 > details {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
}

#references-section.references-v2 > details > summary {
  cursor: pointer;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--navy);
  user-select: none;
}

#references-section.references-v2 > details > summary::-webkit-details-marker {
  display: none;
}

#references-section.references-v2 > details > summary::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--gold-hover);
  transition: transform 0.2s ease;
}

#references-section.references-v2 > details[open] > summary::after {
  transform: rotate(180deg);
}

#references-section.references-v2 > details[open] > summary {
  border-bottom: 1px solid var(--border);
}

#references-section.references-v2 ol {
  padding: 16px 20px 20px 40px;
  margin: 0;
  counter-reset: reference;
  list-style: decimal;
}

#references-section.references-v2 li {
  margin: 0 0 10px;
  line-height: 1.55;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

#references-section.references-v2 li:last-child {
  margin-bottom: 0;
}

#references-section.references-v2 a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-decoration-color: rgba(3, 10, 138, 0.3);
}

#references-section.references-v2 a:hover {
  color: var(--gold-hover);
  text-decoration-color: var(--gold);
}

/* Open by default on larger screens */
@media (min-width: 768px) {
  #references-section.references-v2 > details {
    /* no-op - toggle state controlled by HTML "open" attribute */
  }
}


/* ---- 27.9 CTA band v2 (reusable) ----------------------------- */

.cta-band {
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.cta-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.cta-band-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw + 0.4rem, 1.45rem);
  color: var(--white);
  margin: 0 0 4px;
  font-weight: 700;
}

.cta-band-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 620px;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cta-band .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.25);
  transition: all var(--transition);
}

.cta-band .cta-primary:hover {
  background: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
  text-decoration: none;
}

.cta-band .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition);
}

.cta-band .cta-secondary i {
  color: var(--gold);
}

.cta-band .cta-secondary:hover {
  border-color: var(--gold);
  background: rgba(255, 204, 0, 0.08);
  color: var(--white);
  text-decoration: none;
}


/* ---- 27.10 Second Opinion v2 (inline CTA refresh) ------------ */

#second-opinion.cta-inline {
  background: var(--off-white);
  padding: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#second-opinion.cta-inline #second-opinion-text {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

#second-opinion.cta-inline .call-button {
  width: auto;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  gap: 10px;
}

#second-opinion.cta-inline .call-button .call-label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

@media (max-width: 520px) {
  #second-opinion.cta-inline .call-button .call-label {
    display: none;
  }

  #second-opinion.cta-inline .call-button {
    width: 48px;
    padding: 0;
  }
}


/* ---- 27.11 Mobile sticky CTA bar ----------------------------- */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(2, 7, 93, 0.08);
  gap: 8px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.mobile-cta-bar.is-hidden {
  transform: translateY(110%);
}

.mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1.1;
}

.mobile-cta-bar .mcta-call {
  background: var(--green);
  color: var(--white);
}

.mobile-cta-bar .mcta-call i {
  color: var(--white);
}

.mobile-cta-bar .mcta-opinion {
  background: var(--gold);
  color: var(--navy);
}

.mobile-cta-bar .mcta-opinion i {
  color: var(--navy);
}

@media (min-width: 1024px) {
  .mobile-cta-bar {
    display: none;
  }
}


/* ---- 27.12 Related treatments rail --------------------------- */

.related-treatments {
  padding: 32px 20px;
  background: var(--light-gray);
}

.related-treatments-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.related-treatments h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw + 0.4rem, 1.55rem);
  color: var(--navy);
  margin: 0 0 6px;
}

.related-treatments h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 1px;
  margin-bottom: 18px;
}

.related-treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .related-treatments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .related-treatments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.related-treatments-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.35;
}

.related-treatments-grid a::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--gold);
  flex: 0 0 auto;
}

.related-treatments-grid a:hover {
  border-color: var(--gold);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  text-decoration: none;
}


/* ---- 27.13 Sidebar offset adjustments for new sections ------- */

@media (min-width: 1024px) {
  /* New template sections should participate in the same sidebar offset
     that legacy sections use. .mobile-cta-bar is fixed so it's excluded. */
  main > section.procedure-hero,
  main > section.procedure-body,
  main > section.procedure-videos,
  main > section.procedure-resources,
  main > section.related-treatments,
  main > section.cta-band,
  main > section#breadcrumbs {
    /* already covered by existing rule:
       main > section:not(#hot-topics):not(#desktop-sidebar) { margin-left: 290px; }
       No override needed - keeping this comment for clarity. */
  }

  /* Allow the hero's inner grid to breathe on desktop */
  main > section.procedure-hero > .procedure-hero-inner {
    max-width: calc(var(--max-width) - 60px);
  }
}


/* ============================================================= */
/* 28. Print Styles                                              */
/* ============================================================= */

@media print {
  #top-bar,
  #hamburger-menu,
  #mobile-menu,
  #menu-overlay,
  #hot-topics,
  #desktop-sidebar,
  #mega-menu,
  #second-opinion,
  .video-sidebar,
  .video-facade,
  .mobile-cta-bar,
  .cta-band,
  #breadcrumbs,
  .page-toc,
  #footer {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .content,
  .procedure-body .content {
    padding: 0;
    box-shadow: none;
    max-width: 100%;
  }

  .procedure-hero,
  .procedure-resources,
  .procedure-videos,
  .related-treatments {
    padding: 0;
    background: #fff;
    border: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
