/*
 * RAROG Web — public site: tokens, base, header with the mega menu,
 * footer, page templates (lists, project, article, blog) and the pages
 * "U izradi" / "Održavanje". Components shared with blocks are in
 * blocks/base.css; each block has its own file in blocks/.
 * Mobile first; breakpoints 768, 1024, 1280 px.
 */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    /* Latin only (1.34.0): 211 KB instead of 352 KB; the address is the same as the
       preload in site/layout.php, so the font is downloaded once */
    src: url("../fonts/inter/InterVariable-latin.woff2") format("woff2");
    unicode-range: U+0000-024F, U+0259, U+02B0-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-2115, U+2117-214F, U+2190-21FF, U+2200-22FF, U+2460-24FF, U+25A0-25FF, U+2713, U+2715, U+FEFF, U+FFFD;
}

/* Cyrillic (1.38.0, /cir/): 29 KB, downloaded only by pages with Cyrillic letters
   (the Cyrillic version preloads it, site/layout.php) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/InterVariable-cyrillic.woff2") format("woff2");
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --rw-gold: #A47B2C;
    --rw-gold-dark: #8A6623;
    --rw-gold-light: #D2AE66;
    --rw-gold-soft: #F7F0E2;
    --rw-gold-tint: #FBF7EF;
    --rw-dark: #0A1016;
    --rw-dark-2: #131C26;
    --rw-dark-3: #1D2834;
    --rw-ink: #16202B;
    --rw-muted: #58626E;
    --rw-line: #E4E7EB;
    --rw-soft: #F5F6F8;
    --rw-radius: 16px;
    --rw-radius-sm: 10px;
    --rw-shadow: 0 1px 2px rgba(10, 16, 22, .05), 0 8px 24px rgba(10, 16, 22, .06);
    --rw-shadow-lg: 0 24px 60px rgba(10, 16, 22, .16);
    --rw-head-h: 68px;
    --rw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--rw-head-h) + 16px); }
body { margin: 0; font-family: var(--rw-font); font-size: 16px; color: var(--rw-ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a { color: var(--rw-gold-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--rw-dark); letter-spacing: -.015em; }
/* 1.41.0: a card title on the home page is not a heading (Site::homeOutline()): a span that looks like the h3 */
.rw-h3 { display: block; margin: 0; font-size: 1.17em; line-height: 1.3; }
.rw-h3.rw-h3 { color: var(--rw-dark); font-weight: 700; letter-spacing: -.015em; }
:focus-visible { outline: 3px solid var(--rw-gold); outline-offset: 2px; }
main:focus { outline: 0; }

.rw-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--rw-dark); color: #fff; font-weight: 600; text-decoration: none; }
.rw-skip:focus { top: 12px; }

/* ---------- Header ---------- */
.rw-brand { display: inline-flex; align-items: center; color: var(--rw-dark); text-decoration: none; }
.rw-brand { flex: 0 0 auto; }
/* An explicit height (not max-height): the global img { max-width: 100% } squeezed a logo inside the flex header to 0 px */
.rw-site .rw-logo, .rw-mode-page .rw-logo { display: block; width: auto; height: 40px; max-width: 200px; object-fit: contain; object-position: left center; transition: height .2s; }
.rw-logo-white { filter: brightness(0) invert(1); }
.rw-logo-text { font-weight: 800; font-size: 1.3rem; letter-spacing: .14em; color: var(--rw-dark); transition: font-size .2s; }
.rw-logo-text::first-letter { color: var(--rw-gold); }

/* Language switch (1.40.0): a compact drop-down "LAT ▾" with LAT, ЋИР, EN, RU
   (<details>, works without JS; site.js closes it outside and on Esc). On phones and
   tablets (menu panel) the same drop-down opens upwards, every item 44 px tall. */
.rw-langs { position: relative; display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.rw-langs-toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 2px 8px; border-radius: 999px; color: var(--rw-dark); cursor: pointer; list-style: none; user-select: none; }
.rw-langs-toggle::-webkit-details-marker { display: none; }
.rw-langs-toggle::marker { content: ""; }
.rw-langs-toggle .rw-i { width: 14px; height: 14px; color: var(--rw-gold-dark); }
.rw-langs-toggle .rw-i:last-child { color: var(--rw-muted); transition: transform .2s; }
.rw-langs[open] .rw-langs-toggle .rw-i:last-child { transform: rotate(180deg); }
.rw-langs-toggle:hover, .rw-langs[open] > .rw-langs-toggle { background: var(--rw-gold-tint); }
.rw-langs-toggle:focus-visible { outline: 2px solid var(--rw-gold); outline-offset: 2px; }
.rw-langs-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 70; display: grid; gap: 2px; min-width: 176px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--rw-line); border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(10, 16, 22, .14); }
.rw-langs-item { display: grid; grid-template-columns: 38px 1fr; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--rw-dark); text-decoration: none; white-space: nowrap; }
.rw-langs-item::after { content: attr(data-rw-name); color: var(--rw-muted); font-weight: 500; letter-spacing: 0; }
a.rw-langs-item:hover, a.rw-langs-item:focus-visible { background: var(--rw-gold-tint); color: var(--rw-gold-dark); }
.rw-langs-item.is-current { background: var(--rw-soft); color: var(--rw-gold-dark); }
/* 1.43.0: the switch is written once (.rw-langs-box, in the header row).
   Phones and tablets: in the header row, 44 px for a finger */
.rw-langs-box { display: flex; flex: 0 0 auto; align-items: center; }
@media (max-width: 1199px) {
    .rw-langs-box .rw-langs-toggle { min-height: 44px; gap: 3px; padding: 0 8px; }
    .rw-langs-box .rw-langs-toggle .rw-i:first-child { display: none; }
    .rw-langs-box .rw-langs-item { min-height: 44px; }
}
@media (max-width: 479px) { .rw-langs-box .rw-langs-toggle { padding: 0 6px; } }
@media (max-width: 374px) { .rw-langs-box .rw-langs-toggle .rw-i:last-child { display: none; } }

.rw-burger { position: relative; display: block; width: 22px; height: 16px; }
.rw-burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s, top .25s; }
.rw-burger span:nth-child(1) { top: 0; }
.rw-burger span:nth-child(2) { top: 7px; }
.rw-burger span:nth-child(3) { top: 14px; }

.rw-nav-open { overflow: hidden; }

@media (min-width: 1200px) {
    :root { --rw-head-h: 72px; }
}

/* ---------- Page title band, breadcrumb, tags ---------- */
.rw-pagehead { position: relative; overflow: hidden; padding: 40px 0 44px; background: radial-gradient(900px 300px at 85% -40%, rgba(164, 123, 44, .18), transparent 70%), linear-gradient(180deg, var(--rw-gold-tint) 0%, #fff 100%); border-bottom: 1px solid var(--rw-line); }
.rw-pagehead h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.025em; }
.rw-pagehead .rw-lead { max-width: 44em; margin: 0; }
/* The one breadcrumb (1.11.1): a light band right below the header on every
   page except the home page (site/partials/crumbbar) */
.rw-crumbbar { padding: 13px 0; border-bottom: 1px solid var(--rw-line); background: var(--rw-gold-tint); }
.rw-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.4; }
.rw-crumbs li { display: inline-flex; align-items: center; }
.rw-crumbs li + li::before { content: ""; display: inline-block; flex: none; width: 6px; height: 6px; margin-right: 10px; border-top: 1.5px solid #c4ab78; border-right: 1.5px solid #c4ab78; transform: rotate(45deg); }
.rw-crumbs a { color: var(--rw-gold-dark); font-weight: 500; text-decoration: none; }
.rw-crumbs a:hover, .rw-crumbs a:focus-visible { color: var(--rw-dark); text-decoration: underline; text-underline-offset: 3px; }
.rw-crumbs [aria-current] { color: var(--rw-ink); font-weight: 600; }
/* Long titles are shortened at a whole word (crumbs.php); the phone labels only show on phones */
.rw-crumb-short { display: none; }

.rw-tag { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border: 1px solid var(--rw-line); border-radius: 999px; background: #fff; color: var(--rw-ink); font-size: .84rem; font-weight: 600; text-decoration: none; }
a.rw-tag:hover { border-color: var(--rw-gold); }
.rw-tag-gold { border-color: transparent; background: var(--rw-gold-soft); color: var(--rw-gold-dark); }
.rw-eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rw-gold-dark); }
.rw-block.rw-archive, .rw-block.rw-blog { padding-top: 40px; }
.rw-empty { padding: 48px 0; text-align: center; color: var(--rw-muted); }

