/* HOEM page blocks (functions/page-blocks.php) */

/* Shared (.page-no-banner lives in main.css: this file only loads on pages with blocks) */
.hoem-block .hoem-eyebrow-heading {
  color: var(--blockEyebrow);
  font-size: 0.875rem;
  letter-spacing: var(--ls-eyebrow);
}

/* Block headings default to 700; thin statement/waitlist rules still win (section headings untouched) */
.hoem-block h2 {
  margin: 0 0 1rem;
  font-size: calc(1.5rem + 1.375vw);
  font-weight: 700;
}

.hoem-block h3 {
  margin-top: 0;
}

.hoem-block li {
  padding: 0;
}

.hoem-block-head {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.hoem-block .hoem-block-intro {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Full-width background: runs edge to edge, content stays in the container. */
.hoem-bleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--section-pad) calc(50vw - 50%);
}

.page-main-content > .hoem-bleed {
  margin-block: 0;
}

.page-section:has(> .page-main-content > .hoem-bleed:first-child) {
  padding-top: 0; /* meets the banner */
}

.page-main-content > .hoem-bleed:last-child {
  margin-bottom: calc(-1 * var(--section-pad)); /* meets the footer */
}

.page-section-bg:not([style]):has(+ .page-section-bg:not([style])) .page-main-content > .hoem-bleed:last-child {
  margin-bottom: 0; /* keeps a gap, as the next section drops its top padding */
}

/* Same-colour blocks in a row share one gap instead of two */
.hoem-bleed--white + .hoem-bleed--white,
.hoem-bleed--dark + .hoem-bleed--dark,
.hoem-bleed--accent + .hoem-bleed--accent {
  padding-top: 0;
}

.hoem-bleed--white {
  background-color: var(--hoemWhite);
}

.hoem-bleed--dark {
  background-color: var(--darkGray);
  color: var(--hoemWhite);
}

/* --page-accent is the page's "Page Accent Colour" (functions/page-blocks.php); dark grey (--darkGray) when not set */
.hoem-bleed--accent {
  background-color: var(--page-accent, var(--darkGray));
  color: var(--hoemWhite);
}

/* White headings on dark and accent backgrounds */
.hoem-bleed--dark h2,
.hoem-bleed--accent h2 {
  color: inherit;
}

.hoem-bleed--dark .hoem-eyebrow-heading {
  color: var(--hoemYellow);
}

.hoem-bleed--accent .hoem-eyebrow-heading {
  color: inherit;
}

.hoem-bleed--accent .hoem-btn {
  border-color: var(--hoemWhite);
}

.hoem-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--hoemYellow);
}

.hoem-dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.hoem-icon {
  display: block;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.hoem-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hoem-block .hoem-icon-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hoem-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.5rem; /* matches icon height so icon and first line share a centre */
}

.hoem-icon-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  font-weight: var(--fw-bold);
}

.hoem-icon-list--inline li {
  margin: 0;
}

/* Photo tiles: a label over a photo (Feature Cards, Photo Grid, Image Tiles) */
.hoem-block .hoem-image-tile {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr); /* photo fills the tile instead of stretching it */
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 432 / 320;
  border-radius: 1rem;
  background-color: var(--darkGray);
  color: var(--hoemWhite);
  text-decoration: none;
}

.hoem-block .hoem-image-tile:hover {
  color: var(--hoemWhite);
}

.hoem-image-tile-img,
.hoem-image-tile-label {
  grid-area: 1 / 1;
}

.hoem-image-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hoem-image-tile-label {
  display: grid;
  grid-auto-flow: column; /* icon stays beside the text, which wraps next to it */
  justify-content: start;
  align-content: end;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75));
  font-size: 1.375rem;
  font-weight: 700;
}

.hoem-image-tile-label .hoem-icon {
  filter: brightness(0) invert(1);
}

/* Split Hero: full-width photo under the header, intro strip below */
.hoem-hero-split.hoem-bleed {
  padding-block: 0;
}

