/* MotionSites-inspired photographic discovery, opt-in only. */
body.motionsites-preview .intelligent-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:clamp(28px,4vw,58px);align-items:center;min-height:540px;padding:24px 0 40px}
body.motionsites-preview .intelligent-hero::before{display:none!important}
body.motionsites-preview .intelligent-hero .hero-content{width:100%;min-width:0;margin:0;padding:0}
body.motionsites-preview .hero h1{font-size:clamp(36px,3.8vw,54px);max-width:15ch}
html[lang=ar] body.motionsites-preview .hero h1{font-size:clamp(32px,3.3vw,44px)}
.ms-preview-note{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:#19513c;margin:0 0 18px;line-height:1.6}
.ms-preview-note::before{content:'';width:7px;height:7px;border-radius:50%;background:#19513c}
.ms-showcase{min-width:0;width:100%;align-self:center}
.ms-window{position:relative;height:clamp(360px,36vw,470px);background:#e7eee3;border-radius:18px;overflow:hidden;isolation:isolate;border:1px solid #202c2812}
.ms-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transform:scale(1.045);transition:opacity .72s ease,transform 6.2s linear;pointer-events:none}
.ms-photo.ms-active{opacity:1;transform:scale(1)}
.ms-window::after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(0deg,#0a1c18eb 0%,#0a1c1850 62%,transparent);pointer-events:none;z-index:1}
.ms-caption{position:absolute;inset:auto 24px 24px;z-index:2;color:#fff;text-align:start}
.ms-caption h2{font-size:28px;font-weight:600;line-height:1.3;letter-spacing:-.025em;color:#fff;margin:0 0 8px}
.ms-caption p{font-size:14px;line-height:1.7;color:#ffffffd9;margin:0 0 16px;max-width:36ch}
.ms-caption .ms-browse{display:inline-flex;gap:14px;align-items:center;min-height:44px;background:#fff;color:#183e2e;border:1px solid #fff;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.5;box-shadow:none}
.ms-browse svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
[dir=rtl] .ms-browse svg{transform:rotate(180deg)}
.ms-pause{position:absolute;inset-block-start:14px;inset-inline-end:14px;z-index:3;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;background:#0a1c1866;border:1px solid #ffffff80;color:white;border-radius:50%;font-size:16px}
.ms-pause svg{width:18px;height:18px;fill:currentColor}
.ms-pause:hover{background:#0a1c18b3}
.ms-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
.ms-option{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;min-height:86px;padding:0 0 7px;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:#56635b;font-size:12px;line-height:1.5;font-weight:500;text-align:start;transition:color .2s,border-color .2s}
.ms-option img{width:100%;height:52px;object-fit:cover;border-radius:7px;opacity:.65;transition:opacity .25s}
.ms-option[aria-pressed=true]{color:#19513c;border-bottom-color:#19513c}
.ms-option:hover img,.ms-option:focus-visible img,.ms-option[aria-pressed=true] img{opacity:1}
body.motionsites-preview .ms-option:active{transform:none}
.ms-showcase :is(button,a):focus-visible{outline:3px solid #4eaa79;outline-offset:3px}
.ms-window button:focus-visible{outline-color:#fff;outline-offset:-5px}
@media(min-width:980px) and (max-width:1199px){body.motionsites-preview .intelligent-hero{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:24px}body.motionsites-preview .hero h1{font-size:44px}.ms-option{font-size:11px}.ms-window{height:420px}}
@media(max-width:979px){body.motionsites-preview .intelligent-hero{grid-template-columns:1fr;gap:28px;min-height:0;padding-top:0}body.motionsites-preview .intelligent-hero .hero-content{width:100%;order:0}body.motionsites-preview .hero h1{max-width:22ch}.ms-showcase{max-width:none}.ms-window{height:350px}.ms-caption h2{font-size:28px}}
@media(max-width:600px){body.motionsites-preview .hero h1{font-size:36px}html[lang=ar] body.motionsites-preview .hero h1{font-size:32px}.ms-window{height:260px;border-radius:12px}.ms-caption{inset:auto 20px 20px}.ms-caption h2{font-size:24px}.ms-caption p{font-size:13px;margin-bottom:12px}.ms-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.ms-option{min-height:80px;font-size:12px}.ms-option img{height:48px}.ms-preview-note{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.ms-photo,.ms-option,.ms-option img{transition:none!important;transform:none!important}}
