/*
Theme Name: FDG
Author: JP Webs
Description: Lightweight homepage theme for the FDG development site.
Version: 0.4.80
Text Domain: fdg
*/

:root {
  --blue: #087ca7;
  --blue-dark: #07456f;
  --ink: #111827;
  --muted: #536070;
  --gold: #ffc334;
  --shadow: 0 18px 45px rgba(16, 63, 96, 0.18);
  --font-sans: "Montserrat", Arial, Helvetica, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-sans);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text,
.finder label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
}

.eyebrow,
.hero h1,
.welcome h2,
.intro h2,
.care-copy h2 {
  font-family: var(--font-serif);
}

.section-inner,
.hero__content,
.welcome__copy {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.button--gold {
  background: linear-gradient(#ffd768, var(--gold));
  color: #17202f;
}

.button--small {
  min-height: 34px;
  padding: 0 20px;
  background: var(--gold);
  font-size: 12px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
  font-weight: 700;
}

.stars span {
  color: inherit;
  font-family: var(--font-sans);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 14px rgba(8, 37, 60, 0.08);
  backdrop-filter: blur(10px);
}

.topbar,
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  min-height: 30px;
  font-size: 12px;
  font-weight: 600;
}

.topbar__link--highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 26px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(#ffd768, var(--gold));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  color: #17202f;
  font-weight: 700;
}

.topbar__link--highlight::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -70%;
  z-index: 0;
  width: 42%;
  background: linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.24) 36%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.2) 64%, transparent 92%);
  transform: translateX(0) skewX(-20deg);
  animation: schedule-button-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.topbar__link--highlight:hover,
.topbar__link--highlight:focus {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  filter: brightness(1.04);
}

@keyframes schedule-button-shine {
  0%,
  46% {
    transform: translateX(0) skewX(-20deg);
  }

  74%,
  100% {
    transform: translateX(410%) skewX(-20deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar__link--highlight::before {
    animation: none;
  }
}

.site-search {
  display: flex;
  align-items: center;
}

.site-search input {
  width: 130px;
  height: 26px;
  border: 1px solid #cfd7df;
  border-radius: 10px 0 0 10px;
  padding: 0 9px;
  font-size: 12px;
}

.site-search button {
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.site-search input:focus,
.site-search button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.search-results__list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.search-results__list article {
  padding-bottom: 22px;
  border-bottom: 1px solid #dce5ec;
}

.search-results__list h2,
.search-results__list p {
  margin: 0;
}

.search-results__list p {
  margin-top: 7px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
}

.logo img {
  width: 220px;
}

.nav-toggle,
.submenu-toggle {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #18364d;
  font-size: 14px;
  font-weight: 700;
}

.nav__links li {
  position: relative;
}

.nav__links > .menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -16px;
  left: -16px;
  z-index: 29;
  display: none;
  height: 18px;
}

.nav__links > .menu-item-has-children:hover::after {
  display: block;
}

.nav__links a {
  display: block;
  color: inherit;
}

.nav__links > .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav__links .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 260px;
  max-width: min(880px, calc(100vw - 40px));
  max-height: calc(100vh - 150px);
  margin: 0;
  padding: 18px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(17, 166, 223, 0.16);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(12, 24, 44, 0.18);
  color: #18364d;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0);
}

.nav__links > .menu-item-has-children:not(.is-submenu-dismissed):hover > .sub-menu,
.nav__links > .menu-item-has-children:not(.is-submenu-dismissed) > a:focus-visible ~ .sub-menu,
.nav__links > .menu-item-has-children:not(.is-submenu-dismissed) > .sub-menu:focus-within {
  opacity: 1;
  pointer-events: auto;
}

.nav__links > li > .sub-menu {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px 20px;
}

.nav__links > li:first-child > .sub-menu {
  left: 0;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  width: min(860px, calc(100vw - 40px));
  transform: translate(0, 0);
}

.nav__links > #menu-item-39556 > .sub-menu {
  grid-template-areas:
    "find find"
    "north south"
    "north border";
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  align-items: start;
  width: min(880px, calc(100vw - 40px));
}

.nav__links #menu-item-1924 {
  grid-area: find;
}

.nav__links #menu-item-1650 {
  grid-area: north;
}

.nav__links #menu-item-1651 {
  grid-area: south;
}

.nav__links #menu-item-41289 {
  grid-area: border;
}

.nav__links #menu-item-1924 > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(159, 111, 0, 0.22);
  border-radius: 8px;
  background: linear-gradient(#ffd768, var(--gold));
  box-shadow: 0 8px 18px rgba(145, 103, 0, 0.18);
  color: #172134;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.nav__links #menu-item-1924 > a:hover,
.nav__links #menu-item-1924 > a:focus {
  color: #172134;
  filter: brightness(1.03);
  box-shadow: 0 11px 24px rgba(145, 103, 0, 0.24);
  transform: translateY(-1px);
}

.nav__links #menu-item-1650 > .sub-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.nav__links #menu-item-1651 > .sub-menu,
.nav__links #menu-item-41289 > .sub-menu {
  grid-template-columns: 1fr;
}

.nav__links > li:nth-last-child(-n+2) > .sub-menu {
  right: 0;
  left: auto;
  transform: translate(0, 0);
}

.nav__links > li.menu-item-1312 > .sub-menu,
.nav__links > li.menu-item-1615 > .sub-menu {
  right: auto;
  left: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  width: min(280px, calc(100vw - 40px));
  min-width: 240px;
  padding: 12px 18px;
  transform: translate(0, 0);
}

