/* ==========================================================================
   MNZ Ptuj — Domov  ·  brand layer on top of Bootstrap 5.3
   Bootstrap handles layout (grid, navbar, cards, buttons, spacing utilities).
   This file only carries what Bootstrap can't express: the Oswald/Barlow
   fonts, the navy/red/green palette, the photo-slot gradients, and the
   standings/fixtures specifics. Loaded after Bootstrap so it wins.
   ========================================================================== */

:root {
  --navy: #0b2e63;
  --navy-deep: #07214a;
  --red: #d81e34;
  --green: #16864a;
  --paper: #f5f4ef;

  /* retune Bootstrap's body font + selection to the brand */
  --bs-body-font-family: "Barlow", sans-serif;
  --bs-body-color: #14181f;
}
::selection {
  background: var(--red);
  color: #fff;
}
body {
  background: var(--paper);
}

/* --- Loading splash (JS-only; hidden with JS off) ------------------------ */
.preloader {
  display: none;
}
.js .preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--navy);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}
html.fonts-ready .preloader {
  opacity: 0;
  visibility: hidden;
}
.preloader img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  animation: mnzPulse 1.6s ease-in-out infinite;
}
.preloader__bar {
  position: relative;
  width: 148px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.preloader__bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 42%;
  border-radius: 3px;
  background: var(--red);
  animation: mnzLoad 1.15s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}
@keyframes mnzLoad {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(360%);
  }
}
@keyframes mnzPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preloader img {
    animation: none;
  }
  .preloader__bar::after {
    animation: none;
    width: 100%;
  }
}

/* --- Page (edge-to-edge, full-bleed bands) ------------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand-card {
  width: 100%;
  background: var(--paper);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.page-content {
  flex: 1 0 auto;
}

/* Keep content columns centered while navy bands run full-bleed */
.section-wrap,
.utilbar__inner,
.brand-header .container-fluid,
.footer__inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

/* --- Utility bar -------------------------------------------------------- */
.utilbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
}
.utilbar__name {
  letter-spacing: 0.06em;
}
.utilbar a {
  color: inherit;
  text-decoration: none;
}
.utilbar a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer__addr a {
  color: inherit;
  text-decoration: none;
}
.footer__addr a:hover {
  color: #fff;
  text-decoration: underline;
}
/* --- Header / navbar ----------------------------------------------------- */
.brand-header {
  background: var(--navy);
  box-shadow: 0 6px 20px -8px rgba(2, 10, 30, 0.55);
}

.brand__logo {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.brand__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: #fff;
}
.brand__sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 3px;
}

.brand-header .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 9px;
  border-radius: 6px;
}
.brand-header .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.brand-header .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}
.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

