/* ================================================================
   BK Ireland Template — template.css
   Design: "Still Water" — a calm, light turquoise meditation palette.
   Soft aqua surfaces with a deep-teal accent and a gold "point of light".
   Dark indigo retained for footer / inner page-header bands.
   ================================================================ */

/* ----------------------------------------------------------------
   1. Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bk-base:        #FBF9F6;   /* warm paper */
  --bk-surface:     #FFFFFF;

  /* Turquoise accents */
  --bk-teal:        #138278;   /* turquoise (primary accent, links) */
  --bk-teal-soft:   #36ABA0;   /* softened turquoise for buttons */
  --bk-teal-dk:     #0E635B;   /* deep teal for hover / accent text */
  --bk-teal-lt:     #E2F3F0;   /* pale aqua tint (chips, halos) */
  --bk-gold:        #F2C879;   /* first-light gold (the point) */

  /* Soft turquoise hero */
  --bk-aqua-1:      #F1FAF9;   /* top: near-white mint */
  --bk-aqua-2:      #D8F0EC;   /* mid: soft aqua */
  --bk-aqua-3:      #BFE6E0;   /* base: light turquoise */
  --bk-cool-muted:  #5E7370;   /* cool secondary text on the hero */

  /* Ink */
  --bk-slate:       #1A1C33;   /* indigo night */
  --bk-slate-2:     #2A2D4A;   /* lifted indigo */
  --bk-muted:       #6B6F8A;   /* indigo-grey text */
  --bk-border:      #ECE7E0;

  /* Type */
  --bk-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --bk-font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --bk-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --bk-radius-card: 1rem;
  --bk-radius-btn:  0.5rem;
  --bk-shadow-card: 0 1px 2px rgba(26, 28, 51, 0.04), 0 8px 28px rgba(26, 28, 51, 0.06);
  --bk-transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --bk-section-py:  clamp(4rem, 9vw, 8rem);
}

/* ----------------------------------------------------------------
   2. Base Reset & Typography
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bk-base);
  color: var(--bk-slate);
  font-family: var(--bk-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Sticky footer: fill the viewport so .bk-main can grow and keep the footer pinned to the bottom on short pages */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bk-font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bk-slate);
  margin-top: 0;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.4rem,  2.4vw, 1.85rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.0625rem; font-family: var(--bk-font-heading); font-weight: 600; }
h6 { font-size: 0.9375rem; font-family: var(--bk-font-heading); font-weight: 600; }

a {
  color: var(--bk-teal);
  text-decoration: none;
  transition: color var(--bk-transition);
}
a:hover { color: var(--bk-teal-dk); }

img { max-width: 100%; height: auto; }
p   { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Reusable eyebrow with luminous point */
.bk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--bk-font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bk-teal);
  margin-bottom: 1.25rem;
}
.bk-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bk-gold);
  box-shadow: 0 0 10px 1px rgba(242, 200, 121, 0.9);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   3. Bootstrap Overrides — Buttons & Forms
   ---------------------------------------------------------------- */
.btn {
  font-family: var(--bk-font-heading);
  font-weight: 600;
  border-radius: var(--bk-radius-btn);
  padding: 0.7rem 1.6rem;
  transition: background-color var(--bk-transition), border-color var(--bk-transition), transform var(--bk-transition), box-shadow var(--bk-transition);
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

.btn-primary {
  --bs-btn-bg: var(--bk-teal-soft);
  --bs-btn-border-color: var(--bk-teal-soft);
  --bs-btn-hover-bg: var(--bk-teal);
  --bs-btn-hover-border-color: var(--bk-teal);
  --bs-btn-active-bg: var(--bk-teal);
  --bs-btn-active-border-color: var(--bk-teal);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-focus-shadow-rgb: 54, 171, 160;
  box-shadow: 0 6px 18px rgba(54, 171, 160, 0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(54, 171, 160, 0.38); }

.btn-outline-light {
  --bs-btn-border-color: rgba(255, 255, 255, 0.45);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.8);
  --bs-btn-hover-color: #fff;
}

.form-control,
.form-select {
  border-radius: var(--bk-radius-btn);
  border-color: var(--bk-border);
  background-color: var(--bk-surface);
  color: var(--bk-slate);
  padding: 0.65rem 0.9rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--bk-teal);
  box-shadow: 0 0 0 0.2rem rgba(54, 171, 160, 0.20);
}

/* ----------------------------------------------------------------
   4. Topbar
   ---------------------------------------------------------------- */