.nav__links .sub-menu a {
  padding: 7px 0;
  color: #35465a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.nav__links .sub-menu a:hover,
.nav__links .sub-menu a:focus {
  color: var(--blue-dark);
}

.nav__links .sub-menu .menu-item-has-children > a {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(17, 166, 223, 0.2);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.nav__links .sub-menu .sub-menu {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-width: 0;
  max-width: none;
  max-height: none;
  padding: 8px 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.nav__links > .menu-item-has-children:not(.is-submenu-dismissed):hover > .sub-menu .sub-menu,
.nav__links > .menu-item-has-children:not(.is-submenu-dismissed) > a:focus-visible ~ .sub-menu .sub-menu,
.nav__links > .menu-item-has-children:not(.is-submenu-dismissed) > .sub-menu:focus-within .sub-menu {
  pointer-events: auto;
}

.nav__phone {
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  min-height: 555px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 39%, rgba(255, 255, 255, 0.12) 58%),
    url("../img/hero-family.webp") center right / cover no-repeat;
}

.hero__content {
  padding-top: 78px;
}

.eyebrow {
  margin-bottom: 4px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.04;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
}

.hero__subhead {
  max-width: 590px;
  margin-bottom: 28px;
  font-size: 20px;
  font-weight: 700;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 26px;
  color: #14263a;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

.hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__chips span::before {
  content: "\2713";
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #3f2b00;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.service-icons {
  position: relative;
  z-index: 2;
  margin-top: -78px;
}

.service-icons__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.service-icons article {
  min-height: 160px;
  padding: 26px 20px 18px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.service-icons img {
  height: 84px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.service-icons h2 {
  margin: 0;
  color: #096a94;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.welcome {
  position: relative;
  --welcome-copy-width: 560px;
  margin-top: -84px;
  min-height: 540px;
  padding: 210px 0 64px;
  background:
    linear-gradient(90deg, rgba(9, 18, 37, 0.96) 0%, rgba(9, 18, 37, 0.82) 42%, rgba(9, 18, 37, 0.1) 68%),
    url("../img/office-dark.webp") center / cover no-repeat;
  color: #fff;
}

.welcome h2 {
  max-width: var(--welcome-copy-width);
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.welcome p {
  max-width: var(--welcome-copy-width);
  color: #d9e5ee;
}

.welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  max-width: var(--welcome-copy-width);
  margin-top: 28px;
}

.welcome__rating {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-weight: 700;
}

.walkin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(9vw, 140px);
  min-height: 70px;
  padding: 12px 24px;
  border-top: 2px solid rgba(255, 195, 52, 0.75);
  background: #172134;
  color: #fff;
  text-align: center;
}

.walkin p {
  margin: 0;
}

.walkin__badges {
  display: flex;
  align-items: center;
  gap: 34px;
}

.walkin__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dfeaf1;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.walkin__badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.page-main {
  background: #fff;
}

.page-hero {
  padding: 76px 0 72px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    url("../img/intro-care.webp") center / cover no-repeat;
  border-bottom: 1px solid rgba(17, 166, 223, 0.18);
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--blue-dark);
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-content {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 72px;
  color: #263342;
  font-size: 17px;
}

.page-content > * {
  margin-bottom: 22px;
}

.page-content > :last-child {
  margin-bottom: 0;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: var(--blue-dark);
  line-height: 1.18;
}

.page-content h2 {
  margin-top: 38px;
  font-size: clamp(26px, 3vw, 36px);
}

.page-content h3 {
  margin-top: 30px;
  font-size: 22px;
}

.page-content p,
.page-content li {
  line-height: 1.72;
}

.page-content a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
}

.page-content ul,
.page-content ol {
  padding-left: 1.35em;
}

.page-content img,
.page-content iframe {
  max-width: 100%;
}

.page-content .wp-block-button__link {
  border-radius: 8px;
  background: linear-gradient(#ffd768, var(--gold));
  color: #17202f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.page-content .wp-block-columns {
  gap: 34px;
}

.page-links {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 36px;
  font-weight: 700;
}

.intro {
  padding: 54px 0 70px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.72)),
    url("../img/intro-care.webp") center / cover no-repeat;
  text-align: center;
}

.intro h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.intro h2 span {
  display: block;
}

.intro p {
  max-width: 850px;
  margin-inline: auto;
  font-weight: 500;
}

.intro__note {
  margin-top: 26px;
}

.services {
  padding: 62px 0 76px;
  background: #fff;
  text-align: center;
}

.services h2,
.contact h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.18;
}

.section-lede {
  max-width: 800px;
  margin: 0 auto 34px;
  color: var(--muted);
}

.services .service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 940px;
  margin: 0 auto;
}

.services .service-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  align-items: center;
  padding: 18px 18px 24px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(216, 246, 255, 0.8)),
    #e6f8ff;
  box-shadow: 0 12px 28px rgba(15, 142, 190, 0.22);
}

.services .service-card img {
  width: 100%;
  aspect-ratio: 1.48;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(11, 77, 104, 0.1);
}

.services .service-card h3 {
  margin: 16px 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.services .service-card p {
  flex: 1;
  color: #253140;
  font-size: 14px;
  font-weight: 500;
}

.services__actions {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 42px;
}

.reviews {
  padding: 76px 0;
  background:
    linear-gradient(90deg, rgba(54, 183, 236, 0.72), rgba(255, 255, 255, 0.34)),
    url("../img/reviews-wave.webp") left center / cover no-repeat;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.reviews__summary h2 {
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 36px);
}

.reviews__summary h3 {
  margin: 58px 0 6px;
  font-size: 30px;
}

.testimonial-list {
  display: grid;
  gap: 18px;
}

.testimonial-list article {
  padding: 20px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(8, 53, 80, 0.16);
}

.testimonial-list header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.testimonial-list p {
  margin: 0;
  font-size: 14px;
}

.care-copy {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(9, 16, 29, 0.88), rgba(9, 16, 29, 0.72)),
    url("../img/office-dark.webp") center / cover no-repeat;
  color: #fff;
}

.care-copy .section-inner {
  max-width: 1000px;
}

.care-copy h2 {
  max-width: 700px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
}

.care-copy p {
  color: #e7edf5;
}

.care-copy .button {
  display: flex;
  width: fit-content;
  margin: 28px auto 0;
}

.contact {
  padding: 62px 0 70px;
  background:
    linear-gradient(rgba(235, 250, 255, 0.78), rgba(235, 250, 255, 0.78)),
    url("../img/contact-pattern.webp") center / cover no-repeat;
  text-align: center;
}

