.homepage-content-video { display:block; width:100%; max-height:650px; aspect-ratio:16/9; object-fit:contain; border:0; border-radius:18px; background:#17251d; }
.homepage-multiline { white-space:pre-line; }
.editable-story-card, .story-section-media { position:relative; isolation:isolate; overflow:hidden; }
.story-card-background, .story-section-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; pointer-events:none; }
.story-card-content { position:relative; }
.rotator-slide > .hero-banner-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rotator-slide:not(.is-active) { pointer-events:none; visibility:hidden; }
.rotator-slide.is-active { visibility:visible; }
.rotator-slide.no-copy::after { background:none; }
.hero-video-link { position:absolute; bottom:1.5rem; right:1.5rem; z-index:3; border-radius:50px; padding:.7rem 1rem; background:rgba(255,255,255,.94); color:#264734; font-weight:600; text-decoration:none; }
.story-section-heading:empty { display:none; }
.campaign-video-page { max-width:1100px; }
@media (max-width:767px) { .hero-video-link { bottom:1rem; right:1rem; padding:.45rem .8rem; } }

/* Equal tracks and natural heights work across mobile browser sizes. */
.fragrance-category-grid { display:grid; width:100%; min-width:0; opacity:1; transform:none; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; gap:12px; align-items:stretch; }
.fragrance-category-grid > .fragrance-category-card { box-sizing:border-box; width:100%; min-width:0; max-width:100%; min-height:190px !important; height:100%; aspect-ratio:auto; display:flex !important; padding:0 !important; margin:0; }
.fragrance-category-card .fragrance-card-content { box-sizing:border-box; position:relative !important; inset:auto; left:auto; top:auto; transform:none; display:flex; flex:1; flex-direction:column; justify-content:center; align-items:center; gap:6px; width:100%; min-width:0; min-height:190px; padding:16px 10px; }
.fragrance-category-card .fragrance-card-icon { position:relative !important; inset:auto; transform:none; align-self:center; flex-shrink:0; }
.fragrance-category-card .fragrance-card-title, .fragrance-category-card .fragrance-card-copy { display:block; width:100%; max-width:100%; min-width:0; min-height:0; overflow:visible; overflow-wrap:anywhere; white-space:normal; -webkit-line-clamp:unset; line-height:1.35; text-align:center; }
@media (min-width:768px) { .fragrance-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:1200px) { .fragrance-category-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media (max-width:319px) { .fragrance-category-grid { grid-template-columns:minmax(0,1fr); } }
