/*
Theme Name: Inner Moxie
Theme URI: https://innermoxiecounseling.com/
Author: Inner Moxie Counseling
Description: Lightweight custom theme for Inner Moxie Counseling, PLLC.
Version: 1.0.0
Text Domain: inner-moxie
*/

:root {
  --im-cream: #fbfaef;
  --im-sand: #f6e6b5;
  --im-sand-light: #fbf3d7;
  --im-blue: #aed7e8;
  --im-blue-deep: #70b5cf;
  --im-teal: #56a5b8;
  --im-teal-dark: #317f92;
  --im-gold: #e4c463;
  --im-ink: #40433f;
  --im-muted: #666a66;
  --im-white: #ffffff;
  --im-border: rgba(64, 67, 63, 0.16);
  --im-shadow: 0 18px 50px rgba(31, 65, 74, 0.13);
  --im-radius: 18px;
  --im-shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--im-ink);
  background: var(--im-cream);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--im-teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: #245e6b;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--im-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
  margin-top: 0;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  overflow: visible;
  clip-path: none;
  color: var(--im-white);
  background: var(--im-teal-dark);
  border-radius: 6px;
}

.im-shell {
  width: min(calc(100% - 40px), var(--im-shell));
  margin-inline: auto;
}

.im-narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.im-section {
  padding: clamp(70px, 9vw, 125px) 0;
}

.im-section--sand {
  background: var(--im-sand);
}

.im-section--cream {
  background: var(--im-cream);
}

.im-section--blue {
  background: var(--im-blue);
}

.im-centered {
  text-align: center;
}

.im-eyebrow {
  margin-bottom: 12px;
  color: var(--im-teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.im-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2.1vw, 1.65rem);
  line-height: 1.55;
}

.im-muted {
  color: var(--im-muted);
}

.im-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  color: var(--im-white);
  background: var(--im-teal);
  border: 2px solid var(--im-teal);
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.im-button:hover,
.im-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: var(--im-white);
  background: var(--im-teal-dark);
  border-color: var(--im-teal-dark);
  transform: translateY(-1px);
}

.im-button--light {
  color: var(--im-ink);
  background: var(--im-cream);
  border-color: var(--im-cream);
}

.im-button--outline {
  color: var(--im-teal-dark);
  background: transparent;
  border-color: var(--im-teal);
}

.im-button--outline:hover,
.im-button--outline:focus {
  color: var(--im-white);
}

.im-grid {
  display: grid;
  gap: 32px;
}

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

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

.im-card {
  padding: clamp(25px, 4vw, 42px);
  background: var(--im-cream);
  border: 1px solid var(--im-border);
  border-radius: var(--im-radius);
  box-shadow: var(--im-shadow);
}

.im-image-card {
  overflow: hidden;
  background: var(--im-cream);
  border-radius: var(--im-radius);
  box-shadow: var(--im-shadow);
}

.im-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(35px, 7vw, 85px);
  align-items: center;
}

.im-check-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.im-check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 30px;
}

.im-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--im-teal);
  content: "✓";
  font-weight: 800;
}

/* Header */

.site-header {
  position: relative;
  z-index: 1000;
  background: rgba(251, 250, 239, 0.98);
  border-bottom: 1px solid rgba(64, 67, 63, 0.08);
}

.site-header__inner {
  display: grid;
  min-height: 112px;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.site-branding {
  flex-shrink: 0;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  width: auto;
  max-width: 145px;
  max-height: 102px;
}

.site-branding__fallback {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--im-ink);
  text-decoration: none;
}

.site-branding__mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--im-teal-dark);
  background:
    radial-gradient(circle at center, var(--im-white) 55%, transparent 56%),
    var(--im-blue);
  border: 1px solid rgba(49, 127, 146, 0.35);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.site-branding__text {
  display: grid;
  gap: 2px;
}

.site-branding__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.1;
}

