/* SK Javornik – skupni slogi */

:root {
  --navy: #16283d;
  --navy-2: #1f3a59;
  --blue: #5b82b0;
  --ice: #9cc3e8;
  --snow: #f3f7fb;
  --white: #ffffff;
  --ink: #1b2430;
  --muted: #5d6b7a;
  --line: #dde5ee;
  --accent: #e5533b;
  --accent-dark: #c63f29;
  --ok: #2f8f5b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 40, 61, 0.10);
  --wrap: 1140px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* --- glava ------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { height: 44px; width: auto; }
.brand span { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--snow); color: var(--blue); }
.nav a.btn { color: #fff; margin-left: 6px; }
.nav a.btn:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.btn { margin: 8px 0 0; text-align: center; }
}

/* --- gumbi ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 24px; font: inherit; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: var(--snow); color: var(--navy); }
.btn-light:hover { background: var(--line); color: var(--navy); }
.btn-small { padding: 7px 14px; font-size: .85rem; }
.btn-danger { background: transparent; color: var(--accent-dark); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-danger:hover { background: var(--accent); color: #fff; }

/* --- naslovnica -------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
  padding: clamp(70px, 12vw, 140px) 0 clamp(120px, 16vw, 200px);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 46ch; color: rgba(255, 255, 255, .88); }
.hero .eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ice); margin-bottom: 18px;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; }
.hero .flakes { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, var(--blue) 100%);
  color: #fff; padding: 56px 0 48px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.page-hero p { color: rgba(255, 255, 255, .85); margin: 8px 0 0; }
.page-hero a { color: var(--ice); }

/* --- sekcije ----------------------------------------------------------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--snow); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.feature .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--snow); color: var(--blue); margin-bottom: 18px;
}
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; }
.feature a { font-weight: 700; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* --- novice ------------------------------------------------------------ */

.news-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.news-card .thumb { aspect-ratio: 16 / 9; background: var(--snow); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .thumb.placeholder {
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-2), var(--blue));
}
.news-card .thumb.placeholder img { width: 38%; height: auto; object-fit: contain; opacity: .9; }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-card time { font-size: .82rem; font-weight: 600; color: var(--blue); }
.news-card h3 { margin: 0; }
.news-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.article { max-width: 760px; margin-inline: auto; }
.article .cover { border-radius: var(--radius); margin-bottom: 32px; width: 100%; }
.article .content p { font-size: 1.08rem; }
.article .back { display: inline-block; margin-top: 24px; font-weight: 700; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* --- galerija ---------------------------------------------------------- */

.albums { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.album-card { text-decoration: none; color: inherit; display: block; }
.album-card .cover {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--snow); position: relative;
}
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover .cover img { transform: scale(1.04); }
.album-card .count {
  position: absolute; right: 10px; bottom: 10px; background: rgba(22, 40, 61, .8); color: #fff;
  font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.album-card h3 { margin: 12px 0 2px; font-size: 1.05rem; }
.album-card time { color: var(--muted); font-size: .85rem; }

.photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.photos button {
  padding: 0; border: 0; background: var(--snow); cursor: zoom-in; border-radius: 10px; overflow: hidden;
  aspect-ratio: 1;
}
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photos button:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 22, .94);
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 16px 20px;
}
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox .caption { color: #dfe7f0; text-align: center; padding-top: 12px; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox .close { top: 12px; right: 12px; }
.lightbox .prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 12px; top: 50%; transform: translateY(-50%); }

