﻿body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #fff;
}

#page-container,
#main-container {
  background-color: #fff;
}

#main-container {
  text-align: justify;
  text-justify: inter-word;
}

.bg-body-extra-light {
  background-color: #fff !important;
}

.site-header {
  background-color: #fff !important;
  border-bottom: 2px solid #D72134;
  box-shadow: none;
}

#sidebar {
  background-color: #fff !important;
  color: #010344;
}

.sidebar-dark #sidebar,
.sidebar-dark #sidebar .content-header,
.sidebar-dark #sidebar .content-side {
  background-color: #fff !important;
}

#page-header .nav-main-link,
#sidebar .nav-main-link {
  color: #D72134 !important;
  border-radius: 6px;
}

#page-header .nav-main-link-name,
#sidebar .nav-main-link-name {
  color: #D72134 !important;
}

#page-header .nav-main-link:hover,
#page-header .nav-main-link:focus,
#sidebar .nav-main-link:hover,
#sidebar .nav-main-link:focus {
  color: #fff !important;
  background-color: rgba(215, 33, 52, 0.72) !important;
}

#page-header .nav-main-link:hover .nav-main-link-name,
#page-header .nav-main-link:focus .nav-main-link-name,
#sidebar .nav-main-link:hover .nav-main-link-name,
#sidebar .nav-main-link:focus .nav-main-link-name {
  color: #fff !important;
}

.page-header-dark #page-header .nav-main-link:hover,
.page-header-dark #page-header .nav-main-link:focus,
.sidebar-dark #sidebar .nav-main-link:hover,
.sidebar-dark #sidebar .nav-main-link:focus {
  color: #fff !important;
  background-color: rgba(215, 33, 52, 0.72) !important;
}

.page-header-dark #page-header .nav-main-link:hover .nav-main-link-name,
.page-header-dark #page-header .nav-main-link:focus .nav-main-link-name,
.sidebar-dark #sidebar .nav-main-link:hover .nav-main-link-name,
.sidebar-dark #sidebar .nav-main-link:focus .nav-main-link-name {
  color: #fff !important;
}

#page-header .nav-main-link.active,
#sidebar .nav-main-link.active {
  color: #fff !important;
  background-color: #D72134 !important;
}

#page-header .nav-main-link.active .nav-main-link-name,
#sidebar .nav-main-link.active .nav-main-link-name {
  color: #fff !important;
}

#page-header .btn-alt-secondary {
  color: #D72134;
  background-color: rgba(215, 33, 52, 0.08);
  border-color: rgba(215, 33, 52, 0.18);
}

.site-mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1rem;
}

.site-logo {
  height: 30px;
  margin-left: 10px;
}

.site-menu-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-menu-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(34vw, 300px);
  object-fit: contain;
}

.site-sidebar-logo {
  max-width: 190px;
}

.site-sidebar-header {
  border-bottom: 1px solid rgba(215, 33, 52, 0.14);
}

.site-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(215, 33, 52, 0.24);
  border-radius: 10px;
  background-color: rgba(215, 33, 52, 0.08);
  color: #D72134;
  line-height: 1;
}

.site-sidebar-close:hover,
.site-sidebar-close:focus,
.site-mobile-menu-button:hover,
.site-mobile-menu-button:focus {
  border-color: #D72134;
  background-color: #D72134;
  color: #fff;
}

.page-title-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background-color: #D72134;
  text-align: center;
}

.page-title-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.updating-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 0;
  text-align: center;
}

.updating-content__text {
  margin: 0;
  color: #010344;
  font-size: 1.25rem;
  font-weight: 600;
}

.updating-content__image {
  width: min(320px, 80vw);
  height: auto;
}

.video-recap-section {
  padding: 28px 0 42px;
}

.video-recap-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 8px;
  background-color: #000;
  box-shadow: 0 18px 50px rgba(1, 3, 68, 0.14);
}

.video-recap-player + .video-recap-player {
  margin-top: 24px;
}

.video-playlist {
  margin-top: 28px;
}

.video-playlist__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.video-playlist__title {
  margin: 0;
  color: #010344;
  font-size: 1.5rem;
  font-weight: 700;
}

.video-playlist__count {
  flex: 0 0 auto;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
}

.video-playlist__layout {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(260px, 3fr);
  gap: 20px;
  align-items: start;
}

.video-playlist__viewer {
  min-width: 0;
}