.contact > .section-inner > p {
  max-width: 900px;
  margin-inline: auto;
}

.finder {
  position: relative;
  max-width: 980px;
  min-height: 430px;
  margin: 38px auto 0;
  padding: 46px 34px 88px 38px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(24, 28, 39, 0.95) 0%, rgba(24, 28, 39, 0.9) 46%, rgba(24, 28, 39, 0.55) 68%, rgba(24, 28, 39, 0.12) 100%),
    url("../img/contact-family.webp") center right / cover no-repeat,
    #1b2030;
  box-shadow: 0 16px 34px rgba(42, 91, 112, 0.28);
  color: #fff;
  text-align: left;
}

.finder__body {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin-left: 184px;
}

.finder h3 {
  margin-bottom: 2px;
  color: #22bee9;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 34px);
}

.finder label {
  display: block;
  margin-bottom: 10px;
}

.finder__booking {
  position: relative;
  margin-top: 8px;
}

.finder__fields {
  position: relative;
  z-index: 2;
}

.finder__doctor {
  position: absolute;
  z-index: 3;
  top: -120px;
  left: -215px;
  width: 552px;
  max-width: none;
  pointer-events: none;
}

.finder select {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 4px;
  padding: 0 12px;
  color: #525c69;
}

.finder__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 26px;
  background: rgba(18, 21, 31, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.finder__footer a {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: -20px auto 0;
}

.contact-cards article {
  position: relative;
  z-index: 2;
  min-height: 128px;
  padding: 24px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(43, 85, 112, 0.18);
}

.contact-cards h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.contact-cards p {
  margin: 0;
  color: #425064;
  font-size: 14px;
}

.site-footer {
  background: #fff;
}

.credential-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 54px;
  min-height: 120px;
  padding: 22px;
  background: linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)), url("../img/intro-care.webp") center / cover no-repeat;
}

.credential-strip img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.credential-strip .credential-strip__logo--academy {
  max-height: 52px;
}

.credential-strip .credential-strip__logo--ncds {
  max-height: 46px;
}

@media (max-width: 1180px) {
  .credential-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    justify-content: center;
    align-items: center;
    gap: 28px 44px;
    min-height: 0;
    padding: 28px 22px;
  }
}

@media (max-width: 840px) {
  .credential-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding: 30px 20px;
  }

  .credential-strip img {
    justify-self: center;
  }
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-main h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.footer-main a,
.footer-main p {
  display: block;
  margin: 0 0 8px;
  color: #263342;
  font-size: 13px;
  text-decoration: underline;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.footer-logos img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
}

.socials {
  color: var(--blue);
  letter-spacing: 0;
}

.copyright {
  padding: 18px;
  background: #050505;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 980px) {
  .topbar {
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .nav {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px 14px;
    align-items: center;
    padding: 10px 0 14px;
  }

  .logo img {
    width: min(185px, 52vw);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 44px;
    height: 40px;
    border: 1px solid rgba(17, 166, 223, 0.2);
    border-radius: 8px;
    background: #fff;
    color: var(--blue-dark);
    box-shadow: 0 8px 18px rgba(16, 63, 96, 0.1);
    cursor: pointer;
  }

  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-toggle__icon {
    position: relative;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__icon::before {
    top: -7px;
  }

  .nav-toggle__icon::after {
    top: 7px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    transform: translateY(7px) rotate(90deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    opacity: 0;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav-open .primary-nav {
    display: block;
  }

  .nav__phone {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: 14px;
  }

  .nav__links {
    display: grid;
    width: 100%;
    gap: 0;
    padding: 8px 14px;
    border: 1px solid rgba(17, 166, 223, 0.16);
    border-top: 4px solid var(--blue);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(12, 24, 44, 0.14);
  }

  .nav__links > li {
    position: relative;
  }

  .nav__links > .menu-item-has-children::after,
  .nav__links > .menu-item-has-children:hover::after,
  .nav__links > .menu-item-has-children:focus-within::after {
    display: none;
  }

  .nav__links li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    border-bottom: 1px solid rgba(17, 166, 223, 0.12);
  }

  .nav__links li:last-child {
    border-bottom: 0;
  }

  .nav__links a {
    min-height: 44px;
    padding: 12px 0;
    line-height: 1.25;
  }

  .nav__links > .menu-item-has-children > a::after {
    display: none;
  }

  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: rgba(17, 166, 223, 0.08);
    color: var(--blue-dark);
    cursor: pointer;
  }

  .submenu-toggle span {
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
  }

  .submenu-toggle[aria-expanded="true"] span {
    transform: translateY(2px) rotate(225deg);
  }

  .nav__links .sub-menu {
    position: static;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 2px 0 10px 14px;
    overflow: visible;
    border: 0;
    border-left: 2px solid rgba(17, 166, 223, 0.16);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav__links .sub-menu[hidden] {
    display: none;
  }

  .nav__links > li > .sub-menu,
  .nav__links > li:first-child > .sub-menu {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav__links > #menu-item-39556 > .sub-menu {
    grid-template-areas: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
  }

  .nav__links #menu-item-1924,
  .nav__links #menu-item-1650,
  .nav__links #menu-item-1651,
  .nav__links #menu-item-41289 {
    grid-area: auto;
  }

  .nav__links #menu-item-1650 > .sub-menu {
    grid-template-columns: 1fr;
  }

  .nav__links .sub-menu .sub-menu {
    display: grid;
    padding: 2px 0 8px 12px;
  }

  .nav__links .sub-menu a {
    font-size: 12px;
  }

  .nav__links .sub-menu .menu-item-has-children > a {
    border-bottom: 0;
  }

  .hero {
    min-height: 500px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.56)),
      url("../img/hero-family.webp") center right / cover no-repeat;
  }

  .service-icons__grid,
  .services .service-grid,
  .reviews__grid,
  .contact-cards,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .finder__body {
    max-width: min(430px, calc(100% - 142px));
    margin-left: 142px;
  }

  .finder__doctor {
    top: -100px;
    left: -188px;
    width: 492px;
  }
}

