/*
 * RAROG Web — theme "RAROG" (1.45.0: the only theme; until 1.44.0 "Portal",
 * next to "Klasična"). Loaded after site.css and the block CSS. Content and
 * blocks are styled by site.css and the block CSS; this file styles the frame
 * (top strip, header with the mega menu and the account window, help strip,
 * light footer) and the parts of the home page (slider, solution strip,
 * project tabs, banners). Brand: Rarog Gold #A47B2C, Rarog Dark #0A1016, Inter.
 * Mobile first; phone up to 767 px, tablet 768–1023 px, desktop from 1024 px
 * (the header menu becomes a row from 1200 px).
 */

.rw-site {
    --rw-radius: 20px;
    --rwr-radius-lg: 24px;
    --rwr-head-h: 64px;
    --rw-head-h: 64px;
    background: #fff;
}

/* ---------- Header ---------- */
.rwr-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rw-line); transition: box-shadow .2s; }
.rwr-head.is-scrolled { box-shadow: 0 8px 28px rgba(10, 16, 22, .08); }

/* Thin top strip (desktop); its links are at the bottom of the phone menu */
.rwr-top { display: none; background: var(--rw-dark); color: #c9d0d8; font-size: .82rem; }
.rwr-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.rwr-top-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.rwr-top-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #dfe3e8; font-weight: 500; text-decoration: none; }
.rwr-top-links a:hover { color: var(--rw-gold-light); }
.rwr-top-links .rw-i { color: var(--rw-gold-light); }
/* 1.43.0: the search link and the language switch are written once (.rwr-tools in the
   main row). Phones and tablets: their boxes give them to the row of actions (the
   switch first); computers: at the right end of the top strip, as before */
.rwr-tools { display: contents; }
.rwr-tools .rw-langs-box { order: -1; }
@media (min-width: 1200px) {
    .rwr-head .rwr-actions { position: static; }
    .rwr-tools { position: absolute; top: 0; right: max(20px, calc(50% - 600px)); z-index: 2; display: flex; align-items: center; gap: 16px; height: 36px; }
    .rwr-head.is-scrolled .rwr-tools { display: none; }
    .rwr-tools .rw-langs-box { order: 0; }
    .rwr-tools .rw-langs-toggle { color: #dfe3e8; }
    .rwr-tools .rw-langs-toggle .rw-i { color: var(--rw-gold-light); }
    .rwr-tools .rw-langs-toggle .rw-i:last-child { color: #9aa4ae; }
    .rwr-tools .rw-langs-toggle:hover, .rwr-tools .rw-langs[open] > .rw-langs-toggle { background: rgba(255, 255, 255, .08); }
    .rwr-tools .rwr-search-open { display: inline-flex; width: 32px; height: 30px; background: rgba(255, 255, 255, .08); color: #dfe3e8; font-size: 15px; transition: background-color .2s; }
    .rwr-tools .rwr-search-open:hover, .rwr-tools .rwr-search-open:focus-visible { background: rgba(255, 255, 255, .14); color: var(--rw-gold-light); }
}

/* Main row */
.rwr-main { display: flex; align-items: center; gap: 12px; min-height: var(--rwr-head-h); }
.rwr-main .rw-logo { height: 34px; }
.rwr-actions { position: relative; display: flex; align-items: center; gap: 8px; margin-left: auto; }

.rwr-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -6px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--rw-dark); cursor: pointer; }
.rwr-nav-toggle[aria-expanded="true"] .rw-burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.rwr-nav-toggle[aria-expanded="true"] .rw-burger span:nth-child(2) { opacity: 0; }
.rwr-nav-toggle[aria-expanded="true"] .rw-burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Phone and tablet menu: a panel below the header */
.rwr-nav-panel { position: fixed; inset: var(--rw-nav-top, var(--rwr-head-h)) 0 0; z-index: 49; display: none; flex-direction: column; gap: 18px; overflow-y: auto; padding: 8px 16px 28px; background: #fff; border-top: 1px solid var(--rw-line); }
.rwr-nav-panel.is-open { display: flex; }
.rwr-nav-list { margin: 0; padding: 0; list-style: none; }
.rwr-item { border-bottom: 1px solid var(--rw-line); }
.rwr-nav-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 52px; padding: 0 4px; border: 0; background: transparent; color: var(--rw-dark); font: inherit; font-size: 1.02rem; font-weight: 650; text-align: left; text-decoration: none; cursor: pointer; }
.rwr-nav-link .rw-i { color: var(--rw-gold); transition: transform .2s; }
.rwr-has-mega.is-open > .rwr-nav-link .rw-i { transform: rotate(180deg); }
.rwr-item.is-active > .rwr-nav-link { color: var(--rw-gold-dark); }

.rwr-mega { display: none; padding: 0 0 12px; }
.rwr-has-mega.is-open .rwr-mega { display: block; }
.rwr-mega-inner.rw-container { padding: 0; }
.rwr-mega-intro { display: none; }
/* 1.44.0: one measure for every item of a mega menu (every width): a grid of
   the 40 px icon and the text, 12 px apart, both centred (with "Opis u meniju" the block of
   two lines, 20 + 18 = 38 px, in the middle of the icon); padding 10px 12px; every item of
   a list the same height; the hover colour only changes the background */
.rwr-mega-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rwr-mega-list:has(.rwr-mega-sub) { grid-auto-rows: auto; }
.rwr-mega-list > li { display: flex; min-width: 0; flex-direction: column; }
.rwr-mega-link { display: grid; flex: 1 1 auto; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--rw-dark); text-decoration: none; transition: background-color .15s; }
.rwr-mega-link:hover, .rwr-mega-link:focus-visible, .rwr-mega-link[aria-current] { background: var(--rw-gold-tint); }
.rwr-mega-text { display: flex; min-width: 0; flex-direction: column; gap: 0; }
.rwr-mega-text strong { font-size: 15px; font-weight: 600; line-height: 20px; }
.rwr-mega-text span { display: none; color: var(--rw-muted); font-size: 13px; line-height: 18px; }
.rwr-mega-link:hover strong, .rwr-mega-link[aria-current] strong { color: var(--rw-gold-dark); }
.rwr-ico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: 19px; transition: background-color .15s, color .15s; }
.rwr-mega-link .rwr-ico, .rwr-mega-heading .rwr-ico { width: 40px; height: 40px; font-size: 20px; }
.rwr-mega-link .rwr-ico .rw-i, .rwr-mega-heading .rwr-ico .rw-i { width: 20px; height: 20px; }
.rwr-mega-link:hover .rwr-ico, .rwr-mega-link[aria-current] .rwr-ico { background: var(--rw-gold); color: #fff; }
.rwr-mega-heading { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 12px; font-size: 15px; font-weight: 700; line-height: 20px; color: var(--rw-dark); }
/* The sub-items under the name of their item: 12 + 40 + 12 px */
.rwr-mega-sub { margin: 0 0 6px; padding: 0 0 0 64px; list-style: none; }
.rwr-mega-sub a { display: flex; align-items: center; min-height: 44px; color: var(--rw-ink); text-decoration: none; }

.rwr-panel-foot { display: flex; flex-direction: column; gap: 14px; }
.rwr-panel-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rwr-panel-links a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 14px; background: var(--rw-soft); color: var(--rw-dark); font-weight: 600; font-size: .92rem; text-decoration: none; }
.rwr-panel-links .rw-i { color: var(--rw-gold); }
.rwr-panel-foot .rw-langs { align-self: flex-start; }
.rwr-panel-foot .rw-langs-toggle { min-height: 44px; padding: 0 12px; border: 1px solid var(--rw-line); }
.rwr-panel-foot .rw-langs-menu { top: auto; right: auto; bottom: calc(100% + 6px); left: 0; }
.rwr-panel-foot .rw-langs-item { min-height: 44px; }