/* Open / focused toggle: stay white + subtle light pill (never Bootstrap's dark default) */
.brand-header .nav-link.show,
.brand-header .nav-link.dropdown-toggle:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdowns — navy panel that stays within the header's design */
.brand-header .dropdown-menu {
  background: #103a73;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 6px;
  margin-top: 8px;
  box-shadow: 0 16px 38px -16px rgba(2, 10, 30, 0.6);
}
.brand-header .dropdown-item {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  padding: 8px 12px;
}
.brand-header .dropdown-item:hover,
.brand-header .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Brand buttons */
.btn-cta {
  background: var(--red);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 11px 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta:hover {
  background: #c01829;
  color: #fff;
}
.btn-light-brand {
  background: #fff;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 11px 18px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.btn-light-brand:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(216, 30, 52, 0.6);
  transform: translateY(-1px);
}
.chev {
  font-size: 15px;
}

/* --- Photo slots (real images layered under the existing scrims) --------- */
.feature,
.ncard__media,
.scard {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Hero feature -------------------------------------------------------- */
.feature {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 440px;
  /* Photo layers over the gradient placeholder; if the photo is missing,
     the gradient shows through as a fallback. */
  background-image:
    var(--photo, none),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      transparent 2px 11px
    ),
    linear-gradient(150deg, #1a4a8f 0%, #07214a 75%);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -22px rgba(2, 10, 30, 0.7);
}
/* Mirror the button's red hover state so the whole card reads as clickable */
.feature:hover .btn-light-brand {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(216, 30, 52, 0.6);
}
.feature__slot {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.feature__scrim {
  position: absolute;
  inset: 0;
  /* Two layers: a clean bed under the text (bottom-anchored), plus a soft
     left-side wash so the headline reads while the action photo stays visible. */
  background:
    linear-gradient(
      to top,
      rgba(4, 18, 42, 0.95) 0%,
      rgba(4, 18, 42, 0.78) 22%,
      rgba(4, 18, 42, 0.18) 52%,
      transparent 72%
    ),
    linear-gradient(
      105deg,
      rgba(4, 18, 42, 0.5) 0%,
      rgba(4, 18, 42, 0.12) 38%,
      transparent 60%
    );
}
.feature__body {
  position: relative;
  padding: 34px 34px 32px;
}
.feature__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 90%;
}
.feature__excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 560px;
}
.tag-red {
  background: var(--red);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 4px;
}

/* --- Standings ----------------------------------------------------------- */
.standings {
  position: relative;
  background: var(--navy);
  border-radius: 14px;
  padding: 18px 18px 8px;
  color: #fff;
  overflow: hidden;
}
/* Thin brand accent bar across the top — gives the flat navy card some life */
.standings::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff5a6e);
}
.standings__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.standings__season {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-family: monospace;
  letter-spacing: 0.08em;
}
.standings__cols,
.standings__row {
  display: grid;
  grid-template-columns: 22px 1fr 38px 40px;
  align-items: center;
}
.standings__cols {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 0 6px;
  margin-top: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.standings__cols abbr {
  text-decoration: none;
  cursor: help;
  color: inherit;
}
.standings__row {
  /* bleed the stripe / highlight full-width past the card padding */
  margin-inline: -18px;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}
.standings__row:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.03);
}
/* League leader — subtle gold-tinted bed + accent stripe on the left edge */
.standings__row--leader {
  background: rgba(255, 197, 84, 0.1);
  box-shadow: inset 3px 0 0 #ffc554;
}
.standings__pos {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.standings__pos--up {
  color: #3fd17a;
}
.standings__pos--down {
  color: #ff6b7a;
}
.standings__club {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.standings__o {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}
.standings__pts {
  text-align: right;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}
.standings__more {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Oswald", sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 12px 0 10px;
}
.standings__more:hover {
  color: #fff;
}

/* --- Fixtures ------------------------------------------------------------ */
.fixtures {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 14px;
  padding: 16px 18px;
}
.fixtures__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 10px;
}
.fixtures__row {
  padding: 8px 0;
  border-top: 1px solid #efede6;
}
.fixtures__when {
  min-width: 38px;
}
.fixtures__day {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--red);
}
.fixtures__date {
  font-size: 11px;
  color: #8a92a0;
}
.fixtures__match {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #14181f;
}
.fixtures__match .dash {
  color: #b8bdc6;
}
.fixtures__time {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  background: #f0efe8;
  border-radius: 5px;
  padding: 4px 8px;
}

/* --- News grid ----------------------------------------------------------- */
.news__head {
  border-top: 2px solid #14181f;
  padding-top: 18px;
  margin-bottom: 18px;
}
.news__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.news__archive {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.ncard {
  color: inherit;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.ncard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(2, 10, 30, 0.5);
}
.ncard__media {
  position: relative;
  height: 150px;
  background-image:
    var(--photo, none),
    repeating-linear-gradient(
      135deg,
      rgba(11, 46, 99, 0.06) 0 2px,
      transparent 2px 11px
    ),
    linear-gradient(150deg, #e9eef6, #d5deec);
}
.ncard__cat {
  position: absolute;
  top: 11px;
  left: 11px;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(2, 10, 30, 0.5);
}
.ncard__slot {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a92a0;
}
.ncard__body {
  padding: 16px 17px 18px;
}
.ncard__date {
  font-family: monospace;
  font-size: 11px;
  color: #8a92a0;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.ncard__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 19.5px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 11px;
  letter-spacing: 0.005em;
  color: #14181f;
}
.ncard:hover .ncard__title {
  color: var(--navy);
}
.ncard__excerpt {
  font-size: 13.5px;
  color: #5c6470;
  line-height: 1.5;
}

/* --- Spotlight strip ----------------------------------------------------- */
.spotlight__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c6470;
  margin-bottom: 13px;
}
.scard {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  height: 128px;
  background-image:
    var(--photo, none),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      transparent 2px 11px
    ),
    linear-gradient(150deg, #1f5096, #07214a);
  background-size: cover;
  transition: box-shadow 0.2s ease;
}
/* Chevron that slides in from the corner on hover */
.scard::after {
  content: "›";
  position: absolute;
  top: 8px;
  right: 13px;
  z-index: 2;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.scard:hover {
  box-shadow:
    inset 0 0 0 2px var(--red),
    0 14px 28px -14px rgba(2, 10, 30, 0.6);
}
.scard:hover::after {
  opacity: 1;
  transform: translateX(0);
}
/* Consistent dark bed so every tile's caption reads, regardless of the photo */
.scard__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 18, 42, 0.94) 0%,
    rgba(4, 18, 42, 0.55) 38%,
    rgba(4, 18, 42, 0.12) 70%
  );
  transition: background 0.2s ease;
}
.scard:hover .scard__scrim {
  background: linear-gradient(
    to top,
    rgba(4, 18, 42, 0.92) 0%,
    rgba(4, 18, 42, 0.45) 42%,
    rgba(11, 46, 99, 0.18) 100%
  );
}
.scard__title {
  position: relative;
  padding: 13px 14px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(2, 10, 30, 0.6);
  transition: transform 0.2s ease;
}
.scard:hover .scard__title {
  transform: translateY(-2px);
}