/* --- obrazci ----------------------------------------------------------- */

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.form-wrap ul { padding-left: 1.1em; color: var(--muted); }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field small { color: var(--muted); font-size: .8rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91, 130, 176, .2); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 20px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert.ok { background: #e6f5ec; color: var(--ok); }
.alert.err { background: #fdecea; color: var(--accent-dark); }

/* --- kontakt in noga --------------------------------------------------- */

.contact { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.contact .card h3 { display: flex; align-items: center; gap: 10px; }
.contact .card svg { width: 22px; height: 22px; color: var(--blue); }
.contact .card p { margin: 0; color: var(--muted); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 48px 0 32px; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer img { height: 48px; width: auto; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .copy { width: 100%; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .82rem; }

/* --- skrbniški del ----------------------------------------------------- */

.admin-body { background: var(--snow); }
.admin-login { max-width: 380px; margin: 80px auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button {
  font: inherit; font-weight: 600; border: 0; background: #fff; color: var(--navy);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line);
}
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-panel { display: grid; gap: 24px; }
.admin-list { display: grid; gap: 10px; }
.admin-item {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
}
.admin-item .meta { min-width: 0; }
.admin-item .meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-item .meta span { color: var(--muted); font-size: .85rem; }
.admin-item .actions { display: flex; gap: 8px; flex: none; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--line); color: var(--muted); margin-left: 6px; }
.thumbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); margin-top: 14px; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; line-height: 1;
}
.preview-img { max-width: 260px; border-radius: 10px; margin-top: 8px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--snow); color: var(--navy); white-space: nowrap; }
.progress { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* --- naslovnica s fotografijo ekipe ------------------------------------ */

.hero-photo {
  background:
    linear-gradient(180deg, rgba(14, 26, 40, .55) 0%, rgba(14, 26, 40, .78) 70%, rgba(14, 26, 40, .9) 100%),
    url("/img/ekipa.jpg") center 35% / cover no-repeat;
  padding: clamp(56px, 10vw, 120px) 0 clamp(90px, 12vw, 150px);
}
.hero-logo { width: clamp(150px, 22vw, 220px); height: auto; margin-bottom: 24px; }
.hero h1 { max-width: none; }
.motto {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ice); margin: -4px 0 18px;
}

/* --- dvostolpčne vsebine ---------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split.reverse > .split-img { order: 2; }
.split-img {
  width: 100%; height: auto; max-height: 520px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.split-img.focus-bottom { aspect-ratio: 16 / 10; object-position: center 85%; }
.actions-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-img { order: 0; }
}

/* skrbniška glava: navigacija vedno vidna */
.admin-body .nav { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; background: none; }
.admin-body .nav a.btn, .admin-body .nav button { margin: 0; }
.admin-head { margin: 32px 0 16px; }
.admin-head h1 { font-size: 1.8rem; margin: 0; }
.section.alt .btn-light { background: #fff; }

/* --- razpisi s prijavnico ---------------------------------------------- */

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.badge-open { background: #e6f5ec; color: var(--ok); margin: 0; }
.open-forms { padding-top: clamp(40px, 6vw, 64px); padding-bottom: 0; }
.open-form { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform .2s; }
.open-form:hover { transform: translateY(-3px); color: inherit; }
.open-form .badge { align-self: flex-start; }
.open-form h3, .open-form p { margin: 0; }
.open-form .link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent); }
.signup { margin-top: 40px; }
.signup h2 { font-size: 1.6rem; }
.signup-meta { font-weight: 600; color: var(--navy-2); font-size: .92rem; margin: 0 0 16px; }
.signup-meta:empty { display: none; }

/* urejevalnik polj prijavnice */
.form-builder { border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px 18px 18px; margin: 8px 0 20px; }
.form-builder legend { padding: 0 6px; }
.form-builder legend .check { margin: 0; color: var(--navy); font-weight: 700; }
.form-builder h4 { margin: 8px 0 10px; color: var(--navy); }
.builder-fields { display: grid; gap: 10px; margin-bottom: 12px; }
.builder-row {
  display: grid; grid-template-columns: 1fr 190px auto auto; gap: 10px; align-items: center;
  background: var(--snow); border-radius: 10px; padding: 10px;
}
.builder-row .check { margin: 0; white-space: nowrap; }
.builder-row textarea { grid-column: 1 / -1; min-height: 70px; }
.builder-actions { display: flex; gap: 4px; }
.builder-actions .btn { padding: 6px 10px; }
@media (max-width: 700px) { .builder-row { grid-template-columns: 1fr 1fr; } }
.reg-select { min-width: min(420px, 100%); margin: 0; }

/* --- dejavnosti -------------------------------------------------------- */

.act-group + .act-group { margin-top: clamp(40px, 6vw, 64px); }
.act-group-title {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 1.35rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line);
}
.act-group-title svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.act-when {
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--blue);
  background: var(--snow); border-radius: 999px; padding: 4px 12px;
}

.act-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.act-card h4 { font-size: 1.3rem; margin: 6px 0 8px; color: var(--navy); }
.act-card p { color: var(--muted); margin: 0 0 10px; }
.act-card p:last-child { margin-bottom: 0; }
.act-tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}

