@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --ink: #1c1d1f;
  --muted: #53565c;
  --accent: #1d7f79;
  --accent-2: #f2a65a;
  --bg: #f4f0ea;
  --bg-2: #eef6f5;
  --card: #ffffff;
  --card-border: rgba(28, 29, 31, 0.08);
  --shadow: 0 1rem 2.5rem rgba(28, 29, 31, 0.14);
  --radius-lg: 1.75rem;
  --radius-md: 1.125rem;
  --container-max: 72rem;
  --container-padding: 1.5rem;
  --nav-height: 4.5rem;
  --section-gap: 1.5rem;
  --hero-height: clamp(26rem, 65vh, 40rem);
}

html,
body {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(242, 166, 90, 0.18), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(29, 127, 121, 0.16), transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, #ffffff 100%);
  background-attachment: fixed;
  margin: 0;
}


body {
  padding-top: var(--nav-height);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.txt-center {
  text-align: left;
}

#sponsors-container,
#sponsors-container .txt-center,
#footer,
#footer .txt-center {
  text-align: center;
}

#footer {
  background: #0f1b28 !important;
  padding: 1.25rem 0 0.9rem;
}

#footer p,
#footer strong,
#footer a {
  color: #f7f5f1;
}

#footer a:hover {
  color: var(--accent-2);
}

#footer img {
  filter: drop-shadow(0 0.625rem 1.25rem rgba(0, 0, 0, 0.35));
  max-height: 3.25rem;
}

#footer hr {
  opacity: 0.35;
}

html * {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

.navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid rgba(28, 29, 31, 0.08);
  min-height: 4.5rem;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--accent);
}

.navbar-light .navbar-nav .nav-item.active .nav-link {
  color: var(--accent);
}

.navbar-brand img {
  height: 2.5rem;
  width: auto;
}

.nav-logo .nav-link {
  padding: 0.25rem 0.75rem 0.25rem 0;
  display: inline-flex;
  align-items: center;
}

.nav-logo-img {
  height: 2rem;
  width: auto;
}

@media (max-width: 991.98px) {
  .nav-logo {
    display: none;
  }
}

.mg {
  margin-top: var(--section-gap);
}

.banner {
  display: none;
}

.hero {
  margin-top: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.hero-card {
  background: #0f1b28 url("../img/venue/current/city/trevi.jpg") center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #f7f5f1;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: var(--hero-height);
  height: auto;
  display: flex;
  flex-direction: column;
}

.hero-logo {
  width: clamp(6.5rem, 12vw, 9.5rem);
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
  filter: drop-shadow(0 0.35rem 1rem rgba(0, 0, 0, 0.45));
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: -8%;
  display: block;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
  animation: heroSlide 20s infinite;
}

.hero-slide:nth-child(1) {
  background-image: url("../img/venue/current/city/trevi.jpg");
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  background-image: url("../img/venue/current/city/romano.jpg");
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  background-image: url("../img/venue/current/city/traiano.jpg");
  animation-delay: 10s;
}

.hero-slide:nth-child(4) {
  background-image: url("../img/venue/current/city/campidoglio.jpg");
  animation-delay: 15s;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(15, 27, 40, 0.12), rgba(0, 0, 0, 0.52));
  z-index: 1;
}

.hero-card > *:not(.hero-carousel) {
  position: relative;
  z-index: 2;
}

@keyframes heroSlide {
  0%,
  8% {
    opacity: 0;
  }
  16%,
  36% {
    opacity: 1;
  }
  44%,
  100% {
    opacity: 0;
  }
}


.hero-eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247, 245, 241, 0.75);
}

.hero-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 4.2rem);
  margin: 0.75rem 0 0.5rem;
}

.hero-meta {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: rgba(247, 245, 241, 0.85);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  /*margin-top: 6.35rem;*/
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: 62.4375rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0.0625rem solid transparent;
}

.btn-primary-hero {
  background: #f7f5f1;
  color: #0f1b28;
}

.btn-primary-hero:hover {
  background: #ffffff;
  color: #0f1b28;
}

.btn-ghost-hero {
  background: transparent;
  border-color: rgba(247, 245, 241, 0.4);
  color: #f7f5f1;
}

.btn-ghost-hero:hover {
  border-color: rgba(247, 245, 241, 0.7);
  color: #ffffff;
}

.hero-side {
  display: grid;
  grid-template-rows: calc(50% - 0.75rem) calc(50% - 0.75rem);
  align-content: stretch;
  gap: 1.5rem;
  min-height: var(--hero-height);
  height: 100%;
}