.video-playlist__side {
  min-width: 0;
}

.video-playlist__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  height: min(620px, calc(100vh - 150px));
  overflow-y: auto;
  padding-right: 4px;
}

.video-playlist__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 8px;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #fff;
  color: #010344;
  text-align: left;
  box-shadow: 0 10px 28px rgba(1, 3, 68, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.video-playlist__item:hover,
.video-playlist__item:focus {
  border-color: #D72134;
  box-shadow: 0 14px 32px rgba(1, 3, 68, 0.14);
  transform: translateY(-1px);
}

.video-playlist__item.is-active {
  border-color: #D72134;
  box-shadow: 0 14px 32px rgba(215, 33, 52, 0.16);
}

.video-playlist__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background-color: #000;
}

.video-playlist__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-playlist__meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.video-playlist__index {
  color: #D72134;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.video-playlist__name {
  display: -webkit-box;
  overflow: hidden;
  color: #010344;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 991.98px) {
  .video-playlist__layout {
    grid-template-columns: 1fr;
  }

  .video-playlist__grid {
    height: auto;
    padding-right: 0;
  }
}

.agenda-image {
  max-width: 1120px;
  margin: 0 auto;
}

.agenda-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(1, 3, 68, 0.1);
  border-radius: 8px;
  background-color: #fff;
}

.exhibition-category-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 32px 0 8px;
}

.exhibition-category-button {
  min-width: 132px;
  padding: 8px 22px;
  border: 1.5px solid #111;
  border-radius: 999px;
  background-color: #fff;
  color: #111;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.exhibition-category-button:hover,
.exhibition-category-button:focus {
  border-color: #D72134;
  background-color: #D72134;
  color: #fff;
}

.exhibition-category-button.is-active {
  border-color: #D72134;
  background-color: #D72134;
  color: #fff;
}

.exhibition-country-panel {
  padding: 20px 0 42px;
}

.exhibition-country-title {
  margin-bottom: 14px;
  color: #010344;
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
}

.exhibition-view-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid rgba(1, 3, 68, 0.14);
  border-radius: 999px;
  background-color: #f7f7f7;
}

.exhibition-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: #010344;
  font-weight: 700;
  line-height: 1.2;
}

.exhibition-view-button.is-active,
.exhibition-view-button:hover,
.exhibition-view-button:focus {
  background-color: #D72134;
  color: #fff;
}

.exhibition-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.exhibition-gallery-item {
  margin: 0;
  border: 1px solid rgba(1, 3, 68, 0.1);
  background-color: #f5f5f5;
  cursor: zoom-in;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.exhibition-gallery-item:hover,
.exhibition-gallery-item:focus-within {
  border-color: rgba(215, 33, 52, 0.45);
  box-shadow: 0 12px 28px rgba(1, 3, 68, 0.12);
  transform: translateY(-2px);
}

.exhibition-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.exhibition-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 6px;
  border: 1px solid rgba(1, 3, 68, 0.14);
  border-radius: 999px;
  background-color: #f7f7f7;
}

.exhibition-pagination[hidden] {
  display: none;
}

.exhibition-pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  color: #010344;
  font-size: 1.1rem;
}

.exhibition-pagination-button:hover,
.exhibition-pagination-button:focus {
  background-color: #D72134;
  color: #fff;
}

.exhibition-pagination-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.exhibition-pagination-button:disabled:hover,
.exhibition-pagination-button:disabled:focus {
  background-color: #fff;
  color: #010344;
}

.exhibition-pagination-status {
  min-width: 96px;
  color: #010344;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.exhibition-empty-state {
  margin: 28px 0 0;
  color: #010344;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.exhibition-room-view {
  margin-top: 28px;
  text-align: left;
}

.exhibition-room-shell {
  position: relative;
  min-height: 600px;
  isolation: isolate;
}

.exhibition-room-viewport {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(225, 216, 201, 0.82) 0 16%, transparent 16%),
    linear-gradient(245deg, rgba(225, 216, 201, 0.82) 0 16%, transparent 16%),
    linear-gradient(to bottom, #fbfaf7 0 10%, #f2ede5 10% 66%, #d8cab7 66% 100%);
  box-shadow:
    0 24px 58px rgba(1, 3, 68, 0.12),
    inset 0 -130px 150px rgba(1, 3, 68, 0.11);
  perspective: 1300px;
}

