/*
Theme Name: Bliekies
Theme URI: https://bliekies.nl
Author: —
Description: Maatwerk WordPress-theme voor Bliekies. Alle teksten en afbeeldingen zijn aanpasbaar via Advanced Custom Fields. Contactformulier via Contact Form 7. Standplaatsen per dag instelbaar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bliekies
Tags: business, custom-menu, custom-logo, one-column, responsive-layout
*/

:root {
  --bliekies-navy: #001b3d;
  --bliekies-navy-2: #03274f;
  --bliekies-navy-3: #06172c;
  --bliekies-yellow: #ffc21c;
  --bliekies-yellow-2: #e8a900;
  --bliekies-cream: #fff6df;
  --bliekies-white: #ffffff;
  --bliekies-muted: #b9c4d1;
  --bliekies-border: rgba(255, 194, 28, .45);
  --bliekies-footer: #00132d;
}

html {
  scroll-behavior: smooth;
  /*
   * This rule belongs here and not on <body>. On body, while html is set to
   * 'visible', the browser propagates the setting to the viewport and measures a
   * 'fixed' element such as the navbar against the viewport width including the
   * scrollbar. The bar ended up 13px wider than the page and stuck out on the
   * right. On html the measurement stays correct.
   */
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 15%, rgba(30, 81, 131, .28), transparent 34rem),
    var(--bliekies-navy);
  color: var(--bliekies-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    radial-gradient(circle at 20% 10%, #fff 0 1px, transparent 1.2px),
    radial-gradient(circle at 80% 35%, #fff 0 1px, transparent 1.2px),
    radial-gradient(circle at 50% 70%, #fff 0 1px, transparent 1.2px);
  background-size: 90px 90px, 130px 130px, 170px 170px;
  z-index: -1;
}

section {
  scroll-margin-top: var(--bliekies-anchor-offset, 92px);
}

.fw-black {
  font-weight: 900;
}

.text-white-75 {
  color: rgba(255,255,255,.78);
}

.section-space {
  padding: 6rem 0;
}

.bliekies-nav {
  background: rgba(0, 20, 46, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,194,28,.16);
  min-height: 82px;
  transition: box-shadow .2s ease, background-color .2s ease;
}

.bliekies-nav.scrolled {
  background: rgba(0, 15, 35, .98);
  box-shadow: 0 10px 35px rgba(0,0,0,.24);
}

/* --------------------------------------------------------------------------
   Hamburger button: three bars that rotate into a cross when the menu opens.
   Bootstrap sets aria-expanded on the button, so that is what we hook into.
   -------------------------------------------------------------------------- */

.bliekies-toggler {
  border: 1px solid var(--bliekies-yellow);
  border-radius: .5rem;
  padding: .5rem .65rem;
  transition: background-color .2s ease, border-color .2s ease;
}

.bliekies-toggler:hover,
.bliekies-toggler:focus-visible {
  background-color: rgba(255,194,28,.14);
}

.bliekies-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(255,194,28,.35);
}

.bliekies-burger {
  display: block;
  height: 16px;
  position: relative;
  width: 24px;
}

.bliekies-burger span {
  background: var(--bliekies-yellow);
  border-radius: 2px;
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
  /* The bars slide to the middle first and only then rotate. */
  transition:
    top .2s ease .2s,
    transform .2s ease,
    opacity .1s ease .2s;
}

.bliekies-burger span:nth-child(1) { top: 0; }
.bliekies-burger span:nth-child(2) { top: 7px; }
.bliekies-burger span:nth-child(3) { top: 14px; }

/* Open: the top and bottom bar slide to the middle and cross each other. */
.bliekies-toggler[aria-expanded="true"] .bliekies-burger span {
  transition:
    top .2s ease,
    transform .2s ease .2s,
    opacity .1s ease;
}

.bliekies-toggler[aria-expanded="true"] .bliekies-burger span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.bliekies-toggler[aria-expanded="true"] .bliekies-burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.bliekies-toggler[aria-expanded="true"] .bliekies-burger span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .bliekies-burger span,
  .bliekies-toggler[aria-expanded="true"] .bliekies-burger span {
    transition: none;
  }
}

/*
 * The logo is a square with a transparent background. Hence 'contain' and no
 * crop: 'cover' cut off the sides and showed only a strip. The height comes from
 * the ACF field brand_logo_hoogte and sits inline on the <img>, so we
 * deliberately do not set it here — it would lose to the inline style anyway.
 */
.nav-logo {
  object-fit: contain;
  /* On request: a Chrome hint for harder rasterisation of the logo. */
  image-rendering: -webkit-optimize-contrast;
}

.navbar .nav-link {
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  letter-spacing: .055em;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--bliekies-yellow);
}

.btn-bliekies {
  border-radius: .65rem;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-weight: 900;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
}

.btn-warning {
  --bs-btn-color: #051b32;
  --bs-btn-bg: var(--bliekies-yellow);
  --bs-btn-border-color: var(--bliekies-yellow);
  --bs-btn-hover-color: #051b32;
  --bs-btn-hover-bg: #ffd154;
  --bs-btn-hover-border-color: #ffd154;
}

.btn-outline-warning {
  --bs-btn-color: var(--bliekies-yellow);
  --bs-btn-border-color: var(--bliekies-yellow);
  --bs-btn-hover-color: #06172c;
  --bs-btn-hover-bg: var(--bliekies-yellow);
  --bs-btn-hover-border-color: var(--bliekies-yellow);
}

.hero-section {
  min-height: 760px;
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bliekies-border);
  background:
    radial-gradient(circle at 76% 44%, rgba(255,194,28,.14), transparent 25rem),
    linear-gradient(180deg, #001936 0%, #001b3d 100%);
}

/*
 * Confetti: purely decorative, so it must never get in the way of the text.
 * The streamers get z-index 0 and the content z-index 1; without that ::after
 * paints over the text, because it comes after .container in paint order.
 */
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 28px;
  background: var(--bliekies-yellow);
  border-radius: 2px;
  opacity: .8;
  transform: rotate(28deg);
  z-index: 0;
}

.hero-section > .container {
  z-index: 1;
}

.hero-section::before {
  left: 5%;
  top: 21%;
  box-shadow:
    80px 80px 0 -1px var(--bliekies-yellow),
    230px -70px 0 -2px var(--bliekies-yellow),
    360px 120px 0 -2px var(--bliekies-yellow);
}

.hero-section::after {
  right: 5%;
  top: 18%;
  box-shadow:
    -90px 80px 0 -1px var(--bliekies-yellow),
    -220px -70px 0 -2px var(--bliekies-yellow),
    -360px 110px 0 -2px var(--bliekies-yellow);
}