/* User icon, account window and "Moj RAROG" */
.rwr-user { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 0 8px; 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; }
.rwr-user .rw-i { font-size: 18px; }
/* 36 px to the eye, 44 px to the finger */
.rwr-user::after, .rwr-btn-account::after { content: ""; position: absolute; inset: -4px; }
.rwr-user:hover, .rwr-account.is-open .rwr-user { border-color: var(--rw-gold); background: var(--rw-gold-tint); }
.rwr-user-name { max-width: 9em; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rwr-login { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(340px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--rw-line); border-radius: 18px; background: #fff; box-shadow: var(--rw-shadow-lg); }
.rwr-login[hidden] { display: none; }
.rwr-login-title { margin: 0 0 12px; color: var(--rw-dark); font-size: 1.08rem; font-weight: 700; }
.rwr-login-sub { margin: -8px 0 12px; color: var(--rw-muted); font-size: .9rem; }
.rwr-login-form { display: flex; flex-direction: column; }
.rwr-login-form label { margin: 0 0 4px; color: var(--rw-ink); font-size: .88rem; font-weight: 600; }
.rwr-input { width: 100%; min-height: 46px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid #cfd5dc; border-radius: 12px; background: #fff; color: var(--rw-dark); font: inherit; font-size: 1rem; }
.rwr-input:focus { border-color: var(--rw-gold); outline: 3px solid rgba(164, 123, 44, .2); outline-offset: 0; }
.rwr-forgot { display: inline-flex; align-items: center; align-self: flex-end; min-height: 32px; margin: -6px 0 10px; color: var(--rw-gold-dark); font-size: .88rem; font-weight: 600; }
.rwr-login-btn { width: 100%; }
.rwr-login-note { margin: 10px 0 0; color: var(--rw-muted); font-size: .82rem; line-height: 1.45; }
.rwr-login-menu { margin: 0; padding: 0; list-style: none; }
.rwr-login-menu a, .rwr-linkbtn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 8px; border: 0; border-radius: 12px; background: transparent; color: var(--rw-dark); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.rwr-login-menu a:hover, .rwr-linkbtn:hover { background: var(--rw-gold-tint); }
.rwr-login-menu .rw-i { color: var(--rw-gold); }

.rwr-btn-account { position: relative; gap: 6px; min-height: 36px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--rw-gold); color: var(--rw-dark); font-size: .85rem; font-weight: 650; box-shadow: none; }
.rwr-btn-account .rw-i { font-size: 16px; }
.rwr-btn-account:hover { background: var(--rw-gold-dark); color: #fff; }
@media (max-width: 479px) {
    /* Phones: the button shows only its icon (the text stays for screen readers) */
    .rwr-btn-account { width: 36px; padding: 0; }
    .rwr-btn-account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

@media (min-width: 1200px) {
    .rw-site { --rwr-head-h: 76px; --rw-head-h: 112px; }
    .rwr-top { display: block; }
    .rwr-head.is-scrolled .rwr-top { display: none; }
    .rwr-main { gap: 24px; }
    .rwr-main .rw-logo { height: 40px; }
    .rwr-nav-toggle, .rwr-panel-foot { display: none; }
    .rwr-nav-panel { position: static; display: flex; flex: 1 1 auto; flex-direction: row; align-items: stretch; gap: 0; overflow: visible; padding: 0; border: 0; background: transparent; }
    .rwr-nav { display: flex; flex: 1 1 auto; }
    .rwr-nav-list { display: flex; align-items: stretch; gap: 2px; }
    .rwr-item { position: static; border: 0; }
    .rwr-nav-link { position: relative; width: auto; height: var(--rwr-head-h); min-height: 0; padding: 0 14px; font-size: .97rem; font-weight: 600; }
    .rwr-nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--rw-gold); transform: scaleX(0); transition: transform .2s; }
    .rwr-nav-link:hover::after, .rwr-item.is-active > .rwr-nav-link::after, .rwr-has-mega.is-open > .rwr-nav-link::after { transform: scaleX(1); }
    .rwr-nav-link:hover, .rwr-has-mega.is-open > .rwr-nav-link { color: var(--rw-gold-dark); }

    .rwr-mega { position: absolute; left: 0; right: 0; top: 100%; display: block; padding: 0; background: #fff; border-top: 1px solid var(--rw-line); box-shadow: 0 28px 56px rgba(10, 16, 22, .14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
    .rwr-has-mega.is-open .rwr-mega,
    .rw-no-js .rwr-has-mega:hover .rwr-mega,
    .rw-no-js .rwr-has-mega:focus-within .rwr-mega { opacity: 1; visibility: visible; transform: none; }
    .rwr-mega-inner.rw-container { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; padding-top: 28px; padding-bottom: 32px; }
    .rwr-mega-intro { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--rwr-radius-lg); background: var(--rw-dark); color: #c9d0d8; }
    .rwr-mega-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rw-gold); color: var(--rw-dark); font-size: 24px; }
    .rwr-mega-title { margin: 6px 0 0; color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
    .rwr-mega-desc { margin: 0; font-size: .92rem; line-height: 1.55; }
    .rwr-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--rw-gold-light); font-weight: 650; text-decoration: none; }
    .rwr-more:hover { color: #fff; }
    /* align-self: start — not stretched to the height of the intro panel, so the equal rows
       are as tall as the tallest item, not shares of the extra space (1.42.3) */
    .rwr-mega-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; align-content: start; align-self: start; }
    .rwr-mega-text span { display: block; }
    .rwr-actions { margin-left: 0; gap: 10px; }
}