.bk-topbar {
  background-color: var(--bk-slate);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
}
.bk-topbar a        { color: rgba(255, 255, 255, 0.7); }
.bk-topbar a:hover  { color: #fff; }

/* ----------------------------------------------------------------
   5. Header & Navigation
   ---------------------------------------------------------------- */
.bk-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--bk-surface);
  box-shadow: 0 1px 0 var(--bk-border);
  transition: background-color var(--bk-transition), box-shadow var(--bk-transition);
}
/* Home: header overlays the hero instead of sitting in flow above it */
.bk-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  box-shadow: none;
}
.bk-header--transparent.scrolled {
  position: fixed;
  background-color: rgba(246, 253, 252, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 4px 24px rgba(26, 28, 51, 0.10);
}

/* Logo */
.bk-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.bk-logo img { height: 44px; width: auto; flex-shrink: 0; }
/* The home hero is light, so the header keeps the original coloured logo. */
.bk-logo__name {
  font-family: var(--bk-font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--bk-slate);
  transition: color var(--bk-transition);
  white-space: nowrap;
}
.bk-header--transparent .bk-logo__name          { color: var(--bk-slate); }
.bk-header--transparent.scrolled .bk-logo__name { color: var(--bk-slate); }

/* Desktop nav (Joomla mod_menu markup) */
.bk-nav { gap: 0.15rem; }
.bk-nav .mod-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.bk-nav .nav-item { position: relative; }

/* Top-level: links AND parent headings styled identically */
.bk-nav > .mod-menu > .nav-item > a,
.bk-nav > .mod-menu > .nav-item > .mod-menu__heading {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--bk-font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--bk-slate);
  border-radius: var(--bk-radius-btn);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--bk-transition), background-color var(--bk-transition);
}
.bk-nav > .mod-menu > .nav-item > a:hover,
.bk-nav > .mod-menu > .nav-item:hover > .mod-menu__heading {
  color: var(--bk-teal);
  background-color: var(--bk-teal-lt);
}

/* Parent caret */
.bk-nav > .mod-menu > .nav-item.parent > a::after,
.bk-nav > .mod-menu > .nav-item.parent > .mod-menu__heading::after {
  content: '';
  display: inline-block;
  width: 0.4em; height: 0.4em;
  margin-left: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  opacity: 0.6;
}

/* Active indicator */
.bk-nav > .mod-menu > .nav-item.active > a,
.bk-nav > .mod-menu > .nav-item.current > a { color: var(--bk-teal); }

/* Transparent header sits over the light hero — keep nav dark */
.bk-header--transparent .bk-nav > .mod-menu > .nav-item > a,
.bk-header--transparent .bk-nav > .mod-menu > .nav-item > .mod-menu__heading { color: var(--bk-slate); }
.bk-header--transparent .bk-nav > .mod-menu > .nav-item > a:hover,
.bk-header--transparent .bk-nav > .mod-menu > .nav-item:hover > .mod-menu__heading {
  color: var(--bk-teal-dk);
  background-color: var(--bk-teal-lt);
}

/* Dropdowns */
.bk-nav .mod-menu__sub {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 230px;
  background-color: var(--bk-surface);
  border-radius: var(--bk-radius-card);
  box-shadow: var(--bk-shadow-card), 0 0 0 1px var(--bk-border);
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--bk-transition), transform var(--bk-transition), visibility var(--bk-transition);
  z-index: 100;
}
.bk-nav .nav-item:hover > .mod-menu__sub,
.bk-nav .nav-item:focus-within > .mod-menu__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bk-nav .mod-menu__sub .nav-item > a,
.bk-nav .mod-menu__sub .nav-item > .mod-menu__heading {
  display: block;
  padding: 0.55rem 0.85rem;
  font-family: var(--bk-font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--bk-slate);
  border-radius: 0.4rem;
  white-space: nowrap;
  transition: color var(--bk-transition), background-color var(--bk-transition);
}
.bk-nav .mod-menu__sub .nav-item > a:hover {
  color: var(--bk-teal);
  background-color: var(--bk-teal-lt);
}
/* Third level — fly out to the right */
.bk-nav .mod-menu__sub .mod-menu__sub {
  top: -0.5rem;
  left: calc(100% + 0.4rem);
}

