/*
  Northern Surgical Clinic manual tuning layer.
  Edit this file only for final visual tuning. It is loaded after styles.css.
  Keep changes small and test desktop and mobile after each adjustment.
*/

/* 1. Global breadcrumb spacing
   Change padding-top to move Page 2/Page 3 breadcrumb text down/up.
   Change margin-bottom to alter space between breadcrumb and eyebrow/title. */
.breadcrumb-level-fix .page-hero-grid > div:first-child{
  /* padding-top:8px; */
}
.crumbs{
  /* margin-bottom:6px; */
}

/* 2. Homepage hero text sizing
   Change font-size/line-height only if the headline hierarchy needs tiny tuning.
   Use px for exact changes, or clamp() for responsive sizing. */
.home-hero .home-condition-heading{
  /* font-size:clamp(30px,5.4vw,56px); */
  /* line-height:1.04; */
}
.home-hero .home-specialist-line{
  /* font-size:33px; */
  /* line-height:1.36; */
}

/* 3. Homepage hero image size
   Change width to adjust the frame width.
   Change img height to adjust the displayed portrait height. */
.homepage-suit-hero-image{
  /* width:min(320px,25vw); */
}
.homepage-suit-hero-image img{
  /* height:430px; */
  /* object-fit:cover; */
}

/* 4. Homepage hero image object-position
   Change the two values to move the crop inside the frame.
   Examples: center top, 50% 35%, center center. */
.homepage-suit-hero-image img{
  /* object-position:center center; */
}

/* 5. Homepage surgeon/name card spacing
   Change bottom to move the card up/down within the image frame.
   Change padding for card density. */
.homepage-suit-hero-image .caption-card{
  /* bottom:30px; */
  /* padding:18px 18px; */
}

/* 6. Homepage feedback quote font size and spacing
   Change font-size/line-height for readability.
   Change gap on the grid or padding on blockquotes for row spacing. */
.journey-review-grid{
  /* gap:12px; */
}
.journey-review-grid blockquote{
  /* font-size:15.5px; */
  /* line-height:1.48; */
  /* padding:14px 16px; */
}

/* 7. About page hero image size
   Change width for the frame and img height for the portrait scale. */
.about-scrubs-portrait-image{
  /* width:min(540px,25vw); */
}
.about-scrubs-portrait-image img{
  /* height:585px; */
  /* object-fit:cover; */
}

/* 8. About page hero image object-position
   Change this to tune the crop within the scrubs portrait frame.
   Examples: center top, 48% top, center 20%. */
.about-scrubs-portrait-image img{
  /* object-position:center top; */
}

/* 9. Accreditation logo sizing
   Change the Newcastle Hospitals values only if its physical size needs tuning.
   Change generic logo height only if every accreditation logo needs adjustment. */
.logo-two-row img{
  /* height:177px; */
}
.logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{
  /* height:899px; */
  /* max-width:1113px; */
}

/* 10. Accreditation row spacing
   Change gap for horizontal/vertical spacing between logos.
   Change padding to tune whitespace inside the white logo container. */
.logo-two-row{
  /* gap:0 34px; */
  /* padding:8px 42px 0; */
}

/* 11. Accreditation CTA spacing
   Change margin-bottom on the accreditation section to pull the CTA up/down.
   Negative values pull the CTA upward; use small increments such as 20px. */
.clean-affiliations{
  /* margin-bottom:-160px; */
}
.clean-affiliations + .section.tight{
  /* padding-top:0; */
}

/* Mobile safety overrides
   Add small-screen tuning here if a desktop change makes mobile cramped. */
@media (max-width:720px){
  .homepage-suit-hero-image img{
    /* height:390px; */
  }
  .about-scrubs-portrait-image img{
    /* height:470px; */
  }
  .logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{
    /* height:495px; */
  }
}

/* v4.9 applied tuning: homepage frame, About frame and accreditation bug fix */
.home-hero .home-condition-heading{
  font-family:var(--sans);
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal);
  line-height:1.28;
  font-size:clamp(20px,2.25vw,32px);
  margin-top:0;
}

.homepage-suit-hero-image{
  width:min(368px,28.75vw);
  justify-self:end;
  margin-top:-42px;
}

.homepage-suit-hero-image img{
  height:430px;
  width:100%;
  object-fit:cover;
  object-position:top center;
  transform:scale(2);
  transform-origin:top center;
  background:#fff;
}

