:root {
  --tsu-gallery-blue: #153f78;
  --tsu-gallery-bright: #2f61a8;
  --tsu-gallery-ink: #172033;
  --tsu-gallery-muted: #5d687b;
  --tsu-gallery-pale: #eef4fb;
  --tsu-gallery-line: #d8e0ea;
}

.tsu-gallery-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px 32px 104px;
  color: var(--tsu-gallery-ink);
  font-family: Inter, Arial, sans-serif;
}

.tsu-gallery-intro {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.tsu-gallery-intro > div {
  max-width: 850px;
}

.tsu-gallery-kicker {
  margin: 0 0 12px;
  color: var(--tsu-gallery-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tsu-gallery-intro h1 {
  margin: 0;
  color: var(--tsu-gallery-blue);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.tsu-gallery-deck {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--tsu-gallery-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.tsu-gallery-page .tsu-gallery-flickr-button {
  flex: 0 0 auto;
  padding: 14px 20px;
  color: #fff;
  background: var(--tsu-gallery-blue);
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}

.tsu-gallery-page .tsu-gallery-flickr-button:hover,
.tsu-gallery-page .tsu-gallery-flickr-button:focus-visible {
  color: #fff;
  background: #0e315f;
}

.tsu-gallery-year {
  margin-top: 76px;
}

.tsu-gallery-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tsu-gallery-line);
}

.tsu-gallery-section-heading h2,
.tsu-gallery-archive-heading h2 {
  margin: 0;
  color: var(--tsu-gallery-blue);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.tsu-gallery-section-heading p {
  margin: 0;
  color: var(--tsu-gallery-muted);
  font-weight: 700;
}

.tsu-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tsu-gallery-card {
  min-width: 0;
}

.tsu-gallery-card > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: #fff;
  background: var(--tsu-gallery-blue);
  border-radius: 3px;
  text-decoration: none;
}

.tsu-gallery-card-image,
.tsu-gallery-card-image img,
.tsu-gallery-image-fallback,
.tsu-gallery-card-shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tsu-gallery-card-image img {
  object-fit: cover;
  transition: transform .35s ease;
}

.tsu-gallery-image-fallback {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.28);
  font-family: Fraunces, Georgia, serif;
  font-size: 72px;
  font-weight: 800;
}

.tsu-gallery-card-shade {
  background: linear-gradient(to top, rgba(3, 15, 34, .99) 0%, rgba(3, 15, 34, .82) 38%, rgba(3, 15, 34, .34) 72%, rgba(3, 15, 34, .04) 100%);
}

.tsu-gallery-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 24px;
}

.tsu-gallery-page .tsu-gallery-card-copy strong,
.tsu-gallery-page .tsu-gallery-card-copy > span {
  display: block;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .72);
}

.tsu-gallery-page .tsu-gallery-card-copy strong {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 750;
  line-height: 1.08;
}

.tsu-gallery-page .tsu-gallery-card-copy > span {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.tsu-gallery-card > a:hover img,
.tsu-gallery-card > a:focus-visible img {
  transform: scale(1.045);
}

.tsu-gallery-card > a:focus-visible {
  outline: 4px solid #f4c95d;
  outline-offset: 3px;
}

.tsu-gallery-archive {
  margin-top: 96px;
  padding: 64px;
  background: var(--tsu-gallery-pale);
  border-top: 4px solid var(--tsu-gallery-blue);
}

.tsu-gallery-archive-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.tsu-gallery-archive-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--tsu-gallery-muted);
  font-size: 18px;
  line-height: 1.6;
}

.tsu-gallery-archive-years {
  display: grid;
  gap: 46px;
}

.tsu-gallery-archive-year {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 30px;
}

.tsu-gallery-archive-year h3 {
  margin: 0;
  color: var(--tsu-gallery-blue);
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
}

.tsu-gallery-archive-year ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c9d5e4;
}

.tsu-gallery-archive-year li {
  border-bottom: 1px solid #c9d5e4;
}

.tsu-gallery-archive-year li a {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 0;
  color: var(--tsu-gallery-ink);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.tsu-gallery-archive-year li a:hover > span:first-child,
.tsu-gallery-archive-year li a:focus-visible > span:first-child {
  color: var(--tsu-gallery-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tsu-gallery-list-meta {
  flex: 0 0 auto;
  color: var(--tsu-gallery-muted);
  font-size: 12px;
  font-weight: 600;
}

.tsu-gallery-footer-item .elementor-icon-list-icon {
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 960px) {
  .tsu-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tsu-gallery-archive {
    padding: 44px;
  }

  .tsu-gallery-archive-year {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .tsu-gallery-page {
    padding: 52px 20px 76px;
  }

  .tsu-gallery-intro {
    display: block;
  }

  .tsu-gallery-flickr-button {
    display: inline-block;
    margin-top: 26px;
  }

  .tsu-gallery-grid,
  .tsu-gallery-archive-year ul {
    grid-template-columns: 1fr;
  }

  .tsu-gallery-card > a {
    aspect-ratio: 5 / 4;
  }

  .tsu-gallery-archive {
    margin: 72px -20px 0;
    padding: 42px 20px;
  }

  .tsu-gallery-archive-year li a {
    display: block;
  }

  .tsu-gallery-list-meta {
    display: block;
    margin-top: 5px;
  }
}