/* Hamburger */
.bk-burger {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.bk-burger__bar {
  display: block;
  width: 24px; height: 2px;
  background-color: var(--bk-slate);
  border-radius: 2px;
  transition: background-color var(--bk-transition);
}
.bk-header--transparent .bk-burger__bar { background-color: var(--bk-slate); }

/* Mobile offcanvas */
.bk-offcanvas {
  background-color: var(--bk-slate);
  width: 300px !important;
}
.bk-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
.bk-offcanvas__title {
  font-family: var(--bk-font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
}
.bk-offcanvas .mod-menu,
.bk-offcanvas .mod-menu__sub {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bk-offcanvas .nav-item > a,
.bk-offcanvas .nav-item > .mod-menu__heading {
  display: block;
  padding: 0.7rem 0.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--bk-font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--bk-transition);
}
.bk-offcanvas .nav-item > .mod-menu__heading {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 1.25rem;
  border-bottom: none;
}
.bk-offcanvas .nav-item > a:hover { color: var(--bk-gold); }
.bk-offcanvas .mod-menu__sub { padding-left: 0.75rem; }

/* ----------------------------------------------------------------
   6. Hero Zone — the point of light
   ---------------------------------------------------------------- */
.bk-hero {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 92vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 95% at 50% 118%, #A6E0D8 0%, transparent 58%),
    linear-gradient(180deg, var(--bk-aqua-1) 0%, var(--bk-aqua-2) 52%, var(--bk-aqua-3) 100%);
}
/* first light rising from the horizon — the signature point of light */
.bk-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: min(150vw, 1150px);
  height: min(150vw, 1150px);
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle, rgba(242, 200, 121, 0.40) 0%, rgba(242, 200, 121, 0) 54%),
    radial-gradient(circle, rgba(120, 206, 194, 0.50) 0%, rgba(120, 206, 194, 0) 72%);
  pointer-events: none;
}
/* faint shimmer — teal + gold motes */
.bk-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 18% 22%, rgba(19, 130, 120, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 72% 16%, rgba(242, 200, 121, 0.40), transparent),
    radial-gradient(1.5px 1.5px at 86% 40%, rgba(19, 130, 120, 0.20), transparent),
    radial-gradient(1.5px 1.5px at 34% 30%, rgba(242, 200, 121, 0.30), transparent);
  pointer-events: none;
}
/* The hero module is output inside a Joomla module wrapper (.mod-custom) that
   becomes a flex child of .bk-hero (display:flex). Without an explicit width it
   shrink-wraps to its content and pins to the left, trapping the inner
   .container-xl. Force it to fill so that container centres and aligns with the
   header / feature containers like the rest of the page. */
.bk-hero > * { width: 100%; }
.bk-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(5rem, 12vh, 8rem) 0;   /* horizontal gutters come from the inner .container-xl */
}
.bk-hero__content { max-width: 680px; }
.bk-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--bk-font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bk-teal-dk);
  margin-bottom: 1.75rem;
}
.bk-hero__eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bk-gold);
  box-shadow: 0 0 12px 2px rgba(242, 200, 121, 0.9);
}
.bk-hero__title {
  font-family: var(--bk-font-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--bk-slate);
  margin-bottom: 1.75rem;
}
.bk-hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--bk-cool-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.bk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
/* Secondary hero button — the generic outline-light is invisible on the light
   hero, so give it a dark outline here (the dark prefooter keeps its own). */
.bk-hero .btn-outline-light {
  --bs-btn-border-color: rgba(26, 28, 51, 0.22);
  --bs-btn-color: var(--bk-slate);
  --bs-btn-hover-bg: rgba(26, 28, 51, 0.05);
  --bs-btn-hover-border-color: var(--bk-slate);
  --bs-btn-hover-color: var(--bk-slate);
}
@media (max-width: 575.98px) {
  .bk-hero__actions { flex-direction: column; align-items: stretch; }
  .bk-hero__actions .btn { width: 100%; text-align: center; }
}

/* ----------------------------------------------------------------
   7. Feature Strip
   ---------------------------------------------------------------- */
.bk-feature {
  background-color: var(--bk-base);
  padding: var(--bk-section-py) 0;
}
/* Robust grid that does not depend on Joomla module chrome / Bootstrap cols.
   Each feature module renders as a direct child of .row — style it as a card. */
.bk-feature .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  margin: 0;
}
@media (max-width: 991.98px) { .bk-feature .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px)  { .bk-feature .row { grid-template-columns: 1fr; } }