.homepage-suit-hero-image .caption-card{
  position:static;
  left:auto;
  right:auto;
  bottom:auto;
  margin:0;
  text-align:center;
  width:100%;
}

.homepage-suit-hero-image .caption-card strong,
.homepage-suit-hero-image .caption-card span{
  display:block;
}

.about-scrubs-portrait-image{
  width:min(621px,28.75vw);
  justify-self:end;
  align-self:start;
}

.about-scrubs-portrait-image img{
  height:585px;
  width:100%;
  object-fit:cover;
  object-position:center top;
  transform:none;
  background:#fff;
}

.clean-affiliations{
  padding-bottom:0;
  margin-bottom:-92px;
  overflow:visible;
}

.clean-affiliations .section-heading{
  margin-bottom:8px;
}

.logo-two-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px 34px;
  padding:8px 42px 0;
  line-height:1;
}

.logo-two-row img{
  flex:0 1 220px;
  height:177px;
  width:auto;
  max-width:220px;
  min-height:0;
  margin:0;
  padding:0;
  object-fit:contain;
}

.logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{
  flex-basis:495px;
  width:495px;
  height:auto;
  max-width:min(495px,100%);
  max-height:108px;
  min-height:0;
  margin:0;
  padding:0;
  object-fit:contain;
  display:block;
}

.clean-affiliations + .section.tight{
  padding-top:0;
  margin-top:0;
}

@media (max-width:1180px){
  .homepage-suit-hero-image{width:min(345px,32vw);margin-top:-36px}
  .homepage-suit-hero-image img{height:410px}
  .about-scrubs-portrait-image{width:min(575px,34vw)}
  .about-scrubs-portrait-image img{height:540px}
  .logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{width:430px;max-width:min(430px,100%);max-height:94px}
  .clean-affiliations{margin-bottom:-76px}
}

@media (max-width:1060px){
  .home-hero .hero-grid{grid-template-columns:1fr}
  .homepage-suit-hero-image{justify-self:center;width:min(391px,100%);margin-top:0}
  .homepage-suit-hero-image img{height:430px}
  .about-scrubs-portrait-image{justify-self:center;width:min(449px,100%)}
  .about-scrubs-portrait-image img{height:520px}
  .logo-two-row{gap:8px 28px}
  .logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{width:380px;max-width:100%;max-height:83px}
  .clean-affiliations{margin-bottom:-54px}
}

@media (max-width:720px){
  .home-hero .home-condition-heading{font-size:19px;line-height:1.34}
  .homepage-suit-hero-image{width:min(368px,100%)}
  .homepage-suit-hero-image img{height:390px}
  .homepage-suit-hero-image .caption-card{padding:16px 14px}
  .about-scrubs-portrait-image{width:min(368px,100%)}
  .about-scrubs-portrait-image img{height:470px}
  .logo-two-row{padding:8px 22px 0}
  .logo-two-row img{height:118px;max-width:100%}
  .logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{width:320px;max-width:100%;max-height:70px}
  .clean-affiliations{margin-bottom:-34px}
}

/* v4.10 applied tuning: hero rhythm, About crop and guide filters */
.home-crumbs{
  margin:0 0 10px;
}

.home-hero .hero-grid > div:first-child{
  padding-top:6px;
}

.home-hero .home-condition-heading{
  line-height:1.92;
}

.homepage-suit-hero-image .caption-card{
  width:100%;
  margin-top:0;
  padding:12px 14px;
}

.homepage-suit-hero-image .caption-card span{
  white-space:nowrap;
}

.about-scrubs-portrait-image img{
  height:497px;
  object-fit:cover;
  object-position:center top;
}

.expertise-hero-v43 .lead{
  line-height:1.9;
}

.clean-affiliations{
  margin-bottom:16px;
}

@media (max-width:1060px){
  .home-hero .home-condition-heading{line-height:1.72}
  .about-scrubs-portrait-image img{height:442px}
  .expertise-hero-v43 .lead{line-height:1.72}
}

@media (max-width:720px){
  .home-hero .home-condition-heading{line-height:1.55}
  .homepage-suit-hero-image .caption-card span{white-space:normal}
  .about-scrubs-portrait-image img{height:400px}
  .expertise-hero-v43 .lead{line-height:1.62}
  .clean-affiliations{margin-bottom:14px}
}