.eyebrow,
.section-kicker {
  color: var(--bliekies-yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .82rem;
}

.hero-section h1 {
  color: var(--bliekies-yellow);
  font-size: clamp(4rem, 9vw, 7.4rem);
  letter-spacing: -.06em;
  line-height: .92;
  text-shadow: 0 5px 0 rgba(0,0,0,.18);
}

.hero-tagline {
  /* At 3.4rem the tagline broke mid-sentence, hence the smaller clamp. */
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.035em;
}

.hero-tagline span {
  color: var(--bliekies-yellow);
}

.hero-copy {
  max-width: 610px;
  color: rgba(255,255,255,.82);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sunburst {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,194,28,.17) 0deg 7deg,
    transparent 7deg 16deg
  );
  filter: blur(.1px);
  opacity: .85;
}

.hero-truck,
.party-truck {
  position: relative;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,194,28,.45);
  box-shadow: 0 28px 55px rgba(0,0,0,.35);
}

/* ---------------------------------------------------------------------------
   Marquee: moving photo strip below the intro
   --------------------------------------------------------------------------- */

.marquee-section {
  border-bottom: 1px solid rgba(255,194,28,.18);
  overflow: hidden;
  padding: 2.5rem 0;
}

.marquee-title {
  color: var(--bliekies-yellow);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  text-align: center;
  text-transform: uppercase;
}

.marquee {
  --marquee-duur: 40s;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  overflow: hidden;
  width: 100%;
}

/*
 * Deliberately margin-right on the tiles rather than gap on the track: with gap
 * the spacing disappears at the end of the series, which makes half the track
 * not quite equal to one set, so the loop jumps a little every round.
 */
.marquee-track {
  animation: bliekies-marquee var(--marquee-duur) linear infinite;
  display: flex;
  width: max-content;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 auto;
  margin-right: 1rem;
}

/* Fixed tile size: portrait and landscape photos then look alike. */
.marquee-photo {
  border: 1px solid rgba(255,194,28,.35);
  border-radius: .9rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  display: block;
  height: 220px;
  object-fit: cover;
  width: 320px;
}

@keyframes bliekies-marquee {
  from { transform: translate3d(0, 0, 0); }
  /* Exactly half: that is where the second, identical set begins. */
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Respects the system setting "reduce motion". */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
  }
}

.usp-strip {
  background: rgba(2, 25, 53, .88);
}

.usp-item {
  gap: 1rem;
}

.usp-icon {
  width: 54px;
  height: 54px;
  border: 1px solid var(--bliekies-border);
  border-radius: 50%;
  color: var(--bliekies-yellow);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  flex: 0 0 auto;
}

.usp-item strong,
.usp-item span {
  display: block;
}

.usp-item strong {
  color: var(--bliekies-yellow);
  text-transform: uppercase;
  font-size: .96rem;
}

.usp-item span {
  color: rgba(255,255,255,.66);
  font-size: .9rem;
}

.section-heading h2,
.contact-panel h2 {
  color: var(--bliekies-yellow);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.025em;
}

.section-heading p {
  color: rgba(255,255,255,.62);
  max-width: 660px;
  margin: .9rem auto 0;
}

.location-card,
.contact-panel,
.booking-steps {
  border: 1px solid var(--bliekies-border);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(6, 43, 82, .9), rgba(0, 23, 52, .95));
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.location-image {
  min-height: 255px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.12);
}

.location-title {
  color: var(--bliekies-yellow);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 900;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.schedule-row strong {
  text-transform: uppercase;
}

.schedule-row span {
  border: 1px solid var(--bliekies-border);
  color: var(--bliekies-yellow);
  border-radius: 100px;
  padding: .3rem .75rem;
  font-size: .85rem;
  white-space: nowrap;
}

.map-placeholder {
  min-height: 260px;
  border-radius: 1rem;
  border: 1px solid var(--bliekies-border);
  background:
    linear-gradient(45deg, rgba(255,194,28,.04) 25%, transparent 25% 75%, rgba(255,194,28,.04) 75%),
    linear-gradient(-45deg, rgba(255,194,28,.04) 25%, transparent 25% 75%, rgba(255,194,28,.04) 75%),
    #071f3a;
  background-size: 34px 34px;
  color: var(--bliekies-yellow);
}

.map-placeholder i {
  font-size: 3rem;
}

.map-placeholder span {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}

.food-card {
  border: 1px solid var(--bliekies-border);
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(4, 34, 67, .86);
  transition: transform .2s ease, box-shadow .2s ease;
}

.food-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
}

.food-card .card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.food-card .card-body {
  padding: 1.5rem;
}

.food-card h3 {
  color: var(--bliekies-yellow);
  text-transform: uppercase;
  font-weight: 900;
}

.food-card p {
  color: rgba(255,255,255,.67);
  margin-bottom: 0;
}

