/* BC GO! – sitestijl */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  --red: #d22624;
  --red-dark: #a91b1a;
  --ink: #1c1c1e;
  --ink-2: #4a4a50;
  --muted: #74747b;
  --line: #e6e4e1;
  --bg: #f6f4f1;
  --card: #ffffff;
  --radius: 10px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: .005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font: 700 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin: 0 0 .6rem; }
.eyebrow a { text-decoration: none; }

/* knoppen */
.btn { display: inline-flex; align-items: center; gap: .4em; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .6em 1.3em; font: 700 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* header */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 104px; height: auto; display: block; }
.brand-text { font: 700 1.6rem/1 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.search { display: flex; align-items: center; background: var(--bg); border-radius: 999px; padding: 0 6px 0 16px; border: 1px solid var(--line); }
.search input { border: 0; background: transparent; font: inherit; font-size: .95rem; padding: .55em 0; width: 230px; outline: none; color: var(--ink); }
.search button { border: 0; background: none; color: var(--ink-2); padding: 8px; cursor: pointer; display: flex; }
.search:focus-within { border-color: var(--red); }
.nav-toggle { display: none; }
.search-mobile { display: none; }

.main-nav { background: var(--red); }
.main-nav > ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0 auto; }
.main-nav li { position: relative; }
.main-nav > ul > li > a, .main-nav .sub-toggle { display: flex; align-items: center; gap: 6px; padding: 0 16px; height: 50px; color: #fff; text-decoration: none; font: 600 1.1rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; background: none; border: 0; cursor: pointer; }
.main-nav > ul > li:first-child > a { padding-left: 0; }
.main-nav > ul > li > a:hover, .main-nav .sub-toggle:hover, .main-nav li.active > a, .main-nav li.active > .sub-toggle { background: rgba(0,0,0,.14); }
.main-nav > ul > li:first-child > a:hover, .main-nav > ul > li.active:first-child > a { background: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.main-nav .sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.16); display: none; }
.main-nav .sub a { display: block; padding: 8px 18px; color: var(--ink); text-decoration: none; font-size: 1rem; }
.main-nav .sub a:hover { background: var(--bg); color: var(--red); }
.main-nav li.open > .sub { display: block; }
@media (hover: hover) and (min-width: 901px) { .main-nav li.has-sub:hover > .sub { display: block; } }

/* indeling */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 32px; padding-bottom: 56px; }