/* ---------- Slider ---------- */
.rwr-slider { position: relative; padding: 16px 0 0; overflow: hidden; }
.rwr-slider-viewport { overflow: hidden; }
.rwr-slider-track { display: flex; gap: 12px; touch-action: pan-y; will-change: transform; }
.rwr-slider-track.is-moving { transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
/* Izgled → Animacije → Slajder na početnoj off (1.34.0): the slide changes at once */
html:not(.rw-fx-slider) .rwr-slider-track.is-moving { transition: none; }
.rwr-slide { position: relative; display: flex; flex: 0 0 86vw; height: 300px; overflow: hidden; border-radius: var(--rwr-radius-lg); background: linear-gradient(135deg, var(--rw-dark) 0%, var(--rw-dark-3) 100%); color: #fff; user-select: none; transition: opacity .4s, transform .4s; }
.rwr-slider.is-ready:not(.is-single) .rwr-slide:not(.is-current) { transform: scale(.96); }
/* The neighbours are dimmed by a light layer over them, not by transparency of the
   text (1.34.0): the text itself keeps its contrast (WCAG AA) */
.rwr-slide::after { content: ""; position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; transition: opacity .4s; }
.rwr-slider.is-ready:not(.is-single) .rwr-slide:not(.is-current)::after { opacity: .5; }
.rwr-slide-media { position: absolute; inset: 0; }
.rwr-slide-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rwr-slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 22, .9) 0%, rgba(10, 16, 22, .55) 50%, rgba(10, 16, 22, .1) 100%); }
.rwr-slide-plain::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(164, 123, 44, .55) 0%, rgba(164, 123, 44, 0) 70%); }
.rwr-slide-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; width: 100%; max-width: 600px; padding: 22px 20px; }
.rwr-slide-title { display: block; margin: 0; color: #fff; font-weight: 700; font-size: 1.4rem; line-height: 1.18; letter-spacing: -.02em; }
.rwr-slide-copy { display: flex; flex-direction: column; gap: inherit; margin: 0; }
.rwr-slide-text { display: -webkit-box; margin: 0; overflow: hidden; color: #dfe3e8; font-size: .95rem; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.rwr-slide-btn { align-self: flex-start; min-height: 44px; padding: 10px 18px; }
/* Without JavaScript the slides are scrolled sideways */
/* Before the script (and without it) the first slide stands exactly where the
   slider centres it, so nothing moves when it starts (1.34.0, CLS) */
.rwr-slider { --rwr-slide-w: 86vw; --rwr-gap: 12px; }
.rwr-slider-track { position: relative; }
.rwr-slide.is-clone-before { position: absolute; top: 0; right: 100%; width: var(--rwr-slide-w); margin-right: var(--rwr-gap); }
/* Endless slider: the second copy before the first slide stands left of the first copy */
.rwr-slide.is-clone-before-2 { margin-right: calc(var(--rwr-slide-w) + 2 * var(--rwr-gap)); }
/* The jump from a copy to the same real slide: without animating size and dimming */
.rwr-slider.is-jumping .rwr-slide, .rwr-slider.is-jumping .rwr-slide::after { transition: none !important; }
.rwr-slider:not(.is-ready) .rwr-slider-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 calc((100% - var(--rwr-slide-w)) / 2); scrollbar-width: none; }
.rwr-slider:not(.is-ready) .rwr-slide { scroll-snap-align: center; }
.rwr-slider.is-single .rwr-slider-viewport { padding: 0; }
.rwr-slider.is-single .rwr-slide { flex-basis: 100%; }

.rwr-slider-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.rwr-slider-controls[hidden] { display: none; }
/* Until the slider starts the controls keep their place, invisible: when they appear
   nothing below moves (1.34.0, CLS); without JavaScript the place stays empty */
.rwr-slider:not(.is-ready) .rwr-slider-controls { visibility: hidden; }
.rwr-slider-arrow, .rwr-slider-pause { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rw-line); border-radius: 50%; background: #fff; color: var(--rw-dark); font-size: 20px; cursor: pointer; transition: border-color .15s, color .15s; }
.rwr-slider-arrow:hover, .rwr-slider-pause:hover { border-color: var(--rw-gold); color: var(--rw-gold-dark); }
.rwr-pause-ico { position: relative; display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.rwr-slider-pause.is-paused .rwr-pause-ico { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.rwr-dots { display: flex; align-items: center; }
.rwr-dot { position: relative; width: 24px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rwr-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 99px; background: #c9ced5; transform: translate(-50%, -50%); transition: width .25s, background-color .25s; }
.rwr-dot[aria-pressed="true"]::before { width: 26px; background: var(--rw-gold); }
.rwr-dot[aria-pressed="true"] { width: 36px; }

@media (min-width: 768px) {
    .rwr-slide { flex-basis: 86vw; height: 380px; }
    .rwr-slide-media::after { background: linear-gradient(90deg, rgba(10, 16, 22, .88) 0%, rgba(10, 16, 22, .6) 45%, rgba(10, 16, 22, .05) 80%); }
    .rwr-slide-body { justify-content: center; gap: 14px; padding: 40px 44px; }
    .rwr-slide-title { font-size: 2rem; }
    .rwr-slide-text { font-size: 1.05rem; }
    .rwr-slider-track { gap: 18px; }
    .rwr-slider { --rwr-gap: 18px; }
}
@media (min-width: 1024px) {
    .rwr-slider { padding-top: 24px; }
    .rwr-slide { flex-basis: min(1120px, 84vw); height: 440px; }
    .rwr-slider { --rwr-slide-w: min(1120px, 84vw); }
    .rwr-slide-body { padding: 56px 64px; }
    .rwr-slide-title { font-size: clamp(2.1rem, 3.2vw, 2.8rem); }
    .rwr-slide-btn { min-height: 48px; padding: 12px 24px; }
}

/* ---------- Solution strip (1.11.1) ----------
   A white card with a thin border and a soft shadow right below the
   slider: gold icons in light gold circles, thin vertical lines between
   items, names in one line. Desktop: items of equal width; phones and
   tablets: one row swiped sideways. */
.rwr-strip-wrap { position: relative; z-index: 1; padding: 6px 0 24px; }
.rwr-strip { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 6px; overflow-x: auto; list-style: none; border: 1px solid var(--rw-line); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(10, 16, 22, .04), 0 12px 32px rgba(10, 16, 22, .08); scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rwr-strip::-webkit-scrollbar { display: none; }
.rwr-strip li { position: relative; display: flex; flex: 0 0 auto; scroll-snap-align: start; }
.rwr-strip li + li::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--rw-line); }
.rwr-strip-item { display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 104px; min-height: 92px; padding: 10px 14px; border-radius: 14px; color: var(--rw-ink); font-size: .875rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: color .2s, background-color .2s, transform .25s cubic-bezier(.2, .65, .3, 1); }
.rwr-strip-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rw-gold-soft); color: var(--rw-gold); font-size: 21px; transition: background-color .2s, color .2s, box-shadow .2s, transform .25s; }
.rwr-strip-label { white-space: nowrap; }
.rwr-strip-item:hover, .rwr-strip-item:focus-visible { color: var(--rw-gold-dark); }
.rwr-strip-item:hover .rwr-strip-ico, .rwr-strip-item:focus-visible .rwr-strip-ico { background: var(--rw-gold); color: #fff; box-shadow: 0 6px 16px rgba(164, 123, 44, .32); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .rwr-strip-item:hover { transform: translateY(-2px); }
}
/* Phones and tablets: show that the strip goes on sideways — the last visible item
   peeks in by half (phone 3.5 items, tablet 5.5; with fewer items they fill the
   strip and nothing moves), a soft shade at the side where more items wait
   (site.js: has-prev / has-next) and dots below the strip with the position */
.rwr-strip-box { position: relative; }
/* Snap items to the inner edge (its padding), so the first item rests at the very start */
.rwr-strip { scroll-padding: 0 6px; }
.rwr-strip-box::before, .rwr-strip-box::after { content: ""; position: absolute; top: 1px; bottom: 1px; z-index: 1; width: 40px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.rwr-strip-box::before { left: 1px; border-radius: 19px 0 0 19px; background: linear-gradient(90deg, rgba(10, 16, 22, .13), rgba(10, 16, 22, 0)); }
.rwr-strip-box::after { right: 1px; border-radius: 0 19px 19px 0; background: linear-gradient(270deg, rgba(10, 16, 22, .13), rgba(10, 16, 22, 0)); }
.rwr-strip-box.has-prev::before, .rwr-strip-box.has-next::after { opacity: 1; }
.rwr-strip-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.rwr-strip-dots[hidden] { display: none; }
.rwr-strip-dots span { width: 7px; height: 7px; border-radius: 99px; background: #c9ced5; transition: width .2s, background-color .2s; }
.rwr-strip-dots span.is-on { width: 20px; background: var(--rw-gold); }
@media (max-width: 767px) {
    .rwr-strip li { flex: 1 0 calc(100% / 3.5); min-width: 0; }
    .rwr-strip-item { min-width: 0; min-height: 96px; padding: 10px 6px; }
    .rwr-strip-label { display: -webkit-box; overflow: hidden; white-space: normal; overflow-wrap: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .rwr-strip li { flex: 1 0 calc(100% / 5.5); min-width: 0; }
    .rwr-strip-item { min-width: 0; }
    .rwr-strip-label { display: -webkit-box; overflow: hidden; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (min-width: 1024px) {
    .rwr-strip-box::before, .rwr-strip-box::after, .rwr-strip-dots { display: none; }
    .rwr-strip-wrap { padding: 4px 0 32px; }
    .rwr-strip { padding: 8px 4px; overflow: visible; border-radius: 22px; }
    .rwr-strip li { flex: 1 1 0; min-width: 0; }
    .rwr-strip-item { min-width: 0; padding: 12px 8px; font-size: .9rem; }
    .rwr-strip-label { overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
}
@media (min-width: 1200px) {
    .rwr-strip-item { font-size: .95rem; }
}

/* ---------- Project tabs ---------- */
.rwr-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 0 24px; }
.rwr-section-head .rw-heading { margin: 0; text-align: left; }
.rwr-tabs { display: flex; flex-wrap: nowrap; max-width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
.rwr-tabs .rw-tab { flex: 0 0 auto; min-height: 44px; }
.rwr-section-more { margin: 24px 0 0; text-align: center; }
/* One row of 3 cards: side by side from 768 px, swiped sideways on phones */
@media (max-width: 767px) {
    .rwr-tabs-section .rw-entry-cards { display: flex; gap: 12px; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
    .rwr-tabs-section .rw-entry-cards::-webkit-scrollbar { display: none; }
    .rwr-tabs-section .rw-entry-cards > * { flex: 0 0 72%; scroll-snap-align: start; }
    .rwr-tabs-section .rw-entry-cards > :only-child { flex-basis: 100%; }
}
@media (min-width: 768px) {
    .rwr-tabs-section .rw-entry-cards.rw-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Banners between sections ---------- */
.rwr-banner { padding: 20px 0; }
.rwr-banner-card { position: relative; display: flex; align-items: flex-end; min-height: 220px; overflow: hidden; border-radius: var(--rwr-radius-lg); background: linear-gradient(120deg, var(--rw-dark) 0%, var(--rw-dark-3) 100%); color: #fff; }
.rwr-banner-media { position: absolute; inset: 0; display: block; }
.rwr-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.rwr-banner-card:not(.rwr-banner-image) .rwr-banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 22, .88) 0%, rgba(10, 16, 22, .45) 60%, rgba(10, 16, 22, .1) 100%); }
.rwr-banner-plain::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(164, 123, 44, .5) 0%, rgba(164, 123, 44, 0) 70%); }
.rwr-banner-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; max-width: 620px; padding: 22px 20px; }
.rwr-banner-body p { margin: 0; color: #dfe3e8; }
.rwr-banner-title { margin: 0; color: #fff; font-size: 1.3rem; line-height: 1.2; }
.rwr-banner-body .rw-btn { align-self: flex-start; min-height: 44px; padding: 10px 18px; }
.rwr-banner-image { display: block; min-height: 0; background: none; }
.rwr-banner-image .rwr-banner-media { position: static; }
.rwr-banner-image .rwr-banner-media img { height: auto; }
@media (min-width: 768px) {
    .rwr-banner { padding: 28px 0; }
    .rwr-banner-card { align-items: center; min-height: 260px; }
    .rwr-banner-card:not(.rwr-banner-image) .rwr-banner-media::after { background: linear-gradient(90deg, rgba(10, 16, 22, .88) 0%, rgba(10, 16, 22, .55) 50%, rgba(10, 16, 22, 0) 85%); }
    .rwr-banner-body { gap: 14px; padding: 40px 48px; }
    .rwr-banner-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
}

/* ---------- Help strip above the footer ---------- */
.rwr-help { padding: 28px 0; border-top: 1px solid #efe4cc; background: var(--rw-gold-tint); }
.rwr-help-title { margin: 0 0 16px; font-size: 1.15rem; text-align: center; }
.rwr-help-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rwr-help-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rwr-help-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 0 10px; height: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid #efe4cc; border-radius: 16px; background: #fff; color: var(--rw-dark); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rwr-help-item:hover { border-color: var(--rw-gold); box-shadow: var(--rw-shadow); transform: translateY(-1px); }
.rwr-help-ico { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rw-gold); color: #fff; font-size: 20px; }
.rwr-help-item strong { align-self: end; font-size: .92rem; line-height: 1.25; }
.rwr-help-item span:not(.rwr-help-ico) { align-self: start; overflow: hidden; color: var(--rw-muted); font-size: .875rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) {
    .rwr-help { padding: 40px 0; }
    .rwr-help-title { margin-bottom: 22px; font-size: 1.35rem; }
    .rwr-help-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
    .rwr-help-list li:last-child:nth-child(odd) { grid-column: auto; }
    .rwr-help-item { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 18px 10px; text-align: center; }
    .rwr-help-ico { width: 54px; height: 54px; margin-bottom: 4px; font-size: 24px; }
    .rwr-help-item span:not(.rwr-help-ico) { max-width: 100%; }
}

/* ---------- Light footer ---------- */
.rwr-foot { background: #fff; color: var(--rw-muted); font-size: .95rem; }
.rwr-foot a { color: var(--rw-ink); text-decoration: none; }
.rwr-foot a:hover { color: var(--rw-gold-dark); }
.rwr-foot-grid.rw-container { display: grid; gap: 20px; padding-top: 32px; padding-bottom: 20px; }
.rwr-foot .rw-logo { height: 36px; }
.rwr-foot-about { max-width: 30em; margin: 12px 0 0; line-height: 1.6; }
.rwr-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.rwr-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rw-line); border-radius: 50%; color: var(--rw-dark); font-size: 19px; transition: border-color .15s, background-color .15s, color .15s; }
.rwr-social a:hover { border-color: var(--rw-gold); background: var(--rw-gold); color: #fff; }

.rwr-acc { border-top: 1px solid var(--rw-line); }
.rwr-acc:last-child { border-bottom: 1px solid var(--rw-line); }
.rwr-acc-head { margin: 0; font-size: inherit; letter-spacing: 0; }
.rwr-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0; border: 0; background: transparent; color: var(--rw-dark); font: inherit; font-size: 1rem; font-weight: 700; text-align: left; cursor: pointer; }
.rwr-acc-btn .rw-i { color: var(--rw-gold); transition: transform .2s; }
.rwr-acc.is-open .rwr-acc-btn .rw-i { transform: rotate(180deg); }
.rwr-acc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0 0 10px; list-style: none; }
.rw-js .rwr-acc:not(.is-open) .rwr-acc-list { display: none; }
.rwr-acc-list a { display: flex; align-items: center; min-height: 44px; font-size: .95rem; line-height: 1.3; }
.rwr-acc-all a { color: var(--rw-gold-dark); font-weight: 650; }

.rwr-foot-bottom { border-top: 1px solid var(--rw-line); background: var(--rw-soft); font-size: .875rem; }
.rwr-foot-bottom-inner.rw-container { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; padding-bottom: 18px; }
.rwr-foot-copy { margin: 0; color: var(--rw-dark); font-size: 16px; font-weight: 600; }
.rwr-foot-contact, .rwr-foot-legal { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.rwr-foot-contact li { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.rwr-foot-contact .rw-i { color: var(--rw-gold); }
.rwr-foot-legal li { display: inline-flex; }
.rwr-foot-legal a, .rwr-foot-legal .rw-linkbtn { display: inline-flex; align-items: center; min-height: 44px; color: var(--rw-muted); font-size: .875rem; }
.rwr-foot-legal a:hover, .rwr-foot-legal .rw-linkbtn:hover { color: var(--rw-gold-dark); }

@media (min-width: 768px) {
    .rwr-foot-grid.rw-container { gap: 28px; padding-top: 44px; padding-bottom: 32px; }
    .rwr-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .rwr-acc, .rwr-acc:last-child { border: 0; }
    .rwr-acc-btn { min-height: 0; margin-bottom: 8px; color: var(--rw-dark); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; cursor: default; }
    .rwr-acc-btn .rw-i { display: none; }
    .rw-js .rwr-acc:not(.is-open) .rwr-acc-list, .rwr-acc-list { display: block; padding: 0; }
    .rwr-acc-list a { min-height: 36px; }
}
@media (min-width: 1024px) {
    .rwr-foot-grid.rw-container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr); gap: 56px; padding-top: 56px; padding-bottom: 44px; }
    .rwr-foot-cols { gap: 32px; }
    .rwr-foot-bottom-inner.rw-container { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; }
    .rwr-foot-contact li, .rwr-foot-legal a, .rwr-foot-legal .rw-linkbtn { min-height: 36px; }
}

/* ---------- Numbers inside "Zašto RAROG" (from the Statistika block) ---------- */
.rwr-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 24px 0 0; padding: 0; }
.rwr-stat { display: flex; flex-direction: column-reverse; justify-content: center; gap: 2px; min-width: 0; padding: 10px 14px; border: 1px solid var(--rw-line); border-radius: 14px; background: #fff; }
.rwr-stat dt { color: var(--rw-muted); font-size: .875rem; line-height: 1.3; }
.rwr-stat dd { display: flex; align-items: center; gap: 4px; margin: 0; color: var(--rw-dark); font-size: 1.25rem; font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.rwr-stat dd .rw-i { flex: 0 0 auto; color: var(--rw-gold); font-size: .9em; }
@media (min-width: 768px) {
    .rwr-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 32px; border: 1px solid var(--rw-line); border-radius: 18px; background: #fff; }
    .rwr-stat { padding: 14px 20px; border: 0; border-radius: 0; background: transparent; }
    .rwr-stat + .rwr-stat { border-left: 1px solid var(--rw-line); }
}
@media (min-width: 1024px) {
    .rwr-stats { margin-top: 40px; }
    .rwr-stat dd { font-size: 1.45rem; }
}

/* ---------- Back to top: round button in Rarog Gold ---------- */
.rw-site .rw-totop { width: 52px; height: 52px; background: var(--rw-gold); color: #fff; font-size: 22px; box-shadow: 0 10px 28px rgba(164, 123, 44, .4); }
.rw-site .rw-totop:hover { background: var(--rw-dark); color: #fff; }

/* ---------- Phones and tablets: more content on the screen ---------- */
@media (max-width: 767px) {
    .rwr-section-head { margin-bottom: 16px; }
    .rwr-section-head .rw-heading { width: 100%; }
}

/* Search at the bottom of the phone menu */
.rwr-panel-search { position: relative; }
.rwr-panel-search .rwr-input { margin: 0; padding-right: 52px; border-radius: 999px; }
.rwr-panel-search-btn { position: absolute; right: 2px; top: 1px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--rw-gold-dark); font-size: 19px; cursor: pointer; }

/* The numbers strip sits right below the solution strip (stats.css keeps it close to a Hero) */

/* Help strip on phones: icon on top, the whole phone number / address fits */
@media (max-width: 767px) {
    .rwr-help-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 12px 8px; text-align: center; }
    .rwr-help-ico { width: 40px; height: 40px; margin-bottom: 2px; font-size: 19px; }
    .rwr-help-item span:not(.rwr-help-ico) { display: -webkit-box; max-width: 100%; white-space: normal; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media all {
    .rwr-help-item strong, .rwr-help-item span:not(.rwr-help-ico) { align-self: center; }
}

/* ---------- "Šta tačno radimo" (home page, 1.10.0): larger solution cards ---------- */
.rwr-solutions .rwr-section-head { align-items: flex-end; }
.rwr-sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rwr-sol-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 24px; overflow: hidden; border: 1px solid var(--rw-line); border-radius: var(--rwr-radius-lg); background: #fff; transition: transform .22s, box-shadow .22s, border-color .22s; }
.rwr-sol-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--rw-gold), var(--rw-gold-light)); opacity: 0; transition: opacity .22s; }
.rwr-sol-card:hover { border-color: rgba(164, 123, 44, .45); }
.rwr-sol-card:hover::before { opacity: 1; }
.rwr-sol-card:has(h3 a:focus-visible), .rwr-sol-card:has(.rw-h3 a:focus-visible) { outline: 3px solid var(--rw-gold); outline-offset: 2px; }
.rwr-sol-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--rw-dark); color: var(--rw-gold-light); font-size: 24px; }
.rwr-sol-ico svg { width: 24px; height: 24px; }
.rwr-sol-card h3, .rwr-sol-card .rw-h3 { margin: 4px 0 0; font-size: 1.2rem; line-height: 1.3; }
.rwr-sol-card h3 a, .rwr-sol-card .rw-h3 a { color: var(--rw-dark); text-decoration: none; }
.rwr-sol-card h3 a::after, .rwr-sol-card .rw-h3 a::after { content: ""; position: absolute; inset: 0; }
.rwr-sol-text { margin: 0; color: var(--rw-muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rwr-sol-items { display: grid; gap: 8px; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rw-line); list-style: none; }
.rwr-sol-items li { display: flex; align-items: flex-start; gap: 8px; color: var(--rw-ink); font-size: .92rem; line-height: 1.4; }
.rwr-sol-items li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--rw-gold); }
.rwr-sol-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--rw-gold-dark); font-size: .95rem; font-weight: 700; }
.rwr-sol-more svg { width: 16px; height: 16px; transition: transform .2s; }
.rwr-sol-card:hover .rwr-sol-more svg { transform: translateX(4px); }
@media (max-width: 1023px) {
    .rwr-sol-grid { gap: 16px; }
    .rwr-sol-card { padding: 22px 18px 18px; }
}
@media (max-width: 767px) {
    .rwr-sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .rwr-sol-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .rwr-sol-card { gap: 8px; padding: 16px 14px 14px; border-radius: 16px; }
    .rwr-sol-ico { width: 40px; height: 40px; border-radius: 11px; }
    .rwr-sol-ico svg { width: 20px; height: 20px; }
    .rwr-sol-card h3, .rwr-sol-card .rw-h3 { font-size: 1rem; }
    .rwr-sol-text { font-size: .875rem; }
    .rwr-sol-items { gap: 6px; padding-top: 10px; }
    .rwr-sol-items li { font-size: .875rem; }
    .rwr-sol-items li:nth-child(n+3) { display: none; }
    .rwr-sol-more { min-height: 44px; padding-top: 0; font-size: .9rem; }
    .rwr-solutions .rwr-section-head .rw-btn { display: none; }
}

