/* The photograph and its attribution share the same active destination. */
.home [data-hero-gallery] {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:1fr auto;
  align-items:end;
  row-gap:clamp(32px,6svh,85px);
  padding:calc(var(--site-header-height,76px) + 48px) var(--edge) clamp(20px,3.4svh,48px);
  background:#09254b;
}
.home .hg-media,.home .hg-fallback,.home .hg-layer {
  position:absolute;inset:0;width:100%;height:100%;
}
.home .hg-media,.home .hg-fallback {z-index:-2}
.home .hg-media {overflow:hidden}
.home .hg-layer,.home .hg-fallback {display:block;object-fit:cover}
.home .hg-fallback {object-position:53% 54%}
.home .hero[data-hero-gallery]::after {
  z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(4,15,37,.56),rgba(4,15,37,.04) 25%,rgba(4,15,37,.16) 41%,rgba(4,15,37,.73) 77%,rgba(4,15,37,.9)),linear-gradient(90deg,rgba(5,18,43,.42),transparent 80%);
}
html[dir=rtl] .home .hero[data-hero-gallery]::after {
  background:linear-gradient(180deg,rgba(4,15,37,.56),rgba(4,15,37,.04) 25%,rgba(4,15,37,.16) 41%,rgba(4,15,37,.73) 77%,rgba(4,15,37,.9)),linear-gradient(270deg,rgba(5,18,43,.42),transparent 80%);
}
.home [data-hero-gallery] .hero-content {max-width:min(87%,1090px);text-shadow:0 1px 10px #07162644}
.home .hg-bar {
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  border-block-start:1px solid #ffffff54;padding-block-start:clamp(12px,1.8svh,22px);
  color:white;min-width:0;
}
.home .hg-photo-info,.home .hg-caption,.home .hg-controls,.home .hg-index {display:flex;align-items:center}
.home .hg-photo-info {gap:clamp(11px,1.7vw,26px)}
.home .hg-caption {gap:8px}
.home .hg-name {font-weight:600;font-size:clamp(1.03rem,1.65vw,1.4rem);line-height:1.2;letter-spacing:-.018em}
.home .hg-credit {position:relative}
.home .hg-credit summary {
  width:34px;height:38px;display:grid;place-items:center;color:#fff;cursor:pointer;
}
.home .hg-credit summary span {
  border:1px solid #ffffffa8;border-radius:100%;width:18px;height:18px;display:grid;place-items:center;
  font:600 12px/1 Georgia,serif;letter-spacing:0;
}
.home .hg-credit-panel {
  z-index:8;position:absolute;inset-block-end:calc(100% + 8px);inset-inline-start:-12px;
  width:max-content;max-width:min(275px,67vw);padding:13px 16px;border-radius:12px;
  color:#12234c;background:#fff9fd;box-shadow:0 8px 30px #061a3944;
  font-size:.85rem;line-height:1.55;overflow-wrap:anywhere;text-shadow:none;
}
.home .hg-credit-panel small {display:block;margin-top:4px;color:#425169}
.home .hg-controls {gap:5px}
.home .hg-button,.home .hg-index {
  border:1px solid #ffffff80;background:#12264466;color:white;min-height:44px;
  border-radius:99px;cursor:pointer;text-decoration:none;
}
.home .hg-button {
  display:grid;place-items:center;width:44px;padding:0;font-size:1.22rem;line-height:1;
}
.home .hg-button:hover,.home .hg-index:hover,.home .hg-button:focus-visible,.home .hg-index:focus-visible {
  background:#fbe2ef;color:#132445;border-color:#fbe2ef;
}
.home .hg-play-icon {width:10px;height:12px;border-inline:3px solid currentColor}
.home .is-paused .hg-play-icon {
  height:0;width:0;border:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid currentColor;
}
.home .hg-index {padding:7px 15px;gap:12px;line-height:1.2;font-weight:550;font-size:.94rem;text-align:center}
.home .hg-index span {font-size:1.18rem}
@media(max-width:640px){
  .home [data-hero-gallery] {row-gap:27px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .home [data-hero-gallery] .hero-content {max-width:100%}
  .home .hg-bar,.home .hg-photo-info {gap:7px}
  .home .hg-caption {gap:1px}
  .home .hg-credit summary {width:28px}
  .home .hg-controls {gap:4px}
  .home .hg-button {width:38px;min-height:40px}
  .home .hg-index {max-width:42vw;padding:7px 10px;gap:6px;font-size:.82rem;min-height:40px}
  .home .hg-name {font-size:1.02rem}
  .home .hg-credit-panel {inset-inline-start:auto;inset-inline-end:-18px;max-width:min(220px,69vw)}
}
@media(max-width:385px) {
  .home .hg-bar {flex-wrap:wrap}
  .home .hg-photo-info {flex-wrap:wrap}
}
@media(max-height:600px) and (min-width:641px) {
  .home [data-hero-gallery] {min-height:100svh;padding-top:calc(var(--site-header-height,76px) + 18px);row-gap:18px}
  .home [data-hero-gallery] h1 {font-size:clamp(2.8rem,5.3vw,5.8rem)}
  .home [data-hero-gallery] .support-note {padding-top:.6em}
}
@media(max-width:640px) {
  .home .hg-photo-info {position:relative}
  .home .hg-credit {position:static}
  .home .hg-credit-panel {inset-inline-start:0;inset-inline-end:auto;max-width:min(265px,78vw)}
}