/* --- Footer -------------------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
}
.footer__org {
  max-width: 360px;
}
.footer__name {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.footer__addr {
  font-size: 13.5px;
  line-height: 1.7;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}
.footer__social-link:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.footer__col-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 12px;
}
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links li {
  margin-bottom: 8px;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 13.5px;
}
.footer__links a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 26px;
  padding-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  letter-spacing: 0.05em;
}

/* --- Small screens ------------------------------------------------------- */
/* Hiding / spacing handled via Bootstrap responsive utilities in the markup
   (d-none d-sm-inline, p-3 p-sm-4). Only brand type scaling stays here. */
@media (max-width: 575.98px) {
  .feature__title {
    font-size: 30px;
  }
}

/* ==========================================================================
   SUBPAGE COMPONENT LAYER
   Everything below is shared by the inner pages (osnovni-podatki, klubi,
   tekmovanja, utrip, galerije, …). It reuses the same tokens, fonts and
   radii as the home page above. Pages compose these classes — no page
   should need its own CSS.
   ========================================================================== */

/* --- Page head / banner (replaces the hero on inner pages) --------------- */
.pagehead {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 11px
    ),
    linear-gradient(150deg, #1a4a8f 0%, #07214a 78%);
  color: #fff;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff5a6e);
}
/* Optional photo variant: set --photo on .pagehead for an image-backed banner */
.pagehead--photo {
  background:
    linear-gradient(
      to top,
      rgba(4, 18, 42, 0.95) 0%,
      rgba(4, 18, 42, 0.7) 38%,
      rgba(4, 18, 42, 0.45) 100%
    ),
    var(--photo, none),
    linear-gradient(150deg, #1a4a8f 0%, #07214a 78%);
  background-size: cover;
  background-position: center;
}
.pagehead__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}
.pagehead__lead {
  margin: 12px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* --- Breadcrumb ---------------------------------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs li::after {
  content: "›";
  color: rgba(255, 255, 255, 0.35);
}
.crumbs li:last-child::after {
  content: none;
}
.crumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs li[aria-current="page"] {
  color: #fff;
}

/* --- Generic section heading (matches the home news header) -------------- */
.block-head {
  border-top: 2px solid #14181f;
  padding-top: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.block-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  color: #14181f;
}
.block-link {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.block-link:hover {
  color: #c01829;
}
.eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}

/* --- Panel (white bordered card, the inner-page workhorse) --------------- */
.panel {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 14px;
  padding: 22px 24px;
}
.panel + .panel {
  margin-top: 20px;
}
.panel__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #efede6;
}

/* --- Aside / sidebar cards ----------------------------------------------- */
.aside-card {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.aside-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff5a6e);
}
.aside-card + .aside-card {
  margin-top: 20px;
}
.aside-card__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.aside-card a {
  color: #fff;
}
.aside-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aside-links li + li {
  margin-top: 2px;
}
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  text-decoration: none;
}
.aside-links li:first-child a {
  border-top: none;
}
.aside-links a::after {
  content: "›";
  color: rgba(255, 255, 255, 0.4);
}
.aside-links a:hover {
  color: #fff;
}
.aside-links a:hover::after {
  color: var(--red);
}

