/* Phone homepage: keep assistance in the header and gallery actions in the slide. */
.header .header-inner { min-height: 58px; padding-block: 5px; gap: 6px; }
.header .brand { min-width: 0; margin-right: auto; }
.header .brand img { width: 36px; height: 36px; margin-right: 7px; }
.header .brand span { white-space: nowrap; font-size: .875rem; }
.header .menu-button { margin-left: 0; min-height: 44px; padding-inline: 9px; }
.header #ifs-ai-trigger { position: static; min-height: 44px; padding: 6px 9px; gap: 0; box-shadow: none; white-space: nowrap; }
.header #ifs-ai-trigger > span { display: none; }
.footer .footer-assistance { height: auto; display: flex; align-items: center; justify-content: flex-end; padding-block: 8px; }
.footer-assistance .ai-float, .footer-assistance .chat-float { position: static; box-shadow: none; }
.ifs-gallery .gallery-slide { min-height: 0; height: auto; }
.ifs-gallery .gallery-copy { padding-block: clamp(24px, 6vw, 40px); }
.ifs-gallery .gallery-copy h1, .ifs-gallery .gallery-copy h2 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 14px; }
.ifs-gallery .gallery-copy .eyebrow { margin-bottom: 12px; }
.ifs-gallery .gallery-copy .actions { display: flex; flex-flow: row wrap; align-items: center; justify-content: flex-start; margin-top: 18px; gap: 6px 12px; }
.ifs-gallery .gallery-copy .actions .button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; padding: 7px 10px; line-height: 1.3; }
.ifs-gallery .gallery-copy .actions .button:first-child { padding-inline: 14px; border-radius: 5px; background: #f4e6bc; color: #193327; text-decoration: none; }
.ifs-motion-track:has(> .ifs-gallery) { height: auto !important; }
.ifs-motion-track > .ifs-gallery { position: relative; top: auto; }
.header .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; width: calc(100% - 16px); }
.header .navigation { grid-column: 1 / -1; }
@media (max-width: 380px) {
  .header .brand, .header.is-scrolled:not(.menu-is-open) .brand { gap: 0; padding-inline: 3px; }
  .header .brand img { width: 32px; height: 32px; margin-right: 4px; }
  .header .brand span { font-size: .78rem; }
  .header .menu-lines { margin-right: 4px; }
}