.bk-feature .row > *,
.bk-feature-card {
  background-color: var(--bk-surface);
  border-radius: var(--bk-radius-card);
  border: 1px solid var(--bk-border);
  padding: 2.25rem 1.75rem;
  height: 100%;
  position: relative;
  transition: transform var(--bk-transition), box-shadow var(--bk-transition), border-color var(--bk-transition);
}
.bk-feature .row > *:hover,
.bk-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bk-shadow-card);
  border-color: transparent;
}
.bk-feature .row > *:hover .bk-feature-card__icon,
.bk-feature-card:hover .bk-feature-card__icon {
  background: var(--bk-teal);
  color: #fff;
}
.bk-feature-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: var(--bk-teal-lt);
  color: var(--bk-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--bk-transition), color var(--bk-transition);
}
.bk-feature-card__icon svg { width: 28px; height: 28px; }
.bk-feature .row > * h3,
.bk-feature-card h3 {
  font-family: var(--bk-font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--bk-slate);
}
.bk-feature .row > * p,
.bk-feature-card p { color: var(--bk-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ----------------------------------------------------------------
   8. Page Header Band (inner pages)
   ---------------------------------------------------------------- */
.bk-page-header {
  position: relative;
  background:
    radial-gradient(110% 130% at 82% 0%, #CFEDE7 0%, transparent 60%),
    linear-gradient(180deg, var(--bk-aqua-2) 0%, var(--bk-aqua-3) 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  overflow: hidden;
}
.bk-page-header::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -40%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,200,121,0.35) 0%, rgba(54,171,160,0.0) 65%);
  pointer-events: none;
}
.bk-page-header__title { position: relative; color: var(--bk-slate); margin-bottom: 0.75rem; }

.bk-page-header .breadcrumb {
  position: relative;
  margin-bottom: 0;
  --bs-breadcrumb-divider-color: rgba(26, 28, 51, 0.35);
}
.bk-page-header .breadcrumb-item,
.bk-page-header .breadcrumb-item a { color: var(--bk-cool-muted); font-size: 0.875rem; }
.bk-page-header .breadcrumb-item a:hover { color: var(--bk-teal-dk); }
.bk-page-header .breadcrumb-item.active { color: rgba(26, 28, 51, 0.45); }

/* ----------------------------------------------------------------
   9. Main Content
   ---------------------------------------------------------------- */
.bk-main           { padding: clamp(3.5rem, 7vw, 6rem) 0; flex: 1 0 auto; }
.bk-component      { width: 100%; }
.bk-content-top    { margin-bottom: 2.5rem; }
.bk-content-bottom { margin-top: 2.5rem; }

/* Homepage welcome block (migrated from live site) */
.bk-welcome-wrap   { margin-bottom: 2.5rem; }
.bk-welcome        { max-width: 820px; margin: 0 auto; }
.bk-welcome__head  { text-align: center; margin-bottom: 2.25rem; }
.bk-welcome__head .bk-eyebrow { margin-bottom: 1rem; }
.bk-welcome__title {
  font-family: var(--bk-font-display);
  color: var(--bk-slate);
  margin-bottom: 0.5rem;
}
.bk-welcome__subtitle {
  font-family: var(--bk-font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--bk-teal-dk);
  margin-bottom: 0;
}
.bk-welcome__media {
  margin: 0 0 2.25rem;
  border-radius: var(--bk-radius-card);
  overflow: hidden;
  box-shadow: var(--bk-shadow-card);
  background: var(--bk-slate);
}
.bk-welcome__media video {
  display: block;
  width: 100%;
  height: auto;
}
.bk-welcome__prose p { color: var(--bk-muted); margin-bottom: 1.25rem; }
.bk-welcome__prose p:last-child { margin-bottom: 0; }
.bk-welcome__note {
  font-weight: 600;
  color: var(--bk-slate) !important;
  border-left: 3px solid var(--bk-gold);
  padding-left: 1.15rem;
}

/* ----------------------------------------------------------------
   10. Article Layout
   ---------------------------------------------------------------- */
.bk-article { width: 100%; }
.bk-article__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.bk-chip {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  font-family: var(--bk-font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  background-color: var(--bk-teal-lt);
  color: var(--bk-teal-dk);
}
.bk-chip--muted { background-color: var(--bk-base); color: var(--bk-muted); border: 1px solid var(--bk-border); }
.bk-article__image { width: 100%; border-radius: var(--bk-radius-card); margin-bottom: 2rem; }
.bk-article__body { font-size: 1.1rem; line-height: 1.8; color: #33364f; max-width: 760px; }
.bk-article__body h2,
.bk-article__body h3 { margin-top: 2.25rem; margin-bottom: 0.85rem; clear: both; }
.bk-article__body img { max-width: 100%; height: auto; }
/* Inline content figures (e.g. About Us article thumbnails) */
.bk-article__body .bk-figure {
  max-width: 260px;
  width: 100%;
  border-radius: var(--bk-radius-card);
  box-shadow: var(--bk-shadow-sm, 0 4px 14px rgba(20, 40, 60, 0.12));
  margin: 0.35rem 0 1rem;
}
.bk-article__body .bk-figure--left { float: left; margin-right: 1.5rem; }
.bk-article__body .bk-figure--right { float: right; margin-left: 1.5rem; }
@media (max-width: 575.98px) {
  .bk-article__body .bk-figure { float: none; display: block; margin: 1rem auto; }
}
.bk-article__body blockquote {
  border-left: 3px solid var(--bk-teal);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.75rem 0;
  font-family: var(--bk-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--bk-slate);
}

/* ----------------------------------------------------------------
   11. Events Listing (Category Blog Cards)
   ---------------------------------------------------------------- */
.bk-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 767.98px) { .bk-blog-grid { grid-template-columns: 1fr; } }

.bk-blog-card {
  background-color: var(--bk-surface);
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius-card);
  overflow: hidden;
  display: flex;
  transition: box-shadow var(--bk-transition), transform var(--bk-transition), border-color var(--bk-transition);
  text-decoration: none;
  color: inherit;
}
.bk-blog-card:hover {
  box-shadow: var(--bk-shadow-card);
  transform: translateY(-4px);
  border-color: transparent;
  color: inherit;
}
@media (max-width: 575.98px) { .bk-blog-card { flex-direction: column; } }

.bk-blog-card__image { width: 42%; flex-shrink: 0; object-fit: cover; }
@media (max-width: 575.98px) { .bk-blog-card__image { width: 100%; height: 180px; } }

.bk-blog-card__body { padding: 1.6rem; flex: 1; }
.bk-date-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(160deg, var(--bk-teal) 0%, var(--bk-teal-dk) 100%);
  color: #fff;
  border-radius: 0.65rem;
  padding: 0.45rem 0.8rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  min-width: 3.6rem;
}
.bk-date-block__day { font-family: var(--bk-font-heading); font-weight: 700; font-size: 1.6rem; }
.bk-date-block__month { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.bk-blog-card__title { font-family: var(--bk-font-display); font-weight: 500; font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--bk-slate); }
.bk-blog-card:hover .bk-blog-card__title { color: var(--bk-teal); }
.bk-blog-card__intro {
  color: var(--bk-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.bk-pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; list-style: none; padding: 0; }
.bk-pagination li a,
.bk-pagination li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 2.4rem; padding: 0 0.6rem;
  border-radius: var(--bk-radius-btn);
  font-family: var(--bk-font-heading); font-size: 0.9rem; font-weight: 500;
  color: var(--bk-slate); background-color: var(--bk-surface);
  border: 1px solid var(--bk-border); text-decoration: none;
  transition: background-color var(--bk-transition), border-color var(--bk-transition), color var(--bk-transition);
}
.bk-pagination li a:hover { background-color: var(--bk-teal-lt); border-color: var(--bk-teal); color: var(--bk-teal-dk); }
.bk-pagination .active a,
.bk-pagination li.active span { background-color: var(--bk-teal); color: #fff; border-color: var(--bk-teal); }

/* ----------------------------------------------------------------
   12. Event Detail Info Box
   ---------------------------------------------------------------- */
.bk-event-info {
  background-color: var(--bk-teal-lt);
  border-radius: var(--bk-radius-card);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.bk-event-info__item { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; color: var(--bk-slate); margin-bottom: 0.6rem; }
.bk-event-info__item:last-child { margin-bottom: 0; }
.bk-event-info__label { font-family: var(--bk-font-heading); font-weight: 600; min-width: 5rem; flex-shrink: 0; }

/* ----------------------------------------------------------------
   12b. Events list (com_ems) — ems-card layout
   Rendered by our template override at
   html/com_ems/forthcomingeventslist/events.php (clean BEM markup).
   A featured hero for the soonest event + a single-column card list.
   ---------------------------------------------------------------- */
.events-page { width: 100%; }
.events-page .page-intro { color: var(--bk-muted); margin-bottom: 2rem; }
.events-page .ems-page-heading { margin-bottom: 1.5rem; }
.ems-empty { color: var(--bk-muted); }

/* Shared card shell */
.ems-card {
  position: relative;
  background-color: var(--bk-surface);
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius-card);
  overflow: hidden;
}

/* Media: image, branded "point of light" placeholder, and date chip */
.ems-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(150deg, #0E635B 0%, #0A4A44 55%, #137A70 100%);
}
.ems-card__media-fallback { position: absolute; inset: 0; }
.ems-card__media-fallback::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 50% 118%, rgba(242, 200, 121, 0.42), transparent 60%),
    radial-gradient(circle at 50% 52%, rgba(173, 234, 223, 0.40), transparent 55%);
}
.ems-card__media-fallback::after {
  content: "";
  position: absolute; left: 50%; top: 52%;
  width: 12px; height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bk-gold);
  box-shadow: 0 0 24px 6px rgba(242, 200, 121, 0.7);
}
.ems-card__media img {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ems-card__media img.is-broken { display: none; }

.ems-card__date {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 3rem; padding: 0.35rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 0.6rem;
  box-shadow: 0 6px 16px rgba(26, 28, 51, 0.18);
  line-height: 1;
}
.ems-card__date-day { font-family: var(--bk-font-display); font-size: 1.35rem; font-weight: 500; color: var(--bk-slate); }
.ems-card__date-month { font-family: var(--bk-font-heading); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bk-teal-dk); margin-top: 0.12rem; }