/* ---------- Project ---------- */
/* Project = case study (1.28.0): label, client and industry next to the image */
.rw-project-head { padding: 44px 0 48px; border-bottom: 1px solid var(--rw-line); background: var(--rw-soft); }
.rw-project-grid { display: grid; gap: 28px; align-items: center; }
.rw-project-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--rw-dark); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rw-project-label .rw-i { color: var(--rw-gold-light); }
.rw-project-head h1 { margin: 16px 0 12px; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em; }
.rw-project-head .rw-lead { max-width: 40em; }
.rw-project-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; overflow: hidden; border: 1px solid var(--rw-line); border-radius: var(--rw-radius-sm); background: var(--rw-line); }
.rw-project-meta > div { padding: 12px 16px; background: #fff; }
.rw-project-meta dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rw-muted); }
.rw-project-meta dd { margin: 4px 0 0; font-weight: 650; color: var(--rw-dark); line-height: 1.35; }
.rw-project-meta dd a { color: inherit; text-decoration-color: var(--rw-gold); }
.rw-project-meta > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rw-project-figure { margin: 0; overflow: hidden; border-radius: 20px; box-shadow: var(--rw-shadow-lg); }
.rw-project-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
    .rw-project-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
    .rw-project-noimg { grid-template-columns: minmax(0, 860px); }
}
.rw-project .rw-block-facts { padding-top: 56px; }
.rw-related { background: var(--rw-soft); }
.rw-related .rw-eyebrow { text-align: center; }
.rw-related-solutions { margin-bottom: 40px; }
.rw-related-solutions ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rw-related-solutions a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--rw-line); border-radius: 999px; background: #fff; color: var(--rw-dark); font-weight: 600; text-decoration: none; box-shadow: var(--rw-shadow); }
.rw-related-solutions a:hover { border-color: var(--rw-gold); color: var(--rw-gold-dark); }
.rw-related-solutions .rw-i { color: var(--rw-gold); }

