/*
Theme Name: Dartclub208
Theme URI: https://dartclub208.nl/
Author: Jordy
Description: Custom production-ready theme for Dartclub208.
Version: 1.1.0
Text Domain: dartclub208
*/

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #111111;
  --surface: #1c1c1c;
  --surface2: #232323;
  --border: #2a2a2a;
  --red: #cc0000;
  --red-h: #e60000;
  --text: #f0f0f0;
  --muted: #888888;
  --white: #ffffff;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-h); }
img { max-width: 100%; height: auto; display: block; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.btn-block { width: 100%; text-align: center; display: block; }
.status-msg { padding: 12px 14px; color: var(--muted); font-size: 0.85rem; }
.section-cta-center { text-align: center; }

.site-nav {
  background: #0d0d0d;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.site-branding a {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.site-branding .custom-logo {
  max-height: 48px;
  width: auto;
}
.brand-accent { color: var(--red); }
.menu-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.site-nav .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .menu a {
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-lang { display: inline-flex; gap: 6px; }
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}
.lang-btn.active,
.lang-btn:hover { border-color: var(--red); color: var(--red); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--white);
  display: block;
}

.hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(17,17,17,1) 100%), var(--hero-bg) center/cover no-repeat;
  background-color: #0a0a0a;
  padding: 90px 24px 80px;
  text-align: center;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204,0,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.hero h1 span { color: var(--red); }
.hero-logo {
  margin: 0 auto 28px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--red);
  box-shadow: 0 0 32px rgba(204,0,0,0.45), 0 0 0 8px rgba(204,0,0,0.1);
  overflow: hidden;
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.15s;
  border: none;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-h); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