/* Body */
.ems-card__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }

.ems-card__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ems-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--bk-font-heading); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.ems-chip svg { width: 0.85em; height: 0.85em; flex-shrink: 0; }
.ems-chip--featured { background-color: var(--bk-teal-lt); color: var(--bk-teal-dk); }
.ems-chip--online { background-color: #E7EFEA; color: #2E6B4F; }

.ems-card__title { font-family: var(--bk-font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin: 0; }
.ems-card__title a { color: var(--bk-slate); text-decoration: none; transition: color var(--bk-transition); }
.ems-card__title a:hover { color: var(--bk-teal-dk); }

.ems-card__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.ems-card__meta li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--bk-muted); font-size: 0.92rem; line-height: 1.45; }
.ems-card__meta svg { width: 1.05em; height: 1.05em; flex-shrink: 0; margin-top: 0.12rem; color: var(--bk-teal); }
.ems-card__meta .location { font-style: normal; }
.ems-meta-strong { color: var(--bk-slate); font-weight: 600; }

.ems-card__desc { color: var(--bk-muted); font-size: 0.95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ems-card__actions { margin-top: 0.35rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ems-card__cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background-color: var(--bk-teal-soft); color: #fff;
  font-family: var(--bk-font-heading); font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1.25rem; border-radius: 100px; text-decoration: none;
  transition: background-color var(--bk-transition), transform var(--bk-transition);
}
.ems-card__cta svg { width: 1em; height: 1em; transition: transform var(--bk-transition); }
.ems-card__cta:hover { background-color: var(--bk-teal); color: #fff; transform: translateY(-1px); }
.ems-card__cta:hover svg { transform: translateX(3px); }
.ems-card__cta--ghost { background-color: transparent; color: var(--bk-slate); border: 1px solid var(--bk-border); }
.ems-card__cta--ghost:hover { background-color: var(--bk-base); color: var(--bk-teal-dk); border-color: var(--bk-teal); }

/* Regular list rows — media left, body right */
.ems-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.ems-list .ems-card {
  display: grid; grid-template-columns: 240px 1fr; align-items: stretch;
  transition: box-shadow var(--bk-transition), transform var(--bk-transition), border-color var(--bk-transition);
}
.ems-list .ems-card:hover { box-shadow: 0 16px 40px -18px rgba(26, 28, 51, 0.28); border-color: var(--bk-teal-lt); transform: translateY(-2px); }
.ems-list .ems-card__media { min-height: 160px; }
.ems-list .ems-card__media img { position: absolute; inset: 0; }

/* Featured hero — the soonest event */
.ems-featured { margin-bottom: 1.5rem; }
.ems-card--featured { position: relative; display: flex; align-items: stretch; min-height: 440px; border: none; }
.ems-card--featured .ems-card__media { position: absolute; inset: 0; z-index: 0; }
.ems-card--featured .ems-card__media img { position: absolute; inset: 0; }
.ems-card--featured::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20, 22, 43, 0.10) 0%, rgba(20, 22, 43, 0.55) 55%, rgba(20, 22, 43, 0.92) 100%);
}
.ems-card--featured .ems-card__body {
  position: relative; z-index: 2;
  justify-content: flex-end;
  padding: 2.5rem; color: #fff; width: 100%; max-width: 720px;
}
.ems-card--featured .ems-card__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #FBF7F0; }
.ems-card--featured .ems-card__title a { color: #FBF7F0; }
.ems-card--featured .ems-card__title a:hover { color: var(--bk-gold); }
.ems-card--featured .ems-card__meta li { color: rgba(255, 255, 255, 0.82); }
.ems-card--featured .ems-card__meta svg { color: var(--bk-gold); }
.ems-card--featured .ems-meta-strong { color: #fff; }
.ems-card--featured .ems-card__desc { color: rgba(255, 255, 255, 0.78); -webkit-line-clamp: 3; max-width: 580px; }
.ems-card--featured .ems-card__date { top: 1.25rem; right: 1.25rem; left: auto; }
.ems-card--featured .ems-card__cta { background-color: #fff; color: var(--bk-slate); }
.ems-card--featured .ems-card__cta:hover { background-color: var(--bk-gold); color: var(--bk-slate); }
.ems-card--featured .ems-chip--featured { background-color: rgba(242, 200, 121, 0.92); color: var(--bk-slate); }

@media (max-width: 600px) {
  .ems-list .ems-card { grid-template-columns: 1fr; }
  .ems-list .ems-card__media { aspect-ratio: 16 / 9; min-height: 0; }
  .ems-card--featured { min-height: 380px; }
  .ems-card--featured .ems-card__body { padding: 1.75rem; }
}

/* ----------------------------------------------------------------
   12c. Event detail page (com_ems registration view)
   Rendered by our override at html/com_ems/registration/default.php.
   Two-column layout: event image + speaker/tips, and the booking form.
   ---------------------------------------------------------------- */
.bk-event { width: 100%; }

/* Optional page heading (only if show_page_heading is on) */
.bk-event-heading { margin-bottom: 1.5rem; }
.bk-event-heading__title { color: var(--bk-slate); }
.bk-event-heading__subtitle { color: var(--bk-muted); font-size: 1.15rem; margin-top: 0.5rem; }

/* Two columns: a main content card + a sticky booking sidebar */
.bk-event__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .bk-event__layout { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Main content card — banner image on top, description below */
.bk-event__main {
  background-color: var(--bk-surface);
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius-card);
  box-shadow: var(--bk-shadow-card);
  overflow: hidden;
}
.bk-event__banner-img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.bk-event__main-body { padding: 2rem; }
@media (max-width: 575.98px) { .bk-event__main-body { padding: 1.5rem; } }

/* Intro = the event's rich-text description (title, subtitle, flyer image) */
.bk-event__intro img { border-radius: var(--bk-radius-card); margin: 1.25rem 0; }
.bk-event__intro h1, .bk-event__intro h2, .bk-event__intro h3 { color: var(--bk-slate); }
.bk-event__intro p:last-child { margin-bottom: 0; }

/* Speaker block (inside the main card, below the description) */
.bk-event__speaker {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background-color: var(--bk-teal-lt);
  border-radius: var(--bk-radius-card);
  padding: 1.25rem;
  margin-top: 1.75rem;
}
.bk-event__speaker-photo {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
.bk-event__speaker-body { min-width: 0; font-size: 0.95rem; color: var(--bk-slate); }
.bk-event__speaker-name { font-family: var(--bk-font-heading); margin-bottom: 0.35rem; }
.bk-event__speaker-label { font-weight: 700; color: var(--bk-teal-dk); margin-right: 0.4rem; }

/* Tips fallback (when no speaker) */
.bk-event__tips {
  background-color: var(--bk-teal-lt);
  border-radius: var(--bk-radius-card);
  padding: 1.5rem;
  margin-top: 1.75rem;
}
.bk-event__tips-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--bk-font-display);
  font-size: 1.4rem; font-weight: 500;
  margin-bottom: 1rem; color: var(--bk-slate);
}
.bk-event__tips-title svg { width: 1.4rem; height: 1.4rem; color: var(--bk-gold); flex-shrink: 0; }
.bk-event__tips-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.bk-event__tips-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--bk-slate); font-size: 0.95rem; }
.bk-event__tips-list svg { width: 1.05rem; height: 1.05rem; color: var(--bk-teal); flex-shrink: 0; margin-top: 0.2rem; }

