/*
 * Modular location page styles (WL-0098).
 * Ported from the client-approved modular mockup (artifacts/shared/location-article-mockups-2026-10-01).
 * Every rule is scoped under .hc-location-modular so nothing leaks into other templates.
 * Module codes (M01 to M20) appear in class names such as hc-mod--m05.
 */

/* Tokens, base and shared building blocks live in css/hc-shared.css (shared with the article
   template, WL-0097). */

/* ---------- M01 location strip ---------- */

/* Slim strip under the global header. Its padding is the header's own --header-padding, so its
   content lines up with the header's logo and buttons at every width. */
.hc-location-modular .hc-locbar {
  background: var(--hc-aqua);
}

.hc-location-modular .hc-locbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  min-height: 40px;
  margin: 0;
  padding: var(--header-padding);
  color: var(--hc-teal-deep);
  font-size: 14px;
  line-height: 24px;
}

.hc-location-modular .hc-locbar__label {
  color: var(--hc-slate);
  font-weight: 600;
}

.hc-location-modular .hc-locbar__change {
  font-weight: 600;
}

/* ---------- Global header on this template only ---------- */

/* "Get started" and the phone button as pills, matching the page's buttons. Other pages keep
   the header's square buttons. */
.hc-location-modular-page .site-header .header-button,
.hc-location-modular-page .mobile-menu__buttons .header-button {
  border-radius: 999px;
}

/* ---------- M02 hero and M03 director chip ---------- */

.hc-location-modular .hc-hero {
  position: relative;
  overflow: hidden;
  background: var(--hc-white);
}

.hc-location-modular .hc-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.hc-location-modular .hc-hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 92%) 45%, rgb(255 255 255 / 55%) 100%);
}

.hc-location-modular .hc-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 544px);
  gap: 48px;
  padding-block: 56px 72px;
}

.hc-location-modular .hc-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.hc-location-modular .hc-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.hc-location-modular .hc-hero__crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hc-location-modular .hc-hero__crumb-current {
  color: var(--hc-slate);
  font-weight: 600;
}

.hc-location-modular .hc-hero__copy .hc-eyebrow {
  margin: 0;
}

.hc-location-modular .hc-hero h1 {
  color: var(--hc-slate);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.13;
  text-wrap: balance;
}

.hc-location-modular .hc-chipcard {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding: 14px 18px;
  background: var(--hc-white);
  border: 1px solid var(--hc-line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgb(58 63 70 / 10%);
}

.hc-location-modular .hc-chipcard img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: 50% 15%;
  background: var(--hc-aqua);
  border-radius: 50%;
}

.hc-location-modular .hc-chipcard__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

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

.hc-location-modular .hc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* The real intake form sits in a plain shell, as on the concept template. */
.hc-location-modular .hc-form-shell {
  position: relative;
  isolation: isolate;
  z-index: 0;
  width: 100%;
  min-width: 0;
  align-self: start;
  scroll-margin-top: 24px;
}

.hc-location-modular .hc-form-shell .hc-intake-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: var(--hc-radius);
  box-shadow: 0 8px 24px rgb(58 63 70 / 10%);
}

.hc-location-modular .hc-form-shell .hc-intake-card * {
  max-width: 100%;
}

.hc-location-modular .hc-form-fallback {
  padding: 32px;
  background: var(--hc-white);
  border-radius: var(--hc-radius);
  box-shadow: 0 8px 24px rgb(58 63 70 / 10%);
}

.hc-location-modular .hc-form-fallback h2 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.2;
}

.hc-location-modular .hc-form-fallback p {
  margin-bottom: 18px;
  color: var(--hc-grey);
}

/* ---------- M04 trust strip ---------- */

.hc-location-modular .hc-trust {
  padding-block: 40px;
  background: var(--hc-aqua);
}

.hc-location-modular .hc-trust__card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 32px;
}

.hc-location-modular .hc-trust__item {
  display: flex;
  gap: 14px;
}

.hc-location-modular .hc-trust__item strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.hc-location-modular .hc-trust__item .hc-muted {
  display: block;
}

/* ---------- M05 director profile and M05+ ---------- */

.hc-location-modular .hc-director {
  padding-block: 80px 88px;
  background: var(--hc-aqua);
}

