/*
Theme Name: Layer Meetup Bayern
Theme URI: https://layer-meetup-bayern.local/
Author: Codex
Description: Schlichtes Fachmesse-Theme für Layer Meetup Bayern, inkl. automatisch angelegter Veranstaltungsseiten.
Version: 1.1.10
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: layer-meetup-bayern
*/

:root {
  --lmb-ink: #070914;
  --lmb-ink-soft: #111827;
  --lmb-text: #1f2937;
  --lmb-muted: #657085;
  --lmb-line: #d9e1ea;
  --lmb-paper: #f7f9fc;
  --lmb-white: #ffffff;
  --lmb-blue: #009ee3;
  --lmb-blue-deep: #004b9b;
  --lmb-mint: #27c0a4;
  --lmb-warm: #f4a261;
  --lmb-radius: 8px;
  --lmb-shadow: 0 18px 55px rgba(7, 9, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--lmb-text);
  background: var(--lmb-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--lmb-blue-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 19, 0.96);
  border-bottom: 1px solid rgba(0, 158, 227, 0.22);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner,
.section__inner,
.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px 0;
  gap: 24px;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  order: 1;
}

.language-switch {
  order: 2;
}

.nav-toggle {
  order: 3;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(142, 223, 255, 0.28);
  border-radius: 6px;
  color: #9fb0c6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.language-switch a {
  color: #9fb0c6;
  text-decoration: none;
}

.language-switch a.is-active {
  color: var(--lmb-white);
}

.brand {
  display: flex;
  align-items: center;
  width: 220px;
  max-width: 45vw;
  text-decoration: none;
}

.brand__logo {
  width: auto;
  max-width: 100%;
  height: 52px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(142, 223, 255, 0.34);
  border-radius: 6px;
  color: var(--lmb-white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-toggle.is-open .nav-toggle__bars {
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars::before {
  transform: translateY(7px) rotate(90deg);
}

.nav-toggle.is-open .nav-toggle__bars::after {
  opacity: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #e8f3fb;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.menu a:hover,
.menu .current-menu-item > a,
.menu .current-menu-ancestor > a {
  background: rgba(0, 158, 227, 0.16);
  color: #8edfff;
}

.menu .sub-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  right: 0;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 12px 8px 8px;
  list-style: none;
  border: 1px solid rgba(142, 223, 255, 0.2);
  border-radius: var(--lmb-radius);
  background: rgba(5, 7, 19, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  display: grid;
  gap: 2px;
}

.menu .sub-menu a {
  padding: 10px 12px;
  white-space: nowrap;
}

.hero {
  color: var(--lmb-white);
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 158, 227, 0.18), transparent 34%),
    linear-gradient(180deg, #050713 0%, #080b18 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 530px);
  align-items: center;
  gap: 44px;
  width: min(1120px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  padding: 76px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8edfff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--lmb-blue);
}

.hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #dce7f3;
  font-size: 21px;
  line-height: 1.5;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(142, 223, 255, 0.34);
  border-radius: 6px;
  color: var(--lmb-white);
  background: rgba(0, 158, 227, 0.12);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.event-date span {
  color: #8edfff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: #03101d;
  background: var(--lmb-blue);
}

.button--ghost {
  color: var(--lmb-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero__media {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lmb-radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1120px, calc(100% - 40px));
  margin: -34px auto 34px;
}

.fact {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
  box-shadow: 0 18px 42px rgba(7, 9, 20, 0.10);
}

.fact strong {
  display: block;
  color: var(--lmb-ink);
  font-size: 22px;
  line-height: 1.15;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--lmb-muted);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 80px 0;
}

.section--white {
  background: var(--lmb-white);
}

.section--ink {
  color: var(--lmb-white);
  background: var(--lmb-ink);
}

.section h2,
.entry-content h2 {
  margin: 0 0 18px;
  color: var(--lmb-ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section--ink h2 {
  color: var(--lmb-white);
}

.section p,
.entry-content p {
  max-width: 760px;
}

.lead {
  color: var(--lmb-muted);
  font-size: 20px;
}

.section--ink .lead,
.section--ink p {
  color: #d8e4f0;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.panel {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
}

.panel h3 {
  margin: 0 0 10px;
  color: var(--lmb-ink);
  font-size: 22px;
  line-height: 1.2;
}

.panel p {
  margin: 0;
  color: var(--lmb-muted);
}

.initiator-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.confirmed-partners {
  margin: 28px 0 30px;
}

.confirmed-partners__label {
  margin-bottom: 10px;
  color: var(--lmb-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confirmed-partners__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.confirmed-partner-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
  box-shadow: var(--lmb-shadow-soft);
}

.confirmed-partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  border: 1px solid var(--lmb-line);
  border-radius: 8px;
  background: var(--lmb-paper);
}

.confirmed-partner-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.confirmed-partner-card h3 {
  margin: 0 0 10px;
  color: var(--lmb-ink);
  font-size: 26px;
}

.confirmed-partner-card p {
  margin: 0 0 16px;
  color: var(--lmb-muted);
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.partner-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--lmb-line);
  border-radius: 6px;
  background: var(--lmb-paper);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.youtube-link {
  gap: 8px;
  color: #b91c1c;
  background: #fff5f5;
  border-color: #fecaca;
}

.youtube-link span {
  width: 22px;
  height: 16px;
  border-radius: 4px;
  background: #ef1d1d;
  position: relative;
}

.youtube-link span::after {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #ffffff;
  content: "";
}

.instagram-link {
  gap: 8px;
  color: #9d174d;
  background: #fff1f7;
  border-color: #fbcfe8;
}

.instagram-link span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
  position: relative;
}

.instagram-link span::before {
  position: absolute;
  inset: 4px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  content: "";
}

.instagram-link span::after {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid rgba(0, 75, 155, 0.22);
  border-radius: 6px;
  color: var(--lmb-white);
  background: var(--lmb-blue-deep);
  font-weight: 800;
  text-decoration: none;
}

.press-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0;
  padding: 24px;
  border: 1px solid rgba(0, 75, 155, 0.18);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
  box-shadow: 0 12px 34px rgba(7, 9, 20, 0.08);
}

.press-download h2 {
  margin: 0 0 8px;
}

.press-download p {
  margin: 0;
  color: var(--lmb-muted);
}

.content-hero {
  margin: 0 0 42px;
  padding: 34px;
  border-radius: var(--lmb-radius);
  color: var(--lmb-white);
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 158, 227, 0.24), transparent 32%),
    linear-gradient(135deg, #070914 0%, #0b1830 100%);
}

.content-hero h2 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--lmb-white);
}

