/* The rest of the home page, in the chosen reference's language: mint rounded surfaces, 24 and 32 px corners, pill buttons.
   About with its facts strip, patient reviews, articles and the questions. The booking block is in contact.css. */
.brxe-section:is(.st-about, .st-proof, .st-news, .st-faq) { display: block; width: 100%; padding: var(--space-3xl) 0; background: var(--color-paper); font-family: var(--font-body); font-weight: 400; color: var(--color-ink); }
.brxe-container:is(.st-about__inner, .st-proof__inner, .st-news__inner, .st-faq__inner) { display: block; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--section-inset); }
.brxe-block.st-head { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.brxe-heading.st-title {
  max-width: 20ch; margin: 0;
  font-family: var(--font-display); font-size: var(--text-section); font-weight: var(--display-weight); font-synthesis: none;
  letter-spacing: var(--tracking-display); line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; min-width: 0; color: var(--color-ink);
}
.brxe-section:is(.st-about, .st-proof, .st-news, .st-faq) .brxe-shortcode { min-width: 0; }

/* About: the photo and the copy, then the facts. */
.brxe-block.st-about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.brxe-image.st-about__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
/* Bricks puts the class on the <img> itself when there is no link or caption: cover both forms. */
.brxe-image.st-about__photo img,
img.brxe-image.st-about__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.brxe-block.st-about__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); min-width: 0; }
/* Points as quiet rows, each led by a round tinted icon, after the DentaCare reference. */
.st-points { display: grid; gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; }
.st-points__item { display: flex; align-items: center; gap: var(--space-md); margin: 0; padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.st-points__item:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.st-points__icon { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--color-mint); color: var(--color-accent); }
.st-points__svg { display: block; width: 24px; height: 24px; }
.st-points__text { display: flex; flex-direction: column; gap: var(--space-3xs); min-width: 0; }
.st-points__title { font-size: var(--text-lg); font-weight: var(--weight-strong); line-height: 1.25; }
.st-points__line { font-size: var(--text-md); line-height: 1.45; color: var(--color-ink-2); }

/* Facts strip after the DentaCare reference: a round filled icon beside each figure, hairlines between them. */
.st-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; padding: var(--space-lg) var(--space-md); list-style: none; border-radius: var(--radius-lg); background: var(--color-mint); }
.st-facts__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon num" "icon label";
  align-items: center; column-gap: var(--space-md); row-gap: var(--space-3xs); min-width: 0; margin: 0; padding: var(--space-xs) var(--space-lg);
}
.st-facts__item + .st-facts__item { border-left: var(--rule-hair) solid var(--color-rule); }
.st-facts__icon { grid-area: icon; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); }
.st-facts__svg { display: block; width: 26px; height: 26px; }
.st-facts__num { grid-area: num; align-self: end; }
.st-facts__label { grid-area: label; align-self: start; }
.st-facts__num { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.05; font-variant-numeric: tabular-nums; }
.st-facts__label { font-size: var(--text-md); line-height: 1.4; color: var(--color-ink-2); }

/* Reviews: the clinic's Google reviews in a row that scrolls sideways. */
.st-reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); margin: 0 0 var(--space-xl); }
.st-reviews__score { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; }
.st-stars { display: inline-flex; gap: var(--space-3xs); color: var(--color-rule); }
.st-stars__star { display: block; width: 20px; height: 20px; fill: currentColor; stroke: currentColor; }
.st-stars__star.is-on { color: var(--color-accent); }
.st-reviews__count { font-size: var(--text-md); color: var(--color-ink-2); }
.st-reviews__all { font-size: var(--text-md); font-weight: var(--weight-strong); color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.st-reviews__scroller { overflow-x: auto; padding-bottom: var(--space-md); scroll-snap-type: x proximity; }
.st-reviews__scroller:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-card); }
.st-reviews__list { display: flex; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.st-review { display: flex; flex: 0 0 min(26rem, 85%); flex-direction: column; gap: var(--space-sm); margin: 0; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-mint); scroll-snap-align: start; }
.st-review__top { display: flex; align-items: center; gap: var(--space-sm); }
.st-review__avatar { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-deep); color: var(--color-on-deep); font-weight: var(--weight-strong); }
.st-review__who { display: flex; flex-direction: column; min-width: 0; }
.st-review__name { font-weight: var(--weight-strong); line-height: 1.3; overflow-wrap: break-word; }
.st-review__date { font-size: var(--text-sm); color: var(--color-muted); }
.st-review__text { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }

/* Articles. One article alone takes the width as a feature; several make a row. */
.st-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.st-posts--single { grid-template-columns: minmax(0, 1fr); }
.st-post { margin: 0; min-width: 0; }
.st-post__link { display: flex; flex-direction: column; gap: var(--space-md); height: 100%; color: var(--color-ink); text-decoration: none; }
.st-posts--single .st-post__link { flex-direction: row; align-items: center; gap: var(--space-2xl); }
.st-post__media { display: block; overflow: hidden; border-radius: var(--radius-card); }
.st-posts--single .st-post__media { flex: 0 0 48%; }
.st-post__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.st-post__body { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.st-post__date { font-size: var(--text-sm); color: var(--color-muted); }
.st-post__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.2; }
.st-post__excerpt { font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }
.st-post__more { display: inline-flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-xs); font-weight: var(--weight-strong); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.st-post__arrow { display: block; width: 18px; height: 18px; }
.st-post__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* Questions: the Bricks accordion, re-dressed as mint rows. */
.brxe-section.st-faq .brxe-accordion .accordion-item { margin: 0 0 var(--space-sm); padding: var(--space-md) var(--space-lg); border: 0; border-radius: var(--radius-card); background: var(--color-mint); box-shadow: none; }
.brxe-section.st-faq .brxe-accordion .accordion-title-wrapper { padding: 0; min-height: 44px; background: none; }
.brxe-section.st-faq .brxe-accordion .accordion-title .title,
.brxe-section.st-faq .brxe-accordion .accordion-title-wrapper .title { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.3; color: var(--color-ink); }
.brxe-section.st-faq .brxe-accordion .accordion-content-wrapper { padding: var(--space-sm) 0 var(--space-xs); font-size: var(--text-md); line-height: 1.55; color: var(--color-ink-2); }
.brxe-section.st-faq .brxe-accordion .accordion-content-wrapper p { margin: 0; max-width: 65ch; }
.brxe-section.st-faq .brxe-accordion .brxe-icon,
.brxe-section.st-faq .brxe-accordion .accordion-title-wrapper i { color: var(--color-accent); }

@media (max-width: 60rem) {
  .brxe-block.st-about__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .st-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) 0; padding: var(--space-lg) 0; }
  .st-facts__item { padding: 0 var(--space-lg); }
  .st-facts__item + .st-facts__item { border-left: 0; }
  .st-posts { grid-template-columns: minmax(0, 1fr); }
  .st-posts--single .st-post__link { flex-direction: column; align-items: stretch; gap: var(--space-md); }
  .st-posts--single .st-post__media { flex-basis: auto; }
}
@media (max-width: 40rem) {
  .brxe-block.st-head { margin-bottom: var(--space-xl); }
  .st-facts__num { font-size: var(--text-2xl); }
  /* A phone takes the facts one to a row: two columns left a long word ("найдосвідченішого") hanging off the card. */
  .st-facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: var(--space-xs) var(--space-lg); }
  .st-facts__item { padding: var(--space-md) 0; }
  .st-facts__item + .st-facts__item { border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent) 18%, transparent); }
  .st-facts__icon { width: 48px; height: 48px; }
  .st-facts__svg { width: 22px; height: 22px; }
}
.st-facts__label { overflow-wrap: break-word; hyphens: auto; }

/* The question takes the row and the arrow sits at its end (the base heading measure would stop the question at 30-odd characters). */
.brxe-accordion .accordion-title { justify-content: space-between; gap: var(--space-md); }
.brxe-accordion .accordion-title .title { max-width: none; }
.brxe-accordion .accordion-title .icon { flex: 0 0 auto; margin-left: auto; }
.brxe-accordion .accordion-title .icon { width: auto; font-size: 1.5rem; line-height: 1; }

/* On phones the banner's frame is 8 px, so the section inset follows it (--section-inset is redefined in base.css). */
@media (max-width: 60rem) {
  .brxe-container:is(.st-doctors__inner, .st-estimate__inner, .st-about__inner, .st-proof__inner, .st-news__inner, .st-faq__inner, .st-services__inner) { padding-inline: var(--section-inset); }
}