.hoem-hero-split-banner {
  display: grid;
  grid-template-rows: 80vh; /* fixed, so the photo's own height can't stretch it */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--darkGray);
  color: var(--hoemWhite);
}

.hoem-hero-split-banner > * {
  grid-area: 1 / 1;
}

.hoem-hero-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hoem-hero-split-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 88px; /* clears the header */
  padding-bottom: 3rem; /* matches inner page banners */
  background-image: var(--bannerOverlay); /* same overlay as inner page banners */
}

.hoem-block .hoem-hero-split-head > :last-child {
  margin-bottom: 0;
}

.hoem-block .hoem-hero-split-head .hoem-eyebrow-heading {
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
}

.hoem-hero-split-title {
  margin: 0.5rem 0 0.75rem;
  font-size: calc(2rem + 1.5vw);
  font-weight: 700;
}

.hoem-hero-split-logo {
  display: block;
  width: auto;
  height: 1em;
  filter: brightness(0) invert(1);
}

.hoem-block .hoem-hero-split-subtitle {
  max-width: 40rem;
  margin: 0 0 2.5rem;
  font-size: calc(1.5rem + 1.25vw);
  line-height: 1.25;
}

.hoem-hero-split-intro {
  max-width: 56rem;
  padding: 3.5rem 0 var(--section-pad);
}

.hoem-block .hoem-hero-split-intro-heading {
  margin-bottom: 1.5rem;
  color: inherit;
  font-size: 1.625rem;
}

.hoem-hero-split-intro-text {
  margin-bottom: 1.5rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Feature Cards */
.hoem-feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hoem-block .hoem-feature-card {
  aspect-ratio: 322 / 500;
}

/* Title over the photo's bottom fade; with details, hover (tap on touch) darkens the photo and slides them up */
.hoem-feature-card-body {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75));
  transition: background-color 0.6s ease;
}

.hoem-block .hoem-feature-card-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.hoem-feature-card-details {
  display: grid;
  grid-template-rows: 0fr;
  min-height: 0; /* lets the details shrink under the title when a small card can't fit them */
  transition: grid-template-rows 0.5s ease;
}

.hoem-feature-card-details-inner {
  min-height: 0;
  overflow: hidden;
}

.hoem-block .hoem-feature-card-text {
  margin: 0.5rem 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.hoem-block .hoem-feature-card-icons {
  margin: 1rem 0 0.5rem;
}

.hoem-feature-card-text + .hoem-feature-card-icons {
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--hoemWhite) 70%, transparent);
}

.hoem-feature-card-icons li {
  margin-bottom: 1rem;
}

.hoem-feature-card-icons li:last-child {
  margin-bottom: 0;
}

.hoem-feature-card-icons .hoem-icon {
  filter: brightness(0) invert(1);
}

.hoem-feature-card.is-open .hoem-feature-card-body {
  background-color: color-mix(in srgb, var(--hoemBlack) 50%, transparent);
}

.hoem-feature-card.is-open .hoem-feature-card-details {
  grid-template-rows: 1fr;
}

.hoem-feature-card.is-open .hoem-feature-card-details-inner {
  overflow-y: auto; /* small touch cards: details scroll under the title */
}

@media (hover: hover) {
  .hoem-feature-card.has-details:hover .hoem-feature-card-body {
    background-color: color-mix(in srgb, var(--hoemBlack) 50%, transparent);
  }

  .hoem-feature-card.has-details:hover .hoem-feature-card-details {
    grid-template-rows: 1fr;
  }
}

.hoem-feature-cards-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 3rem;
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: 1rem;
  background-color: var(--page-accent, var(--darkGray));
  color: var(--hoemWhite);
}

.hoem-block .hoem-feature-cards-extras .hoem-eyebrow-heading {
  margin: 0;
  color: inherit;
}

.hoem-feature-cards-extras .hoem-icon {
  filter: brightness(0) invert(1);
}