.exhibition-room-viewport::before {
  position: absolute;
  top: 8%;
  right: 50%;
  width: 240px;
  height: 54px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  content: "";
  filter: blur(2px);
  opacity: 0.95;
  pointer-events: none;
  transform: translateX(50%);
}

.exhibition-room-viewport::after {
  position: absolute;
  right: 11%;
  bottom: 0;
  left: 11%;
  height: 34%;
  background:
    linear-gradient(116deg, transparent 0 48%, rgba(1, 3, 68, 0.08) 49%, transparent 51%),
    linear-gradient(64deg, transparent 0 48%, rgba(1, 3, 68, 0.08) 49%, transparent 51%);
  background-size: 190px 100%, 190px 100%;
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.exhibition-room-wall-label {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  padding: 8px 16px;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #010344;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(1, 3, 68, 0.11);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.exhibition-room-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.exhibition-room-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: 0;
}

.exhibition-room-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 78px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(1, 3, 68, 0.14);
  backdrop-filter: blur(8px);
  color: #010344;
  cursor: pointer;
  font-size: 1.8rem;
  transform: translateY(-50%);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.exhibition-room-nav--prev {
  left: 18px;
}

.exhibition-room-nav--next {
  right: 18px;
}

.exhibition-room-nav:hover,
.exhibition-room-nav:focus {
  background-color: #D72134;
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.home-section {
  padding: 22px 0;
}

.home-section + .home-section {
  border-top: 1px solid rgba(1, 3, 68, 0.1);
}

.home-section-kicker {
  margin-bottom: 8px;
  color: #D72134;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-section-title {
  margin-bottom: 18px;
  color: #010344;
  font-weight: 800;
}

.home-section-lead {
  max-width: 900px;
  color: #24304f;
  font-size: 1.08rem;
  line-height: 1.8;
}

.home-section--about .home-section-lead {
  max-width: 980px;
  text-align: left;
}

.home-overview-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 11px;
}

.home-overview-point,
.home-team-card,
.home-news-card {
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #fff;
}

.home-overview-point {
  padding: 20px;
}

.home-section--about .home-overview-points {
  margin-top: 24px;
}

.home-section--about .home-overview-point {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.home-overview-point strong {
  display: block;
  margin-bottom: 8px;
  color: #D72134;
}

.home-overview-point p,
.home-team-card p,
.home-news-card p {
  margin-bottom: 0;
  color: #24304f;
  line-height: 1.65;
}

.home-section--about .home-overview-point p {
  text-align: left;
}

.home-team-grid,
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-team-card,
.home-news-card {
  padding: 22px;
}

.home-news-card {
  display: flex;
  flex-direction: column;
}

.home-news-grid--featured {
  max-width: 760px;
  grid-template-columns: minmax(0, 1fr);
}

.home-news-updating {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #fff;
  color: #010344;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: center;
}

.home-team-role,
.home-news-meta {
  display: block;
  margin-bottom: 10px;
  color: #D72134;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-team-card h3,
.home-news-card h3 {
  margin-bottom: 12px;
  color: #010344;
  font-size: 1.08rem;
  font-weight: 800;
}

.committee-page-section {
  padding: 32px 0 42px;
}

.home-news-read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 18px;
  color: #D72134;
  font-weight: 800;
  line-height: 1.2;
}

.home-news-read-more:hover,
.home-news-read-more:focus {
  color: #010344;
  text-decoration: none;
}

.news-detail-section {
  padding: 38px 0 48px;
}

.news-detail-article {
  max-width: 900px;
  margin: 0 auto;
}

.news-detail-meta {
  display: block;
  margin-bottom: 12px;
  color: #D72134;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-detail-article h2 {
  margin-bottom: 22px;
  color: #010344;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
}

.news-detail-article p {
  color: #24304f;
  font-size: 1.06rem;
  line-height: 1.85;
}

.news-detail-list {
  display: grid;
  gap: 12px;
  margin: 0 0 1.875rem;
  padding: 0;
  list-style: none;
}

.news-detail-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #fff;
  color: #24304f;
  line-height: 1.65;
}

.news-detail-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  color: #D72134;
  content: "\2713";
  font-weight: 900;
}

.news-detail-article .home-link-button {
  margin-top: 12px;
}

.committee-page-heading {
  max-width: 940px;
  margin-bottom: 24px;
}