.content-hero p {
  max-width: 880px;
  margin: 0;
  color: #d8e4f0;
  font-size: 20px;
}

.community-hero .eyebrow {
  margin: 0 0 10px;
  color: #8edfff;
}

.special-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #ffffff;
  background: #c92a2a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.community-quickfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
  margin-top: 24px;
}

.community-quickfacts span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-line);
  overflow: hidden;
}

.info-strip div {
  padding: 20px;
  background: var(--lmb-white);
}

.info-strip strong {
  display: block;
  color: var(--lmb-ink);
  font-size: 22px;
  line-height: 1.2;
}

.info-strip span {
  display: block;
  margin-top: 5px;
  color: var(--lmb-muted);
  font-size: 14px;
  line-height: 1.35;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0 44px;
}

.image-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
}

.image-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-gallery figcaption {
  padding: 12px 14px;
  color: var(--lmb-muted);
  font-size: 14px;
  line-height: 1.35;
}

.reach-map {
  margin: 28px 0 52px;
  overflow: hidden;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
  box-shadow: 0 18px 42px rgba(7, 9, 20, 0.10);
}

.reach-map img {
  width: 100%;
}

.reach-map figcaption {
  padding: 13px 16px;
  color: var(--lmb-muted);
  font-size: 14px;
  line-height: 1.35;
}

.community-plan {
  margin: 28px 0 52px;
  overflow: hidden;
  border: 1px solid var(--lmb-line);
  border-radius: var(--lmb-radius);
  background: var(--lmb-white);
  box-shadow: 0 18px 42px rgba(7, 9, 20, 0.10);
}

.community-plan img {
  width: 100%;
  height: auto;
  display: block;
}

.community-plan figcaption {
  padding: 13px 16px;
  color: var(--lmb-muted);
  font-size: 14px;
  line-height: 1.35;
}

.main-partner {
  border-top: 1px solid var(--lmb-line);
  border-bottom: 1px solid var(--lmb-line);
  background:
    linear-gradient(90deg, rgba(0, 158, 227, 0.08), rgba(39, 192, 164, 0.05)),
    var(--lmb-white);
}

.main-partner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0;
}

.main-partner--featured {
  margin: 0 0 42px;
  border: 1px solid rgba(0, 158, 227, 0.28);
  border-radius: var(--lmb-radius);
  box-shadow: 0 18px 45px rgba(7, 9, 20, 0.08);
}

.main-partner--featured .main-partner__inner {
  width: auto;
  padding: 34px;
}

.main-partner--home {
  border-top: 0;
  border-bottom: 1px solid rgba(0, 158, 227, 0.22);
  background:
    linear-gradient(135deg, rgba(7, 9, 20, 0.98), rgba(11, 24, 48, 0.96)),
    var(--lmb-ink);
}

.main-partner--home .main-partner__inner {
  padding: 36px 0;
}