@media (max-width: 640px) {
  .section-inner,
  .hero__content,
  .welcome__copy {
    width: min(100% - 28px, 480px);
  }

  .logo img {
    width: 190px;
  }

  .nav__phone {
    width: 100%;
    text-align: center;
  }

  .site-search {
    flex-basis: 100%;
    justify-content: center;
  }

  .site-search input {
    width: min(220px, 65vw);
  }

  .hero {
    min-height: 580px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.56)),
      url("../img/hero-family.webp") center bottom / cover no-repeat;
  }

  .hero__content {
    padding-top: 42px;
  }

  .hero__chips {
    gap: 12px 18px;
  }

  .service-icons {
    margin-top: -36px;
  }

  .reviews__grid,
  .contact-cards,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-icons__grid,
  .services .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-icons__grid {
    gap: 14px;
  }

  .services .service-grid {
    gap: 16px;
  }

  .welcome {
    margin-top: 30px;
    padding: 70px 0 50px;
  }

  .welcome__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome__rating {
    flex-wrap: wrap;
  }

  .walkin,
  .services__actions {
    flex-direction: column;
  }

  .walkin__badges {
    flex-direction: column;
    gap: 14px;
  }

  .walkin__badge {
    white-space: normal;
  }

  .services .service-card {
    min-height: auto;
  }

  .finder {
    padding: 28px 20px 96px;
    background:
      linear-gradient(rgba(24, 28, 39, 0.88), rgba(24, 28, 39, 0.84)),
      url("../img/contact-family.webp") center / cover no-repeat,
      #1b2030;
    text-align: center;
  }

  .finder__body {
    max-width: none;
    margin-left: 0;
  }

  .finder__booking {
    margin-top: 0;
  }

  .finder__doctor {
    display: none;
  }

  .finder__footer {
    flex-direction: column;
    gap: 4px;
    padding: 11px 16px;
    text-align: center;
  }

  .contact-cards {
    margin-top: 24px;
  }

  .testimonial-list header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .credential-strip,
  .service-icons__grid,
  .services .service-grid {
    grid-template-columns: 1fr;
  }
}

.location-main {
  background: #f7fbfe;
}

.location-hero {
  padding: 70px 0 64px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    url("../img/intro-care.webp") center / cover no-repeat;
  border-bottom: 1px solid rgba(17, 166, 223, 0.18);
}

.location-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: 44px;
  align-items: center;
}

.location-hero__eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.location-hero h1 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.location-hero address {
  margin: 0 0 26px;
  color: #2e4053;
  font-style: normal;
  font-weight: 600;
  line-height: 1.65;
}

.location-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.location-hero__media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.location-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: start;
  padding: 58px 0 68px;
}

.location-content,
.location-card {
  border: 1px solid rgba(17, 166, 223, 0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 63, 96, 0.08);
}

.location-content {
  padding: 38px;
}

.location-content h2,
.location-card h2 {
  color: var(--blue-dark);
  line-height: 1.18;
}

.location-content h2 {
  margin: 36px 0 18px;
  font-size: clamp(25px, 3vw, 34px);
}

.location-content h2:first-child {
  margin-top: 0;
}

.location-copy h3 {
  margin: 34px 0 14px;
  color: var(--blue-dark);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.location-copy h4 {
  margin: 26px 0 12px;
  color: var(--blue-dark);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.28;
}

.location-copy h3:first-child {
  margin-top: 0;
}

.location-copy p,
.location-copy li {
  color: #263342;
  font-size: 17px;
  line-height: 1.72;
}

.location-copy a,
.location-text-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
}

.location-video,
.location-map {
  width: 100%;
  border: 0;
  border-radius: 8px;
}

.location-video {
  margin-bottom: 30px;
}

.location-inline-promo {
  margin-bottom: 34px;
  padding: 24px;
  border: 2px solid rgba(255, 195, 52, 0.78);
  border-radius: 8px;
  background: #fff8df;
  text-align: center;
}

.location-inline-promo p {
  margin-bottom: 8px;
}

.location-inline-promo__kicker,
.location-inline-promo__code {
  color: var(--blue-dark);
  font-weight: 800;
}

.location-inline-promo__offer {
  color: #172134;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
}

.location-inline-promo__disclaimer {
  color: var(--muted);
  font-size: 13px;
}

.location-provider-grid,
.location-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.location-provider,
.location-review {
  display: block;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #f8fcff;
}

.location-provider img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 8px;
  object-fit: cover;
}

.location-provider span {
  color: var(--blue-dark);
  font-weight: 800;
}

.location-review blockquote {
  margin: 0 0 14px;
  color: #263342;
  line-height: 1.65;
}

.location-review figcaption {
  color: var(--blue-dark);
  font-weight: 800;
}

.location-directions label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.location-directions__row {
  display: flex;
  gap: 12px;
}

.location-directions input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
}

.location-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.location-card {
  padding: 24px;
}