.hero-info-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 0.0625rem solid var(--card-border);
  box-shadow: 0 0.625rem 1.625rem rgba(28, 29, 31, 0.08);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-info-card .pill {
  position: static;
  align-self: flex-start;
  margin-bottom: 0.25rem;
}

.hero-info-card--location {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--card);
}

.hero-location-text {
  display: flex;
  flex-direction: column;
  /*gap: 0.4rem;*/
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  max-width: 70%;
}

.hero-location-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 40%;
  height: 100%;
  z-index: 0;
  /*border-top-right-radius: var(--radius-md);*/
  /*border-bottom-right-radius: var(--radius-md);*/
  overflow: hidden;
  /*background: rgba(255, 255, 255, 0.08);*/
  /*border: 0.0625rem solid rgba(255, 255, 255, 0.5);*/
  box-shadow:
    inset 0 0 0.75rem rgba(255, 255, 255, 0.25),
    0 0.75rem 1.5rem rgba(28, 29, 31, 0.12);
  backdrop-filter: blur(0.4rem) saturate(1.2);
}

.hero-location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-location-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  box-shadow:
    inset 0 0 0.5rem rgba(255, 255, 255, 0.35),
    inset 0 0.125rem 0.75rem rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.hero-location-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  backdrop-filter: blur(0.3px);
  pointer-events: none;
}

.hero-info-card--split {
  gap: 0.75rem;
}

.hero-info-card--compact {
  padding: 1.1rem 1.25rem;
}

.hero-info-card--compact .hero-info-content {
  grid-template-columns: 4.4rem 1fr;
  gap: 0.8rem;
}

.hero-info-card--compact .committee-hero-avatar {
  width: 4.4rem;
  height: 4.4rem;
  margin: 0;
}

.hero-info-card--compact .hero-info-text h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.hero-info-card--compact .hero-email {
  font-size: 1.03rem;
}

.hero-info-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
}

.hero-info-text h3 {
  margin-bottom: 0.25rem;
}

.hero-info-text p {
  margin: 0;
}

.committee-hero-avatar {
  width: 5.25rem;
  height: 5.25rem;
  margin: 0.25rem 0 0.35rem;
}

.hero-email {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  word-break: break-word;
}

.hero-email:hover {
  color: #165f5a;
}

.hero-info-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.hero-info-card p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

.hero-info-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.75rem;
}

@media (max-width: 48rem) {
  .hero-info-cols {
    grid-template-columns: 1fr;
  }
}

.m-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  color: #f7f5f1;
  text-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

.logo {
  width: 60%;
  filter: drop-shadow(0 0.625rem 1.5rem rgba(0, 0, 0, 0.25));
}

.section-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  color: var(--ink);
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3.4rem);
  letter-spacing: 0.01em;
  text-align: left;
  margin-bottom: 1rem;
}

.subsection-title {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  border-bottom: 0.125rem solid rgba(29, 127, 121, 0.2);
}

.section-content {
  color: var(--muted);
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.7;
  background: var(--card);
  border: 0.0625rem solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 0.75rem 2rem rgba(28, 29, 31, 0.08);
  max-width: 100%;
  overflow-x: hidden;
}

.section-content p {
  text-align: justify;
  text-justify: inter-word;
}

.section-content .committee-meta {
  text-align: center;
  text-justify: auto;
}

