/* R274.1 hotfix: single-card social carousel and brand hero visual. */
.s253-gallery .s253-grid{display:block}
.s253-gallery .s253-card{width:100%;min-height:560px;border-color:#E6E1EC;border-radius:16px;background:#fff}
.s253-gallery .s253-card--case{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:stretch}
.s253-gallery .s253-card--case .s253-figure{height:100%!important;min-height:0!important;padding:24px!important;background:#fff!important;align-items:center}
.s253-gallery .s253-card--case .s253-figure img,.s253-gallery .s253-card--case .s253-figure video{width:100%!important;height:auto!important;aspect-ratio:16 / 9!important;object-fit:cover!important;border-radius:16px!important;background:#fff!important}
.s253-gallery .s253-card--case .s253-copy{min-height:560px;padding:34px 36px}
.s253-gallery .s253-card--text{display:block}
.s253-gallery .s253-card--text .s253-copy{min-height:560px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);grid-template-rows:auto auto auto 1fr;column-gap:42px;align-content:start;padding:34px 40px}
.s253-gallery .s253-card--text .s253-metrics{grid-column:1 / -1;grid-row:1;margin-bottom:24px}
.s253-gallery .s253-card--text .s253-copy h3{grid-column:1;grid-row:2;margin:0 0 14px}
.s253-gallery .s253-card--text .s253-description{grid-column:1;grid-row:3;max-width:40em}
.s253-gallery .s253-card--text .s253-period{grid-column:1;grid-row:4}
.s253-gallery .s253-card--text .s253-detail{grid-column:2;grid-row:2 / 5;align-self:stretch;margin:0;padding:0 0 0 28px;border-top:0;border-left:1px solid #E6E1EC}
.s253-gallery .s253-card--text .s253-detail > summary{padding:0;font-size:14px;font-weight:700}
.s253-gallery .s253-card--text .s253-detail[open] > summary{margin-bottom:14px}
.s253-gallery .s253-card--text .s253-detail-body{padding-top:0}

/* The brand hero uses a flat row treatment for the four steps. */
html body[data-r266-page="brand"] .r247-proof-steps > div{border-radius:0!important;box-shadow:none!important;background:transparent!important}
html body[data-r266-page="brand"] .r247-proof-steps > div{min-width:0;flex-wrap:wrap}
html body[data-r266-page="brand"] .r247-proof-steps > div > span{min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:right}
html body[data-r266-page="brand"] .r247-hero > *{min-width:0}
html body[data-r266-page="brand"] .r247-proof-steps{width:100%;min-width:0;overflow:hidden}
html body[data-r266-page="brand"] .r247-proof-steps > div:last-of-type{border-bottom:0!important}
html body[data-r266-page="brand"] .r274-brand-visual{display:grid;grid-template-columns:1fr;gap:9px;align-content:start;margin:12px 0 0;padding-top:14px;border-top:1px solid #E6E1EC}
html body[data-r266-page="brand"] .r274-brand-visual img{display:block;width:100%;height:auto;aspect-ratio:16 / 10;object-fit:cover;border-radius:14px}
html body[data-r266-page="brand"] .r274-brand-visual figcaption{margin:0;color:#74697f;font-size:13px;line-height:1.6;text-align:left}

@media(max-width:767px){
  .s253-gallery .s253-card,.s253-gallery .s253-card--case,.s253-gallery .s253-card--text .s253-copy{min-height:0}
  .s253-gallery .s253-card--case{display:flex;flex-direction:column}
  .s253-gallery .s253-card--case .s253-figure{min-height:0;padding:16px}
  .s253-gallery .s253-card--case .s253-copy{min-height:0;padding:24px}
  .s253-gallery .s253-card--text .s253-copy{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:0;padding:24px}
  .s253-gallery .s253-card--text .s253-metrics{grid-column:1;grid-row:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
  .s253-gallery .s253-card--text .s253-copy h3,.s253-gallery .s253-card--text .s253-description,.s253-gallery .s253-card--text .s253-period,.s253-gallery .s253-card--text .s253-detail{grid-column:1;grid-row:auto}
  .s253-gallery .s253-card--text .s253-detail{margin-top:16px;padding:14px 0 0;border-left:0;border-top:1px solid #E6E1EC}
  html body[data-r266-page="brand"] .r274-brand-visual{margin-top:10px}
}
