/*
Theme Name: Weramda
Theme URI: https://weramda.org
Author: Weramda
Description: Contour van poker sportivo door Limburg, elke woensdag, met het kantoor in Maastricht.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weramda
Tags: travel, events
*/

@font-face {
  font-family: "Petrona";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/petrona-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Petrona";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/petrona-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/albert-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/albert-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/albert-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/albert-sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --laken: #101814;
  --vilt: #1a2620;
  --krijt: #e7efe4;
  --nevel: #b7c6b8;
  --koper: #e0a15a;
  --salie: #8fbfa4;
  --sein: #f0a090;
  --rand: #8aa394;
  --nerf: #24302a;
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-padding-top: 8.5rem;
  background: var(--laken);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--laken);
  color: var(--krijt);
  font-family: "Albert Sans", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1,
h2,
h3 {
  font-family: "Petrona", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--krijt);
  margin: 0 0 0.6rem;
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

a {
  color: var(--salie);
}

a:hover {
  color: var(--koper);
}

button,
input,
select,
textarea {
  font-family: "Albert Sans", sans-serif;
  font-size: 1rem;
}

button {
  min-height: 36px;
  min-width: 36px;
  padding: 0.45rem 0.9rem;
  background: var(--koper);
  color: var(--laken);
  border: 1px solid var(--rand);
  cursor: pointer;
}

button[aria-pressed="true"] {
  background: var(--salie);
  color: var(--laken);
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  padding: 0.4rem 0.6rem;
  background: var(--laken);
  color: var(--krijt);
  border: 1px solid var(--rand);
}

label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--krijt);
}

.stempel {
  font-family: "Albert Sans", sans-serif;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

/* Plakkende kop: enige plakkende laag, zodat ankers niet onder de balk schuiven. */
.latei {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--vilt);
  border-bottom: 1px solid var(--rand);
}

.latei-binnen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  width: min(72rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.55rem 0;
}

.leeftijd {
  flex: 1 1 100%;
  margin: 0;
  color: var(--krijt);
  background: var(--laken);
  border: 1px solid var(--rand);
  padding: 0.35rem 0.6rem;
}

.merk {
  font-family: "Petrona", Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--krijt);
  text-decoration: none;
}

.bel {
  margin-left: auto;
  color: var(--koper);
  text-decoration: none;
}

.menu-knop {
  background: var(--vilt);
  color: var(--krijt);
}

.omloop {
  display: none;
  flex: 1 1 100%;
  gap: 0.4rem 1rem;
  padding: 0.4rem 0 0.7rem;
  margin: 0;
  list-style: none;
}

.latei.is-open .omloop {
  display: flex;
  flex-direction: column;
}

.trede a {
  color: var(--krijt);
  text-decoration: none;
  display: inline-block;
  min-height: 36px;
  line-height: 36px;
}

.overslaan {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.overslaan:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  background: var(--koper);
  color: var(--laken);
  padding: 0.4rem 0.7rem;
}

.onzichtbaar {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

.aanleg {
  width: min(72rem, calc(100% - 1.5rem));
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.25rem 0 3rem;
}

.etappe {
  margin: 0 0 1.75rem;
}

figure.kader {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: 0;
  overflow: hidden;
}

figure.kader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.kader-held {
  aspect-ratio: 16 / 9;
}

.kader-halte {
  aspect-ratio: 14 / 9;
}

.kader-kaart {
  aspect-ratio: 3 / 2;
}

.tafelblad {
  background: var(--vilt);
  border: 1px solid var(--rand);
  padding: 1rem 1.1rem;
}

.mergelstreep {
  border: 0;
  border-top: 1px solid var(--nerf);
  margin: 1.4rem 0;
}

.vloerstrook {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vloerstrook .tafelblad {
  flex: 1 1 14rem;
}

.servetregel {
  border-left: 3px solid var(--koper);
  padding: 0.2rem 0 0.2rem 0.8rem;
  color: var(--krijt);
}

.haltelog {
  list-style: none;
  padding: 0;
}

.haltelog li {
  border-bottom: 1px solid var(--nerf);
  padding: 0.8rem 0;
}

.stilte {
  color: var(--sein);
}

.zoekkwijt {
  min-height: 40vh;
}

/* Koekstrook over de volle breedte onderaan: enige vaste laag, boven de tekst en onder de kop. */
.plint[data-koek] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  max-height: 42vh;
  padding: 0.55rem 0.8rem;
  background: var(--vilt);
  color: var(--krijt);
  border-top: 1px solid var(--rand);
}

.plint[data-koek] p {
  flex: 1 1 14rem;
  margin: 0;
  color: var(--nevel);
  font-size: 0.95rem;
}

.voet {
  background: var(--vilt);
  border-top: 1px solid var(--rand);
  padding: 1.2rem 0 5.5rem;
  color: var(--nevel);
}

.voet .aanleg {
  padding-bottom: 0;
}

.voet a {
  color: var(--salie);
}

.cijferrij {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 0.4rem 0 0;
}

.schakelaars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

@media (min-width: 960px) {
  .leeftijd {
    flex: 1 1 auto;
    order: 3;
  }

  .menu-knop {
    display: none;
  }

  .omloop {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    order: 2;
    padding: 0;
  }

  .bel {
    order: 4;
  }
}

@media (max-width: 420px) {
  .plint[data-koek] {
    padding: 0.4rem 0.55rem;
    gap: 0.35rem;
  }

  .plint[data-koek] p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .latei-binnen {
    width: min(72rem, calc(100% - 1rem));
  }

  .aanleg {
    width: min(72rem, calc(100% - 1rem));
  }
}