.location-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.location-card__label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.location-card__phone {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.location-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.location-hours th,
.location-hours td {
  padding: 9px 0;
  border-bottom: 1px solid rgba(17, 166, 223, 0.14);
  text-align: left;
  vertical-align: top;
}

.location-hours th {
  color: var(--blue-dark);
  font-weight: 800;
}

.location-hours td {
  color: #263342;
  text-align: right;
}

.location-sidebar-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-sidebar-links a {
  color: #263342;
  font-weight: 700;
}

.location-financing img {
  margin: 0 auto 14px;
}

.location-map {
  display: block;
  height: 430px;
  border-radius: 0;
}

@media (max-width: 980px) {
  .location-hero__grid,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .location-hero {
    padding: 44px 0;
  }

  .location-layout {
    padding: 34px 0 46px;
  }

  .location-content,
  .location-card {
    padding: 22px;
  }

  .location-provider-grid,
  .location-review-grid,
  .location-directions__row {
    grid-template-columns: 1fr;
  }

  .location-directions__row {
    display: grid;
  }
}

body.page-id-2261 {
  --service-hero-image: url("../media/uploads/2019/09/DentalServices-BackgroundImage.jpg");
}

body.page-id-2094 {
  --service-hero-image: url("../media/uploads/2019/09/full-and-partial-denturesBackgroundImage.webp");
}

body.page-id-39672 {
  --service-hero-image: url("../media/uploads/2016/07/banner-dental-implants.webp");
}

body.page-id-2107 {
  --service-hero-image: url("../media/uploads/2015/11/crowns.webp");
  --service-hero-position: center 42%;
}

body.page-id-2110 {
  --service-hero-image: url("../media/uploads/2015/11/teethwhitening-1-825x360.webp");
}

body.page-id-2074 {
  --service-hero-image: url("../media/uploads/2016/07/pediatric-825x360.webp");
}

body.page-id-39319 {
  --service-hero-image: url("../media/uploads/2018/11/dental-insurance-752x360.webp");
  --service-hero-position: center 48%;
}

body.page-id-39404 {
  --service-hero-image: url("../media/uploads/2016/06/family-banner-825x360.webp");
  --service-hero-position: center;
}

body.page-id-41641 {
  --service-hero-image: url("../media/uploads/2016/06/family-banner-825x360.webp");
  --service-hero-position: center;
}

body.page-id-39428 {
  --service-hero-image: url("../media/uploads/2022/10/dentist-banner-825x360.webp");
  --service-hero-position: center;
}

body.page-id-835 {
  --service-hero-image: url("../media/uploads/2022/10/dentist-banner-825x360.webp");
  --service-hero-position: center;
}

body.page-id-1994 {
  --service-hero-image: url("../media/uploads/2016/06/family-banner-825x360.webp");
  --service-hero-position: center;
}

body.page-id-736 {
  --service-hero-image: url("../media/uploads/2015/09/header_bg_2.webp");
  --service-hero-position: center;
}

body.page-id-1922 {
  --service-hero-image: url("../media/uploads/2016/08/fdsouthparkpatientchair2-825x360.webp");
  --service-hero-position: center;
}

body.page-id-703 {
  --service-hero-image: url("../media/uploads/2015/11/dental-office-825x360.webp");
  --service-hero-position: center;
}

body.page-id-1987 {
  --service-hero-image: url("../media/uploads/2019/08/FDGWinner-825x360.jpg");
  --service-hero-position: center 40%;
}

body.page-id-860 {
  --service-hero-image: url("../media/uploads/2016/08/BluMjk-Testimonials-Banner-825x360.webp");
  --service-hero-position: center;
}

body.page-id-748,
body.page-id-817,
.single-fdg_doctor {
  --service-hero-image: url("../media/uploads/2022/10/dentist-banner-825x360.webp");
  --service-hero-position: center;
}

body:is(.page-id-703, .page-id-748, .page-id-817, .page-id-860, .page-id-1922, .page-id-1987, .page-id-736, .page-id-1994, .page-id-835, .page-id-2261, .page-id-2074, .page-id-2094, .page-id-39319, .page-id-39404, .page-id-39428, .page-id-39672, .page-id-41641, .page-id-2107, .page-id-2110, .single-fdg_doctor) .page-hero {
  padding: 90px 0 96px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.76) 50%, rgba(255, 255, 255, 0.2) 100%),
    var(--service-hero-image) var(--service-hero-position, center) / cover no-repeat;
}

body:is(.page-id-703, .page-id-748, .page-id-817, .page-id-860, .page-id-1922, .page-id-1987, .page-id-736, .page-id-1994, .page-id-835, .page-id-2261, .page-id-2074, .page-id-2094, .page-id-39319, .page-id-39404, .page-id-39428, .page-id-39672, .page-id-41641, .page-id-2107, .page-id-2110, .single-fdg_doctor) .page-content {
  width: min(1120px, calc(100% - 40px));
  padding: 56px 0 82px;
}

.service-page {
  display: grid;
  gap: 30px;
}

body.page-id-41641 .service-page > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.service-page > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.service-page .service-intro,
.service-page .service-band,
.service-page .service-provider-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 34px;
  align-items: center;
}

.service-page .service-band--reverse {
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
}

.service-page .service-band > *,
.service-page .service-intro > *,
.service-page .service-provider-section > * {
  min-width: 0;
}

.service-page .service-card,
.service-page .service-intro,
.service-page .service-band,
.service-page .service-provider-section,
.service-page .service-grid > article,
.service-page .service-split-card,
.service-page .financing-payment-card,
.service-page .insurance-logo-section,
.service-page .insurance-note {
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 255, 0.96)),
    #fff;
  box-shadow: 0 14px 34px rgba(16, 63, 96, 0.08);
}

.service-page .service-card,
.service-page .service-intro,
.service-page .service-band,
.service-page .service-provider-section,
.service-page .service-split-card,
.service-page .financing-payment-card,
.service-page .insurance-logo-section,
.service-page .insurance-note {
  padding: 30px;
}

.service-page .service-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-page h2,
.service-page h3 {
  color: var(--blue-dark);
}

.service-page h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.14;
}

.service-page h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.service-page p,
.service-page li,
.service-page address,
.service-page .service-copy,
.service-page .service-band > :not(.service-media) {
  color: #263342;
  font-size: 16px;
  line-height: 1.72;
}

.service-page ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 1.1em;
}

.service-page li::marker {
  color: var(--blue);
}

.service-page .service-media {
  width: 100%;
  margin: 0;
  text-align: center;
}

.service-page .service-media img,
.service-page .service-image {
  width: 100%;
  height: auto;
  aspect-ratio: var(--service-media-ratio, 1.15);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(11, 77, 104, 0.12);
}

.service-page video.service-image {
  display: block;
}

.service-page .service-media .button {
  margin-top: 16px;
}

.special-page .service-intro .service-media {
  --service-media-ratio: 610 / 318;
}

.faq-page .faq-list {
  display: grid;
  gap: 14px;
}

.faq-page details {
  overflow: hidden;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 255, 0.98)),
    #fff;
  box-shadow: 0 12px 28px rgba(16, 63, 96, 0.08);
}

