:root {
  --green-950: #08361f;
  --green-900: #0c4e2c;
  --green-800: #137443;
  --green-100: #e7f4ec;
  --green-050: #f3faf6;
  --blue-950: #102c5f;
  --blue-900: #163f86;
  --blue-800: #245ab8;
  --blue-100: #eaf0fb;
  --blue-050: #f5f8fe;
  --paper: #f4f7f4;
  --panel: rgba(255, 255, 255, 0.96);
  --line: rgba(10, 29, 17, 0.08);
  --ink: #102117;
  --ink-soft: #4c5f53;
  --white: #ffffff;
  --shadow: 0 20px 42px rgba(10, 29, 17, 0.08);
  --shadow-lg: 0 28px 60px rgba(10, 29, 17, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(19, 116, 67, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(36, 90, 184, 0.09), transparent 24%),
    linear-gradient(180deg, #f7faf8 0%, #eef4ef 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.narrow-container {
  max-width: 920px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(135deg, rgba(8, 54, 31, 0.98), rgba(22, 63, 134, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(8, 29, 17, 0.24);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--white);
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: var(--white);
  margin: 5px 0;
}

main {
  padding: 28px 0 84px;
}

.route-home main {
  padding-top: 0;
}

.section-block {
  margin-top: 28px;
}

.hero-banner,
.visual-link-card,
.news-home-card,
.content-panel {
  box-shadow: var(--shadow);
}

.hero-banner,
.visual-link-card,
.news-home-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white);
}

.hero-banner::before,
.visual-link-card::before,
.news-home-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-banner::before,
.tone-green::before {
  background: linear-gradient(135deg, rgba(12, 78, 44, 0.4), rgba(12, 78, 44, 0.1));
}

.tone-blue::before {
  background: linear-gradient(135deg, rgba(16, 44, 95, 0.44), rgba(16, 44, 95, 0.12));
}

.hero-banner-inner,
.visual-link-card__content,
.news-home-card__content {
  position: relative;
  z-index: 1;
}

.hero-banner {
  min-height: 560px;
  display: flex;
  align-items: stretch;
}

.hero-banner--full {
  min-height: clamp(520px, 76vh, 760px);
  border-radius: 0 0 38px 38px;
}

.hero-banner--full::before {
  background: linear-gradient(135deg, rgba(8, 54, 31, 0.54), rgba(16, 44, 95, 0.28));
}

.hero-banner-shell {
  min-height: inherit;
  display: flex;
  align-items: stretch;
}

.hero-banner-inner {
  width: min(100%, 780px);
  padding: clamp(42px, 6vw, 60px);
  display: grid;
  align-content: end;
  gap: 18px;
}

.hero-banner--full .hero-banner-inner {
  padding-top: clamp(88px, 11vw, 130px);
  padding-bottom: clamp(40px, 7vw, 70px);
}

.hero-banner h1,
.page-title-block h1,
.content-panel h1,
.not-found-panel h1 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-banner h1 {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  max-width: 11ch;
}

.hero-lead,
.page-title-block p,
.content-panel p,
.news-featured-body p,
.news-entry-body p,
.photo-card-body p,
.parking-body p,
.contact-message p,
.schedule-copy p,
.visual-link-card__content p,
.news-home-card__content p {
  margin: 0;
  color: inherit;
  line-height: 1.72;
}

.hero-lead {
  max-width: 52ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-inline-points {
  display: grid;
  gap: 10px;
  max-width: 56ch;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-inline-points p {
  margin: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hero-inline-points strong {
  color: var(--white);
  margin-right: 10px;
  letter-spacing: -0.02em;
}

.hero-inline-points span {
  color: rgba(255, 255, 255, 0.82);
}

.hero-caption,
.card-photo-caption,
.entry-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-caption {
  max-width: 52ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--green-900), var(--blue-900));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(22, 63, 134, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.content-panel .button-secondary,
.info-panel .button-secondary,
.parking-panel .button-secondary,
.form-panel .button-secondary,
.single-panel .button-secondary,
.contact-overview-panel .button-secondary {
  background: var(--white);
  border-color: rgba(10, 29, 17, 0.12);
  color: var(--ink);
  backdrop-filter: none;
}

.button-disabled {
  background: #ebf0ec;
  color: #6f7e73;
  border-color: #d1ddd3;
  cursor: not-allowed;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2,
.content-panel h2,
.news-featured-body h2,
.photo-card-body h3,
.news-entry-body h3,
.visual-link-card__content h3,
.news-home-card__content h3,
.schedule-copy strong {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head h2,
.content-panel h2,
.news-featured-body h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.visual-link-card__content h3,
.news-home-card__content h3,
.news-entry-body h3,
.photo-card-body h3 {
  font-size: 1.4rem;
}

.schedule-copy strong {
  font-size: 1.18rem;
}

.section-link {
  color: var(--blue-900);
  font-weight: 800;
  white-space: nowrap;
}

.content-panel,
.notice-card {
  background: var(--panel);
  border: 1px solid var(--line);
}

.content-panel {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px);
}

.page-title-block {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.page-title-block h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.page-title-block p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.visual-card-grid {
  display: grid;
  gap: 18px;
}

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

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

.visual-link-card {
  min-height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.visual-link-card__content,
.news-home-card__content {
  min-height: inherit;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.visual-link-card__content p,
.news-home-card__content p {
  color: rgba(255, 255, 255, 0.82);
}

.visual-link-card__link {
  font-size: 0.95rem;
  font-weight: 800;
}

.card-photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 1;
}

.section-news-home {
  margin-top: 32px;
}

.news-home-list {
  display: grid;
  gap: 16px;
}

.news-home-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 22px;
  align-items: stretch;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-home-item:first-child {
  padding-top: 0;
}

.news-home-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-home-text {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: clamp(8px, 2vw, 18px);
  color: var(--ink);
}

.news-home-text h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.news-home-text p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.68;
}

.text-link {
  color: var(--blue-900);
  font-weight: 900;
}

.news-home-image {
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background: #e8efea;
}

.news-home-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-home-card {
  min-height: 330px;
}

.news-date {
  display: inline-block;
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.news-home-card .news-date {
  color: rgba(255, 255, 255, 0.88);
}

.empty-state {
  color: var(--ink-soft);
}

.notice-card {
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--ink);
}

.notice-card.success {
  background: #edf9f1;
  border-color: rgba(19, 116, 67, 0.18);
  color: var(--green-900);
}

.notice-card.error {
  background: #fff2f2;
  border-color: rgba(180, 65, 65, 0.18);
  color: #8c3131;
}

.mini-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--blue-050);
  color: var(--blue-900);
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.info-panel,
.form-panel,
.single-panel,
.contact-overview-panel,
.parking-panel,
.schedule-panel,
.sponsor-panel,
.news-featured-panel,
.news-entry-card,
.not-found-panel {
  background: var(--panel);
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.info-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10, 29, 17, 0.08);
}

.info-row span,
.entry-caption,
.photo-meta,
.news-entry-body p,
.news-featured-body p,
.parking-body p,
.contact-message p,
.schedule-head p,
.schedule-copy p,
.content-panel p,
.form-group small {
  color: var(--ink-soft);
}

.info-row strong {
  text-align: right;
  line-height: 1.5;
}

.contact-message {
  margin-top: 18px;
}

.contact-overview-panel .button-row {
  margin-top: 24px;
}

.site-form,
.form-grid {
  display: grid;
  gap: 16px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.site-form label,
.form-group label {
  font-weight: 700;
}

.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="password"],
.site-form input[type="url"],
.site-form input[type="date"],
.site-form input[type="file"],
.site-form select,
.site-form textarea,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(10, 29, 17, 0.12);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-form textarea,
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(22, 63, 134, 0.34);
  box-shadow: 0 0 0 4px rgba(22, 63, 134, 0.08);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.schedule-stack,
.sponsor-tier-stack {
  display: grid;
  gap: 18px;
}

.schedule-head {
  margin-bottom: 18px;
}

.schedule-head p {
  margin-top: 8px;
}

.schedule-list {
  display: grid;
  gap: 14px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 29, 17, 0.08);
}

.schedule-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.schedule-time {
  color: var(--green-900);
  font-weight: 800;
}

.single-panel {
  display: grid;
  gap: 22px;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.logo-card {
  display: grid;
  place-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(10, 29, 17, 0.08);
  min-width: 180px;
}

.logo-card img {
  width: 100%;
  max-width: 220px;
  object-fit: contain;
}

.tier-large .logo-card {
  min-height: 148px;
}

.tier-large .logo-card img {
  max-height: 94px;
}

.tier-medium .logo-card {
  min-height: 136px;
}

.tier-medium .logo-card img {
  max-height: 82px;
}

.tier-small .logo-card {
  min-height: 124px;
}

.tier-small .logo-card img {
  max-height: 72px;
}

.empty-state-inline {
  color: var(--ink-soft);
}

.news-featured-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 24px;
  margin-bottom: 20px;
}

.news-featured-image,
.news-entry-image,
.photo-card-image,
.parking-image {
  overflow: hidden;
  border-radius: 20px;
  background: #e8efea;
}

.news-featured-image {
  min-height: 320px;
}

.news-featured-image img,
.news-entry-image img,
.photo-card-image img,
.parking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-body,
.news-entry-body,
.photo-card-body,
.parking-body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-entry-card {
  display: grid;
  gap: 18px;
}

.news-entry-image {
  aspect-ratio: 16 / 9;
  max-height: 320px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(10, 29, 17, 0.1);
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.filter-button.is-active {
  background: linear-gradient(135deg, var(--green-900), var(--blue-900));
  border-color: transparent;
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-card.is-featured {
  grid-column: span 2;
}

.photo-card-image {
  aspect-ratio: 4 / 3;
}

.photo-card.is-featured .photo-card-image {
  aspect-ratio: 16 / 9;
}

.photo-card-body {
  padding: 18px 20px 20px;
}

.photo-meta {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.parking-panel {
  display: grid;
  gap: 18px;
}

.parking-image {
  aspect-ratio: 16 / 9;
}

.not-found-panel {
  display: grid;
  gap: 14px;
}

.site-footer {
  background: linear-gradient(135deg, #093b22 0%, #153a78 100%);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.footer-block h4,
.footer-brand-block h3 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.footer-brand-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand-block img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-brand-block p,
.footer-meta,
.footer-links {
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand-block p {
  margin: 0;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-meta a {
  color: inherit;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

@media (max-width: 1120px) {
  .quick-links-grid,
  .news-home-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-home-item,
  .spotlight-grid,
  .contact-layout,
  .news-featured-panel,
  .news-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-banner {
    min-height: 500px;
  }

  .hero-inline-points,
  .quick-links-grid,
  .news-home-grid,
  .gallery-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .photo-card.is-featured {
    grid-column: auto;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(8, 54, 31, 0.98), rgba(22, 63, 134, 0.98));
    box-shadow: 0 22px 40px rgba(8, 29, 17, 0.22);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
  }
}

@media (max-width: 680px) {
  .news-home-item {
    padding: 14px;
  }

  .news-home-text,
  .news-home-image {
    min-height: 190px;
  }

  main {
    padding-top: 22px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-banner-inner {
    padding: 22px;
  }

  .hero-banner h1 {
    max-width: none;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .section-link {
    justify-content: center;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }
}

/* Update v3: structured homepage news and mobile refinements */
.section-news-home .section-head {
  align-items: start;
}

.news-home-list {
  gap: 20px;
}

.news-home-item {
  align-items: stretch;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(10, 29, 17, 0.08);
  border-bottom: 1px solid rgba(10, 29, 17, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(231, 244, 236, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
}

.news-home-item:first-child,
.news-home-item:last-child {
  padding-top: clamp(18px, 2.4vw, 26px);
  padding-bottom: clamp(18px, 2.4vw, 26px);
}

.news-home-item:nth-child(even) {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--blue-950) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.news-home-text {
  min-height: 240px;
  justify-content: flex-start;
  padding: clamp(6px, 1.6vw, 16px);
}

.news-home-item:nth-child(even) .news-home-text,
.news-home-item:nth-child(even) .news-home-text p,
.news-home-item:nth-child(even) .news-date,
.news-home-item:nth-child(even) .text-link {
  color: var(--white);
}

.news-home-item:nth-child(even) .news-home-text p,
.news-home-item:nth-child(even) .news-date {
  opacity: 0.88;
}

.news-home-image {
  min-height: 240px;
  box-shadow: 0 16px 34px rgba(8, 29, 17, 0.12);
}

.parking-panel .parking-image {
  margin-top: 6px;
}

@media (max-width: 1120px) {
  .news-home-item {
    grid-template-columns: 1fr;
  }

  .news-home-text {
    min-height: auto;
  }

  .news-home-image {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(19, 116, 67, 0.07), transparent 24%),
      linear-gradient(180deg, #f7faf8 0%, #eef4ef 100%);
  }

  main {
    padding-bottom: 54px;
  }

  .hero-banner--full {
    min-height: 520px;
    border-radius: 0 0 26px 26px;
  }

  .hero-banner-inner {
    gap: 14px;
  }

  .hero-banner--full .hero-banner-inner {
    padding-top: 58px;
    padding-bottom: 28px;
  }

  .section-block {
    margin-top: 22px;
  }

  .content-panel,
  .news-home-item {
    border-radius: 22px;
  }

  .visual-link-card {
    min-height: 220px;
  }

  .visual-link-card__content,
  .news-home-card__content {
    padding: 20px;
  }

  .news-home-text h3 {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }

  .news-home-image {
    min-height: 210px;
    border-radius: 18px;
  }

  .content-panel {
    padding: 20px;
  }

  .page-title-block {
    margin-bottom: 16px;
  }

  .page-title-block h1 {
    font-size: clamp(2.35rem, 14vw, 3.3rem);
  }

  .section-head h2,
  .content-panel h2,
  .news-featured-body h2 {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

  .info-row {
    display: grid;
    gap: 4px;
  }

  .info-row strong {
    text-align: left;
    overflow-wrap: anywhere;
  }

  .news-featured-image {
    min-height: 210px;
  }

  .news-entry-image,
  .parking-image,
  .photo-card-image,
  .photo-card.is-featured .photo-card-image {
    aspect-ratio: 16 / 10;
  }

  .logo-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-card {
    min-width: 0;
    padding: 16px;
  }

  .footer-inner {
    padding-top: 32px;
  }

  .footer-brand-block {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .hero-banner h1 {
    font-size: clamp(2.4rem, 15vw, 3.25rem);
  }

  .hero-lead,
  .page-title-block p,
  .content-panel p {
    font-size: 1rem;
  }

  .hero-inline-points {
    gap: 8px;
    padding-top: 14px;
  }

  .button {
    width: 100%;
  }

  .section-head {
    gap: 10px;
  }

  .news-home-item {
    gap: 14px;
    padding: 16px;
  }

  .news-home-image {
    min-height: 185px;
  }

  .news-page-grid,
  .contact-layout,
  .split-layout,
  .spotlight-grid,
  .quick-links-grid,
  .gallery-grid {
    gap: 14px;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }
}

/* Update v4: rijkere hover- en focusstates */
:where(a, button, .button, .visual-link-card, .news-home-item, .news-entry-card, .photo-card, .logo-card, .filter-button) {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, .button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(36, 90, 184, 0.32);
  outline-offset: 4px;
}

.brand-mark,
.footer-brand-block img {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.12), 0 16px 30px rgba(0, 0, 0, 0.22);
}

.nav a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nav a::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.38));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
  z-index: -1;
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-2px);
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a.is-active::before {
  transform: scaleX(1);
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.46s ease;
  pointer-events: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(22, 63, 134, 0.2);
}

.button:hover::after,
.button:focus-visible::after {
  left: 110%;
}

.visual-link-card,
.news-home-item,
.news-entry-card,
.photo-card,
.logo-card,
.filter-button {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, filter 0.24s ease;
  will-change: transform;
}

.visual-link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.18) 50%, transparent 58%, transparent 100%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 0.24s ease, transform 0.38s ease;
}

.visual-link-card:hover,
.visual-link-card:focus-within {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 26px 56px rgba(10, 29, 17, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
}

.visual-link-card:hover::after,
.visual-link-card:focus-within::after {
  opacity: 1;
  transform: translateX(0);
}

.visual-link-card__link,
.section-link,
.text-link,
.footer-links a,
.footer-meta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.visual-link-card__link::after,
.section-link::after,
.text-link::after,
.footer-links a::after,
.footer-meta a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.visual-link-card:hover .visual-link-card__link,
.visual-link-card:focus-within .visual-link-card__link,
.section-link:hover,
.section-link:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  transform: translateX(4px);
}

.visual-link-card:hover .visual-link-card__link::after,
.visual-link-card:focus-within .visual-link-card__link::after,
.section-link:hover::after,
.section-link:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.footer-meta a:hover::after,
.footer-meta a:focus-visible::after {
  transform: scaleX(1);
}

.news-home-item:hover,
.news-home-item:focus-within,
.news-entry-card:hover,
.news-entry-card:focus-within,
.photo-card:hover,
.photo-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(10, 29, 17, 0.14);
  border-color: rgba(19, 116, 67, 0.18);
}

.news-home-image img,
.news-entry-image img,
.photo-card-image img,
.parking-image img {
  transition: transform 0.42s ease, filter 0.42s ease;
}

.news-home-item:hover .news-home-image img,
.news-home-item:focus-within .news-home-image img,
.news-entry-card:hover .news-entry-image img,
.news-entry-card:focus-within .news-entry-image img,
.photo-card:hover .photo-card-image img,
.photo-card:focus-within .photo-card-image img,
.parking-panel:hover .parking-image img,
.parking-panel:focus-within .parking-image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.logo-card:hover,
.logo-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(10, 29, 17, 0.12);
  border-color: rgba(22, 63, 134, 0.18);
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 63, 134, 0.22);
  box-shadow: 0 10px 22px rgba(10, 29, 17, 0.08);
}

.footer-brand-block:hover img,
.footer-brand-block:focus-within img {
  transform: rotate(-3deg) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Update v6: strakkere paginatitels, sponsoren, programma en mobiel */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
}

.container,
.header-inner,
.hero-banner-shell,
.content-panel,
.visual-card-grid,
.news-home-item,
.schedule-day-card,
.sponsor-panel,
.contact-layout,
.split-layout,
.footer-grid {
  min-width: 0;
}

.page-title-block {
  position: relative;
  margin-bottom: clamp(18px, 3vw, 30px);
  padding: clamp(18px, 3vw, 28px) 0 clamp(14px, 2.2vw, 20px) clamp(18px, 3vw, 28px);
  border-left: 8px solid var(--green-900);
  border-bottom: 1px solid rgba(10, 29, 17, 0.08);
  background: linear-gradient(90deg, rgba(231, 244, 236, 0.78), rgba(255, 255, 255, 0));
  border-radius: 0 0 0 22px;
}

.page-title-block::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 8px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue-900), var(--green-900));
}

.page-title-block h1,
.hero-banner h1,
.section-head h2,
.content-panel h2 {
  overflow-wrap: anywhere;
}

.page-title-block h1 {
  max-width: 920px;
}

/* Sponsoren: grotere logo's, dichter op elkaar en minder losse blokjes */
.sponsor-showcase {
  gap: clamp(14px, 2vw, 22px);
}

.sponsor-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  background:
    radial-gradient(circle at top right, rgba(36, 90, 184, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 250, 247, 0.98));
}

.sponsor-panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--green-900), var(--blue-900));
}

