.home-feature-modal[hidden] { display: none; }
.home-feature-modal { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 22px; }
.home-feature-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 35, 45, .72); backdrop-filter: blur(5px); }
.home-feature-modal__dialog { position: relative; width: min(92vw, 590px); max-height: min(88vh, 760px); animation: home-feature-in .28s ease-out both; }
.home-feature-modal__dialog a { display: block; overflow: hidden; border: 5px solid #fff; border-radius: 26px; background: #fff; box-shadow: 0 28px 80px rgba(0, 31, 41, .36); }
.home-feature-modal__dialog img { display: block; width: 100%; max-height: calc(88vh - 10px); object-fit: contain; }
.home-feature-modal__close { position: absolute; z-index: 2; top: -15px; right: -15px; width: 44px; height: 44px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #123f4c; box-shadow: 0 8px 24px rgba(0, 31, 41, .3); font-size: 19px; cursor: pointer; }
body.home-feature-modal-open { overflow: hidden; }
@keyframes home-feature-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 575px) { .home-feature-modal { padding: 18px; }.home-feature-modal__dialog { width: min(91vw, 440px); }.home-feature-modal__dialog a { border-width: 3px; border-radius: 20px; }.home-feature-modal__close { top: -12px; right: -9px; width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .home-feature-modal__dialog { animation: none; } }