.committee-page-heading p {
  margin-bottom: 0;
  color: #24304f;
  font-size: 1.05rem;
  line-height: 1.8;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.committee-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #fff;
  text-align: left;
}

.committee-card--page {
  grid-template-columns: 220px minmax(0, 1fr);
}

.committee-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  background-color: #f5f5f5;
}

.committee-card--page .committee-card-image {
  height: 300px;
}

.committee-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
}

.committee-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(215, 33, 52, 0.12), rgba(1, 3, 68, 0.08)),
    #f7f7f7;
  color: #010344;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800;
}

.committee-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.committee-card-role {
  display: block;
  margin-bottom: 10px;
  color: #D72134;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.committee-card h3 {
  margin-bottom: 12px;
  color: #010344;
  font-size: 1.24rem;
  font-weight: 800;
}

.committee-card p {
  margin-bottom: 0;
  color: #24304f;
  line-height: 1.65;
}

.contact-section {
  padding: 34px 0 44px;
}

.contact-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #fff;
}

.contact-card h2 {
  margin-bottom: 24px;
  color: #010344;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(1, 3, 68, 0.1);
}

.contact-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D72134;
  font-weight: 800;
}

.contact-list dt .fa {
  width: 18px;
  color: #D72134;
  font-size: 1rem;
  text-align: center;
}

.contact-list dd {
  margin-bottom: 0;
  color: #24304f;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: #010344;
  font-weight: 700;
}

.contact-list a:hover,
.contact-list a:focus {
  color: #D72134;
  text-decoration: none;
}

.contact-map {
  width: min(1120px, 100%);
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #f7f7f7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 440px;
}

.home-section-actions {
  margin-top: 18px;
}

.home-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 1.5px solid #111;
  border-radius: 999px;
  color: #111;
  font-weight: 600;
  line-height: 1.2;
}

.home-link-button:hover,
.home-link-button:focus {
  border-color: #D72134;
  background-color: #D72134;
  color: #fff;
  text-decoration: none;
}

.home-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-gallery-preview-item {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 8px;
  background-color: #f5f5f5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-gallery-preview-item:hover,
.home-gallery-preview-item:focus {
  border-color: rgba(215, 33, 52, 0.45);
  box-shadow: 0 12px 28px rgba(1, 3, 68, 0.12);
  transform: translateY(-2px);
}

.home-gallery-preview-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.home-gallery-preview-actions {
  text-align: center;
}

.home-featured-gallery {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.home-gallery-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-color: #f5f5f5;
  line-height: 0;
  perspective: 1200px;
}

.home-gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.home-gallery-main::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.home-gallery-main.is-page-turning-next img {
  animation: galleryPageTurnNext 1s cubic-bezier(0.25, 0.82, 0.28, 1);
  transform-origin: left center;
}

.home-gallery-main.is-page-turning-previous img {
  animation: galleryPageTurnPrevious 1s cubic-bezier(0.25, 0.82, 0.28, 1);
  transform-origin: right center;
}

.home-gallery-main.is-page-turning-next::after {
  background: linear-gradient(90deg, rgba(1, 3, 68, 0.12), rgba(255, 255, 255, 0.28) 48%, transparent 76%);
  animation: galleryPageShadow 0.78s ease;
}

.home-gallery-main.is-page-turning-previous::after {
  background: linear-gradient(270deg, rgba(1, 3, 68, 0.12), rgba(255, 255, 255, 0.28) 48%, transparent 76%);
  animation: galleryPageShadow 0.78s ease;
}

@keyframes galleryPageTurnNext {
  0% {
    filter: brightness(0.95);
    transform: rotateY(-35deg) translateX(3%);
  }

  62% {
    filter: brightness(0.98);
    transform: rotateY(5deg) translateX(0);
  }

  100% {
    filter: brightness(1);
    transform: rotateY(0) translateX(0);
  }
}

@keyframes galleryPageTurnPrevious {
  0% {
    filter: brightness(0.95);
    transform: rotateY(42deg) translateX(-3%);
  }

  62% {
    filter: brightness(0.98);
    transform: rotateY(-5deg) translateX(0);
  }

  100% {
    filter: brightness(1);
    transform: rotateY(0) translateX(0);
  }
}

@keyframes galleryPageShadow {
  0% {
    opacity: 0.28;
  }

  70% {
    opacity: 0.12;
  }

  100% {
    opacity: 0;
  }
}

.home-gallery-main figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home-gallery-control,
.home-gallery-zoom {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}

.home-gallery-main:hover .home-gallery-control,
.home-gallery-main:hover .home-gallery-zoom,
.home-gallery-main:focus-within .home-gallery-control,
.home-gallery-main:focus-within .home-gallery-zoom {
  opacity: 1;
  pointer-events: auto;
}

.home-gallery-control {
  top: 0;
  bottom: 0;
  width: 64px;
  font-size: 3.5rem;
  background-color: transparent;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.home-gallery-control--prev {
  left: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.36), transparent);
}

