/* Hallmark · genre: editorial · macrostructure: Ecosystem Index · theme: Houseclinic quiet luxury · enrichment: existing photography · nav/footer: preserved · contrast: pass (40–41) · mobile: pass (34, 49–57) */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */

html,
body.hc-treatment-index {
  overflow-x: clip;
}

.hc-treatment-index {
  background: var(--treat-color-paper);
  color: var(--treat-color-ink);
  font-family: var(--treat-font-body);
}

.hc-treatment-index .hc-service {
  overflow: clip;
  background: var(--treat-color-paper);
}

.hc-treatment-index .hc-service-hero {
  position: relative;
  min-height: 46rem;
  padding: calc(var(--treat-space-3xl) + var(--treat-space-xl)) clamp(var(--treat-space-lg), 6vw, var(--treat-space-3xl)) calc(var(--treat-space-4xl) - var(--treat-space-xs));
  display: flex;
  align-items: center;
  background: var(--treat-color-paper-soft);
  isolation: isolate;
}

.hc-treatment-index .hc-service-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(var(--treat-space-3xl) + var(--treat-space-lg)) max(var(--treat-space-lg), 7vw) var(--treat-space-2xl) auto;
  width: min(34vw, 32rem);
  aspect-ratio: 4 / 5;
  border-radius: var(--treat-radius-arch);
  background: url("images/houseclinic-treatment-detail.png") 58% center / cover no-repeat;
  box-shadow: var(--treat-shadow);
}