.hc-location-modular .hc-director__inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.hc-location-modular .hc-director__inner--nophoto {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-director__photo {
  overflow: hidden;
  background: #eef0f1;
  border-radius: var(--hc-radius);
}

.hc-location-modular .hc-director__photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 0%;
}

.hc-location-modular .hc-director__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hc-location-modular .hc-richtext p + p {
  margin-top: 1em;
}

.hc-location-modular .hc-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hc-location-modular .hc-credentials__card,
.hc-location-modular .hc-approach {
  padding: 18px 20px;
  background: var(--hc-white);
  border-radius: 18px;
}

.hc-location-modular .hc-credentials__card .hc-body {
  margin-top: 6px;
}

.hc-location-modular .hc-approach__title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.hc-location-modular .hc-director__quote {
  margin-top: 6px;
  /* HomeCaring blue, as for every quote and heading accent (CLAUDE.md "Brand rules"). */
  color: var(--hc-cyan);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
}

.hc-location-modular .hc-director__caption {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- M06 key suburbs ---------- */

.hc-location-modular .hc-suburbs {
  padding-block: 96px 48px;
}

.hc-location-modular .hc-suburbs__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px;
  padding: 48px;
}

.hc-location-modular .hc-suburbs__card--nophoto {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-suburbs__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.hc-location-modular .hc-suburbs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hc-location-modular .hc-suburbs__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--hc-aqua);
  border-radius: 16px;
}

.hc-location-modular .hc-suburbs__list .hc-muted {
  text-align: right;
}

.hc-location-modular .hc-suburbs__photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--hc-radius);
}

/* ---------- M07 languages and communities ---------- */

.hc-location-modular .hc-languages {
  padding-block: 48px 72px;
}

.hc-location-modular .hc-languages__box {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--hc-aqua);
  border: 1px solid var(--hc-aqua-line);
  border-radius: var(--hc-radius);
}

.hc-location-modular .hc-languages__note {
  margin-top: 16px;
  color: var(--hc-grey);
}

/* ---------- M08 services and M09 specialist experience ---------- */

.hc-location-modular .hc-services {
  padding-block: 72px;
  background: var(--hc-soft);
}

.hc-location-modular .hc-services__head {
  max-width: 660px;
  margin-bottom: 36px;
}

.hc-location-modular .hc-services__head .hc-lead {
  margin-top: 12px;
}

.hc-location-modular .hc-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.hc-location-modular .hc-services__tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--hc-aqua);
  border-radius: 22px;
}

.hc-location-modular .hc-services__tile h3 {
  margin: 16px 0 6px;
  font-size: 20px;
  line-height: 1.3;
}

.hc-location-modular .hc-services__tile h3 a {
  color: var(--hc-slate);
  text-decoration: none;
}

.hc-location-modular .hc-services__tile h3 a:hover {
  color: var(--hc-teal-deep);
  text-decoration: underline;
}

.hc-location-modular .hc-services__tile .hc-muted {
  font-size: 15px;
}

.hc-location-modular .hc-services__also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hc-location-modular .hc-services__also-label {
  color: var(--hc-slate);
  font-weight: 600;
}

.hc-location-modular .hc-specialist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 28px;
  padding: 28px 32px;
}

.hc-location-modular .hc-services__head + .hc-specialist,
.hc-location-modular .hc-wrap > .hc-specialist:first-child {
  margin-top: 0;
}

.hc-location-modular .hc-specialist--single {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-specialist__title {
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.3;
}

.hc-location-modular .hc-specialist__health {
  margin-top: 8px;
  font-size: 15px;
}

/* ---------- M10 getting started ---------- */

.hc-location-modular .hc-steps {
  padding-block: 72px;
}

.hc-location-modular .hc-steps__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 64px;
  align-items: stretch;
}

.hc-location-modular .hc-steps__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hc-location-modular .hc-steps__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hc-location-modular .hc-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--hc-aqua);
  border-radius: 20px;
}

.hc-location-modular .hc-steps__item strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.hc-location-modular .hc-steps__item .hc-muted {
  display: block;
  font-size: 15px;
}

.hc-location-modular .hc-steps__num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--hc-btn-text);
  background: var(--hc-cyan);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
}