.home-gallery-control--next {
  right: 0;
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.36), transparent);
}

.home-gallery-control:hover,
.home-gallery-control:focus {
  background-color: rgba(0, 0, 0, 0.18);
}

.home-gallery-zoom {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(1, 3, 68, 0.74);
  font-size: 1rem;
  line-height: 1;
}

.home-gallery-zoom:hover,
.home-gallery-zoom:focus {
  background-color: #D72134;
}

.home-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 76px 24px 24px;
  background-color: rgba(245, 245, 245, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.home-gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-gallery-lightbox-stage {
  width: 100%;
  height: 100%;
  overflow: auto;
  text-align: center;
}

.home-gallery-lightbox img {
  display: block;
  max-width: min(1200px, 94vw);
  max-height: calc(100vh - 116px);
  margin: 0 auto;
  object-fit: contain;
  background-color: #fff;
  box-shadow: 0 18px 50px rgba(1, 3, 68, 0.14);
}

.exhibition-lightbox-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.exhibition-lightbox-frame {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
}

.exhibition-lightbox-frame.is-paired {
  gap: 18px;
}

.exhibition-lightbox-frame img {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: min(1100px, calc(100vw - 136px));
  max-height: calc(100vh - 116px);
  margin: 0;
  object-fit: contain;
}

.exhibition-lightbox-frame.is-paired img {
  max-width: min(540px, calc((100vw - 154px) / 2));
}

.exhibition-lightbox-frame img[hidden] {
  display: none;
}

.home-gallery-lightbox-toolbar {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(1, 3, 68, 0.12);
  border-radius: 999px;
  background-color: #fff;
  box-shadow: 0 10px 28px rgba(1, 3, 68, 0.12);
  transform: translateX(-50%);
}

.home-gallery-lightbox-tool,
.home-gallery-lightbox-close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  color: #010344;
  font-size: 1.25rem;
}

.home-gallery-lightbox-tool {
  position: static;
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}

.home-gallery-lightbox-close {
  top: 18px;
  right: 18px;
  z-index: 2;
}

.home-gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 76px;
  border: 0;
  background-color: rgba(1, 3, 68, 0.72);
  color: #fff;
  font-size: 2rem;
  transform: translateY(-50%);
}

.home-gallery-lightbox-nav--prev {
  left: 18px;
}

.home-gallery-lightbox-nav--next {
  right: 18px;
}

.home-gallery-lightbox-nav:hover,
.home-gallery-lightbox-nav:focus {
  background-color: #D72134;
}

.home-gallery-lightbox-level {
  min-width: 54px;
  color: #010344;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.home-gallery-lightbox-tool:hover,
.home-gallery-lightbox-tool:focus,
.home-gallery-lightbox-close:hover,
.home-gallery-lightbox-close:focus {
  background-color: #D72134;
  color: #fff;
}

.home-gallery-thumbs {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.home-gallery-thumb {
  flex: 0 0 calc((100% - 28px) / 8);
  min-width: 96px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.78;
  scroll-snap-align: start;
  transition: opacity 0.18s ease, box-shadow 0.18s ease;
}

.home-gallery-thumb.is-active {
  opacity: 1;
  outline: 3px solid #D72134;
  outline-offset: -3px;
}

.home-gallery-thumb:hover,
.home-gallery-thumb:focus {
  opacity: 1;
}

.home-gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background-color: #f5f5f5;
}

.home-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.home-gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 2px solid #111;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.home-gallery-dot.is-active {
  background-color: #111;
}

