/* Memovo Hero Carousel & Motion | 2026-11-25 */
/* First hero remains server-rendered; no layout shift or initial image delay. */
.hero.memovo-carousel .hero-bottom{gap:clamp(8px,1.2vw,18px)}
.hero.memovo-carousel .hero-carousel-controls{display:inline-flex;align-items:center;gap:4px;min-width:max-content;flex:0 0 auto}
.hero.memovo-carousel .hero-carousel-controls button{appearance:none;display:inline-grid;place-items:center;border:1px solid rgba(23,62,103,.3);border-radius:2px;background:transparent;color:#173e67;min-height:34px;min-width:32px;padding:3px 8px;font:700 17px/1 Inter,Arial,sans-serif;cursor:pointer;transition:background .18s,color .18s}
.hero.memovo-carousel .hero-carousel-controls button:hover{background:#173e67;color:#f4f0e8}
.hero.memovo-carousel .hero-carousel-controls button:focus-visible{outline:3px solid #f36c2b;outline-offset:2px}
.hero.memovo-carousel .hero-carousel-controls button[hidden]{display:none}
.hero.memovo-carousel .hero-carousel-count{font:800 11px/1.2 Inter,Arial,sans-serif;white-space:nowrap;color:#173e67;letter-spacing:.07em;padding:0 7px}
.hero.memovo-carousel .hero-photo,.hero.memovo-carousel .hero-copy>.eyebrow,.hero.memovo-carousel .hero-headline-pt,.hero.memovo-carousel .hero-copy>.tag{transition:opacity .2s ease}
.hero.memovo-carousel.memovo-carousel-switching .hero-photo,.hero.memovo-carousel.memovo-carousel-switching .hero-copy>.eyebrow,.hero.memovo-carousel.memovo-carousel-switching .hero-headline-pt,.hero.memovo-carousel.memovo-carousel-switching .hero-copy>.tag{opacity:0}
.hero.memovo-carousel .hero-headline-pt .hero-headline-line{font-style:normal;color:#173e67}
.hero.memovo-carousel .hero-headline-pt .hero-headline-emphasis{font-style:italic}
.hero.memovo-carousel .hero-headline-pt .dot{color:#f36c2b}
.memovo-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1120px){.hero.memovo-carousel .hero-bottom>.scroll{display:none}}
@media(max-width:620px){
 .hero.memovo-carousel .hero-bottom>span:last-child{display:none}
 .hero.memovo-carousel .hero-carousel-controls{gap:2px}
 .hero.memovo-carousel .hero-carousel-controls button{min-height:31px;min-width:29px;font-size:16px}
 .hero.memovo-carousel .hero-carousel-count{padding:0 5px}
}
@media(max-width:440px){
 .hero.memovo-carousel .hero-bottom>span:first-child{display:none}
 .hero.memovo-carousel .hero-bottom{justify-content:center}
}
/* Interior hero words use the same low-cost rise and fade as the homepage. */
.memovo-animated-page-hero .page-display-title .memovo-hero-title-line{
 display:block;color:inherit;opacity:0;animation:memovo-hero-entrance .72s cubic-bezier(.2,.7,.2,1) both
}
.memovo-animated-page-hero .page-display-title .memovo-hero-title-line:nth-child(1){animation-delay:.08s}
.memovo-animated-page-hero .page-display-title .memovo-hero-title-line:nth-child(2){animation-delay:.28s}
.memovo-animated-page-hero .page-display-title .memovo-hero-title-line:nth-child(3){animation-delay:.48s}
.memovo-animated-page-hero .page-display-title .memovo-hero-title-line .dot{color:#f36c2b}
@keyframes memovo-hero-entrance{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(prefers-reduced-motion:reduce){
 .hero.memovo-carousel .hero-photo,.hero.memovo-carousel .hero-copy>.eyebrow,.hero.memovo-carousel .hero-headline-pt,.hero.memovo-carousel .hero-copy>.tag{transition:none!important}
 .memovo-animated-page-hero .page-display-title .memovo-hero-title-line{animation:none!important;opacity:1!important;transform:none!important}
}