.hoem-block .hoem-feature-cards-disclaimer {
  max-width: 70%;
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

/* Waitlist: always dark grey; Style sets the typography */
.hoem-waitlist {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hoem-block .hoem-waitlist-text {
  margin: 0 0 1.5rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.hoem-block .hoem-waitlist-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hoem-waitlist--bold .hoem-waitlist-heading {
  font-size: calc(1.75rem + 1.75vw);
}

.hoem-waitlist--bold .hoem-waitlist-text {
  font-size: calc(1.125rem + 0.4vw);
}

.hoem-waitlist--thin .hoem-waitlist-heading {
  font-weight: var(--fw-light);
}

.hoem-waitlist--thin .hoem-waitlist-highlights {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(134, 134, 139, 0.4);
}

.hoem-waitlist-form {
  padding: 2rem;
  border: 1px solid var(--greytoneColor);
  border-radius: 1rem;
  background-color: var(--hoemWhite);
  color: var(--textColor);
}

.hoem-block .hoem-waitlist-form-heading {
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
}

/* Thank-you message replaces the form: drop the form heading */
.hoem-waitlist-form:has(.gform_confirmation_wrapper) .hoem-waitlist-form-heading {
  display: none;
}

.hoem-waitlist-form .gform_confirmation_message {
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  line-height: 1.25;
}

/* Gravity Forms inside the waitlist card */
.hoem-waitlist-form .gform_wrapper input[type="text"],
.hoem-waitlist-form .gform_wrapper input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--inputBorder);
  border-radius: 4px;
  font-size: 1rem;
}

.hoem-waitlist-form .gform_wrapper .gfield_checkbox label,
.hoem-waitlist-form .gform_wrapper .gfield_consent_label {
  font-size: 0.875rem;
}

.hoem-waitlist-form .gform_wrapper .gform_footer {
  margin: 0;
  padding: 0;
}

.hoem-waitlist-form .gform_wrapper .gform_button {
  width: 100%;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid var(--hoemYellow);
  border-radius: 2rem;
  background: var(--hoemYellow);
  color: var(--primaryColor);
  font-size: var(--fs-body);
  font-weight: var(--fw-btn);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hoem-waitlist-form .gform_wrapper .gform_button:hover {
  background: var(--hoemYellowDark);
  border-color: var(--hoemYellowDark);
  color: var(--primaryColor);
}

/* Day Timeline */
.hoem-block .hoem-day-timeline-subheading {
  margin: 0;
  font-size: calc(1.25rem + 0.6vw);
}

.hoem-day-timeline-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hoem-day-timeline-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

.hoem-day-timeline .hoem-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--page-accent, var(--hoemYellow));
}

.hoem-day-timeline-line {
  flex: 1;
  height: 1px;
  background-color: var(--blockLine);
}

.hoem-day-timeline-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 206 / 260;
  object-fit: cover;
  border-radius: 1rem;
}

.hoem-block .hoem-day-timeline-text {
  margin: 1.5rem 0 0;
  line-height: var(--lh-body);
}

.hoem-block .hoem-day-timeline-closing {
  max-width: 58rem;
  margin: 2.5rem 0 0;
  font-size: calc(1.125rem + 0.4vw);
  font-weight: 700;
  line-height: 1.35;
}

/* Photo Grid (e.g. The Space) */
.hoem-block .hoem-photo-grid-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hoem-block .hoem-photo-grid-tile {
  aspect-ratio: 316 / 400;
}

.hoem-photo-grid-tile .hoem-image-tile-label {
  justify-content: center;
  text-align: center;
  font-size: 1.5rem;
}

/* Statement */
.hoem-statement-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.hoem-statement-body {
  max-width: 52rem;
}

.hoem-block .hoem-statement-heading {
  margin-bottom: 2rem;
  font-weight: var(--fw-light);
}

