/* Standalone stylesheet for the location pages (dentist-near-*.html).
   Load this AFTER styles.css, only on those pages. */
/* ------------- Location Pages -------------- */
/* Standalone design for dentist-near-*.html. Reuses the homepage's visual
   language (dark split hero, dark caption cards, banded sections) on the new
   brand palette. Compiled separately into location-pages.css. */
/* Sage green sampled from the location-page comp. Distinct from the brand
   $primary (#458549), which the comp still uses for buttons and FAQ icons. */
/* ------------- CMS template overrides -------------- */
/* On the CMS these pages are poured into the standard interior template, which
   wraps the content in #page and prints an empty #interior-banner above it.
   Neither exists in the flat HTML, so both are neutralized here rather than in
   the shared stylesheet or scripts.js, which every other page depends on. */
/* #page caps content at 1280px and adds side padding; the location design is
   full-bleed and manages its own widths per section. */
.loc-page #page {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* The template's banner is empty on these pages (the hero is our own #banner),
   so it would otherwise render as a bare dark strip under the header. */
.loc-page #interior-banner {
  display: none;
}

/* ------------- Shared bits -------------- */
.loc-page .h2 {
  color: #000;
  font: 400 37px/1.15 "Playfair Display", serif;
  text-transform: uppercase;
}
.loc-page .h2.text-white, .loc-page .text-white {
  color: #fff;
}
.loc-page .center {
  text-align: center;
}
.loc-page .contain {
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
}
.loc-page .lp-intro {
  max-width: 900px;
  margin: 18px auto 0;
}

/* Banded section: full-bleed color behind centered content */
.lp-band {
  position: relative;
  padding: 70px 10px;
  margin: 0 auto;
  text-align: center;
  background-color: #5C7B53;
  color: #fff;
}
.lp-band p, .lp-band li {
  color: #fff;
}
.lp-band--dark {
  background-color: #26263d;
}

/* ------------- Hero -------------- */
/* Inherits #banner from the main stylesheet (dark split layout, stacking
   behavior, and its media queries). Only the differences are set here: the
   location hero has no video or link row, so the copy panel is a little wider
   and the heading a touch smaller. */
#banner.lp-banner article {
  flex: 0 1 560px;
}
#banner.lp-banner .h1 {
  font-size: 42px;
  text-transform: none;
  font-family: "Playfair Display", serif;
}
#banner.lp-banner .h1 small {
  display: block;
  font: 400 15px/1 "Lato", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  #banner.lp-banner .h1 {
    font-size: 36px;
  }
}
@media (max-width: 480px) {
  #banner.lp-banner .h1 {
    font-size: 29px;
  }
}
/* ------------- Icon grids -------------- */
/* Icons ship as PNGs from the comp: white artwork for the colored bands, dark
   artwork for the white dentist card. Sized by height so the differing source
   aspect ratios line up on a common baseline. */
.loc-icon {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
}
.loc-icon img {
  display: block;
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 100%;
}

.lp-icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px;
  margin: 40px auto 0;
  max-width: 1100px;
  /* On a colored band only the labels need inverting; the icon art is
     already white in these PNGs. */
  /* Inside the white dentist card the icons stay green on white */
  /* 25px labels need wider columns to avoid breaking into many short lines. */
}
.lp-icon-grid > * {
  flex: 0 1 300px;
  padding: 0 10px;
}
.lp-icon-grid .h3 {
  font: 400 19px/1.35 "Lato", sans-serif;
  text-transform: none;
  margin-top: 10px;
}
.lp-band .lp-icon-grid .h3 {
  color: #fff;
}
.lp-icon-grid--card {
  gap: 30px 16px;
  margin: 0;
  max-width: 900px;
}
.lp-icon-grid--card > * {
  flex: 0 1 270px;
}
.lp-icon-grid--card .h3 {
  font-size: 25px;
  color: #000;
}
.lp-icon-grid--card .loc-icon {
  height: 56px;
}
.lp-icon-grid--two {
  max-width: 720px;
  gap: 30px 60px;
}
.lp-icon-grid--two > * {
  flex: 0 1 280px;
}
.lp-icon-grid--two a {
  display: block;
  transition: 0.3s opacity;
}
.lp-icon-grid--two a:hover {
  opacity: 0.78;
}

