/* A wider reading column makes the requested desktop line lengths possible. */
html[data-theme] .home-page .brand-slides--morph .brand-slides__track { max-width: 1680px; }
html[data-theme] .home-page .brand-slides--morph .brand-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 2.4vw, 40px); }
html[data-theme] .home-page .brand-slides--morph .brand-slide__copy {
  position: relative;
  align-self: center;
  padding: clamp(22px, 2.2vw, 36px);
  border: 1px solid color-mix(in srgb, var(--border) 78%, white);
  border-radius: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--card) 91%, transparent), color-mix(in srgb, var(--muted) 52%, transparent));
  box-shadow: inset 0 1px 0 #ffffffa6, 0 16px 44px color-mix(in srgb, var(--shadow-color) 7%, transparent);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}
html[data-theme="dark"] .home-page .brand-slides--morph .brand-slide__copy { border-color: var(--border); box-shadow: inset 0 1px 0 #ffffff12, 0 16px 44px #00000026; }
html[data-theme] .home-page .brand-slides--morph .brand-slide h2 { width: 100%; font-size: clamp(22px, 1.55vw, 27px); line-height: 1.85; }
html[data-theme] .home-page .brand-slides--morph .brand-slide p { font-size: 14px; line-height: 2; }
html[data-theme] .home-page .brand-slides--renders .brand-slide__copy h2 { font-size: clamp(22px, 1.5vw, 26px); }
.brand-title-line { display: inline; }
@media (min-width: 1200px) {
  html[data-theme] .home-page .brand-slides--morph [data-single-line] { white-space: nowrap; text-align: start; text-align-last: start; }
  html[data-theme] .home-page .brand-slides--morph [data-title-lines="2"] .brand-title-line { display: block; white-space: nowrap; text-align: justify; text-align-last: justify; }
  html[data-theme] .home-page .brand-slides--morph [data-fit-wrap="true"] { white-space: normal; }
  html[data-theme] .home-page .brand-slides--morph [data-fit-wrap="true"] .brand-title-line { white-space: normal; text-align-last: start; }
}
@media (min-width: 769px) and (max-width: 1199px) {
  html[data-theme] .home-page .brand-slides--morph .brand-slide { grid-template-columns: minmax(0, 1fr); align-content: start; }
  html[data-theme] .home-page .brand-slides--morph .brand-slides__track { max-width: 900px; }
}
/* Restore the original photo-dominant size for the top carousel only. */
html[data-theme] .home-page .brand-slides--hero .brand-slides__track { max-width: 1512px; }
@media (min-width: 769px) {
  html[data-theme] .home-page .brand-slides--hero .brand-slide { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: var(--brand-gap); }
}
@media (max-width: 768px) {
  html[data-theme] .home-page .brand-slides--morph .brand-slide { gap: 18px; }
  html[data-theme] .home-page .brand-slides--morph .brand-slide__copy { margin-top: 18px; padding: 22px 18px; border-radius: 18px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  html[data-theme] .home-page .brand-slides--morph .brand-slide h2 { font-size: clamp(21px, 5.2vw, 26px); }
  html[data-theme] .home-page .brand-slides--morph [data-single-line],
  html[data-theme] .home-page .brand-slides--morph .brand-title-line { white-space: normal; overflow-wrap: break-word; }
}
@supports not (backdrop-filter: blur(1px)) {
  html[data-theme] .home-page .brand-slides--morph .brand-slide__copy { background: var(--card); }
}
@media (forced-colors: active) {
  html[data-theme] .home-page .brand-slides--morph .brand-slide__copy { background: Canvas; border-color: CanvasText; box-shadow: none; backdrop-filter: none; }
}