/* --- Prose (article / static content typography) ------------------------- */
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: #2a2f38;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: #14181f;
  margin: 34px 0 14px;
}
.prose h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin: 26px 0 10px;
}
.prose p {
  margin: 0 0 16px;
}
.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover {
  color: #c01829;
}
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 7px;
}
.prose ul li::marker {
  color: var(--red);
}
.prose blockquote {
  margin: 22px 0;
  padding: 6px 20px;
  border-left: 4px solid var(--red);
  color: #3a414c;
  font-size: 17px;
  font-style: italic;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.prose figure {
  margin: 22px 0;
}
.prose figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #8a92a0;
}
.prose hr {
  border: none;
  border-top: 1px solid #e5e3dc;
  margin: 28px 0;
}

/* --- Key/value info table (osnovni podatki, club info, …) ----------------- */
.kv {
  width: 100%;
  border-collapse: collapse;
}
.kv th,
.kv td {
  text-align: left;
  vertical-align: top;
  padding: 11px 0;
  border-top: 1px solid #efede6;
  font-size: 14.5px;
}
.kv tr:first-child th,
.kv tr:first-child td {
  border-top: none;
}
.kv th {
  width: 42%;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 12.5px;
  color: #6b7280;
  padding-right: 16px;
}
.kv td {
  color: #14181f;
  font-weight: 500;
}
/* .kv living inside a navy aside card — flip text + dividers to light */
.aside-card .kv th,
.aside-card .kv td {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.aside-card .kv th {
  color: rgba(255, 255, 255, 0.55);
}
.aside-card .kv td,
.aside-card .kv td a {
  color: #fff;
}

/* --- Data table (standings, results, directories) ------------------------ */
.mnz-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mnz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.mnz-table thead th {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #14181f;
  white-space: nowrap;
}
.mnz-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid #efede6;
  color: #14181f;
  vertical-align: middle;
  white-space: nowrap;
}
.mnz-table.match-info tbody td {
  white-space: normal;
}
.mnz-table tbody td[valign="top"] {
  vertical-align: top;
}
.mnz-table tbody tr:nth-child(even) {
  background: #faf9f5;
}
.mnz-table tbody tr:hover {
  background: #f0efe8;
}
.mnz-table .num {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.mnz-table .pts {
  text-align: right;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}
.mnz-table .rank {
  width: 34px;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  color: #6b7280;
}
.mnz-table .team {
  font-weight: 600;
}
.mnz-table tr.is-leader {
  background: rgba(255, 197, 84, 0.14) !important;
  box-shadow: inset 3px 0 0 #ffc554;
}
.mnz-table tr.is-promote {
  box-shadow: inset 3px 0 0 var(--green);
}
.mnz-table tr.is-relegate {
  box-shadow: inset 3px 0 0 var(--red);
}
.mnz-table.match-info {
  background: #f6faf0;
}
.mnz-table.match-info td:first-child {
  font-weight: 600;
  color: #6b7280;
  width: 160px;
  white-space: nowrap;
}
/* --- Rounds accordion ------------------------------------------------------ */
.accordion {
  --bs-accordion-border-color: #e5e3dc;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 9px;
  --bs-accordion-btn-padding-x: 20px;
  --bs-accordion-btn-padding-y: 14px;
  --bs-accordion-body-padding-x: 20px;
  --bs-accordion-body-padding-y: 20px;
  --bs-accordion-btn-bg: #faf9f5;
  --bs-accordion-btn-color: var(--navy);
  --bs-accordion-active-bg: var(--navy);
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b2e63' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}
.accordion-item {
  margin-bottom: 10px;
}
.accordion-item:last-of-type {
  margin-bottom: 0;
}
.accordion-button {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.accordion-button:hover {
  background: #f0efe8;
}
.accordion-button:not(.collapsed):hover {
  background: var(--navy-deep);
}

.round-subtitle {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin: 20px 0 8px;
}
.round-subtitle:first-child {
  margin-top: 0;
}
.mnz-subhead {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
  padding-bottom: 6px;
  color: var(--navy);
  border-bottom: 1px solid #efede6;
}
.table-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  font-size: 12px;
  color: #6b7280;
}
.table-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.table-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

/* --- Category pills / tabs (competition selector) ------------------------ */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: #fff;
  border: 1px solid #e0ddd3;
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.pill:hover {
  border-color: var(--navy);
}
.pill.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* --- Competition sub-bar (persistent row under the main menu) ------------ */
.subnav {
  background: #103a73;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.subnav__inner {
  gap: 18px;
  min-height: 46px;
}
.subnav__label {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
.subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.subnav__link {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
}
.subnav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.subnav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

/* --- Grouped category pills (MNZ lige / Mlajše kategorije / Veterani) ----- */
.pillgroups {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-bottom: 24px;
}
.pillgroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillgroup__label {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a92a0;
}
.pillgroup .pills {
  margin: 0;
}

/* --- Sodniki/delegati selector (MNZ MS-style picker) --------------------- */
.selector {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 14px;
  padding: 18px 20px;
}
.selector__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.selector__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.selector__sub {
  font-size: 13px;
  color: #5c6470;
}
.selector__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.selector__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.selector__field > span {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.selector__submit {
  align-self: end;
  height: 38px;
}
@media (max-width: 800px) {
  .selector__grid {
    grid-template-columns: 1fr 1fr;
  }
  .selector__submit {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* --- Match results list -------------------------------------------------- */
.result-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #efede6;
}
.result-row:first-child {
  border-top: none;
}
.result-row__home {
  text-align: right;
  font-weight: 600;
}
.result-row__away {
  text-align: left;
  font-weight: 600;
}
.result-row__score {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  padding: 5px 12px;
  min-width: 56px;
  text-align: center;
  white-space: nowrap;
}
.result-row__score.is-scheduled {
  color: var(--navy);
  background: #f0efe8;
}

/* --- Club grid ----------------------------------------------------------- */
.club-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.club-card:hover {
  transform: translateY(-2px);
  border-color: #d4d0c4;
  box-shadow: 0 12px 24px -14px rgba(2, 10, 30, 0.5);
}
.club-card__logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid #e5e3dc;
  padding: 4px;
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.club-card__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #14181f;
  line-height: 1.15;
}
.club-card:hover .club-card__name {
  color: var(--navy);
}
.club-card__place {
  font-size: 12.5px;
  color: #8a92a0;
  margin-top: 3px;
}

/* --- Gallery grid -------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background:
    var(--photo, none),
    linear-gradient(150deg, #e9eef6, #d5deec);
  background-size: cover;
  background-position: center;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 42, 0);
  transition: background 0.2s ease;
}
.gallery__item:hover::after {
  background: rgba(4, 18, 42, 0.28);
}
/* Gallery cover card (index of galleries) */
.gcard {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.gcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(2, 10, 30, 0.5);
}
.gcard__cover {
  position: relative;
  aspect-ratio: 3 / 2;
  background:
    var(--photo, none),
    linear-gradient(150deg, #e9eef6, #d5deec);
  background-size: cover;
  background-position: center;
}
.gcard__count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(4, 18, 42, 0.78);
  border-radius: 999px;
  padding: 4px 10px;
}
.gcard__body {
  padding: 14px 16px 16px;
}
.gcard__date {
  font-family: monospace;
  font-size: 11px;
  color: #8a92a0;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.gcard__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0;
  color: #14181f;
}
.gcard:hover .gcard__title {
  color: var(--navy);
}

/* --- Video grid ---------------------------------------------------------- */
.video-card {
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}
.video-card .ratio {
  background: #07214a;
}
.video-card iframe {
  border: 0;
}

/* Lite YouTube facade (thumbnail + play; real iframe loads on click) */
.lite-yt {
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  background-color: #07214a;
  background-image: var(--yt-thumb);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lite-yt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 42, 0.28);
  transition: background 0.15s ease;
}
.lite-yt:hover::before {
  background: rgba(4, 18, 42, 0.1);
}
.lite-yt__play {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(216, 30, 52, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(2, 10, 30, 0.6);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.lite-yt__play::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.lite-yt:hover .lite-yt__play {
  transform: scale(1.08);
  background: var(--red);
}
.video-card__body {
  padding: 14px 16px 16px;
}
.video-card__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #14181f;
}
.video-card__date {
  font-family: monospace;
  font-size: 11px;
  color: #8a92a0;
  letter-spacing: 0.06em;
}

/* --- Document / download list -------------------------------------------- */
.doclist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-top: 1px solid #efede6;
  text-decoration: none;
  color: inherit;
}
.doc:first-child {
  border-top: none;
}
.doc:hover {
  background: #faf9f5;
}
.doc__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--navy);
}
.doc__icon--pdf {
  background: var(--red);
}
.doc__icon--doc {
  background: #2a5db0;
}
.doc__icon--xls {
  background: var(--green);
}
.doc__main {
  flex: 1 1 auto;
  min-width: 0;
}
.doc__name {
  font-weight: 600;
  font-size: 14.5px;
  color: #14181f;
  line-height: 1.3;
}
.doc:hover .doc__name {
  color: var(--navy);
}
.doc__meta {
  font-size: 12px;
  color: #8a92a0;
  margin-top: 2px;
}
.doc__action {
  flex: 0 0 auto;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
}

/* --- Link list (povezave) ------------------------------------------------ */
.linklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.linkrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-top: 1px solid #efede6;
  text-decoration: none;
  color: inherit;
}
.linkrow__logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 8px;
  overflow: hidden;
}
.linkrow__logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.linkrow__ext {
  margin-left: auto;
}
.linkrow:first-child {
  border-top: none;
}
.linkrow:hover .linkrow__name {
  color: var(--navy);
}
.linkrow__name {
  font-weight: 600;
  font-size: 14.5px;
  color: #14181f;
}
.linkrow__url {
  font-size: 12.5px;
  color: #8a92a0;
  margin-top: 1px;
}
.linkrow__ext {
  margin-left: auto;
  color: var(--red);
  font-size: 15px;
}