/* ------------- Meet the dentist -------------- */
/* White card overlapping a photo, as drawn in the comp. */
#lp-meet {
  position: relative;
  margin: 80px auto;
  padding: 0 20px;
  max-width: 1250px;
  text-align: center;
  /* index-meet.png is a tall portrait; crop it to a shallow band so the card
     overlaps a banner rather than a full-height photo. */
}
#lp-meet .lp-meet-inner {
  position: relative;
  margin-top: 35px;
  /* Room for the button that hangs off the card's bottom edge. */
  padding-bottom: 34px;
}
#lp-meet .lp-meet-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}
#lp-meet .lp-meet-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1250/620;
  object-fit: cover;
  object-position: center 42%;
}
#lp-meet .lp-meet-card {
  position: relative;
  z-index: 2;
  margin: -110px auto 0;
  max-width: 960px;
  background-color: #fff;
  border-radius: 20px;
  padding: 45px 35px 40px;
  box-shadow: 0 6px 28px rgba(38, 38, 61, 0.13);
  /* The button straddles the bottom edge, half in and half out. */
}
#lp-meet .lp-meet-card .btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  margin: 0;
  white-space: nowrap;
}

/* ------------- Review -------------- */
#lp-review {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  /* The quote mark floats clear of the copy, up and to the left, as drawn.
     The blockquote is padded so the mark never sits on the first line. */
}
#lp-review .lp-review-logo {
  margin: 22px auto 6px;
}
#lp-review .lp-review-logo img {
  display: block;
  margin: auto;
  width: 34px;
  height: auto;
}
#lp-review blockquote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 0 0 60px;
}
#lp-review .lp-quote-mark {
  position: absolute;
  top: 0;
  left: 10px;
  width: 37px;
  height: auto;
  display: block;
}
#lp-review p {
  font: italic 400 19px/2 "Playfair Display", serif;
  color: #000;
  margin: 0;
}
#lp-review cite {
  display: block;
  margin-top: 24px;
  font: 700 14px/1 "Lato", sans-serif;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-style: normal;
  color: #000;
}

/* ------------- Services -------------- */
/* Services and FAQs sit on white rather than the body's #fafafa, with 100px of
   vertical breathing room. The white is painted by a full-bleed pseudo-element
   so the section's own box keeps its normal width for laying out content. */
.lp-white {
  position: relative;
  padding: 100px 20px;
}
.lp-white:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background-color: #fff;
}

#services.lp-services {
  /* The site's #services sets margin:80px auto and padding:0 20px; the
     location version is a white band with its own 100px rhythm instead. */
  margin: 0 auto;
  padding: 100px 20px;
  max-width: none;
  /* Four 320px cards need 1346px with the site's 22px gaps, which is a hair
     more than the row offers at a 1385px viewport. Trim the gap slightly so
     the row always holds four. */
}
#services.lp-services > * {
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
}
#services.lp-services .sv-cards {
  max-width: 1366px;
  gap: 18px;
}

/* Cards inherit the full #services .sv-cards treatment from the main stylesheet
   (rounded corners, dark caption bar with hairline rules, image aspect ratio and
   responsive rules). Overrides below match the comp: 320px wide with a 20px
   title that wraps to two lines, and no hover description panel - each card is
   simply the trigger for its popup. */
#services.lp-services .sv-cards a {
  flex: 0 1 320px;
  max-width: 320px;
  min-width: 0;
  /* Height follows the content so the extra vertical padding actually
     opens the bar up rather than being clipped by a fixed height. */
  /* No .sv-over panel on these cards; the image lifts instead. */
}
#services.lp-services .sv-cards a h3 {
  font-size: 20px;
  height: auto;
  min-height: 68px;
  padding: 22px 14px;
}
#services.lp-services .sv-cards a img {
  transition: 0.4s transform;
}
#services.lp-services .sv-cards a:hover h3, #services.lp-services .sv-cards a:focus-visible h3 {
  background-color: #5C7B53;
}
#services.lp-services .sv-cards a:hover img, #services.lp-services .sv-cards a:focus-visible img {
  transform: scale(1.04);
}