section { padding: 72px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.competitions { background: var(--bg); border-bottom: 1px solid var(--border); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.comp-card:hover { border-color: var(--red); transform: translateY(-3px); }
.comp-card-header {
  background: linear-gradient(135deg, #1a0000 0%, #2a0505 100%);
  border-bottom: 3px solid var(--red);
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.comp-day { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.comp-name { font-size: 1.55rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.comp-icon { font-size: 2.4rem; opacity: 0.8; }
.comp-card-body { padding: 20px 28px 24px; }
.comp-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.comp-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.comp-meta-item a { color: var(--muted); text-decoration: underline; }
.standings-preview { background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
.standings-preview-header { background: var(--red); padding: 8px 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.standings-row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.standings-row:last-child { border-bottom: none; }
.standings-pos { width: 22px; font-weight: 700; color: var(--muted); text-align: center; font-size: 0.8rem; }
.standings-pos.gold { color: #ffd700; }
.standings-pos.silver { color: #c0c0c0; }
.standings-pos.bronze { color: #cd7f32; }
.standings-name { flex: 1; color: var(--text); font-weight: 500; }
.standings-pts { color: var(--red); font-weight: 700; font-size: 0.85rem; }

.agenda-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tournament-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.tournament-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.tournament-date { text-align: center; min-width: 52px; }
.tournament-day { font-size: 1.4rem; font-weight: 900; color: var(--white); line-height: 1; }
.tournament-month { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.tournament-sep { width: 1px; background: var(--border); align-self: stretch; }
.tournament-info { flex: 1; min-width: 160px; }
.tournament-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.tournament-meta { font-size: 0.82rem; color: var(--muted); margin-top: 3px; text-transform: capitalize; }
.schrijf-in-btn {
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  white-space: nowrap;
}
.registration-soon { color: var(--muted); font-size: 0.75rem; }

.news { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.news-card:hover { border-color: var(--red); transform: translateY(-3px); }
.news-card-img { min-height: 160px; background: linear-gradient(135deg, #1a0000 0%, #2d0808 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; border-bottom: 2px solid var(--border); }
.news-card-img img { width: 100%; height: 160px; object-fit: cover; }
.news-card-body { padding: 18px; }
.news-tag { display: inline-block; background: rgba(204,0,0,0.15); color: var(--red); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; margin-bottom: 10px; }
.news-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0 0 8px; line-height: 1.3; }
.news-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.news-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-date { font-size: 0.75rem; color: var(--muted); }
.read-more { font-size: 0.8rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.05em; }

.social { background: var(--bg); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.social-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.social-card-header { padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.social-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.social-icon.fb { background: #1877f2; }
.social-icon.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card-header h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin: 0; }
.social-card-header span { font-size: 0.78rem; color: var(--muted); }
.social-placeholder { text-align: center; padding: 28px; color: var(--muted); font-size: 0.85rem; }

.site-footer { background: #0d0d0d; border-top: 3px solid var(--red); padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-title { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: 0.88rem; color: var(--muted); margin: 12px 0 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); }
.footer-social-btn:hover { border-color: var(--red); background: rgba(204,0,0,0.1); color: var(--red); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul, .footer-col .menu { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.footer-col li a { color: var(--muted); font-size: 0.88rem; }
.footer-col li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--red); }
.page-content { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.entry-title { color: var(--white); margin-top: 0; }

@media (max-width: 960px) {
  .comp-grid, .social-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .menu-panel.is-open { display: flex; }
  .site-nav .menu { flex-direction: column; gap: 14px; }
  .nav-actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .nav-inner, section, .site-footer { padding-left: 16px; padding-right: 16px; }
  .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .schrijf-in-btn { width: 100%; text-align: center; box-sizing: border-box; padding: 10px; }
  .tournament-sep { display: none; }
}

.footer-grid--simple {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }

  @media (max-width: 600px) {
    .footer-grid--simple {
      flex-direction: column;
    }
  }

/* ── PAGE HERO (inner pages like Galerij) ── */
.page-hero {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.80) 0%, rgba(17,17,17,1) 100%),
    url('https://dartclub208.nl/wp-content/uploads/2022/10/watermark208-1.png') center/cover no-repeat;
  background-color: #0a0a0a;
  padding: 60px 24px 50px;
  text-align: center;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204,0,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}
.page-hero h1 span { color: var(--red); }

/* ── GALLERY ── */
.gallery-section { background: var(--bg); }

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.45); }

.gallery-overlay-icon {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: var(--white);
}

.gallery-overlay-icon svg { width: 40px; height: 40px; }

.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-empty {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 40px 0;
}

/* ── LIGHTBOX ── */
body.lightbox-open { overflow: hidden; }

.dc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dc-lightbox[hidden] { display: none; }

.dc-lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  object-fit: contain;
}

.dc-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 10000;
}

.dc-lightbox-close:hover { opacity: 1; }

.dc-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.2s;
  z-index: 10000;
}

.dc-lightbox-nav:hover { background: rgba(204,0,0,0.5); }
.dc-lightbox-prev { left: 20px; }
.dc-lightbox-next { right: 20px; }

.dc-lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ── PAGE HERO META (donderdag / zaterdag) ── */
.page-hero-meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ── STANDINGS PAGE ── */
.standings-section { padding: 64px 24px 80px; }
.container-narrow { max-width: 860px; margin: 0 auto; }

.dc-table-wrap { border: 1px solid var(--border); border-radius: 8px; overflow-x: auto; margin-bottom: 16px; }
.dc-table { width: 100%; min-width: 360px; border-collapse: collapse; }
.dc-table thead tr { background: var(--red); }
.dc-table thead th { padding: 11px 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); text-align: left; }
.dc-table thead th.right { text-align: right; }
.dc-table tbody tr { border-bottom: 1px solid var(--border); background: var(--surface); transition: background 0.1s; }
.dc-table tbody tr:last-child { border-bottom: none; }
.dc-table tbody tr:hover { background: #222; }
.dc-table tbody tr:nth-child(even) { background: #1e1e1e; }
.dc-table tbody tr:nth-child(even):hover { background: #252525; }
.dc-table td { padding: 11px 16px; font-size: 0.9rem; color: var(--text); }
.dc-table td.right { text-align: right; }
.dc-pos { font-weight: 700; font-size: 0.85rem; color: var(--muted); width: 36px; }
.dc-pos.gold   { color: #ffd700; }
.dc-pos.silver { color: #c0c0c0; }
.dc-pos.bronze { color: #cd7f32; }
.dc-name { font-weight: 600; }
.dc-pts  { font-weight: 700; color: var(--red); }
.dc-events { color: var(--muted); font-size: 0.85rem; }
.dc-loading { padding: 28px; text-align: center; color: var(--muted); font-size: 0.9rem; background: var(--surface); }
.dc-footer { text-align: center; padding: 6px 0; }
.dc-footer a { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.dc-footer a:hover { color: var(--red); }

/* ── CONTACT PAGE ── */
.contact-section { padding: 72px 24px 80px; flex: 1; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: border-color 0.2s; }
.contact-card:hover { border-color: var(--red); }
.contact-card-icon { width: 44px; height: 44px; background: rgba(204,0,0,0.12); border: 1px solid rgba(204,0,0,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon svg { width: 20px; height: 20px; stroke: var(--red); }
.contact-card-body { flex: 1; }
.contact-card-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact-card-value { font-size: 0.95rem; color: var(--white); font-weight: 500; line-height: 1.5; }
.contact-card-value a { color: var(--white); }
.contact-card-value a:hover { color: var(--red); }
.contact-socials { display: flex; gap: 12px; }
.social-btn { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; color: var(--muted); font-size: 0.82rem; font-weight: 600; transition: border-color 0.2s, color 0.2s; flex: 1; justify-content: center; }
.social-btn:hover { border-color: var(--red); color: var(--red); }
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 420px; display: block; border: none; filter: grayscale(30%) invert(90%) hue-rotate(180deg); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── LID WORDEN ── */
.lidworden-section { padding: 56px 24px 80px; }
.lidworden-section .wpcf7 { max-width: 680px; margin: 0 auto; }
.lidworden-section .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.lidworden-section .wpcf7 select,
.lidworden-section .wpcf7 textarea {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lidworden-section .wpcf7 input:focus,
.lidworden-section .wpcf7 select:focus,
.lidworden-section .wpcf7 textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(204,0,0,0.15);
}
.lidworden-section .wpcf7 input[type="submit"] {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.lidworden-section .wpcf7 input[type="submit"]:hover {
  background: var(--red-h);
  transform: translateY(-1px);
}
.lidworden-section .wpcf7 label { color: var(--text); font-size: 0.85rem; }
.lidworden-section .wpcf7 .wpcf7-not-valid-tip { color: var(--red); font-size: 0.8rem; }
.lidworden-section .wpcf7 .wpcf7-response-output { border-color: var(--red) !important; color: var(--text); font-size: 0.85rem; }

/* ── AGENDA PAGE ── */
.page-agenda-section { flex: 1; padding: 64px 24px 80px; }
.agenda-block { margin-bottom: 56px; }
.agenda-tournament-list { display: flex; flex-direction: column; gap: 12px; }
.tournament-row { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 8px; padding: 18px 22px; flex-wrap: wrap; transition: border-color 0.15s, background 0.15s; }
.tournament-row:hover { background: var(--surface2); border-color: var(--red); }
.tournament-row.past { border-left-color: var(--border); opacity: 0.75; }
.tournament-row.past:hover { opacity: 1; border-left-color: var(--red); }
.tournament-row .t-date { text-align: center; min-width: 52px; }
.tournament-row .t-date-day { font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.tournament-row .t-date-mon { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.tournament-row.past .t-date-mon { color: var(--muted); }
.tournament-row .t-divider { width: 1px; background: var(--border); align-self: stretch; }
.tournament-row .t-body { flex: 1; min-width: 160px; }
.tournament-row .t-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.tournament-row .t-meta { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.btn-register { display: inline-block; background: var(--red); color: var(--white); font-size: 0.8rem; font-weight: 700; padding: 8px 18px; border-radius: 5px; white-space: nowrap; transition: background 0.15s; }
.btn-register:hover { background: var(--red-h); color: var(--white); }
.btn-results { display: inline-block; border: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; font-weight: 700; padding: 8px 18px; border-radius: 5px; white-space: nowrap; transition: border-color 0.15s, color 0.15s; }
.btn-results:hover { border-color: var(--red); color: var(--red); }
.t-reg-pending { color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.agenda-empty { text-align: center; padding: 40px 24px; color: var(--muted); font-size: 0.9rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.agenda-loading { text-align: center; padding: 40px 24px; color: var(--muted); font-size: 0.9rem; background: var(--surface); border-radius: 8px; }
.agenda-actions { text-align: center; margin-top: 20px; }

@media (max-width: 600px) {
  .tournament-row .t-divider { display: none; }
}

/* ── PRIVACY PAGE ── */
.privacy-section { flex: 1; padding: 64px 24px 80px; }
.privacy-container { max-width: 740px; margin: 0 auto; }
.privacy-intro { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.privacy-block { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.privacy-block:last-of-type { border-bottom: none; }
.privacy-block h2 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.privacy-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--red); color: var(--white); font-size: 0.75rem; font-weight: 800; border-radius: 4px; flex-shrink: 0; }
.privacy-block p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 10px; }
.privacy-block p:last-child { margin-bottom: 0; }
.privacy-block ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.privacy-block ul li { color: var(--muted); font-size: 0.9rem; padding-left: 16px; position: relative; line-height: 1.6; }
.privacy-block ul li::before { content: '–'; position: absolute; left: 0; color: var(--red); }
.privacy-block a { color: var(--red); }
.privacy-block a:hover { color: var(--red-h); }
.privacy-updated { color: var(--muted); font-size: 0.8rem; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}