/* ============================================================
   Base / reset / typography / utilities
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
h1, h2, h3, h4 { line-height: 1.25; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Focus + screen-reader helpers */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Keeps phone numbers like 03-5257001 on one line (wrapped by main.js) */
.nowrap { white-space: nowrap; }
.skip-link:focus {
  position: fixed; top: 12px; inset-inline-start: 12px;
  width: auto; height: auto; clip: auto; margin: 0;
  z-index: 200; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
}
.site-main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* WordPress core helpers */
.alignleft  { float: left;  margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }

/* Inline SVG icons (assets/icons, see bekol_svg()) */
.bk-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex-shrink: 0; }
.btn .btn-icon { width: 1.1em; height: 1.1em; margin-inline-start: .15em; }
/* arrow-left points forward in RTL; flip it on English (LTR) pages. */
[dir="ltr"] .bk-icon--arrow-left { scale: -1 1; }
