@charset "UTF-8";
/*
 * WordPress presets declared in theme.json are the source of truth.
 * The fallback values keep the override sheet usable if global styles are
 * temporarily unavailable in an editor preview or an isolated test page.
 */
/* Design tokens also remain available to patterns and editor-side overrides. */
:root {
  --ime-rule: var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  --ime-rule-soft: var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  --ime-panel: var(--wp--preset--color--ime-panel, #fdfcf9);
  --ime-blue-ink: var(--wp--preset--color--ime-blue-ink, #1f609d);
  --ime-corner: var(--wp--custom--ime--corner, 12px);
  --ime-container: var(--wp--style--global--content-size, 1180px);
  --ime-gutter: var(--wp--custom--ime--gutter, 48px);
}

/* Native block overrides shared by future templates and patterns. */
.wp-site-blocks {
  color: var(--wp--preset--color--ime-ink, #17243a);
}
.wp-site-blocks .wp-block-heading,
.wp-site-blocks .wp-block-post-title,
.wp-site-blocks .wp-block-site-title {
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.wp-site-blocks h2.wp-block-heading {
  margin-block-end: var(--wp--preset--spacing--50, 2rem) !important;
}
.wp-site-blocks .wp-block-button__link {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px !important;
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.wp-site-blocks .wp-block-button__link:hover {
  background: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  box-shadow: 0 9px 20px rgba(35, 91, 149, 0.15);
  transform: translateY(-1px);
}
.wp-site-blocks .wp-block-button__link:focus-visible {
  outline: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  outline-offset: 4px;
}
.wp-site-blocks .wp-block-button.is-style-doctolib .wp-block-button__link,
.wp-site-blocks .ime-hero-actions .wp-block-button__link[href*="doctolib.fr"] {
  min-height: 52px;
  gap: 10px;
  padding: 0px 22px 0px 18px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
}
.wp-site-blocks .wp-block-button.is-style-doctolib .wp-block-button__link .ime-doctolib-mark {
  display: block;
  width: 65px;
  height: 50px;
  flex: 0 0 65px;
  object-fit: cover;
  object-position: center;
}
.wp-site-blocks .wp-block-button__link .ime-external-link-mark {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  object-fit: contain;
}
.wp-site-blocks .wp-block-button.is-style-doctolib .wp-block-button__link .ime-laser-point {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border: 1px solid var(--wp--preset--color--ime-white, #ffffff);
  border-radius: 50%;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  box-shadow: 0 0 0 3px rgba(63, 130, 199, 0.13), 0 0 12px rgba(63, 130, 199, 0.2);
}
.wp-site-blocks .wp-block-button.is-style-doctolib .wp-block-button__link:hover,
.wp-site-blocks .wp-block-button.is-style-doctolib .wp-block-button__link:focus-visible,
.wp-site-blocks .ime-hero-actions .wp-block-button__link[href*="doctolib.fr"]:hover,
.wp-site-blocks .ime-hero-actions .wp-block-button__link[href*="doctolib.fr"]:focus-visible {
  background: var(--wp--preset--color--ime-blue, #3f82c7) !important;
}
.wp-site-blocks .wp-block-separator {
  border-color: rgba(35, 91, 149, 0.2);
}
.wp-site-blocks .wp-block-list li::marker {
  color: var(--wp--preset--color--ime-blue, #3f82c7);
}

/* Keep the selected Doctolib style visible in Gutenberg's canvas. The public
 * markup uses the real accessible <img>; these pseudo-elements are editor-only. */
.editor-styles-wrapper .wp-block-button.is-style-doctolib .wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0px 22px 0px 18px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.editor-styles-wrapper .wp-block-button.is-style-doctolib .wp-block-button__link::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border: 1px solid var(--wp--preset--color--ime-white, #ffffff);
  border-radius: 50%;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  box-shadow: 0 0 0 3px rgba(63, 130, 199, 0.13), 0 0 12px rgba(63, 130, 199, 0.2);
  content: "";
}

.editor-styles-wrapper .wp-block-button.is-style-doctolib .wp-block-button__link::after {
  display: inline-block;
  width: 88px;
  height: 50px;
  flex: 0 0 88px;
  background: url("../images/doctolib.svg") left center/65px 50px no-repeat, url("../images/external-link.svg") right center/13px auto no-repeat;
  content: "";
}

.editor-styles-wrapper .ime-header-cta .wp-block-button__link::after,
.editor-styles-wrapper .ime-appointment-button .wp-block-button__link::after {
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: url("../images/external-link.svg") center/contain no-repeat;
  content: "";
}

.ime-primary-navigation .ime-mobile-cta .ime-external-link-mark {
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-left: 8px;
  object-fit: contain;
}

/* Header and navigation: native WordPress blocks, Design-compatible skin. */
.ime-topbar {
  min-height: 36px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ime-topbar-inner,
.ime-header-inner {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}

.ime-topbar-inner {
  min-height: 36px;
}

.ime-topbar p {
  margin: 0;
}

.ime-topbar a {
  color: inherit !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none !important;
  transition: opacity 180ms ease;
}
.ime-topbar a:hover, .ime-topbar a:focus-visible {
  opacity: 0.78;
}

.ime-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(35, 91, 149, 0.13) !important;
  box-shadow: 0 8px 24px rgba(23, 36, 58, 0.06) !important;
  background-color: rgba(248, 245, 239, 0.94) !important;
  backdrop-filter: blur(16px);
}

.ime-header-inner {
  gap: 30px;
}

.ime-brand {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  margin: 0 !important;
  color: var(--wp--preset--color--ime-ink, #17243a) !important;
  text-decoration: none !important;
}
.ime-brand:hover, .ime-brand:focus-visible {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  text-decoration: none !important;
}

.ime-brand-face {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 36, 58, 0.35);
  border-radius: 50%;
  background: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-brand-face img {
  display: block;
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.ime-brand-name {
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.ime-brand-name em {
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: -0.08em;
}

.ime-primary-navigation {
  margin-inline-start: auto;
  /* The mobile-only appointment link must not leak into the desktop nav. */
}
.ime-primary-navigation .wp-block-navigation__container {
  align-items: center;
  gap: 25px !important;
}
.ime-primary-navigation .wp-block-navigation-item__content {
  position: relative;
  padding: 8px 0;
  color: var(--wp--preset--color--ime-ink, #17243a) !important;
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color 180ms ease;
}
.ime-primary-navigation .wp-block-navigation-item__content::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.ime-primary-navigation .wp-block-navigation-item__content:hover, .ime-primary-navigation .wp-block-navigation-item__content:focus-visible, .ime-primary-navigation .wp-block-navigation-item__content[aria-current=page] {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
}
.ime-primary-navigation .wp-block-navigation-item__content:hover::after, .ime-primary-navigation .wp-block-navigation-item__content:focus-visible::after, .ime-primary-navigation .wp-block-navigation-item__content[aria-current=page]::after {
  transform: scaleX(1);
}
.ime-primary-navigation .wp-block-navigation__submenu-icon {
  margin-left: 5px;
  padding: 0;
  color: var(--wp--preset--color--ime-ink, #17243a);
  transition: color 180ms ease, transform 180ms ease;
}
.ime-primary-navigation .wp-block-navigation-submenu:hover > .wp-block-navigation-item__content,
.ime-primary-navigation .wp-block-navigation-submenu:focus-within > .wp-block-navigation-item__content,
.ime-primary-navigation .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-icon,
.ime-primary-navigation .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-icon {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
}
.ime-primary-navigation .wp-block-navigation-submenu:has(.wp-block-navigation-item__content[aria-current=page]) > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
}
.ime-primary-navigation .wp-block-navigation-submenu:has(.wp-block-navigation-item__content[aria-current=page]) > .wp-block-navigation-item__content::before {
  position: absolute;
  right: -8px;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  box-shadow: 0 0 0 3px rgba(63, 130, 199, 0.12);
  content: "";
}
.ime-primary-navigation .wp-block-navigation-submenu:has(.wp-block-navigation-item__content[aria-current=page]) > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}
.ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-link:first-child > .wp-block-navigation-item__content[aria-current=page]::after, body.home .ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-link:first-child > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}
.ime-primary-navigation .ime-mobile-cta {
  display: none !important;
}

.ime-header-cta,
.ime-header-cta .wp-block-button {
  margin: 0 !important;
}

.ime-header-cta .wp-block-button__link {
  position: relative;
  min-height: 40px;
  padding: 10px 17px 10px 21px;
  border: 1px solid transparent;
  border-radius: 4px !important;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.ime-header-cta .wp-block-button__link:hover {
  background: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  box-shadow: 0 9px 20px rgba(35, 91, 149, 0.15);
  transform: translateY(-1px);
}
.ime-header-cta .wp-block-button__link:focus-visible {
  outline: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  outline-offset: 4px;
}

body.home .ime-primary-navigation .ime-nav-home > .wp-block-navigation-item__content,
body.ime-specialty-route .ime-primary-navigation .ime-nav-specialties > .wp-block-navigation-item__content,
body.ime-contact-route .ime-primary-navigation .ime-nav-contact > .wp-block-navigation-item__content,
body.ime-blog-route .ime-primary-navigation .ime-nav-blog > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
}
body.home .ime-primary-navigation .ime-nav-home > .wp-block-navigation-item__content::after,
body.ime-specialty-route .ime-primary-navigation .ime-nav-specialties > .wp-block-navigation-item__content::after,
body.ime-contact-route .ime-primary-navigation .ime-nav-contact > .wp-block-navigation-item__content::after,
body.ime-blog-route .ime-primary-navigation .ime-nav-blog > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

body.ime-specialty-route .ime-primary-navigation .ime-nav-specialties > .wp-block-navigation-item__content::before {
  position: absolute;
  right: -8px;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  box-shadow: 0 0 0 3px rgba(63, 130, 199, 0.12);
  content: "";
}

body.ime-route-consultation .ime-primary-navigation .ime-nav-consultation > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-fils .ime-primary-navigation .ime-nav-fils > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-injection .ime-primary-navigation .ime-nav-injection > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-epilation .ime-primary-navigation .ime-nav-epilation > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-laser-vasculaire .ime-primary-navigation .ime-nav-laser-vasculaire > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-laser-taches .ime-primary-navigation .ime-nav-laser-taches > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-photorajeunissement .ime-primary-navigation .ime-nav-photorajeunissement > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-mesolift .ime-primary-navigation .ime-nav-mesolift > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-peeling .ime-primary-navigation .ime-nav-peeling > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

body.ime-route-carboxytherapie .ime-primary-navigation .ime-nav-carboxytherapie > .wp-block-navigation-item__content {
  background: transparent;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
}

@media (min-width: 981px) {
  .ime-primary-navigation .wp-block-navigation__responsive-container-open,
  .ime-primary-navigation .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-content {
    display: block !important;
    padding: 0 !important;
  }
  .ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu {
    position: relative;
  }
  .ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    left: 50% !important;
    display: grid !important;
    width: min(620px, 100vw - var(--wp--custom--ime--gutter, 48px)) !important;
    min-width: 0 !important;
    height: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    padding: 14px;
    border: 1px solid var(--wp--preset--color--ime-line, #d9e0e7);
    background: var(--wp--preset--color--ime-ivory, #f8f5ef);
    box-shadow: 0 18px 38px rgba(23, 36, 58, 0.13);
    overflow: visible;
    visibility: hidden !important;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }
  .ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-container,
  .ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-container,
  .ime-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon[aria-expanded=true] ~ .wp-block-navigation__submenu-container {
    visibility: visible !important;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .ime-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    color: var(--wp--preset--color--ime-ink, #17243a) !important;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
  .ime-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
    display: none;
  }
  .ime-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .ime-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible,
  .ime-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current=page] {
    background: transparent;
    color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
    box-shadow: inset 3px 0 0 var(--wp--preset--color--ime-blue, #3f82c7);
  }
}
@media (max-width: 980px) {
  .ime-header-cta {
    display: none !important;
  }
  .ime-header-inner {
    flex-wrap: nowrap;
  }
  .ime-primary-navigation {
    width: auto;
    margin-inline-start: auto;
    /* Keep first-level destinations easy to scan; submenu links stay compact. */
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-open {
    display: flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp--preset--color--ime-line, #d9e0e7);
    border-radius: 4px;
    background: var(--wp--preset--color--ime-white, #ffffff);
    color: var(--wp--preset--color--ime-blue-dark, #235b95);
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-open:hover, .ime-primary-navigation .wp-block-navigation__responsive-container-open:focus-visible {
    border-color: var(--wp--preset--color--ime-blue, #3f82c7);
    background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
    color: var(--wp--preset--color--ime-blue-dark, #235b95);
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: auto;
    padding: 0 !important;
    background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
    color: var(--wp--preset--color--ime-ink, #17243a) !important;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-close,
  .ime-primary-navigation .wp-block-navigation__responsive-dialog {
    position: relative;
    width: 100%;
    max-width: none !important;
    height: 100% !important;
    min-height: 100dvh !important;
    box-sizing: border-box;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-close {
    padding: 0 !important;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-close {
    top: 1.25rem;
    right: 1.25rem;
    display: flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wp--preset--color--ime-line, #d9e0e7);
    border-radius: 4px;
    background: var(--wp--preset--color--ime-white, #ffffff);
    color: var(--wp--preset--color--ime-blue-dark, #235b95);
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-close:hover, .ime-primary-navigation .wp-block-navigation__responsive-container-close:focus-visible {
    border-color: var(--wp--preset--color--ime-blue, #3f82c7);
    background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-flow: column;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 100% !important;
    padding: 5.5rem 1.5rem 2rem !important;
    box-sizing: border-box;
  }
  .ime-primary-navigation .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100%;
    min-height: 0;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .ime-primary-navigation .wp-block-navigation-item {
    width: 100%;
  }
  .ime-primary-navigation .wp-block-navigation-item__content {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 13px 0;
    font-size: 1rem;
  }
  .ime-primary-navigation .wp-block-navigation-item__content::after {
    display: none;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item {
    margin-bottom: 0.2rem;
  }
  .ime-primary-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    min-height: 48px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(35, 91, 149, 0.12);
  }
  .ime-primary-navigation .wp-block-navigation-submenu {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .ime-primary-navigation .wp-block-navigation-submenu > .wp-block-navigation-item__content {
    grid-column: 1;
    grid-row: 1;
    width: auto;
  }
  .ime-primary-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: var(--wp--preset--color--ime-blue-dark, #235b95);
    transition: background 180ms ease, transform 180ms ease;
  }
  .ime-primary-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon:hover,
  .ime-primary-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon:focus-visible {
    border-radius: 4px;
    background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  }
  .ime-primary-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    grid-column: 1/-1;
    grid-row: 2;
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0.25rem 0 0.75rem 1rem !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    pointer-events: none;
  }
  .ime-primary-navigation .wp-block-navigation-submenu:has(> .wp-block-navigation__submenu-icon[aria-expanded=true]) > .wp-block-navigation__submenu-container {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .ime-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 10px 12px;
    font-size: 0.92rem;
  }
  .ime-primary-navigation .ime-mobile-cta {
    display: flex !important;
    margin-top: 0.8rem;
    border-top: 1px solid rgba(35, 91, 149, 0.14);
  }
  .ime-primary-navigation .ime-mobile-cta .wp-block-navigation-item__content {
    padding-top: 17px;
    color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
    font-weight: 800;
  }
}
@media (max-width: 720px) {
  .ime-topbar-inner,
  .ime-header-inner {
    width: min(560px, 100% - 32px);
  }
  .ime-topbar-inner {
    min-height: 32px;
    font-size: 0.66rem;
  }
  .ime-header-inner {
    min-height: 72px;
  }
  .ime-site-header {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }
}
@media (max-width: 600px) {
  .ime-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }
  .ime-brand-face {
    width: 40px;
    height: 40px;
  }
  .ime-brand-face img {
    width: 32px;
    height: 32px;
  }
}
/* The footer template part must meet the previous section directly. The
 * global block rhythm applies to every template part by default. */
.wp-site-blocks > .wp-block-template-part:has(> .ime-site-footer) {
  margin-block-start: 0 !important;
}

/* Footer structure and links: a calm, four-column finish aligned with the Design. */
.ime-site-footer {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  border-top: 3px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  background: var(--wp--preset--color--ime-cream, #f1eadf) !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
}
.ime-site-footer::before {
  position: absolute;
  top: -3px;
  left: max(24px, (100vw - var(--wp--style--global--content-size, 1180px)) / 2);
  width: 58px;
  height: 3px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
}
.ime-site-footer .ime-footer-grid,
.ime-site-footer .ime-footer-bottom {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}
.ime-site-footer .ime-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 0.9fr;
  gap: 45px;
  padding-top: 75px;
  padding-bottom: 65px;
}
.ime-site-footer .ime-footer-intro {
  max-width: 300px;
}
.ime-site-footer .ime-footer-intro .ime-brand {
  margin-bottom: 25px !important;
}
.ime-site-footer .ime-footer-kicker,
.ime-site-footer .ime-footer-title {
  margin: 0 0 13px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ime-site-footer .ime-footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ime-site-footer .ime-footer-title::before {
  width: 16px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
}
.ime-site-footer .ime-footer-description {
  margin: 0;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.86rem;
  line-height: 1.7;
}
.ime-site-footer .ime-footer-links {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.85rem;
  list-style: none;
}
.ime-site-footer .ime-footer-links li {
  margin: 0;
  padding: 0;
}
.ime-site-footer .ime-footer-links a {
  width: fit-content;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.28);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.ime-site-footer .ime-footer-links a:hover, .ime-site-footer .ime-footer-links a:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7);
  text-decoration-color: currentColor;
}
.ime-site-footer .ime-footer-links a:focus-visible {
  outline: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  outline-offset: 3px;
}
.ime-site-footer .ime-footer-links a.ime-current-link,
.ime-site-footer .ime-footer-links a[aria-current=page],
.ime-site-footer .ime-footer-address a.ime-current-link,
.ime-site-footer .ime-footer-address a[aria-current=page],
.ime-site-footer .ime-footer-legal-links a.ime-current-link,
.ime-site-footer .ime-footer-legal-links a[aria-current=page] {
  color: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  font-weight: 900;
  text-decoration-color: var(--wp--preset--color--ime-blue, #3f82c7);
  text-decoration-thickness: 2px;
}
.ime-site-footer .ime-footer-specialties {
  gap: 5px;
  font-size: 0.79rem;
}
.ime-site-footer .ime-footer-address {
  display: grid;
  gap: 8px;
  margin: 0;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.84rem;
  font-style: normal;
}
.ime-site-footer .ime-footer-address a {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.28);
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.ime-site-footer .ime-footer-address a:hover, .ime-site-footer .ime-footer-address a:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7);
  text-decoration-color: currentColor;
}
.ime-site-footer .ime-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  padding-bottom: 21px;
  border-top: 1px solid rgba(23, 36, 58, 0.15);
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.ime-site-footer .ime-footer-bottom > * {
  margin-block: 0 !important;
}
.ime-site-footer .ime-footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 !important;
}
.ime-site-footer .ime-footer-legal-links > * {
  margin: 0 !important;
}
.ime-site-footer .ime-footer-legal-links a {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.28);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.ime-site-footer .ime-footer-legal-links a:hover, .ime-site-footer .ime-footer-legal-links a:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7);
  text-decoration-color: currentColor;
}
.ime-site-footer .ime-footer-signature {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .ime-site-footer .ime-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 30px;
  }
}
@media (max-width: 720px) {
  .ime-site-footer::before {
    display: none;
  }
  .ime-site-footer .ime-footer-grid,
  .ime-site-footer .ime-footer-bottom {
    width: min(100% - 32px, 560px);
  }
  .ime-site-footer .ime-footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 58px;
    padding-bottom: 50px;
  }
  .ime-site-footer .ime-footer-bottom {
    display: block;
  }
  .ime-site-footer .ime-footer-signature {
    margin-top: 7px;
  }
}
/* Reusable Hero pattern: editorial copy on the left, framed portrait on the right. */
.ime-hero-pattern {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  background: radial-gradient(circle at 84% 26%, rgba(231, 213, 191, 0.55), transparent 18rem), linear-gradient(118deg, #fbf8f2, var(--wp--preset--color--ime-ivory, #f8f5ef) 55%, var(--wp--preset--color--ime-blue-pale, #eaf3fb) 100%);
  /* Keep the main hero elements on one editorial left edge. */
  /* Legacy page content may still contain the former sibling note. */
}
.ime-hero-pattern .ime-hero-grid {
  display: grid !important;
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  min-height: 650px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 70px;
}
.ime-hero-pattern .ime-hero-copy {
  position: relative;
  z-index: 2;
  padding: 86px 0;
}
.ime-hero-pattern .ime-hero-eyebrow,
.ime-hero-pattern .ime-eyebrow {
  position: relative;
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ime-hero-pattern .ime-hero-eyebrow::before,
.ime-hero-pattern .ime-eyebrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
  transform: translateY(-50%);
}
.ime-hero-pattern .ime-hero-title {
  max-width: 630px;
  margin: 0 0 25px;
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: clamp(3.2rem, 4.5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.ime-hero-pattern .ime-hero-title strong {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-weight: inherit;
}
.ime-hero-pattern .ime-hero-lede {
  margin: 0 0 27px;
  color: rgba(23, 36, 58, 0.82);
  font-size: 1rem;
}
.ime-hero-pattern .ime-hero-list {
  display: grid;
  max-width: 620px;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ime-hero-pattern .ime-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}
.ime-hero-pattern .ime-hero-list li::before {
  display: inline-grid;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  place-items: center;
  margin-top: 0.2em;
  border-radius: 2px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  color: var(--wp--preset--color--ime-white, #ffffff);
  content: "✓";
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1;
}
.ime-hero-pattern .ime-hero-copy > .ime-hero-title,
.ime-hero-pattern .ime-hero-copy > .ime-hero-list {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ime-hero-pattern .ime-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.ime-hero-pattern .ime-hero-actions .wp-block-button {
  margin: 0;
}
.ime-hero-pattern .ime-hero-actions .wp-block-button__link {
  min-height: 52px;
}
.ime-hero-pattern .ime-hero-actions .wp-block-button:nth-child(2) .wp-block-button__link {
  padding-inline: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
}
.ime-hero-pattern .ime-hero-actions .wp-block-button:nth-child(2) .wp-block-button__link:hover,
.ime-hero-pattern .ime-hero-actions .wp-block-button:nth-child(2) .wp-block-button__link:focus-visible {
  background: transparent !important;
  box-shadow: none;
  color: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  transform: none;
}
.ime-hero-pattern .ime-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 52px;
  color: rgba(23, 36, 58, 0.7);
  font-size: 0.73rem;
  font-weight: 700;
}
.ime-hero-pattern .ime-hero-trust p {
  margin: 0;
}
.ime-hero-pattern .ime-hero-trust p + p::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 13px;
  border-radius: 50%;
  background: var(--wp--preset--color--ime-champagne, #e7d5bf);
  content: "";
  vertical-align: middle;
}
.ime-hero-pattern .ime-hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 650px;
}
.ime-hero-pattern .ime-hero-image {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  width: min(390px, 84%);
  aspect-ratio: 3/4;
  margin: 0 !important;
  isolation: isolate;
  transform: translateY(-50%);
}
.ime-hero-pattern .ime-hero-image::before {
  position: absolute;
  inset: 4% -5% -4% 6%;
  z-index: -1;
  border: 1px solid rgba(63, 130, 199, 0.22);
  border-radius: 2px;
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  box-shadow: 0 20px 45px rgba(23, 36, 58, 0.08);
  content: "";
}
.ime-hero-pattern .ime-hero-image img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 24px 55px rgba(23, 36, 58, 0.16);
  object-fit: cover;
  object-position: center center;
}
.ime-hero-pattern .ime-hero-image figcaption {
  position: absolute;
  right: -12px;
  bottom: 24px;
  z-index: 3;
  display: block;
  max-width: 225px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgba(63, 130, 199, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(35, 91, 149, 0.11);
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 0.82rem;
  line-height: 1.08;
}
.ime-hero-pattern .ime-hero-image figcaption strong + br {
  display: none;
}
.ime-hero-pattern .ime-hero-image figcaption strong {
  display: block;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-weight: 600;
  line-height: 1;
}
.ime-hero-pattern .ime-hero-note {
  display: none !important;
}

@media (max-width: 980px) {
  .ime-hero-pattern .ime-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 25px;
  }
  .ime-hero-pattern .ime-hero-visual {
    min-height: 560px;
  }
  .ime-hero-pattern .ime-hero-image {
    width: min(320px, 92%);
  }
  .ime-hero-pattern .ime-hero-image figcaption {
    right: -10px;
    bottom: 20px;
  }
}
@media (max-width: 720px) {
  .ime-hero-pattern .ime-hero-grid {
    display: block !important;
    width: min(100% - 32px, 560px);
    min-height: auto;
  }
  .ime-hero-pattern .ime-hero-copy {
    padding: 74px 0 30px;
  }
  .ime-hero-pattern .ime-hero-title {
    font-size: clamp(3rem, 14vw, 4.55rem);
  }
  .ime-hero-pattern .ime-hero-trust {
    display: block;
    margin-top: 35px;
  }
  .ime-hero-pattern .ime-hero-trust p + p::before {
    display: none;
  }
  .ime-hero-pattern .ime-hero-visual {
    min-height: 560px;
    margin: 0 -16px;
  }
  .ime-hero-pattern .ime-hero-image {
    right: 50%;
    top: auto;
    bottom: 80px;
    width: min(300px, 88%);
    transform: translateX(50%);
  }
  .ime-hero-pattern .ime-hero-image figcaption {
    right: 8px;
    bottom: 14px;
    max-width: 205px;
    padding: 10px 11px;
    font-size: 0.78rem;
  }
}
/* Specialty heroes use the source portrait directly: no home-style frame. */
body.ime-specialty-route .ime-hero-pattern .ime-hero-image {
  top: auto;
  right: -8%;
  bottom: 0;
  width: min(700px, 130%);
  height: 100%;
  aspect-ratio: auto;
  transform: none;
}
body.ime-specialty-route .ime-hero-pattern .ime-hero-image::before {
  display: none;
}
body.ime-specialty-route .ime-hero-pattern .ime-hero-image img {
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center bottom;
}
body.ime-specialty-route .ime-hero-pattern .ime-hero-image figcaption {
  display: none;
}

@media (max-width: 720px) {
  body.ime-specialty-route .ime-hero-pattern .ime-hero-image {
    right: 50%;
    bottom: 0;
    width: min(380px, 92%);
    height: auto;
    aspect-ratio: 3/4;
    transform: translateX(50%);
  }
}
/* Mésolift uses a product visual rather than a portrait: keep the framed variant. */
body.ime-route-mesolift .ime-hero-pattern .ime-hero-image {
  top: 50%;
  right: 0;
  bottom: auto;
  width: min(390px, 84%);
  height: auto;
  aspect-ratio: 3/4;
  transform: translateY(-50%);
}
body.ime-route-mesolift .ime-hero-pattern .ime-hero-image::before {
  display: block;
}
body.ime-route-mesolift .ime-hero-pattern .ime-hero-image img {
  border-radius: 2px 2px 0 0;
  box-shadow: 0 24px 55px rgba(23, 36, 58, 0.16);
  object-fit: cover;
  object-position: center center;
}
body.ime-route-mesolift .ime-hero-pattern .ime-hero-image figcaption {
  display: block;
}

@media (max-width: 720px) {
  body.ime-route-mesolift .ime-hero-pattern .ime-hero-image {
    top: auto;
    right: 50%;
    bottom: 80px;
    width: min(300px, 88%);
    height: auto;
    aspect-ratio: 3/4;
    transform: translateX(50%);
  }
  body.ime-route-mesolift .ime-hero-pattern .ime-hero-image figcaption {
    right: 8px;
    bottom: 14px;
    max-width: 205px;
    padding: 10px 11px;
    font-size: 0.78rem;
  }
}
/* Homepage patterns T10–T15: native blocks, Design-compatible layout. */
.ime-front-page > .wp-block-group {
  margin-block: 0;
}

.ime-section-pad {
  padding-top: 128px;
  padding-bottom: 128px;
}

.ime-intro-section,
.ime-testimonials-section,
.ime-care-section {
  background: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.ime-benefits-section,
.ime-faq-section {
  background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
}

.ime-appointment-section {
  background: var(--wp--preset--color--ime-cream, #f1eadf) !important;
}

.ime-intro-grid,
.ime-benefits-grid,
.ime-section-intro-row,
.ime-faq-grid,
.ime-appointment-inner,
.ime-care-grid,
.ime-testimonial-grid {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}

.ime-section-eyebrow {
  position: relative;
  margin: 0 0 18px !important;
  padding-left: 27px;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ime-section-eyebrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
  transform: translateY(-50%);
}

.ime-section-title {
  margin: 0 !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: clamp(2.45rem, 4.5vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.ime-title-accent {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
}

.ime-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 100px;
}

.ime-intro-copy {
  max-width: 610px;
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
}

.ime-intro-copy p {
  margin: 0 0 22px;
}

.ime-intro-copy .ime-intro-lead {
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-size: 1.3rem;
  line-height: 1.55;
}

.ime-intro-copy strong,
.ime-benefits-content strong,
.ime-care-card strong,
.ime-faq-item strong {
  color: inherit;
  font-weight: 800;
}

.ime-text-link,
.ime-text-link a {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.34);
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.ime-text-link a:hover,
.ime-text-link a:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  text-decoration-color: currentColor;
}

.ime-benefits-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 104px;
}

.ime-benefits-image {
  position: relative;
  max-width: 460px;
  margin: 0 !important;
  padding: 0 0 28px 28px;
}

.ime-benefits-image::before {
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid var(--wp--preset--color--ime-champagne, #e7d5bf);
  content: "";
}

.ime-benefits-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.ime-benefits-image figcaption {
  position: absolute;
  right: -22px;
  bottom: 4px;
  z-index: 2;
  margin: 0;
  padding: 7px 13px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ime-benefits-content {
  max-width: 620px;
  margin: 0 !important;
}

.ime-benefits-lede {
  max-width: 560px;
  margin: 25px 0 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 1.02rem;
  line-height: 1.65;
}

.ime-benefits-list {
  display: grid;
  gap: 17px;
  margin-top: 37px !important;
}

.ime-benefit-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 0;
  margin: 0 !important;
  padding: 17px 0 0;
  border-top: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
}

.ime-benefit-item > .ime-benefit-number {
  grid-column: 1;
  grid-row: 1/span 2;
  max-width: none !important;
  margin: 0 !important;
  color: var(--wp--preset--color--ime-blue, #3f82c7);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.ime-benefit-item h3 {
  grid-column: 2;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin: 0 0 7px !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ime-benefit-item p {
  grid-column: 2;
  max-width: 570px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ime-section-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 45px;
}

.ime-section-intro-row .ime-section-title {
  max-width: 650px;
}

.ime-section-aside {
  max-width: 380px;
  margin: 0 0 var(--wp--preset--spacing--50, 2rem) auto !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ime-care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: transparent;
}

.ime-care-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 0 !important;
  margin: 0 !important;
  padding: 28px 24px 26px;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  border-left: 3px solid var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-panel, #fdfcf9);
  color: var(--wp--preset--color--ime-ink, #17243a);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.ime-care-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-top: 1px solid var(--wp--preset--color--ime-blue, #3f82c7);
  border-right: 1px solid var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
  opacity: 0.7;
}
.ime-care-card:hover {
  z-index: 1;
  background: var(--wp--preset--color--ime-blue-dark, #235b95);
  color: var(--wp--preset--color--ime-white, #ffffff);
  border-color: rgba(255, 255, 255, 0.24);
  border-left-color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  box-shadow: 0 14px 28px rgba(23, 36, 58, 0.12);
  transform: translateY(-4px);
}
.ime-care-card:hover::before {
  border-color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-care-card-featured {
  z-index: 1;
  background: var(--wp--preset--color--ime-blue-dark, #235b95);
  color: var(--wp--preset--color--ime-white, #ffffff);
  border-color: rgba(255, 255, 255, 0.24);
  border-left-color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  box-shadow: 0 14px 28px rgba(23, 36, 58, 0.12);
  transform: translateY(-4px);
}
.ime-care-card-featured::before {
  border-color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-care-number {
  align-self: stretch;
  margin: 0 0 12px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  color: var(--wp--preset--color--ime-blue-ink, #1f609d);
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.ime-care-card-featured .ime-care-number,
.ime-care-card:hover .ime-care-number {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-care-card h3 {
  max-width: 300px;
  margin: 24px 0 12px !important;
  color: inherit;
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ime-care-card > p:not(.ime-care-number):not(.ime-card-link) {
  margin: 0 0 18px !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ime-care-card-featured > p:not(.ime-care-number):not(.ime-card-link),
.ime-care-card:hover > p:not(.ime-care-number):not(.ime-card-link) {
  color: rgba(255, 255, 255, 0.82);
}

.ime-card-link {
  margin: auto 0 0 !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.ime-card-link a {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.3);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.ime-card-link a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.ime-care-card-featured .ime-card-link a,
.ime-care-card:hover .ime-card-link a {
  color: var(--wp--preset--color--ime-white, #ffffff);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.ime-card-link a:hover,
.ime-card-link a:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  text-decoration-color: currentColor;
}

.ime-care-card-featured .ime-card-link a:hover,
.ime-care-card-featured .ime-card-link a:focus-visible,
.ime-care-card:hover .ime-card-link a:hover,
.ime-care-card:hover .ime-card-link a:focus-visible {
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb) !important;
}

/* Only one card is active at a time: the featured card by default, then the
 * card currently hovered by the pointer. */
.ime-care-grid:has(.ime-care-card:not(.ime-care-card-featured):hover) .ime-care-card-featured {
  z-index: auto;
  background: var(--wp--preset--color--ime-panel, #fdfcf9);
  color: var(--wp--preset--color--ime-ink, #17243a);
  box-shadow: none;
  transform: none;
  border-color: var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  border-left-color: var(--wp--preset--color--ime-blue, #3f82c7);
}
.ime-care-grid:has(.ime-care-card:not(.ime-care-card-featured):hover) .ime-care-card-featured::before {
  border-color: var(--wp--preset--color--ime-blue, #3f82c7);
}
.ime-care-grid:has(.ime-care-card:not(.ime-care-card-featured):hover) .ime-care-card-featured .ime-care-number {
  border-color: var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  color: var(--wp--preset--color--ime-blue-ink, #1f609d);
}
.ime-care-grid:has(.ime-care-card:not(.ime-care-card-featured):hover) .ime-care-card-featured > p:not(.ime-care-number):not(.ime-card-link) {
  color: rgba(23, 36, 58, 0.72);
}
.ime-care-grid:has(.ime-care-card:not(.ime-care-card-featured):hover) .ime-care-card-featured .ime-card-link a {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  text-decoration-color: rgba(35, 91, 149, 0.3);
}

.ime-testimonials-section {
  border-top: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  border-bottom: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
}

.ime-centered-heading {
  max-width: 650px;
  margin: 0 auto 46px !important;
  text-align: center;
}

.ime-centered-heading .ime-section-eyebrow {
  display: inline-block;
  margin-bottom: 15px !important;
  text-align: left;
}

.ime-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.ime-testimonial-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 !important;
  padding: 32px 30px 28px;
  background: var(--wp--preset--color--ime-ivory, #f8f5ef);
}

.ime-testimonial-quote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.35rem;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.ime-testimonial-quote::before {
  display: none;
}

.ime-testimonial-quote p {
  margin: 0 !important;
}

.ime-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0 !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.78rem;
  font-weight: 800;
}

.ime-testimonial-author > p:last-child {
  margin: 0 !important;
}

.ime-testimonial-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin: 0 !important;
  border-radius: 3px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95);
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
}

.ime-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 100px;
}

.ime-faq-grid > .ime-faq-item {
  grid-column: 2/3;
  width: 100%;
  min-width: 0;
}

.ime-faq-intro {
  max-width: 320px;
  margin: 24px 0 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ime-faq-list {
  margin: 0 !important;
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
}

.ime-faq-item {
  margin: 0 !important;
  padding: 0;
  border-bottom: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  color: var(--wp--preset--color--ime-ink, #17243a);
}

.ime-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 45px 22px 29px;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

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

.ime-faq-item summary::marker {
  content: "";
}

.ime-faq-item summary::before {
  position: absolute;
  top: 31px;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
}

.ime-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--wp--preset--color--ime-blue, #3f82c7);
  border-radius: 3px;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  content: "−";
  pointer-events: none;
  transform: translateY(-50%);
}

.ime-faq-item:not([open]) summary::after {
  content: "+";
}

.ime-faq-item p,
.ime-faq-item ul {
  max-width: 760px;
  margin: 0 45px 14px 29px !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.93rem;
  line-height: 1.65;
}

.ime-faq-item p:last-child,
.ime-faq-item ul:last-child {
  margin-bottom: 24px !important;
}

.ime-faq-item ul {
  display: grid;
  gap: 5px;
  padding-left: 20px;
}

.ime-appointment-section {
  position: relative;
  overflow: hidden;
}

.ime-appointment-section::after {
  position: absolute;
  top: -130px;
  right: -90px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(35, 91, 149, 0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ime-appointment-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 72px;
}

.ime-appointment-copy {
  max-width: 790px;
  margin: 0 !important;
}

.ime-appointment-copy > p:last-child {
  max-width: 680px;
  margin: 32px 0 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.96rem;
  line-height: 1.65;
}

.ime-appointment-actions,
.ime-appointment-button {
  margin: 0 !important;
}

.ime-appointment-button .wp-block-button__link {
  min-height: 54px;
  padding: 15px 25px 15px 27px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.ime-appointment-button .wp-block-button__link:hover, .ime-appointment-button .wp-block-button__link:focus-visible {
  background: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  box-shadow: 0 9px 20px rgba(35, 91, 149, 0.15);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .ime-intro-grid,
  .ime-benefits-grid,
  .ime-faq-grid {
    gap: 60px;
  }
  .ime-care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ime-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ime-testimonial-card:last-child {
    grid-column: 1/-1;
  }
  .ime-appointment-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 720px) {
  .ime-section-pad {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .ime-intro-grid,
  .ime-benefits-grid,
  .ime-faq-grid {
    display: block;
    width: min(100% - 32px, 560px);
  }
  .ime-intro-grid > .ime-section-heading,
  .ime-faq-grid > .ime-section-heading {
    margin-bottom: 28px !important;
  }
  .ime-section-title {
    font-size: clamp(2.5rem, 11vw, 3.7rem);
  }
  .ime-intro-copy .ime-intro-lead {
    font-size: 1.1rem;
  }
  .ime-benefits-image {
    max-width: 470px;
    margin-bottom: 65px !important;
    padding-left: 17px;
  }
  .ime-benefits-image figcaption {
    right: -5px;
  }
  .ime-section-intro-row {
    display: block;
    width: min(100% - 32px, 560px);
    margin-bottom: 33px;
  }
  .ime-section-intro-row .ime-section-title {
    margin-bottom: 22px !important;
  }
  .ime-section-aside {
    margin-left: 0 !important;
  }
  .ime-care-grid,
  .ime-testimonial-grid {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 560px);
  }
  .ime-testimonial-card:last-child {
    grid-column: auto;
  }
  .ime-care-card {
    min-height: 300px;
  }
  .ime-care-card h3 {
    margin-top: 26px !important;
  }
  .ime-faq-item summary {
    font-size: 1.08rem;
  }
  .ime-faq-item p,
  .ime-faq-item ul {
    margin-right: 20px !important;
  }
  .ime-appointment-inner {
    width: min(100% - 32px, 560px);
  }
  .ime-appointment-button .wp-block-button__link {
    width: 100%;
  }
}
/* Homepage patterns T16.1: competencies, expertise and doctor credentials. */
.ime-competencies-section {
  background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
}

.ime-competencies-grid,
.ime-expertise-list,
.ime-doctor-intro,
.ime-doctor-credentials-grid {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}

.ime-competencies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.ime-competency-card {
  position: relative;
  min-height: 260px;
  margin: 0 !important;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  border-left: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-panel, #fdfcf9);
}
.ime-competency-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  border-right: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  content: "";
}
.ime-competency-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 28px;
  height: 28px;
  border-right: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  border-bottom: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  content: "";
}

.ime-competency-card h3 {
  max-width: 300px;
  margin: 0 0 18px !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.68rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.ime-competency-card p {
  margin: 0 !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ime-competency-card strong,
.ime-expertise-section strong,
.ime-doctor-section strong {
  font-weight: 800;
}

.ime-expertise-section {
  position: relative;
  overflow: hidden;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
}
.ime-expertise-section::before {
  position: absolute;
  top: 7%;
  right: -8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(185, 216, 242, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ime-expertise-section > .wp-block-group {
  position: relative;
  z-index: 1;
}

.ime-expertise-section .ime-section-eyebrow {
  color: var(--wp--preset--color--ime-white, #ffffff);
}
.ime-expertise-section .ime-section-eyebrow::before {
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-expertise-section .ime-section-title {
  color: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-expertise-section .ime-title-accent {
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-expertise-section .ime-section-aside {
  color: rgba(213, 230, 244, 0.94);
}

.ime-expertise-lede {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: 860px;
  margin: var(--wp--preset--spacing--50, 2rem) auto 48px !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ime-expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(185, 216, 242, 0.27);
}

.ime-expertise-column {
  margin: 0 !important;
  background: rgba(23, 65, 108, 0.26);
}

.ime-expertise-item {
  min-height: 0;
  margin: 0 !important;
  padding: 28px 26px;
  border-bottom: 1px solid rgba(185, 216, 242, 0.25);
  background: transparent;
}
.ime-expertise-item:last-child {
  border-bottom: 0;
}

.ime-expertise-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
}

.ime-expertise-mark {
  flex: 0 0 16px;
  margin: 0.17em 0 0 !important;
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.ime-expertise-item-title {
  margin: 0 !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-size: 0.87rem;
  line-height: 1.5;
}

.ime-expertise-item-detail {
  margin: 18px 0 0 28px !important;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.55;
}

.ime-doctor-section {
  background: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.ime-doctor-copy {
  max-width: 900px;
  margin: 0 !important;
  padding-top: 20px;
  border-top: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
}

.ime-doctor-copy .ime-section-title {
  max-width: 680px;
}

.ime-doctor-aside {
  max-width: 700px;
  margin: 24px 0 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ime-doctor-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 55px;
  background: var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
}

.ime-doctor-credential-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  margin: 0 !important;
  padding: 30px 28px;
  background: var(--wp--preset--color--ime-ivory, #f8f5ef);
}
.ime-doctor-credential-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-top: 1px solid var(--wp--preset--color--ime-blue, #3f82c7);
  border-right: 1px solid var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
}

.ime-doctor-credential-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin: 0 !important;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.ime-doctor-credential-card h3 {
  margin: 48px 0 18px !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.ime-doctor-credential-card > p:last-child {
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .ime-competencies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ime-doctor-credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .ime-competencies-grid,
  .ime-expertise-list,
  .ime-doctor-intro,
  .ime-doctor-credentials-grid,
  .ime-expertise-lede {
    width: min(100% - 32px, 560px);
  }
  .ime-competencies-grid {
    grid-template-columns: 1fr;
  }
  .ime-competency-card {
    min-height: 240px;
  }
  .ime-expertise-list {
    grid-template-columns: 1fr;
  }
  .ime-expertise-column {
    border-right: 0;
  }
  .ime-expertise-item {
    padding: 25px 20px;
  }
  .ime-doctor-copy {
    padding-top: 0;
    border-top: 0;
  }
  .ime-doctor-credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 35px;
  }
  .ime-doctor-credential-card {
    min-height: 240px;
    padding: 24px 20px;
  }
  .ime-doctor-credential-card h3 {
    margin-top: 32px !important;
    font-size: 1.25rem;
  }
}
/* Shared specialty-page block: related treatments / treated areas. */
.ime-related-section {
  background: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.ime-related-heading,
.ime-related-grid {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: 1000px !important;
  margin-inline: auto;
}

.ime-related-heading {
  margin-bottom: 34px !important;
}

.ime-related-heading .ime-section-title {
  max-width: 640px;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* The card count determines the desktop width; Gutenberg layout metadata does
 * not. This keeps three-card and four-card instances on the same component. */
.ime-related-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  align-items: stretch;
  gap: 18px !important;
}

.ime-related-card.ime-care-card {
  display: flex;
  min-height: 0;
  height: 100%;
  flex-direction: column;
  gap: 0 !important;
  margin: 0 !important;
  padding: 12px 12px 28px;
  border: 0;
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-ivory, #f8f5ef);
  color: var(--wp--preset--color--ime-ink, #17243a);
  overflow: hidden;
}

.ime-related-card .ime-related-image,
.ime-related-card .ime-related-image img {
  display: block;
  width: 100%;
  margin: 0 !important;
}

.ime-related-card .ime-related-image img {
  aspect-ratio: 1.25;
  object-fit: cover;
}

.ime-related-card h3,
.ime-related-card > p:not(.ime-card-link) {
  margin-right: 12px !important;
  margin-left: 12px !important;
}

.ime-related-card h3 {
  margin-top: 22px !important;
  margin-bottom: 12px !important;
  font-size: 1.25rem;
}

.ime-related-card > p:not(.ime-card-link) {
  margin-bottom: 14px !important;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ime-related-card .ime-card-link {
  margin-right: 12px !important;
  margin-left: 12px !important;
  padding-top: 2px;
  font-size: 0.76rem;
}

.ime-related-card .ime-related-image + h3 {
  margin-top: 22px !important;
}

.ime-related-card .ime-card-link a::after {
  z-index: 2;
}

/* Related cards keep their ivory state on hover; the lift is shared by every
 * specialty page and is intentionally different from the home care cards. */
.ime-related-card.ime-care-card {
  border: 0;
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-ivory, #f8f5ef);
  box-shadow: none;
  cursor: pointer;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ime-related-card.ime-care-card::before {
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-top: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  border-right: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  opacity: 1;
}

.ime-related-card .ime-related-image {
  box-sizing: border-box;
  width: calc(100% + 24px) !important;
  margin: -12px -12px 0 !important;
  padding: 8px 8px 9px;
  border: 0;
  border-bottom: 1px solid rgba(35, 91, 149, 0.18);
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-related-card .ime-related-image img {
  box-sizing: border-box;
  border: 1px solid var(--wp--preset--color--ime-blue-soft, #bcd9f1);
  padding: 0;
  background: transparent;
}

.ime-related-card.ime-care-card:hover,
.ime-related-card.ime-care-card:focus-within {
  z-index: 1;
  border: 0 !important;
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7) !important;
  background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
  color: var(--wp--preset--color--ime-ink, #17243a) !important;
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

.ime-related-card.ime-care-card:hover::before,
.ime-related-card.ime-care-card:focus-within::before {
  border-top: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  border-right: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
}

.ime-related-card.ime-care-card:hover .ime-card-link a,
.ime-related-card.ime-care-card:hover .ime-card-link a:hover,
.ime-related-card.ime-care-card:focus-within .ime-card-link a,
.ime-related-card.ime-care-card:focus-within .ime-card-link a:hover,
.ime-related-card.ime-care-card:focus-within .ime-card-link a:focus-visible {
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.55) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* The homepage care-card hover rule lightens descriptions. Related cards keep
 * their ink text on ivory on every specialty page. */
.ime-related-card.ime-care-card:hover > p:not(.ime-card-link),
.ime-related-card.ime-care-card:focus-within > p:not(.ime-card-link) {
  color: rgba(23, 36, 58, 0.72) !important;
}

.ime-related-card.ime-care-card:hover h3,
.ime-related-card.ime-care-card:focus-within h3 {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
}

@media (max-width: 980px) {
  .ime-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .ime-related-grid {
    grid-template-columns: 1fr !important;
    width: min(100% - 32px, 560px);
  }
}
/* Pilot care pages: Gutenberg content keeps the copy, this layer keeps the visual system. */
.ime-page-template > .wp-block-post-content {
  margin-block: 0;
}

.ime-specialty-page {
  overflow: hidden;
  margin-block: 0;
  background: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-specialty-page > .wp-block-group {
  margin-block: 0;
}

.ime-specialty-container,
.ime-specialty-hero-inner,
.ime-specialty-overview-grid,
.ime-specialty-prevention-grid,
.ime-specialty-method-inner,
.ime-specialty-actions-inner,
.ime-specialty-doctor-inner {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}

.ime-specialty-hero {
  position: relative;
  overflow: hidden;
  background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
}

.ime-specialty-hero::after {
  position: absolute;
  top: 12%;
  right: -150px;
  width: 460px;
  height: 460px;
  border: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ime-specialty-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 120px;
}

.ime-specialty-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 6vw, 70px);
}

.ime-specialty-hero-title {
  max-width: 720px;
  margin: 0 0 32px !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: clamp(2.85rem, 4.8vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.ime-specialty-hero-title .ime-title-accent {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
}

.ime-specialty-hero-lede {
  max-width: 650px;
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.ime-specialty-hero-lede strong,
.ime-specialty-page strong {
  font-weight: 800;
}

.ime-specialty-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 44px 0 0 !important;
}

.ime-specialty-hero-actions .wp-block-button,
.ime-specialty-hero-actions .wp-block-button__link {
  margin: 0 !important;
}

.ime-specialty-hero-actions .wp-block-button__link {
  min-height: 54px;
  padding-inline: 26px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.ime-specialty-hero-actions .wp-block-button__link:hover,
.ime-specialty-hero-actions .wp-block-button__link:focus-visible {
  background: var(--wp--preset--color--ime-blue, #3f82c7) !important;
}

.ime-specialty-hero-actions .is-style-link .wp-block-button__link {
  min-height: auto;
  padding: 10px 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
}

.ime-specialty-hero-actions .is-style-link .wp-block-button__link:hover,
.ime-specialty-hero-actions .is-style-link .wp-block-button__link:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  transform: translateX(3px);
}

.ime-specialty-hero-visual {
  position: relative;
  min-height: 520px;
}

.ime-specialty-hero-visual::before,
.ime-specialty-hero-visual::after {
  position: absolute;
  border: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ime-specialty-hero-visual::before {
  inset: 5% -8% 5% 4%;
}

.ime-specialty-hero-visual::after {
  inset: 15% 3% 15% 15%;
  border-color: rgba(231, 213, 191, 0.72);
}

.ime-specialty-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 470px);
  height: 470px;
  margin: 0 !important;
  border: 1px solid rgba(35, 91, 149, 0.2);
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  box-shadow: 22px 22px 0 rgba(234, 243, 251, 0.9);
}

.ime-specialty-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ime-specialty-hero-note {
  position: absolute;
  right: 2%;
  bottom: 24px;
  max-width: 260px;
  margin: 0 !important;
  padding: 16px 20px;
  background: rgba(253, 252, 249, 0.94);
  box-shadow: 0 9px 24px rgba(23, 36, 58, 0.1);
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.2rem;
  line-height: 1.08;
}

.ime-specialty-hero-note p {
  margin: 0 !important;
}

.ime-specialty-hero-note strong {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
}

body .ime-specialty-overview {
  background-color: var(--wp--preset--color--ime-blue-pale, #eaf3fb) !important;
}

.ime-specialty-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(55px, 9vw, 120px);
}

.ime-specialty-copy {
  max-width: 730px;
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.76);
  font-size: 0.96rem;
  line-height: 1.7;
}

.ime-specialty-copy p {
  margin: 0 0 20px !important;
}

.ime-specialty-copy p:last-child {
  margin-bottom: 0 !important;
}

body .ime-specialty-prevention {
  background-color: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.ime-specialty-prevention-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: clamp(55px, 9vw, 120px);
}

.ime-specialty-profile-image {
  position: relative;
  margin: 0 !important;
  padding: 14px;
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-specialty-profile-image img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.ime-specialty-profile-image figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 12px 15px;
  background: rgba(253, 252, 249, 0.92);
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.15rem;
  line-height: 1.1;
}

.ime-specialty-prevention-copy h3 {
  margin: 30px 0 12px !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.ime-specialty-factor-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px !important;
  padding: 0 !important;
  list-style: none;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-size: 0.92rem;
  font-weight: 700;
}

.ime-specialty-factor-list li {
  position: relative;
  padding-left: 27px;
}

.ime-specialty-factor-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  content: "";
}

body .ime-specialty-method {
  background-color: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
}

.ime-specialty-method-inner {
  margin-inline: auto;
}

.ime-specialty-method-head,
.ime-specialty-actions-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(55px, 9vw, 120px);
  align-items: start;
}

.ime-specialty-method-aside,
.ime-specialty-actions-aside {
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.74);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ime-specialty-method-aside p,
.ime-specialty-actions-aside p {
  margin: 0 0 16px !important;
}

.ime-specialty-method-aside p:last-child,
.ime-specialty-actions-aside p:last-child {
  margin-bottom: 0 !important;
}

.ime-specialty-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.ime-specialty-step-card {
  position: relative;
  min-height: 300px;
  margin: 0 !important;
  padding: 30px 28px;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-panel, #fdfcf9);
}

.ime-specialty-step-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border-top: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  border-right: 1px solid var(--wp--preset--color--ime-blue-dark, #235b95);
  content: "";
}

.ime-specialty-step-number,
.ime-specialty-action-number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin: 0 !important;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24));
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.ime-specialty-step-card h3,
.ime-specialty-action-card h3 {
  margin: 48px 0 18px !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.ime-specialty-step-card > p:last-child,
.ime-specialty-action-card > p:last-child {
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.73);
  font-size: 0.88rem;
  line-height: 1.58;
}

.ime-specialty-testimonials {
  background: var(--wp--preset--color--ime-white, #ffffff) !important;
}

.ime-specialty-actions {
  position: relative;
  overflow: hidden;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-specialty-actions::after {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(185, 216, 242, 0.22);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ime-specialty-actions-inner {
  position: relative;
  z-index: 1;
}

.ime-specialty-actions .ime-section-eyebrow,
.ime-specialty-actions .ime-section-title {
  color: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-specialty-actions .ime-section-eyebrow::before {
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-specialty-actions .ime-title-accent {
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-specialty-actions-aside,
.ime-specialty-actions-copy,
.ime-specialty-actions-summary {
  color: rgba(255, 255, 255, 0.82);
}

.ime-specialty-actions-copy {
  max-width: 820px;
  margin: 56px auto 0 !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

.ime-specialty-actions-copy p {
  margin: 0 0 18px !important;
}

.ime-specialty-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: rgba(185, 216, 242, 0.28);
}

.ime-specialty-action-card {
  min-height: 300px;
  margin: 0 !important;
  padding: 30px 28px;
  background: rgba(23, 65, 108, 0.34);
}

.ime-specialty-action-card h3 {
  color: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-specialty-action-card > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.ime-specialty-action-number {
  border-color: rgba(185, 216, 242, 0.4);
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-specialty-actions-summary {
  max-width: 820px;
  margin: 46px auto 0 !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

.ime-specialty-faq {
  background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
}

.ime-parcours-section {
  background: var(--wp--preset--color--ime-white, #ffffff) !important;
}

/* Inner pages use the portrait-based synchronized parcours block instead of
 * the home-only doctor block, which remains unchanged on the front page. */
body.ime-specialty-route:has(.ime-parcours-section) .ime-doctor-section {
  display: none;
}

.ime-parcours-inner {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}

.ime-parcours-intro {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  margin-bottom: 55px !important;
}

.ime-parcours-portrait {
  position: relative;
  max-width: 360px;
  margin: 0 !important;
  padding: 0 0 25px 25px;
}

.ime-parcours-portrait::before {
  position: absolute;
  top: 25px;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid var(--wp--preset--color--ime-champagne, #e7d5bf);
  content: "";
}

.ime-parcours-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.ime-parcours-portrait figcaption {
  position: absolute;
  right: -16px;
  bottom: 3px;
  z-index: 2;
  margin: 0 !important;
  padding: 7px 13px;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ime-parcours-copy {
  margin: 0 !important;
}

.ime-parcours-copy .ime-section-title {
  max-width: 680px;
}

.ime-parcours-aside {
  max-width: 490px;
  margin: 24px 0 0 !important;
  color: rgba(23, 36, 58, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ime-parcours-credentials {
  width: 100%;
  margin-top: 0;
}

.ime-specialty-doctor-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.5fr) minmax(0, 1fr);
  gap: clamp(52px, 9vw, 120px);
  align-items: start;
}

.ime-specialty-doctor-portrait {
  margin: 0 !important;
  padding: 12px;
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}

.ime-specialty-doctor-portrait img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.ime-specialty-doctor-portrait figcaption {
  margin: 0 !important;
  padding: 12px 4px 1px;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.1rem;
}

.ime-specialty-doctor-copy {
  margin: 0 !important;
}

.ime-specialty-doctor-copy .ime-section-title {
  max-width: 700px;
}

.ime-specialty-doctor-copy .ime-doctor-aside {
  max-width: 720px;
}

.ime-specialty-doctor-credentials {
  grid-column: 1/-1;
  width: 100%;
  margin-top: 0;
}

@media (max-width: 980px) {
  .ime-specialty-hero-grid,
  .ime-specialty-overview-grid,
  .ime-specialty-prevention-grid,
  .ime-specialty-method-head,
  .ime-specialty-actions-head,
  .ime-parcours-intro,
  .ime-specialty-doctor-inner {
    grid-template-columns: 1fr;
  }
  .ime-specialty-hero-visual {
    min-height: 470px;
    max-width: 600px;
  }
  .ime-specialty-step-grid,
  .ime-specialty-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ime-specialty-doctor-portrait {
    max-width: 420px;
  }
}
@media (max-width: 720px) {
  .ime-specialty-container,
  .ime-specialty-hero-inner,
  .ime-specialty-overview-grid,
  .ime-specialty-prevention-grid,
  .ime-specialty-method-inner,
  .ime-specialty-actions-inner,
  .ime-parcours-inner,
  .ime-specialty-doctor-inner {
    width: min(100% - 32px, 560px);
  }
  .ime-specialty-hero-inner {
    padding-top: 80px;
    padding-bottom: 88px;
  }
  .ime-specialty-hero-title {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }
  .ime-specialty-hero-visual {
    min-height: 360px;
  }
  .ime-specialty-hero-image {
    width: calc(100% - 24px);
    height: 350px;
  }
  .ime-parcours-intro {
    display: block;
    margin-bottom: 45px !important;
  }
  .ime-parcours-portrait {
    max-width: 360px;
    margin-bottom: 50px !important;
    padding-left: 17px;
  }
  .ime-specialty-hero-note {
    right: 0;
    bottom: 12px;
    font-size: 1.05rem;
  }
  .ime-specialty-profile-image img {
    height: 430px;
  }
  .ime-specialty-step-grid,
  .ime-specialty-action-grid {
    grid-template-columns: 1fr;
  }
  .ime-specialty-step-card,
  .ime-specialty-action-card {
    min-height: 0;
  }
  .ime-specialty-doctor-portrait img {
    height: 360px;
  }
}
@font-face {
  font-family: "IME Font Awesome";
  src: url("../fonts/fontawesome-webfont.woff") format("woff");
  font-display: block;
  font-style: normal;
  font-weight: normal;
}
/*
 * Home fidelity layer.
 *
 * The page content remains native Gutenberg. This sheet only restores the
 * visual details that belong to the design system: the fixed masthead,
 * signature laser, curved section transition and pictogram treatments.
 */
.wp-site-blocks {
  overflow-x: clip;
}

/* Keep the two-part masthead structure without changing the Gutenberg markup. */
body:not(.wp-admin) .wp-site-blocks > .wp-block-template-part:has(> .ime-topbar) {
  display: contents;
}

.ime-topbar {
  /* The information band belongs to the initial masthead and scrolls away. */
  position: static;
}

.ime-site-header {
  top: 0;
  z-index: 60;
  transition: padding 180ms ease;
}

body.admin-bar .ime-site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

/* The compact state is independent of the WordPress admin toolbar. */
.ime-site-header.is-scrolled {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Hero signature: faint face, concentric rings and the blue laser trace. */
.ime-hero-pattern {
  isolation: isolate;
  border-radius: 0 0 50% 50%/0 0 0% 0%;
  background: radial-gradient(circle at 84% 26%, rgba(231, 213, 191, 0.55), transparent 18rem), linear-gradient(120deg, #fbf8f2 0%, var(--wp--preset--color--ime-ivory, #f8f5ef) 61%, var(--wp--preset--color--ime-blue-pale, #eaf3fb) 100%) !important;
}
.ime-hero-pattern::before {
  position: absolute;
  top: 3%;
  right: 0;
  z-index: 0;
  width: clamp(300px, 35vw, 510px);
  aspect-ratio: 1;
  background: radial-gradient(circle at center, transparent 0 29%, rgba(63, 130, 199, 0.1) 29.2% 29.45%, transparent 29.7% 48%, rgba(63, 130, 199, 0.07) 48.2% 48.45%, transparent 48.8%) 100% 85px/100% 100% no-repeat, url("../images/ime-face.webp") 100% 85px/57% auto no-repeat;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}
.ime-hero-pattern::after {
  position: absolute;
  top: 32%;
  right: -71px;
  z-index: 1;
  width: 471px;
  height: 16px;
  background: radial-gradient(circle at 50% 50%, var(--wp--preset--color--ime-blue, #3f82c7) 0 3px, var(--wp--preset--color--ime-white, #ffffff) 3px 5px, rgba(63, 130, 199, 0.14) 5px 8px, transparent 8px) center/16px 16px no-repeat, linear-gradient(90deg, transparent, rgba(63, 130, 199, 0.12) 12%, var(--wp--preset--color--ime-blue, #3f82c7) 50%, rgba(63, 130, 199, 0.12) 88%, transparent) center/100% 1px no-repeat;
  content: "";
  pointer-events: none;
  transform: rotate(-17deg);
}
.ime-hero-pattern > .ime-hero-grid {
  position: relative;
  z-index: 2;
}

/* White curved transition and its small laser point under the hero. */
.ime-intro-section {
  position: relative;
  isolation: isolate;
}
.ime-intro-section::before {
  position: absolute;
  top: -70px;
  left: -8%;
  z-index: 0;
  width: 116%;
  height: 76px;
  border-radius: 50% 50% 0 0/100% 100% 0 0;
  background: var(--wp--preset--color--ime-white, #ffffff);
  content: "";
  pointer-events: none;
}
.ime-intro-section::after {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 3;
  width: 126px;
  height: 16px;
  background: radial-gradient(circle at 50% 50%, var(--wp--preset--color--ime-blue, #3f82c7) 0 3px, var(--wp--preset--color--ime-white, #ffffff) 3px 5px, rgba(63, 130, 199, 0.12) 5px 7px, transparent 7px) center/14px 14px no-repeat, linear-gradient(90deg, transparent, var(--wp--preset--color--ime-blue, #3f82c7), transparent) center/100% 1px no-repeat;
  content: "";
  pointer-events: none;
  transform: translateX(-50%) rotate(-5deg);
}
.ime-intro-section > * {
  position: relative;
  z-index: 1;
}

/* The laser point belongs to the eyebrow, immediately after its label. */
.ime-section-eyebrow::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border: 1px solid var(--wp--preset--color--ime-white, #ffffff);
  border-radius: 50%;
  background: var(--wp--preset--color--ime-blue, #3f82c7);
  box-shadow: 0 0 0 3px rgba(63, 130, 199, 0.13), 0 0 12px rgba(63, 130, 199, 0.2);
  content: "";
  vertical-align: 0.18em;
}

/* The FAQ eyebrow also carries the list/check pictogram from the reference. */
.ime-faq-section .ime-section-eyebrow {
  padding-left: 52px;
  background: linear-gradient(90deg, var(--wp--preset--color--ime-blue, #3f82c7), var(--wp--preset--color--ime-blue, #3f82c7)) left center/19px 2px no-repeat;
}
.ime-faq-section .ime-section-eyebrow::before {
  left: 28px;
  width: 16px;
  height: 16px;
  background: none;
  font-family: "IME Font Awesome";
  font-size: 0.8rem;
  font-weight: normal;
  line-height: 1;
  content: "\f0ae";
  transform: translateY(-50%);
}

/* The expertise panel needs the softer blue accent from the reference. */
.ime-expertise-section .ime-title-accent {
  color: var(--wp--preset--color--ime-blue-soft, #bcd9f1);
}

.ime-expertise-section .ime-section-eyebrow::after {
  border-color: var(--wp--preset--color--ime-blue-dark, #235b95);
  background: var(--wp--preset--color--ime-blue-soft, #bcd9f1);
  box-shadow: 0 0 0 3px rgba(188, 217, 241, 0.14), 0 0 14px rgba(188, 217, 241, 0.24);
}

/* Use the checked-square pictogram from the reference instead of the text check. */
.ime-expertise-mark {
  flex: 0 0 16px;
  width: 16px;
  margin: 4px 0 0 !important;
  color: var(--wp--preset--color--ime-blue-soft, #bcd9f1);
  font-family: "IME Font Awesome";
  font-size: 0;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}
.ime-expertise-mark::before {
  content: "\f14a";
  font-family: "IME Font Awesome";
  font-size: 0.82rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

/* Optional per-page variant: keep the blue expertise block shared while
 * allowing pages to choose numbered markers instead of checks. */
.ime-expertise-section.ime-expertise-section--numbered {
  counter-reset: ime-expertise-number;
  background: #245b95 !important;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-list {
  display: block;
  background: #4e7daf;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-list > .wp-block-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0;
  width: 100%;
  margin: 0 !important;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-item {
  counter-increment: ime-expertise-number;
  position: relative;
  min-height: 300px;
  margin: 0 !important;
  padding: 28px 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #406e9e;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-item::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-right: 1px solid rgba(234, 243, 251, 0.65);
  border-bottom: 1px solid rgba(234, 243, 251, 0.65);
  content: "";
  pointer-events: none;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-heading {
  display: block;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-mark {
  display: block;
  width: auto;
  min-height: 46px;
  margin: 0 0 24px !important;
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-mark::before {
  content: counter(ime-expertise-number, decimal-leading-zero);
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 2.9rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-item-title {
  max-width: none;
  margin: 0 0 12px !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-item-title strong {
  font-weight: inherit;
}
.ime-expertise-section.ime-expertise-section--numbered .ime-expertise-item-detail {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ime-expertise-section.ime-expertise-section--numbered .ime-expertise-list > .wp-block-group {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  }
}
@media (max-width: 767px) {
  .ime-expertise-section.ime-expertise-section--numbered .ime-expertise-list > .wp-block-group {
    grid-template-columns: minmax(0, 1fr);
  }
  .ime-expertise-section.ime-expertise-section--numbered .ime-expertise-item {
    min-height: 0;
  }
}
/* Optional result-card variant: specialty pages can use the same blue,
 * numbered treatment as the recent reference screens without changing the
 * cream competencies block used on the home page. */
.ime-competencies-section.ime-competencies-section--numbered {
  position: relative;
  overflow: hidden;
  background: #245b95 !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
  counter-reset: ime-competency-number;
}
.ime-competencies-section.ime-competencies-section--numbered::before {
  position: absolute;
  top: 7%;
  right: -8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(185, 216, 242, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ime-competencies-section.ime-competencies-section--numbered > .wp-block-group {
  position: relative;
  z-index: 1;
}
.ime-competencies-section.ime-competencies-section--numbered .ime-section-eyebrow {
  color: var(--wp--preset--color--ime-white, #ffffff);
}
.ime-competencies-section.ime-competencies-section--numbered .ime-section-eyebrow::before {
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}
.ime-competencies-section.ime-competencies-section--numbered .ime-section-title {
  color: var(--wp--preset--color--ime-white, #ffffff);
}
.ime-competencies-section.ime-competencies-section--numbered .ime-title-accent {
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}
.ime-competencies-section.ime-competencies-section--numbered .ime-section-aside {
  color: rgba(213, 230, 244, 0.94);
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competencies-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  background: #4e7daf;
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competency-card {
  grid-column: span 2;
  min-height: 300px;
  counter-increment: ime-competency-number;
  padding: 28px 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #406e9e;
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:nth-last-child(2):nth-child(3n+1), .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:last-child:nth-child(3n+2), .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:last-child:nth-child(3n+1) {
  grid-column: span 3;
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competency-card::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding-bottom: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  content: counter(ime-competency-number, decimal-leading-zero);
  color: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 2.9rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competency-card::after {
  right: 12px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-right: 1px solid rgba(234, 243, 251, 0.65);
  border-bottom: 1px solid rgba(234, 243, 251, 0.65);
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competency-card h3 {
  max-width: none;
  margin: 24px 0 12px !important;
  color: var(--wp--preset--color--ime-white, #ffffff);
  font-size: 1.55rem;
  line-height: 1.05;
}
.ime-competencies-section.ime-competencies-section--numbered .ime-competency-card p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (min-width: 901px) {
  .ime-competencies-section.ime-competencies-section--numbered .ime-competencies-grid:has(> .ime-competency-card:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ime-competencies-section.ime-competencies-section--numbered .ime-competencies-grid:has(> .ime-competency-card:nth-child(4):last-child) > .ime-competency-card {
    grid-column: span 1;
  }
  .ime-competencies-section.ime-competencies-section--numbered .ime-competencies-grid:has(> .ime-competency-card:nth-child(7):last-child) > .ime-competency-card:nth-child(n+4) {
    grid-column: span 3;
  }
}
@media (max-width: 900px) {
  .ime-competencies-section.ime-competencies-section--numbered .ime-competencies-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card {
    grid-column: span 2;
  }
  .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:nth-last-child(2):nth-child(3n+1), .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:last-child:nth-child(3n+2), .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:last-child:nth-child(3n+1) {
    grid-column: span 2;
  }
}
@media (max-width: 767px) {
  .ime-competencies-section.ime-competencies-section--numbered .ime-competencies-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card {
    grid-column: span 1;
    min-height: 0;
  }
  .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:nth-last-child(2):nth-child(3n+1), .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:last-child:nth-child(3n+2), .ime-competencies-section.ime-competencies-section--numbered .ime-competency-card:last-child:nth-child(3n+1) {
    grid-column: span 1;
  }
}
/* Testimonials use the local Font Awesome quote mark from the reference. */
.ime-testimonial-mark {
  position: relative;
  width: 30px;
  height: 30px;
  align-self: center;
  border: 0;
  border-radius: 3px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  box-shadow: none;
  font-size: 0;
}
.ime-testimonial-mark::before {
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  content: "\f10d";
  font-family: "IME Font Awesome";
  font-size: 0.82rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

/* Four doctor credentials, four distinct pictograms, with a little more card
 * structure so the block reads like the reference rather than a plain list. */
.ime-doctor-credential-card {
  min-height: 270px;
}

.ime-doctor-credential-card > .ime-doctor-credential-mark {
  position: relative;
  display: grid;
  align-self: flex-start;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0 !important;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24)) !important;
  border-radius: 0 !important;
  background: var(--wp--preset--color--ime-ivory, #f8f5ef) !important;
  color: transparent;
  font-size: 0;
  font-family: "IME Font Awesome";
  font-style: normal;
  font-weight: normal;
  box-shadow: none;
}
.ime-doctor-credential-card > .ime-doctor-credential-mark::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  color: var(--wp--preset--color--ime-blue, #3f82c7);
  font-family: "IME Font Awesome";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.ime-doctor-credential-card:nth-child(1) .ime-doctor-credential-mark::before {
  content: "\f0f0";
}

.ime-doctor-credential-card:nth-child(2) .ime-doctor-credential-mark::before {
  content: "\f19d";
}

.ime-doctor-credential-card:nth-child(3) .ime-doctor-credential-mark::before {
  content: "\f19d";
}

.ime-doctor-credential-card:nth-child(4) .ime-doctor-credential-mark::before {
  content: "\f0c0";
}

.ime-doctor-credential-card h3 {
  margin-top: 48px !important;
}

@media (max-width: 720px) {
  .ime-site-header {
    top: 0;
  }
  body.admin-bar .ime-site-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
  .ime-hero-pattern {
    border-radius: 0 0 50% 50%/0 0 4% 4%;
  }
  .ime-hero-pattern::before {
    top: 20%;
    right: 0;
    width: 390px;
  }
  .ime-hero-pattern::after {
    top: 48%;
    right: -40%;
    width: 130%;
  }
  .ime-intro-section::before {
    top: -35px;
    height: 55px;
  }
  .ime-intro-section::after {
    top: -8px;
  }
  .ime-section-eyebrow::after {
    margin-left: 7px;
  }
  .ime-doctor-credential-card {
    min-height: 250px;
  }
}
@media (max-width: 600px) {
  .ime-site-header {
    top: 0;
  }
  body.admin-bar .ime-site-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}
/* Contact form: match the approved preview while keeping the CF7 template
 * readable and the fields stacked on small screens. */
.ime-contact-form-card .wpcf7-form .ime-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px !important;
}
.ime-contact-form-card .wpcf7-form .ime-form-row p {
  min-width: 0;
  margin: 0 !important;
}
.ime-contact-form-card .wpcf7-form .ime-form-consent {
  color: rgba(23, 36, 58, 0.78);
  font-size: 0.62rem;
  line-height: 1.45;
}
.ime-contact-form-card .wpcf7-form .ime-form-consent .wpcf7-form-control-wrap,
.ime-contact-form-card .wpcf7-form .ime-form-consent .wpcf7-acceptance,
.ime-contact-form-card .wpcf7-form .ime-form-consent .wpcf7-list-item {
  display: block;
  margin: 0;
}
.ime-contact-form-card .wpcf7-form .ime-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.45;
}
.ime-contact-form-card .wpcf7-form .ime-form-consent input[type=checkbox] {
  flex: 0 0 auto;
  width: 13px !important;
  height: 13px;
  margin: 1px 0 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
}
.ime-contact-form-card .wpcf7-form .ime-form-note {
  color: rgba(23, 36, 58, 0.64);
  font-size: 0.58rem;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .ime-contact-form-card .wpcf7-form .ime-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Restore the contact section layout and the visual treatment of its CF7
 * controls. The block markup is native Gutenberg, so these rules stay scoped
 * to the contact-specific classes instead of changing other forms site-wide. */
.ime-contact-grid > .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 48px;
  width: 100%;
  margin: 0 !important;
}

.ime-contact-grid > .wp-block-columns > .wp-block-column {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  flex-basis: auto !important;
}

.ime-contact-copy {
  max-width: 390px;
  margin: 0 !important;
}

.ime-contact-copy .ime-section-title {
  max-width: 390px;
}

.ime-contact-copy .ime-section-title mark {
  background-color: transparent !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
}

.ime-contact-copy > p {
  margin: 30px 0 0 !important;
  color: rgba(23, 36, 58, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ime-contact-copy > p + p {
  margin-top: 22px !important;
}

.ime-contact-details {
  margin: 40px 0 0 !important;
}

.ime-contact-label {
  margin: 0 0 12px !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ime-contact-value {
  margin: 0 0 25px !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ime-contact-value a {
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(35, 91, 149, 0.34);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.ime-contact-value a:hover,
.ime-contact-value a:focus-visible {
  color: var(--wp--preset--color--ime-blue, #3f82c7);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ime-contact-map-link {
  margin: 0 0 30px !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.8rem;
  font-weight: 800;
}

.ime-contact-form-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.ime-contact-form-card > .ime-section-title {
  max-width: none;
}

.ime-contact-form-card .wpcf7-form {
  width: 100%;
  max-width: none;
  margin: 34px 0 0;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.ime-contact-form-card .wpcf7-form p {
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}

.ime-contact-form-card .wpcf7-form > p:empty {
  display: none;
}

.ime-contact-form-card .wpcf7-form > p:has(.wpcf7-form-control-wrap):not(.ime-form-consent) {
  margin-bottom: 20px !important;
}

.ime-contact-form-card .wpcf7-form label {
  display: block;
  margin: 0;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.ime-contact-form-card .wpcf7-form label br {
  display: none;
}

.ime-contact-form-card .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.ime-contact-form-card .wpcf7-form-control-wrap input:not([type=hidden]):not([type=checkbox]),
.ime-contact-form-card .wpcf7-form-control-wrap select,
.ime-contact-form-card .wpcf7-form-control-wrap textarea {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(35, 91, 149, 0.32);
  border-radius: 2px;
  background: var(--wp--preset--color--ime-white, #ffffff);
  color: var(--wp--preset--color--ime-ink, #17243a);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.ime-contact-form-card .wpcf7-form-control-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.ime-contact-form-card .wpcf7-form-control-wrap select {
  cursor: pointer;
}

.ime-contact-form-card .wpcf7-form-control-wrap input:not([type=hidden]):not([type=checkbox]):focus,
.ime-contact-form-card .wpcf7-form-control-wrap select:focus,
.ime-contact-form-card .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--wp--preset--color--ime-blue, #3f82c7);
  outline: 2px solid rgba(63, 130, 199, 0.18);
  outline-offset: 1px;
}

.ime-contact-form-card .wpcf7-form-control-wrap input::placeholder,
.ime-contact-form-card .wpcf7-form-control-wrap textarea::placeholder {
  color: rgba(23, 36, 58, 0.52);
  opacity: 1;
}

.ime-contact-form-card .ime-form-consent {
  margin: 4px 0 18px !important;
}

.ime-contact-form-card .ime-form-consent .wpcf7-list-item-label {
  color: rgba(23, 36, 58, 0.72);
}

.ime-contact-form-card .ime-form-consent input[type=checkbox] {
  accent-color: var(--wp--preset--color--ime-blue-dark, #235b95);
  cursor: pointer;
}

.ime-contact-form-card .cf7-cf-turnstile {
  margin: 10px 0 0 !important;
}

.ime-contact-form-card .cf-turnstile {
  max-width: 100%;
}

.ime-contact-form-card .ime-form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0 !important;
}

.ime-contact-form-card .ime-form-submit .wpcf7-submit {
  min-height: 50px;
  padding: 14px 24px;
  border: 0;
  border-radius: 2px;
  background: var(--wp--preset--color--ime-blue-dark, #235b95) !important;
  color: var(--wp--preset--color--ime-white, #ffffff) !important;
  font-family: var(--wp--preset--font-family--ime-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ime-contact-form-card .ime-form-submit .wpcf7-submit:not(:disabled):hover,
.ime-contact-form-card .ime-form-submit .wpcf7-submit:not(:disabled):focus-visible {
  background: var(--wp--preset--color--ime-blue, #3f82c7) !important;
  box-shadow: 0 9px 20px rgba(35, 91, 149, 0.15);
  transform: translateY(-1px);
}

.ime-contact-form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.72rem;
}

.ime-contact-form-card .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--wp--custom--ime--rule, rgba(35, 91, 149, 0.24)) !important;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .ime-contact-grid > .wp-block-columns {
    gap: 40px;
  }
  .ime-contact-copy .ime-section-title {
    font-size: clamp(2.5rem, 5vw, 3.7rem);
  }
}
@media (max-width: 767px) {
  .ime-contact-grid {
    width: min(100% - 32px, 560px);
  }
  .ime-contact-grid > .wp-block-columns {
    display: block;
  }
  .ime-contact-copy {
    max-width: none;
    margin-bottom: 48px !important;
  }
  .ime-contact-copy .ime-section-title {
    max-width: none;
  }
  .ime-contact-form-card {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
  .ime-contact-form-card .ime-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Blog archive: turn the native post loop into a readable card grid. */
body.ime-blog-route main.ime-page-template {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}
body.ime-blog-route .wp-block-query {
  margin-top: 64px;
}
body.ime-blog-route .wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(var(--wp--style--global--content-size, 1180px), 100% - var(--wp--custom--ime--gutter, 48px));
  margin: 56px auto 72px !important;
  padding-top: 28px;
  border-top: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
}
body.ime-blog-route .wp-block-query-pagination-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.ime-blog-route .wp-block-query-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--wp--preset--color--ime-blue-soft, #bcd9f1);
  background: var(--wp--preset--color--ime-white, #ffffff);
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
body.ime-blog-route .wp-block-query-pagination .page-numbers.current {
  border-color: var(--wp--preset--color--ime-blue-dark, #235b95);
  background: var(--wp--preset--color--ime-blue-dark, #235b95);
  color: var(--wp--preset--color--ime-white, #ffffff);
}
body.ime-blog-route .wp-block-query-pagination a.page-numbers:hover,
body.ime-blog-route .wp-block-query-pagination a.page-numbers:focus-visible {
  border-color: var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
  color: var(--wp--preset--color--ime-blue-ink, #1f609d);
}
body.ime-blog-route .wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
body.ime-blog-route .wp-block-query-pagination-next-arrow {
  font-size: 1.05rem;
  line-height: 1;
}
body.ime-blog-route .wp-block-query-pagination-next:hover,
body.ime-blog-route .wp-block-query-pagination-next:focus-visible {
  color: var(--wp--preset--color--ime-blue-ink, #1f609d);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.ime-blog-route .wp-block-post-template {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
body.ime-blog-route .wp-block-post-template > .wp-block-post {
  position: relative;
  display: flex;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  border-top: 2px solid var(--wp--preset--color--ime-blue, #3f82c7);
  background: var(--wp--preset--color--ime-ivory, #f8f5ef);
  box-shadow: 0 14px 30px rgba(23, 36, 58, 0.06);
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
body.ime-blog-route .wp-block-post-template > .wp-block-post:nth-child(even) {
  border-top-color: var(--wp--preset--color--ime-blue-dark, #235b95);
  background: var(--wp--preset--color--ime-blue-pale, #eaf3fb);
}
body.ime-blog-route .wp-block-post-template > .wp-block-post:hover {
  box-shadow: 0 18px 36px rgba(23, 36, 58, 0.11);
  transform: translateY(-3px);
}
body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  margin: 0 !important;
}
body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column {
  flex-basis: 100% !important;
  width: 100%;
  margin: 0 !important;
}
body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column:first-child {
  display: flex;
  align-items: flex-start;
  flex: 0 0 36% !important;
  width: 36%;
}
body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column:nth-child(2) {
  flex: 1 1 auto !important;
  width: auto;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-featured-image {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  aspect-ratio: 4/3 !important;
  overflow: hidden;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 36px 34px !important;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-title {
  margin: 0 !important;
  color: var(--wp--preset--color--ime-ink, #17243a);
  font-family: var(--wp--preset--font-family--ime-display, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt {
  width: 100%;
  margin: 18px 0 0 !important;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__excerpt {
  margin: 0 !important;
  color: rgba(23, 36, 58, 0.76);
  font-size: 0.92rem;
  line-height: 1.65;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__more-text {
  margin: 24px 0 0 !important;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__more-link::before {
  content: "→";
  order: 2;
  font-size: 1rem;
  line-height: 1;
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__more-link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}
body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__more-link:hover, body.ime-blog-route .wp-block-post-template .wp-block-post-excerpt__more-link:focus-visible {
  color: var(--wp--preset--color--ime-blue-ink, #1f609d);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 800px) {
  body.ime-blog-route .wp-block-post-template {
    grid-template-columns: minmax(0, 1fr);
  }
  body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns {
    flex-direction: column;
  }
  body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column:first-child,
  body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column:nth-child(2) {
    flex-basis: 100% !important;
    width: 100%;
  }
  body.ime-blog-route .wp-block-post-template .wp-block-post-featured-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3 !important;
  }
  body.ime-blog-route .wp-block-post-template > .wp-block-post > .wp-block-columns > .wp-block-column:nth-child(2) {
    padding: 24px 22px 26px !important;
  }
  body.ime-blog-route .wp-block-query-pagination {
    width: min(100% - 32px, 560px);
    gap: 10px;
    margin: 42px auto 48px !important;
    padding-top: 22px;
  }
  body.ime-blog-route .wp-block-query-pagination-next {
    font-size: 0.7rem;
  }
}
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Contact Form 7: make disabled submit controls visibly inactive. */
.wpcf7-form .wpcf7-submit:disabled,
.wpcf7-form .wpcf7-submit.disabled,
.wpcf7-form .wpcf7-submit[aria-disabled=true] {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Mobile masthead: keep the blue information band compact. */
@media (max-width: 600px) {
  .ime-topbar-inner {
    min-height: 32px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }
  .ime-topbar-inner > p:first-child {
    display: none !important;
  }
  .ime-topbar-inner > p:last-child {
    margin: 0 !important;
    text-align: center;
  }
}
/* Specialty hero: reduce the empty space below the masthead. */
body.ime-specialty-route .ime-specialty-hero-inner {
  padding-top: 64px !important;
}

@media (max-width: 720px) {
  body.ime-specialty-route .ime-specialty-hero-inner {
    padding-top: 32px !important;
  }
}
@media (min-width: 721px) {
  .ime-hero-pattern .ime-hero-copy {
    padding: 0 0 86px 0 !important;
  }
}
@media (max-width: 720px) {
  .ime-hero-pattern .ime-hero-copy {
    padding: 0 0 0 30px !important;
  }
}
/* Keep split Gutenberg spans in hero bullets on one continuous text flow. */
.ime-hero-pattern .ime-hero-list li {
  position: relative;
  display: block;
  padding-left: 25px;
}

.ime-hero-pattern .ime-hero-list li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  margin-top: 0;
}

/* Restore the dedicated before/after photo gallery layout. */
.ime-results-grid {
  width: min(var(--wp--style--global--content-size, 1180px), 100% - 48px);
  max-width: var(--wp--style--global--content-size, 1180px);
  margin-inline: auto;
}

.ime-results-section .ime-results-intro-row {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.ime-results-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  margin: 0 !important;
}

.ime-results-card {
  min-width: 0;
  margin: 0 !important;
  padding: 8px;
  border: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  background: var(--wp--preset--color--ime-panel, #fdfcf9);
}

.ime-results-card-image {
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid var(--wp--custom--ime--rule-soft, rgba(35, 91, 149, 0.12));
  background: var(--wp--preset--color--ime-white, #ffffff);
}

.ime-results-card-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ime-results-caption {
  margin: 12px 8px 7px !important;
  color: var(--wp--preset--color--ime-blue-dark, #235b95);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .ime-results-grid {
    width: min(100% - 32px, 560px);
  }
  .ime-results-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
