/* Lesley Boys – Programma & Stand (huisstijl lesleyboys.nl) */
:root {
  --lb-primary: #039ed9;
  --lb-primary-soft: #e6f5fb;
  --lb-black: #000000;
  --lb-white: #ffffff;
  --lb-muted: #456487;
  --lb-row-alt: rgba(0, 0, 0, 0.05);
  --lb-font: "Work Sans", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lb-body {
  margin: 0;
  font-family: var(--lb-font);
  color: var(--lb-black);
  background: var(--lb-white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.lb-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.lb-topbar {
  background: var(--lb-primary);
  color: var(--lb-white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lb-topbar a {
  color: var(--lb-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.lb-topbar a:hover {
  opacity: 0.85;
}

.lb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.lb-brand img {
  height: 40px;
  width: auto;
}

.lb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.lb-badge[data-mode="demo"] {
  background: #111;
  color: #fff;
}

.lb-badge[data-mode="live"] {
  background: rgba(0, 0, 0, 0.25);
}

.lb-page-head {
  padding: 36px 20px 12px;
}

.lb-page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
}

.lb-page-head h1 span {
  color: var(--lb-primary);
}

.lb-page-head p {
  margin: 0;
  color: var(--lb-muted);
  font-size: 14px;
  max-width: 640px;
}

.lb-status {
  margin: 12px 20px 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--lb-primary-soft);
  color: var(--lb-muted);
}

.lb-status[data-kind="error"] {
  background: #fee2e2;
  color: #991b1b;
}

.lb-status[data-kind="warn"] {
  background: #fef3c7;
  color: #92400e;
}

.lb-status[hidden] {
  display: none !important;
}

/* Split hero: next home + programme — mirrors site #programma */
.lb-hero {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 20px;
}

@media (min-width: 900px) {
  .lb-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.lb-next {
  background: var(--lb-black);
  color: var(--lb-white);
  padding: 40px 24px 48px;
  min-height: 280px;
}

@media (min-width: 900px) {
  .lb-next {
    padding: 56px 48px 64px;
  }
}

.lb-next h2 {
  margin: 0 0 28px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
}

.lb-next h2 span {
  color: var(--lb-primary);
}

.lb-next-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lb-datebox {
  width: 115px;
  height: 115px;
  background: var(--lb-primary);
  color: var(--lb-white);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  flex-shrink: 0;
}

.lb-next-meta h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
}

.lb-next-meta p {
  margin: 0 0 4px;
  font-size: 14px;
}

.lb-next-meta .lb-venue {
  opacity: 0.75;
}

.lb-empty-next {
  opacity: 0.8;
  font-size: 15px;
}

.lb-programma-panel {
  background: var(--lb-primary);
  color: var(--lb-white);
  padding: 32px 20px 40px;
}

@media (min-width: 900px) {
  .lb-programma-panel {
    padding: 48px 48px 56px;
  }
}

.lb-programma-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
}

.lb-programma-panel h2 span {
  color: var(--lb-black);
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lb-table th {
  text-align: left;
  font-weight: 600;
  padding: 8px 12px;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.lb-table td {
  padding: 10px 12px;
  vertical-align: top;
}

.lb-table tbody tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.08);
}

.lb-table .lb-when {
  white-space: nowrap;
  width: 1%;
  font-variant-numeric: tabular-nums;
}

.lb-table .lb-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  background: rgba(0, 0, 0, 0.35);
}

.lb-table .lb-tag.thuis {
  background: var(--lb-black);
}

.lb-table .lb-tag.uit {
  background: rgba(255, 255, 255, 0.25);
  color: var(--lb-white);
}

/* Standings */
.lb-stand-section {
  padding: 40px 20px 56px;
  background: var(--lb-primary-soft);
}

.lb-stand-section .lb-wrap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lb-stand-section h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
}

.lb-stand-section .lb-sub {
  margin: 0 0 20px;
  color: var(--lb-muted);
  font-size: 14px;
}

.lb-stand-card {
  background: var(--lb-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lb-stand {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lb-stand thead {
  background: var(--lb-black);
  color: var(--lb-white);
}

.lb-stand th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lb-stand th.num,
.lb-stand td.num {
  text-align: center;
  font-variant-numeric: tabular-nums;
  width: 44px;
  white-space: nowrap;
}

.lb-stand td {
  padding: 12px 10px;
  border-bottom: 1px solid #ebebeb;
}

.lb-stand tbody tr:nth-child(even) {
  background: var(--lb-row-alt);
}

.lb-stand tr.lb-highlight {
  background: rgba(3, 158, 217, 0.18) !important;
  font-weight: 700;
}

.lb-stand tr.lb-highlight td:first-child {
  box-shadow: inset 4px 0 0 var(--lb-primary);
}

.lb-actions {
  padding: 28px 20px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 160px;
  padding: 0 20px;
  background: var(--lb-black);
  color: var(--lb-white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
}

.lb-btn:hover {
  background: #222;
}

.lb-btn.secondary {
  background: var(--lb-primary);
}

.lb-btn.secondary:hover {
  filter: brightness(0.95);
}

.lb-meta-line {
  font-size: 12px;
  color: var(--lb-muted);
}

.lb-footer {
  background: var(--lb-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  font-size: 12px;
  text-align: center;
}

.lb-footer a {
  color: var(--lb-primary);
}

.lb-skeleton {
  opacity: 0.5;
}

@media (max-width: 640px) {
  .lb-stand th.hide-sm,
  .lb-stand td.hide-sm {
    display: none;
  }

  .lb-datebox {
    width: 96px;
    height: 96px;
    font-size: 22px;
  }
}