.section-content .info-card p,
.section-content .deadline-item p,
.section-content .hero-info-card p {
  text-align: left;
  text-justify: auto;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content ul {
  padding-left: 1.2rem;
}

.section-content ul li {
  margin-bottom: 0.4rem;
}

.latex-scroll {
  max-width: 100%;
}

.section-content a {
  color: var(--accent);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section-content a:hover {
  color: #165f5a;
}

.map-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e9ecef;
  aspect-ratio: 16 / 9;
  box-shadow: 0 0.75rem 2rem rgba(28, 29, 31, 0.08);
}

.map-embed--full {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  box-shadow: none;
  border-radius: var(--radius-md);
}

.hero-info-card--map {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero-info-card--map .map-embed {
  height: 100%;
}

.map-cta {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(29, 127, 121, 0.92);
  color: #fff;
  padding: 0.5rem 1.5rem;
  min-width: 12rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.25rem rgba(28, 29, 31, 0.18);
  backdrop-filter: blur(0.3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.map-cta-icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.map-cta:hover {
  color: #fff;
  background: rgba(22, 95, 90, 0.95);
  text-decoration: none;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.table {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 1.5rem rgba(28, 29, 31, 0.08);
  width: 100%;
}

.table tr {
  border-top: none;
}

.table .header th {
  background: #164040;
  font-size: 1.1rem;
}

.table .special-row {
  background: rgba(29, 127, 121, 0.9);
}

tr:nth-child(even) {
  background-color: rgba(29, 127, 121, 0.06);
}

.parallax {
  background-image: linear-gradient(120deg, rgba(12, 18, 32, 0.55), rgba(22, 68, 64, 0.45)),
    url('../img/venue/current/city/venue-02.jpg');
  height: 13.75rem;
}

.float {
  background: var(--accent);
  box-shadow: 0 0.75rem 1.75rem rgba(29, 127, 121, 0.35);
}

.label-text,
.label-arrow {
  background: var(--accent);
  color: #fff;
}

#sponsors-container {
  margin-top: var(--section-gap);
  /*background: #0f1b28;*/
  padding: 1rem 0;
  /*border-radius: var(--radius-lg);*/
  box-shadow: 0 0.75rem 1.75rem rgba(15, 27, 40, 0.25);
  overflow: hidden;
}

.sponsors-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sponsors-track {
  display: flex;
  width: max-content;
  animation: sponsors-scroll 32s linear infinite;
  animation-play-state: running;
  will-change: transform;
}

.sponsors-track.is-paused {
  animation-play-state: paused;
}

.sponsors-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-item img {
  /*background: rgba(255, 255, 255, 0.08);*/
  padding: 0.375rem 0.625rem;
  /*border-radius: 0.625rem;*/
  /*filter: drop-shadow(0 0.375rem 0.875rem rgba(0, 0, 0, 0.35));*/
  max-height: 4.5rem;
  width: auto;
}

@keyframes sponsors-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsors-track {
    animation: none;
  }
}

.section-shell {
  margin: 2rem auto;
  width: 100%;
  max-width: 80%;
  display: grid;
  gap: 1rem;
}

.section-shell .section-title {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
  gap: 1.125rem;
  justify-items: stretch;
}

.info-card {
  background: var(--card);
  border: 0.0625rem solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.125rem;
  box-shadow: 0 0.625rem 1.5rem rgba(28, 29, 31, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-grid .info-card {
  width: 100%;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.timeline-card {
  background: var(--card);
  border: 0.0625rem solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 0.75rem 2rem rgba(28, 29, 31, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.timeline-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 2.25rem rgba(28, 29, 31, 0.16);
}

.timeline-media {
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.timeline-body {
  padding: 1rem 1rem 1.25rem;
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  text-align: center;
}

.timeline-year {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.timeline-location {
  color: var(--muted);
  font-size: 1rem;
}

.timeline-button {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999rem;
  border: 0.0625rem solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
}

.timeline-button:hover {
  background: rgba(29, 127, 121, 0.1);
  color: var(--accent);
}

.committee-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow: 0 0.75rem 1.75rem rgba(28, 29, 31, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 55%),
    rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.4rem) saturate(130%);
}

.committee-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  border: 0.0625rem solid rgba(35, 40, 45, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 1rem 2.5rem rgba(28, 29, 31, 0.12);
  position: relative;
  overflow: hidden;
}

.committee-card::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border-radius: 1rem;
  /*border: 0.0625rem solid rgba(29, 127, 121, 0.12);*/
  pointer-events: none;
}

/*.committee-card:hover {*/
/*  transform: translateY(-0.35rem);*/
/*  box-shadow: 0 1.4rem 2.75rem rgba(28, 29, 31, 0.16);*/
/*}*/

.committee-role {
  font-size: 1.1rem;
  margin: 0.25rem 0 0;
  text-align: center;
  color: var(--ink);
}

.committee-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.committee-card .committee-avatar {
  margin-top: 0.2rem;
}

.committee-card-col {
  margin-bottom: 1.5rem;
}

@media (max-width: 48rem) {
  #organization-committee-container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  .committee-card {
    padding: 1.5rem 1.25rem;
    margin: 0 auto;
    width: 100%;
    max-width: 22rem;
  }

  .committee-card-col {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.iframe-card {
  background: var(--card);
  border: 0.0625rem solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(28, 29, 31, 0.08);
  overflow: hidden;
}

.iframe-card iframe {
  border: 0;
  border-radius: 0.75rem;
  display: block;
  width: 100%;
}

.venue-carousel-card {
  background: var(--card);
  border: 0.0625rem solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(28, 29, 31, 0.08);
  overflow: hidden;
}

.venue-carousel {
  border-radius: 0.75rem;
  overflow: hidden;
}

.venue-carousel .carousel-item img {
  height: 35rem;
  object-fit: cover;
}

@media (max-width: 48rem) {
  .venue-carousel .carousel-item img {
    height: 24rem;
  }
}

.info-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 1.875rem rgba(28, 29, 31, 0.16);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.info-card .meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.link-card a {
  color: inherit;
  text-decoration: none;
}

.link-card a:hover {
  color: var(--accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 62.4375rem;
  background: rgba(29, 127, 121, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.deadline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.deadline-item {
  border-left: 0.25rem solid var(--accent);
  padding: 1.5rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.75rem rgba(28, 29, 31, 0.08);
}

.deadline-item .pill {
  position: static;
  margin-bottom: 0.35rem;
  align-self: flex-start;
}

.deadline-item p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.deadline-item strong {
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: left;
  width: 100%;
  padding-top: 1rem;
  /*margin-left: -2.5rem;*/
}

#price-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 62.4375rem;
  border: 0.0625rem solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cta-link:hover {
  background: rgba(29, 127, 121, 0.08);
  color: var(--accent);
}

@media (max-width: 48rem) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .logo {
    width: 70%;
  }

  .section-content {
    padding: 1.25rem;
  }

  .hero-cta,
  .cta-row {
    flex-direction: column;
  }

  .hero-cta {
    margin-top: 1.5rem;
  }

  .hero-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 1.6rem + 2vw, 2.6rem);
  }

  .hero-meta {
    font-size: 1rem;
  }

  .hero-info-card {
    padding: 1rem;
  }

  .hero-side--venue .hero-info-card {
    min-height: 10rem;
  }

  .hero-side--venue .hero-info-card--map {
    min-height: 16rem;
  }

  .hero-side {
    height: auto;
    min-height: 0;
    grid-template-rows: auto;
  }

  .hero-info-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-info-content .committee-hero-avatar {
    margin: 0;
  }

  .navbar {
    min-height: 4rem;
  }

  .navbar-brand {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
    z-index: 3;
  }

  .navbar-collapse {
    padding-top: 0.5rem;
  }

  :root {
    --nav-height: 4rem;
    --section-gap: 1.25rem;
  }

  .section-title {
    text-align: left;
  }

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

  #footer .row {
    text-align: center;
  }
}

@media (min-width: 64rem) {
  :root {
    --container-max: 78rem;
  }
}

@media (min-width: 90rem) {
  :root {
    --container-max: 84rem;
  }

  .hero-card {
    padding: 2.5rem;
    min-height: 24rem;
  }
}

@media (min-width: 120rem) {
  :root {
    --container-max: 90rem;
  }

  .card-grid,
  .deadline-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 180rem) {
  :root {
    --container-max: 84rem;
  }
}

@media (max-width: 36rem) {
  body {
    overflow-x: hidden;
  }

  .hero-grid {
    gap: 1rem;
  }

  .btn-hero,
  .cta-link {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    border-radius: 1.25rem;
  }

  .hero-info-card {
    border-radius: 1rem;
  }

  .hero-info-card--location {
    padding: 1rem;
  }

  .hero-location-text {
    max-width: 100%;
    padding: 0;
  }

  .hero-location-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 10rem;
    margin-top: 0.75rem;
    border-radius: 0.9rem;
    overflow: hidden;
  }

  .hero-info-card--location::before {
    display: none;
  }

  .section-shell {
    margin: 1.5rem 0;
    max-width: 100%;
    width: 100%;
  }

  .section-content,
  .section-content p,
  .section-content li,
  .section-content a,
  .section-content code,
  .section-content ul,
  .section-content ol,
  .section-content div {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .latex-scroll {
    overflow-x: auto;
    padding: 0.5rem 0.75rem;
    border: 0.0625rem dashed rgba(28, 29, 31, 0.2);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    -webkit-overflow-scrolling: touch;
  }

  .latex-scroll ul,
  .latex-scroll ol {
    margin-bottom: 0;
    padding-left: 1.2rem;
  }

  .latex-scroll li {
    white-space: nowrap;
  }

  .section-title {
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  #price-table-container .table {
    min-width: 30rem;
  }
}