/* Sidebar — sticky on desktop, stacks on mobile */
.bk-event__aside { position: sticky; top: 1.5rem; }
@media (max-width: 900px) { .bk-event__aside { position: static; } }

.bk-event-card {
  background-color: var(--bk-surface);
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius-card);
  padding: 1.5rem;
}
.bk-event-card + .bk-event-card { margin-top: 1.25rem; }

/* Summary rows (date / location / cost) — stacked with hairline dividers */
.bk-event__row { display: flex; gap: 0.8rem; align-items: flex-start; }
.bk-event__summary .bk-event__row + .bk-event__row {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--bk-border);
}
.bk-event__row > svg { width: 1.3rem; height: 1.3rem; color: var(--bk-teal); flex-shrink: 0; margin-top: 0.1rem; }
.bk-event__row-body { min-width: 0; }
.bk-event__row-label {
  display: block;
  font-family: var(--bk-font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bk-teal-dk);
  margin-bottom: 0.3rem;
}
.bk-event__row-text { color: var(--bk-slate); font-size: 0.95rem; }
.bk-event__watch-link { display: inline-block; font-weight: 600; color: var(--bk-teal); text-decoration: underline; }
.bk-event__watch-link:hover { color: var(--bk-teal-dk); }

/* Date radio list */
.bk-event__date-option {
  display: block;
  padding: 0.4rem 0;
  color: var(--bk-slate);
  font-size: 0.95rem;
  cursor: pointer;
}
.bk-event__date-option input { margin-right: 0.5rem; accent-color: var(--bk-teal); }