.faq-page summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-page summary::-webkit-details-marker {
  display: none;
}

.faq-page summary::after {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff8df;
  color: var(--blue-dark);
  content: "+";
  font-weight: 900;
}

.faq-page details[open] summary::after {
  content: "-";
}

.faq-page .faq-answer {
  padding: 0 24px 24px;
}

.faq-page .faq-answer p {
  max-width: 760px;
}

.faq-page .faq-answer a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
}

.locations-page #location-finder,
.locations-page__all,
.locations-page__cta {
  scroll-margin-top: 120px;
}

.locations-page__intro {
  position: relative;
  overflow: hidden;
}

.locations-page__intro::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 34px solid rgba(255, 195, 52, 0.24);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.locations-page__stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.locations-page__stats div {
  padding: 18px 20px;
  border: 1px solid rgba(17, 166, 223, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(222, 247, 255, 0.88)),
    #e8f8ff;
  box-shadow: 0 10px 22px rgba(16, 63, 96, 0.08);
}

.locations-page__stats strong,
.locations-page__stats span {
  display: block;
}

.locations-page__stats strong {
  color: var(--blue-dark);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.1;
}

.locations-page__stats span {
  margin-top: 4px;
  color: #263342;
  font-size: 14px;
  font-weight: 800;
}

.locations-page__finder {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 69, 111, 0.96), rgba(17, 166, 223, 0.9)),
    var(--blue-dark);
  box-shadow: var(--shadow);
}

.locations-page__finder > p,
.locations-page__finder > br,
.locations-page__all > p,
.locations-page__all > br {
  display: none;
}

.locations-page__finder-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.locations-page__finder-copy .service-kicker,
.locations-page__finder-copy h2,
.locations-page__finder-copy p {
  color: #fff;
}

.locations-page__finder-copy .service-kicker {
  color: #ffe28a;
}

.locations-page__finder-copy h2 {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.locations-page__finder-copy p {
  margin-bottom: 0;
  opacity: 0.92;
}

.locations-page__section-heading {
  max-width: 740px;
  margin-bottom: 22px;
}

.locations-page__section-heading p:last-child {
  margin-bottom: 0;
}

.fdg-location-finder,
.fdg-location-grid {
  display: grid;
  gap: 22px;
}

.fdg-location-finder {
  padding: 30px;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 255, 0.96)),
    #fff;
  box-shadow: 0 16px 38px rgba(4, 37, 62, 0.18);
}

.fdg-location-finder__form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 0.8fr) auto;
  gap: 14px;
  align-items: end;
}

.fdg-location-finder__form label {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-weight: 800;
}

.fdg-location-finder__form input,
.fdg-location-finder__form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #17202f;
  font: inherit;
}

.fdg-location-finder__status {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.fdg-location-finder__results {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.fdg-location-finder__results[hidden] {
  display: none;
}

.fdg-location-finder__results-column,
.fdg-location-finder__list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.fdg-location-finder__load-more {
  justify-self: start;
}

.fdg-location-finder__load-more[hidden],
.fdg-location-finder__map[hidden] {
  display: none;
}

.fdg-location-result,
.fdg-location-card {
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 63, 96, 0.06);
}

.fdg-location-result {
  padding: 16px;
}

.fdg-location-result.is-selected {
  border-color: var(--blue);
  background: #f8fcff;
  box-shadow: 0 0 0 2px rgba(17, 166, 223, 0.18), 0 10px 24px rgba(16, 63, 96, 0.1);
}

.fdg-location-result:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 195, 52, 0.55), 0 10px 24px rgba(16, 63, 96, 0.1);
}

.fdg-location-result__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fdg-location-result h3,
.fdg-location-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.fdg-location-result__heading h3 {
  margin-bottom: 8px;
}

.fdg-location-result address,
.fdg-location-card address {
  margin: 0 0 14px;
  color: #263342;
  font-style: normal;
  line-height: 1.6;
  white-space: pre-line;
}

.fdg-location-result__meta,
.fdg-location-card__label {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.fdg-location-result__heading .fdg-location-result__meta {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.fdg-location-result__actions,
.fdg-location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fdg-location-result__actions .button,
.fdg-location-card__actions .button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.service-page .fdg-location-result__map-toggle[aria-pressed="true"],
.service-page .fdg-location-result__map-toggle[aria-expanded="true"] {
  background: var(--blue-dark);
  color: #fff;
}

.fdg-location-result__actions .button:focus-visible,
.fdg-location-finder__load-more:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.fdg-location-finder__form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.fdg-location-finder__map {
  position: sticky;
  top: 112px;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef7fc;
}

.fdg-location-finder__map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.fdg-location-grid__summary {
  margin-bottom: 16px;
  color: #263342;
  font-weight: 700;
}

.fdg-location-grid__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.fdg-location-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 63, 96, 0.08);
}

.fdg-location-card::before {
  width: 42px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.fdg-location-card h3 a,
.fdg-location-card__phone {
  color: var(--blue-dark);
}

.fdg-location-card h3 {
  font-size: 20px;
  line-height: 1.22;
}

.fdg-location-card__phone {
  margin-bottom: 16px;
  font-weight: 800;
}

.fdg-location-card__actions {
  margin-top: auto;
}

.service-page .service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.service-page .service-actions br {
  display: none;
}

.page-content .service-page .service-actions .button,
.service-page .button {
  color: #17202f;
  text-decoration: none;
}

.service-page .service-grid,
.service-page .service-split,
.service-page .provider-grid {
  display: grid;
  gap: 24px;
}

.service-page .service-grid--2,
.service-page .provider-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-page .service-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-page .service-grid > article {
  padding: 26px;
}

.insurance-page .insurance-section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.insurance-page .insurance-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.insurance-page .insurance-logo-grid br {
  display: none;
}

.insurance-page .insurance-logo-card {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 63, 96, 0.06);
}

