/* Visual storytelling for Ameva's image-led product and editorial pages. */
.editorial-figure{margin:34px 0 42px;background:#211e1a;border:1px solid rgba(255,255,255,.12);overflow:hidden}
.editorial-figure picture,.editorial-figure img{display:block;width:100%}
.editorial-figure img{height:auto;aspect-ratio:3/2;object-fit:cover}
.editorial-figure figcaption{padding:14px 16px;color:#c9c6bb;font-size:12px;line-height:1.55;letter-spacing:.025em;border-top:1px solid rgba(255,255,255,.1)}
.photo.editorial-product-image{aspect-ratio:3/2;background:#211e1a;overflow:hidden}
.photo.editorial-product-image picture,.photo.editorial-product-image img{display:block;width:100%;height:100%}
.photo.editorial-product-image img{position:static;max-width:100%;object-fit:cover}
.photo.editorial-product-image figcaption{position:absolute;left:0;right:0;bottom:0;padding:32px 16px 13px;background:linear-gradient(transparent,rgba(7,10,8,.84));color:#eee7d9;font-size:11px;line-height:1.45}
.visual-story{max-width:1440px}
.visual-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:32px 0 12px}
.visual-story-grid .editorial-figure{margin:0;min-width:0}
.visual-story-grid .editorial-figure img{aspect-ratio:4/3}
.visual-story-grid .editorial-figure:nth-child(2) img{object-position:center}
.guide-hub>.visual-story-grid{padding:0;margin:40px 0 12px;max-width:none}
.guide-section>.editorial-figure{max-width:1000px;margin-left:auto;margin-right:auto}
@media(max-width:900px){.visual-story-grid{grid-template-columns:1fr 1fr}.visual-story-grid .editorial-figure:first-child{grid-column:1/-1}.visual-story-grid .editorial-figure:first-child img{aspect-ratio:16/9}}
@media(max-width:650px){.editorial-figure{margin:26px 0 32px}.visual-story-grid{grid-template-columns:1fr;gap:14px}.visual-story-grid .editorial-figure:first-child{grid-column:auto}.visual-story-grid .editorial-figure img,.visual-story-grid .editorial-figure:first-child img{aspect-ratio:3/2}.photo.editorial-product-image{aspect-ratio:3/2}.photo.editorial-product-image figcaption{font-size:10px}.visual-story{padding-top:54px;padding-bottom:54px}}

/* Homepage image showcase: visible immediately after the hero. */
.home-visual-showcase{padding-top:76px;padding-bottom:88px}
.home-image-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,clamp(180px,18vw,275px));gap:14px;margin-top:38px}
.home-image-mosaic .editorial-figure{position:relative;margin:0;min-width:0;overflow:hidden;background:#171511;border-color:rgba(255,255,255,.16)}
.home-image-mosaic .editorial-figure:first-child{grid-column:1/3;grid-row:1/3}
.home-image-mosaic .editorial-figure:nth-child(2){grid-column:3/5;grid-row:1}
.home-image-mosaic .editorial-figure:nth-child(3){grid-column:3/5;grid-row:2}
.home-image-mosaic .editorial-figure:nth-child(n+4){grid-row:3}
.home-image-mosaic picture,.home-image-mosaic img{width:100%;height:100%}
.home-image-mosaic img{aspect-ratio:auto;object-fit:cover;transition:transform .45s ease,filter .45s ease}
.home-image-mosaic .editorial-figure:hover img{transform:scale(1.025);filter:saturate(1.06)}
.home-image-mosaic figcaption{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:52px 18px 16px;background:linear-gradient(transparent,rgba(7,10,8,.9));border:0;color:#f6f0e4;text-shadow:0 1px 12px rgba(0,0,0,.5)}
.home-image-mosaic figcaption strong,.home-image-mosaic figcaption span{display:block}
.home-image-mosaic figcaption strong{font-size:15px;letter-spacing:.02em}
.home-image-mosaic figcaption span{margin-top:4px;color:#d8d4ca;font-size:11px;line-height:1.4}
.visual-story-note{margin:14px 0 0;color:#93908b;font-size:11px;line-height:1.55}
@media(max-width:900px){.home-image-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,clamp(180px,32vw,290px))}.home-image-mosaic .editorial-figure:first-child{grid-column:1/3;grid-row:1/3}.home-image-mosaic .editorial-figure:nth-child(2),.home-image-mosaic .editorial-figure:nth-child(3),.home-image-mosaic .editorial-figure:nth-child(n+4){grid-column:auto;grid-row:auto}}
@media(max-width:650px){.home-visual-showcase{padding-top:54px;padding-bottom:62px}.home-image-mosaic{display:grid;grid-template-columns:1fr;grid-template-rows:none;gap:12px;margin-top:26px}.home-image-mosaic .editorial-figure,.home-image-mosaic .editorial-figure:first-child,.home-image-mosaic .editorial-figure:nth-child(2),.home-image-mosaic .editorial-figure:nth-child(3),.home-image-mosaic .editorial-figure:nth-child(n+4){grid-column:auto;grid-row:auto}.home-image-mosaic .editorial-figure img{aspect-ratio:3/2}.home-image-mosaic figcaption{padding:44px 15px 13px}.home-image-mosaic figcaption strong{font-size:14px}.home-image-mosaic figcaption span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.home-image-mosaic img{transition:none}.home-image-mosaic .editorial-figure:hover img{transform:none}}

/* Business-led homepage cards. */
.business-photo{aspect-ratio:3/2}
.business-photo picture,.business-photo img{display:block;width:100%;height:100%}
.business-photo img{object-fit:cover}
.business-catalogue .category:nth-child(-n+2){grid-column:span 2}
.business-catalogue .category:nth-child(-n+2) .business-photo{aspect-ratio:16/9}
.home-image-mosaic .editorial-figure:nth-child(4){grid-column:1}
.home-image-mosaic .editorial-figure:nth-child(5){grid-column:2/4}
.home-image-mosaic .editorial-figure:nth-child(6){grid-column:4}
@media(max-width:900px){.business-catalogue .categories{grid-template-columns:repeat(2,minmax(0,1fr))}.business-catalogue .category:nth-child(-n+2){grid-column:span 1}.home-image-mosaic .editorial-figure:nth-child(4),.home-image-mosaic .editorial-figure:nth-child(5),.home-image-mosaic .editorial-figure:nth-child(6){grid-column:auto}}
@media(max-width:650px){.business-catalogue .categories{grid-template-columns:1fr}.business-catalogue .category:nth-child(-n+2){grid-column:auto}.business-catalogue .category:nth-child(-n+2) .business-photo,.business-photo{aspect-ratio:3/2}}