.hc-treatment-index .hc-service-hero::after {
  content: "Houseclinic · Örebro";
  position: absolute;
  right: max(calc(var(--treat-space-lg) + var(--treat-space-sm)), 8.2vw);
  bottom: var(--treat-space-3xl);
  z-index: 1;
  padding: var(--treat-space-sm) var(--treat-space-md);
  border-radius: var(--treat-radius-sm);
  background: var(--treat-color-ink);
  color: var(--treat-color-paper);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hc-treatment-index .hc-service-hero .hc-inner {
  width: min(100%, 84rem);
  margin-inline: auto;
  padding-inline-end: min(42vw, 37rem);
}

.hc-treatment-index .hc-breadcrumb {
  margin: 0 0 var(--treat-space-3xl);
  color: var(--treat-color-muted);
  font-size: var(--treat-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hc-treatment-index .hc-kicker {
  margin: 0 0 var(--treat-space-lg) !important;
  color: var(--treat-color-gold);
  font-size: var(--treat-text-xs) !important;
  letter-spacing: 0.16em;
}

.hc-treatment-index .hc-service-hero .hc-title {
  max-width: 10ch;
  margin: 0;
  color: var(--treat-color-ink);
  font-family: var(--treat-font-display) !important;
  font-size: var(--treat-text-display) !important;
  font-style: normal;
  font-weight: 500 !important;
  letter-spacing: -0.045em;
  line-height: 0.88;
  overflow-wrap: anywhere;
  min-width: 0;
}

.hc-treatment-index .hc-service-hero .hc-lead {
  max-width: 34rem;
  margin: var(--treat-space-xl) 0 0;
  color: var(--treat-color-muted);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-md) !important;
  font-weight: 450;
  line-height: 1.6;
}

.hc-treatment-index .hc-related {
  padding: var(--treat-space-4xl) clamp(var(--treat-space-lg), 6vw, var(--treat-space-3xl));
  background: var(--treat-color-paper);
}

.hc-treatment-index .hc-related .hc-inner {
  width: min(100%, 80rem);
  max-width: none !important;
  margin-inline: auto;
}

.hc-treatment-index .hc-treatment-grid {
  counter-reset: treatment;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border: 0;
  border-top: var(--treat-rule);
  background: transparent;
}

.hc-treatment-index .hc-card,
.hc-treatment-index .hc-card:nth-child(1),
.hc-treatment-index .hc-card:nth-child(6) {
  counter-increment: treatment;
  position: relative;
  grid-column: span 6;
  min-width: 0;
  min-height: 11rem;
  padding: var(--treat-space-xl) var(--treat-space-xl) var(--treat-space-lg) var(--treat-space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
  border-bottom: var(--treat-rule);
  border-radius: 0;
  background: transparent;
  color: var(--treat-color-ink);
  box-shadow: none;
  transform: none;
}

.hc-treatment-index .hc-card:nth-child(even):not(:first-child) {
  border-inline-start: var(--treat-rule);
}

.hc-treatment-index .hc-card:nth-child(4n + 3):not(:first-child) {
  background: var(--treat-color-paper-soft);
}

.hc-treatment-index .hc-card:last-child {
  grid-column: 1 / -1;
  border-inline-start: 0;
}

.hc-treatment-index .hc-card::after {
  content: "→";
  position: absolute;
  top: var(--treat-space-xl);
  right: var(--treat-space-xl);
  color: var(--treat-color-gold);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-md);
  transition: transform var(--treat-dur-short) var(--treat-ease-out);
}

.hc-treatment-index .hc-card .hc-card-num {
  position: absolute;
  top: var(--treat-space-xl);
  left: var(--treat-space-xl);
  margin: 0;
  color: transparent;
  font-size: 0;
}

.hc-treatment-index .hc-card .hc-card-num::before {
  content: counter(treatment, decimal-leading-zero);
  color: var(--treat-color-gold);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-xs);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hc-treatment-index .hc-card h2 {
  margin: 0 3rem var(--treat-space-xs) 0;
  color: var(--treat-color-ink);
  font-family: var(--treat-font-display) !important;
  font-size: clamp(1.9rem, 3vw, var(--treat-text-2xl));
  font-style: normal;
  font-weight: 600 !important;
  letter-spacing: -0.035em;
  line-height: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}

.hc-treatment-index .hc-card h2 a {
  display: inline;
  color: inherit;
  text-decoration: none;
  white-space: normal;
}

.hc-treatment-index .hc-card h2 a:active {
  color: var(--treat-color-gold);
}

.hc-treatment-index .hc-card h2 a[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.hc-treatment-index .hc-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--treat-color-muted);
  font-size: var(--treat-text-base);
  line-height: 1.55;
}

.hc-treatment-index .hc-card:first-child {
  grid-column: 1 / -1;
  min-height: 31rem;
  padding: var(--treat-space-2xl);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: var(--treat-space-2xl);
  border-bottom: var(--treat-rule);
  background: var(--treat-color-sand);
}

.hc-treatment-index .hc-card:first-child::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 4;
  min-width: 0;
  border-radius: var(--treat-radius-md);
  background: url("images/houseclinic-hero.png") 64% center / cover no-repeat;
}

.hc-treatment-index .hc-card:first-child::after {
  top: var(--treat-space-2xl);
  right: var(--treat-space-2xl);
}

.hc-treatment-index .hc-card:first-child .hc-card-num {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.hc-treatment-index .hc-card:first-child h2 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-top: var(--treat-space-3xl);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
}

.hc-treatment-index .hc-card:first-child p {
  grid-column: 2;
  grid-row: 3;
  margin-top: var(--treat-space-md);
  color: var(--treat-color-muted);
}

.hc-treatment-index .hc-card a:focus-visible,
.hc-treatment-index .hc-breadcrumb a:focus-visible {
  outline: 2px solid var(--treat-color-focus) !important;
  outline-offset: 0.25rem;
}

@media (hover: hover) and (pointer: fine) {
  .hc-treatment-index .hc-card:hover::after,
  .hc-treatment-index .hc-card:focus-within::after {
    transform: translateX(0.3rem);
  }

  .hc-treatment-index .hc-card h2 a:hover {
    color: var(--treat-color-gold);
  }
}

@media (max-width: 60rem) {
  .hc-treatment-index .hc-service-hero {
    min-height: 41rem;
  }

  .hc-treatment-index .hc-service-hero::before {
    width: min(39vw, 25rem);
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    padding-inline-end: 42vw;
  }

  .hc-treatment-index .hc-card:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.75fr);
  }
}