.hc-location-modular .hc-steps__photo {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--hc-radius);
}

/* ---------- M11 concerns and M11b unmet needs ---------- */

.hc-location-modular .hc-concerns {
  padding-block: 88px;
  background: var(--hc-aqua);
}

.hc-location-modular .hc-concerns__head {
  margin-bottom: 16px;
  text-align: center;
}

.hc-location-modular .hc-concerns__intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.hc-location-modular .hc-concerns__grid {
  display: grid;
  grid-template-columns: repeat(var(--hc-cols, 4), minmax(0, 1fr));
  text-align: center;
}

.hc-location-modular .hc-concerns__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-right: 1px solid var(--hc-aqua-line);
}

.hc-location-modular .hc-concerns__col:last-child {
  border-right: 0;
}

.hc-location-modular .hc-concerns__col h3 {
  font-size: 18px;
  line-height: 1.3;
}

.hc-location-modular .hc-concerns__col .hc-muted {
  font-size: 15px;
}

.hc-location-modular .hc-concerns__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  color: var(--hc-cyan);
  background: var(--hc-white);
  border-radius: 50%;
}

.hc-location-modular .hc-unmet {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 44px;
  padding: 28px 32px;
}

.hc-location-modular .hc-concerns__head + .hc-unmet,
.hc-location-modular .hc-wrap > .hc-unmet:first-child {
  margin-top: 0;
}

.hc-location-modular .hc-unmet__title {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.3;
}

/* ---------- M12 local stories ---------- */

.hc-location-modular .hc-stories {
  padding-block: 96px 48px;
}

.hc-location-modular .hc-stories__head {
  margin-bottom: 32px;
}

.hc-location-modular .hc-stories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hc-location-modular .hc-stories__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--hc-aqua);
  border: 1px solid var(--hc-aqua-line);
  border-radius: var(--hc-radius);
}

.hc-location-modular .hc-stories__type {
  color: var(--hc-teal-deep);
  font-size: 14px;
  font-weight: 700;
}

.hc-location-modular .hc-stories__card h3 {
  font-size: 22px;
  line-height: 1.3;
}

/* ---------- M13 testimonials ---------- */

.hc-location-modular .hc-testimonials {
  padding-block: 48px 96px;
}

.hc-location-modular .hc-testimonials__head {
  margin-bottom: 28px;
}

.hc-location-modular .hc-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hc-location-modular .hc-testimonials__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--hc-white);
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
}

.hc-location-modular .hc-testimonials__concern {
  color: var(--hc-teal-deep);
  font-size: 14px;
  font-weight: 700;
}

.hc-location-modular .hc-testimonials__card blockquote {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.hc-location-modular .hc-testimonials__card figcaption {
  margin-top: auto;
}

/* ---------- M14 day programs ---------- */

.hc-location-modular .hc-programs {
  padding-block: 88px;
  background: var(--hc-soft);
}

.hc-location-modular .hc-programs__head {
  margin-bottom: 28px;
}

.hc-location-modular .hc-programs__head .hc-lead {
  max-width: 640px;
  margin-top: 12px;
}

.hc-location-modular .hc-programs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hc-location-modular .hc-programs__card {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  overflow: hidden;
}

.hc-location-modular .hc-programs__card--nophoto {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-programs__card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.hc-location-modular .hc-programs__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
}

.hc-location-modular .hc-programs__text h3 {
  font-size: 21px;
  line-height: 1.3;
}

.hc-location-modular .hc-programs__text .hc-body {
  font-size: 15px;
}

.hc-location-modular .hc-programs__details {
  color: #075c4f;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- M15 community, partners and team photos ---------- */

.hc-location-modular .hc-community {
  padding-block: 88px;
  background: var(--hc-aqua);
}

.hc-location-modular .hc-community__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

.hc-location-modular .hc-community__inner--single {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-community__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hc-location-modular .hc-community__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hc-location-modular .hc-community__photos img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
}

.hc-location-modular .hc-community__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hc-location-modular .hc-community__items li {
  padding: 20px 22px;
  background: var(--hc-white);
  border: 1px solid var(--hc-line);
  border-radius: 20px;
}

.hc-location-modular .hc-community__items h3 {
  font-size: 17px;
  line-height: 1.35;
}

.hc-location-modular .hc-community__items .hc-muted {
  margin-top: 4px;
  font-size: 15px;
}

/* ---------- M16 FAQs and M17 contact card ---------- */

.hc-location-modular .hc-faqs {
  padding-block: 88px;
  background: var(--hc-soft);
}

.hc-location-modular .hc-faqs__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 56px;
  align-items: start;
}

.hc-location-modular .hc-faqs__inner--single {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-faqs__head {
  margin-bottom: 28px;
}

.hc-location-modular .hc-faqs__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hc-location-modular .hc-faqs__item {
  background: var(--hc-white);
  border-radius: 18px;
}

.hc-location-modular .hc-faqs__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.hc-location-modular .hc-faqs__item summary::-webkit-details-marker {
  display: none;
}

.hc-location-modular .hc-faqs__item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--hc-cyan);
  font-size: 24px;
  line-height: 1;
}

