/* Homepage only: a transparent crest and a controllable photo gallery. */
.home-visual .open-crest-card{background:transparent;box-shadow:none;padding:0;transform:none;top:-.15rem;right:-.6rem;z-index:2;filter:drop-shadow(0 3px 5px #07182980)}
.home-visual .open-crest-card img{width:105px;height:126px}
.home-carousel{position:relative;min-width:0}
.home-carousel .open-photo{object-position:center}
.home-carousel [data-slide][data-caption^="On parade"] .open-photo{object-position:35% center}
.home-carousel-controls{position:absolute;left:.8rem;top:.8rem;z-index:3;display:flex;align-items:center;gap:.2rem;padding:.2rem;background:#132c48f5;color:white;border:1px solid #b3c2cf;border-radius:.45rem;box-shadow:0 2px 8px #07182944}
.home-carousel-controls button{border:0;border-radius:.2rem;background:transparent;color:white;min-width:44px;min-height:44px;padding:.4rem .6rem;font-size:.85rem;font-weight:700}
.home-carousel-controls button:hover{background:#ffffff26}
.home-carousel-controls button:focus-visible{outline:3px solid #f4d177;outline-offset:1px;box-shadow:none}
.home-carousel-controls [data-carousel-count]{font-size:.75rem;min-width:2.4rem;text-align:center}
.home-slide .open-photo{animation:none}
.carousel-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-visual{padding-bottom:2.8rem}
.home-visual .open-date-card{bottom:4.5rem}
.home-visual .open-photo-caption{bottom:0;left:0;right:0;text-align:right;line-height:1.5;font-size:.78rem}
.home-carousel-evergreen~.open-photo-caption{position:static;display:block;color:var(--muted);padding-top:.6rem;font-size:.8rem}
@media(max-width:760px){.home-visual .open-crest-card{right:.4rem;top:.1rem}.home-visual .open-crest-card img{width:80px;height:96px}.home-visual .open-date-card{bottom:4rem}}
@media(max-width:400px){.home-carousel-controls{left:.5rem;gap:0}.home-carousel-controls button{padding:.3rem}.home-visual .open-crest-card{right:.2rem}.home-visual .open-crest-card img{width:58px;height:70px}.home-visual .open-photo-caption{text-align:left}.home-visual .open-date-card{bottom:4.5rem}}
@media(prefers-reduced-motion:reduce){.home-visual,.home-slide{animation:none!important;transition:none!important}}
/* On phones the invitation sits below the picture, so it cannot hide the photo. */
@media(max-width:760px){.home-visual .open-date-card{position:relative;inset:auto;margin:-1.3rem .7rem 0;z-index:1}.home-visual .open-photo{height:22rem}.home-visual{padding-bottom:3rem}}

.home-carousel-loading{min-height:29rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:var(--navy,#132c48);border:1px solid #b3c2cf;border-radius:1rem;color:white;text-align:center;padding:3rem 1.5rem}
.home-carousel-loading img{width:104px;height:128px;object-fit:contain}
.home-carousel-loading button{min-height:44px;border-radius:.4rem;padding:.5rem 1rem;background:#fff;color:#132c48;font-weight:700;border:2px solid #fff}
.home-carousel-loading button:focus-visible{outline:3px solid #f4d177;outline-offset:3px}
.home-carousel [hidden]{display:none!important}
@media(max-width:760px){.home-carousel-loading{min-height:22rem}}

/* Empty captions, including camera filenames, reserve no visible text line. */
[data-carousel-caption][hidden]{display:none!important}