.sponsor-panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.sponsor-panel-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.sponsor-panel-header span {
  color: var(--blue-900);
  font-weight: 900;
  white-space: nowrap;
}

.sponsor-panel .logo-wall {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(10px, 1.5vw, 16px);
  align-items: stretch;
}

.tier-large .logo-wall {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.tier-medium .logo-wall {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.logo-card {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 2.4vw, 26px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(10, 29, 17, 0.09);
  box-shadow: 0 12px 26px rgba(10, 29, 17, 0.07);
}

.logo-card img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.tier-large .logo-card {
  min-height: clamp(180px, 19vw, 260px);
}

.tier-medium .logo-card {
  min-height: clamp(150px, 16vw, 218px);
}

.tier-large .logo-card img,
.tier-medium .logo-card img {
  max-height: none;
}

/* Programma: visuele dagen en tijden */
.program-notice {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue-900);
  background: rgba(234, 240, 251, 0.9);
  border-color: rgba(22, 63, 134, 0.14);
}

.schedule-overview {
  display: grid;
  gap: 16px;
}

.schedule-day-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.schedule-day-side {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, var(--green-900), var(--blue-950));
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.schedule-day-side h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.schedule-day-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.schedule-day-label {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 32px) clamp(22px, 3vw, 34px) 0;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 92px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-900), rgba(22, 63, 134, 0.22));
}