/* v4.11 applied tuning: home breadcrumb removal, About image re-crop and guide grid balance */
.home-hero .hero-grid > div:first-child{
  padding-top:32px;
}

.homepage-suit-hero-image .caption-card{
  width:calc(100% + 32px);
  max-width:none;
  margin-left:-16px;
  margin-right:-16px;
  padding:10px 12px;
  border-radius:0 0 18px 18px;
}

.homepage-suit-hero-image .caption-card span{
  white-space:nowrap;
}

.about-scrubs-portrait-image{
  height:497px;
  overflow:hidden;
}

.about-scrubs-portrait-image img{
  height:585px;
  width:100%;
  object-fit:cover;
  object-position:center top;
}

.guide-topic-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
}

.featured-guide-media img{
  height:250px;
  object-fit:cover;
}

.featured-guide-card{
  align-self:start;
}

.guide-topics-card{
  align-self:start;
}

@media (max-width:1060px){
  .home-hero .hero-grid > div:first-child{padding-top:6px}
  .about-scrubs-portrait-image{height:442px}
  .about-scrubs-portrait-image img{height:520px}
  .guide-topic-grid{grid-template-columns:1fr}
}

@media (max-width:720px){
  .homepage-suit-hero-image .caption-card{
    width:calc(100% + 32px);
    margin-left:-16px;
    margin-right:-16px;
    padding:10px 10px;
  }
  .homepage-suit-hero-image .caption-card span{white-space:normal}
  .about-scrubs-portrait-image{height:400px}
  .about-scrubs-portrait-image img{height:470px}
  .featured-guide-card{grid-template-columns:1fr!important}
  .featured-guide-media img{height:220px}
}


/* v4.12 audit-fix production polish */
.hidden-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.booking-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.55fr);gap:28px;align-items:start}
.booking-primary{padding:30px}
.booking-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 20px}
.booking-frame-embedded{padding:0;border:0;box-shadow:none}
.booking-frame-embedded iframe{width:100%;min-height:640px;border:1px solid var(--line);background:#fff}
.booking-support .btn{width:100%;margin-top:8px}
.comparison-cards{display:none}
.comparison-card{background:#fff;border:1px solid var(--line);padding:22px;display:grid;gap:12px}
.comparison-card h3{margin:0;font-family:var(--serif);font-size:28px}
.comparison-card dl{display:grid;gap:10px;margin:0}
.comparison-card dt{font-weight:850;color:var(--teal)}
.comparison-card dd{margin:0;color:var(--ink-soft)}
.video-guide-card{background:#fff;border:1px solid var(--line);border-left:3px solid var(--brass);padding:28px;display:grid;gap:12px}
.video-guide-card .play{width:48px;height:48px;border:1px solid var(--brass);display:grid;place-items:center;color:var(--brass)}
.video-embed-card{margin:0 0 24px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--brass);padding:18px}
.video-embed-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--navy)}
.video-embed-frame iframe{width:100%;height:100%;border:0;display:block}
.video-embed-fallback{margin:12px 0 0;font-size:15px}
.video-embed-fallback a{color:var(--teal);font-weight:750;text-decoration:none}
.video-embed-fallback a:hover{text-decoration:underline}
.site-header .nav.open{gap:4px}
.site-header .nav.open a,.site-header .nav.open .dropbtn{min-height:44px;display:flex;align-items:center;padding:12px 14px}
.cta-band .hero-actions .btn{min-height:44px}
.clean-logo-strip img{filter:saturate(.72);border:0}
@media (max-width:1060px){.booking-layout{grid-template-columns:1fr}.booking-frame-embedded iframe{min-height:680px}.footer-inner.v3-footer{gap:24px}}
@media (max-width:720px){.hero h1,.page-hero h1{font-size:36px;line-height:1.08}.hero .lead,.page-hero .lead{font-size:17px}.hero-actions,.cta-band .hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .btn,.cta-band .hero-actions .btn,.booking-actions .btn{width:100%;min-height:46px}.topbar .container span{display:block;margin:2px 0}.table-card:has(table){display:none}.comparison-cards{display:grid;gap:14px}.booking-primary{padding:22px}.booking-frame-embedded iframe{min-height:620px}.clean-logo-strip.logo-two-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.clean-logo-strip img{height:82px!important;width:100%!important;max-width:100%!important}.clean-logo-strip img[src*="185-54796d7eaa-NUTH-logo"]{height:auto!important;max-height:70px!important}.footer-inner.v3-footer{grid-template-columns:1fr}.site-footer a{padding:2px 0}}

