:root {
  color: #123f54;
  background: #f3f3f0;
  font-family: 'szshabnam', Tahoma, sans-serif;
  font-synthesis: none;
}

.page-shell {
  width: min(100% - 18px, 1120px);
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  overflow: hidden;
  background: #fbfbf8;
  border: 1px solid #dadcd7;
  border-radius: 11px;
  box-shadow: 0 4px 18px rgb(17 35 43 / 8%);
}

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 40% 40%, rgb(158 100 57 / 50%), transparent 35%),
    linear-gradient(105deg, #091727 3%, #0f202d 54%, #111c26 100%);
}

.hero::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 61%;
  background: linear-gradient(90deg, transparent 76%, #0c1b27 100%);
  content: '';
  pointer-events: none;
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 53%;
  background-image: linear-gradient(90deg, #0c1b27 0%, transparent 28%), url('assets/hero-art.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 55%;
  padding: 70px 6% 34px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 3px;
  font-size: clamp(27px, 3.4vw, 43px);
  font-weight: 700;
}

.hero-copy strong {
  display: block;
  color: #edc885;
  font-size: clamp(39px, 5vw, 57px);
  font-weight: 700;
  line-height: 1.2;
}

.hero-copy p {
  margin: 11px 0 12px;
  font-size: 17px;
}

.ornament {
  display: flex;
  align-items: center;
  max-width: 290px;
  margin: 0 auto 14px;
  color: #c69b5e;
  font-size: 22px;
}

.ornament::before,
.ornament::after {
  height: 1px;
  flex: 1;
  background: #9d744a;
  content: '';
}

.ornament::before {
  margin-left: 9px;
}

.ornament::after {
  margin-right: 9px;
}

.hero-copy h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
}

.content {
  display: grid;
  gap: 17px;
  padding: 20px 28px 26px;
}

.card {
  background: #f6f6f3;
  border: 1px solid #f0f0ec;
  border-radius: 10px;
  box-shadow: 0 3px 13px rgb(24 47 57 / 4%);
}

.summary {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  min-height: 135px;
  padding: 18px 28px;
}

.summary > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.summary > div:not(:last-child) {
  border-left: 1px solid #d9dcd9;
}

.summary h3,
.summary p,
.summary b {
  margin: 0;
}

.summary h3 {
  margin-bottom: 7px;
  color: #154d66;
  font-size: 15px;
  font-weight: 600;
}

.summary b {
  color: #193b4b;
  font-size: 15px;
  font-weight: 600;
}

.summary p {
  margin-top: 10px;
  font-size: 13px;
}

.calendar-icon {
  flex: 0 0 auto;
}

.person {
  justify-content: center;
  padding: 0 20px;
}

.person img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 4px solid #e4e5e2;
  border-radius: 50%;
}

.info-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.45fr 0.72fr;
  gap: 16px;
}

.info-grid > .card {
  min-height: 228px;
  padding: 22px 25px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2,
.categories-card h2,
.call-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.team-card ul {
  margin: 17px 0 12px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 2;
}

.more-link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #345e70;
  font-size: 12px;
}

.team-card,
.posters,
.judges {
  display: flex;
  flex-direction: column;
}

.categories-card h2 {
  margin: 2px 0 22px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.category {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(145deg, #f0f0ed, #fafaf8);
  border-radius: 9px;
}

.category span {
  height: 48px;
  color: #194f66;
  font-family: Georgia, serif;
  font-size: 43px;
  line-height: 1;
}

.category b {
  font-size: 15px;
}

.stats-card {
  text-align: center;
}

.stats-card > svg {
  margin: 0 auto 10px;
}

.stats-card h3,
.stats-card p {
  margin: 0;
  font-size: 12px;
}

.stats-card p {
  margin-bottom: 3px;
}

.stats-card b {
  font-size: 18px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 16px;
}

.media-grid > .card {
  min-height: 270px;
}

.posters {
  padding: 15px 25px 13px;
}

.poster-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 10px;
}

.poster-row img {
  width: 100%;
  aspect-ratio: 0.73;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(13 32 39 / 15%);
}

.posters .more-link {
  margin-right: auto;
}

.gallery {
  position: relative;
  overflow: hidden;
  background: #091521;
}

.gallery > img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  animation: gallery-fade 420ms ease;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 33px;
  height: 55px;
  color: white;
  background: rgb(7 21 32 / 58%);
  border-radius: 5px;
  cursor: pointer;
  font-size: 35px;
  line-height: 1;
  transform: translateY(-50%);
  place-items: center;
}

.slider-next {
  right: 8px;
}