.insurance-page .insurance-logo-card img {
  width: min(100%, 250px);
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.financing-page .financing-payment-card img {
  display: block;
  width: min(100%, 750px);
  height: auto;
  margin: 14px 0 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 63, 96, 0.06);
}

.financing-page .financing-payment-card br {
  display: none;
}

.service-page .service-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-page .service-note {
  padding: 24px;
  border-radius: 8px;
  background: #fff8df;
}

.scholarship-page .scholarship-winner {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  background:
    linear-gradient(135deg, rgba(7, 69, 111, 0.96), rgba(17, 166, 223, 0.86)),
    var(--blue-dark);
}

.scholarship-page .scholarship-winner h2,
.scholarship-page .scholarship-winner p,
.scholarship-page .scholarship-winner blockquote {
  color: #fff;
}

.scholarship-page .scholarship-winner h2 {
  font-size: clamp(25px, 2.45vw, 34px);
}

.scholarship-page .scholarship-winner .service-kicker {
  color: #dff7ff;
}

.scholarship-page blockquote {
  margin: 18px 0 0;
}

body.page-id-1987 .grecaptcha-badge {
  visibility: hidden;
}

.forms-page .form-download-list,
.forms-page .form-download-actions {
  display: grid;
  gap: 10px;
}

.forms-page .form-download-list {
  margin-top: 18px;
}

.forms-page .form-download-list a {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(17, 166, 223, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(16, 63, 96, 0.05);
}

.forms-page .form-download-list a:hover,
.forms-page .form-download-list a:focus {
  border-color: rgba(17, 166, 223, 0.42);
  color: #063b60;
}

.forms-page .forms-accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.forms-page details {
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #f8fcff;
}

.forms-page summary {
  cursor: pointer;
  padding: 15px 18px;
  color: var(--blue-dark);
  font-weight: 800;
}

.forms-page details[open] summary {
  border-bottom: 1px solid rgba(17, 166, 223, 0.12);
}

.forms-page .form-download-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}

.forms-page .form-download-actions .button {
  justify-content: center;
  text-align: center;
}

body.page-id-703 .grecaptcha-badge {
  visibility: hidden;
}

body.page-id-1922 .grecaptcha-badge {
  visibility: hidden;
}

.doctors-page__shortcode > p,
.doctors-page__shortcode > br {
  display: none;
}

.doctors-page__stats {
  display: grid;
  gap: 12px;
}

.doctors-page__stats div {
  padding: 18px 20px;
  border: 1px solid rgba(17, 166, 223, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(222, 247, 255, 0.9)),
    #e8f8ff;
  box-shadow: 0 10px 22px rgba(16, 63, 96, 0.08);
}

.doctors-page__stats strong,
.doctors-page__stats span {
  display: block;
}

.doctors-page__stats strong {
  color: var(--blue-dark);
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.1;
}

.doctors-page__stats span {
  margin-top: 4px;
  color: #263342;
  font-size: 14px;
  font-weight: 800;
}

.fdg-doctors {
  margin-top: 24px;
}

.fdg-doctors__summary {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.fdg-doctors__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fdg-doctors--cols-2 .fdg-doctors__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fdg-doctors--cols-4 .fdg-doctors__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fdg-doctor-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 63, 96, 0.08);
}

.fdg-doctor-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #eef7fc;
}

.fdg-doctor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fdg-doctor-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.fdg-doctor-card__specialty,
.fdg-doctor-profile__specialty {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.fdg-doctor-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.18;
}

.fdg-doctor-card p:not(.fdg-doctor-card__specialty) {
  color: #263342;
  font-size: 15px;
  line-height: 1.62;
}

.fdg-doctor-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.fdg-doctor-profile__layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.fdg-doctor-profile__sidebar,
.fdg-doctor-profile__content {
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 255, 0.96)),
    #fff;
  box-shadow: 0 14px 34px rgba(16, 63, 96, 0.08);
}

.fdg-doctor-profile__sidebar {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.fdg-doctor-profile__sidebar img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.fdg-doctor-profile__content {
  padding: 30px;
}

.fdg-doctor-profile__content h2,
.fdg-doctor-profile__content h3,
.fdg-doctor-profile__content h4 {
  color: var(--blue-dark);
}

.fdg-doctor-profile__content p,
.fdg-doctor-profile__content li {
  color: #263342;
  font-size: 16px;
  line-height: 1.72;
}

.fdg-doctor-profile__content a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
}

.fdg-testimonials {
  margin-top: 24px;
}

.fdg-testimonials__summary {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.fdg-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fdg-testimonials--cols-2 .fdg-testimonials__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fdg-testimonials--cols-4 .fdg-testimonials__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fdg-testimonial-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(16, 63, 96, 0.07);
}

.fdg-testimonial-card[hidden] {
  display: none;
}

.fdg-testimonial-card__stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
}

.fdg-testimonial-card blockquote {
  margin: 0;
}

.fdg-testimonial-card blockquote p {
  margin: 0;
}

.fdg-testimonial-card__author {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.fdg-testimonials__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

body.page-id-860 .grecaptcha-badge {
  visibility: hidden;
}

.service-page .service-cta {
  background:
    linear-gradient(90deg, rgba(7, 69, 111, 0.94), rgba(17, 166, 223, 0.78)),
    var(--blue-dark);
}

.service-page .service-cta h2,
.service-page .service-cta p,
.service-page .service-cta address,
.service-page .service-cta a {
  color: #fff;
}

.service-page .service-cta .service-kicker {
  color: #dff7ff;
}

.service-page .service-cta .service-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.service-page .service-cta .button {
  color: #17202f;
}

.service-page .service-provider-section {
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1fr);
  align-items: start;
}

.service-page .provider-card {
  display: block;
  padding: 18px;
  border: 1px solid rgba(17, 166, 223, 0.14);
  border-radius: 8px;
  background: #f8fcff;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.service-page .provider-card br {
  display: none;
}