@media (max-width:720px){
  .booking-layout{grid-template-columns:1fr}
  .hernia-comparison-section .table-card{display:none}
  .cta-band .btn-row{display:grid;grid-template-columns:1fr}
}

/* v4.13 final micro-polish: homepage section order and hero caption anchoring */
.homepage-suit-hero-image{
  display:flex;
  flex-direction:column;
}

.homepage-suit-hero-image > img{
  flex:0 0 auto;
}

.homepage-suit-hero-image .caption-card{
  flex:0 0 auto;
  margin-top:0;
  margin-bottom:0;
  align-self:stretch;
}

@media (max-width:1060px){
  .clinic-location-section .split{
    display:grid;
  }

  .clinic-location-section .prose{
    order:1;
  }

  .clinic-location-section .media-card{
    order:2;
  }
}

/* v4.14 final polish: header distribution and portrait caption bottom anchoring */
@media (min-width:1061px){
  .nav-wrap{
    gap:0;
  }

  .brand,
  .header-actions{
    flex:0 0 auto;
  }

  .nav{
    flex:1 1 auto;
    justify-content:space-evenly;
    gap:0;
    padding-left:34px;
    padding-right:34px;
    min-width:0;
  }

  .nav a,
  .nav .dropbtn{
    white-space:nowrap;
  }
}

.homepage-suit-hero-image{
  padding:16px 16px 0;
}

.homepage-suit-hero-image .caption-card{
  width:calc(100% + 32px);
  margin-left:-16px;
  margin-right:-16px;
  margin-bottom:0;
  border-radius:0 0 28px 28px;
  border-left:0;
  border-right:0;
  border-bottom:0;
}

/* v4.15 final header-only polish: intentional two-line desktop nav labels */
@media (min-width:1061px){
  .nav{
    padding-left:28px;
    padding-right:48px;
    justify-content:space-between;
    column-gap:8px;
  }

  .nav a,
  .nav .dropbtn{
    min-width:58px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    line-height:1.05;
    white-space:normal;
  }

  .nav a.nav-stacked{
    flex-direction:column;
    gap:1px;
  }

  .nav a.nav-stacked span{
    display:block;
  }

  .nav a[href="/gallbladder-surgery/"]{
    min-width:86px;
  }

  .nav a[href="/what-to-expect/"]{
    min-width:72px;
  }

  .header-actions{
    margin-left:16px;
  }
}

@media (max-width:1180px) and (min-width:1061px){
  .nav{
    padding-left:20px;
    padding-right:34px;
    column-gap:4px;
  }

  .header-actions{
    margin-left:12px;
  }
}

/* v4.16 final CTA polish: desktop header booking button prominence */
@media (min-width:1061px){
  .header-actions .btn.primary{
    min-height:46px;
    padding:12px 17px;
    min-width:144px;
  }
}

/* v4.18 hernia layout/copy polish: contained education imagery */
.hernia-education-split{
  align-items:center;
}

.hernia-education-image,
.hernia-location-card{
  background:#fff;
  overflow:hidden;
}

.hernia-education-image{
  padding:18px;
}

.hernia-location-card{
  padding:18px;
}

.hernia-education-image img,
.hernia-location-card img{
  display:block;
  width:100%;
  height:auto;
  object-position:center;
  background:#fff;
}

.hernia-stacked-cubes-card{
  max-width:520px;
  justify-self:start;
}

.hernia-stacked-cubes-card img{
  max-height:420px;
  object-fit:contain;
}

.hernia-location-card img{
  max-height:500px;
  object-fit:contain;
}

.hernia-theatre-card{
  align-self:center;
  padding:0;
}

.hernia-theatre-card img{
  height:420px;
  object-fit:cover;
}

.hernia-comparison-section .comparison-intro{
  max-width:760px;
  margin:10px 0 0;
  color:var(--ink-soft);
}

.hernia-comparison-section .table-footnote{
  font-weight:400;
}

@media (max-width:1060px){
  .hernia-education-split{
    grid-template-columns:1fr;
  }

  .hernia-definition-section .prose,
  .hernia-diagnosis-section .prose{
    order:1;
  }

  .hernia-definition-section .media-card,
  .hernia-diagnosis-section .media-card{
    order:2;
  }

  .hernia-education-image,
  .hernia-location-card{
    width:100%;
    max-width:640px;
    margin-inline:auto;
  }

  .hernia-theatre-card img{
    height:auto;
    max-height:420px;
  }
}

