:root {
  --text: #202020;
  --body-text: #3f3f3f;
  --muted: #666;
  --border: #e8e8e8;
  --accent: #0076df;
  --max-width: 920px;
}


* {
  box-sizing: border-box;
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

body {
  margin: 0;
  color: var(--body-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
}

h1,
h2,
h3 {
  color: var(--text);
}

.institutional-support {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.host-institution {
  text-align: left;
}

.financial-support {
  text-align: right;
}

.support-heading {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.host-institution img {
  width: auto;
  height: 70px;
  max-width: 100%;
  object-fit: contain;
}

.financial-logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
}

.financial-logos img {
  width: auto;
  height: 140px;
  /* height: 80px;
  max-width: 100%;*/ 
  object-fit: contain;
}

@media (max-width: 650px) {
  .institutional-support {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .financial-support {
    text-align: left;
  }

  .financial-logos {
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .host-institution img,
  .financial-logos img {
    height: 55px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  margin-bottom: 5rem;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}


.site-title {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  gap: 1.7rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.active {
  color: var(--accent);
}

main {
  padding-bottom: 6rem;
}

h1 {
  font-size: 2.55rem;
  line-height: 1.15;
  margin: 0 0 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h3 {
  font-size: 1.08rem;
  margin-top: 2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.3rem;
}

a {
  color: inherit;
}

main a {
  color: inherit;
  text-decoration: none;
}

main a:hover {
  color: var(--accent);
}

.event-meta {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 650px) {
  .site-header {
    margin-bottom: 3.5rem;
  }

  .site-header .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .site-nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2.1rem;
  }
}

.venue-map {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0 3rem;
}

.venue-map-embed {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  margin: 2rem 0 3rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .container {
  padding: 1.5rem 0;
}

.event-meta {
  color: var(--muted);
  margin-bottom: 3.5rem;
}

.event-date {
  font-size: 1.05rem;
}

.event-location {
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

main a.primary-link {
  color: var(--accent);
  text-decoration: none;
}

main a.primary-link:hover {
  text-decoration: underline;
}

.organizers p {
  margin-bottom: 0.55rem;
}

.organizers .affiliation {
  color: #777;
}

main a.primary-link {
  color: var(--accent);
  text-decoration: none;
}

main a.primary-link:hover {
  text-decoration: underline;
}

/* .info-box {
  background: #f4f8fc;
  padding: 1.5rem 1.75rem;
  border-radius: 6.5px;
  margin: 2.5rem 0;
}

.commitment-box {
  background: #f7f7f7;
  padding: 1.5rem 1.75rem;
  border-radius: 6.5px;
  margin: 2.5rem 0;
}


.info-box h2:first-child {
  margin-top: 0;
}

.info-box h2 {
  margin-top: 2rem;
} */

/* Speakers */

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 2.5rem;
  margin: 2rem 0 3rem;
}

.speaker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.speaker > img {
  width: 190px;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.9rem;
}

.speaker-info {
  width: 100%;
  min-width: 0;
}

.speaker-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 400;
}

.speaker-affiliation {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.speaker-bio summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.speaker-bio summary::-webkit-details-marker {
  display: none;
}

.speaker-bio summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 3px;
  margin-top: -3px;
}

.speaker-bio[open] summary::after {
  transform: rotate(225deg);
  margin-top: 3px;
}

.speaker-bio p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 650px) {
  .speakers-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .speaker > img {
    width: 110px;
    height: 160px;
  }
}

.speaker > img.photo-jason {
  object-position: center 20%;
}

/* Individual portrait adjustments */

.speaker > img.photo-left {
  object-position: 85% center;
}

.speaker > img.photo-up {
  object-position: center 95%;
}
