/* Theme composition of the released Brand sections and Search suggestion field.
   Keep card templates, appearance tokens and non-home routes authoritative. */
.cms-index-index :is(.re-home, .re-layout-home) .re-home-hero {
    min-height: 0;
    padding-block: 32px 24px;
}
.cms-index-index .re-home-hero .re-hero-copy { margin-bottom: 20px; }
.cms-index-index .re-home-hero .re-hero-copy h1 { font-size: 40px; line-height: 1.12; margin-bottom: 12px; }
.cms-index-index .re-home-hero .re-hero-trust { margin-top: 8px; }
.cms-index-index .re-home > .re-section { padding-top: 64px; }
.cms-index-index .re-layout-home[data-home-preset] > div + div { margin-top: 64px; }
.cms-index-index :is(.re-home, .re-layout-home) :is(.re-section > h2, .re-section-title h2, .re-layout-agencies > h2),
.cms-index-index .re-layout-home > [data-layout-section] > h2 {
    font-size: 30px; line-height: 1.2; font-weight: 650; margin-bottom: 24px;
}
.cms-index-index :is(.re-home [data-home-section="agencies"] .re-agency-grid, .re-layout-home .re-layout-agency-grid) {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
@media (min-width: 1200px) {
    .cms-index-index :is(.re-home [data-home-section="agencies"] .re-agency-grid, .re-layout-home .re-layout-agency-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .cms-index-index :is(.re-home, .re-layout-home) .re-home-hero { padding-block: 20px 16px; }
    .cms-index-index .re-home-hero .re-hero-copy { margin-bottom: 12px; }
    .cms-index-index .re-home-hero .re-hero-copy h1 { font-size: 28px; margin-bottom: 8px; }
    .cms-index-index .re-home > .re-section { padding-top: 40px; }
    .cms-index-index .re-layout-home[data-home-preset] > div + div { margin-top: 40px; }
    .cms-index-index :is(.re-home, .re-layout-home) :is(.re-section > h2, .re-section-title h2, .re-layout-agencies > h2),
    .cms-index-index .re-layout-home > [data-layout-section] > h2 { font-size: 24px; }
    .cms-index-index :is(.re-home [data-home-section="agencies"] .re-agency-grid, .re-layout-home .re-layout-agency-grid) { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .cms-index-index .re-home-hero .re-hero-copy > .re-eyebrow { font-size: 11px; line-height: 16px; margin-bottom: 6px; }
    .cms-index-index .re-home-hero .re-hero-copy > p:not(.re-eyebrow) { font-size: 13px; line-height: 18px; }
}
@media (min-width: 768px) {
    .cms-index-index :is(.re-home, .re-layout-home) .re-home-hero { padding-block: 24px 20px; }
    .cms-index-index .re-home-hero .re-hero-copy { max-width: none; margin-bottom: 12px; }
}
@media (max-width: 767px) {
    .cms-index-index :is(.re-home, .re-layout-home) .re-home-hero { padding-block: 12px; }
    .cms-index-index .re-home-hero .re-hero-copy { margin-bottom: 8px; }
    .cms-index-index .re-home-hero .re-hero-copy h1 { font-size: 26px; }
    .cms-index-index .re-home-hero .re-hero-trust { margin-top: 4px; }
}