@media (max-width:720px){
  .hernia-education-image,
  .hernia-location-card{
    padding:10px;
  }

  .hernia-education-image img,
  .hernia-location-card img{
    max-height:none;
  }
}

/* v4.19 actual Hernia page fix: explicit three-block rendered structure */
.hernia-education-blocks{
  background:#fff;
  overflow-x:hidden;
}

.hernia-education-stack{
  display:grid;
  gap:64px;
}

.hernia-edu-row{
  display:grid;
  grid-template-columns:minmax(260px,.82fr) minmax(0,1fr);
  gap:70px;
  align-items:center;
}

.hernia-edu-row--image-right{
  grid-template-columns:minmax(0,1fr) minmax(280px,.88fr);
  padding:54px;
  margin-inline:-54px;
  background:#f4f7f6;
  border-radius:0;
}

.hernia-edu-row--grouped{
  align-items:center;
}

.hernia-edu-figure{
  margin:0;
  background:#fff;
  overflow:hidden;
}

.hernia-edu-figure img{
  display:block;
  width:100%;
  height:auto;
  object-position:center;
}

.hernia-edu-figure--stacked{
  max-width:520px;
  padding:18px;
}

.hernia-edu-figure--stacked img{
  max-height:420px;
  object-fit:contain;
}

.hernia-edu-figure--locations{
  padding:18px;
}

.hernia-edu-figure--locations img{
  max-height:500px;
  object-fit:contain;
}

.hernia-edu-figure--theatre img{
  height:430px;
  object-fit:cover;
}

.hernia-edu-copy--grouped h3{
  margin-top:28px;
}

@media (max-width:1060px){
  .hernia-education-stack{
    gap:44px;
  }

  .hernia-edu-row,
  .hernia-edu-row--image-right{
    grid-template-columns:1fr;
    gap:28px;
    padding:0;
    margin-inline:0;
    background:transparent;
  }

  .hernia-edu-row--image-left .hernia-edu-copy{
    order:1;
  }

  .hernia-edu-row--image-left .hernia-edu-figure{
    order:2;
  }

  .hernia-edu-figure{
    width:100%;
    max-width:640px;
    margin-inline:auto;
  }

  .hernia-edu-figure--theatre img{
    height:auto;
    max-height:430px;
  }
}

@media (max-width:720px){
  .hernia-education-stack{
    gap:40px;
  }

  .hernia-edu-figure--stacked,
  .hernia-edu-figure--locations{
    padding:10px;
  }

  .hernia-edu-figure--stacked img,
  .hernia-edu-figure--locations img{
    max-height:none;
  }
}

/* v4.20 Hernia visual layout polish */
.hernia-edu-row--body-image-right{
  grid-template-columns:minmax(0,1fr) minmax(330px,.88fr);
  gap:70px;
  align-items:center;
}

.hernia-edu-row,
.hernia-repair-layout,
.hernia-edu-copy,
.hernia-decision-copy{
  min-width:0;
}

.hernia-edu-row--types-image-left{
  grid-template-columns:minmax(330px,.92fr) minmax(0,1fr);
  gap:70px;
  align-items:center;
  padding:54px;
  margin-inline:-54px;
  background:#f4f7f6;
}

.hernia-edu-figure--body-crop{
  height:360px;
  padding:0;
}

.hernia-edu-figure--body-crop img{
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hernia-edu-figure--locations{
  padding:18px;
}

.hernia-edu-figure--locations img{
  max-height:520px;
}

.hernia-decision-block{
  display:grid;
  gap:28px;
  background:#fff;
}

.hernia-decision-copy{
  max-width:none;
}

.hernia-decision-copy .hernia-decision-heading{
  font-family:var(--serif);
  font-size:38px;
  line-height:1.14;
  font-weight:600;
  letter-spacing:-.025em;
  color:var(--ink);
  margin:0 0 16px;
}

.hernia-repair-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.62fr);
  gap:54px;
  align-items:center;
}

.hernia-repair-layout .hernia-edu-figure--theatre{
  align-self:center;
  margin:0;
}

.hernia-repair-layout .hernia-edu-figure--theatre img{
  height:330px;
  object-fit:cover;
  object-position:center;
}