/* --- Tags / category badges (reusable colour variants) ------------------- */
.tag {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-navy { background: var(--navy); }
.tag-green { background: var(--green); }
.tag-orange { background: #e08600; }

/* --- Forms (contact) ----------------------------------------------------- */
.form-label {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4a515c;
  margin-bottom: 6px;
}
.form-control,
.form-select {
  border: 1px solid #d8d4c8;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14.5px;
  background: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 46, 99, 0.12);
}
.btn-cta.btn-submit {
  border: none;
  cursor: pointer;
}

/* --- Contact info rows --------------------------------------------------- */
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-line:first-child {
  border-top: none;
}
.contact-line__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.contact-line__label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}
.contact-line__value {
  font-size: 14.5px;
  color: #fff;
  font-weight: 500;
}
.contact-line__value a {
  color: #fff;
  text-decoration: none;
}
.contact-line__value a:hover {
  text-decoration: underline;
}

/* --- Map embed ----------------------------------------------------------- */
.map-embed {
  border: 1px solid #e5e3dc;
  border-radius: 14px;
  overflow: hidden;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* --- Pagination ---------------------------------------------------------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}
.pager a,
.pager span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e0ddd3;
  background: #fff;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.pager a:hover {
  border-color: var(--navy);
}
.pager .is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.pager .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 575.98px) {
  .pager {
    gap: 4px;
  }
  .pager a,
  .pager span {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 13px;
    border-radius: 6px;
  }
}

/* --- Person / staff card (trenerji in sodniki) --------------------------- */
.person {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e3dc;
  border-radius: 12px;
  padding: 14px 16px;
}
.person__avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.person__name {
  font-weight: 600;
  font-size: 14.5px;
  color: #14181f;
}
.person__role {
  font-size: 12.5px;
  color: #8a92a0;
  margin-top: 2px;
}

/* --- Empty / placeholder note -------------------------------------------- */
.note {
  background: #faf9f5;
  border: 1px dashed #d4d0c4;
  border-radius: 12px;
  padding: 18px 20px;
  color: #6b7280;
  font-size: 14px;
  margin-top: 20px;
}

/* --- Inner-page type scaling on small screens ---------------------------- */
@media (max-width: 575.98px) {
  .pagehead__title {
    font-size: 30px;
  }
  .prose h2 {
    font-size: 22px;
  }
  .result-row {
    grid-template-columns: 1fr auto 1fr;
    font-size: 13px;
  }
}