@media (max-width: 48rem) {
  .hc-treatment-index .hc-service-hero {
    min-height: 0;
    padding: 4.125rem 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .hc-treatment-index .hc-service-hero::before {
    position: relative;
    z-index: -1;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: clamp(19rem, 68vw, 28rem);
    aspect-ratio: auto;
    border-radius: 0;
    background-position: 58% 40%;
    box-shadow: none;
  }

  .hc-treatment-index .hc-service-hero::after {
    display: none;
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding: var(--treat-space-xl) var(--treat-space-md) var(--treat-space-2xl);
  }

  .hc-treatment-index .hc-breadcrumb {
    margin-bottom: var(--treat-space-xl);
  }

  .hc-treatment-index .hc-service-hero .hc-title {
    max-width: 9ch;
    font-size: clamp(3.25rem, 15vw, 4.5rem) !important;
  }

  .hc-treatment-index .hc-service-hero .hc-lead {
    margin-top: var(--treat-space-lg);
    font-size: var(--treat-text-base) !important;
  }

  .hc-treatment-index .hc-related {
    padding: var(--treat-space-2xl) var(--treat-space-md) var(--treat-space-3xl);
  }

  .hc-treatment-index .hc-treatment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-treatment-index .hc-card,
  .hc-treatment-index .hc-card:nth-child(1),
  .hc-treatment-index .hc-card:nth-child(6),
  .hc-treatment-index .hc-card:last-child {
    grid-column: 1;
    min-height: 9.75rem;
    padding: var(--treat-space-xl) calc(var(--treat-space-xl) + var(--treat-space-sm)) var(--treat-space-lg) calc(var(--treat-space-xl) + var(--treat-space-xs));
    border-inline-start: 0;
  }

  .hc-treatment-index .hc-card:first-child {
    min-height: 0;
    padding: var(--treat-space-md);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(20rem, 58vh) auto auto auto;
    gap: 0;
  }

  .hc-treatment-index .hc-card:first-child::before {
    grid-column: 1;
    grid-row: 1;
    border-radius: var(--treat-radius-sm);
  }

  .hc-treatment-index .hc-card:first-child .hc-card-num {
    grid-column: 1;
    grid-row: 2;
    margin: var(--treat-space-xl) var(--treat-space-md) 0;
  }

  .hc-treatment-index .hc-card:first-child h2 {
    grid-column: 1;
    grid-row: 3;
    margin: var(--treat-space-sm) var(--treat-space-md) 0;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hc-treatment-index .hc-card:first-child p {
    grid-column: 1;
    grid-row: 4;
    margin: var(--treat-space-sm) var(--treat-space-md) var(--treat-space-lg);
  }

  .hc-treatment-index .hc-card:first-child::after {
    top: auto;
    right: var(--treat-space-lg);
    bottom: var(--treat-space-lg);
  }

  .hc-treatment-index .hc-card .hc-card-num {
    top: var(--treat-space-xl);
    left: 0;
  }

  .hc-treatment-index .hc-card::after {
    top: var(--treat-space-xl);
    right: 0;
  }

  .hc-treatment-index .hc-card h2 {
    margin-right: 0;
    font-size: clamp(1.8rem, 8.5vw, 2.5rem);
  }
}

@media (max-width: 23.5rem) {
  .hc-treatment-index .hc-service-hero .hc-title {
    font-size: clamp(3rem, 14vw, 3.9rem) !important;
  }

  .hc-treatment-index .hc-card:first-child {
    grid-template-rows: 18rem auto auto auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-treatment-index .hc-card::after {
    transition: none;
  }

  .hc-treatment-index .hc-card:hover::after,
  .hc-treatment-index .hc-card:focus-within::after {
    transform: none;
  }
}

/* Mobile card alignment v19 · number, copy and arrow share one grid */
@media (max-width: 48rem) {
  .hc-treatment-index .hc-treatment-grid {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hc-treatment-index .hc-card:not(:first-child) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 10.5rem;
    padding: 1.5rem 3.25rem 1.5rem 1.5rem;
  }

  .hc-treatment-index .hc-card:not(:first-child) .hc-card-num {
    top: 1.5rem !important;
    left: 1.5rem !important;
  }

  .hc-treatment-index .hc-card:not(:first-child)::after {
    top: 1.5rem !important;
    right: 1.5rem !important;
  }

  .hc-treatment-index .hc-card:not(:first-child) h2 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 2.75rem 0 .5rem !important;
    font-size: clamp(1.85rem, 8.3vw, 2.4rem) !important;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hc-treatment-index .hc-card:not(:first-child) p {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 23.5rem) {
  .hc-treatment-index .hc-card:not(:first-child) {
    padding-inline: 1.25rem 2.75rem;
  }

  .hc-treatment-index .hc-card:not(:first-child) .hc-card-num {
    left: 1.25rem !important;
  }

  .hc-treatment-index .hc-card:not(:first-child)::after {
    right: 1.25rem !important;
  }
}

/* Treatment detail alignment v8 · one shared shell from header to footer */
@media (min-width: 48.0625rem) {
  .hc-treatment-index .hc-service-hero,
  .hc-treatment-index .hc-service-body,
  .hc-treatment-index .hc-related {
    padding-inline: 1.5rem;
  }

  .hc-treatment-index .hc-service-hero .hc-inner,
  .hc-treatment-index .hc-service-grid,
  .hc-treatment-index .hc-related .hc-inner {
    width: min(100%, 92.5rem);
    max-width: 92.5rem !important;
    margin-inline: auto;
  }

  .hc-treatment-index .hc-service-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(17.5rem, .65fr);
  }

  .hc-treatment-index .hc-service-hero::before {
    right: max(1.5rem, calc((100vw - 92.5rem) / 2));
  }

  .hc-treatment-index .hc-service-hero::after {
    right: max(3.25rem, calc((100vw - 92.5rem) / 2 + 1.75rem));
  }
}


/* Treatment index hero mobile position v20 */
@media (max-width: 48rem) {
  .hc-treatment-index .hc-service-hero {
    box-sizing: border-box;
    min-height: 0 !important;
    /* Clear the floating header, without inheriting the 374px detail-page offset. */
    padding: 5rem 1.375rem 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .hc-treatment-index .hc-service-hero::before {
    position: relative !important;
    z-index: 0 !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 1rem !important;
    background-position: 58% 42% !important;
    box-shadow: none !important;
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    box-sizing: border-box !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 1.5rem 0 3.5rem !important;
  }

  .hc-treatment-index .hc-breadcrumb {
    display: none !important;
  }

  .hc-treatment-index .hc-kicker {
    margin-bottom: 1.25rem !important;
  }

  .hc-treatment-index .hc-service-hero .hc-title {
    width: 100% !important;
    max-width: 8.5ch !important;
    margin: 0 !important;
    font-size: clamp(3rem, 14vw, 4rem) !important;
    line-height: .9 !important;
  }

  .hc-treatment-index .hc-service-hero .hc-lead {
    width: 100% !important;
    max-width: 32ch !important;
    margin: 1.75rem 0 0 !important;
    line-height: 1.6 !important;
  }

  .hc-treatment-index .hc-card:first-child {
    grid-template-rows: auto auto auto auto !important;
  }

  .hc-treatment-index .hc-card:first-child::before {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    background-position: 64% center !important;
  }
}

@media (max-width: 23.5rem) {
  .hc-treatment-index .hc-service-hero {
    padding: 4.75rem 1rem 0 !important;
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    padding-bottom: 3rem !important;
  }

  .hc-treatment-index .hc-service-hero .hc-title {
    max-width: 100% !important;
    font-size: clamp(2.5rem, 13vw, 3.15rem) !important;
  }

  .hc-treatment-index .hc-card:first-child {
    padding: .75rem !important;
  }

  .hc-treatment-index .hc-card:first-child h2 {
    font-size: clamp(2.25rem, 13vw, 3rem) !important;
  }

  .hc-treatment-index .hc-card:not(:first-child) h2 {
    font-size: clamp(1.65rem, 9vw, 2.1rem) !important;
  }
}


/* Booking payment methods */
.hcb-payment-info{margin-top:var(--hcb-space-lg)}
.hcb-payment-info>p{margin:0;color:var(--hcb-color-ink-2);font-size:var(--hcb-text-sm);line-height:1.55}
.hcb-payment-info>p strong{color:var(--hcb-color-ink);font-weight:700}
.hcb-payment-methods{
  margin:var(--hcb-space-sm) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:var(--hcb-space-xs);list-style:none
}
.hcb-payment-methods li{
  min-height:2rem;padding:0 var(--hcb-space-sm);display:inline-flex;align-items:center;border:var(--hcb-rule);
  border-radius:var(--hcb-radius-button);background:var(--hcb-color-paper-2);color:var(--hcb-color-ink);
  font-size:var(--hcb-text-xs);font-weight:650;line-height:1;white-space:nowrap
}

.hc-treatment-index .hc-service-hero::after {
  content: "Houseclinic · Örebro";
  position: absolute;
  right: max(calc(var(--treat-space-lg) + var(--treat-space-sm)), 8.2vw);
  bottom: var(--treat-space-3xl);
  z-index: 1;
  padding: var(--treat-space-sm) var(--treat-space-md);
  border-radius: var(--treat-radius-sm);
  background: var(--treat-color-ink);
  color: var(--treat-color-paper);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hc-treatment-index .hc-service-hero .hc-inner {
  width: min(100%, 84rem);
  margin-inline: auto;
  padding-inline-end: min(42vw, 37rem);
}

.hc-treatment-index .hc-breadcrumb {
  margin: 0 0 var(--treat-space-3xl);
  color: var(--treat-color-muted);
  font-size: var(--treat-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hc-treatment-index .hc-kicker {
  margin: 0 0 var(--treat-space-lg) !important;
  color: var(--treat-color-gold);
  font-size: var(--treat-text-xs) !important;
  letter-spacing: 0.16em;
}

.hc-treatment-index .hc-service-hero .hc-title {
  max-width: 10ch;
  margin: 0;
  color: var(--treat-color-ink);
  font-family: var(--treat-font-display) !important;
  font-size: var(--treat-text-display) !important;
  font-style: normal;
  font-weight: 500 !important;
  letter-spacing: -0.045em;
  line-height: 0.88;
  overflow-wrap: anywhere;
  min-width: 0;
}

.hc-treatment-index .hc-service-hero .hc-lead {
  max-width: 34rem;
  margin: var(--treat-space-xl) 0 0;
  color: var(--treat-color-muted);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-md) !important;
  font-weight: 450;
  line-height: 1.6;
}

.hc-treatment-index .hc-related {
  padding: var(--treat-space-4xl) clamp(var(--treat-space-lg), 6vw, var(--treat-space-3xl));
  background: var(--treat-color-paper);
}

.hc-treatment-index .hc-related .hc-inner {
  width: min(100%, 80rem);
  max-width: none !important;
  margin-inline: auto;
}

.hc-treatment-index .hc-treatment-grid {
  counter-reset: treatment;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border: 0;
  border-top: var(--treat-rule);
  background: transparent;
}

.hc-treatment-index .hc-card,
.hc-treatment-index .hc-card:nth-child(1),
.hc-treatment-index .hc-card:nth-child(6) {
  counter-increment: treatment;
  position: relative;
  grid-column: span 6;
  min-width: 0;
  min-height: 11rem;
  padding: var(--treat-space-xl) var(--treat-space-xl) var(--treat-space-lg) var(--treat-space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
  border-bottom: var(--treat-rule);
  border-radius: 0;
  background: transparent;
  color: var(--treat-color-ink);
  box-shadow: none;
  transform: none;
}

.hc-treatment-index .hc-card:nth-child(even):not(:first-child) {
  border-inline-start: var(--treat-rule);
}

.hc-treatment-index .hc-card:nth-child(4n + 3):not(:first-child) {
  background: var(--treat-color-paper-soft);
}

.hc-treatment-index .hc-card:last-child {
  grid-column: 1 / -1;
  border-inline-start: 0;
}

.hc-treatment-index .hc-card::after {
  content: "→";
  position: absolute;
  top: var(--treat-space-xl);
  right: var(--treat-space-xl);
  color: var(--treat-color-gold);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-md);
  transition: transform var(--treat-dur-short) var(--treat-ease-out);
}

.hc-treatment-index .hc-card .hc-card-num {
  position: absolute;
  top: var(--treat-space-xl);
  left: var(--treat-space-xl);
  margin: 0;
  color: transparent;
  font-size: 0;
}

.hc-treatment-index .hc-card .hc-card-num::before {
  content: counter(treatment, decimal-leading-zero);
  color: var(--treat-color-gold);
  font-family: var(--treat-font-body);
  font-size: var(--treat-text-xs);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hc-treatment-index .hc-card h2 {
  margin: 0 3rem var(--treat-space-xs) 0;
  color: var(--treat-color-ink);
  font-family: var(--treat-font-display) !important;
  font-size: clamp(1.9rem, 3vw, var(--treat-text-2xl));
  font-style: normal;
  font-weight: 600 !important;
  letter-spacing: -0.035em;
  line-height: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}

.hc-treatment-index .hc-card h2 a {
  display: inline;
  color: inherit;
  text-decoration: none;
  white-space: normal;
}

.hc-treatment-index .hc-card h2 a:active {
  color: var(--treat-color-gold);
}

.hc-treatment-index .hc-card h2 a[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.hc-treatment-index .hc-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--treat-color-muted);
  font-size: var(--treat-text-base);
  line-height: 1.55;
}

.hc-treatment-index .hc-card:first-child {
  grid-column: 1 / -1;
  min-height: 31rem;
  padding: var(--treat-space-2xl);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: var(--treat-space-2xl);
  border-bottom: var(--treat-rule);
  background: var(--treat-color-sand);
}

.hc-treatment-index .hc-card:first-child::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 4;
  min-width: 0;
  border-radius: var(--treat-radius-md);
  background: url("images/houseclinic-hero.png") 64% center / cover no-repeat;
}

.hc-treatment-index .hc-card:first-child::after {
  top: var(--treat-space-2xl);
  right: var(--treat-space-2xl);
}

.hc-treatment-index .hc-card:first-child .hc-card-num {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.hc-treatment-index .hc-card:first-child h2 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-top: var(--treat-space-3xl);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
}

.hc-treatment-index .hc-card:first-child p {
  grid-column: 2;
  grid-row: 3;
  margin-top: var(--treat-space-md);
  color: var(--treat-color-muted);
}

.hc-treatment-index .hc-card a:focus-visible,
.hc-treatment-index .hc-breadcrumb a:focus-visible {
  outline: 2px solid var(--treat-color-focus) !important;
  outline-offset: 0.25rem;
}

@media (hover: hover) and (pointer: fine) {
  .hc-treatment-index .hc-card:hover::after,
  .hc-treatment-index .hc-card:focus-within::after {
    transform: translateX(0.3rem);
  }

  .hc-treatment-index .hc-card h2 a:hover {
    color: var(--treat-color-gold);
  }
}

@media (max-width: 60rem) {
  .hc-treatment-index .hc-service-hero {
    min-height: 41rem;
  }

  .hc-treatment-index .hc-service-hero::before {
    width: min(39vw, 25rem);
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    padding-inline-end: 42vw;
  }

  .hc-treatment-index .hc-card:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.75fr);
  }
}

@media (max-width: 48rem) {
  .hc-treatment-index .hc-service-hero {
    min-height: 0;
    padding: 4.125rem 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .hc-treatment-index .hc-service-hero::before {
    position: relative;
    z-index: -1;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: clamp(19rem, 68vw, 28rem);
    aspect-ratio: auto;
    border-radius: 0;
    background-position: 58% 40%;
    box-shadow: none;
  }

  .hc-treatment-index .hc-service-hero::after {
    display: none;
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding: var(--treat-space-xl) var(--treat-space-md) var(--treat-space-2xl);
  }

  .hc-treatment-index .hc-breadcrumb {
    margin-bottom: var(--treat-space-xl);
  }

  .hc-treatment-index .hc-service-hero .hc-title {
    max-width: 9ch;
    font-size: clamp(3.25rem, 15vw, 4.5rem) !important;
  }

  .hc-treatment-index .hc-service-hero .hc-lead {
    margin-top: var(--treat-space-lg);
    font-size: var(--treat-text-base) !important;
  }

  .hc-treatment-index .hc-related {
    padding: var(--treat-space-2xl) var(--treat-space-md) var(--treat-space-3xl);
  }

  .hc-treatment-index .hc-treatment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-treatment-index .hc-card,
  .hc-treatment-index .hc-card:nth-child(1),
  .hc-treatment-index .hc-card:nth-child(6),
  .hc-treatment-index .hc-card:last-child {
    grid-column: 1;
    min-height: 9.75rem;
    padding: var(--treat-space-xl) calc(var(--treat-space-xl) + var(--treat-space-sm)) var(--treat-space-lg) calc(var(--treat-space-xl) + var(--treat-space-xs));
    border-inline-start: 0;
  }

  .hc-treatment-index .hc-card:first-child {
    min-height: 0;
    padding: var(--treat-space-md);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(20rem, 58vh) auto auto auto;
    gap: 0;
  }

  .hc-treatment-index .hc-card:first-child::before {
    grid-column: 1;
    grid-row: 1;
    border-radius: var(--treat-radius-sm);
  }

  .hc-treatment-index .hc-card:first-child .hc-card-num {
    grid-column: 1;
    grid-row: 2;
    margin: var(--treat-space-xl) var(--treat-space-md) 0;
  }

  .hc-treatment-index .hc-card:first-child h2 {
    grid-column: 1;
    grid-row: 3;
    margin: var(--treat-space-sm) var(--treat-space-md) 0;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hc-treatment-index .hc-card:first-child p {
    grid-column: 1;
    grid-row: 4;
    margin: var(--treat-space-sm) var(--treat-space-md) var(--treat-space-lg);
  }

  .hc-treatment-index .hc-card:first-child::after {
    top: auto;
    right: var(--treat-space-lg);
    bottom: var(--treat-space-lg);
  }

  .hc-treatment-index .hc-card .hc-card-num {
    top: var(--treat-space-xl);
    left: 0;
  }

  .hc-treatment-index .hc-card::after {
    top: var(--treat-space-xl);
    right: 0;
  }

  .hc-treatment-index .hc-card h2 {
    margin-right: 0;
    font-size: clamp(1.8rem, 8.5vw, 2.5rem);
  }
}

@media (max-width: 23.5rem) {
  .hc-treatment-index .hc-service-hero .hc-title {
    font-size: clamp(3rem, 14vw, 3.9rem) !important;
  }

  .hc-treatment-index .hc-card:first-child {
    grid-template-rows: 18rem auto auto auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-treatment-index .hc-card::after {
    transition: none;
  }

  .hc-treatment-index .hc-card:hover::after,
  .hc-treatment-index .hc-card:focus-within::after {
    transform: none;
  }
}

/* Mobile card alignment v19 · number, copy and arrow share one grid */
@media (max-width: 48rem) {
  .hc-treatment-index .hc-treatment-grid {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hc-treatment-index .hc-card:not(:first-child) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 10.5rem;
    padding: 1.5rem 3.25rem 1.5rem 1.5rem;
  }

  .hc-treatment-index .hc-card:not(:first-child) .hc-card-num {
    top: 1.5rem !important;
    left: 1.5rem !important;
  }

  .hc-treatment-index .hc-card:not(:first-child)::after {
    top: 1.5rem !important;
    right: 1.5rem !important;
  }

  .hc-treatment-index .hc-card:not(:first-child) h2 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 2.75rem 0 .5rem !important;
    font-size: clamp(1.85rem, 8.3vw, 2.4rem) !important;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hc-treatment-index .hc-card:not(:first-child) p {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 23.5rem) {
  .hc-treatment-index .hc-card:not(:first-child) {
    padding-inline: 1.25rem 2.75rem;
  }

  .hc-treatment-index .hc-card:not(:first-child) .hc-card-num {
    left: 1.25rem !important;
  }

  .hc-treatment-index .hc-card:not(:first-child)::after {
    right: 1.25rem !important;
  }
}

/* Treatment detail alignment v8 · one shared shell from header to footer */
@media (min-width: 48.0625rem) {
  .hc-treatment-index .hc-service-hero,
  .hc-treatment-index .hc-service-body,
  .hc-treatment-index .hc-related {
    padding-inline: 1.5rem;
  }

  .hc-treatment-index .hc-service-hero .hc-inner,
  .hc-treatment-index .hc-service-grid,
  .hc-treatment-index .hc-related .hc-inner {
    width: min(100%, 92.5rem);
    max-width: 92.5rem !important;
    margin-inline: auto;
  }

  .hc-treatment-index .hc-service-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(17.5rem, .65fr);
  }

  .hc-treatment-index .hc-service-hero::before {
    right: max(1.5rem, calc((100vw - 92.5rem) / 2));
  }

  .hc-treatment-index .hc-service-hero::after {
    right: max(3.25rem, calc((100vw - 92.5rem) / 2 + 1.75rem));
  }
}


/* Treatment index hero mobile position v20 */
@media (max-width: 48rem) {
  .hc-treatment-index .hc-service-hero {
    box-sizing: border-box;
    min-height: 0 !important;
    /* Clear the floating header, without inheriting the 374px detail-page offset. */
    padding: 5rem 1.375rem 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .hc-treatment-index .hc-service-hero::before {
    position: relative !important;
    z-index: 0 !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 1rem !important;
    background-position: 58% 42% !important;
    box-shadow: none !important;
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    box-sizing: border-box !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 1.5rem 0 3.5rem !important;
  }

  .hc-treatment-index .hc-breadcrumb {
    display: none !important;
  }

  .hc-treatment-index .hc-kicker {
    margin-bottom: 1.25rem !important;
  }

  .hc-treatment-index .hc-service-hero .hc-title {
    width: 100% !important;
    max-width: 8.5ch !important;
    margin: 0 !important;
    font-size: clamp(3rem, 14vw, 4rem) !important;
    line-height: .9 !important;
  }

  .hc-treatment-index .hc-service-hero .hc-lead {
    width: 100% !important;
    max-width: 32ch !important;
    margin: 1.75rem 0 0 !important;
    line-height: 1.6 !important;
  }

  .hc-treatment-index .hc-card:first-child {
    grid-template-rows: auto auto auto auto !important;
  }

  .hc-treatment-index .hc-card:first-child::before {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    background-position: 64% center !important;
  }
}

@media (max-width: 23.5rem) {
  .hc-treatment-index .hc-service-hero {
    padding: 4.75rem 1rem 0 !important;
  }

  .hc-treatment-index .hc-service-hero .hc-inner {
    padding-bottom: 3rem !important;
  }

  .hc-treatment-index .hc-service-hero .hc-title {
    max-width: 100% !important;
    font-size: clamp(2.5rem, 13vw, 3.15rem) !important;
  }

  .hc-treatment-index .hc-card:first-child {
    padding: .75rem !important;
  }

  .hc-treatment-index .hc-card:first-child h2 {
    font-size: clamp(2.25rem, 13vw, 3rem) !important;
  }

  .hc-treatment-index .hc-card:not(:first-child) h2 {
    font-size: clamp(1.65rem, 9vw, 2.1rem) !important;
  }
}
