:root {
  --blue: #0867c9;
  --blue-dark: #073a86;
  --blue-deep: #06275c;
  --sky: #eaf7ff;
  --yellow: #ffd233;
  --red: #ef3434;
  --orange: #ff7a22;
  --green: #35ad48;
  --ink: #10223f;
  --muted: #5d6b7f;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --shadow: 0 22px 55px rgba(16, 34, 63, .14);
  --radius: 28px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 999;
  padding: 10px 14px; background: #fff; color: var(--blue-deep); border-radius: 8px;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.environment-banner {
  position: fixed; z-index: 1000; top: 3px; left: 50%; transform: translateX(-50%);
  background: #101828; color: white; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 2px 8px; font-size: .65rem; font-weight: 700;
  line-height: 1.2; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7,58,134,.09);
}
.header-inner {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none;
  font-weight: 1000; letter-spacing: -.055em; line-height: .9;
}
.brand-fun { color: #ffbf00; text-shadow: 1px 1px 0 #a02a15; font-size: 1.35rem; }
.brand-park { color: var(--red); text-shadow: 1px 1px 0 #8f1e23; font-size: 1.65rem; }
.site-header .brand { align-items: center; flex-shrink: 0; }
.site-header .brand::before {
  content: ""; display: block; width: 48px; height: 54px; flex-shrink: 0;
  background: url('../images/fun-city-maskottchen.jpg') center / contain no-repeat;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none; font-weight: 750; font-size: .95rem; color: #243b5f;
  transition: color .2s ease; white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 4px; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(255,210,51,.78), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(239,52,52,.24), transparent 25%),
    linear-gradient(145deg, #eefaff 0%, #ffffff 50%, #fef8e7 100%);
  padding: 72px 0 44px;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -140px -10%; height: 240px;
  background: var(--blue); transform: rotate(-2deg); z-index: 0;
}
.hero-balloons {
  position: absolute; width: 420px; height: 420px; right: -180px; top: -210px;
  border-radius: 50%; border: 78px solid rgba(8,103,201,.08); z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-copy { max-width: 960px; margin-inline: auto; text-align: center; }
.eyebrow {
  margin: 0 0 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em;
  font-size: .76rem; font-weight: 900;
}
.eyebrow-light { color: #bde5ff; }
.hero h1, .section h2, .legal-content h1, .not-found h1 {
  margin: 0; letter-spacing: -.045em; line-height: .99;
}
.hero h1 { font-size: clamp(3rem, 6vw, 6.15rem); }
.hero h1 span { display: block; color: var(--blue); }
.hero-lead { margin: 26px auto 12px; max-width: 660px; font-size: clamp(1.02rem, 1.7vw, 1.25rem); color: #465b77; }
.claim {
  display: inline-block; margin: 10px 0 0; padding: 9px 14px;
  background: var(--yellow); color: var(--blue-deep); font-weight: 950; border-radius: 10px;
  transform: rotate(-1deg); box-shadow: 0 7px 0 rgba(239,52,52,.8);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 20px; border-radius: 13px; font-weight: 850; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(239,52,52,.23); }
.button-secondary { background: #fff; color: var(--blue-deep); border: 2px solid rgba(7,58,134,.18); }
.micro-note { color: #718096; font-size: .87rem; margin: 14px 0 0; }

.feature-strip {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
  margin-top: 62px;
}
.feature-chip {
  grid-column: span 2;
  min-height: 90px; padding: 18px 20px; border-radius: 18px; color: white;
  display: flex; align-items: center; gap: 14px; font-weight: 900; box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.feature-red { background: var(--red); }
.feature-blue { background: #0f73df; }
.feature-orange { background: var(--orange); }
.feature-light-blue { background: #9bd7ff; color: var(--blue-deep); }
.feature-yellow { background: var(--yellow); color: var(--blue-deep); }
.feature-link { grid-column: span 3; text-decoration: none; }
.feature-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.feature-link:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.feature-arrow { margin-left: auto; font-size: 1.3rem; }

.section { padding: 96px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; margin-bottom: 40px; }
.section-heading.compact { margin-bottom: 28px; }
.section h2 { font-size: clamp(2.2rem, 4vw, 4.25rem); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.attraction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.attraction-card {
  overflow: hidden; background: white; border-radius: 23px; border: 1px solid #e8eef5;
  box-shadow: 0 16px 40px rgba(16,34,63,.08);
}
.attraction-media {
  height: 215px; background-image: linear-gradient(rgba(3,28,71,.02), rgba(3,28,71,.06)), url('../images/fun-city-poster.jpeg');
  background-repeat: no-repeat; background-size: 620px auto;
}
.media-bounce, .media-water, .media-train, .media-carousel { width: 100%; object-fit: cover; object-position: center; background-image: none; }
.attraction-media.media-carousel { height: auto; aspect-ratio: 4 / 3; object-position: center 35%; }
.attraction-body { padding: 22px 22px 25px; }
.card-kicker { color: var(--blue); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.attraction-body h3 { margin: 4px 0 8px; font-size: 1.45rem; }
.attraction-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.snack-card {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: 28px; padding: clamp(22px, 3vw, 32px);
  background: #fff9e4; border-color: #f3dfa0; scroll-margin-top: 90px;
}
.snack-card h3 { margin: 6px 0 10px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.25; }
.snack-card p { margin: 0; color: #465b77; }
.snack-note { padding: 18px 20px; border-left: 4px solid var(--orange); border-radius: 12px; background: #fff; }
.snack-note h4 { margin: 0 0 6px; color: var(--blue-deep); font-size: 1rem; }

.schedule { background: var(--blue-deep); color: white; position: relative; overflow: hidden; }
.schedule::before {
  content: ""; position: absolute; width: 440px; aspect-ratio: 1; border-radius: 50%; right: -130px; top: -220px;
  border: 82px solid rgba(255,210,51,.09);
}
.schedule-panel { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: start; }
.schedule-intro h2 { font-size: clamp(2.4rem, 4vw, 4.4rem); }
.schedule-intro p:last-child { color: #c7d7ec; max-width: 470px; }
.schedule-upcoming {
  grid-column: 1 / -1; padding: 24px; border: 1px solid rgba(189,229,255,.35);
  border-radius: 20px; background: rgba(255,255,255,.06);
}
.schedule-upcoming > h3 { margin: 0 0 20px; color: var(--yellow); font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; }
.schedule-upcoming .events > p { margin: 0; color: #d7e8ff; }
.location-suggestion {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 28px; padding: clamp(24px, 4vw, 40px);
  background: #fff9e4; color: var(--ink); border-radius: 24px; scroll-margin-top: 90px;
}
.location-suggestion h3 { margin: 0 0 16px; color: var(--blue-deep); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.location-suggestion p:not(.eyebrow) { margin: 0; max-width: 65ch; color: #465b77; }
.location-suggestion p + p { margin-top: 12px; }
.events { display: grid; gap: 13px; }
.event-empty, .event-card { background: white; color: var(--ink); border-radius: 20px; padding: 23px; }
.event-empty strong { font-size: 1.35rem; }
.event-empty p { margin: 4px 0 0; color: var(--muted); }
.event-card { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; }
a.event-card { text-decoration: none; }
a.event-card:hover { background: var(--sky); }
a.event-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.event-maps-link { display: inline-block; margin-top: 14px; color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.event-date { font-weight: 950; color: var(--red); font-size: 1.15rem; }
.event-card h3 { margin: 0 0 4px; font-size: 1.4rem; }
.event-card p { margin: 3px 0; color: var(--muted); }
.event-note { display: inline-block; margin-top: 8px; padding: 5px 9px; background: #fff3cc; border-radius: 7px; color: #6a4b00; font-size: .8rem; font-weight: 800; }
.event-card .event-note { display: block; width: fit-content; }

.birthdays { background: linear-gradient(150deg, #fff9e4, #fff 70%); scroll-margin-top: 78px; }
.birthday-intro {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(24px, 5vw, 60px); margin-bottom: 36px;
}
.birthday-lead { margin: 24px 0; color: var(--muted); font-size: 1.05rem; }
.birthday-photo {
  width: 100%; max-width: 480px; height: auto; justify-self: end;
  border: 6px solid white; border-radius: 28px; box-shadow: var(--shadow);
}
.birthday-highlight {
  display: inline-block; margin: 0; padding: 12px 18px; border-radius: 14px;
  background: var(--yellow); color: var(--blue-deep); font-weight: 850;
}
.birthday-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.birthday-card {
  padding: clamp(22px, 3vw, 36px); border: 1px solid #dce5ee; border-top: 6px solid var(--blue);
  border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(16,34,63,.06);
}
.birthday-card-complete { border-top-color: var(--orange); }
.birthday-card .card-kicker { margin: 0 0 8px; }
.birthday-card h3 { margin: 0 0 18px; color: var(--blue-deep); font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.2; }
.birthday-card ul { margin: 0; padding-left: 22px; }
.birthday-card li + li { margin-top: 10px; }
.birthday-card li::marker { color: var(--blue); }
.birthday-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.birthday-actions .price-pill { margin-top: 0; }

.rental { background: var(--soft); scroll-margin-top: 78px; }
.price-pill { display: inline-flex; margin-top: 8px; padding: 8px 12px; background: #fff; border: 1px solid #dce5ee; border-radius: 999px; font-weight: 850; color: var(--blue); }
.rental-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.rental-card { overflow: hidden; border: 1px solid #dce5ee; border-radius: 23px; background: white; box-shadow: 0 12px 30px rgba(16,34,63,.06); }
.rental-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rental-photo-placeholder {
  display: grid; place-items: center; padding: 24px; color: var(--blue-dark);
  background: linear-gradient(140deg, #dcefff, #f4faff); border-bottom: 1px dashed #a8cce8;
}
.rental-photo-placeholder span { padding: 8px 14px; border: 1px solid #bfd7e9; border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 700; }
.rental-card h3 { margin: 0; padding: 20px; color: var(--blue-deep); font-size: 1.25rem; line-height: 1.3; }
.rental-slideshow { background: var(--sky); }
.rental-slideshow [hidden] { display: none; }
.slideshow-viewport { aspect-ratio: 3 / 4; overflow: hidden; touch-action: pan-y pinch-zoom; }
.slideshow-slide { width: 100%; height: 100%; }
.slideshow-slide img { width: 100%; height: 100%; object-fit: contain; }
.slideshow-controls { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid #dce5ee; }
.slideshow-button {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid #bfd7e9; border-radius: 10px; background: white; color: var(--blue-deep);
  font: inherit; font-size: 1.2rem; font-weight: 850; cursor: pointer;
}
.slideshow-button:hover { background: #dcefff; }
.slideshow-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.slideshow-counter { flex: 1; text-align: center; white-space: nowrap; font-size: .8rem; font-weight: 800; color: var(--blue-deep); }
.rental-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.rental-footer p { margin: 0; color: var(--muted); }
.rental-footer a { color: var(--blue-dark); font-weight: 750; text-underline-offset: 3px; }
.rental-footer .price-pill { margin: 0; }

.contact { padding-top: 40px; }
.contact-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: white;
  border-radius: 32px; padding: 50px; display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: center;
  box-shadow: 0 26px 60px rgba(7,58,134,.24);
}
.contact-card h2 { font-size: clamp(2.2rem, 3.8vw, 4rem); }
.contact-card p:not(.eyebrow) { color: #d7e8ff; max-width: 720px; }
.email-address { font-weight: 750; overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-card .email-address { color: white; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; min-width: 230px; }
.button-light { background: white; color: var(--blue-deep); }
.button-outline-light { color: white; border: 2px solid rgba(255,255,255,.5); }
.contact-placeholder { display: inline-flex; justify-content: center; padding: 14px 16px; border: 1px dashed rgba(255,255,255,.55); border-radius: 12px; color: #dbeaff; }

.faq { background: var(--sky); scroll-margin-top: 80px; }
.faq .container { max-width: 940px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid #cbdff1; border-radius: 18px; background: white; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px clamp(18px, 3vw, 28px); color: var(--blue-deep); font-weight: 800;
  cursor: pointer; list-style: none; border-radius: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--yellow); font-size: 1.25rem; line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.faq-answer { padding: 0 clamp(18px, 3vw, 28px) 22px; }
.faq-answer p { margin: 0; color: #465b77; }
.faq-answer a { color: var(--blue-dark); font-weight: 750; text-underline-offset: 3px; }
.faq-answer a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.site-footer { background: #071a39; color: #d7e1ef; padding: 48px 0; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 60px; align-items: start; }
.brand-footer { margin-bottom: 13px; }
.site-footer p { max-width: 570px; color: #aebdd2; margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: white; text-decoration: none; font-weight: 750; }
.copyright { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-social { grid-column: 1 / -1; margin-top: 10px; }
.footer-social h2 { margin: 0 0 18px; color: white; font-size: 1.35rem; line-height: 1.3; }
.social-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.social-link { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 2px 16px; padding: 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; color: white; text-decoration: none; }
.social-icon { grid-column: 1; grid-row: 1 / 3; width: 36px; height: 36px; filter: brightness(0) invert(1); }
.social-link strong { grid-column: 2; font-size: 1.05rem; }
.social-link span { grid-column: 2; font-size: .85rem; }
.social-facebook { background: var(--blue-dark); }
.social-instagram { background: #75339b; }
.social-tiktok { background: #69e4de; color: var(--blue-deep); border-color: #69e4de; }
.social-whatsapp { background: #25d366; color: #052e20; border-color: #25d366; }
.social-tiktok .social-icon, .social-whatsapp .social-icon { filter: none; }
a.social-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
a.social-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.legal-page { background: #f5f8fc; }
.legal-back { font-weight: 800; color: var(--blue); text-decoration: none; }
.legal-content { max-width: 860px; padding-top: 70px; padding-bottom: 100px; }
.legal-content h1 { font-size: clamp(2.7rem, 6vw, 5rem); overflow-wrap: anywhere; hyphens: auto; }
.legal-content h2 { margin-top: 38px; }
.legal-warning { margin: 26px 0; border-left: 5px solid var(--orange); background: #fff4e9; padding: 16px 18px; border-radius: 10px; font-weight: 800; }
.not-found { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(145deg, #eaf7ff, #fff7d6); padding: 20px; }
.not-found-card { width: min(620px, 100%); background: white; padding: 44px; text-align: center; border-radius: 30px; box-shadow: var(--shadow); }
.not-found-card h1 { font-size: clamp(2.3rem, 7vw, 4rem); margin-bottom: 16px; }

@media (min-width: 1200px) {
  .rental-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 14px; right: 14px; top: 72px;
    gap: 4px; max-height: calc(100dvh - 86px); overflow-y: auto;
    padding: 12px; background: white; border-radius: 17px; box-shadow: var(--shadow); border: 1px solid #e8eef5;
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 11px 10px; }
}

@media (max-width: 1000px) {
  .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-suggestion { grid-template-columns: 1fr; }
  .attraction-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-panel { grid-template-columns: 1fr; }
  .rental-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  .social-links { grid-template-columns: 1fr; }
  .snack-card { grid-template-columns: 1fr; gap: 20px; }
  .birthday-intro { grid-template-columns: 1fr; }
  .birthday-photo { justify-self: center; }
  .birthday-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 45px; }
  .feature-strip { grid-template-columns: 1fr; margin-top: 46px; }
  .feature-chip { grid-column: auto; min-height: 70px; }
  .section { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .attraction-grid { grid-template-columns: 1fr; }
  .attraction-media { height: 235px; background-size: 700px auto; }
  .rental-gallery { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 34px 24px; }
  .contact-actions { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

@media (max-width: 480px) {
  .site-header .brand::before { width: 36px; height: 44px; }
  .brand-fun { font-size: 1.15rem; }
  .brand-park { font-size: 1.38rem; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.1rem); }
  .hero-actions { display: grid; justify-content: stretch; }
  .button { width: 100%; }
  .event-card { grid-template-columns: 1fr; gap: 7px; }
  .contact-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Tour information shares the homepage brand, colors and rounded surfaces. */
.event-page {
  background: radial-gradient(circle at 8% 12%, rgba(255,210,51,.5), transparent 28%),
    radial-gradient(circle at 95% 28%, rgba(239,52,52,.13), transparent 30%),
    linear-gradient(145deg, var(--sky), #fff 65%, #fff7d6);
}
.event-page .brand { flex-shrink: 0; }
.event-page .legal-back { text-align: right; }
.event-content {
  max-width: 940px; margin-top: 54px; padding: clamp(24px, 5vw, 60px);
  background: white; border-radius: var(--radius); border-top: 7px solid var(--blue);
  box-shadow: var(--shadow);
}
.event-content h1 {
  margin: 0 0 24px; color: var(--blue-deep); font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere;
}
.event-period {
  display: inline-block; background: var(--yellow); color: var(--blue-deep);
  padding: 10px 16px; border-radius: 12px; font-weight: 850; margin: 0 0 12px;
  box-shadow: 0 5px 0 var(--red);
}
.event-content h2 { margin: 32px 0 8px; color: var(--blue-dark); font-size: 1.3rem; }
.event-content p { max-width: 70ch; }
.event-content .event-note { padding: 12px 16px; font-size: 1rem; }
.event-content .schedule-panel { display: block; }
.event-content .events { padding: 16px; background: var(--blue-deep); border-radius: 24px; }
.event-content .button { margin-top: 14px; }
.event-page .site-footer { margin-top: 64px; }
@media (max-width: 480px) {
  .event-page .header-inner { gap: 12px; }
  .event-page .legal-back { font-size: .85rem; }
  .event-content { margin-top: 28px; }
  .event-content .events { padding: 10px; }
}

/* Legal PDF texts use the existing page typography at every viewport. */
.legal-content { overflow-wrap: anywhere; }
.legal-content h1 { margin-bottom: 32px; }
.legal-content h2, .legal-content h3, .legal-content h4 { line-height: 1.3; }
.legal-content h3 { margin-top: 28px; margin-bottom: 12px; }
.legal-content h4 { margin-top: 22px; margin-bottom: 10px; }
.legal-content p, .legal-content li { line-height: 1.65; }
.legal-content li + li { margin-top: 12px; }