/* ---------- Article ---------- */
.rw-post-head { padding: 40px 0 0; background: linear-gradient(180deg, var(--rw-gold-tint) 0%, #fff 80%); }
.rw-post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.rw-post-head h1 { margin: 14px 0 12px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.025em; }
.rw-post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; color: var(--rw-muted); font-size: .92rem; }
.rw-post-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.rw-post-meta .rw-i { color: var(--rw-gold); }
.rw-post-figure-wrap { max-width: 1040px; }
.rw-post-figure { margin: 32px 0 0; overflow: hidden; border-radius: 20px; box-shadow: var(--rw-shadow-lg); }
.rw-post-figure img { display: block; width: 100%; }
.rw-container.rw-post-layout { display: grid; gap: 24px; max-width: 1040px; padding-top: 36px; }
.rw-post-body .rw-block { padding: 0 0 8px; border: 0; }
.rw-post-body .rw-container { padding: 0; max-width: 720px; }
.rw-post-body .rw-prose { font-size: 1.08rem; }
.rw-toc details { border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: var(--rw-soft); }
.rw-toc summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.rw-toc ol { margin: 0; padding: 0 18px 16px 36px; }
.rw-toc li { padding: 4px 0; font-size: .93rem; }
.rw-toc a { color: var(--rw-ink); text-decoration: none; }
.rw-toc a:hover, .rw-toc a.is-current { color: var(--rw-gold-dark); }
.rw-container.rw-about { padding-top: 32px; padding-bottom: 16px; }
.rw-about-box { display: flex; gap: 20px; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, var(--rw-dark) 0%, var(--rw-dark-3) 100%); color: #cfd5dc; }
.rw-about-box h2 { margin: 0 0 8px; color: #fff; font-size: 1.3rem; }
.rw-about-box p { margin: 0 0 18px; }
.rw-about-mark { display: inline-flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rw-gold); color: var(--rw-dark); font-size: 22px; }
.rw-related-posts { margin-top: 40px; background: var(--rw-soft); }

@media (min-width: 1024px) {
    .rw-post-has-toc .rw-post-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
    .rw-toc { position: relative; }
    .rw-toc details { position: sticky; top: calc(var(--rw-head-h) + 24px); }
    .rw-post-has-toc .rw-post-body .rw-container { max-width: none; }
}
@media (max-width: 767px) {
    .rw-about-box { flex-direction: column; padding: 22px; }
}

/* ---------- Lists: tabs, blog, pager ---------- */
.rw-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; padding: 6px; border-radius: 999px; background: var(--rw-soft); }
.rw-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; color: var(--rw-ink); font-weight: 600; text-decoration: none; }
.rw-tab[aria-selected="true"], .rw-tab[aria-current="page"] { background: #fff; color: var(--rw-dark); box-shadow: var(--rw-shadow); }
.rw-tab:not([aria-current]):not([aria-selected="true"]):hover { color: var(--rw-dark); }
.rw-tab-count { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: .8rem; text-align: center; }
.rw-js [data-rw-hidden] { display: none; }
.rw-tab-panel + .rw-tab-panel { margin-top: 40px; }
.rw-js .rw-tab-panel + .rw-tab-panel { margin-top: 0; }

.rw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.rw-chip { padding: 8px 16px; border: 1px solid var(--rw-line); border-radius: 999px; color: var(--rw-ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
.rw-chip:hover { border-color: var(--rw-gold); }
.rw-chip[aria-current] { border-color: var(--rw-dark); background: var(--rw-dark); color: #fff; }

.rw-featured { display: grid; overflow: hidden; margin: 0 0 32px; border: 1px solid var(--rw-line); border-radius: 20px; background: #fff; box-shadow: var(--rw-shadow); }
.rw-featured-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rw-soft); }
.rw-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rw-featured:hover .rw-featured-img img { transform: scale(1.03); }
.rw-featured-body { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.rw-featured-body h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.rw-featured-body h2 a { color: var(--rw-dark); text-decoration: none; }
.rw-featured-body h2 a:hover { color: var(--rw-gold-dark); }
.rw-featured-body > p { margin: 0 0 14px; color: var(--rw-muted); }
.rw-featured-body .rw-card-meta { font-size: .88rem; }
@media (min-width: 1024px) {
    .rw-featured { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .rw-featured-img { aspect-ratio: auto; min-height: 360px; }
    .rw-featured-body { padding: 40px 44px; }
}

.rw-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 44px; }
.rw-pager ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rw-pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--rw-line); border-radius: 12px; color: var(--rw-ink); font-weight: 600; text-decoration: none; }
.rw-pager a:hover { border-color: var(--rw-gold); }
.rw-pager a[aria-current] { border-color: var(--rw-dark); background: var(--rw-dark); color: #fff; }

.rw-notfound { padding: 96px 0; }
.rw-notfound-code { margin: 0; font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, var(--rw-gold) 0%, var(--rw-gold-light) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-notfound h1 { margin: 12px 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.rw-buttons-center { justify-content: center; }
.rw-placeholder { padding: 120px 0; }
.rw-placeholder h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- Newsletter band (above the footer) ---------- */
.rw-newsletter-band { border-top: 1px solid var(--rw-line); background: var(--rw-gold-soft); }
.rw-newsletter-band .rw-block { padding: 44px 0; border: 0; background: transparent; }

@media (min-width: 1024px) {

    .rw-newsletter-band .rw-block { padding: 56px 0; }
}

/* ---------- Phones and tablets: less scrolling (see blocks/base.css) ---------- */
@media (max-width: 767px) {
    .rw-pagehead { padding: 22px 0 24px; }
    .rw-pagehead h1 { margin: 0 0 8px; font-size: clamp(1.65rem, 7vw, 2rem); }
    .rw-block.rw-archive, .rw-block.rw-blog { padding-top: 24px; }
    .rw-project-head { padding: 22px 0 28px; }
    .rw-post-head { padding-top: 22px; }
    .rw-project-head h1, .rw-post-head h1 { margin: 10px 0 8px; font-size: clamp(1.65rem, 7vw, 2rem); }
    .rw-post-figure { margin-top: 20px; border-radius: 14px; }
    .rw-project-figure { border-radius: 14px; }
    .rw-project-figure img, .rw-post-figure img { max-height: 240px; object-fit: cover; }
    .rw-project .rw-block-facts { padding-top: 32px; }
    .rw-related-solutions { margin-bottom: 24px; }
    .rw-related-solutions a { min-height: 44px; padding: 10px 14px; font-size: .92rem; }
    .rw-tabs { margin-bottom: 20px; }
    .rw-tab, .rw-chip, a.rw-tag { display: inline-flex; align-items: center; min-height: 44px; }

    .rw-chips { margin-bottom: 20px; }
    .rw-featured { margin-bottom: 20px; }
    .rw-featured-body { padding: 18px; }
    .rw-pager { margin-top: 28px; }
    .rw-pager a { min-width: 44px; height: 44px; }
    .rw-crumbbar { padding: 0; }
    .rw-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
    .rw-crumbs ol { flex-wrap: nowrap; white-space: nowrap; }
    .rw-crumbs li { display: inline-flex; align-items: center; flex: 0 0 auto; }
    .rw-crumbs li[aria-current] { flex: 0 1 auto; min-width: 0; min-height: 44px; white-space: normal; }
    /* Phones: only the last two levels, with the shorter labels */
    .rw-crumbs li:not(:nth-last-child(-n+2)) { display: none; }
    .rw-crumbs li:nth-last-child(2)::before { display: none; }
    .rw-crumbs li:nth-last-child(2) a::before { content: ""; display: inline-block; flex: none; width: 6px; height: 6px; margin: 0 8px 0 2px; border-bottom: 1.5px solid #c4ab78; border-left: 1.5px solid #c4ab78; transform: rotate(45deg); }
    .rw-crumbs li:first-child:nth-last-child(2) a::before { display: none; }
    .rw-crumb-long { display: none; }
    .rw-crumb-short { display: inline; }
    .rw-notfound { padding: 48px 0; }
    .rw-notfound .rw-notfound-links { margin-top: 32px; }

    /* Footer: company column on top, link columns 2 × 2, every link at least 44 px high */
    .rw-newsletter-band .rw-block { padding: 32px 0; }

    .rw-brand { min-height: 44px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .rw-pagehead { padding: 32px 0 34px; }
    .rw-project-figure img, .rw-post-figure img { max-height: 380px; object-fit: cover; }
}

/* ---------- "U izradi" / "Održavanje" (1.10.0: first screen, dark, two columns) ---------- */
.rw-brand-mark { font-weight: 800; letter-spacing: .14em; font-size: 1.4rem; }
.rw-brand-mark::first-letter { color: var(--rw-gold); }
.rw-mode-page { position: relative; min-height: 100vh; min-height: 100dvh; margin: 0; overflow-x: hidden; background: var(--rw-dark); color: #E9EDF2; isolation: isolate; }
.rw-mode-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        radial-gradient(circle at 80% 15%, rgba(164, 123, 44, .30), transparent 40%),
        radial-gradient(circle at 8% 95%, rgba(164, 123, 44, .14), transparent 36%),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px, 16px 16px, 16px 16px;
    -webkit-mask-image: linear-gradient(160deg, #000 40%, rgba(0, 0, 0, .4) 100%); mask-image: linear-gradient(160deg, #000 40%, rgba(0, 0, 0, .4) 100%); }
.rw-mode-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; width: min(1160px, 100%); min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: clamp(24px, 4vh, 48px) clamp(16px, 4vw, 40px); }
.rw-mode-wrap.rw-mode-single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.rw-mode-page .rw-logo { display: block; height: 44px; max-width: 240px; object-fit: contain; object-position: left center; }
.rw-mode-page .rw-brand-mark { color: #fff; }
.rw-mode-kicker { display: inline-flex; align-items: center; gap: 10px; margin: clamp(20px, 4vh, 40px) 0 14px; padding: 6px 12px; border: 1px solid rgba(164, 123, 44, .5); border-radius: 999px; background: rgba(164, 123, 44, .12); color: #D6B472; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rw-mode-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rw-gold); box-shadow: 0 0 0 0 rgba(164, 123, 44, .6); animation: rw-mode-pulse 2s infinite; }
@keyframes rw-mode-pulse { 70% { box-shadow: 0 0 0 10px rgba(164, 123, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(164, 123, 44, 0); } }
.rw-mode-info h1 { margin: 0 0 14px; color: #fff; font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.rw-mode-message { max-width: 520px; margin: 0; color: #AEB7C2; font-size: 1.05rem; line-height: 1.6; }
.rw-mode-until { margin: 14px 0 0; color: #D6B472; font-weight: 600; }
.rw-mode-contact { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(20px, 4vh, 36px) 0 0; padding: 0; list-style: none; }
.rw-mode-contact a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #fff; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.rw-mode-contact a:hover, .rw-mode-contact a:focus-visible { border-color: var(--rw-gold); background: rgba(164, 123, 44, .12); }
.rw-mode-contact small { display: block; color: #8C96A3; font-size: .75rem; font-weight: 500; }
.rw-mode-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--rw-gold); color: var(--rw-dark); }
.rw-mode-ico svg { width: 18px; height: 18px; }
.rw-mode-form .rw-form { gap: 12px; padding: clamp(18px, 2.6vh, 28px); border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.rw-mode-form .rw-form-title { font-size: 1.15rem; }
.rw-mode-form .rw-form textarea { min-height: 84px; }
.rw-mode-form .rw-form-consent { font-size: .82rem; }
.rw-mode-form .rw-btn { width: 100%; justify-content: center; }
@media (max-height: 760px) and (min-width: 1024px) {
    .rw-mode-form .rw-form { gap: 10px; }
    .rw-mode-form .rw-form input { min-height: 42px; }
    .rw-mode-kicker { margin-top: 16px; }
}
@media (max-width: 1023px) {
    .rw-mode-wrap { grid-template-columns: 1fr; align-content: start; gap: 24px; min-height: 0; padding-top: 28px; padding-bottom: 28px; }
    .rw-mode-info h1 { font-size: 1.75rem; }
    .rw-mode-message { font-size: 1rem; }
    .rw-mode-contact { gap: 8px; }
    .rw-mode-contact li { flex: 1 1 200px; }
    .rw-mode-contact a { min-height: 48px; }
}
@media (max-width: 767px) {
    .rw-mode-page .rw-logo { height: 34px; }
    .rw-mode-kicker { margin-top: 18px; }
    .rw-mode-form .rw-form { gap: 8px; padding: 16px; border-radius: 16px; }
    .rw-mode-wrap { gap: 18px; padding-top: 20px; }
    .rw-mode-kicker { margin: 14px 0 10px; }
    .rw-mode-info h1 { margin-bottom: 8px; font-size: 1.6rem; }
    .rw-mode-message { font-size: .95rem; line-height: 1.5; }
    .rw-mode-contact { margin-top: 14px; }
    .rw-mode-contact { gap: 6px; }
    .rw-mode-contact li { flex: 1 1 auto; min-width: 0; }
    .rw-mode-contact a { gap: 6px; min-height: 46px; padding: 6px 8px 6px 6px; font-size: .8rem; letter-spacing: -.01em; }
    .rw-mode-contact a > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .rw-mode-contact small { display: none; }
    .rw-mode-ico { width: 32px; height: 32px; }
    .rw-mode-form .rw-form-title { margin: 0; }
    .rw-mode-form .rw-form input { min-height: 44px; }
    .rw-mode-form .rw-form textarea { min-height: 72px; }
}
@media (prefers-reduced-motion: reduce) { .rw-mode-pulse { animation: none; } }

/* ---------- Gallery dialog (site.js) ---------- */
.rw-lightbox { width: min(1200px, 96vw); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: var(--rw-dark); color: #fff; }
.rw-lightbox::backdrop { background: rgba(5, 8, 12, .86); }
.rw-lightbox figure { margin: 0; }
.rw-lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.rw-lightbox figcaption { padding: 12px 64px 14px 18px; font-size: .92rem; color: #cfd5dc; }
.rw-lightbox-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(10, 16, 22, .7); color: #fff; font-size: 20px; cursor: pointer; }
.rw-lightbox-btn:hover { background: var(--rw-gold); color: var(--rw-dark); }
.rw-lightbox-close { top: 10px; right: 10px; }
.rw-lightbox-prev { left: 10px; top: 40%; }
.rw-lightbox-next { right: 10px; top: 40%; }
.rw-lightbox-prev .rw-i { transform: rotate(90deg); }
.rw-lightbox-next .rw-i { transform: rotate(-90deg); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .rw-block-cta-form, .rw-account { display: none; } }
.rw-preview-ribbon { position: fixed; right: 14px; bottom: 14px; z-index: 60; margin: 0; pointer-events: none; }
.rw-preview-ribbon .rw-preview-badge { box-shadow: var(--rw-shadow); }
.rw-toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.rw-toc summary::-webkit-details-marker { display: none; }
.rw-toc summary::after { content: "+"; color: var(--rw-gold-dark); font-weight: 700; }
.rw-toc details[open] summary::after { content: "\2212"; }

/* ---------- Breadcrumb band above a Hero ---------- */
.rw-crumbbar + .rw-block-hero { padding-top: 40px; }

/* ---------- Footer extras: social icons, legal links ---------- */

.rw-linkbtn { color: #aeb6bf; font-size: .85rem; }
.rw-linkbtn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rw-linkbtn:hover { color: var(--rw-gold-light); }
.rw-no-js [data-rw-consent-open] { display: none; }

/* ---------- Back to top ---------- */
.rw-totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--rw-dark); color: #fff; font-size: 20px; box-shadow: var(--rw-shadow-lg); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background-color .2s; }
.rw-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.rw-totop:hover { background: var(--rw-gold); color: var(--rw-dark); }
.rw-no-js .rw-totop { display: none; }

/* ---------- Cookie banner ---------- */
.rw-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; }
.rw-consent[hidden] { display: none; }
.rw-consent-box { max-width: 560px; padding: 20px 22px; border: 1px solid var(--rw-line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(10, 16, 22, .22); }
.rw-consent-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; color: var(--rw-dark); }
.rw-consent-title .rw-i { color: var(--rw-gold); }
.rw-consent-text { margin: 0 0 16px; font-size: .92rem; color: var(--rw-muted); }
/* Three buttons of the same shape, size and weight (1.17.0): no choice is pushed */
.rw-consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rw-btn.rw-consent-btn { min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--rw-dark); border-radius: 999px; background: #fff; color: var(--rw-dark); font-size: .92rem; font-weight: 600; box-shadow: none; white-space: nowrap; }
.rw-btn.rw-consent-btn:hover, .rw-btn.rw-consent-btn:focus-visible { border-color: var(--rw-gold); background: var(--rw-gold-tint); color: var(--rw-dark); }
.rw-btn.rw-consent-btn[aria-expanded="true"] { border-color: var(--rw-gold); background: var(--rw-gold-tint); }
.rw-consent-prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.rw-consent-prefs[hidden] { display: none; }
.rw-consent-cat { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--rw-line); border-radius: 12px; cursor: pointer; }
.rw-consent-cat input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--rw-gold); }
.rw-consent-cat input:disabled { opacity: .6; }
.rw-consent-cat span { display: grid; gap: 2px; }
.rw-consent-cat strong { color: var(--rw-dark); font-size: .92rem; }
.rw-consent-cat small { color: var(--rw-muted); font-size: .84rem; line-height: 1.4; }
.rw-consent-save { justify-self: start; min-width: 160px; }
@media (max-width: 479px) {
    .rw-consent-actions { grid-template-columns: 1fr; }
    .rw-consent-save { justify-self: stretch; }
}
.rw-consent:not([hidden]) ~ .rw-totop { bottom: 18px; }
@media (min-width: 768px) {
    .rw-consent { left: 24px; right: auto; bottom: 24px; }
}

/* ---------- Search and 404 ---------- */
.rw-search { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px auto 0; max-width: 620px; }
.rw-search-ico { position: absolute; left: 16px; top: 15px; color: var(--rw-muted); pointer-events: none; }
.rw-search input { flex: 1 1 260px; min-height: 50px; padding: 12px 16px 12px 44px; border: 1px solid #cdd3da; border-radius: 999px; font: inherit; color: var(--rw-dark); }
.rw-search input:focus { border-color: var(--rw-gold); outline: 0; box-shadow: 0 0 0 4px rgba(164, 123, 44, .18); }
.rw-search .rw-btn { min-height: 50px; }
.rw-search-count { margin: 28px 0 8px; color: var(--rw-muted); }
.rw-results { margin: 0; padding: 0; list-style: none; }
.rw-results li { padding: 22px 0; border-bottom: 1px solid var(--rw-line); }
.rw-results .rw-eyebrow { margin-bottom: 6px; }
.rw-results h2 { margin: 0 0 6px; font-size: 1.25rem; }
.rw-results h2 a { color: var(--rw-dark); text-decoration: none; }
.rw-results h2 a:hover { color: var(--rw-gold-dark); }
.rw-results p { margin: 0; color: var(--rw-muted); }
.rw-notfound .rw-search { margin-bottom: 28px; }
.rw-notfound .rw-notfound-links { margin-top: 48px; }
.rw-notfound-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rw-notfound-links a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--rw-line); border-radius: 999px; background: #fff; color: var(--rw-dark); font-weight: 600; text-decoration: none; }
.rw-notfound-links a:hover { border-color: var(--rw-gold); color: var(--rw-gold-dark); }
.rw-notfound-links .rw-i { color: var(--rw-gold); }
.rw-search-page .rw-search-count, .rw-search-page .rw-empty { text-align: center; }

/* Legal pages: "Poslednja izmena: dd.mm.gggg" (date of the last save, shown automatically) */
.rw-updated { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: .9rem; color: var(--rw-muted); }
.rw-updated .rw-i { color: var(--rw-gold); }
.rw-container > .rw-updated { margin: 24px 0 0; }
/* Legal page in English (1.35.0): a translation, the Serbian version prevails */
.rw-legal-note { display: flex; align-items: flex-start; gap: 12px; max-width: calc(44em * 1.12); margin: 18px 0 0; padding: 14px 18px; border: 1px solid var(--rw-line); border-left: 3px solid var(--rw-gold); border-radius: var(--rw-radius-sm); background: var(--rw-soft); color: var(--rw-ink); }
.rw-legal-note .rw-i { flex: none; margin-top: 2px; color: var(--rw-gold-dark); font-size: 18px; }
.rw-legal-note p { margin: 0; font-size: .95rem; line-height: 1.5; }
/* The link in a row of its own under the text, 44 px high for a finger */
.rw-legal-note a { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-bottom: -10px; color: var(--rw-gold-dark); font-weight: 600; }
.rw-container > .rw-legal-note { margin-top: 24px; }
@media (max-width: 767px) {
    .rw-legal-note { padding: 12px 14px; }
    .rw-legal-note p { font-size: 14px; }
}

/* Focal point of an image (Mediji → slika → Tačka isecanja, version 1.10.0): kept in view when the image is cropped (object-fit: cover). Classes from App\Libraries\Media\ImageSpecs::focalClass(). */
img.rw-fp { object-position: var(--rw-fx, 50%) var(--rw-fy, 50%) !important; }
.rw-fx-0{--rw-fx:0%}.rw-fx-5{--rw-fx:5%}.rw-fx-10{--rw-fx:10%}.rw-fx-15{--rw-fx:15%}.rw-fx-20{--rw-fx:20%}.rw-fx-25{--rw-fx:25%}.rw-fx-30{--rw-fx:30%}.rw-fx-35{--rw-fx:35%}.rw-fx-40{--rw-fx:40%}.rw-fx-45{--rw-fx:45%}.rw-fx-50{--rw-fx:50%}.rw-fx-55{--rw-fx:55%}.rw-fx-60{--rw-fx:60%}.rw-fx-65{--rw-fx:65%}.rw-fx-70{--rw-fx:70%}.rw-fx-75{--rw-fx:75%}.rw-fx-80{--rw-fx:80%}.rw-fx-85{--rw-fx:85%}.rw-fx-90{--rw-fx:90%}.rw-fx-95{--rw-fx:95%}.rw-fx-100{--rw-fx:100%}
.rw-fy-0{--rw-fy:0%}.rw-fy-5{--rw-fy:5%}.rw-fy-10{--rw-fy:10%}.rw-fy-15{--rw-fy:15%}.rw-fy-20{--rw-fy:20%}.rw-fy-25{--rw-fy:25%}.rw-fy-30{--rw-fy:30%}.rw-fy-35{--rw-fy:35%}.rw-fy-40{--rw-fy:40%}.rw-fy-45{--rw-fy:45%}.rw-fy-50{--rw-fy:50%}.rw-fy-55{--rw-fy:55%}.rw-fy-60{--rw-fy:60%}.rw-fy-65{--rw-fy:65%}.rw-fy-70{--rw-fy:70%}.rw-fy-75{--rw-fy:75%}.rw-fy-80{--rw-fy:80%}.rw-fy-85{--rw-fy:85%}.rw-fy-90{--rw-fy:90%}.rw-fy-95{--rw-fy:95%}.rw-fy-100{--rw-fy:100%}

/* ---------- "Najnovije sa bloga" on the home page (1.10.0) ---------- */
.rw-latest-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 0 0 24px; }
.rw-latest-head .rw-heading { margin: 0; text-align: left; }
.rw-latest-kicker, .rwr-kicker { margin: 0 0 6px; color: var(--rw-gold-dark); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rw-latest-all { min-height: 44px; }
.rw-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rw-latest-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: #fff; transition: transform .22s, box-shadow .22s, border-color .22s; }
.rw-latest-card:hover { border-color: rgba(164, 123, 44, .45); }
.rw-latest-card:has(h3 a:focus-visible), .rw-latest-card:has(.rw-h3 a:focus-visible) { outline: 3px solid var(--rw-gold); outline-offset: 2px; }
.rw-latest-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rw-soft); }
.rw-latest-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rw-latest-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--rw-gold); font-size: 28px; }
.rw-latest-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.rw-latest-cat { align-self: flex-start; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: .78rem; font-weight: 700; }
.rw-latest-body h3, .rw-latest-body .rw-h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.rw-latest-body h3 a, .rw-latest-body .rw-h3 a { color: var(--rw-dark); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rw-latest-body h3 a::after, .rw-latest-body .rw-h3 a::after { content: ""; position: absolute; inset: 0; }
.rw-latest-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 6px; color: var(--rw-muted); font-size: .875rem; }
@media (max-width: 1023px) {
    .rw-latest-grid { gap: 16px; }
    .rw-latest-body { padding: 14px 16px 16px; }
}
@media (max-width: 767px) {
    .rw-latest-head { margin-bottom: 16px; }
    .rw-latest-head > div { width: 100%; }
    .rw-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .rw-latest-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
    .rw-latest-grid > :last-child:nth-child(odd) .rw-latest-img { flex: 0 0 40%; aspect-ratio: auto; min-height: 120px; }
    .rw-latest-body { gap: 6px; padding: 12px; }
    .rw-latest-body h3, .rw-latest-body .rw-h3 { font-size: .95rem; }
    .rw-latest-meta { font-size: .875rem; }
    .rw-latest-all { order: 2; }
}

/* ---------- Animacije (1.11.0) ----------
   Each effect works only with its class on <html> (Podešavanja → Izgled →
   Animacije, App\Libraries\Site\Animations) and only when the visitor's
   system does not ask for reduced motion. site.js adds the states
   (rw-reveal / is-in, rw-lqip-wait); without it nothing is hidden. */
@media screen and (prefers-reduced-motion: no-preference) {
    /* Sections below the first screen fade in and rise once */
    .rw-fx-reveal .rw-reveal { opacity: 0; transform: translate3d(0, 18px, 0); }
    .rw-fx-reveal .rw-reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .65, .3, 1); }

    /* Soft images: the tiny blurred version, then the sharp image */
    .rw-fx-images img.rw-lqip { background-size: cover; background-position: center; clip-path: inset(0); transition: filter .4s ease-out; }
    .rw-fx-images img.rw-lqip-wait { filter: blur(12px); }

    /* Tech motif: the grid of the admin login drifts slowly on dark sections */
    .rw-fx-motif .rw-block-cta-form, .rw-fx-motif .rw-block-shared-cta { isolation: isolate; }
    .rw-fx-motif .rw-block-cta-form::before, .rw-fx-motif .rw-block-shared-cta::before {
        content: ""; position: absolute; inset: -40px; z-index: -1; pointer-events: none;
        background-image:
            linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
        background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
        -webkit-mask-image: linear-gradient(160deg, #000 20%, transparent 85%); mask-image: linear-gradient(160deg, #000 20%, transparent 85%);
        animation: rw-drift 28s ease-in-out infinite alternate;
    }

    .rw-fx-motif .rw-mode-grid { inset: -40px; animation: rw-drift 28s ease-in-out infinite alternate; }

    /* Icons of the solution strip and of cards move a little on hover */
    .rw-fx-icons .rwr-strip-ico, .rw-fx-icons .rwr-sol-ico, .rw-fx-icons .rw-card-icon { transition: transform .3s cubic-bezier(.2, .65, .3, 1), background-color .2s; }
}
@media screen and (prefers-reduced-motion: no-preference) and (hover: hover) {
    /* Cards rise with a shadow on hover, their image zooms a little */
    .rw-fx-cards .rw-entry-card:hover, .rw-fx-cards .rw-latest-card:hover, .rw-fx-cards .rwr-sol-card:hover { box-shadow: var(--rw-shadow-lg); transform: translateY(-4px); }
    .rw-fx-cards .rw-card:hover { box-shadow: var(--rw-shadow-lg); transform: translateY(-3px); }
    .rw-fx-cards .rw-entry-card:hover .rw-entry-img img, .rw-fx-cards .rw-latest-card:hover .rw-latest-img img { transform: scale(1.05); }

    .rw-fx-icons .rwr-strip-item:hover .rwr-strip-ico, .rw-fx-icons .rwr-strip-item:focus-visible .rwr-strip-ico { transform: scale(1.08); }
    .rw-fx-icons .rwr-sol-card:hover .rwr-sol-ico, .rw-fx-icons .rw-card:hover .rw-card-icon { transform: translateY(-2px) rotate(-6deg); }
}
@keyframes rw-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(32px, 24px, 0); } }

/* Counting numbers keep the width of the final number (nothing jumps) */
.rw-count-up { display: inline-block; font-variant-numeric: tabular-nums; text-align: inherit; }

/* ---------- Search window (1.13.0; search.js) ---------- */

html.rw-pal-on { overflow: hidden; }
.rw-pal { width: min(680px, calc(100vw - 32px)); max-width: none; max-height: min(640px, calc(100vh - 96px)); margin: 72px auto auto; padding: 0; border: 1px solid var(--rw-line); border-radius: 18px; background: #fff; color: var(--rw-ink); box-shadow: var(--rw-shadow-lg); overflow: hidden; }
.rw-pal[open] { display: flex; flex-direction: column; }
.rw-pal::backdrop { background: rgba(10, 16, 22, .55); }
@supports (backdrop-filter: blur(4px)) { .rw-pal::backdrop { backdrop-filter: blur(3px); } }
.rw-pal-form { position: relative; display: flex; align-items: center; gap: 10px; flex: none; padding: 0 14px 0 18px; border-bottom: 1px solid var(--rw-line); }
.rw-pal-lens { display: inline-flex; color: var(--rw-gold-dark); font-size: 1.25rem; }
.rw-pal-input { flex: 1 1 auto; min-width: 0; height: 62px; padding: 0; border: 0; background: transparent; color: var(--rw-dark); font: inherit; font-size: 1.1rem; outline: 0; }
.rw-pal-input::placeholder { color: #8a939d; }
.rw-pal-input::-webkit-search-cancel-button { display: none; }
.rw-pal-busy { width: 18px; height: 18px; flex: none; border: 2px solid var(--rw-gold-soft); border-top-color: var(--rw-gold); border-radius: 50%; animation: rw-pal-spin .7s linear infinite; }
.rw-pal-busy[hidden] { display: none; }
@keyframes rw-pal-spin { to { transform: rotate(360deg); } }
.rw-pal-close { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--rw-muted); font: inherit; cursor: pointer; }
.rw-pal-esc { padding: 2px 7px; border: 1px solid var(--rw-line); border-radius: 6px; background: var(--rw-soft); font-size: .74rem; font-weight: 600; }
.rw-pal-close:hover .rw-pal-esc, .rw-pal-close:focus-visible .rw-pal-esc { border-color: var(--rw-gold); color: var(--rw-dark); }
.rw-pal-x { display: none; font-size: 1.3rem; }
.rw-pal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 10px 12px; }
.rw-pal-start[hidden], .rw-pal-found[hidden], .rw-pal-group[hidden], .rw-pal-msg[hidden] { display: none; }
.rw-pal-group + .rw-pal-group { margin-top: 6px; }
.rw-pal-ghead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rw-pal-gtitle { margin: 0; padding: 10px 10px 6px; color: var(--rw-muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rw-pal-gtitle span { margin-left: 4px; color: var(--rw-gold-dark); }
.rw-pal-clear { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--rw-gold-dark); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.rw-pal-clear:hover { color: var(--rw-dark); text-decoration: underline; }
.rw-pal-list { margin: 0; padding: 0; list-style: none; }
.rw-pal-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 9px 10px; border-radius: 12px; color: var(--rw-ink); text-decoration: none; scroll-margin: 8px; }
.rw-pal-item.is-active, .rw-pal-item:focus-visible { background: var(--rw-gold-tint); outline: 0; box-shadow: inset 0 0 0 1px rgba(164, 123, 44, .35); }
.rw-pal-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: 1.05rem; }
.rw-pal-item.is-active .rw-pal-ico { background: var(--rw-gold); color: #fff; }
.rw-pal-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 2px; }
.rw-pal-text strong { overflow: hidden; color: var(--rw-dark); font-size: .97rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.rw-pal-text span { display: -webkit-box; overflow: hidden; color: var(--rw-muted); font-size: .86rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rw-pal mark, .rw-results mark { padding: 0 1px; border-radius: 3px; background: rgba(210, 174, 102, .35); color: inherit; }
.rw-pal-go { display: inline-flex; flex: none; color: var(--rw-gold-dark); opacity: 0; transition: opacity .15s; }
.rw-pal-item.is-active .rw-pal-go { opacity: 1; }
.rw-pal-popular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.rw-pal-all { margin-top: 6px; border-top: 1px solid var(--rw-line); border-radius: 0 0 12px 12px; }
.rw-pal-all strong { color: var(--rw-gold-dark); }
.rw-pal-msg { margin: 0; padding: 18px 10px; color: var(--rw-muted); text-align: center; }
.rw-pal-msg:empty { display: none; }
.rw-pal-none { padding: 18px 10px 8px; text-align: center; }
.rw-pal-none p { margin: 0 0 10px; color: var(--rw-muted); }
.rw-pal-none .rw-pal-none-title { color: var(--rw-dark); font-size: 1.02rem; font-weight: 600; }
.rw-pal-try { font-size: .88rem; }
.rw-pal-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.rw-pal-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rw-line); border-radius: 999px; color: var(--rw-ink); font-weight: 600; text-decoration: none; }
.rw-pal-chip:hover, .rw-pal-chip.is-active { border-color: var(--rw-gold); background: var(--rw-gold-tint); outline: 0; }
.rw-pal-ask { margin-top: 8px; padding: 16px; border-radius: 14px; background: var(--rw-soft); }
.rw-pal-ask .rw-btn.is-active { box-shadow: 0 0 0 3px rgba(164, 123, 44, .3); }
.rw-pal-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; flex: none; padding: 10px 18px; border-top: 1px solid var(--rw-line); background: var(--rw-soft); color: var(--rw-muted); font-size: .8rem; }
.rw-pal-foot kbd { display: inline-block; min-width: 22px; margin-right: 3px; padding: 1px 5px; border: 1px solid var(--rw-line); border-radius: 5px; background: #fff; color: var(--rw-ink); font: inherit; font-size: .74rem; font-weight: 600; text-align: center; }
@media screen and (prefers-reduced-motion: no-preference) {
    .rw-pal[open] { animation: rw-pal-in .2s ease-out; }
    @keyframes rw-pal-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
}
@media (max-width: 767px) {
    /* Phones: the window covers the whole screen */
    .rw-pal { width: 100%; height: 100%; max-height: none; margin: 0; border: 0; border-radius: 0; }
    .rw-pal[open] { height: 100dvh; }
    .rw-pal-form { padding: 0 6px 0 14px; }
    .rw-pal-input { height: 58px; font-size: 1rem; }
    .rw-pal-esc { display: none; }
    .rw-pal-x { display: inline-flex; }
    .rw-pal-popular { grid-template-columns: 1fr; }
    .rw-pal-foot { display: none; }
    .rw-pal-body { padding: 6px 8px 24px; }
}

/* Search page */
.rw-chip-n { margin-left: 4px; color: var(--rw-gold-dark); font-weight: 700; }
.rw-chip[aria-current] .rw-chip-n { color: var(--rw-gold-light); }
.rw-search-chips { justify-content: center; margin: 4px 0 8px; }
.rw-result-group { margin-top: 28px; }
.rw-result-gtitle { margin: 0 0 4px; color: var(--rw-muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rw-result-gtitle span { margin-left: 4px; color: var(--rw-gold-dark); }
.rw-results .rw-result { display: flex; gap: 16px; padding: 18px 0; }
.rw-result-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: 1.15rem; }
.rw-results h3 { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.35; }
.rw-results h3 a { color: var(--rw-dark); text-decoration: none; }
.rw-results h3 a:hover { color: var(--rw-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.rw-search-none { margin-top: 12px; text-align: center; color: var(--rw-muted); }
.rw-search-suggest { justify-content: center; margin: 0 0 24px; padding: 0; list-style: none; }
.rw-search-ask { max-width: 520px; margin: 0 auto; padding: 22px; border-radius: var(--rw-radius); background: var(--rw-soft); }
.rw-search-ask p { margin: 0 0 14px; }
@media (max-width: 767px) {
    .rw-search-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
    .rw-search-chips .rw-chip { flex: none; }
    .rw-results .rw-result { gap: 12px; padding: 14px 0; }
    .rw-result-ico { width: 36px; height: 36px; font-size: 1rem; }
}

/* Form check (form-check.js, 1.13.0): the message below a field instead of the browser's bubble */
.rw-check-msg, .rw-form-error:not([hidden]) { display: flex; align-items: flex-start; gap: 6px; }
.rw-check-msg { margin: 6px 0 0; color: #B42318; font-size: .86rem; font-weight: 600; line-height: 1.4; }
.rw-check-msg::before, .rw-form-error:not([hidden])::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: #D92D20; color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; }
.rw-check-msg[hidden] { display: none; }
.rw-site .rw-is-invalid, .rw-site [aria-invalid="true"] { border-color: #D92D20; }
.rw-search .rw-check-msg { flex-basis: 100%; padding-left: 18px; }

/* ---------- Blog (1.13.0): chips, "Učitaj još", cards; article: progress, share, newsletter ---------- */
.rw-blog-chips .rw-chip { transition: border-color .15s, background-color .15s, color .15s; }
.rw-blog-list { transition: opacity .2s; }
.rw-blog-list.is-loading { opacity: .45; pointer-events: none; }
.rw-blog-more-wrap { display: flex; justify-content: center; margin: 36px 0 0; }
.rw-blog-more { min-width: 200px; }
.rw-blog-more.is-loading { opacity: .6; pointer-events: none; }
.rw-blog-error { margin: 20px 0 0; color: #B42318; font-weight: 600; text-align: center; }
.rw-featured-badge { display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: var(--rw-gold); color: var(--rw-dark); font-size: .72rem; letter-spacing: .04em; }
.rw-blog .rw-entry-card { transition: box-shadow .3s, border-color .3s, transform .3s; }
.rw-blog .rw-entry-card h3 a, .rw-blog .rw-entry-card .rw-h3 a { transition: color .2s; }
.rw-blog .rw-entry-card .rw-more::after { display: inline-block; transition: transform .2s; }
@media (hover: hover) {
    .rw-blog .rw-entry-card:hover { border-color: rgba(164, 123, 44, .45); box-shadow: var(--rw-shadow-lg); }
    .rw-blog .rw-entry-card:hover h3 a, .rw-blog .rw-entry-card:hover .rw-h3 a { color: var(--rw-gold-dark); }
}
@media screen and (prefers-reduced-motion: no-preference) {
    .rw-blog-new { animation: rw-blog-in .4s ease-out both; }
    @keyframes rw-blog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
.rw-featured { position: relative; }
@media (min-width: 1024px) {
    .rw-featured { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .rw-featured-img { min-height: 420px; }
    .rw-featured-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
}

/* Reading progress (top of the screen) */
.rw-progress { position: fixed; inset: 0 0 auto; z-index: 70; height: 3px; background: transparent; pointer-events: none; }
.rw-progress[hidden] { display: none; }
.rw-progress-bar { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--rw-gold), var(--rw-gold-light)); transform: scaleX(0); transform-origin: 0 50%; }

/* Table of contents: the heading being read is marked */
.rw-toc a { display: block; padding: 3px 0 3px 12px; margin-left: -12px; border-left: 2px solid transparent; transition: color .15s, border-color .15s; }
.rw-toc a.is-current { border-left-color: var(--rw-gold); color: var(--rw-dark); font-weight: 600; }
.rw-toc ol { list-style: none; padding-left: 30px; }

/* Share */
.rw-share { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.rw-share-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rw-share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--rw-line); border-radius: 999px; background: #fff; color: var(--rw-ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.rw-share-btn[hidden] { display: none; }
.rw-share-btn .rw-i { font-size: 1.05rem; }
.rw-share-btn:hover, .rw-share-btn:focus-visible { border-color: var(--rw-gold); color: var(--rw-gold-dark); }
.rw-share-in, .rw-share-fb { width: 44px; padding: 0; }
.rw-share-copy-text { display: none; }
.rw-share-ico-done { display: none; }
.rw-share-copy.is-done { border-color: #12B76A; color: #067647; }
.rw-share-copy.is-done .rw-share-ico-link { display: none; }
.rw-share-copy.is-done .rw-share-ico-done { display: inline-flex; }
.rw-post-head .rw-share { justify-content: flex-start; }
.rw-share-labeled { flex-wrap: wrap; justify-content: space-between; max-width: 720px; margin: 32px 0 0; padding: 18px 20px; border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: var(--rw-soft); }
.rw-share-labeled .rw-share-copy-text { display: inline; }
.rw-share-title { margin: 0; color: var(--rw-dark); font-weight: 700; }
.rw-post-has-toc .rw-share-labeled { max-width: none; }

/* Newsletter in the middle of a longer article */
.rw-post-newsletter { margin: 32px 0; padding: 24px; border: 1px solid rgba(164, 123, 44, .3); border-radius: var(--rw-radius); background: var(--rw-gold-tint); }
.rw-post-body .rw-post-newsletter .rw-block, .rw-post-body .rw-post-newsletter .rw-container { max-width: none; margin: 0; padding: 0; background: transparent; }
.rw-post-newsletter .rw-newsletter { display: grid; gap: 14px; color: var(--rw-ink); }
.rw-post-newsletter .rw-newsletter h2 { margin: 0 0 4px; color: var(--rw-dark); font-size: 1.25rem; }
.rw-post-newsletter .rw-newsletter p { margin: 0; color: var(--rw-muted); opacity: 1; }
@media (max-width: 767px) {
    .rw-blog-more-wrap { margin-top: 24px; }
    .rw-blog-more { width: 100%; }
    .rw-post-newsletter { margin: 24px 0; padding: 18px; }
    .rw-share-labeled { padding: 14px 16px; }
}

/* ---------- Dynamic placeholders (1.18.0) ----------
   {{lista_kolacica}}: cookie tables by category; on a phone every row is a
   small card (name, purpose, duration under each other). In the admin
   preview the placeholders are marked (.rw-ph), unknown ones in red. */
.rw-cookie-list { margin: 1.2em 0; }
.rw-cookie-list h3 { margin: 1.4em 0 .6em; }
.rw-cookie-list h3:first-child { margin-top: 0; }
.rw-cookie-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rw-cookie-table th, .rw-cookie-table td { padding: 10px 12px; border-bottom: 1px solid var(--rw-line); text-align: left; vertical-align: top; }
.rw-cookie-table th { background: var(--rw-soft); font-weight: 600; }
.rw-cookie-table td:first-child { white-space: nowrap; }
.rw-cookie-table td:last-child { min-width: 7.5em; }
.rw-cookie-table code { font-size: .9em; color: var(--rw-gold-dark); }
@media (max-width: 767px) {
    .rw-cookie-table thead { display: none; }
    .rw-cookie-table, .rw-cookie-table tbody, .rw-cookie-table tr, .rw-cookie-table td { display: block; width: 100%; }
    .rw-cookie-table tr { margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--rw-line); border-radius: var(--rw-radius-sm); }
    .rw-cookie-table td, .rw-cookie-table td:first-child { min-width: 0; padding: 4px 0; border: 0; font-size: 14px; white-space: normal; }
    .rw-cookie-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--rw-muted); }
}
.rw-ph { padding: 0 3px; border-radius: 4px; background: var(--rw-gold-soft); color: inherit; box-shadow: inset 0 -2px 0 var(--rw-gold-light); }
.rw-ph-block { display: block; padding: 8px 12px; outline: 2px dashed var(--rw-gold-light); outline-offset: 4px; box-shadow: none; background: var(--rw-gold-tint); }
.rw-ph-unknown, .rw-ph-empty { background: #FDE8E8; color: #9B1C1C; box-shadow: inset 0 -2px 0 #F05252; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }

/* ---------- Account window in the header (1.27.0) ----------
   Client sign-in through the portal, the menu of a signed in client and,
   for a signed in admin, the admin part. Phones: over the whole screen. */
.rw-account { position: relative; flex: none; }
.rw-account [hidden] { display: none !important; }
.rw-account-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--rw-line); border-radius: 999px; background: #fff; color: var(--rw-dark); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s; }
.rw-account-btn .rw-i { font-size: 18px; }
.rw-account-btn:hover, .rw-account.is-open .rw-account-btn { border-color: var(--rw-gold); background: var(--rw-gold-tint); }
.rw-account-btn:focus-visible { outline: 2px solid var(--rw-gold); outline-offset: 2px; }
.rw-account-name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-account-dot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--rw-gold); }
.rw-account-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 340px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 22px; border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: #fff; color: var(--rw-ink); box-shadow: var(--rw-shadow-lg); text-align: left; }
.rw-account-close { display: none; }
.rw-account-title { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--rw-dark); }

.rw-account-sub { margin: 2px 0 0; color: var(--rw-muted); font-size: .92rem; }
.rw-account-form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.rw-account-form label { font-size: .86rem; font-weight: 600; color: var(--rw-dark); }
.rw-account-input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--rw-line); border-radius: var(--rw-radius-sm); background: #fff; color: var(--rw-dark); font: inherit; font-size: 1rem; }
.rw-account-input:focus { border-color: var(--rw-gold); outline: 2px solid var(--rw-gold-soft); }
.rw-account-pass { position: relative; display: block; }
.rw-account-pass .rw-account-input { padding-right: 52px; }
.rw-account-eye { position: absolute; top: 50%; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--rw-muted); cursor: pointer; transform: translateY(-50%); }
.rw-account-eye[aria-pressed="true"] { color: var(--rw-gold-dark); }
.rw-account-forgot { align-self: flex-start; display: inline-flex; align-items: center; min-height: 36px; font-size: .9rem; font-weight: 600; }
.rw-account-submit, .rw-account-continue, .rw-account-main { width: 100%; }
.rw-account-submit { margin-top: 4px; }
.rw-account-form.is-sending .rw-account-submit { opacity: .7; cursor: progress; }
.rw-account-error { margin: 0; padding: 10px 12px; border-radius: var(--rw-radius-sm); background: #FDECEA; color: #8A1C12; font-size: .92rem; line-height: 1.45; }
.rw-account-note { margin: 4px 0 0; color: var(--rw-muted); font-size: .86rem; }
.rw-account-main { margin-top: 16px; }
.rw-account-menu { margin: 8px 0 0; padding: 0; list-style: none; }
.rw-account-menu a, .rw-account-link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--rw-ink); font: inherit; font-size: .95rem; text-align: left; text-decoration: none; cursor: pointer; }
.rw-account-menu a:hover, .rw-account-link:hover { background: var(--rw-soft); color: var(--rw-dark); }
.rw-account-menu .rw-i, .rw-account-link .rw-i { flex: none; color: var(--rw-gold-dark); }
.rw-account-logout { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--rw-line); }
.rw-account-admin { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rw-line); }
.rw-account-close + .rw-account-admin { margin-top: 0; padding-top: 0; border-top: 0; }
.rw-account-label { display: flex; align-items: center; gap: 6px; margin: 0 0 2px; color: var(--rw-muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rw-account-badge { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.rw-account-badge.rw-mode-active { background: var(--rw-soft); color: var(--rw-ink); }
/* 1.32.0: a compact menu — the same height for every item (44 px, for a finger),
   sections divided by a line, no big buttons ("Moj RAROG" is in the header) */
.rw-account.is-client .rw-account-panel, .rw-account.is-admin .rw-account-panel { width: 300px; padding: 16px 14px 10px; }
.rw-account.is-client .rw-account-who, .rw-account.is-admin .rw-account-who { padding: 0 8px 10px; }
.rw-account.is-client .rw-account-title, .rw-account.is-admin .rw-account-title { font-size: 1rem; }
.rw-account.is-client .rw-account-sub, .rw-account.is-admin .rw-account-sub { font-size: .86rem; }
.rw-account-admin, .rw-account-portal { margin-top: 0; padding-top: 8px; border-top: 1px solid var(--rw-line); }
.rw-account-who + .rw-account-admin, .rw-account-who + .rw-account-portal { margin-top: 0; }
.rw-account-admin .rw-account-label, .rw-account-portal .rw-account-label { margin: 2px 8px 2px; font-size: .72rem; }
.rw-account-admin .rw-account-menu, .rw-account-portal .rw-account-menu { margin: 0 0 6px; }
.rw-account-menu a, .rw-account-link { height: 44px; padding: 0 8px; font-size: .92rem; line-height: 1.2; white-space: nowrap; }
.rw-account-menu a { overflow: hidden; text-overflow: ellipsis; }
.rw-account-logout { margin: 0; padding-top: 6px; }
@media (max-width: 767px) {
    .rw-account.is-client .rw-account-panel, .rw-account.is-admin .rw-account-panel { width: auto; padding: 64px 16px 24px; }
}
.rw-toast { position: fixed; bottom: 24px; left: 50%; z-index: 95; max-width: calc(100% - 32px); margin: 0; padding: 12px 20px; border-radius: 12px; background: var(--rw-dark); color: #fff; font-size: .95rem; font-weight: 600; box-shadow: var(--rw-shadow-lg); transform: translateX(-50%); }

.rw-account-backdrop { display: none; }
/* Phones: a panel over the dimmed page, "X" in the top right corner (44 px).
   While it is open the header goes above everything else (holiday bar, cookie
   bar): the window lives in the header, whose z-index decides what covers it. */
@media (max-width: 767px) {
    .rw-account-name { max-width: 6.5em; }
    body.rw-account-open .rwr-head { z-index: 100; }
    body.rw-account-open { overflow: hidden; }
    .rw-account-backdrop { position: fixed; inset: 0; z-index: 89; display: block; background: rgba(10, 16, 22, .6); }
    .rw-account-panel { position: fixed; top: 0; right: 0; bottom: auto; left: 0; z-index: 90; width: auto; max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: 64px 20px 28px; border: 0; border-radius: 0 0 18px 18px; box-shadow: var(--rw-shadow-lg); }
    .rw-account-close { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--rw-soft); color: var(--rw-dark); font-size: 20px; cursor: pointer; }
    .rw-account-close:hover { background: var(--rw-gold-soft); }
    .rw-account-close:focus-visible { outline: 2px solid var(--rw-gold); outline-offset: 2px; }
    .rw-account-close + .rw-account-admin { margin-top: 0; }
}

/* ---------- Holidays (1.30.0, Izgled → Praznici) ----------
   A thin bar on top of the site: a light golden one for a greeting, a dark
   one for a commemoration.
   On a non-working day Kontakt and Korisnička podrška get a note in the
   intro (1.34.0): a light warm card in the tone of the intro, a thin Rarog
   Gold line on the left, the sign (28 px) left of the text, aligned with
   the bold name; a commemoration has a calm grey card with a dark line.
   The sign and the text stay side by side on phones. */
.rw-holiday { position: relative; z-index: 51; background: var(--rw-gold-tint); color: var(--rw-dark); border-bottom: 1px solid var(--rw-gold-soft); }
.rw-holiday.is-commemorate { background: var(--rw-dark); color: #E8ECF0; border-bottom-color: rgba(255, 255, 255, .08); }
.rw-holiday-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
.rw-holiday .rw-holiday-motif { flex: none; width: 26px; height: 26px; }
.rw-holiday-text { flex: 1; margin: 0; font-size: .92rem; font-weight: 500; line-height: 1.4; }
.rw-holiday-hours { display: inline-block; margin-left: 6px; opacity: .8; font-weight: 400; }

.rw-holiday-card { display: flex; align-items: flex-start; gap: 14px; color: var(--rw-ink); }
.rw-holiday-card .rw-holiday-motif { flex: none; width: 28px; height: 28px; }
.rw-holiday-card-title { color: var(--rw-dark); font-weight: 700; }
.rw-holiday-note { max-width: calc(44em * 1.12); margin: 18px 0 0; padding: 18px 22px; border: 1px solid var(--rw-gold-soft); border-left: 3px solid var(--rw-gold); border-radius: var(--rw-radius-sm); background: var(--rw-gold-tint); }
.rw-holiday-note.is-commemorate { border-color: var(--rw-line); border-left-color: var(--rw-dark); background: var(--rw-soft); }
.rw-holiday-card-body { flex: 1; min-width: 0; }
.rw-holiday-note p { margin: 0; font-size: .95rem; line-height: 1.5; }
.rw-holiday-note .rw-holiday-card-title { margin: 2px 0 2px; line-height: 24px; }
.rw-holiday-note a { color: var(--rw-gold-dark); font-weight: 600; white-space: nowrap; }
.rw-holiday-note .rw-holiday-hours { display: block; margin: 4px 0 0; opacity: 1; color: var(--rw-muted); }
.rw-holiday-note-wrap .rw-holiday-note { margin-top: 24px; }
@media (max-width: 767px) {
    .rw-holiday-inner { gap: 10px; }
    .rw-holiday .rw-holiday-motif { width: 22px; height: 22px; }
    .rw-holiday-text { font-size: 14px; }
    .rw-holiday-hours { display: block; margin-left: 0; }
    .rw-holiday-card { gap: 12px; }
    .rw-holiday-note { margin-top: 14px; padding: 14px 16px; }
    .rw-holiday-note p { font-size: 14px; }
}

/* ---------- Sign of a holiday next to the logo (1.32.0, Izgled → Praznici) ----------
   Placed over the corner of the logo area, so the header keeps its layout. */
.rw-brand.has-mark { position: relative; }
.rw-brand-mark { position: absolute; top: 50%; right: -20px; width: 18px; height: 18px; margin-top: -16px; pointer-events: none; }
.rw-brand-mark .rw-holiday-motif { display: block; width: 18px; height: 18px; }
@media (max-width: 767px) {
    .rw-brand-mark { right: -16px; width: 15px; height: 15px; margin-top: -14px; }
    .rw-brand-mark .rw-holiday-motif { width: 15px; height: 15px; }
}

/* 1.40.0: note next to the contact forms of the Russian version
   ("Пишите нам на русском, сербском или английском — мы ответим.") */
.rw-form-langnote { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--rw-muted); font-size: .9rem; line-height: 1.45; }
.rw-form-langnote .rw-i { flex: none; margin-top: 2px; color: var(--rw-gold-dark); font-size: 16px; }
@media (max-width: 767px) { .rw-form-langnote { font-size: 14px; } }