.hc-location-modular .hc-faqs__item[open] summary::after {
  content: "\2212";
}

.hc-location-modular .hc-faqs__answer {
  padding: 0 26px 22px;
  color: var(--hc-grey);
  font-size: 16px;
  line-height: 1.6;
}

.hc-location-modular .hc-faqs__answer p + p {
  margin-top: 0.8em;
}

.hc-location-modular .hc-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 94px;
  padding: 30px;
}

.hc-location-modular .hc-faqs__inner--single .hc-contact {
  margin-top: 0;
}

.hc-location-modular .hc-contact__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.hc-location-modular .hc-contact__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--hc-slate);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.hc-location-modular .hc-contact__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

/* ---------- M18 local resources ---------- */

.hc-location-modular .hc-resources {
  padding-block: 80px 0;
}

.hc-location-modular .hc-resources__head {
  margin-bottom: 26px;
}

.hc-location-modular .hc-resources__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hc-location-modular .hc-resources__grid li {
  display: flex;
}

.hc-location-modular .hc-resources__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 22px;
  color: var(--hc-slate);
  border-radius: 20px;
  text-decoration: none;
}

.hc-location-modular .hc-resources__card:hover {
  color: var(--hc-slate);
  border-color: var(--hc-cyan);
}

.hc-location-modular .hc-resources__card strong {
  font-size: 17px;
  line-height: 1.35;
}

.hc-location-modular .hc-resources__host {
  margin-top: auto;
  color: var(--hc-teal-deep);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ---------- M19 closing call to action ---------- */

.hc-location-modular .hc-cta {
  padding-block: 64px;
}

.hc-location-modular .hc-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  /* The card's height comes from the text column; 380px keeps it compact on desktop. */
  min-height: 380px;
  overflow: hidden;
  color: var(--hc-white);
  background: var(--hc-slate);
  border-radius: var(--hc-radius);
}

.hc-location-modular .hc-cta__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 56px;
}

/* No photo at all: the text column takes the full width, with no empty box. */
.hc-location-modular .hc-cta__box:not(:has(.hc-cta__photo)) {
  grid-template-columns: minmax(0, 1fr);
}

.hc-location-modular .hc-cta .hc-h2 {
  color: var(--hc-white);
}

.hc-location-modular .hc-cta__text {
  max-width: 520px;
  color: var(--hc-aqua);
  font-size: 17px;
  line-height: 1.6;
}

.hc-location-modular .hc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* contain: size stops a tall portrait from setting the card's height; the photo then fills its
   column. Faces sit in the upper part of the portraits, so crop from 15% down. */
.hc-location-modular .hc-cta__photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  contain: size;
  object-fit: cover;
  object-position: center 15%;
}

.hc-location-modular .hc-cta__photo--portrait {
  background: #eef0f1;
}

/* ---------- M20 nearby locations ---------- */

.hc-location-modular .hc-nearby {
  padding-block: 56px;
  background: var(--hc-aqua);
}

.hc-location-modular .hc-nearby__title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.hc-location-modular .hc-nearby__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.hc-location-modular .hc-nearby__grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--hc-slate);
  background: var(--hc-white);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hc-location-modular .hc-nearby__grid a:hover {
  color: var(--hc-teal-deep);
}