/* ------------- Finding the office -------------- */
#lp-finding {
  margin: 80px auto;
  padding: 0 20px;
  max-width: 1100px;
}

/* ------------- FAQs -------------- */
/* Uses the site-wide .accordion / .flex-faq styles; this only sets the frame. */
#lp-faq {
  text-align: center;
  /* max-width lives on the inner content so the white band can still bleed */
  /* Single column: .flex-faq from the main stylesheet lays items out two
     across, but these read better stacked. */
}
#lp-faq > * {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}
#lp-faq .accordion {
  text-align: left;
  margin-top: 30px;
  max-width: 980px;
}
#lp-faq .accordion.flex-faq {
  display: block;
}
#lp-faq .accordion.flex-faq article {
  flex: 1 1 100%;
  margin: 0;
}

/* ------------- Popups -------------- */
/* Opened by leanModal from the service and financing cards. */
#lean_overlay {
  padding: 10px;
  position: fixed;
  z-index: 10100;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  overflow: auto;
}

.loc-page .loc-modal {
  display: none;
  background-color: #5C7B53;
  max-width: 1000px;
  width: 97%;
  box-sizing: border-box;
  text-align: center;
  padding: 45px 25px 25px;
  margin: 20px auto 40px;
  position: relative;
  top: 8% !important;
  border-radius: 20px;
}
.loc-page .loc-modal h3 {
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  font: 400 28px/1.2 "Playfair Display", serif;
}
.loc-page .loc-modal p, .loc-page .loc-modal li {
  color: #fff;
  max-width: 800px;
  margin: 14px auto;
}

button.loc-close, .loc-close {
  font-size: 15px;
  border: none;
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0;
  margin: 22px auto 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
button.loc-close span, .loc-close span {
  display: inline-block;
  margin: 0 5px;
}
button.loc-close svg, .loc-close svg {
  width: 30px;
  height: 30px;
}
button.loc-close:hover, .loc-close:hover {
  color: rgba(255, 255, 255, 0.75);
}
button.loc-close:hover svg *, .loc-close:hover svg * {
  stroke: rgba(255, 255, 255, 0.75);
}

.off {
  pointer-events: none;
}

/* ------------- Association logos & Instagram strip -------------- */
/* Both are lifted from the homepage and already carry their own styles. */
/* ------------- Media queries -------------- */
/* #banner and .sv-cards bring their own responsive rules from the main
   stylesheet; only the location-specific pieces are handled here. */
@media (max-width: 1024px) {
  .loc-page .h2 {
    font-size: 32px;
  }

  #lp-meet .lp-meet-photo img {
    aspect-ratio: 900/460;
  }

  #lp-meet .lp-meet-card {
    margin-top: -70px;
    max-width: 92%;
    padding: 35px 25px;
  }
}
@media (max-width: 750px) {
  #services.lp-services {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .lp-band {
    padding: 50px 10px;
  }

  #lp-meet, #lp-review, #lp-finding {
    margin: 55px auto;
  }

  .lp-white {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .lp-icon-grid > *, .lp-icon-grid--card > * {
    flex: 0 1 45%;
  }
}
@media (max-width: 480px) {
  .loc-page .h2 {
    font-size: 27px;
  }

  .lp-icon-grid > *, .lp-icon-grid--card > * {
    flex: 0 1 100%;
  }

  #lp-review blockquote {
    padding-left: 34px;
  }

  #lp-review .lp-quote-mark {
    left: 0;
    width: 26px;
  }

  #lp-meet .lp-meet-photo img {
    aspect-ratio: 4/3;
  }

  #lp-meet .lp-meet-card {
    margin-top: -40px;
    padding: 28px 18px;
  }

  .loc-page .loc-modal {
    padding: 35px 15px 20px;
  }
  .loc-page .loc-modal h3 {
    font-size: 22px;
  }
}

/*# sourceMappingURL=location-pages.css.map */