.service-page .provider-card img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 840px) {
  .service-page .service-intro,
  .service-page .service-band,
  .service-page .service-band--reverse,
  .service-page .service-provider-section,
  .service-page .service-split,
  .locations-page__finder,
  .fdg-doctor-profile__layout {
    grid-template-columns: 1fr;
  }

  .fdg-location-finder__form,
  .fdg-location-finder__results {
    grid-template-columns: 1fr;
  }

  .fdg-location-finder__map,
  .fdg-location-finder__map iframe {
    min-height: 300px;
  }

  .fdg-location-finder__map {
    position: static;
  }

  .fdg-location-result > .fdg-location-finder__map {
    margin-top: 14px;
  }

  .service-page .service-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fdg-doctors__grid,
  .fdg-doctors--cols-3 .fdg-doctors__grid,
  .fdg-doctors--cols-4 .fdg-doctors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-page .service-cta .service-actions {
    justify-content: flex-start;
  }

  .service-page .service-media-last {
    order: 2;
  }
}

@media (max-width: 640px) {
  body:is(.page-id-703, .page-id-748, .page-id-817, .page-id-860, .page-id-1922, .page-id-1987, .page-id-736, .page-id-1994, .page-id-835, .page-id-2261, .page-id-2074, .page-id-2094, .page-id-39319, .page-id-39404, .page-id-39428, .page-id-39672, .page-id-41641, .page-id-2107, .page-id-2110, .single-fdg_doctor) .page-hero {
    padding: 54px 0 58px;
  }

  body:is(.page-id-703, .page-id-748, .page-id-817, .page-id-860, .page-id-1922, .page-id-1987, .page-id-736, .page-id-1994, .page-id-835, .page-id-2261, .page-id-2074, .page-id-2094, .page-id-39319, .page-id-39404, .page-id-39428, .page-id-39672, .page-id-41641, .page-id-2107, .page-id-2110, .single-fdg_doctor) .page-content {
    width: min(100% - 28px, 480px);
    padding: 34px 0 54px;
  }

  .service-page .service-card,
  .service-page .service-intro,
  .service-page .service-band,
  .service-page .service-provider-section,
  .service-page .service-grid > article,
  .service-page .service-split-card,
  .service-page .provider-card,
  .service-page .financing-payment-card,
  .service-page .insurance-logo-section,
  .service-page .insurance-note {
    padding: 22px;
  }

  .fdg-location-finder {
    padding: 22px;
  }

  .locations-page__all {
    padding: 18px;
  }

  .fdg-location-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fdg-location-card {
    padding: 16px;
  }

  .fdg-location-card__actions .button {
    padding: 0 10px;
    font-size: 11px;
  }

  .forms-page .forms-accordion,
  .forms-page .form-download-actions {
    grid-template-columns: 1fr;
  }

  .fdg-testimonials__grid,
  .fdg-testimonials--cols-2 .fdg-testimonials__grid,
  .fdg-testimonials--cols-3 .fdg-testimonials__grid,
  .fdg-testimonials--cols-4 .fdg-testimonials__grid,
  .fdg-doctors__grid,
  .fdg-doctors--cols-2 .fdg-doctors__grid,
  .fdg-doctors--cols-3 .fdg-doctors__grid,
  .fdg-doctors--cols-4 .fdg-doctors__grid {
    grid-template-columns: 1fr;
  }

  .fdg-doctor-profile__content {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .fdg-location-grid__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .service-page .service-grid--2,
  .service-page .service-grid--3,
  .service-page .provider-grid {
    grid-template-columns: 1fr;
  }
}

.fdg-form-page__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 64px 0 80px;
}

.fdg-form-page__intro img {
  border-radius: 8px;
}

.fdg-form {
  padding: 34px;
  border: 1px solid rgba(17, 166, 223, 0.18);
  border-radius: 12px;
  background: #f8fcff;
  box-shadow: var(--shadow);
}

.fdg-form--wide {
  width: min(940px, calc(100% - 40px));
  margin: 64px auto 80px;
}

.fdg-form--compact {
  padding: 28px;
}

.location-request-forms {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  padding: 64px 0 80px;
}

.standalone-promotion-form {
  padding-bottom: 80px;
}

.standalone-promotion-form .fdg-form {
  width: min(760px, 100%);
  margin: 0 auto;
}

.fdg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.fdg-form-field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.fdg-form-field--full {
  grid-column: 1 / -1;
}

.fdg-form-field > span,
.fdg-form-field legend {
  color: var(--blue-dark);
  font-weight: 700;
}

.fdg-form-field input:not([type="checkbox"]):not([type="radio"]),
.fdg-form-field select,
.fdg-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #9eb8c9;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.fdg-form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.fdg-form-field input:focus,
.fdg-form-field select:focus,
.fdg-form-field textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.fdg-form-choices {
  display: grid;
  gap: 8px;
}

.fdg-form-choices--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fdg-form-choices label,
.fdg-form-acknowledgement {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.fdg-form-choices input,
.fdg-form-acknowledgement input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.fdg-form-captcha {
  min-height: 70px;
}

.fdg-form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.fdg-form-consent,
.fdg-form-status {
  margin: 10px 0 0;
  font-size: 14px;
}

.fdg-form-consent a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
}

.fdg-form-status--success,
.fdg-form-status--error {
  padding: 14px 16px;
  border-radius: 7px;
  font-weight: 700;
}

.fdg-form-status--success {
  background: #dcfce7;
  color: #14532d;
}

.fdg-form-status--error {
  background: #fee2e2;
  color: #7f1d1d;
}

.careerplug-embed {
  overflow: hidden;
  border: 1px solid rgba(17, 166, 223, 0.18);
  border-radius: 10px;
  background: #fff;
}

.careerplug-embed iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
}

@media (max-width: 760px) {
  .fdg-form-page__layout,
  .fdg-form-grid,
  .location-request-forms {
    grid-template-columns: 1fr;
  }

  .fdg-form-page__layout {
    gap: 28px;
    padding: 40px 0 60px;
  }

  .fdg-form,
  .fdg-form--wide {
    width: min(100% - 28px, 640px);
    padding: 22px;
  }

  .fdg-form-page__layout .fdg-form {
    width: 100%;
  }
}