/* kaarten */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.09); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 16 / 10; background: #e9e6e2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.no-img { position: absolute; inset: 0; background: var(--red) url(../img/bcgo-logo.png) center / 42% no-repeat; background-blend-mode: multiply; opacity: .9; }
.flag { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font: 700 .75rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 4px; }
.meta .flag { position: static; }
.card-body { padding: 16px 18px 20px; }
.card-body time { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.card-body h2, .card-body h3 { margin: 0 0 .35em; }
.card-link:hover h2, .card-link:hover h3 { color: var(--red); }
.card-body p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.card-small h3 { font-size: 1.15rem; }
.card-middle p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.card-small p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.home-lead .card-link { display: grid; grid-template-columns: 1.4fr 1fr; }
.home-lead .card-img { aspect-ratio: auto; min-height: 340px; }
.home-lead .card-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; border-left: 6px solid var(--red); }
.home-lead h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.grid { display: grid; gap: 20px; margin-top: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.list-head + .grid { margin-top: 0; }

.section-title { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 40px; }
.news-list { list-style: none; margin: 0 0 24px; padding: 0; background: var(--card); border-radius: var(--radius); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 20px; color: var(--ink); text-decoration: none; }
.news-list a:hover span { color: var(--red); }
.news-list time { color: var(--muted); font-size: .9rem; padding-top: 2px; }
.news-list span { font-weight: 600; }

.list-head { margin-bottom: 24px; }
.list-head h1 { margin-bottom: .2em; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.more-link { margin-top: 24px; }

/* artikel / pagina */
.article { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.hero { margin: 0; max-height: 480px; overflow: hidden; background: #e9e6e2; }
.hero img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.article-inner { padding: 32px clamp(20px, 5vw, 56px) 40px; max-width: 820px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.meta .cat { font: 700 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.lead { font-size: 1.2rem; font-weight: 600; color: var(--ink-2); }
.lead:empty { display: none; }
.rich { overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0; }
.rich h2 { margin-top: 1.4em; font-size: 1.6rem; }
.rich h3 { margin-top: 1.2em; }
.rich img { border-radius: 6px; }
.rich table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .97rem; display: block; overflow-x: auto; }
.rich td, .rich th { border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
.rich td p, .rich th p { margin: 0; }
.rich blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--red); color: var(--ink-2); font-style: italic; }
.rich ul, .rich ol { padding-left: 1.3em; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.back { margin-top: 32px; }
.back a { text-decoration: none; font-weight: 600; }

/* foto's */
.album-embed { margin-top: 40px; }
.album-embed h2 { margin-bottom: .2em; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.photos-big { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.photos a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #e9e6e2; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.photos a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(12,12,14,.94); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 4px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; cursor: pointer; padding: 10px 20px; line-height: 1; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* zijbalk */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-block { background: var(--card); border-radius: var(--radius); padding: 22px; }
.side-block h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; }
.cta { background: var(--ink); color: #fff; }
.cta h3 { color: #fff; font-size: 1.7rem; }
.cta p { color: #d9d8d6; margin: 0 0 14px; }
.cta p:has(> a:only-child) { margin: 0 0 10px; }
.cta p > a:only-child { display: block; text-align: center; background: var(--red); color: #fff; border-radius: 999px; padding: .65em 1em; font: 700 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; }
.cta p > a:only-child:hover { background: #fff; color: var(--red); }
.cta a { color: #fff; }
.sponsors { display: flex; flex-direction: column; gap: 14px; }
.sponsors h3 { margin: 0; }
.sponsors a, .sponsors span { display: block; }
.sponsors img { display: block; width: 100%; border-radius: 6px; }
.social-link { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.social-link:hover { color: var(--red); }

/* footer */
.site-footer { background: var(--ink); color: #bdbcb9; padding: 36px 0; font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-logo { filter: brightness(0) invert(1); width: 240px; opacity: .85; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 auto 0 0; }
.footer-links a, .copy a { color: #fff; text-decoration: none; }
.footer-links a:hover, .copy a:hover { text-decoration: underline; }
.copy { margin: 0; }

/* formulieren */
.search-big { max-width: 560px; margin-bottom: 24px; padding: 4px; }
.search-big input { width: 100%; font-size: 1.05rem; padding-left: 8px; }
.login { background: var(--card); border-radius: var(--radius); padding: 36px; max-width: 420px; }
.login label { display: block; font-weight: 600; margin-bottom: 14px; }
.login input { display: block; width: 100%; margin-top: 4px; font: inherit; padding: .6em .8em; border: 1px solid var(--line); border-radius: 8px; }
.login input:focus { outline: 2px solid var(--red); border-color: transparent; }
.error { background: #fdecec; color: var(--red-dark); padding: 10px 14px; border-radius: 8px; }
.notfound { background: var(--card); border-radius: var(--radius); }

/* responsief */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header-row { min-height: 72px; gap: 12px; }
  .brand img { width: 78px; }
  .brand-text { font-size: 1.2rem; }
  .search { display: none; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; padding: 8px 20px 16px; }
  .main-nav > ul > li > a, .main-nav .sub-toggle { padding: 0; width: 100%; height: 46px; justify-content: space-between; }
  .main-nav > ul > li > a:hover, .main-nav .sub-toggle:hover { background: none; }
  .main-nav .sub { position: static; box-shadow: none; border-radius: 8px; margin-bottom: 8px; }
  .main-nav .search-mobile { display: block; padding-top: 8px; }
  .search-mobile .search { display: flex; background: #fff; }
  .search-mobile input { width: 100%; }
  .home-lead .card-link { grid-template-columns: 1fr; }
  .home-lead .card-img { min-height: 0; aspect-ratio: 16/10; }
  .home-lead .card-body { border-left: 0; border-top: 6px solid var(--red); padding: 22px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand-text { display: none; }
  .layout { padding-top: 16px; gap: 20px; }
  .grid { gap: 14px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 1fr; gap: 2px; }
  .article-inner { padding: 22px 18px 28px; }
  .footer-logo { width: 200px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
