.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  color: #111;
  background: var(--acid);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

@media (max-width: 720px) {
  .site-head {
    min-height: 60px;
  }

  .logo {
    padding-inline: 0.75rem;
  }

  .logo span {
    display: none;
  }

  .site-head nav {
    min-width: 0;
    overflow-x: auto;
  }

  .site-head nav a,
  .site-head nav a:not(:last-child) {
    display: flex;
    flex: 0 0 auto;
    padding-inline: 0.8rem;
    white-space: nowrap;
  }

  .event-hero,
  .featured,
  .all-events {
    padding-inline: 1rem;
  }

  .event-hero {
    gap: 1.25rem;
    padding-block: 3rem;
  }

  .event-hero h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  footer {
    gap: 1rem;
    padding-inline: 1rem;
  }
}

/* Compact directory headings, keeping the photo cards close to the navigation. */
.event-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  min-height: 0;
  padding-block: 1.5rem;
}
.event-hero h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.event-hero > div {
  margin-left: auto;
}
.event-hero > div p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
}
.event-hero > div p:last-child {
  font-weight: 400;
}
.event-hero + .featured {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
.event-hero + .featured header {
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.event-hero + .featured h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-top: .4rem;
}
@media (max-width: 620px) {
  .event-hero { gap: .6rem 1rem; padding-block: 1rem; }
  .event-hero > div { flex-basis: 100%; margin-left: 0; }
  .event-hero + .featured { padding-top: 1.5rem; }
}

/* Keep all directory navigation items accessible with the added cooperation page. */
.site-head nav {min-width:0;overflow-x:auto}
.site-head nav a {flex:0 0 auto;white-space:nowrap}
@media(max-width:1350px){.site-head .logo span{display:none}.site-head nav a{padding-inline:.75rem}}