/* Form fields */
.bk-event__form .field { margin-bottom: 0.85rem; }
.bk-event__form .field > label {
  display: block;
  font-family: var(--bk-font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--bk-slate);
  margin-bottom: 0.3rem;
}
.bk-event__form .field > label .star { color: var(--bk-teal); }
.bk-event__check { display: flex; align-items: flex-start; gap: 0.5rem; }
.bk-event__check .form-check-label { font-size: 0.9rem; color: var(--bk-muted); }
.bk-event__submit-wrap { margin-top: 1.1rem; }
.bk-event__submit { width: 100%; }

/* Data protection note — soft aqua callout (echoes the reference page) */
.bk-event__form .dataProtection {
  font-size: 0.82rem; color: var(--bk-muted);
  background-color: var(--bk-teal-lt);
  border-radius: var(--bk-radius-btn);
  padding: 0.85rem 1rem; margin: 1rem 0;
}
.bk-event__form .dataProtection p { margin: 0; }
.bk-event__form .dataProtection img { float: left; margin-right: 0.6rem; }
.bk-event__form .dataProtection .badge { background-color: var(--bk-surface); color: var(--bk-teal-dk); font-weight: 600; }

/* AJAX success / error states + calendar select */
.bk-event__success-title { font-family: var(--bk-font-display); color: var(--bk-teal-dk); text-align: center; margin: 0.5rem 0 1rem; }
.bk-event__form-msg-title { font-family: var(--bk-font-heading); color: var(--bk-teal-dk); margin-bottom: 0.5rem; }
.bk-event__form-msg { color: var(--bk-muted); font-size: 0.95rem; }
.bk-event__calendar-select { margin-top: 1rem; width: 100%; }

