/* Teniško društvo Dovce – javna stran. Barve peščenega igrišča: opečnata (clay), temno zelena, krem, bele črte. */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../lib/font/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../lib/font/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 800; font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #15241c;
    --green: #1b3a2a;
    --green-2: #26503a;
    --clay: #c8552d;
    --clay-dark: #a8431f;
    --clay-soft: #f6e3d9;
    --cream: #f7f2e8;
    --sand: #ece2cf;
    --line: #e6dccb;
    --muted: #66706a;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(21, 36, 28, .05), 0 12px 32px rgba(21, 36, 28, .08);
    --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-color: var(--ink);
    --bs-link-color: var(--clay-dark);
    --bs-link-color-rgb: 168, 67, 31;
    --bs-link-hover-color: var(--green);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { background: #fff; color: var(--ink); font-size: 16.5px; line-height: 1.6; }
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 700; letter-spacing: -.005em; line-height: 1.02; text-transform: uppercase; }
h5, h6 { font-weight: 750; }
::selection { background: var(--clay); color: #fff; }
a { text-underline-offset: .18em; }

.btn { border-radius: 999px; font-weight: 650; padding: .62rem 1.3rem; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn-clay { --bs-btn-color: #fff; --bs-btn-bg: var(--clay); --bs-btn-border-color: var(--clay); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--clay-dark); --bs-btn-hover-border-color: var(--clay-dark); --bs-btn-active-bg: var(--clay-dark); --bs-btn-active-color: #fff; }
.btn-green { --bs-btn-color: #fff; --bs-btn-bg: var(--green); --bs-btn-border-color: var(--green); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--green-2); --bs-btn-hover-border-color: var(--green-2); }
.btn-ghost { --bs-btn-color: var(--ink); --bs-btn-bg: transparent; --bs-btn-border-color: rgba(21, 36, 28, .2); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--ink); }
.btn-ghost-light { --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .45); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--green); --bs-btn-hover-border-color: #fff; }

.form-control, .form-select { border-radius: 12px; border-color: #d9cfbd; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--clay); box-shadow: 0 0 0 .2rem rgba(200, 85, 45, .18); }
.form-check-input:checked { background-color: var(--clay); border-color: var(--clay); }
.form-label { font-weight: 650; font-size: .9rem; margin-bottom: .3rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ glava */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(21, 36, 28, .06); }
.navbar { padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: .25rem; }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }
.navbar .nav-link { color: var(--ink); font-weight: 650; font-size: .95rem; padding: .5rem .8rem !important; border-radius: 999px; }
.navbar .nav-link:hover { color: var(--clay-dark); }
.navbar .nav-link.active { color: var(--clay-dark); background: var(--clay-soft); }
.navbar-toggler { font-size: 1.8rem; color: var(--ink); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.nav-tools { display: flex; align-items: center; gap: .75rem; margin-left: 1rem; }
.lang-switch { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: .78rem; font-weight: 750; letter-spacing: .06em; padding: .3rem .6rem; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang-switch a.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
@media (max-width: 991.98px) {
    .navbar-collapse { padding: .8rem 0 1rem; }
    .navbar .nav-link { padding: .65rem .2rem !important; border-radius: 0; border-bottom: 1px solid var(--line); }
    .navbar .nav-link.active { background: none; }
    .nav-tools { margin: 1rem 0 0; justify-content: space-between; }
}

/* ------------------------------------------------------------------ uvodni del (hero) */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 85% 10%, #d8673c 0%, var(--clay) 38%, #9a3d1c 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.2px), radial-gradient(rgba(0, 0, 0, .35) 1px, transparent 1.2px); background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; mix-blend-mode: overlay; }
.hero-court { position: absolute; right: -6%; top: 50%; width: min(820px, 78vw); transform: translateY(-50%) rotate(-8deg); opacity: .9; pointer-events: none; }
.hero-inner { position: relative; padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4.5rem, 10vw, 8rem); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; background: rgba(0, 0, 0, .16); padding: .4rem .8rem; border-radius: 999px; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7rem); line-height: .9; margin: 1.1rem 0 1.2rem; text-shadow: 0 2px 30px rgba(0, 0, 0, .15); }
.hero-text { font-size: 1.15rem; max-width: 34rem; color: rgba(255, 255, 255, .9); }
.hero .btn-light { color: var(--clay-dark); }
.hero-ball { position: absolute; width: 74px; height: 74px; right: 9%; bottom: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4ff8a, #d4e53a 55%, #a7b81f 100%); box-shadow: 0 18px 30px rgba(0, 0, 0, .25); animation: bounce 3.2s ease-in-out infinite; }
.hero-ball::before, .hero-ball::after { content: ""; position: absolute; inset: 6px; border: 3px solid rgba(255, 255, 255, .9); border-radius: 50%; clip-path: inset(0 55% 0 0); }
.hero-ball::after { clip-path: inset(0 0 0 55%); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@media (prefers-reduced-motion: reduce) { .hero-ball { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 767.98px) { .hero-court { opacity: .35; width: 140vw; right: -50%; } .hero-ball { display: none; } }

.facts { position: relative; margin-top: -2.6rem; z-index: 2; }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.fact { display: flex; gap: .85rem; align-items: center; padding: 1.25rem 1.3rem; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact i { font-size: 1.5rem; color: var(--clay); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--clay-soft); display: grid; place-items: center; flex-shrink: 0; }
.fact b { display: block; font-size: .98rem; }
.fact span { font-size: .85rem; color: var(--muted); }
@media (max-width: 991.98px) { .facts-inner { grid-template-columns: 1fr 1fr; } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 479.98px) { .facts-inner { grid-template-columns: 1fr; } .fact { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------------------------ razdelki */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: .6rem; }
.section-green .eyebrow { color: #f0a17f; }
.section-title { font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin-bottom: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head .section-title { margin: 0; }
.lead-muted { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--clay-dark); white-space: nowrap; }
.link-arrow i { transition: transform .2s; display: inline-block; }
.link-arrow:hover i { transform: translateX(4px); }

/* glava podstrani */
.page-head { background: var(--green); color: #fff; position: relative; overflow: hidden; padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2.4rem, 5vw, 3.6rem); }
.page-head::after { content: ""; position: absolute; right: -80px; top: -40px; width: 420px; height: 260px; border: 3px solid rgba(255, 255, 255, .12); border-radius: 4px; transform: rotate(-8deg); box-shadow: inset 0 0 0 60px transparent; }
.page-head::before { content: ""; position: absolute; right: 120px; top: -60px; bottom: -60px; width: 3px; background: rgba(255, 255, 255, .12); transform: rotate(-8deg); }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 0 0 .6rem; }
.page-head p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 42rem; margin: 0; }
.page-head .back { color: rgba(255, 255, 255, .75); text-decoration: none; font-weight: 600; font-size: .9rem; display: inline-flex; gap: .35rem; margin-bottom: .8rem; }
.page-head .back:hover { color: #fff; }

/* ------------------------------------------------------------------ novice */
.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.news-thumb { aspect-ratio: 16 / 9; background: var(--sand) center / cover no-repeat; position: relative; }
.news-thumb.thumb-ph { background: linear-gradient(135deg, var(--clay) 0%, #a54522 100%); display: grid; place-items: center; }
.news-thumb.thumb-ph.cat-2 { background: linear-gradient(135deg, var(--green-2) 0%, var(--green) 100%); }
.news-thumb.thumb-ph.cat-3 { background: linear-gradient(135deg, #d9a441 0%, #b37c1c 100%); }
.news-thumb.thumb-ph.cat-4 { background: linear-gradient(135deg, #4b6b8a 0%, #2c4660 100%); }
.news-thumb.thumb-ph i { font-size: 2.6rem; color: rgba(255, 255, 255, .85); }
.news-body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.news-meta { display: flex; gap: .6rem; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.news-card h3 { font-size: 1.65rem; margin: 0; }
.news-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.news-card .link-arrow { margin-top: auto; padding-top: .4rem; font-size: .92rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 999px; background: var(--clay-soft); color: var(--clay-dark); }
.tag-2 { background: #dfeee5; color: var(--green-2); }
.tag-3 { background: #f7ebcf; color: #8a5f12; }
.tag-4 { background: #e2ebf4; color: #2c4660; }
.tag-pin { background: var(--ink); color: #fff; }
.news-card.featured { flex-direction: row; }
.news-card.featured .news-thumb { aspect-ratio: auto; flex: 0 0 48%; min-height: 300px; }
.news-card.featured h3 { font-size: 2.3rem; }
@media (max-width: 767.98px) { .news-card.featured { flex-direction: column; } .news-card.featured .news-thumb { min-height: 0; aspect-ratio: 16 / 9; } }

.chips { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 650; font-size: .9rem; text-decoration: none; }
.chip:hover { border-color: var(--clay); color: var(--clay-dark); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; font-weight: 600; color: var(--muted); }

.article { max-width: 760px; margin: 0 auto; }
.article-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.article-image img { width: 100%; height: auto; display: block; }
.article-lead { font-size: 1.2rem; font-weight: 550; color: var(--ink); margin-bottom: 1.5rem; }
.prose { font-size: 1.05rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--clay); }

/* ------------------------------------------------------------------ o društvu */
.about-visual { position: relative; aspect-ratio: 4 / 3.4; border-radius: 24px; background: var(--clay); overflow: hidden; box-shadow: var(--shadow); }
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-year { position: absolute; left: 1.4rem; bottom: 1.2rem; color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .85; text-shadow: 0 6px 30px rgba(0, 0, 0, .2); }
.about-year small { display: block; font-size: .9rem; letter-spacing: .2em; font-family: var(--bs-body-font-family); font-weight: 750; opacity: .85; margin-bottom: .4rem; }

/* ------------------------------------------------------------------ tečaji */
.course-card { height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; position: relative; }
.section-cream .course-card { border-color: transparent; box-shadow: var(--shadow); }
.course-icon { width: 3.2rem; height: 3.2rem; border-radius: 14px; background: var(--clay); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }
.course-card h3 { font-size: 2rem; margin: .2rem 0 0; }
.course-card .audience { font-weight: 650; color: var(--clay-dark); font-size: .95rem; }
.course-facts { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .5rem; font-size: .92rem; }
.course-facts li { display: flex; gap: .6rem; }
.course-facts i { color: var(--clay); }
.course-facts b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.course-detail { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 1fr 320px; }
.course-detail + .course-detail { margin-top: 1.5rem; }
.course-detail-main { padding: clamp(1.5rem, 4vw, 2.4rem); }
.course-detail-side { background: var(--cream); padding: clamp(1.5rem, 4vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; }
.course-detail h2 { font-size: clamp(2.1rem, 4vw, 2.8rem); margin: .8rem 0 .4rem; }
@media (max-width: 991.98px) { .course-detail { grid-template-columns: 1fr; } }

.form-card { background: #fff; border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.alert-soft { border: 0; border-radius: 14px; background: var(--clay-soft); color: var(--clay-dark); font-weight: 600; }

/* ------------------------------------------------------------------ cenik */
.booking-card { background: var(--green); color: #fff; border-radius: 24px; padding: clamp(1.8rem, 4vw, 2.6rem); position: relative; overflow: hidden; }
.booking-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); }
.booking-card h2 { font-size: 2.4rem; }
.booking-card p { color: rgba(255, 255, 255, .8); }
.price-block { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.price-block + .price-block { margin-top: 1.25rem; }
.price-block h3 { font-size: 1.6rem; margin: 0; padding: 1.1rem 1.4rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; gap: 1rem; padding: .95rem 1.4rem; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .label { flex: 1; font-weight: 650; }
.price-row .label small { display: block; color: var(--muted); font-weight: 500; font-size: .86rem; }
.price-row .amount { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--clay-dark); white-space: nowrap; }
.price-row .unit { color: var(--muted); font-size: .85rem; font-weight: 600; margin-left: .2rem; font-family: var(--bs-body-font-family); }
.notes { background: var(--cream); border-radius: 20px; padding: 1.5rem 1.6rem; }
.notes h3 { font-size: 1.5rem; }
.notes ul { padding-left: 1.1rem; margin: 0; }
.notes li { margin-bottom: .55rem; }
.notes li::marker { color: var(--clay); }
.iban { font-family: Consolas, "Courier New", monospace; font-weight: 700; background: #fff; padding: .15rem .45rem; border-radius: 6px; display: inline-block; }

/* ------------------------------------------------------------------ kontakt */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem 1.5rem; height: 100%; }
.contact-card h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.contact-line { display: flex; gap: .7rem; margin-bottom: .55rem; align-items: baseline; }
.contact-line i { color: var(--clay); }
.contact-line a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-line a:hover { color: var(--clay-dark); }
.dl-club { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: .95rem; }
.dl-club dt { color: var(--muted); font-weight: 600; }
.dl-club dd { margin: 0; }
.map { border-radius: 20px; overflow: hidden; height: 100%; min-height: 360px; background: var(--sand); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ------------------------------------------------------------------ sponzorji */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.sponsor { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .55rem; min-height: 150px; padding: 1.2rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.sponsor-logo { height: 84px; width: 100%; display: flex; align-items: center; justify-content: center; }
.sponsor-logo img { max-width: 180px; max-height: 84px; object-fit: contain; }
.sponsor-name { font-weight: 750; font-size: .95rem; line-height: 1.25; }
.sponsor-desc { font-size: .8rem; color: var(--muted); }
.sponsor-initial { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--clay-dark); font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.sponsor-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.2rem; }
.sponsor-strip a, .sponsor-strip span { color: var(--muted); font-weight: 700; text-decoration: none; font-size: .95rem; display: inline-flex; align-items: center; min-height: 48px; }
.sponsor-strip a:hover { color: var(--clay-dark); }
.sponsor-strip img { max-height: 52px; max-width: 140px; object-fit: contain; transition: transform .2s; }
.sponsor-strip a:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------------ zahvala, prazno */
.thanks { text-align: center; max-width: 560px; margin: 0 auto; }
.thanks-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 1.2rem; }
.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); }

/* ------------------------------------------------------------------ noga */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; }
.footer-court { position: absolute; inset: 0; opacity: .06; background:
    linear-gradient(90deg, transparent calc(50% - 1.5px), #fff calc(50% - 1.5px), #fff calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(0deg, transparent 18%, #fff 18%, #fff calc(18% + 3px), transparent calc(18% + 3px), transparent calc(82% - 3px), #fff calc(82% - 3px), #fff 82%, transparent 82%); }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 1rem; }
.site-footer a:not(.btn):not(.brand) { display: block; color: rgba(255, 255, 255, .72); text-decoration: none; margin-bottom: .45rem; }
.site-footer a:not(.btn):not(.brand):hover { color: #fff; }
.footer-intro { max-width: 26rem; }
.site-footer a, .contact-line a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0 1.6rem; font-size: .85rem; }
.footer-bottom a { display: inline !important; margin: 0 !important; }

.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1050; max-width: 560px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 16px; padding: .9rem 1.1rem; display: flex; gap: 1rem; align-items: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); font-size: .88rem; }
.cookie-banner.d-none { display: none !important; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: #f0a17f; }

/* ------------------------------------------------------------------ urejanje besedil na mestu (samo skrbnik) */
.editable-resource { position: relative; display: inline; }
.resource-edit-button { position: absolute; left: 0; bottom: 100%; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #d9a441; color: #fff; display: grid; place-items: center; padding: 0; opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 5; text-transform: none; }
.editable-resource:hover .resource-edit-button { opacity: 1; pointer-events: auto; }
.resource-edit-button i { font-size: 12px; }