.hernia-comparison-section .comparison-heading{
  display:block;
}

.hernia-comparison-section .comparison-intro{
  width:100%;
  max-width:none;
}

@media (max-width:1060px){
  .hernia-edu-row--body-image-right,
  .hernia-edu-row--types-image-left{
    grid-template-columns:1fr;
    gap:28px;
    padding:0;
    margin-inline:0;
    background:transparent;
  }

  .hernia-edu-row--types-image-left .hernia-edu-copy{
    order:1;
  }

  .hernia-edu-row--types-image-left .hernia-edu-figure{
    order:2;
  }

  .hernia-edu-figure--body-crop{
    height:320px;
    max-width:100%;
  }

  .hernia-repair-layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .hernia-repair-layout .hernia-decision-copy{
    order:1;
  }

  .hernia-repair-layout .hernia-edu-figure{
    order:2;
  }

  .hernia-decision-copy .hernia-decision-heading{
    font-size:34px;
  }
}

@media (max-width:720px){
  .hernia-edu-copy,
  .hernia-decision-copy{
    width:100%;
    max-width:100%;
  }

  .hernia-edu-figure{
    max-width:100%;
  }

  .hernia-edu-figure--body-crop{
    height:280px;
  }

  .hernia-edu-figure--body-crop img{
    width:100%;
    transform:none;
  }

  .hernia-repair-layout .hernia-edu-figure--theatre img{
    height:auto;
    max-height:330px;
  }
}

/* v4.21 Hernia first-block heading/image micro-polish */
.hernia-edu-block--body{
  display:grid;
  gap:24px;
}

.hernia-edu-heading{
  font-family:var(--serif);
  font-size:38px;
  line-height:1.14;
  font-weight:600;
  letter-spacing:-.025em;
  color:var(--ink);
  margin:0;
}

.hernia-edu-content-row--body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,.88fr);
  gap:70px;
  align-items:start;
}

.hernia-edu-figure--body-final{
  height:360px;
  padding:0;
}

.hernia-edu-figure--body-final img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

@media (max-width:1060px){
  .hernia-edu-content-row--body{
    grid-template-columns:1fr;
    gap:28px;
  }

  .hernia-edu-figure--body-final{
    height:auto;
    max-width:640px;
    margin-inline:auto;
  }

  .hernia-edu-figure--body-final img{
    height:auto;
    object-fit:contain;
  }
}

@media (max-width:720px){
  .hernia-edu-heading{
    font-size:34px;
  }
}

/* v4.22 Hernia final spacing: reduce space after the worsening paragraph */
.hernia-education-blocks{
  padding-bottom:80px;
}

.hernia-decision-copy--worsening p:last-child{
  margin-bottom:0;
}

/* v4.23 Hernia rendered gap fix: the remaining visible gap was inherited from the next section's top padding */
.hernia-education-blocks + .hernia-comparison-section{
  padding-top:0;
}


/* v4.26 final pre-video polish */
@media (min-width: 821px){
  .hernia-edu-block--body .hernia-edu-media{ margin-top:1.35rem; }
}

.gallbladder-procedure{ display:grid; gap:26px; }
.gallbladder-procedure-heading{ max-width:none; }
.gallbladder-procedure-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,0.78fr); gap:48px; align-items:start; }
.gallbladder-procedure-media{ margin-top:4.2rem; }
.gallbladder-procedure-media img{ object-fit:contain; }

.journey-consultation-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,0.8fr); gap:48px; align-items:start; }
.journey-consultation-media img{ object-fit:cover; }
.journey-full-section .prose{ max-width:900px; }