.hc-location-modular .hc-nearby__grid a span:last-child {
  color: var(--hc-cyan);
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 900px) {
  .hc-location-modular .hc-hero__inner,
  .hc-location-modular .hc-director__inner,
  .hc-location-modular .hc-suburbs__card,
  .hc-location-modular .hc-languages__box,
  .hc-location-modular .hc-steps__inner,
  .hc-location-modular .hc-unmet,
  .hc-location-modular .hc-stories__grid,
  .hc-location-modular .hc-programs__grid,
  .hc-location-modular .hc-community__inner,
  .hc-location-modular .hc-faqs__inner,
  .hc-location-modular .hc-cta__box {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-location-modular .hc-hero__inner {
    gap: 36px;
    padding-block: 32px 48px;
  }

  .hc-location-modular .hc-trust__card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }

  .hc-location-modular .hc-director,
  .hc-location-modular .hc-concerns,
  .hc-location-modular .hc-community,
  .hc-location-modular .hc-faqs,
  .hc-location-modular .hc-programs {
    padding-block: 56px;
  }

  .hc-location-modular .hc-suburbs {
    padding-block: 56px 24px;
  }

  .hc-location-modular .hc-languages {
    padding-block: 24px 48px;
  }

  .hc-location-modular .hc-services,
  .hc-location-modular .hc-steps {
    padding-block: 48px;
  }

  .hc-location-modular .hc-stories {
    padding-block: 56px 24px;
  }

  .hc-location-modular .hc-testimonials {
    padding-block: 24px 56px;
  }

  .hc-location-modular .hc-resources {
    padding-block: 56px 0;
  }

  .hc-location-modular .hc-cta {
    padding-block: 40px;
  }

  .hc-location-modular .hc-director__photo img {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }

  .hc-location-modular .hc-suburbs__card,
  .hc-location-modular .hc-languages__box {
    padding: 28px;
    gap: 28px;
  }

  .hc-location-modular .hc-suburbs__photo {
    min-height: 240px;
    height: 280px;
  }

  .hc-location-modular .hc-steps__inner {
    gap: 32px;
  }

  .hc-location-modular .hc-steps__photo {
    min-height: 0;
    height: 320px;
  }

  .hc-location-modular .hc-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-location-modular .hc-concerns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
  }

  .hc-location-modular .hc-concerns__col {
    border-right: 0;
  }

  .hc-location-modular .hc-testimonials__grid,
  .hc-location-modular .hc-resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-location-modular .hc-nearby__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-location-modular .hc-contact {
    margin-top: 0;
  }

  .hc-location-modular .hc-specialist {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hc-location-modular .hc-cta__body {
    padding: 36px 28px;
  }

  .hc-location-modular .hc-cta__box {
    min-height: 0;
  }

  .hc-location-modular .hc-cta__photo {
    height: 280px;
  }

  /* A wide, short strip cannot hold a whole head from a tall portrait, so show the full portrait
     on its matching grey background instead of cropping it. */
  .hc-location-modular .hc-cta__photo--portrait {
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .hc-location-modular .hc-hero__actions .hc-pill {
    width: 100%;
  }

  .hc-location-modular .hc-trust__card,
  .hc-location-modular .hc-credentials,
  .hc-location-modular .hc-services__grid,
  .hc-location-modular .hc-concerns__grid,
  .hc-location-modular .hc-testimonials__grid,
  .hc-location-modular .hc-resources__grid,
  .hc-location-modular .hc-community__photos {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-location-modular .hc-nearby__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-location-modular .hc-programs__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-location-modular .hc-programs__card img {
    min-height: 0;
    height: 200px;
  }

  .hc-location-modular .hc-suburbs__list li {
    flex-direction: column;
    gap: 2px;
  }

  .hc-location-modular .hc-suburbs__list .hc-muted {
    text-align: left;
  }

  .hc-location-modular .hc-services__tile img {
    height: 200px;
  }

  .hc-location-modular .hc-faqs__item summary {
    padding: 18px 20px;
    font-size: 17px;
  }

  .hc-location-modular .hc-faqs__answer {
    padding: 0 20px 18px;
  }

  .hc-location-modular .hc-contact {
    padding: 24px;
  }

  .hc-location-modular .hc-cta__actions .hc-pill {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hc-location-modular,
  .hc-location-modular * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