.schedule-row {
  position: relative;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0;
  border-top: 0;
}

.schedule-time {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

.schedule-time span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  border: 1px solid rgba(19, 116, 67, 0.14);
  box-shadow: 0 10px 20px rgba(10, 29, 17, 0.06);
  font-weight: 900;
}

.schedule-copy {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(10, 29, 17, 0.07);
}

.schedule-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

/* Mobiel: app-gevoel zonder horizontaal scrollen */
@media (max-width: 820px) {
  .site-header {
    border-radius: 0 0 22px 22px;
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
  }

  .brand-copy {
    overflow: hidden;
  }

  .brand-copy strong,
  .brand-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }
}

@media (max-width: 760px) {
  main {
    padding-top: 18px;
  }

  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .page-title-block {
    padding: 16px 0 14px 16px;
    border-left-width: 6px;
    border-radius: 0 0 0 18px;
  }

  .page-title-block::before {
    left: -6px;
    width: 6px;
    height: 42px;
  }

  .page-title-block h1 {
    font-size: clamp(2.1rem, 12vw, 3rem);
    letter-spacing: -0.05em;
  }

  .hero-banner h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12.8vw, 3.35rem);
    letter-spacing: -0.052em;
  }

  .hero-banner--full {
    min-height: min(540px, calc(100svh - 72px));
  }

  .quick-links-grid,
  .spotlight-grid,
  .gallery-grid,
  .news-page-grid,
  .contact-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: stretch;
  }

  .section-link {
    width: fit-content;
  }

  .visual-link-card,
  .news-home-image {
    min-height: 205px;
  }

  .news-home-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-home-image {
    width: 100%;
  }

  .schedule-day-card {
    grid-template-columns: 1fr;
  }

  .schedule-day-side {
    padding: 22px;
  }

  .schedule-timeline {
    padding: 18px;
  }

  .schedule-timeline::before {
    left: 30px;
    top: 28px;
    bottom: 28px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }

  .schedule-time span {
    min-height: 38px;
  }

  .schedule-copy {
    padding: 13px 14px;
  }

  .sponsor-panel-header {
    align-items: start;
    flex-direction: column;
  }

  .tier-large .logo-wall,
  .tier-medium .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-large .logo-card,
  .tier-medium .logo-card {
    min-height: 150px;
    padding: 14px;
    border-radius: 18px;
  }

  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero-banner-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .content-panel {
    padding: 18px;
  }

  .button {
    min-height: 48px;
    padding-inline: 14px;
  }

  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .info-row,
  .news-home-text,
  .news-entry-body,
  .photo-card-body,
  .parking-body {
    min-width: 0;
  }

  .news-home-text h3,
  .content-panel h2,
  .section-head h2 {
    overflow-wrap: anywhere;
  }

  .tier-large .logo-wall,
  .tier-medium .logo-wall {
    grid-template-columns: 1fr;
  }

  .tier-large .logo-card,
  .tier-medium .logo-card {
    min-height: 160px;
  }
}