.home-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
  #page-container.sidebar-o-xs::before {
    position: fixed;
    inset: 0;
    z-index: 1018;
    background-color: rgba(1, 3, 68, 0.24);
    content: "";
  }

  #sidebar {
    width: min(88vw, 340px);
    border-right: 2px solid rgba(215, 33, 52, 0.22);
    box-shadow: 18px 0 48px rgba(1, 3, 68, 0.16);
  }

  .site-sidebar-header {
    min-height: 76px;
    padding: 14px 18px;
  }

  .site-sidebar-close {
    display: inline-flex;
  }

  .site-sidebar-logo {
    max-width: min(64vw, 230px);
  }

  #sidebar .content-side {
    padding: 18px 14px 28px;
  }

  #sidebar .nav-main {
    display: grid;
    gap: 8px;
    padding: 0;
  }

  #sidebar .nav-main-item {
    margin: 0;
  }

  #sidebar .nav-main-link {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(215, 33, 52, 0.14);
    border-radius: 10px;
    background-color: rgba(215, 33, 52, 0.045);
    text-align: left;
  }

  #sidebar .nav-main-link-name {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
  }

  #sidebar .nav-main-link.active {
    border-color: #D72134;
    box-shadow: 0 10px 22px rgba(215, 33, 52, 0.18);
  }

  .home-overview-points,
  .home-team-grid,
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exhibition-room-shell,
  .exhibition-room-viewport {
    min-height: 520px;
  }

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

  .committee-card,
  .committee-card--page {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .committee-card--page .committee-card-image {
    height: 260px;
  }

  .exhibition-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-gallery-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .home-gallery-thumb {
    flex-basis: calc((100% - 16px) / 5);
  }
}

@media (max-width: 575.98px) {
  .home-section {
    padding: 16px 0;
  }

  .exhibition-view-controls {
    width: 100%;
    border-radius: 8px;
  }

  .exhibition-view-button {
    flex: 1 1 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.82rem;
  }

  .exhibition-room-shell,
  .exhibition-room-viewport {
    min-height: 560px;
  }

  .exhibition-room-nav {
    width: 42px;
    height: 64px;
  }

  .home-gallery-lightbox {
    padding: 76px 12px 18px;
  }

  .home-gallery-lightbox-toolbar {
    right: 66px;
    left: 12px;
    justify-content: center;
    transform: none;
  }

  .home-gallery-lightbox-close {
    right: 12px;
  }

  .exhibition-lightbox-frame.is-paired {
    gap: 10px;
  }

  .exhibition-lightbox-frame img {
    width: auto;
    height: calc(100vh - 116px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 116px);
  }

  .exhibition-lightbox-frame.is-paired img {
    max-width: calc((100vw - 34px) / 2);
  }

  .home-gallery-lightbox-nav {
    width: 42px;
    height: 64px;
    font-size: 1.65rem;
  }

  .home-gallery-lightbox-nav--prev {
    left: 8px;
  }

  .home-gallery-lightbox-nav--next {
    right: 8px;
  }

  .exhibition-pagination {
    width: 100%;
    border-radius: 8px;
  }

  .home-overview-points,
  .home-team-grid,
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .committee-page-section {
    padding: 24px 0 32px;
  }

  .contact-section {
    padding: 24px 0 34px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-map iframe {
    height: 340px;
  }

  .committee-card,
  .committee-card--page {
    grid-template-columns: 1fr;
  }

  .committee-card-image,
  .committee-card--page .committee-card-image {
    height: 320px;
  }

  .committee-card-image img {
    max-height: 100%;
  }

  .exhibition-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-gallery-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gallery-thumb {
    flex-basis: calc((100% - 8px) / 3);
    min-width: 84px;
  }
}

@media (hover: none) {
  .home-gallery-control,
  .home-gallery-zoom {
    opacity: 1;
    pointer-events: auto;
  }
}

.important-dates {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.dates-col {
  flex: 2;
}

.image-col {
  flex: 2;
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.image-col img {
  max-width: 78%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

#page-footer {
  color: #010344;
  border-top: 2px solid #010344;
}

#page-footer .border-bottom {
  border-bottom-color: rgba(1, 3, 68, 0.18) !important;
}

#page-footer h3 {
  color: #010344;
}

.footer-logo-row img {
  max-height: 55px;
  max-width: 150px;
  object-fit: contain;
}

.footer-logo-row .vlu-logo {
  max-height: 70px;
  max-width: 220px;
}

.footer-logo-row .partner-logo {
  max-height: 54px;
  max-width: 180px;
}