.hoem-statement-text {
  max-width: 42rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.hoem-statement-text p {
  margin-bottom: 1.5rem;
}

.hoem-block .hoem-statement-highlight {
  margin: 0 0 2rem;
  font-size: calc(1.25rem + 0.9vw);
  font-weight: 700;
  line-height: 1.3;
}

/* Rating Intro: body copy can follow as a regular paragraph, so no gap below */
.page-main-content > .hoem-rating-intro,
.hoem-rating-intro.hoem-bleed {
  margin-bottom: 0;
  padding-bottom: 0;
}

.hoem-block .hoem-rating-intro-heading {
  margin: 0 0 1.5rem;
}

.hoem-rating-intro-star {
  color: var(--hoemYellow);
}

.hoem-rating-intro-text {
  max-width: 50rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.hoem-rating-intro-text p {
  margin-bottom: 1.5rem;
}

.hoem-rating-intro-text p:first-child {
  margin-top: 0;
}

.hoem-rating-intro-text p:last-child {
  margin-bottom: 0;
}

/* Review Tiles: residence tile styles (main.css); the whole tile is the link */
.hoem-review-tiles .hoem-review-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hoem-review-tile:hover .hoem-residence-explore-btn svg {
  transform: translateX(4px);
}

.hoem-review-tile-logo {
  display: block;
  margin-left: auto; /* stays right when it wraps under the button */
  width: auto;
  max-width: 8rem;
  height: 1.75rem;
}

@media screen and (max-width: 767px) {
  .hoem-review-tile-logo {
    height: 1.5rem;
  }
}

/* Image Tiles */
.hoem-image-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* FAQ */
.hoem-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 6rem;
}

/* With the info card, questions sit level with its bottom */
.hoem-faq-grid.has-info .hoem-faq-list {
  align-self: end;
}

.hoem-faq-info {
  margin: 2rem 0 0;
  padding: 1.75rem;
  border-radius: 1rem;
  background-color: var(--page-accent, var(--darkGray));
  color: var(--hoemWhite);
}

.hoem-faq-info dt {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

.hoem-faq-info dd {
  margin: 0 0 1.25rem;
  font-size: var(--fs-body);
}

.hoem-faq-info dd:last-child {
  margin-bottom: 0;
}

.hoem-faq-item {
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid var(--blockLine);
  transition: background-color 0.6s ease, color 0.6s ease;
}

.hoem-faq-item:first-child {
  border-top: 1px solid var(--blockLine);
}

/* Open question: dark box fading in like the room page FAQs (.is-open via main.js) */
.hoem-faq-item.is-open {
  background-color: var(--darkCardBg);
  color: var(--hoemWhite);
}

.hoem-faq-item.is-open .hoem-faq-answer a {
  color: inherit;
}

.hoem-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  font-size: 1.375rem;
  list-style: none;
  cursor: pointer;
}

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

.hoem-faq-item summary svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hoem-faq-item.is-open summary svg {
  transform: rotate(180deg);
}

.hoem-faq-answer {
  padding: 0 1rem 1.5rem;
  line-height: var(--lh-body);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hoem-faq-item.is-open .hoem-faq-answer {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease 0.2s, transform 0.45s ease 0.2s;
}

.hoem-faq-answer > :last-child {
  margin-bottom: 0;
}

/* Responsive */
@media screen and (max-width: 1199px) {
  .hoem-block .hoem-photo-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Narrow cards: smaller details so they fit under the title */
  .hoem-block .hoem-feature-card-text,
  .hoem-feature-card-icons li {
    font-size: 0.875rem;
  }

  .hoem-feature-card-text + .hoem-feature-card-icons {
    padding-top: 1rem;
  }

  .hoem-feature-card-icons li {
    margin-bottom: 0.75rem;
  }
}

@media screen and (max-width: 991px) {
  .hoem-waitlist,
  .hoem-statement-grid,
  .hoem-faq-grid {
    grid-template-columns: 1fr;
  }

  .hoem-waitlist,
  .hoem-faq-grid {
    gap: 2.5rem;
  }

  .hoem-feature-cards-grid,
  .hoem-image-tiles-grid {
    gap: 1rem;
  }

  .hoem-feature-card-body,
  .hoem-image-tile-label {
    padding: 1rem 1.25rem;
  }

  .hoem-block .hoem-feature-card-title,
  .hoem-image-tile-label {
    font-size: 1.25rem;
  }

  /* Swipeable row of steps; capped so tablets show more than one and a half */
  .hoem-day-timeline-steps {
    grid-auto-columns: min(60%, 16rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }

  .hoem-day-timeline-step {
    scroll-snap-align: start;
  }

  .hoem-block .hoem-day-timeline-closing {
    max-width: none;
  }
}

@media screen and (max-width: 767px) {
  .hoem-hero-split-head {
    padding-top: 72px;
    padding-bottom: 1.5rem;
  }

  .hoem-feature-cards-grid,
  .hoem-block .hoem-photo-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .hoem-image-tiles-grid {
    grid-template-columns: 1fr;
  }

  .hoem-feature-card-body {
    padding: 1rem;
  }

  .hoem-photo-grid-tile .hoem-image-tile-label {
    padding: 0.75rem;
    font-size: 1rem;
  }

  .hoem-block .hoem-feature-cards-disclaimer {
    max-width: none;
  }

  .hoem-feature-cards-extras {
    flex-direction: column;
    align-items: flex-start;
  }

  .hoem-icon-list--inline {
    flex-direction: column;
  }

  .hoem-waitlist-form {
    padding: 1.5rem;
  }

  .hoem-faq-item summary {
    font-size: 1.125rem;
  }
}

/* Community blocks: centered heading, image + icon list, testimonials (reuse the section styles in main.css) */
.hoem-block .community-events-statement {
  margin: 0 auto;
}

/* Undo the editor-content (.page-input-content) heading, list and paragraph spacing */
.hoem-block .community-events-title {
  margin: 0;
  font-size: calc(1.25rem + 1.125vw);
  font-weight: 700;
}

.hoem-block .community-events-row {
  max-width: none;
}

.hoem-block .community-events-subtitle {
  margin: 0.5rem 0 0;
}

.hoem-block .community-events-list,
.hoem-block .hoem-stat-card-tiles {
  padding-left: 0;
}

.hoem-block .community-events-item {
  font-weight: var(--fw-bold);
}

@media screen and (min-width: 768px) {
  .hoem-block .community-events-item .community-events-icon,
  .hoem-block .community-events-item .community-events-icon .iir-feature-icon-img {
    width: 35px;
    height: 35px;
  }
}

@media screen and (min-width: 992px) {
  .hoem-centered-heading .community-events-statement {
    font-size: 45px;
  }
}

/* Slider spans the screen; js/main.js offsets the first/last card to the content edges */
.hoem-testimonials-slider .student-reviews-swiper {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hoem-testimonials-slider .student-reviews-swiper:first-child {
  margin-top: 0;
}

.hoem-centered-heading--left .community-events-statement {
  max-width: 950px;
  margin: 0;
  text-align: left;
}

/* Image + Icon List: Stat card layout */
.hoem-stat-card {
  padding: 3rem;
  border-radius: 1.25rem;
  background-color: var(--hoemWhite);
}

.hoem-stat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hoem-block .hoem-stat-card-stat {
  margin: 0;
  text-align: right;
}

.hoem-stat-card-number {
  display: block;
  font-size: calc(3rem + 2.5vw);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hoem-stat-card-label {
  display: block;
  font-size: 1.25rem;
  font-weight: var(--fw-light);
}

.hoem-stat-card-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hoem-stat-card-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 150px;
  padding: 1.5rem 0.75rem;
  border-radius: 1rem;
  background-color: var(--bodyBg);
  text-align: center;
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
}

@media screen and (max-width: 767px) {
  .hoem-stat-card {
    padding: 2rem 1.25rem;
  }
  .hoem-stat-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .hoem-block .hoem-stat-card-stat {
    text-align: left;
  }
}