.site-branding__tagline {
  color: var(--im-teal-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.primary-navigation {
  justify-self: start;
}

.primary-menu,
.primary-navigation .menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  list-style: none;
}

.primary-menu a,
.primary-navigation .menu a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: var(--im-ink);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.primary-menu a::after,
.primary-navigation .menu a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--im-teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 170ms ease;
}

.primary-menu a:hover::after,
.primary-menu a:focus::after,
.primary-menu .current-menu-item > a::after,
.primary-navigation .menu a:hover::after,
.primary-navigation .menu a:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  padding: 8px;
  color: var(--im-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle__bars {
  display: grid;
  width: 28px;
  gap: 6px;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 170ms ease, opacity 170ms ease;
}

/* Page content */

.site-main {
  min-height: 50vh;
}

.entry-content > *:first-child {
  margin-top: 0;
}

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

.default-page {
  padding: 75px 0 110px;
}

.default-page__header {
  margin-bottom: 45px;
  text-align: center;
}

.default-page__content {
  width: min(100%, 850px);
  margin-inline: auto;
}

/* Footer */

.site-footer {
  background: var(--im-cream);
  border-top: 1px solid rgba(64, 67, 63, 0.08);
}

.site-footer__main {
  display: grid;
  padding: 72px 0 44px;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.85fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.footer-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 25px;
  align-items: center;
}

.footer-badges img {
  width: 100%;
  max-width: 185px;
  max-height: 155px;
  margin-inline: auto;
  object-fit: contain;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(145px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.footer-map {
  display: grid;
  min-height: 170px;
  place-items: center;
  color: var(--im-white);
  background: #2f2c27;
  border-radius: 4px;
  text-decoration: none;
}

.footer-map__pin {
  color: #ff5a52;
  font-size: 2.2rem;
  line-height: 1;
}

.footer-address {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-address strong {
  color: #203b68;
}

.footer-social {
  display: flex;
  margin-top: 20px;
  gap: 10px;
}

.footer-social a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--im-white);
  background: #c6c7c3;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus {
  background: var(--im-teal);
}

.site-footer__bottom {
  padding: 18px 0 26px;
  color: var(--im-muted);
  border-top: 1px solid rgba(64, 67, 63, 0.08);
  font-size: 0.78rem;
  text-align: center;
}

/* Responsive */

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 92px;
    grid-template-columns: 1fr auto;
  }

  .site-branding {
    grid-column: 1;
    grid-row: 1;
  }

  .custom-logo {
    max-width: 110px;
    max-height: 78px;
  }

  .site-branding__mark {
    width: 62px;
    height: 62px;
  }

  .site-branding__tagline {
    display: none;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .site-header__cta {
    display: none;
  }

  .primary-navigation {
    position: fixed;
    z-index: 1001;
    top: 92px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 35px 25px;
    overflow-y: auto;
    background: var(--im-cream);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu,
  .primary-navigation .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .primary-menu a,
  .primary-navigation .menu a {
    display: block;
    padding: 15px 5px;
    border-bottom: 1px solid var(--im-border);
    font-size: 1.06rem;
  }

  .menu-open .menu-toggle__bars span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-open .menu-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle__bars span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .im-grid--3,
  .im-grid--2,
  .im-split {
    grid-template-columns: 1fr;
  }

  .site-footer__main,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-map {
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .im-shell,
  .im-narrow {
    width: min(calc(100% - 28px), var(--im-shell));
  }

  .im-section {
    padding: 60px 0;
  }

  .site-header__inner {
    min-height: 82px;
  }

  .primary-navigation {
    top: 82px;
  }

  .site-branding__name {
    font-size: 0.98rem;
  }

  .site-branding__mark {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .footer-badges {
    grid-template-columns: 1fr;
  }

  .footer-badges img {
    max-width: 170px;
  }
}

/* SHARED LOGO MAP REFINEMENTS */

.site-branding__image {
  display: block;
  line-height: 0;
}

.site-branding__image img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 105px;
  object-fit: contain;
}

.footer-map {
  position: relative;
  display: block;
  min-height: 185px;
  padding: 0;
  overflow: hidden;
}

.footer-map iframe {
  display: block;
  width: 100%;
  min-height: 185px;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .site-branding__image img {
    max-width: 115px;
    max-height: 80px;
  }

  .footer-map,
  .footer-map iframe {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .site-branding__image img {
    max-width: 96px;
    max-height: 70px;
  }
}


/* GLOBAL HEADER FOOTER POLISH V1 */

/* Header sizing */

.site-header__inner {
  min-height: 86px;
}

.site-branding__image img {
  max-width: 165px;
  max-height: 110px;
}

.primary-menu {
  gap: 24px;
}

.primary-menu a {
  font-size: 0.98rem;
}

.site-header__cta {
  padding: 12px 22px;
  font-size: 0.94rem;
}

/* Footer polish */

.site-footer__main {
  align-items: center;
}

.footer-badges {
  align-items: center;
  gap: 24px;
}

.footer-badges img {
  opacity: 0.72;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}

.footer-badges img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-social a {
  opacity: 0.78;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-address {
  line-height: 1.75;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 78px;
  }

  .site-branding__image img {
    max-width: 135px;
    max-height: 92px;
  }

  .primary-menu a {
    font-size: 0.94rem;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 72px;
  }

  .site-branding__image img {
    max-width: 110px;
    max-height: 76px;
  }

  .site-header__cta {
    padding: 11px 16px;
    font-size: 0.9rem;
  }

  .footer-badges {
    gap: 16px;
  }

  .footer-badges img {
    opacity: 0.8;
  }
}

/* TRANSPARENT FOOTER LOGOS V2 */

.footer-badges img {
  opacity: 1 !important;
  filter: none !important;
  background: transparent !important;
}

.footer-badges img:hover {
  opacity: 1 !important;
}


/* GLOBAL PILL AND BUTTON CENTERING V1 */

.im-button,
.wp-block-button__link,
.site-header__cta,
.im-team-card__coming {
  display: inline-flex !important;
  width: auto;
  height: auto;
  min-height: 48px;
  box-sizing: border-box;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 24px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  vertical-align: middle;
  white-space: normal;
}

.site-header__cta {
  min-height: 44px;
  padding: 10px 22px !important;
  white-space: nowrap;
}

.im-team-card__coming {
  min-height: 44px;
  padding: 9px 20px !important;
}

.im-home-actions,
.im-contact-actions,
.im-bio-actions {
  align-items: center;
}

.im-home-actions .im-button,
.im-contact-actions .im-button,
.im-bio-actions .im-button {
  align-self: center;
}

.im-contact-detail__icon,
.im-contact-option__icon,
.im-contact-method__icon,
.im-home-feature__icon,
.footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

@media (max-width: 620px) {
  .im-button,
  .wp-block-button__link {
    min-height: 48px;
    padding: 11px 20px !important;
  }

  .site-header__cta {
    min-height: 42px;
    padding: 9px 17px !important;
  }
}


/* FINAL MOBILE GLOBAL POLISH V1 */

@media (max-width: 980px) {
  /*
   * The global button-centering rule used !important, which
   * accidentally made this desktop CTA visible on mobile.
   * The hero already contains the same action.
   */
  .site-header__cta {
    display: none !important;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .site-branding__image img {
    max-width: 125px;
    max-height: 76px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    place-items: center;
  }

  .primary-navigation {
    top: 76px;
  }

  .site-footer__main {
    padding-top: 52px;
    padding-bottom: 30px;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 70px;
  }

  .site-branding__image img {
    max-width: 112px;
    max-height: 68px;
  }

  .primary-navigation {
    top: 70px;
  }

  /*
   * Keep the three credential badges together instead of
   * stacking them into three oversized rows.
   */
  .footer-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-badges img {
    width: auto;
    max-width: 100%;
    max-height: 105px;
  }

  .footer-social {
    justify-content: center;
    margin-top: 18px;
  }

  .footer-contact {
    gap: 16px;
  }

  .footer-map,
  .footer-map iframe {
    min-height: 180px;
    height: 180px;
  }

  .footer-address {
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .footer-contact--address-only {
    max-width: none;
    justify-self: stretch;
    text-align: center;
  }

  .site-footer__bottom {
    padding-top: 16px;
    padding-bottom: 22px;
  }
}


/* DEFINITIVE MOBILE HEADER FIX V2 */

@media (max-width: 980px) {
  .site-header__inner {
    display: grid !important;
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-rows: 1fr !important;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  header.site-header .site-header__cta,
  header.site-header a.site-header__cta,
  header.site-header a[href*="care.headway.co"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  .site-branding {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center;
  }

  .menu-toggle {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center;
    justify-self: end;
  }

  .primary-navigation {
    top: 72px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 68px;
  }

  .primary-navigation {
    top: 68px;
  }

  .footer-map,
  .footer-map iframe {
    height: 165px;
    min-height: 165px;
  }
}


/* MOBILE READABILITY FINISH V3 */

@media (max-width: 640px) {
  body {
    font-size: 16.5px;
  }

  .site-branding__image img {
    max-width: 126px;
    max-height: 72px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .im-button,
  .wp-block-button__link {
    min-height: 46px;
    padding: 11px 19px !important;
    font-size: 0.91rem;
    line-height: 1.25 !important;
  }

  .footer-badges img {
    max-height: 92px;
  }

  .footer-map,
  .footer-map iframe {
    height: 150px;
    min-height: 150px;
  }

  .footer-address {
    margin-top: 2px;
    font-size: 0.94rem;
  }

  .site-footer__main {
    padding-top: 42px;
    gap: 22px;
  }

  .site-footer__bottom {
    padding-top: 12px;
    padding-bottom: 18px;
  }
}

/* MOBILE LOGO SIZE FINISH V1 */

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 74px;
  }

  .site-branding__image img {
    max-width: 145px;
    max-height: 80px;
  }

  .primary-navigation {
    top: 74px;
  }
}

/* FOOTER SOCIAL LOCATION FINISH V1 */

.footer-location {
  min-width: 0;
}

.footer-social {
  display: flex;
  margin-top: 14px;
  justify-content: flex-start;
  gap: 9px;
}

.footer-social a {
  display: inline-flex !important;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff;
  background: var(--im-teal);
  border-radius: 50%;
  opacity: 1;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus {
  color: #ffffff;
  background: var(--im-teal-dark);
  transform: translateY(-1px);
}

.footer-social svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-contact--address-only .footer-social {
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .footer-location {
    text-align: center;
  }

  .footer-social,
  .footer-contact--address-only .footer-social {
    justify-content: center;
  }
}


/* FINAL GLOBAL HOME POLISH V4 */

/* Header */

.site-header__inner {
  min-height: 92px;
}

.site-branding__image img {
  max-width: 176px;
  max-height: 112px;
}

.primary-menu {
  gap: clamp(20px, 2vw, 31px);
}

.primary-menu a {
  font-size: 0.95rem;
}

.site-header__cta {
  min-width: 170px;
}

/* Global button consistency */

.im-button,
.wp-block-button__link {
  min-width: 150px;
}

.im-button--outline {
  background: rgba(255, 255, 255, 0.2);
}

/* Footer */

.site-footer__main {
  padding-top: 62px;
  padding-bottom: 42px;
  gap: clamp(44px, 7vw, 90px);
}

.footer-badges {
  gap: clamp(20px, 3vw, 34px);
}

.footer-badges img {
  max-width: 180px;
  max-height: 135px;
}

.footer-contact {
  align-items: center;
}

.footer-map {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(38, 48, 46, 0.12);
}

.footer-location {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  justify-content: center;
}

.footer-address {
  margin: 0;
  font-style: normal;
  line-height: 1.75;
}

.footer-address strong {
  display: inline-block;
  margin-top: 5px;
}

.footer-social {
  margin-top: 16px;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  padding-top: 17px;
  padding-bottom: 24px;
}

/* Tablet */

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 76px;
  }

  .site-branding__image img {
    max-width: 145px;
    max-height: 82px;
  }

  .primary-navigation {
    top: 76px;
  }

  .site-footer__main {
    padding-top: 50px;
  }
}

/* Phone */

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 76px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .site-branding__image img {
    max-width: 154px;
    max-height: 84px;
  }

  .primary-navigation {
    top: 76px;
  }

  .im-button,
  .wp-block-button__link {
    min-width: 155px;
  }

  .site-footer__main {
    padding-top: 40px;
    padding-bottom: 27px;
    gap: 24px;
  }

  .footer-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-badges img {
    width: auto;
    max-width: 100%;
    max-height: 88px;
  }

  .footer-contact {
    gap: 14px;
  }

  .footer-map,
  .footer-map iframe {
    height: 145px;
    min-height: 145px;
  }

  .footer-location {
    align-items: center;
    text-align: center;
  }

  .footer-address {
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
  }

  .footer-social {
    margin-top: 13px;
    justify-content: center;
  }

  .footer-social a {
    width: 37px;
    height: 37px;
  }

  .site-footer__bottom {
    padding-top: 12px;
    padding-bottom: 18px;
  }
}

/* SAFE SCHEDULING POLISH V3 START */

/*
 * CSS-only Scheduling polish.
 * Existing HTML and WordPress page content remain unchanged.
 */

.im-scheduling-page {
  background:
    linear-gradient(
      180deg,
      #f8e6a9 0%,
      #fbf2d6 100%
    );
}

.im-scheduling {
  min-height: 0 !important;
  padding: clamp(52px, 6vw, 78px) 20px !important;
}

.im-scheduling > .im-shell {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}

.im-scheduling-card {
  display: grid !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 auto !important;

  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr) !important;

  align-items: stretch !important;
  overflow: hidden !important;

  background: rgba(255, 253, 245, 0.95) !important;
  border: 1px solid rgba(47, 127, 146, 0.12) !important;
  border-radius: 24px !important;

  box-shadow:
    0 22px 58px rgba(74, 78, 61, 0.14) !important;
}

/* Image column */

.im-scheduling-card__image {
  position: relative !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.im-scheduling-card__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 660px !important;
  max-height: 720px !important;

  object-fit: cover !important;
  object-position: center 52% !important;
}

/* Content column */

.im-scheduling-card__content {
  display: flex !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 660px !important;

  padding:
    clamp(40px, 5vw, 62px)
    clamp(34px, 5vw, 58px) !important;

  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
}

.im-scheduling-card__content .im-eyebrow {
  margin: 0 0 14px !important;

  color: #16768b !important;

  font-size: 0.76rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.im-scheduling-card__content h1 {
  max-width: 600px !important;
  margin: 0 auto 20px !important;

  color: #197b8f !important;

  font-size: clamp(3rem, 5vw, 4.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;

  text-wrap: balance;
}

.im-scheduling-card__content .im-lead {
  max-width: 530px !important;
  margin: 0 auto 15px !important;

  color: #3e403b !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif !important;

  font-size: clamp(1.3rem, 2.1vw, 1.7rem) !important;
  line-height: 1.45 !important;
}

.im-scheduling-card__content > p:not(
  .im-eyebrow,
  .im-lead
) {
  max-width: 540px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  color: #34494d !important;

  font-size: 1rem !important;
  line-height: 1.67 !important;
}

/* Primary scheduling button */

.im-scheduling-card__content .im-button {
  display: inline-flex !important;
  box-sizing: border-box !important;

  min-height: 52px !important;
  margin: 11px auto 0 !important;
  padding: 0 27px !important;

  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;

  box-shadow:
    0 10px 25px rgba(52, 126, 145, 0.18) !important;
}

/*
 * Improve existing phone and email rows without changing markup.
 * This targets only wrappers whose direct child is a tel/mail link.
 */

.im-scheduling-card__content
*:has(> a[href^="tel:"]),

.im-scheduling-card__content
*:has(> a[href^="mailto:"]) {
  display: flex !important;
  box-sizing: border-box !important;

  width: min(100%, 510px) !important;
  min-height: 58px !important;
  margin: 6px auto !important;
  padding: 9px 15px !important;

  align-items: center !important;
  gap: 13px !important;

  color: #17778b !important;
  background: rgba(255, 255, 255, 0.74) !important;

  border:
    1px solid rgba(47, 127, 146, 0.14) !important;

  border-radius: 12px !important;

  text-align: left !important;
}

/* Existing T and E circles */

.im-scheduling-card__content
*:has(> a[href^="tel:"])
> span,

.im-scheduling-card__content
*:has(> a[href^="mailto:"])
> span {
  display: inline-flex !important;

  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;

  align-items: center !important;
  justify-content: center !important;

  color: #ffffff !important;
  background: #55a9bd !important;

  border-radius: 50% !important;

  font-size: 0.8rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.im-scheduling-card__content a[href^="tel:"],
.im-scheduling-card__content a[href^="mailto:"] {
  min-width: 0 !important;

  color: #17778b !important;

  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;

  overflow-wrap: anywhere !important;
}

/* Email safety note */

.im-scheduling-note {
  box-sizing: border-box !important;

  width: min(100%, 510px) !important;
  margin: 22px auto 0 !important;
  padding: 17px 19px !important;

  color: #405156 !important;
  background: rgba(220, 238, 239, 0.58) !important;

  border-left: 4px solid #50a9bc !important;
  border-radius: 9px !important;

  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.im-scheduling-note strong {
  display: block !important;
  margin-bottom: 4px !important;

  color: #263f45 !important;
}

.im-scheduling-note p {
  margin: 0 !important;
}

/* Tablet */

@media (max-width: 900px) {
  .im-scheduling {
    padding:
      40px
      14px
      48px !important;
  }

  .im-scheduling-card {
    grid-template-columns: 1fr !important;
  }

  .im-scheduling-card__content {
    order: 1 !important;
    min-height: 0 !important;
    padding:
      46px
      34px !important;
  }

  .im-scheduling-card__image {
    order: 2 !important;
    height: 390px !important;
  }

  .im-scheduling-card__image img {
    min-height: 390px !important;
    max-height: 390px !important;
    object-position: center 58% !important;
  }
}

/* Phone */

@media (max-width: 640px) {
  .im-scheduling {
    padding:
      27px
      8px
      38px !important;
  }

  .im-scheduling-card {
    border-radius: 18px !important;
  }

  .im-scheduling-card__content {
    padding:
      34px
      17px
      37px !important;
  }

  .im-scheduling-card__content .im-eyebrow {
    margin-bottom: 12px !important;

    font-size: 0.67rem !important;
    letter-spacing: 0.1em !important;
  }

  .im-scheduling-card__content h1 {
    margin-bottom: 18px !important;

    font-size:
      clamp(2.45rem, 12vw, 3.15rem) !important;
  }

  .im-scheduling-card__content .im-lead {
    margin-bottom: 14px !important;
    font-size: 1.25rem !important;
  }

  .im-scheduling-card__content > p:not(
    .im-eyebrow,
    .im-lead
  ) {
    font-size: 0.96rem !important;
    line-height: 1.62 !important;
  }

  .im-scheduling-card__content .im-button {
    width: min(100%, 300px) !important;
    min-height: 50px !important;
    padding: 0 18px !important;
  }

  .im-scheduling-card__content
  *:has(> a[href^="tel:"]),

  .im-scheduling-card__content
  *:has(> a[href^="mailto:"]) {
    min-height: 56px !important;
    padding: 9px 12px !important;
    gap: 10px !important;
  }

  .im-scheduling-card__content
  *:has(> a[href^="tel:"])
  > span,

  .im-scheduling-card__content
  *:has(> a[href^="mailto:"])
  > span {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }

  .im-scheduling-card__content a[href^="tel:"],
  .im-scheduling-card__content a[href^="mailto:"] {
    font-size: 0.9rem !important;
  }

  .im-scheduling-note {
    margin-top: 20px !important;
    padding: 15px 16px !important;
    font-size: 0.89rem !important;
  }

  .im-scheduling-card__image {
    height: 280px !important;
  }

  .im-scheduling-card__image img {
    min-height: 280px !important;
    max-height: 280px !important;
    object-position: center 60% !important;
  }
}

/* SAFE SCHEDULING POLISH V3 END */

/* SCHEDULING IMAGE FILL V4 START */

@media (min-width: 901px) {
  .im-scheduling-card__image {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
    overflow: hidden !important;
  }

  .im-scheduling-card__image img {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center 52% !important;
  }
}

/* SCHEDULING IMAGE FILL V4 END */

/* SCHEDULING CONTACT PILL CENTERING V5 START */

.im-scheduling-card__content a[href^="tel:"],
.im-scheduling-card__content a[href^="mailto:"] {
  display: flex !important;
  box-sizing: border-box !important;

  width: 100% !important;
  height: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;

  align-self: stretch !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1.2 !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .im-scheduling-card__content a[href^="tel:"],
  .im-scheduling-card__content a[href^="mailto:"] {
    min-height: 38px !important;
    padding: 0 10px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* SCHEDULING CONTACT PILL CENTERING V5 END */

/* SCHEDULING CONTACT ROWS V2 START */

/*
 * Final Scheduling-page contact rows.
 * Corrects icon centering and neutralizes WordPress paragraph
 * wrappers without changing the page HTML.
 */

.im-scheduling-card__content .im-contact-methods {
  display: grid !important;

  width: min(100%, 510px) !important;
  margin: 0 auto !important;

  grid-template-columns: 1fr !important;
  gap: 11px !important;
}

.im-scheduling-card__content .im-contact-method {
  --im-method-icon: none;

  display: grid !important;
  box-sizing: border-box !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 72px !important;

  margin: 0 !important;
  padding: 11px 14px !important;

  grid-template-columns:
    46px
    minmax(0, 1fr) !important;

  align-items: center !important;
  gap: 14px !important;

  background: rgba(255, 255, 255, 0.8) !important;

  border:
    1px solid rgba(47, 127, 146, 0.16) !important;

  border-radius: 14px !important;

  box-shadow:
    0 6px 17px rgba(55, 94, 101, 0.06) !important;
}

/* Neutralize the auto-generated paragraph wrappers. */

.im-scheduling-card__content
.im-contact-method > p,

.im-scheduling-card__content
.im-contact-method
> *:has(> a[href^="tel:"]),

.im-scheduling-card__content
.im-contact-method
> *:has(> a[href^="mailto:"]) {
  display: contents !important;

  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Icon chip */

.im-scheduling-card__content
.im-contact-method__icon {
  position: relative !important;

  display: block !important;
  box-sizing: border-box !important;

  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;

  margin: 0 !important;
  padding: 0 !important;

  place-self: center !important;

  color: transparent !important;
  background: #e8f4f6 !important;

  border:
    1px solid rgba(52, 145, 166, 0.25) !important;

  border-radius: 13px !important;

  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;

  overflow: hidden !important;
}

.im-scheduling-card__content
.im-contact-method__icon br {
  display: none !important;
}

.im-scheduling-card__content
.im-contact-method__icon::before {
  position: absolute !important;
  inset: 0 !important;

  display: block !important;

  width: 21px !important;
  height: 21px !important;

  margin: auto !important;

  content: "" !important;
  background: #277f94 !important;

  text-indent: 0 !important;

  -webkit-mask-image: var(--im-method-icon) !important;
  mask-image: var(--im-method-icon) !important;

  -webkit-mask-position: center !important;
  mask-position: center !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;

  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

/* Phone */

.im-scheduling-card__content
.im-contact-method:first-of-type {
  --im-method-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* Email */

.im-scheduling-card__content
.im-contact-method:last-of-type {
  --im-method-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

/* Link and text column */

.im-scheduling-card__content
.im-contact-method a[href^="tel:"],

.im-scheduling-card__content
.im-contact-method a[href^="mailto:"] {
  display: flex !important;
  box-sizing: border-box !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: auto !important;

  margin: 0 !important;
  padding: 1px 5px !important;

  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;

  color: #17778b !important;
  background: transparent !important;

  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;

  text-align: left !important;
  text-decoration: none !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

.im-scheduling-card__content
.im-contact-method a::before {
  display: block !important;

  margin: 0 0 4px !important;

  color: #536a70 !important;

  font-size: 0.68rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.im-scheduling-card__content
.im-contact-method:first-of-type a::before {
  content: "Call" !important;
}

.im-scheduling-card__content
.im-contact-method:last-of-type a::before {
  content: "Email" !important;
}

.im-scheduling-card__content
.im-contact-method a strong {
  color: inherit !important;
  font: inherit !important;
}

/* Mobile */

@media (max-width: 640px) {
  .im-scheduling-card__content .im-contact-method {
    min-height: 66px !important;
    padding: 9px 11px !important;

    grid-template-columns:
      42px
      minmax(0, 1fr) !important;

    gap: 11px !important;
  }

  .im-scheduling-card__content
  .im-contact-method__icon {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;

    border-radius: 12px !important;
  }

  .im-scheduling-card__content
  .im-contact-method__icon::before {
    width: 19px !important;
    height: 19px !important;
  }

  .im-scheduling-card__content
  .im-contact-method a[href^="tel:"],

  .im-scheduling-card__content
  .im-contact-method a[href^="mailto:"] {
    min-height: 42px !important;

    padding: 0 3px !important;

    font-size: 0.9rem !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* SCHEDULING CONTACT ROWS V2 END */

/* LYNNA HERO BACKGROUND IMAGE START */

/*
 * Calm landscape hero for the Counselors page.
 * The darker center treatment keeps the white title readable.
 */

body.page-id-11 .im-counselor-hero,
body.page-id-11 .im-counselor-banner,
body.page-id-11 .im-page-hero,
body.page-id-11 .im-hero,
body.page-id-11 .im-hero-banner,
body.page-id-11 .im-counselor-profile-hero,
body.page-id-11 .im-counselor-detail-hero,
body.page-id-11 main section:has(h1),
body.page-id-11 .site-main section:has(h1) {
  background-image:
    linear-gradient(
      180deg,
      rgba(15, 31, 28, 0.25),
      rgba(15, 31, 28, 0.51)
    ),
    url(
      "/wp-content/themes/inner-moxie/assets/images/inner-moxie-counselors-hero.webp"
    ) !important;

  background-position:
    center center !important;

  background-size:
    cover !important;

  background-repeat:
    no-repeat !important;

  background-attachment:
    scroll !important;
}

@media (max-width: 760px) {
  body.page-id-11 .im-counselor-hero,
  body.page-id-11 .im-counselor-banner,
  body.page-id-11 .im-page-hero,
  body.page-id-11 .im-hero,
  body.page-id-11 .im-hero-banner,
  body.page-id-11 .im-counselor-profile-hero,
  body.page-id-11 .im-counselor-detail-hero,
  body.page-id-11 main section:has(h1),
  body.page-id-11 .site-main section:has(h1) {
    background-position:
      62% center !important;
  }
}

/* LYNNA HERO BACKGROUND IMAGE END */
