.sg-photo-index {
  --album-ink:#172328;
  --album-muted:#516168;
  --album-paper:#f6f4ef;
  --album-rule:#d4d7d4;
  --album-accent:#b52821;
}
.sg-photo-index .sg-index-head { background:#152328; gap:clamp(22px,4vw,64px); }
.sg-photo-index .sg-index-head h1 { max-width:13ch; font-weight:750; }
.sg-photo-index .sg-index-head img { border-radius:2px; }
.sg-photo-index .sg-index-head .sg-index-kicker { color:#ffb8a7; }
.sg-index-head [data-browse], .sg-album-actions button, .sg-index-results button {
  font:inherit; font-weight:650; border:0; cursor:pointer;
}
.sg-index-head [data-browse] { margin-top:18px; background:white; color:#19272b; padding:11px 20px; border-radius:3px; }
.sg-index-library { color:var(--album-ink); }
.sg-album-browser, .sg-index-results { scroll-margin-top:100px; }
.sg-album-heading { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:18px; }
.sg-index-library .sg-album-heading h2 { font-size:clamp(32px,4.1vw,62px); font-weight:750; letter-spacing:-.048em; margin:0; color:var(--album-ink); }
.sg-album-heading h2::before { content:""; display:block; width:40px; height:4px; margin-bottom:14px; background:var(--album-accent); }
.sg-album-search { display:flex; align-items:center; gap:12px; width:min(100%,320px); margin:0; padding:0 15px; border:1px solid #b7c1c2; border-radius:4px; background:white; }
.sg-album-search i { color:#495c62; }
.sg-album-search input { width:100%; min-width:0; height:46px; border:0; background:transparent; color:var(--album-ink); font:inherit; font-size:16px; }
.sg-album-scopes { display:flex; gap:clamp(8px,2vw,30px); margin:18px 0 22px; border-bottom:1px solid var(--album-rule); padding:3px; overflow-x:auto; }
.sg-album-scopes button { flex:none; border:0; border-bottom:3px solid transparent; padding:10px 3px; min-height:44px; font:inherit; font-weight:650; background:transparent; color:#526167; cursor:pointer; }
.sg-album-scopes button[aria-pressed=true] { border-bottom-color:var(--album-accent); color:#18262c; }
.sg-album-scopes button:hover { color:var(--album-accent); }
.sg-album-shelf { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,2.4vw,32px); }
.sg-album-card {
  min-width:0; width:100%; display:flex; flex-direction:column; align-items:stretch; padding:8px 8px 0 12px;
  text-align:left; font:inherit; background:#fdfcf9; color:var(--album-ink); border:1px solid #c6ccc8; border-left:5px solid #34454a;
  border-radius:3px 8px 8px 3px; box-shadow:0 3px 0 -1px #e1ded5,0 5px 0 -2px #c6c7bf; cursor:pointer;
}
.sg-album-card:hover,.sg-album-card[aria-pressed=true] { border-left-color:var(--album-accent); background:#f6f4ee; }
.sg-cover { min-width:0; display:grid; grid-template-columns:2fr 1fr; grid-template-rows:repeat(2,minmax(0,1fr)); gap:3px; aspect-ratio:2.5; overflow:hidden; background:#ebe8df; }
.sg-cover img { display:block; width:100%; height:100%; min-height:0; object-fit:cover; }
.sg-cover img:first-child { grid-row:span 2; }
.sg-cover[data-frames="1"] { grid-template-columns:1fr; }
.sg-cover[data-frames="2"] img:last-child { grid-row:span 2; }
.sg-album-card:is([data-album="group"],[data-album$="--glass-walk"]) .sg-cover {
  aspect-ratio:2; grid-template-columns:minmax(0,3fr) minmax(0,1fr); flex:none;
}
.sg-album-card:is([data-album$="--fire-walk"],[data-album$="--bar-bending"]) .sg-cover { aspect-ratio:2.24; }
.sg-album-card:is([data-album$="--fire-walk"],[data-album$="--bar-bending"]) .sg-cover img:first-child { object-fit:contain; }
.sg-cover-body { display:grid; grid-template-columns:1fr auto; gap:4px 12px; align-content:center; flex:1; padding:15px 10px 17px; }
.sg-cover-body strong { font-size:clamp(19px,1.9vw,29px); line-height:1.18; font-weight:720; letter-spacing:-.028em; }
.sg-cover-count { grid-column:1; font-size:13px; line-height:1.45; letter-spacing:.02em; color:var(--album-muted); }
.sg-cover-arrow { grid-column:2; grid-row:1/3; margin:auto 0; display:grid; place-items:center; width:34px; height:34px; border:1px solid #a9b4b1; border-radius:50%; color:var(--album-ink); }
.sg-album-actions,.sg-index-results { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; }
.sg-album-actions { margin-top:14px; }
.sg-album-actions p { margin:0; color:var(--album-muted); font-size:14px; }
.sg-album-actions button,.sg-index-results button { background:transparent; color:var(--album-ink); padding:8px 0; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.sg-photo-index .sg-index-results { margin:26px 0 16px; padding:18px 0 0; border-top:2px solid var(--album-ink); }
.sg-index-results h3 { margin:0 0 3px; color:var(--album-ink); font-size:clamp(23px,2.3vw,34px); font-weight:700; }
.sg-photo-index .sg-index-grid { gap:clamp(12px,1.8vw,26px); }
.sg-photo-index .sg-index-grid figure { margin:0; }
.sg-photo-index .sg-index-grid img { border-radius:3px; }
.sg-photo-sentinel { display:block; height:1px; }
.sg-photo-index .sg-index-more { background:#bd211b; color:white; border-radius:4px; margin-inline:auto; }
.sg-photo-index .sg-index-foot { border-top:1px solid var(--album-rule); }
.sg-gallery-hero {
  isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr);
  color:white; background:#152328;
}
.sg-gallery-hero > * { grid-area:1 / 1; }
.sg-gallery-hero__photo {
  width:100%; max-width:none; height:auto; align-self:center; display:block;
}
.sg-gallery-hero::before {
  content:""; grid-area:1 / 1; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,transparent 12%,rgba(10,19,20,.04) 35%,rgba(9,20,21,.81) 64%,rgba(9,20,21,.91) 100%);
  mask-image:linear-gradient(to bottom,transparent,#000 18%,#000);
}
.sg-gallery-hero__copy {
  z-index:2; align-self:center; justify-self:end; width:43%; padding:clamp(26px,3.6vw,72px) clamp(26px,4.8vw,96px) clamp(26px,3.6vw,72px) 0;
}
.sg-gallery-hero .sg-hero-label { display:flex; align-items:center; gap:12px; margin:0 0 12px; color:#fff5ed; font-size:12px; font-weight:700; line-height:1.4; letter-spacing:.14em; text-transform:uppercase; }
.sg-hero-label::before { content:""; width:28px; height:3px; background:#ff7265; }
.sg-gallery-hero h1 { margin:0; color:white; font:inherit; font-size:clamp(46px,5.3vw,98px); font-weight:750; line-height:1.01; letter-spacing:-.045em; text-wrap:balance; }
.sg-gallery-hero .sg-hero-intro { max-width:41ch; margin:14px 0 20px; font-size:clamp(16px,1.16vw,21px); line-height:1.5; color:#faf8f4; }
.sg-gallery-hero button,.sg-album-actions button[data-more-albums] {
  display:inline-flex; justify-content:center; align-items:center; gap:14px; min-height:46px;
  padding:12px 23px; border:0; border-radius:4px; color:white; background:#bd211b;
  font:inherit; font-weight:700; text-decoration:none; cursor:pointer;
}
.sg-gallery-hero button:hover,.sg-album-actions button[data-more-albums]:hover { background:#991c17; }
.sg-gallery-hero button:focus-visible { outline:3px solid white; outline-offset:4px; }
.sg-album-actions { display:grid; justify-content:stretch; gap:6px; text-align:center; }
.sg-album-actions p:empty { display:none; }
.sg-album-actions button[data-more-albums] { justify-self:center; }
@media (max-width:900px) {
  .sg-gallery-hero > * { grid-area:auto; }
  .sg-gallery-hero::before { content:none; }
  .sg-gallery-hero__copy { justify-self:stretch; width:100%; padding:clamp(22px,4vw,38px) clamp(18px,5vw,45px); }
  .sg-gallery-hero h1 { font-size:clamp(38px,7vw,59px); }
  .sg-gallery-hero .sg-hero-intro { max-width:54ch; margin:10px 0 16px; }
}
.sg-photo-index dialog.sg-album-viewer {
  position:fixed; inset:0; margin:auto; width:fit-content; min-width:min(420px,96vw); max-width:96vw;
  height:fit-content; max-height:96vh; max-height:96dvh; overflow:auto; padding:0;
  border:1px solid #556067; border-radius:8px; background:#101719; color:white; box-shadow:0 20px 85px #0008;
}
.sg-album-viewer:not([open]) { display:none; }
.sg-album-viewer::backdrop { background:rgba(12,18,21,.91); }
.sg-view-head,.sg-view-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 15px; background:#19252a; }
.sg-view-head { border-bottom:1px solid #354348; }
.sg-view-head h2 { margin:0; color:white; font-size:clamp(17px,2vw,25px); line-height:1.2; font-weight:700; }
.sg-view-head [data-position] { display:block; color:#c4d1d2; font-size:12px; font-variant-numeric:tabular-nums; }
.sg-album-viewer button { color:white; background:transparent; border:1px solid #758186; border-radius:50%; width:44px; height:44px; padding:0; line-height:1; font:inherit; font-size:23px; cursor:pointer; flex:none; }
.sg-album-viewer button:hover { background:#39484d; }
.sg-album-viewer button:focus-visible { outline:3px solid #ffbdab; outline-offset:-3px; }
.sg-album-viewer button:disabled { opacity:.4; }
.sg-album-viewer figure { margin:0; width:100%; }
.sg-album-viewer [data-original] { display:flex; justify-content:center; align-items:center; }
.sg-album-viewer [data-original] img { display:block; width:auto; height:auto; max-width:min(94vw,1500px); max-height:calc(94vh - 190px); max-height:calc(94dvh - 190px); object-fit:contain; margin:0; }
.sg-album-viewer figcaption { width:0; min-width:100%; margin:0; padding:6px 14px; line-height:1.35; color:#d4dedf; font-size:13px; }
.sg-view-foot { border-top:1px solid #354348; }
.sg-view-strip { display:flex; justify-content:center; gap:6px; min-width:0; }
.sg-view-strip button { width:clamp(32px,6vw,72px); height:44px; padding:2px; border:2px solid transparent; border-radius:3px; }
.sg-view-strip button[aria-pressed=true] { border-color:#ffae9e; }
.sg-view-strip img { width:100%; height:100%; display:block; object-fit:cover; }
@media (max-width:680px) {
  .sg-album-heading { display:grid; gap:12px; }
  .sg-album-search { width:100%; }
  .sg-album-scopes { margin:10px 0 14px; gap:16px; }
  .sg-album-shelf { grid-template-columns:1fr; gap:16px; }
  .sg-cover { aspect-ratio:2.7; }
  .sg-cover-body { padding:10px 5px 12px; }
  .sg-photo-index dialog.sg-album-viewer { min-width:0; width:96vw; }
  .sg-album-viewer [data-original] img { max-width:100%; max-height:calc(90vh - 165px); max-height:calc(90dvh - 165px); }
  .sg-view-head,.sg-view-foot { gap:5px; padding:7px; }
  .sg-view-strip { gap:2px; }
  .sg-view-strip button { width:clamp(30px,9vw,52px); }
}
@media (max-height:480px) and (orientation:landscape) {
  .sg-album-viewer .sg-view-strip,.sg-album-viewer figcaption { display:none; }
  .sg-view-foot { padding-block:2px; }
  .sg-view-head { padding-block:3px; }
  .sg-album-viewer [data-original] img { max-height:calc(94vh - 104px); }
}

/* Keep the collection switcher within reach throughout the albums and photographs. */
.sg-photo-index { --photo-header-height: 53px; }
.sg-album-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 20px;
  padding: 5px;
  border: 1px solid #d5dcdd;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px #17232812;
}
#sieger-shared-header.sg-nav-fixed ~ .sg-photo-index .sg-album-toolbar { top: var(--photo-header-height); }
.sg-album-toolbar .sg-album-scopes {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border: 0;
}
.sg-album-toolbar .sg-album-scopes::-webkit-scrollbar { display: none; }
.sg-album-toolbar .sg-album-scopes button {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0;
  padding: 8px clamp(9px,1.25vw,20px);
  border: 0;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}
.sg-album-toolbar .sg-album-scopes button[aria-pressed=true] { color: #96251e; background: #fae9e6; box-shadow: inset 0 -2px #bc3026; }
.sg-album-picker { display: flex; align-items: center; flex: 0 1 230px; min-width: 0; padding-left: 8px; margin: 0; border-left: 1px solid #d5dcdd; }
.sg-album-picker select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 8px;
  border: 1px solid #b5c1c3;
  border-radius: 5px;
  color: #203336;
  background: #f4f7f6;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.sg-album-toolbar :is(select,button):focus-visible { outline: 2px solid #a52620; outline-offset: -3px; }
.sg-photo-index :is(.sg-index-results,.sg-album-shelf) { scroll-margin-top: calc(var(--photo-header-height) + 70px); }
@media (max-width: 700px) {
  .sg-album-toolbar { gap: 3px; padding: 2px; margin: 10px 0 14px; }
  .sg-album-toolbar .sg-album-scopes button { font-size: 14px; padding-inline: 10px; min-height: 44px; }
  .sg-album-picker { flex: 0 0 clamp(108px,29vw,150px); padding-left: 3px; }
  .sg-album-picker select { font-size: 16px; height: 44px; padding-inline: 4px; }
}