/* Update v7: sponsorlogo's klikbaar, 16:9-kaarten en programma zonder woordbreuken */
.schedule-day-card {
  grid-template-columns: minmax(330px, 0.32fr) minmax(0, 1fr);
}

.schedule-day-side h2 {
  font-size: clamp(2.05rem, 3.2vw, 3.15rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.sponsor-showcase {
  gap: clamp(12px, 1.8vw, 18px);
}

.sponsor-panel {
  padding: clamp(18px, 2.4vw, 30px);
}

.sponsor-panel-header {
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.sponsor-panel-header span {
  display: none;
}

.sponsor-panel .logo-wall,
.tier-large .logo-wall,
.tier-medium .logo-wall {
  justify-content: start;
  align-items: start;
  gap: clamp(8px, 1vw, 12px);
}

.tier-large .logo-wall {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 320px));
}

.tier-medium .logo-wall {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 175px), 215px));
}

.logo-card,
a.logo-card {
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
  height: auto;
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}

.logo-card.is-dark,
a.logo-card.is-dark {
  background: linear-gradient(135deg, #050807 0%, #101815 48%, #08121f 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(10, 29, 17, 0.18);
}

.logo-card img {
  width: 100%;
  height: 100%;
  max-width: 94%;
  max-height: 88%;
  object-fit: contain;
}

.logo-card:hover,
.logo-card:focus-visible {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 18px 36px rgba(10, 29, 17, 0.13);
}

.logo-card.is-dark:hover,
.logo-card.is-dark:focus-visible {
  box-shadow: 0 22px 42px rgba(10, 29, 17, 0.24);
}

.photo-card-image {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.has-lightbox,
.has-lightbox body {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(4, 13, 8, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox figure {
  grid-column: 2;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
}

.image-lightbox img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-align: center;
}

.image-lightbox button {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox button:hover,
.image-lightbox button:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem !important;
}

.image-lightbox-prev {
  grid-column: 1;
}

.image-lightbox-next {
  grid-column: 3;
}

@media (max-width: 900px) {
  .schedule-day-card {
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  }

  .schedule-day-side h2 {
    font-size: clamp(2rem, 4.6vw, 2.8rem);
  }
}

@media (max-width: 760px) {
  .schedule-day-card {
    grid-template-columns: 1fr;
  }

  .schedule-day-side h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .tier-large .logo-wall,
  .tier-medium .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-large .logo-card,
  .tier-medium .logo-card {
    aspect-ratio: 16 / 9;
    min-height: 0 !important;
    padding: 10px;
  }

  .image-lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    padding: 56px 12px 16px;
  }

  .image-lightbox figure {
    grid-column: 1 / -1;
  }

  .image-lightbox img {
    max-height: calc(100vh - 150px);
    border-radius: 16px;
  }

  .image-lightbox-prev,
  .image-lightbox-next {
    grid-column: auto;
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .tier-large .logo-wall,
  .tier-medium .logo-wall {
    grid-template-columns: 1fr;
  }
}


/* Update v8: programmadagen altijd met dagnaam boven datum */
.schedule-day-title {
  display: grid;
  gap: 2px;
}

.schedule-day-name,
.schedule-day-date {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.schedule-day-name {
  white-space: nowrap;
}

.schedule-day-date {
  white-space: normal;
}

@media (max-width: 760px) {
  .schedule-day-name {
    white-space: normal;
  }
}

/* Update v8: nieuwsberichten behouden witregels uit het beheer */
.news-text {
  display: grid;
  gap: 10px;
}

.news-text p {
  margin: 0;
}

/* Update v9: nieuwsafbeeldingen klikbaar en deelknop per bericht */
.news-image-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}

.news-image-link::after {
  content: 'Bekijk foto';
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 29, 17, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.news-image-link:hover::after,
.news-image-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.news-share-button {
  appearance: none;
  border: 1px solid rgba(22, 63, 134, 0.18);
  border-radius: 999px;
  background: rgba(22, 63, 134, 0.08);
  color: var(--blue-900);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  padding: 10px 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.news-share-button:hover,
.news-share-button:focus-visible {
  background: linear-gradient(135deg, var(--green-900), var(--blue-900));
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 63, 134, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.news-featured-panel:target,
.news-entry-card:target {
  border-color: rgba(22, 63, 134, 0.34);
  box-shadow: 0 0 0 5px rgba(22, 63, 134, 0.08), var(--shadow);
}

@media (max-width: 760px) {
  .news-image-link::after {
    opacity: 1;
    transform: none;
    font-size: 0.72rem;
    right: 10px;
    bottom: 10px;
  }

  .news-share-button {
    width: auto;
    min-height: 40px;
  }
}
