:root {
  /* Colors from the MIP South America 2028 logo. */
  --yellow: #fbbc00;
  --charcoal: #1d1e20;
  --navbar: var(--charcoal);
  --navbartext: #ffffff;
  --navbarselect: var(--yellow);
  --navbarselecttext: var(--charcoal);
  --highlight: #fff3cc;
  --highlightext: var(--charcoal);
  --highlightlink: #695000;
  --maincolor1: #eeeeec;
  --maincolor1text: var(--charcoal);
  --maincolor1link: #695000;
  --maincolor2: #ffffff;
  --maincolor2text: var(--charcoal);
  --maincolor2link: #695000;
}

body {
  color: var(--charcoal);
  background: var(--maincolor2);
}

a {
  color: var(--maincolor2link);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--charcoal);
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.firstrow {
  margin-top: 0;
  padding: 3rem 0;
}

.header-row {
  display: flex;
  align-items: center;
}

.workshop-logo {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  font-size: 3.8rem;
}

.date {
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.place {
  margin-bottom: 0;
}

.nav-bar {
  background: var(--navbar);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--navbartext);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover,
.topnav a.active {
  background: var(--navbarselect);
  color: var(--navbarselecttext);
}

.topnav a:focus-visible {
  outline-offset: -4px;
}

.highlight {
  background: var(--highlight);
  color: var(--highlightext);
}

.highlight a {
  color: var(--highlightlink);
}

.mainstyle1 {
  background: var(--maincolor1);
  color: var(--maincolor1text);
}

.mainstyle1 a {
  color: var(--maincolor1link);
}

.mainstyle2 {
  background: var(--maincolor2);
  color: var(--maincolor2text);
}

.mainstyle2 a {
  color: var(--maincolor2link);
}

section,
footer {
  padding-bottom: 1rem;
}

.speaker-list {
  list-style: none;
  columns: 2;
  column-gap: 4rem;
}

.speaker-list li {
  break-inside: avoid;
  margin-bottom: 1.6rem;
}

.speaker-list a {
  font-weight: 600;
}

.affiliation {
  display: block;
}

.sponsor-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin: 2rem 0 3rem;
}

.short-page {
  min-height: 180px;
}

.map-embed {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 8px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

footer p {
  font-size: 1.3rem;
}

@media (max-width: 749px) {
  .header-row {
    display: block;
  }

  .header-row .columns {
    width: 100%;
    margin-left: 0;
    float: none;
  }

  .workshop-logo {
    max-width: 360px;
    margin: 0 auto 2rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  .speaker-list {
    columns: 1;
  }
}

@media (max-width: 549px) {
  .topnav a {
    flex: 1 0 50%;
    box-sizing: border-box;
    padding: 12px 8px;
    font-size: 15px;
  }
}