.transcript-panel{ margin-top:22px; border:1px solid rgba(21,71,86,.14); border-radius:8px; background:#fff; padding:18px 20px; }
.transcript-panel summary{ cursor:pointer; font-weight:700; color:var(--ink); }
.transcript-copy{ margin-top:16px; max-width:none; }
.transcript-copy p{ font-size:16px; line-height:1.7; }

.contact-lead{ margin-bottom:0; }
.contact-utility{ padding-top:46px; }

.booking-utility{ padding-top:42px; }
.booking-primary.card{ padding:24px; }
.booking-frame-embedded{ padding:9px; margin-top:18px; }

@media (max-width:820px){
  .gallbladder-procedure-grid,
  .journey-consultation-grid{ grid-template-columns:1fr; gap:26px; }
  .gallbladder-procedure-media{ margin-top:0; }
  .journey-consultation-media{ order:2; }
  .contact-utility,
  .booking-utility{ padding-top:34px; }
}


/* v4.27 final polish before video links */
.home-benefits-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.72fr);gap:52px;align-items:center}
.benefit-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.benefit-card-grid article{border:1px solid var(--line);background:#fff;padding:20px}
.benefit-card-grid h3{font-size:18px;margin:0 0 8px;color:var(--ink)}
.benefit-card-grid p{font-size:15px;line-height:1.55;margin:0;color:var(--ink-soft)}
.home-benefits-image-reserved{min-height:430px;border:1px solid var(--line);background:linear-gradient(180deg,#fff,#f6f7f5);display:grid;place-items:center;position:relative;overflow:hidden}
.home-benefits-image-reserved::before{content:"";position:absolute;inset:28px;border:1px solid rgba(198,168,91,.32)}
.home-benefits-image-reserved div{width:58%;height:58%;border:1px solid rgba(21,71,86,.12);background:linear-gradient(145deg,rgba(21,71,86,.06),rgba(198,168,91,.08))}

.gallbladder-procedure-media{margin-top:2.1rem}
.gallbladder-procedure-media img{background:#fff}
.journey-consultation-media{margin-top:5.6rem}
.fee-subheading-spaced{margin-top:38px!important}
.useful-resources{margin-top:24px}
.useful-resources h3{margin-top:0}
.contact-utility{padding-top:18px}
.booking-primary.card{padding:18px}
.booking-frame-embedded{padding:0;margin-top:14px;border:0;background:transparent;box-shadow:none}
.booking-frame-embedded iframe{border:1px solid var(--line);border-radius:0}

@media (max-width:820px){
  .home-benefits-grid,.benefit-card-grid{grid-template-columns:1fr}
  .home-benefits-image-reserved{min-height:280px}
  .journey-consultation-media{margin-top:0}
  .contact-utility{padding-top:18px}
  .booking-primary.card{padding:16px}
}

/* v4.28 homepage, fees and gallbladder refinement */
.home-why-extension{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.74fr);
  gap:48px;
  align-items:center;
  margin-top:42px;
  padding-top:34px;
  border-top:1px solid rgba(21,71,86,.12);
}
.home-why-extension-copy{max-width:760px}
.home-benefit-groups{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}
.home-benefit-groups article{
  background:#fff;
  border:1px solid rgba(21,71,86,.12);
  padding:18px;
}
.home-benefit-groups h3{
  margin:0 0 8px;
  font-size:18px;
  color:var(--ink);
}
.home-benefit-groups p{
  margin:0;
  font-size:15px;
  line-height:1.56;
  color:var(--ink-soft);
}
.home-why-extension-media{
  margin:0;
  min-height:360px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#fff;
}
.home-why-extension-media img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  object-position:center;
  transform:scale(1.05);
}

.gallbladder-procedure-media{margin-top:.7rem}
.journey-consultation-media{margin-top:8.4rem}

.detailed-fees .card{
  display:flex;
  flex-direction:column;
}
.fee-subheading-spaced,
.fee-insurance-subheading{
  font-family:var(--display);
  font-size:1.35rem;
  line-height:1.18;
  font-weight:600;
  color:var(--ink);
}
.fee-subheading-spaced{margin-top:52px!important}
.fee-insurance-subheading{margin:30px 0 10px}
.useful-resources{margin-top:auto}
.fee-section-end-links{
  margin-top:24px;
  margin-bottom:0;
}
.fee-section-end-links .link-arrow + .link-arrow{margin-left:18px}
.fee-insurance-notes-section{
  background:#fff;
  border-top:1px solid rgba(21,71,86,.08);
}

@media (max-width:820px){
  .home-why-extension,
  .home-benefit-groups{grid-template-columns:1fr}
  .home-why-extension{gap:24px;margin-top:30px;padding-top:28px}
  .home-why-extension-media,
  .home-why-extension-media img{min-height:280px}
  .gallbladder-procedure-media,
  .journey-consultation-media{margin-top:0}
  .fee-section-end-links .link-arrow{display:block}
  .fee-section-end-links .link-arrow + .link-arrow{margin-left:0;margin-top:10px}
}

/* v4.29 final homepage, gallbladder and fees tune */
.home-why-extension{
  display:block;
}
.home-why-extension-lead{
  width:100%;
  max-width:none;
  margin:0 0 28px;
  font-size:20px;
  line-height:1.62;
  color:var(--ink);
}
.home-why-extension-row{
  display:grid;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1fr);
  gap:48px;
  align-items:stretch;
}
.home-why-extension-row .home-benefit-groups{
  grid-template-columns:1fr;
  gap:14px;
  margin-top:0;
}
.home-benefit-groups ul{
  margin:0;
  padding-left:18px;
  color:var(--ink-soft);
}
.home-benefit-groups li{
  font-size:15px;
  line-height:1.55;
  margin:0 0 7px;
}
.home-benefit-groups li::marker{
  color:var(--gold);
}
.home-why-extension-media img{
  transform:none;
}

.gallbladder-procedure-media img{
  background:transparent;
}

.fee-subheading-spaced,
.fee-insurance-subheading{
  font-size:1.05rem;
  line-height:1.25;
  letter-spacing:.01em;
}

@media (max-width:820px){
  .home-why-extension-lead{
    font-size:18px;
    line-height:1.58;
  }
  .home-why-extension-row{
    grid-template-columns:1fr;
    gap:22px;
  }
}

/* v4.30 final homepage, gallbladder and fees adjustment */
.home-why-extension-row{
  grid-template-columns:minmax(0,1fr) minmax(300px,.78fr);
}
.home-benefit-groups li{
  position:relative;
  list-style:none;
  padding-left:24px;
  font-size:18px;
  line-height:1.48;
  font-weight:400;
}
.home-benefit-groups li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:.02em;
  color:var(--teal);
  font-weight:700;
}
.home-why-extension-media{
  background:rgba(255,255,255,.58);
  display:flex;
  align-items:center;
  justify-content:center;
}
.home-why-extension-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left top;
}
.gallbladder-procedure-media{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
}
.gallbladder-procedure-media img{
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover!important;
  object-position:center;
}
.detailed-fees .fee-subheading-spaced,
.detailed-fees .fee-insurance-subheading{
  font-family:"Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif!important;
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:600!important;
  color:var(--ink)!important;
}