.slider-prev {
  left: 8px;
}

.slider-dots {
  position: absolute;
  bottom: 11px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: #e9edf0;
  border-radius: 50%;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots .active {
  width: 18px;
  background: #2967b9;
  border-radius: 7px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.72fr;
  gap: 16px;
}

.bottom-grid > .card {
  min-height: 202px;
}

.judges {
  padding: 14px 23px 10px;
}

.judges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 10px 0 8px;
  animation: judges-in 280ms ease;
}

.judges-carousel {
  position: relative;
  padding: 0 25px;
}

.judges-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 27px;
  height: 38px;
  padding: 0;
  color: #174d64;
  background: #eceeeb;
  border: 1px solid #dfe3df;
  border-radius: 7px;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease;
  place-items: center;
}

.judges-arrow:hover {
  color: white;
  background: #174d64;
}

.judges-next {
  right: -5px;
}

.judges-prev {
  left: -5px;
}

@keyframes gallery-fade {
  from {
    opacity: 0.35;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes judges-in {
  from {
    opacity: 0.35;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.judge {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.judge img {
  width: 61px;
  height: 61px;
  margin-bottom: 7px;
  object-fit: cover;
  border: 3px solid #ebebe8;
  border-radius: 50%;
}

.judge b {
  font-size: 11px;
  white-space: nowrap;
}

.judge span {
  margin-top: 3px;
  color: #426576;
  font-size: 9px;
}

.judges .more-link {
  margin-right: auto;
}

.call-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-content: center;
  align-items: start;
  padding: 20px 26px;
  text-align: center;
}

.call-card h2 {
  margin: 0 0 8px;
}

.call-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.call-card small {
  font-size: 10px;
}

.pdf {
  display: grid;
  width: 29px;
  height: 34px;
  margin-top: 5px;
  color: white;
  background: #d6504c;
  border-radius: 3px 3px 7px 3px;
  font-size: 9px;
  place-items: center;
}

.download {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 128px;
  margin-top: 16px;
  padding: 9px 18px;
  color: white;
  background: #0d506e;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgb(12 80 109 / 17%);
  font-size: 14px;
  transition: background 180ms ease, transform 180ms ease;
}

.download:hover {
  background: #0a4058;
  transform: translateY(-1px);
}

.project-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #0c3d54, #102b3c);
  color: white;
}

.project-download h2 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
}

.project-download p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
}

.project-download > a {
  display: flex;
  min-width: 165px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  color: #123f54;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.project-download > a:hover {
  background: #edc885;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .summary {
    grid-template-columns: 1fr 1fr;
  }

  .date-block {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #d9dcd9;
    border-left: 0 !important;
  }

  .summary .person {
    padding-top: 15px;
  }

  .info-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .stats-card {
    grid-column: 1 / -1;
    min-height: auto !important;
  }

  .media-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 540px;
  }

  .hero-art {
    top: 0;
    width: 100%;
    height: 275px;
    background-image: linear-gradient(0deg, #0b1b28 2%, transparent 45%), url('assets/hero-art.webp');
    background-position: center;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    position: absolute;
    right: 0;
    bottom: 19px;
    width: 100%;
    padding: 25px 18px;
    background: linear-gradient(0deg, #0b1b28 50%, transparent);
  }

  .hero-copy p {
    font-size: 14px;
  }

  .content {
    padding: 14px;
  }

  .summary {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .summary > div {
    justify-content: flex-start;
  }

  .summary .person {
    padding: 16px 0;
    border-bottom: 1px solid #d9dcd9;
    border-left: 0;
  }

  .summary .person:last-child {
    border-bottom: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-column: auto;
  }

  .categories-card {
    grid-row: 1;
    padding: 20px 14px !important;
  }

  .categories {
    gap: 7px;
  }

  .category {
    min-height: 105px;
    gap: 8px;
  }

  .category span {
    height: 39px;
    font-size: 35px;
  }

  .category b {
    font-size: 12px;
  }

  .posters {
    padding-inline: 14px;
  }

  .poster-row {
    gap: 7px;
  }

  .judges {
    padding-inline: 13px;
  }

  .judges-row {
    gap: 5px;
  }

  .judges-carousel {
    padding-inline: 19px;
  }

  .judge img {
    width: 53px;
    height: 53px;
  }

  .judge b {
    font-size: 9px;
  }

  .project-download {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    text-align: center;
  }

  .project-download > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery > img,
  .judges-row {
    animation: none;
  }
}

.large-icon {
  flex: 0 0 auto;
  font-size: 32px;
}

.heading-icon {
  color: #174d64;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -4px;
}