.menu-summary {
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

.menu-summary span {
  color: var(--bliekies-yellow);
  margin: 0 .4rem;
}

.party-section {
  background:
    radial-gradient(circle at 72% 40%, rgba(255,194,28,.12), transparent 24rem),
    #001632;
  border-top: 1px solid rgba(255,194,28,.18);
  border-bottom: 1px solid rgba(255,194,28,.18);
}

.check-list li {
  padding: .33rem 0;
  color: rgba(255,255,255,.82);
}

.check-list i {
  color: var(--bliekies-yellow);
  margin-right: .7rem;
  font-weight: 900;
}

.party-type-card {
  border: 1px solid var(--bliekies-border);
  border-radius: 1rem;
  padding: 1.7rem 1.25rem;
  text-align: center;
  background: rgba(4, 34, 67, .72);
}

.party-type-card i {
  color: var(--bliekies-yellow);
  font-size: 2.3rem;
}

.party-type-card h3 {
  color: var(--bliekies-yellow);
  font-size: 1rem;
  text-transform: uppercase;
  margin-top: 1rem;
  font-weight: 900;
}

.party-type-card p {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Package tiers: the three trophies inside the parties section.
 * ------------------------------------------------------------------------ */

.tiers {
  margin-top: 4rem;
  /*
   * Otherwise the fixed navbar covers the heading on a jump to #pakketten.
   * scroll-margin pushes the anchor below the bar.
   */
  scroll-margin-top: 9rem;
}

.tiers-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.tiers-heading h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.tiers-heading p {
  margin: 0 auto;
  max-width: 46rem;
}

.tier-card {
  background: rgba(4, 34, 67, .72);
  border: 1px solid var(--bliekies-border);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

/*
 * The border takes the colour of the trophy, so bronze, silver and gold can be
 * told apart without paying attention to the icon.
 */
.tier-card {
  --tier-color: var(--bliekies-yellow);
  border-color: color-mix(in srgb, var(--tier-color) 55%, transparent);
}

.tier-bronze {
  --tier-color: #cd7f32;
}

.tier-silver {
  --tier-color: #c9ccd4;
}

.tier-gold {
  --tier-color: #ffc21c;
}

.tier-trophy {
  align-items: center;
  background: color-mix(in srgb, var(--tier-color) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier-color) 45%, transparent);
  border-radius: 50%;
  display: inline-flex;
  height: 4rem;
  justify-content: center;
  margin: 0 auto 1.1rem;
  width: 4rem;
}

/*
 * The trophy sat higher than the centre of the circle. Not because the box was
 * off — that was exactly centred — but because the glyph hangs on the text
 * baseline inside that box: Bootstrap Icons adds vertical-align: -.125em, and
 * the line height of 1.5 gave extra room above and below.
 *
 * With line height 1 and the baseline back at zero, the ink coincides exactly
 * with the box: the glyph runs from the baseline to 1em above it, which is
 * precisely the height of the line. What the flexbox centres is then the trophy
 * itself.
 */
.tier-trophy i {
  color: var(--tier-color);
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  /*
   * The margin from bliekies_icon() is meant for text beside the icon; not here.
   * The 1px on the left corrects the glyph itself: it has slightly more room on
   * its left inside the square than on its right.
   */
  margin: 0 0 0 1px;
}

.tier-trophy i::before {
  display: block;
  line-height: 1;
  vertical-align: baseline;
}

.tier-title {
  color: var(--bliekies-white);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.tier-price {
  color: var(--tier-color);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.tier-text {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/*
 * No frame around it: the three cards above are already outlined, and a fourth
 * line below turned it into a second block instead of a footnote.
 */
.tier-terms {
  /*
   * One icon for four points belongs to the whole block, not to the first line.
   * Hence center and not baseline: it now sits at half the height of the list,
   * which is where the eye expects it.
   */
  align-items: center;
  display: flex;
  gap: .9rem;
  /*
   * The section centres its text, but the small print reads better left-aligned.
   * So the flexbox centres the icon+list pair as a whole, while the lines
   * themselves start on the left.
   */
  justify-content: center;
  margin: 2.25rem 0 0;
  padding: 0;
}

.tier-terms ul {
  margin: 0;
  text-align: left;
}

.tier-terms li {
  color: rgba(255,255,255,.72);
  /* Smaller than the card texts: this is the small print. */
  font-size: .85rem;
  line-height: 1.55;
}

.tier-terms li + li {
  margin-top: .8rem;
}

.tier-terms-icon {
  align-items: center;
  color: var(--bliekies-yellow);
  display: flex;
  flex-shrink: 0;
  font-size: 1.5rem;
  /*
   * line-height 1 makes the box fall exactly around the glyph, so what the
   * flexbox centres is the icon itself and not the air above and below a line of
   * text.
   */
  line-height: 1;
}

.tier-terms-icon i {
  display: block;
  line-height: 1;
  margin: 0;
}

/*
 * A day that deviates from the ordinary schedule this week. Without a marker you
 * cannot see whether an empty day is always empty or was cancelled just now.
 */
.week-schedule-row.is-changed .week-schedule-place {
  color: var(--bliekies-cream);
}

.week-schedule-row.is-changed .week-schedule-time {
  background: rgba(255,194,28,.16);
  border-color: var(--bliekies-yellow);
  color: var(--bliekies-yellow);
}

/*
 * Caption under a time that deviates this week. The yellow outline alone shows
 * that something is different but not what, and a visitor has no way of knowing.
 *
 * It spans the whole row and is right-aligned, so it ends up under the time
 * without widening the time column: that column is sized to its content, and a
 * caption inside it would squeeze the place name on a narrow screen.
 */
.week-schedule-changed {
  color: var(--bliekies-yellow);
  font-size: .72rem;
  grid-column: 1 / -1;
  letter-spacing: .02em;
  line-height: 1.2;
  opacity: .85;
  text-align: right;
}

/*
 * A day that closes precisely this week. Without a mark the row reads as an
 * ordinary day off, in the same grey italics as a day the van never works —
 * while this is exactly the day a visitor needs to notice.
 *
 * Yellow text and not a pill like the times: a pill would sit alone in an
 * otherwise empty row and read as a button you could press. The text stays in
 * the same column as every other empty day, so the week keeps one straight left
 * edge.
 */
.week-schedule-row.is-empty.is-changed .week-schedule-empty {
  color: var(--bliekies-yellow);
  font-style: normal;
  font-weight: 600;
  opacity: 1;
}

/* Browsing through the weeks of the week overview. */

.week-schedule-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.week-schedule-bar .week-schedule-heading {
  margin: 0;
}

.week-schedule-nav {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.week-schedule-nav[hidden] {
  display: none;
}

.week-schedule-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--bliekies-border);
  border-radius: .5rem;
  color: var(--bliekies-yellow);
  cursor: pointer;
  display: flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  transition: background-color .15s ease, border-color .15s ease;
  width: 2rem;
}

.week-schedule-button i {
  margin: 0;
}

.week-schedule-button:hover:not(:disabled),
.week-schedule-button:focus-visible:not(:disabled) {
  background: rgba(255,194,28,.14);
}

.week-schedule-button:disabled {
  cursor: default;
  /*
   * filter and not opacity: the arrows fade along when you switch weeks, and an
   * animation on opacity would override this value for as long as it runs. A
   * disabled arrow would then light up to full strength at the very moment it
   * becomes unusable. filter stacks on top of the animation instead of losing to
   * it.
   */
  filter: opacity(.35);
}

.week-schedule-dates {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 700;
  /* Fixed width: otherwise the arrows shift a little with every week. */
  min-width: 9.5rem;
  text-align: center;
}

.week-schedule-notice {
  align-items: center;
  background: rgba(255,194,28,.10);
  border: 1px solid rgba(255,194,28,.35);
  border-radius: .7rem;
  color: var(--bliekies-cream);
  display: flex;
  font-size: .92rem;
  gap: .6rem;
  margin: 0 0 1rem;
  padding: .6rem .9rem;
}

/*
 * A week with an exception pulses briefly, so it is clear at a glance that this
 * week is not the ordinary one. Twice and short: enough to catch the eye, not so
 * much that it keeps drawing attention while you are reading the table.
 */
.week-schedule-notice.animate__animated {
  --animate-duration: .45s;
  animation-iteration-count: 2;
}

.week-schedule-notice i {
  color: var(--bliekies-yellow);
  flex-shrink: 0;
  font-size: 1.05rem;
  /* line-height 1: the box then falls around the glyph and the flexbox centres
     the icon itself, not the air above and below a line of text. */
  line-height: 1;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .week-schedule-button {
    transition: none;
  }
}

/* On a phone you operate this with your thumb: 2rem is too small to hit. */
@media (max-width: 991.98px) {
  .week-schedule-button {
    height: 2.75rem;
    width: 2.75rem;
  }

  /*
   * The heading and the browse buttons no longer fit side by side here and so
   * fall below each other. With the heading still on the left while the buttons
   * were centred, it read as two separate blocks; now everything sits on the
   * same axis.
   */
  .week-schedule-bar {
    justify-content: center;
  }

  .week-schedule-bar .week-schedule-heading {
    text-align: center;
    width: 100%;
  }

  .week-schedule-nav {
    /* On a line of its own it may spread across the full width. */
    justify-content: center;
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
 * Floating WhatsApp button.
 * ------------------------------------------------------------------------ */

.bliekies-wa {
  bottom: 20px;
  position: fixed;
  right: 20px;
  /* Above the content, below the navbar (which sits at 1030) and modals. */
  z-index: 1020;
}

.bliekies-wa-button {
  align-items: center;
  background: var(--bliekies-yellow);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
  color: var(--bliekies-navy);
  display: flex;
  height: 58px;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease;
  width: 58px;
}

.bliekies-wa-button:hover,
.bliekies-wa-button:focus-visible {
  background: #e8a900;
  color: var(--bliekies-navy);
  transform: scale(1.06);
}

.bliekies-wa-button:focus-visible {
  outline: 3px solid var(--bliekies-yellow);
  outline-offset: 3px;
}

.bliekies-wa-icon {
  display: block;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .bliekies-wa-button {
    transition: none;
  }

  .bliekies-wa-button:hover,
  .bliekies-wa-button:focus-visible {
    transform: none;
  }
}

.booking-steps {
  overflow: hidden;
}

/*
 * No fixed minimum height: with three short steps side by side a fair amount of
 * emptiness was left below the text. The cards now follow their content and the
 * columns are kept equally tall by the grid itself (align-items: stretch).
 */
.step-card {
  padding: 2rem;
  display: flex;
  gap: 1rem;
  border-right: 1px solid rgba(255,194,28,.24);
  height: 100%;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bliekies-yellow);
  color: var(--bliekies-navy-3);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.step-card h3 {
  text-transform: uppercase;
  color: var(--bliekies-yellow);
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: .15rem;
}

.step-card p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-panel {
  position: relative;
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,194,28,.18), transparent 70%);
  pointer-events: none;
}

.contact-direct {
  display: grid;
  gap: .75rem;
}

.contact-direct a,
.site-footer a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.contact-direct a:hover,
.site-footer a:hover {
  color: var(--bliekies-yellow);
}

.contact-direct i {
  color: var(--bliekies-yellow);
  width: 1.55rem;
}

.form-label {
  font-weight: 800;
  font-size: .9rem;
}

.form-control,
.form-select {
  background: rgba(0, 16, 38, .74);
  border-color: rgba(255,194,28,.28);
  color: #fff;
  min-height: 48px;
}

textarea.form-control {
  min-height: 130px;
}

.form-control::placeholder {
  color: rgba(255,255,255,.34);
}

.form-control:focus,
.form-select:focus {
  background: rgba(0, 16, 38, .9);
  color: #fff;
  border-color: var(--bliekies-yellow);
  box-shadow: 0 0 0 .25rem rgba(255,194,28,.12);
}

.form-select {
  color-scheme: dark;
}

.site-footer {
  border-top: 1px solid rgba(255,194,28,.24);
  background: var(--bliekies-footer);
}

/* Height comes from brand_logo_hoogte_footer, inline on the <img>. */
.footer-logo {
  object-fit: contain;
}

.footer-nav {
  display: grid;
  gap: .55rem;
}

.footer-nav a {
  text-transform: uppercase;
  font-weight: 800;
  font-size: .87rem;
}

/* The three footer columns are centred and aligned below each other. */
.footer-columns {
  text-align: center;
}

.footer-columns .footer-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-columns .footer-nav {
  justify-items: center;
}

/* Contact details in the footer: icon before the text, neatly aligned. */
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.footer-contact i {
  color: var(--bliekies-yellow);
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
}

/* Bottom bar with the copyright and the credit line. */
/*
 * The button sits on the footer's divider rather than above it.
 *
 * height: 0 keeps the <p> from taking up any height, so the button lands exactly
 * where the border of .footer-bottom begins; translateY(-50%) then lifts it half
 * way up, so the line would run straight through it. The button's background is
 * the same colour as the footer, so the line stops neatly on either side.
 * padding rather than margin: an empty block with only margins collapses its top
 * and bottom margin, and then the position no longer holds.
 */
.footer-totop {
  height: 0;
  margin: 0;
  padding-top: 3rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.footer-totop-link {
  align-items: center;
  background: var(--bliekies-footer);
  border: 1px solid var(--bliekies-border);
  border-radius: 2rem;
  color: var(--bliekies-yellow);
  display: inline-flex;
  font-size: .85rem;
  font-weight: 700;
  gap: .45rem;
  letter-spacing: .04em;
  padding: .5rem 1.1rem;
  text-transform: uppercase;
  transform: translateY(-50%);
  transition: background-color .15s ease, transform .15s ease;
}

.footer-totop-link:hover,
.footer-totop-link:focus-visible {
  border-color: var(--bliekies-yellow);
  color: var(--bliekies-yellow);
  /* The -50% keeps it on the line; the 2px is the movement on hover. */
  transform: translateY(calc(-50% - 2px));
}

.footer-totop-link i {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .footer-totop-link {
    transition: none;
  }

  .footer-totop-link:hover,
  .footer-totop-link:focus-visible {
    transform: translateY(-50%);
  }
}

.footer-bottom {
  /* No margin: the border belongs exactly where the button sits. */
  margin-top: 0;
  /* 2.75rem: the button overlaps it by half (19px), so the text below still has
     a good 20px of room. */
  padding-top: 2.75rem;
  border-top: 1px solid rgba(255,194,28,.16);
  text-align: center;
}

.footer-copyright {
  margin-bottom: .2rem;
  color: var(--bliekies-yellow);
  font-weight: 700;
  font-size: .95rem;
}

/*
 * The legal line: company details on the left, legal links on the right. Below
 * that, centred, the copyright and the credit.
 */
.footer-legal {
  align-items: center;
  column-gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  row-gap: .5rem;
}

.footer-company {
  margin-bottom: 0;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  letter-spacing: .02em;
}

.footer-legal-links {
  display: flex;
  column-gap: 1.25rem;
  flex-wrap: wrap;
  row-gap: .35rem;
}

.footer-legal-links a {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--bliekies-yellow);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.footer-credit {
  margin-bottom: 0;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  letter-spacing: .02em;
}

/* Consent checkbox below the contact form. */
.bliekies-consent .wpcf7-list-item {
  margin: 0;
}

.bliekies-consent label {
  align-items: flex-start;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  display: flex;
  font-size: .9rem;
  gap: .6rem;
  line-height: 1.45;
}

.bliekies-consent input[type="checkbox"] {
  accent-color: var(--bliekies-yellow);
  flex: 0 0 auto;
  height: 1.1rem;
  margin-top: .1rem;
  width: 1.1rem;
}

/* The link to the privacy statement in the brand colour, not in browser blue. */
.bliekies-consent a {
  color: var(--bliekies-yellow);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.bliekies-consent a:hover,
.bliekies-consent a:focus-visible {
  color: var(--bliekies-yellow-2);
  text-decoration: none;
}

.footer-credit a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--bliekies-yellow);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 4.5rem 0;
  }

  /*
   * The navbar is fixed to the top and is 133px tall here (a 110px logo plus its
   * own spacing). With 8rem of top padding the eyebrow started exactly where the
   * navbar ended, without a millimetre of air in between.
   */
  .hero-section {
    padding-top: 11rem;
  }

  /*
   * The confetti sits at fixed pixel offsets (80/230/360px) that fall beside the
   * text column on a wide screen. As soon as the column takes the full width they
   * end up in the middle of the heading and make it unreadable. So: leave them
   * out.
   */
  .hero-section::before,
  .hero-section::after {
    display: none;
  }

  .hero-visual {
    min-height: auto;
  }

  /*
   * On a wide screen the sunburst sits next to the text and may spread out
   * generously. Once the columns stack, however, its fixed 420px reaches up to
   * 45px into the buttons above, while there is only 48px between the button and
   * the image. So here it follows the size of the image, with a fixed 2rem of
   * overhang all round: those 32px always stay within those 48px, however wide
   * the screen.
   *
   * A little more oval than a circle, but on a sunburst that does not show.
   */
  .sunburst {
    width: calc(100% + 4rem);
    height: calc(100% + 4rem);
  }

  .step-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255,194,28,.24);
  }

  .navbar-collapse {
    padding: 1rem 0 1.25rem;
  }

  /*
   * The button sits 12px from the edge, just like the logo on the left. Optically
   * that looks off: the logo is a circle with its own white space around it, the
   * button is a tight little frame. Half a step outwards straightens that out.
   */
  .bliekies-toggler {
    margin-right: -.375rem;
  }
}

@media (max-width: 575.98px) {
  /*
   * Bootstrap gives .g-5 a 3rem gutter, so the row gets a -24px margin, while
   * .container only has 12px of padding. The row therefore sticks 12px outside
   * the container on both sides. Above 576px the container's automatic margins
   * absorb that, but below it the container is screen-wide and the page can be
   * dragged sideways.
   *
   * The columns are stacked here anyway, so a smaller gutter changes nothing
   * visually: the text still starts at 12px.
   */
  .container > .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  /* Stacked and centred; side by side gets too cramped. */
  .footer-legal {
    flex-direction: column;
    justify-content: center;
    row-gap: .6rem;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-section h1 {
    font-size: 4rem;
  }

  /*
   * "Kwaliteit en service voorop." does not fit on one line on a phone: with
   * 351px available it would have to drop to 1.4rem to fit, and that disappears
   * next to the heading. So here it breaks neatly after "service".
   */
  .hero-tagline {
    font-size: 1.5rem;
  }

  .location-card,
  .contact-panel {
    border-radius: 1rem;
  }

  .schedule-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .party-type-card {
    padding: 1.25rem .85rem;
  }

  .party-type-card p {
    font-size: .82rem;
  }
}

/* ==========================================================================
   WordPress core classes
   Standard classes WordPress and the block editor may emit.
   ========================================================================== */

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.alignnone {
  display: block;
  height: auto;
  margin-bottom: 1rem;
  max-width: 100%;
}

.alignwide,
.alignfull {
  clear: both;
  margin-bottom: 1rem;
  max-width: 100%;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.wp-caption img,
.wp-caption img[class*="wp-image-"] {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid rgba(255,194,28,.24);
}

.wp-caption-text,
.gallery-caption,
.wp-block-image figcaption,
.wp-block-embed figcaption {
  color: rgba(255,255,255,.6);
  font-size: .87rem;
  line-height: 1.5;
  text-align: center;
  margin-top: .65rem;
  margin-bottom: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--bliekies-navy-3);
  border-radius: .5rem;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important;
  clip-path: none;
  color: var(--bliekies-yellow);
  display: block;
  font-size: .95rem;
  font-weight: 800;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.skip-link:focus,
.skip-link:focus-visible {
  background: var(--bliekies-navy-3);
  border: 1px solid var(--bliekies-yellow);
  border-radius: .65rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  color: var(--bliekies-yellow);
  display: block;
  font-weight: 900;
  left: 1rem;
  letter-spacing: .035em;
  outline: 0;
  padding: .85rem 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
  top: 1rem;
  width: auto;
  z-index: 100001;
}

.sticky {
  position: relative;
}

.sticky .entry-title::after {
  content: "★";
  color: var(--bliekies-yellow);
  margin-left: .5rem;
  font-size: .8em;
}

.bypostauthor {
  display: block;
}

img.wp-post-image,
.wp-block-image img,
.entry-content img,
.wp-caption img {
  max-width: 100%;
  height: auto;
}

img.wp-post-image {
  border-radius: 1rem;
  border: 1px solid rgba(255,194,28,.24);
}

.wp-block-image {
  margin-bottom: 1.5rem;
}

.wp-block-image img {
  border-radius: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-item {
  margin: 0;
}

body.admin-bar .bliekies-nav {
  top: 32px;
}

body.admin-bar section {
  scroll-margin-top: var(--bliekies-anchor-offset, 124px);
}

body.admin-bar .skip-link:focus,
body.admin-bar .skip-link:focus-visible {
  top: calc(1rem + 32px);
}

@media (max-width: 782px) {
  body.admin-bar .bliekies-nav {
    top: 46px;
  }

  body.admin-bar section {
    scroll-margin-top: var(--bliekies-anchor-offset, 138px);
  }

  body.admin-bar .skip-link:focus,
  body.admin-bar .skip-link:focus-visible {
    top: calc(1rem + 46px);
  }
}

/* ==========================================================================
   Contact Form 7
   The CF7 tags already carry the Bootstrap classes (form-control / form-select);
   the rules below add to that so the output looks identical to the original
   form.
   ========================================================================== */

.wpcf7 {
  margin: 0;
}

.wpcf7 .wpcf7-form {
  margin: 0;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

.wpcf7 .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-list-item) {
  background: rgba(0, 16, 38, .74);
  border: 1px solid rgba(255,194,28,.28);
  border-radius: .375rem;
  color: #fff;
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 48px;
  padding: .375rem .75rem;
  width: 100%;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.wpcf7 select.wpcf7-form-control {
  color-scheme: dark;
}

.wpcf7 textarea.wpcf7-form-control {
  min-height: 130px;
}

.wpcf7 .wpcf7-form-control::placeholder {
  color: rgba(255,255,255,.34);
}

.wpcf7 .wpcf7-form-control:focus {
  background: rgba(0, 16, 38, .9);
  border-color: var(--bliekies-yellow);
  box-shadow: 0 0 0 .25rem rgba(255,194,28,.12);
  color: #fff;
  outline: 0;
}

.wpcf7 .wpcf7-form-control:disabled,
.wpcf7 .wpcf7-form-control[readonly] {
  opacity: .6;
}

.wpcf7 .wpcf7-submit {
  cursor: pointer;
}

/*
 * Contact Form 7 keeps the submit button disabled until the consent checkbox is
 * ticked. Bootstrap puts pointer-events: none on a disabled .btn, and an element
 * that ignores the pointer cannot show a cursor of its own either — you get the
 * plain arrow of the area behind it, which reads as an ordinary button that
 * simply does nothing.
 *
 * Turning the pointer back on brings the not-allowed cursor back, and that is
 * the whole point: it says the button is out of reach for now. It does not make
 * the button clickable — a disabled form control fires no click, whatever its
 * pointer-events say.
 */
.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  pointer-events: auto;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #ffb3b3;
  display: block;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: .25rem;
}

.wpcf7 .wpcf7-form-control.wpcf7-not-valid {
  border-color: rgba(255, 120, 120, .75);
}

.wpcf7 .wpcf7-response-output {
  background: rgba(0, 16, 38, .6);
  border: 1px solid var(--bliekies-border);
  border-radius: 1rem;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.5;
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
  background: rgba(120, 20, 30, .35);
  border-color: rgba(255, 120, 120, .6);
  color: #ffd7d7;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 .wpcf7-mail-sent-ok {
  background: rgba(20, 90, 60, .35);
  border-color: rgba(90, 220, 160, .55);
  color: #c8f7e2;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted {
  background: rgba(120, 20, 30, .35);
  border-color: rgba(255, 120, 120, .6);
  color: #ffd7d7;
}

.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 .wpcf7-spam-blocked {
  background: rgba(120, 90, 10, .35);
  border-color: var(--bliekies-border);
  color: var(--bliekies-cream);
}

.wpcf7 .wpcf7-spinner {
  background-color: rgba(255, 194, 28, .22);
  margin: 0 1rem;
  vertical-align: middle;
}

.wpcf7 .wpcf7-spinner::before {
  background-color: var(--bliekies-yellow);
}

.wpcf7 .wpcf7-list-item {
  margin: 0 1rem 0 0;
}

.wpcf7 .wpcf7-list-item.first {
  margin-left: 0;
}

.wpcf7 .wpcf7-list-item.last {
  margin-right: 0;
}

.wpcf7 .wpcf7-list-item-label {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-checkbox input,
.wpcf7 .wpcf7-radio input,
.wpcf7 .wpcf7-acceptance input {
  accent-color: var(--bliekies-yellow);
  margin-right: .4rem;
}

.bliekies-contact-form .wpcf7-form label {
  display: block;
  width: 100%;
}

.bliekies-contact-form .form-label {
  margin-bottom: .5rem;
}

.booking-field.d-none {
  display: none !important;
}

/* ==========================================================================
   Locations / week schedule
   ========================================================================== */

.today-badge {
  align-items: center;
  background: rgba(0, 16, 38, .78);
  border: 1px solid var(--bliekies-yellow);
  border-radius: 100px;
  box-shadow: 0 0 0 .35rem rgba(255,194,28,.08), 0 10px 30px rgba(0,0,0,.28);
  color: rgba(255,255,255,.82);
  display: inline-flex;
  flex-wrap: wrap;
  font-size: .95rem;
  gap: .5rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  padding: .7rem 1.35rem;
}

.today-badge i {
  color: var(--bliekies-yellow);
}

.today-badge strong {
  color: var(--bliekies-yellow);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.today-badge span {
  color: rgba(255,255,255,.82);
}

.week-schedule {
  border: 1px solid var(--bliekies-border);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(6, 43, 82, .9), rgba(0, 23, 52, .95));
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  margin-top: 2rem;
  overflow: hidden;
  padding: 1.5rem 1.75rem;
}

.week-schedule-heading {
  color: var(--bliekies-yellow);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .09em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.week-schedule-row {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid transparent;
  border-radius: .5rem;
  column-gap: 1rem;
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  padding: .8rem .75rem;
  row-gap: .35rem;
}

.week-schedule-row:last-child {
  border-bottom: 0;
}

.week-schedule-row.is-today {
  background: rgba(255,194,28,.10);
  border-left-color: var(--bliekies-yellow);
}

.week-schedule-day {
  color: var(--bliekies-white);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.week-schedule-row.is-today .week-schedule-day {
  color: var(--bliekies-yellow);
}

.week-schedule-place {
  align-items: center;
  color: rgba(255,255,255,.82);
  display: flex;
  gap: .75rem;
}

.week-schedule-thumb {
  border: 1px solid rgba(255,194,28,.35);
  border-radius: .5rem;
  flex: 0 0 auto;
  height: 44px;
  object-fit: cover;
  width: 64px;
}

.week-schedule-place a {
  align-items: center;
  color: rgba(255,255,255,.82);
  display: inline-flex;
  font-weight: 700;
  gap: .35rem;
  text-decoration: none;
}

.week-schedule-place a:hover,
.week-schedule-place a:focus-visible {
  color: var(--bliekies-yellow);
}

/* The route link gets a subtle underline, so it is recognisable as a link. */
.week-schedule-maps {
  text-decoration: underline;
  text-decoration-color: rgba(255,194,28,.4);
  text-underline-offset: .22em;
}

.today-maps {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,194,28,.5);
  text-underline-offset: .2em;
}

.today-maps:hover,
.today-maps:focus-visible {
  color: var(--bliekies-yellow);
}

/* The arrow slides along on hover: it shows there is a detail page behind it. */
.week-schedule-arrow {
  font-size: .8em;
  opacity: .6;
  transition: transform .15s ease, opacity .15s ease;
}

.week-schedule-place a:hover .week-schedule-arrow,
.week-schedule-place a:focus-visible .week-schedule-arrow {
  opacity: 1;
  transform: translateX(.2rem);
}

.week-schedule-time {
  border: 1px solid var(--bliekies-border);
  border-radius: 100px;
  color: var(--bliekies-yellow);
  font-size: .85rem;
  justify-self: end;
  padding: .3rem .75rem;
  white-space: nowrap;
}

.week-schedule-empty {
  color: rgba(255,255,255,.45);
  font-style: italic;
}

.week-schedule-row.is-empty .week-schedule-day {
  color: rgba(255,255,255,.55);
}

.location-card + .location-card {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Inner pages (page.php, single.php, archives, 404, search)
   ========================================================================== */

.page-hero {
  border-bottom: 1px solid var(--bliekies-border);
  padding: 11rem 0 3.5rem;
  position: relative;
  background:
    radial-gradient(circle at 76% 44%, rgba(255,194,28,.10), transparent 22rem),
    linear-gradient(180deg, #001936 0%, #001b3d 100%);
}

.page-hero h1 {
  color: var(--bliekies-yellow);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 0;
  text-transform: uppercase;
}

.page-hero p {
  color: rgba(255,255,255,.7);
  margin-bottom: 0;
  margin-top: .9rem;
  max-width: 660px;
}

.entry-content {
  color: rgba(255,255,255,.82);
  font-size: 1.02rem;
  line-height: 1.75;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--bliekies-yellow);
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin-bottom: .75rem;
  margin-top: 2.25rem;
}

.entry-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.entry-content h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  text-transform: uppercase;
}

.entry-content h4 {
  font-size: 1.15rem;
}

.entry-content p {
  margin-bottom: 1.15rem;
}

/*
 * Every link in a text block is yellow and underlined -- except a button. A
 * button carries its own colours, and this rule is more specific than the one
 * Bootstrap puts on .btn, so without the exception the label turned yellow on a
 * yellow background and disappeared altogether.
 */
.entry-content a:not(.btn) {
  color: var(--bliekies-yellow);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.entry-content a:not(.btn):hover {
  color: #ffd154;
}

.entry-content strong,
.entry-content b {
  color: var(--bliekies-white);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

.entry-content li {
  margin-bottom: .4rem;
}

.entry-content li::marker {
  color: var(--bliekies-yellow);
}

.entry-content blockquote {
  background: rgba(4, 34, 67, .55);
  border-left: 4px solid var(--bliekies-yellow);
  border-radius: 0 1rem 1rem 0;
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  margin: 1.75rem 0;
  padding: 1.1rem 1.5rem;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content blockquote cite {
  color: rgba(255,255,255,.55);
  display: block;
  font-size: .88rem;
  font-style: normal;
  margin-top: .6rem;
}

/*
 * A photo in a text block gets a frame; a cut-out illustration does not. The
 * 404 drawing has a transparent background, so a border would draw a box around
 * empty space instead of around the picture.
 */
.entry-content img,
.entry-content figure img {
  border: 1px solid rgba(255,194,28,.24);
  border-radius: 1rem;
  height: auto;
  max-width: 100%;
}

.entry-content .error-404-image img {
  border: 0;
  border-radius: 0;
}

.entry-content figure {
  margin: 1.75rem 0;
}

.entry-content hr {
  background-color: rgba(255,194,28,.24);
  border: 0;
  height: 1px;
  margin: 2.25rem 0;
  opacity: 1;
}

.entry-content code,
.entry-content kbd,
.entry-content samp {
  background: rgba(0, 16, 38, .8);
  border: 1px solid rgba(255,194,28,.22);
  border-radius: .35rem;
  color: var(--bliekies-cream);
  font-size: .9em;
  padding: .1rem .35rem;
}

.entry-content pre {
  background: rgba(0, 16, 38, .8);
  border: 1px solid rgba(255,194,28,.22);
  border-radius: 1rem;
  color: var(--bliekies-cream);
  margin: 1.75rem 0;
  overflow-x: auto;
  padding: 1.1rem 1.35rem;
}

.entry-content pre code {
  background: none;
  border: 0;
  padding: 0;
}

.entry-content table {
  border: 1px solid rgba(255,194,28,.24);
  border-collapse: collapse;
  margin: 1.75rem 0;
  width: 100%;
}

.entry-content th,
.entry-content td {
  border: 1px solid rgba(255,255,255,.12);
  padding: .7rem .9rem;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: rgba(255,194,28,.10);
  color: var(--bliekies-yellow);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .88rem;
  letter-spacing: .05em;
}

.entry-meta {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  margin-bottom: 1.5rem;
}

.entry-meta a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}

.entry-meta a:hover {
  color: var(--bliekies-yellow);
}

.bliekies-breadcrumbs {
  color: rgba(255,255,255,.5);
  font-size: .84rem;
  margin-bottom: 1rem;
}

.bliekies-breadcrumbs ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bliekies-breadcrumbs li {
  align-items: center;
  display: flex;
  gap: .35rem;
}

.bliekies-breadcrumbs li + li::before {
  color: var(--bliekies-yellow);
  content: "/";
  font-weight: 800;
}

.bliekies-breadcrumbs a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}

.bliekies-breadcrumbs a:hover {
  color: var(--bliekies-yellow);
}

.bliekies-breadcrumbs [aria-current="page"] {
  color: var(--bliekies-yellow);
}

.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 3rem;
}

.pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.page-numbers {
  background: rgba(0, 16, 38, .74);
  border: 1px solid rgba(255,194,28,.28);
  border-radius: 100px;
  color: rgba(255,255,255,.82);
  display: inline-block;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  min-width: 2.6rem;
  padding: .65rem .95rem;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a.page-numbers:hover {
  border-color: var(--bliekies-yellow);
  color: var(--bliekies-yellow);
}

.page-numbers.current {
  background: var(--bliekies-yellow);
  border-color: var(--bliekies-yellow);
  color: var(--bliekies-navy-3);
}

.page-numbers.dots {
  background: none;
  border-color: transparent;
  color: rgba(255,255,255,.45);
}

.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.post-navigation a {
  color: var(--bliekies-yellow);
  text-decoration: none;
  font-weight: 800;
}

.post-navigation a:hover {
  color: #ffd154;
}

.sp-archive-card {
  background: rgba(4, 34, 67, .86);
  border: 1px solid var(--bliekies-border);
  border-radius: 1.1rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sp-archive-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  transform: translateY(-5px);
}

.sp-archive-card .card-img-top,
.sp-archive-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.sp-archive-card .card-body {
  padding: 1.5rem;
}

.sp-archive-card h2,
.sp-archive-card h3 {
  color: var(--bliekies-yellow);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sp-archive-card h2 a,
.sp-archive-card h3 a {
  color: inherit;
  text-decoration: none;
}

.sp-archive-card h2 a:hover,
.sp-archive-card h3 a:hover {
  color: #ffd154;
}

.sp-archive-card p {
  color: rgba(255,255,255,.67);
  margin-bottom: 0;
}

.sp-archive-card .schedule-row:last-child {
  border-bottom: 0;
}

.search-form {
  max-width: 520px;
}

.search-form .input-group,
.entry-content .input-group {
  border: 1px solid rgba(255,194,28,.28);
  border-radius: .65rem;
  overflow: hidden;
}

.search-form .form-control,
.search-form .wpcf7-form-control {
  background: rgba(0, 16, 38, .74);
  border: 0;
  border-radius: 0;
  color: #fff;
}

.search-form .form-control:focus {
  background: rgba(0, 16, 38, .9);
  box-shadow: none;
  color: #fff;
}

.search-form .btn {
  border-radius: 0;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.search-form label {
  margin-bottom: 0;
  width: 100%;
}

.comment-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.comment-list ol.children {
  list-style: none;
  margin-top: 1.25rem;
  padding-left: 1.5rem;
}

.comment-list .comment-body,
.comment-list .pingback {
  background: rgba(4, 34, 67, .72);
  border: 1px solid rgba(255,194,28,.24);
  border-radius: 1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.comment-list .comment-author,
.comment-list .fn {
  color: var(--bliekies-yellow);
  font-style: normal;
  font-weight: 800;
}

.comment-list .comment-metadata,
.comment-list .comment-metadata a {
  color: rgba(255,255,255,.5);
  font-size: .84rem;
  text-decoration: none;
}

.comment-list .comment-metadata a:hover {
  color: var(--bliekies-yellow);
}

.comment-list .reply a {
  color: var(--bliekies-yellow);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.comment-list .avatar {
  border-radius: 50%;
  margin-right: .75rem;
}

.comment-respond .comment-reply-title {
  color: var(--bliekies-yellow);
  font-weight: 900;
  text-transform: uppercase;
}

/*
 * The illustration on the 404 page. Capped rather than full width: at the width
 * of the text column the drawing takes over the page, while it is there to
 * soften a dead end, not to be the page itself.
 */
/*
 * The 404 has little to say, so its block sits in the middle of the page instead
 * of against the left edge of a wide container. Capped at 34rem: centred text
 * only reads well over a short line, because every line starts somewhere else
 * and the eye has to find that spot again each time.
 */
.error-404-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 34rem;
  text-align: center;
}

.error-404-image {
  margin: 0 auto 2rem;
  max-width: 420px;
}

.error-404-image img {
  height: auto;
  width: 100%;
}

/* ==========================================================================
   Responsive additions for the newer parts
   ========================================================================== */

@media (max-width: 991.98px) {
  .page-hero {
    padding: 9rem 0 3rem;
  }

  .week-schedule {
    padding: 1.25rem 1.25rem;
  }

  .week-schedule-row {
    grid-template-columns: 7rem 1fr auto;
  }
}

@media (max-width: 575.98px) {
  .page-hero {
    padding: 10rem 0 2.5rem;
  }

  /* On mobile the bar spans the full width; centred then looks calmer. */
  .today-badge {
    align-items: center;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    text-align: center;
    width: 100%;
  }

  .week-schedule {
    border-radius: 1rem;
    padding: 1.1rem 1rem;
  }

  /*
   * On mobile the day name goes on a line of its own, with the place and the
   * time side by side below it. That saves a line per day and keeps the time
   * with the location it belongs to.
   */
  .week-schedule-row {
    grid-template-columns: 1fr auto;
    padding: .75rem .6rem;
  }

  .week-schedule-day {
    grid-column: 1 / -1;
  }

  /* min-width:0 lets a long place name shrink instead of pushing the time out. */
  .week-schedule-place {
    min-width: 0;
  }

  /*
   * When the place name breaks across two lines, an icon inside an inline-flex
   * becomes a separate item next to the whole text block and floats in the middle
   * of the row. Letting it run inline simply puts it after the last word.
   */
  .week-schedule-place a {
    display: inline;
    min-width: 0;
  }

  .week-schedule-place .week-schedule-arrow {
    margin-left: .3rem;
  }

  .week-schedule-time {
    align-self: center;
    justify-self: end;
  }

  .sp-archive-card {
    border-radius: 1rem;
  }

  .sp-archive-card .card-body {
    padding: 1.15rem;
  }

  .entry-content pre {
    border-radius: .75rem;
    padding: .9rem 1rem;
  }

  .entry-content table {
    display: block;
    overflow-x: auto;
  }

  .comment-list .comment-body,
  .comment-list .pingback {
    border-radius: .85rem;
    padding: 1rem 1.1rem;
  }
}

/* ---------------------------------------------------------------------------
 * WOW.js and animate.css.
 *
 * animate.css defaults the duration to one second. That is on the slow side for
 * a section scrolling into view, and downright annoying for switching weeks:
 * there you are waiting on a click you made yourself. The duration can be set
 * per case because animate.css works with the custom property
 * --animate-duration.
 * ------------------------------------------------------------------------ */

.wow {
  --animate-duration: .7s;
}

/*
 * The hero fades a touch more slowly than the sections below it: it is the first
 * thing on the page and there is nothing above it to keep pace with.
 */
.hero-section.animate__animated {
  --animate-duration: .9s;
}

.week-schedule-week,
.week-schedule-heading [data-week-heading],
.week-schedule-dates,
.week-schedule-button {
  --animate-duration: .28s;
}

/*
 * The heading and the date label fade along with the table. Their box has to
 * keep its place while the text is invisible, otherwise the bar would collapse
 * for a moment and the whole schedule would jump up and back down.
 */
.week-schedule-heading [data-week-heading],
.week-schedule-dates {
  display: inline-block;
}