.main-partner--home .main-partner__label {
  color: #8edfff;
}

.main-partner--home h2 {
  color: var(--lmb-white);
}

.main-partner--home p {
  color: #d8e4f0;
}

.main-partner--home .main-partner__logo {
  border-color: rgba(142, 223, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.main-partner--home .main-partner__logo span {
  color: #8edfff;
}

.main-partner__label {
  margin: 0 0 8px;
  color: var(--lmb-blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-partner h2 {
  margin: 0 0 8px;
  color: var(--lmb-ink);
  font-size: 28px;
  line-height: 1.15;
}

.main-partner p {
  max-width: 680px;
  margin: 0;
  color: var(--lmb-muted);
}

.main-partner__logo {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 20px;
  border: 1px dashed rgba(0, 75, 155, 0.34);
  border-radius: var(--lmb-radius);
  background: rgba(255, 255, 255, 0.78);
}

.main-partner__logo span {
  color: var(--lmb-blue-deep);
  font-size: 15px;
  font-weight: 800;
}

.event-notice {
  padding: 28px 0;
  background: var(--lmb-white);
  border-bottom: 1px solid var(--lmb-line);
}

.event-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.event-notice h2 {
  margin: 0 0 8px;
  color: var(--lmb-ink);
  font-size: 28px;
  line-height: 1.15;
}

.event-notice p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--lmb-muted);
}

.accent-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.accent-list li {
  padding-left: 22px;
  border-left: 4px solid var(--lmb-blue);
}

.page-hero {
  color: var(--lmb-white);
  background:
    linear-gradient(90deg, rgba(5, 7, 19, 0.98), rgba(5, 7, 19, 0.82)),
    url("assets/layer-meetup-bayern-title.png") center right / contain no-repeat,
    var(--lmb-ink);
}

.page-hero__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.page-hero .page-title {
  max-width: 820px;
}

.page-shell {
  padding: 64px 0 86px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2 {
  margin-top: 48px;
}

.entry-content h3 {
  margin: 30px 0 8px;
  color: var(--lmb-ink);
  font-size: 24px;
}

.entry-content ul {
  max-width: 800px;
  padding-left: 1.1em;
}

.entry-content li {
  margin: 8px 0;
}

.wp-block-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--lmb-white);
}

td,
th {
  padding: 14px 16px;
  border: 1px solid var(--lmb-line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--lmb-ink);
  background: #edf7fc;
}

.site-footer {
  color: #cfd9e6;
  background: #050713;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 0.7fr));
  align-items: flex-start;
  gap: 34px;
  padding: 42px 0;
}

.site-footer strong {
  color: var(--lmb-white);
}

.site-footer p {
  max-width: 620px;
  margin: 6px 0 0;
}

.site-footer a {
  color: #8edfff;
}

.site-footer__links {
  display: grid;
  gap: 7px;
}

.site-footer__links h2 {
  margin: 0 0 4px;
  color: var(--lmb-white);
  font-size: 14px;
  line-height: 1.2;
}

.site-footer__links a {
  font-size: 14px;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    align-items: center;
    padding: 12px 0;
  }

  .site-header__tools {
    display: contents;
  }

  .site-nav {
    order: initial;
    grid-column: 1 / -1;
  }

  .language-switch {
    order: initial;
    grid-column: 2;
    justify-self: end;
  }

  .nav-toggle {
    order: initial;
    grid-column: 3;
  }

  .brand {
    max-width: 72vw;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(142, 223, 255, 0.18);
    border-radius: var(--lmb-radius);
    background: rgba(5, 7, 19, 0.98);
  }

  .site-nav.is-open {
    display: block;
  }

  .menu {
    display: grid;
    gap: 4px;
    align-items: stretch;
  }

  .menu a {
    padding: 12px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 2px;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu .sub-menu a {
    white-space: normal;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 0 68px;
  }

  .hero__media {
    max-width: 560px;
  }

  .hero__facts,
  .info-strip,
  .image-gallery,
  .main-partner__inner,
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .site-footer__inner,
  .section__inner,
  .page-shell,
  .hero__inner,
  .hero__facts,
  .page-hero__inner {
    width: min(100% - 28px, 1120px);
  }

  .hero h1,
  .page-title {
    font-size: 42px;
  }

  .brand__logo {
    height: 46px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__facts,
  .info-strip,
  .image-gallery,
  .main-partner__inner,
  .confirmed-partner-card,
  .community-quickfacts,
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .main-partner__inner {
    width: min(100% - 28px, 1120px);
    gap: 20px;
    padding: 26px 0;
  }

  .main-partner--featured .main-partner__inner {
    width: auto;
    padding: 24px;
  }

  .event-notice__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .press-download {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-partner h2 {
    font-size: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