.act-snow { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.act-snow .act-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.act-figure {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 112px; aspect-ratio: 1; border-radius: 50%; background: var(--snow); color: var(--navy);
}
.act-figure strong { font-size: 2rem; line-height: 1; font-weight: 800; }
.act-figure span { font-size: .72rem; line-height: 1.25; margin-top: 4px; color: var(--muted); }

.act-featured {
  background:
    linear-gradient(135deg, rgba(14, 26, 40, .94), rgba(31, 58, 89, .88)),
    url("/img/trening.jpg") center / cover;
  border: 0; color: #fff;
}
.act-featured h4 { color: #fff; font-size: 1.5rem; }
.act-featured p { color: rgba(255, 255, 255, .82); }
.act-featured .act-tag { color: var(--ice); }
.act-featured .act-figure { background: var(--accent); color: #fff; }
.act-featured .act-figure span { color: rgba(255, 255, 255, .9); }
.act-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; }
.act-chips li { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); }

.act-grid-3 { grid-template-columns: repeat(3, 1fr); }
.act-small { border-top: 4px solid var(--blue); }

.act-adults { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.act-adults .split-img { max-height: 360px; }
.act-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.act-list li { display: flex; flex-direction: column; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; }
.act-list li:last-child { border-bottom: 0; }
.act-list li::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.act-list strong { color: var(--navy); font-size: 1.05rem; }
.act-list span { color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .act-snow, .act-adults, .act-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .act-snow .act-card { grid-template-columns: 1fr; }
  .act-figure { width: 96px; }
}
.admin-body .btn-light { background: #fff; }

/* --- dostopnost, termini, besedilne strani ------------------------------- */

.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;
}
.hero-logo { margin-bottom: 18px; }
.act-schedule {
  font-size: .9rem; color: var(--navy-2) !important; background: var(--snow);
  border-radius: 8px; padding: 8px 12px; margin-top: 12px !important;
}
.act-featured .act-schedule { background: rgba(255, 255, 255, .12); color: #fff !important; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }
.stat strong { overflow-wrap: anywhere; }
.stat strong.stat-text { font-size: 1.35rem; padding: 6px 0 4px; }
.admin-body .site-header .btn-light { background: var(--snow); }
.crumbs { font-size: .9rem; margin: 0 0 10px !important; } .crumbs a { color: var(--ice); }

/* --- glava: logotip kluba levo, logotip Timing desno ---------------------- */

.nav { margin-left: auto; }
.timing-link { display: flex; align-items: center; margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line); }
.timing-link img { height: 44px; width: auto; }
@media (max-width: 820px) {
  .timing-link { margin-left: auto; margin-right: 6px; padding-left: 0; border: 0; }
  .timing-link img { height: 38px; }
  .nav-toggle { order: 3; }
}

/* --- naslovnica: treningi in alpska šola takoj na vrhu -------------------- */

.programs { padding: clamp(20px, 3vw, 32px) 0 0; }
.programs-motto {
  font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 14px;
}
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.program {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(320px, 40vw, 460px); padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(180deg, rgba(10, 18, 26, 0) 15%, rgba(10, 18, 26, .55) 50%, rgba(10, 18, 26, .92) 100%), url("/img/trening.jpg") center / cover;
}
.program-alpska {
  background: linear-gradient(180deg, rgba(10, 18, 26, 0) 15%, rgba(10, 18, 26, .55) 50%, rgba(10, 18, 26, .92) 100%), url("/img/ekipa.jpg") center / cover;
}
.program { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.program h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 4px 0 6px; }
.program p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 42ch; }
.program-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); }
.program-days {
  position: absolute; top: 18px; left: 18px; padding: 8px 14px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink, #fff); font-size: .85rem; font-weight: 600;
}
.program-days strong { font-size: 1.35rem; margin-right: 4px; }
.program .act-schedule { background: rgba(255, 255, 255, .16); color: #fff !important; max-width: 42ch; }
@media (max-width: 760px) {
  .programs-grid { grid-template-columns: 1fr; }
  .program { min-height: 300px; }
}

/* --- pol telovadnica, pol izleti ------------------------------------------ */

.halves { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.half { border-top: 3px solid var(--blue); padding-top: 22px; }
.half h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.plain-list { list-style: none; padding: 0; margin: 0 0 14px; }
.plain-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.plain-list strong { color: var(--navy); }
.plain-list span { color: var(--muted); font-size: .95rem; }
.plain-list .act-schedule { margin-top: 8px !important; align-self: flex-start; }
.more-link { font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .halves { grid-template-columns: 1fr; } }

/* --- Timing na koncu naslovnice ------------------------------------------- */

.timing-teaser { border-top: 1px solid var(--line); }
.timing-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 40px); align-items: center; }
.timing-row img { width: 150px; height: auto; }
.timing-row h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 6px; }
.timing-row p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .timing-row { grid-template-columns: 1fr; } }
