/* Justified rows in CSS: full image ratios, no empty column tails or JS positioning. */
.gallery-page { background: #f0f7fc; }
.seasonal-gallery { width: 94%; padding-block: 28px 32px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.season-tabs { display: flex; flex-wrap: wrap; gap: 14px; }
.season-tab { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 58px; padding: 9px 30px; border: 2px solid transparent; border-radius: 15px; color: #073f62; background: linear-gradient(120deg, #d9edff, #b9def9); font-size: 20px; font-weight: 800; }
.season-tab svg { width: 36px; height: 36px; flex: none; }
.season-tab:hover { border-color: #84b4d1; }
.season-tab[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); }
.photo-total { display: flex; gap: 10px; align-items: center; flex: none; font-size: 16px; color: #16344f; }
.photo-total strong { padding: 2px 10px; border-radius: 10px; color: #073f62; background: #cfe7fa; font-size: 22px; font-variant-numeric: tabular-nums; }
.season-heading { margin: 0 0 20px; font-size: 28px; }
.season-panel + .season-panel { margin-top: 36px; }
.is-enhanced .season-panel + .season-panel { margin-top: 0; }
.is-enhanced .season-heading { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.photo-grid { --photo-row-height: clamp(210px, 21vw, 330px); display: flex; flex-wrap: wrap; gap: 20px; }
.photo-card { flex: calc(var(--photo-ratio) * 10) 1 calc(var(--photo-ratio) * var(--photo-row-height)); min-width: 0; }
.photo-card > a { position: relative; display: block; overflow: hidden; border-radius: 19px; background: #dce9f1; box-shadow: 0 5px 12px #124a681c; }
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: var(--photo-ratio); object-fit: contain; }
.photo-card > a:focus-visible { outline: 3px solid #087f9d; outline-offset: 3px; }
.photo-expand { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: #00394cba; font-size: 24px; opacity: 0; transition: opacity .15s; }
.photo-card > a:hover .photo-expand, .photo-card > a:focus-visible .photo-expand { opacity: 1; }
.season-panel[hidden] { display: none; }
@media (max-width: 1199px) { .season-tab { padding-inline: 23px; gap: 14px; font-size: 18px; } }
@media (max-width: 900px) { .gallery-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 16px; } .photo-total { margin-left: auto; } }
@media (max-width: 600px) {
  .seasonal-gallery { width: 90%; padding-block: 22px 28px; }
  .gallery-toolbar { margin-bottom: 18px; gap: 14px; }
  .season-tabs { width: 100%; gap: 8px; }
  .season-tab { flex: 1; gap: 7px; min-height: 52px; padding: 9px 7px; border-radius: 12px; font-size: clamp(12px, 3.45vw, 17px); }
  .season-tab svg { width: 25px; height: 25px; }
  .photo-total { font-size: 14px; gap: 8px; }
  .photo-total strong { font-size: 18px; }
  .photo-grid { --photo-row-height: 160px; gap: 14px; }
  .photo-card > a { border-radius: 12px; }
}
@media (forced-colors: active) { .season-tab, .photo-card > a { border: 1px solid ButtonText; } .season-tab[aria-selected="true"] { outline: 3px solid Highlight; outline-offset: -4px; } }