/* ----------------------------------------------------------------
   13. Contact Form
   ---------------------------------------------------------------- */
.bk-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 767.98px) { .bk-contact { grid-template-columns: 1fr; gap: 2rem; } }
.bk-contact__form label { font-family: var(--bk-font-heading); font-weight: 500; margin-bottom: 0.4rem; color: var(--bk-slate); display: block; }
.bk-contact__form .btn-primary { width: 100%; padding: 0.85rem; font-size: 1rem; }
.bk-contact__info { color: var(--bk-muted); font-size: 0.95rem; line-height: 1.8; }
.bk-contact__info h3 { color: var(--bk-slate); margin-bottom: 1rem; }
.bk-contact__info p { margin-bottom: 0.5rem; }

/* ----------------------------------------------------------------
   14. Prefooter — call to action
   ---------------------------------------------------------------- */
.bk-prefooter {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(242,200,121,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #1A1C33 0%, #241F3A 100%);
  padding: var(--bk-section-py) 0;
  color: #fff;
  text-align: center;
}
.bk-prefooter h2, .bk-prefooter h3 { color: #FBF7F0; }
.bk-prefooter p { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; }
.bk-prefooter > .container-xl > p { max-width: 560px; margin: 0 auto 1.75rem; }

/* ----------------------------------------------------------------
   15. Footer
   ---------------------------------------------------------------- */
.bk-footer { background-color: var(--bk-slate); color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }
.bk-footer h4, .bk-footer h5 {
  font-family: var(--bk-font-heading);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem;
}
.bk-footer a       { color: rgba(255, 255, 255, 0.6); }
.bk-footer a:hover { color: var(--bk-gold); }
.bk-footer ul      { list-style: none; padding: 0; margin: 0; }
.bk-footer ul li   { margin-bottom: 0.5rem; }
.bk-footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}
.bk-footer__site-link { color: rgba(255, 255, 255, 0.6); }

/* Social icon buttons (Facebook / X) — gold "point of light" on hover */
.bk-footer__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bk-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  transition: background-color var(--bk-transition), color var(--bk-transition), transform var(--bk-transition);
}
.bk-footer__social a:hover {
  background-color: var(--bk-gold);
  color: var(--bk-slate);
  transform: translateY(-2px);
}
.bk-footer__social svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

/* ----------------------------------------------------------------
   16. Error & Offline pages
   ---------------------------------------------------------------- */
.bk-error-page, .bk-offline-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 2rem;
  background:
    radial-gradient(90% 90% at 50% 110%, rgba(242,200,121,0.16) 0%, transparent 55%),
    linear-gradient(180deg, #14162B 0%, #1A1C33 100%);
}
.bk-error-wrap  { text-align: center; max-width: 480px; width: 100%; }
.bk-error-code  { font-family: var(--bk-font-display); font-size: clamp(4.5rem, 13vw, 8rem); font-weight: 300; color: var(--bk-gold); line-height: 1; margin-bottom: 0.5rem; }
.bk-error-title { color: #FBF7F0; margin-bottom: 1rem; }
.bk-error-msg   { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.bk-offline-form { text-align: left; margin-top: 1.5rem; }

/* ----------------------------------------------------------------
   17. Debug
   ---------------------------------------------------------------- */
.bk-debug { padding: 1rem; background: #f4f2ee; border-top: 2px solid var(--bk-border); }

/* ----------------------------------------------------------------
   18. Motion preferences
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