@media (max-width:820px){
  .home-benefit-groups li{
    font-size:17px;
  }
}

/* v4.33 final homepage reception crop tune */
.home-why-extension-media{
  align-items:flex-start;
  justify-content:flex-start;
  height:490px!important;
  min-height:0!important;
  max-height:490px!important;
}
.home-why-extension-media img{
  width:auto!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  object-fit:fill!important;
  object-position:left top!important;
  display:block;
}

@media (max-width:820px){
  .home-why-extension-media{
    height:280px!important;
    min-height:0!important;
    max-height:280px!important;
  }
  .home-why-extension-media img{
    width:auto!important;
    height:100%!important;
    min-height:0!important;
    max-width:none!important;
  }
}

/* v4.38 mobile final fixes */
.contact-form > .btn.primary + .small{
  display:block;
  margin-top:1rem;
}

@media (max-width:1060px){
  .site-header .nav.open a.nav-stacked{
    flex-direction:row;
    justify-content:flex-start;
    gap:.28em;
    text-align:left;
  }

  .site-header .nav.open a.nav-stacked span{
    display:inline;
  }

  .gallbladder-symptoms-section .split{
    display:grid;
    grid-template-columns:1fr;
  }

  .gallbladder-symptoms-section .split .prose{
    order:1;
  }

  .gallbladder-symptoms-section .split .media-card{
    order:2;
    margin-top:4px;
  }
}

@media (max-width:820px){
  .home-why-extension-row{
    display:flex;
    flex-direction:column;
    gap:24px;
  }

  .home-why-extension-row .home-benefit-groups{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
  }

  .home-benefit-groups article{
    width:100%;
    box-sizing:border-box;
  }

  .home-why-extension-media{
    order:2;
    width:100%;
    align-self:stretch;
    margin-top:2px;
  }

  .home-why-extension-media img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:left top!important;
  }

  .clean-logo-strip.logo-two-row img[src*="185-54796d7eaa-NUTH-logo"]{
    height:104px!important;
    max-height:none!important;
    width:100%!important;
    object-fit:contain!important;
    transform:scale(1.08);
    transform-origin:center;
  }

  .hernia-decision-copy--worsening{
    margin-top:1.15rem;
  }
}