/* Search window: magnifier in the main row on phones and tablets (the top strip is hidden there), in the strip on computers (.rwr-tools) */
.rwr-search-open { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--rw-dark); font-size: 1.15rem; text-decoration: none; }
.rwr-search-open:hover, .rwr-search-open:focus-visible { color: var(--rw-gold-dark); }

/* Holiday as the first slide (1.30.0, Izgled → Praznici): no image, the motif large and quiet */
.rwr-slide-holiday { background: linear-gradient(135deg, #1A222B 0%, var(--rw-dark) 70%); }
.rwr-slide-holiday.is-celebrate::before { background: radial-gradient(circle, rgba(164, 123, 44, .5) 0%, rgba(164, 123, 44, 0) 70%); }
.rwr-slide-holiday.is-commemorate::before { background: radial-gradient(circle, rgba(122, 91, 166, .35) 0%, rgba(122, 91, 166, 0) 70%); }
.rwr-slide-motif { position: absolute; right: 8%; top: 50%; z-index: 0; opacity: .9; transform: translateY(-50%); }
.rwr-slide-motif .rw-holiday-motif { width: 120px; height: 120px; }
@media (max-width: 767px) {
    .rwr-slide-motif { top: 18px; right: 18px; transform: none; }
    .rwr-slide-motif .rw-holiday-motif { width: 56px; height: 56px; }
}
.rwr-slide-holiday .rwr-slide-title { font-weight: 650; }

/* 1.40.0: the language switch in the header row on phones: the row stays inside the
   screen (logo, LAT, search, account, menu) — tighter gaps, the switch without the
   arrow (its border says it is a button), still 44 px tall */
@media (max-width: 479px) {
    .rwr-main { gap: 8px; }
    .rwr-actions { gap: 2px; }
    .rwr-actions .rw-langs-box .rw-langs-toggle { padding: 0 7px; border: 1px solid var(--rw-line); background: #fff; }
    .rwr-actions .rw-langs-box .rw-langs-toggle .rw-i:last-child { display: none; }
}
@media (max-width: 374px) {
    .rwr-actions .rw-langs-box .rw-langs-toggle { padding: 0 5px; }
    .rwr-actions .rwr-search-open, .rwr-actions .rwr-nav-toggle { width: 40px; }
}
