/* BMB Ritten — werkt op zichzelf, neemt de kleuren van het thema over als die er zijn. */
.bmb-rk, .bmb-detail, .bmb-volgende-lijst, .bmb-contact, .bmb-leden {
	--bmb-ink: var(--ink, #16191D);
	--bmb-paper: var(--paper, #F4F2EC);
	--bmb-line: var(--line, #E2DED4);
	--bmb-accent: var(--accent, #C2410C);
	--bmb-amber: var(--amber, #FDBA74);
	--bmb-muted: var(--muted, #5B6066);
	--bmb-soft: var(--soft, #3A3F45);
	--bmb-head: var(--head, 'Barlow Condensed', 'Arial Narrow', sans-serif);
}
.bmb-rk { background: #fff; border: 1px solid var(--bmb-line); border-radius: 16px; padding: clamp(18px, 3vw, 28px); }
.bmb-rk-kop { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bmb-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.bmb-filters button { min-height: 44px; min-width: 52px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; color: var(--bmb-ink); border: 1px solid #C9C4B8; }
.bmb-filters button:hover { border-color: var(--bmb-ink); }
.bmb-filters button[aria-pressed="true"] { background: var(--bmb-ink); color: var(--bmb-paper); border-color: var(--bmb-ink); }
.bmb-filters button:focus-visible, .bmb-gpx-knop:focus-visible, .bmb-ical:focus-visible { outline: 3px solid var(--bmb-accent); outline-offset: 2px; }
.bmb-ical { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--bmb-ink); text-decoration: none; }
.bmb-ical:hover { color: var(--bmb-accent); }

.bmb-ritten { list-style: none; margin: 0; padding: 0; }
.bmb-rit { display: grid; grid-template-columns: 64px 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #EFECE4; }
.bmb-rit:first-child { border-top: 0; }
.bmb-rit[hidden] { display: none; }
.bmb-rit-datum { display: flex; flex-direction: column; align-items: center; line-height: 1.05; text-align: center; }
.bmb-dag { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bmb-muted); }
.bmb-dagnr { font-family: var(--bmb-head); font-weight: 800; font-size: 30px; color: var(--bmb-ink); }
.bmb-maand { font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--bmb-accent); }
.bmb-ploeg { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; box-sizing: border-box; border-radius: 12px; background: var(--bmb-ink); color: var(--bmb-amber); font-family: var(--bmb-head); font-weight: 800; font-size: 20px; }
.bmb-rit-info { display: flex; flex-direction: column; min-width: 0; }
.bmb-rit-titel { font-weight: 600; font-size: 17px; color: var(--bmb-ink); text-decoration: none; }
.bmb-rit-titel:hover { color: var(--bmb-accent); text-decoration: underline; }
.bmb-rit-meta { font-size: 15px; color: var(--bmb-muted); }
.bmb-gpx-knop { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--bmb-accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.bmb-gpx-knop:hover { color: #fff; filter: brightness(1.08); }
a.bmb-gpx-knop:not(.is-slot), a.bmb-gpx-knop:not(.is-slot):visited { color: #fff; text-decoration: none; }
.bmb-meer { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; border: 1px dashed #B9B3A6; border-radius: 12px; background: var(--bmb-paper); color: var(--bmb-ink); font: inherit; font-weight: 600; cursor: pointer; }
.bmb-meer:hover { border-color: var(--bmb-ink); }
.bmb-meer[hidden] { display: none; }
.bmb-gpx-knop.is-slot { background: transparent; color: var(--bmb-soft); border: 1px dashed #B9B3A6; }
.bmb-gpx-knop.is-slot:hover { color: var(--bmb-ink); border-color: var(--bmb-ink); filter: none; }
.bmb-gpx-geen { font-size: 14px; color: var(--bmb-muted); }
.bmb-leeg { margin: 8px 0; padding: 20px; border-radius: 12px; background: var(--bmb-paper); border: 1px dashed #C9C3B5; color: var(--bmb-muted); }
.bmb-leeg[hidden] { display: none; }

.bmb-leden { margin-top: 20px; border: 1px solid var(--bmb-line); border-radius: 14px; background: var(--bmb-paper); }
.bmb-leden summary { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; font-weight: 600; cursor: pointer; list-style: none; }
.bmb-leden summary::-webkit-details-marker { display: none; }
.bmb-leden summary svg { color: var(--bmb-accent); flex-shrink: 0; }
.bmb-leden-form { padding: 0 18px 18px; }
.bmb-leden-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.bmb-leden-rij { display: flex; gap: 8px; flex-wrap: wrap; }
.bmb-leden-rij input { flex: 1 1 200px; min-height: 46px; padding: 0 14px; border: 1px solid #C9C4B8; border-radius: 10px; font: inherit; background: #fff; }
.bmb-leden-rij button, .bmb-contact button { min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--bmb-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bmb-klein { margin: 10px 0 0; font-size: 14px; color: var(--bmb-muted); }
.bmb-melding { margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #FFF4EC; border: 1px solid #F5C6A5; font-size: 15px; }
.bmb-melding.is-ok { background: #ECF7EF; border-color: #A9D8B5; }
.bmb-melding.is-fout { background: #FDECEC; border-color: #F0B4B4; }

.bmb-volgende-lijst { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.bmb-volgende { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--bmb-line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--bmb-ink); }
.bmb-volgende:hover { border-color: var(--bmb-accent); }
.bmb-volgende-tekst { display: flex; flex-direction: column; min-width: 0; }
.bmb-volgende-datum { font-size: 14px; font-weight: 600; color: var(--bmb-accent); }
.bmb-volgende-titel { font-weight: 600; }

.bmb-detail { margin-bottom: 32px; }
.bmb-feiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; margin: 0 0 20px; }
.bmb-feiten div { background: #fff; border: 1px solid var(--bmb-line); border-radius: 14px; padding: 14px 16px; }
.bmb-feiten dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bmb-muted); }
.bmb-feiten dd { margin: 2px 0 0; font-family: var(--bmb-head); font-weight: 700; font-size: 24px; line-height: 1.15; }
.bmb-schets { margin: 20px 0; padding: 16px; border-radius: 16px; background: var(--bmb-ink); color: var(--bmb-amber); }
.bmb-schets svg { display: block; width: 100%; height: auto; }
.bmb-schets .bmb-start { fill: var(--bmb-accent); stroke: #fff; stroke-width: 4; }
.bmb-schets figcaption { margin-top: 8px; font-size: 14px; color: #C9CDD2; }
.bmb-slot-tekst { color: var(--bmb-muted); }
.bmb-acties { margin-top: 24px; }

.bmb-contact { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--bmb-line); border-radius: 16px; padding: clamp(18px, 3vw, 28px); }
.bmb-contact-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.bmb-contact label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.bmb-contact input[type=text], .bmb-contact input[type=email], .bmb-contact textarea { padding: 12px 14px; border: 1px solid #C9C4B8; border-radius: 10px; background: #FBFAF7; font: inherit; font-weight: 400; }
.bmb-contact fieldset { border: 0; padding: 0; margin: 0; }
.bmb-contact legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.bmb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bmb-chips label { flex-direction: row; align-items: center; gap: 8px; border: 1px solid #C9C4B8; border-radius: 999px; padding: 10px 16px; font-weight: 500; cursor: pointer; }
.bmb-contact button { align-self: flex-start; }
.bmb-honing { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
	.bmb-rit { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "datum info gpx" "datum ploeg gpx"; row-gap: 6px; }
	.bmb-rit-datum { grid-area: datum; }
	.bmb-rit-info { grid-area: info; }
	.bmb-rit .bmb-ploeg { grid-area: ploeg; justify-self: start; min-width: 36px; height: 28px; border-radius: 8px; font-size: 15px; }
	.bmb-rit-gpx { grid-area: gpx; }
	.bmb-gpx-knop { padding: 0 12px; }
}
