/* ==========================================================================
   Program Ruševec – frontend
   Sivo-modra paleta, čista tipografija, slike čez celo širino, mehke animacije.
   ========================================================================== */

.rv-app {
	/* sivo-modra (privzeto) */
	--rv-ink: #1d1d1f;
	--rv-ink-2: #424245;
	--rv-muted: #6e6e73;
	--rv-bg: #f5f5f7;
	--rv-bg-2: #eef1f5;
	--rv-line: #d2d2d7;
	--rv-line-2: #e8e8ed;
	--rv-accent: #3a6a96;
	--rv-accent-2: #2c5379;
	--rv-accent-soft: #e6edf5;
	--rv-steel: #8fa3b8;
	--rv-dark: #161b22;
	--rv-dark-2: #232c38;
	--rv-mist: #e9eef4;
	--rv-ok: #2f7a63;
	--rv-ok-soft: #e3f1ec;
	--rv-warn: #a35f00;
	--rv-warn-soft: #fbf1e1;
	--rv-err: #c0392f;
	--rv-err-soft: #fbeceb;
	--rv-hero-a: #1c2430;
	--rv-hero-b: #3a536e;
	--rv-radius: 22px;
	--rv-radius-sm: 12px;
	--rv-shadow: 0 2px 6px rgba(20, 30, 45, .04), 0 12px 32px rgba(20, 30, 45, .06);
	--rv-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	--rv-ease: cubic-bezier(.28, .11, .32, 1);

	color: var(--rv-ink);
	font-family: var(--rv-font);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -.01em;
	-webkit-font-smoothing: antialiased;
	max-width: 1180px;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* gozdno zelena preobleka */
.rv-app.rv-skin-forest {
	--rv-accent: #2f6b43;
	--rv-accent-2: #1f5130;
	--rv-accent-soft: #e6f1e9;
	--rv-steel: #8fb39b;
	--rv-dark: #14201a;
	--rv-dark-2: #1f3328;
	--rv-mist: #e8f1eb;
	--rv-bg-2: #edf3ef;
	--rv-hero-a: #14261b;
	--rv-hero-b: #2f6b43;
}

body:has(.rv-app) { overflow-x: clip; }
.rv-app *, .rv-app *::before, .rv-app *::after { box-sizing: border-box; }
.rv-app [hidden] { display: none !important; }
/* emoji, ki jih WordPress pretvori v slike, naj ostanejo v velikosti besedila */
.rv-app img.emoji, .rv-lb img.emoji { display: inline !important; width: 1em !important; height: 1em !important; max-width: 1em !important; margin: 0 .07em !important; vertical-align: -.1em !important; position: static !important; box-shadow: none !important; border-radius: 0 !important; transform: none !important; }
.rv-app button, .rv-app summary, .rv-app .rv-btn, .rv-app .rv-pill, .rv-app input[type="submit"] { text-transform: none !important; letter-spacing: -.01em; text-shadow: none; }
.rv-app h1, .rv-app h2, .rv-app h3, .rv-app h4, .rv-app h5 {
	font-family: var(--rv-font); color: var(--rv-ink); margin: 0 0 .5em; line-height: 1.1; font-weight: 600; letter-spacing: -.022em;
}
.rv-app p { margin: 0 0 .8em; }
.rv-app a { color: var(--rv-accent); }
.rv-muted { color: var(--rv-muted); }
.rv-center { text-align: center; }
.rv-nowrap { white-space: nowrap; }
.rv-big { font-size: 48px; line-height: 1; margin-bottom: 10px; }
.rv-ico { width: 100%; height: 100%; display: block; }

/* čez celo širino okna */
.rv-bleed {
	width: 100vw; max-width: 100vw;
	margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
}

/* ---------- gumbi in povezave ---------- */
.rv-pill, .rv-btn, .rv-app summary.rv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--rv-accent); color: #fff !important; text-decoration: none !important;
	border: 0; border-radius: 980px; padding: 11px 22px; font: 500 15px/1.2 var(--rv-font); letter-spacing: -.01em;
	cursor: pointer; transition: background .2s var(--rv-ease), transform .2s var(--rv-ease); list-style: none;
}
.rv-app summary.rv-btn::-webkit-details-marker { display: none; }
.rv-pill:hover, .rv-btn:hover { background: var(--rv-accent-2); }
.rv-pill:active, .rv-btn:active { transform: scale(.98); }
.rv-pill--lg { padding: 14px 28px; font-size: 17px; }
.rv-pill--sm, .rv-btn--sm { padding: 7px 15px; font-size: 13px; }
.rv-pill--ghost { background: transparent; color: var(--rv-accent) !important; box-shadow: inset 0 0 0 1.5px var(--rv-accent); }
.rv-pill--ghost:hover { background: var(--rv-soft, #e6edf5); }
.rv-tile--dark .rv-pill--ghost { color: #f5f5f7 !important; box-shadow: inset 0 0 0 1.5px rgba(245,245,247,.55); }
.rv-tile--dark .rv-pill--ghost:hover { background: rgba(255,255,255,.1); }
.rv-tile__nums { display: contents; }
.rv-btn--ghost, .rv-app summary.rv-btn--ghost { background: transparent; color: var(--rv-accent) !important; box-shadow: inset 0 0 0 1.5px var(--rv-accent); }
.rv-btn--ghost:hover { background: var(--rv-accent-soft); }
.rv-more { color: var(--rv-accent) !important; text-decoration: none !important; font-weight: 500; font-size: 17px; white-space: nowrap; }
.rv-more:hover { text-decoration: underline !important; }
.rv-more span { display: inline-block; transition: transform .2s var(--rv-ease); }
.rv-more:hover span { transform: translateX(3px); }
.rv-link { background: none; border: 0; padding: 0; color: var(--rv-accent); font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; }
.rv-link:hover { text-decoration: underline; }
.rv-icon-btn {
	width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--rv-bg); cursor: pointer;
	font-size: 15px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--rv-ink-2);
	transition: background .2s;
}
.rv-icon-btn:hover { background: var(--rv-accent-soft); color: var(--rv-accent); }
.rv-icon-btn--del:hover { background: var(--rv-err-soft); color: var(--rv-err); }
.rv-inline { display: inline; margin: 0; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 6px; }
.rv-actions .rv-muted { margin-right: auto; font-size: 14px; }

/* ---------- glavna slika (hero) ---------- */
.rv-hero2 {
	position: relative; overflow: hidden;
	min-height: max(560px, calc(100vh - var(--wp-admin--admin-bar--height, 0px)));
	min-height: max(560px, calc(100svh - var(--wp-admin--admin-bar--height, 0px)));
	display: flex; align-items: flex-end; justify-content: center; text-align: center;
	color: #fff; background: linear-gradient(160deg, var(--rv-hero-a), var(--rv-hero-b));
	margin-top: 0; margin-bottom: 0;
}
.rv-hero2.no-media {
	background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--rv-bg) 55%, var(--rv-bg-2) 100%);
	color: var(--rv-ink); min-height: min(64vh, 620px); align-items: center;
}
.rv-hero2__media { position: absolute; inset: 0; will-change: transform; }
.rv-hero2__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-anim-kenburns .rv-hero2__img { animation: rv-kenburns 26s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes rv-kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.rv-hero2.has-media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(10,14,20,0) 0%, rgba(10,14,20,.08) 45%, rgba(10,14,20,.55) 100%);
}
.rv-hero2__art { position: absolute; width: min(56vw, 520px); top: 8%; left: 50%; transform: translateX(-50%); color: var(--rv-steel); opacity: .28; }
.rv-hero2__in { position: relative; z-index: 2; max-width: 980px; padding: 0 24px 7vh; }
.rv-hero2__lead {
	margin: 30px auto 0; max-width: 820px; padding: 24px 32px; border-radius: 26px; text-align: center;
	color: var(--rv-ink); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45;
	background: rgba(245, 245, 247, .72); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
	box-shadow: 0 20px 60px rgba(10,14,20,.25), inset 0 0 0 1px rgba(255,255,255,.5);
}
.rv-hero2__lead p { margin: 0 0 .5em; color: var(--rv-ink-2); }
.rv-hero2__lead p:last-child { margin-bottom: 0; }
.rv-hero2__lead .rv-motto { color: var(--rv-muted); }
.rv-hero2.no-media .rv-hero2__lead { background: rgba(255,255,255,.7); }
.rv-after-hero { height: 48px; }
.rv-hero2.no-media .rv-hero2__in { padding: 12vh 24px; }
.rv-eyebrow { font-size: 19px; font-weight: 600; letter-spacing: .01em; margin: 0 0 8px; opacity: .85; }
.rv-hero2 .rv-hero2__title { color: inherit; font-size: clamp(44px, 7.2vw, 96px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0 0 14px; }
.rv-hero2__sub { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.25; font-weight: 500; opacity: .92; margin: 0 auto 26px; max-width: 760px; }
.rv-hero2__cta { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; }
.rv-hero2.has-media .rv-pill { background: #fff; color: var(--rv-ink) !important; }
.rv-hero2.has-media .rv-pill:hover { background: #e8e8ed; }
.rv-hero2.has-media .rv-more--hero { color: #fff !important; }
.rv-more--hero { font-size: 19px; }

/* lepljiv lokalni meni */
.rv-localnav {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	background: rgba(251, 251, 253, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0,0,0,.08); margin-bottom: 48px;
}
.rv-localnav__in { max-width: 1180px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; gap: 22px; }
.rv-localnav__title { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-right: auto; color: var(--rv-ink); }
.rv-localnav__links { display: flex; gap: 22px; }
.rv-localnav__links a { color: var(--rv-ink-2) !important; text-decoration: none !important; font-size: 13px; }
.rv-localnav__links a:hover { color: var(--rv-accent) !important; }

/* ---------- ploščice na strani Moj Ruševec ---------- */
.rv-tiles { display: flex; flex-direction: column; gap: 14px; margin-bottom: 60px; }
.rv-tiles__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-tile {
	position: relative; overflow: hidden; border-radius: var(--rv-radius); background: var(--rv-bg);
	display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 580px;
}
.rv-tile--dark { background: var(--rv-dark); color: #f5f5f7; }
.rv-tile--dark h3 { color: #f5f5f7 !important; }
.rv-tile--dark .rv-tile__sub, .rv-tile--dark .rv-tile__note { color: #a1a1a6; }
.rv-tile--dark .rv-stat strong { color: #f5f5f7; }
.rv-tile--dark .rv-more { color: #7fb2e5 !important; }
.rv-tile--mist { background: var(--rv-mist); }
.rv-tile__txt { position: relative; z-index: 2; padding: 52px 28px 18px; max-width: 760px; }
.rv-tile h3 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; margin-bottom: 6px; }
.rv-tile__sub { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.25; color: var(--rv-ink-2); margin-bottom: 16px; }
.rv-tile__links { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.rv-tile__stats { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin: 6px 0 16px; }
.rv-tile__note { width: 100%; font-size: 15px; color: var(--rv-muted); margin: 0; }
.rv-tile__media { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; min-height: 240px; }
.rv-tile__img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; transition: transform 1.2s var(--rv-ease); }
.rv-tile.has-img .rv-tile__media { position: relative; }
.rv-tile:hover .rv-tile__img { transform: scale(1.03); }
.rv-tile__art { width: 220px; height: 220px; color: var(--rv-steel); margin: 10px auto 40px; opacity: .9; }
.rv-tile--dark .rv-tile__art { color: #5d7894; }
.rv-tile--program { min-height: 640px; }
.rv-tile--program .rv-tile__img { max-height: 460px; }

.rv-stat { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.rv-stat strong { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--rv-ink); }
.rv-stat > span { font-size: 13px; color: var(--rv-muted); margin-top: 2px; }
.rv-stat--badge strong { font-size: 34px; }

/* prijava */
.rv-login { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-bottom: 14px; }
.rv-login > div { border-radius: var(--rv-radius); padding: 44px 40px; background: var(--rv-bg); }
.rv-login h2 { font-size: 32px; letter-spacing: -.03em; }
.rv-login__reg { background: var(--rv-dark) !important; color: #f5f5f7; }
.rv-login__reg h2 { color: #f5f5f7 !important; }
.rv-login__reg p { color: #a1a1a6; font-size: 19px; }
.rv-login form p { margin: 0 0 14px; }
.rv-login label { display: block; font-size: 13px; font-weight: 600; color: var(--rv-muted); margin-bottom: 6px; }
.rv-login .login-remember label { display: flex; gap: 8px; align-items: center; color: var(--rv-ink-2); }
.rv-login input[type="text"], .rv-login input[type="password"] {
	width: 100%; border: 1px solid var(--rv-line); border-radius: 12px; padding: 13px 16px; font: 17px var(--rv-font); min-height: 50px; background: #fff;
}
.rv-login input[type="text"]:focus, .rv-login input[type="password"]:focus { outline: none; border-color: var(--rv-accent); box-shadow: 0 0 0 4px rgba(58,106,150,.18); }
.rv-login input[type="submit"] { background: var(--rv-accent); color: #fff; border: 0; border-radius: 980px; padding: 12px 30px; font: 500 17px var(--rv-font); cursor: pointer; }
.rv-login input[type="submit"]:hover { background: var(--rv-accent-2); }

/* ---------- uvodno besedilo, obvestila ---------- */
.rv-lead { max-width: 820px; margin: 56px auto 48px; text-align: center; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--rv-ink-2); }
.rv-motto { font-style: italic; color: var(--rv-muted); }
.rv-notice {
	border-radius: var(--rv-radius-sm); padding: 14px 18px; margin: 0 0 18px; font-size: 15px;
	background: var(--rv-accent-soft); color: var(--rv-accent-2);
}
.rv-notice--ok { background: var(--rv-ok-soft); color: var(--rv-ok); }
.rv-notice--err { background: var(--rv-err-soft); color: var(--rv-err); }
.rv-toast {
	position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 99998; margin: 0;
	max-width: min(560px, calc(100vw - 32px)); padding: 14px 46px 14px 20px; border-radius: 16px;
	box-shadow: 0 18px 48px rgba(20,30,45,.22); background: rgba(29,29,31,.92) !important; color: #fff !important;
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: rv-toast-in .5s var(--rv-ease);
}
.rv-toast.rv-notice--err { background: rgba(160, 40, 32, .94) !important; }
.rv-toast.is-out { opacity: 0; transform: translate(-50%, 20px); transition: all .4s var(--rv-ease); }
.rv-toast__x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; opacity: .7; }
@keyframes rv-toast-in { from { opacity: 0; transform: translate(-50%, 24px); } }

/* ---------- okvirji ---------- */
.rv-box { background: var(--rv-bg); border: 0; border-radius: var(--rv-radius); padding: 32px 34px; margin: 0 0 18px; }
.rv-box h3 { font-size: 28px; letter-spacing: -.025em; }
.rv-box > summary { cursor: pointer; list-style: none; }
.rv-box > summary::-webkit-details-marker { display: none; }
.rv-box > summary h3 { display: inline-block; margin: 0; }
.rv-box[open] > summary { margin-bottom: 18px; }
.rv-box > summary::after { content: "+"; float: right; font-size: 28px; line-height: 1; color: var(--rv-muted); transition: transform .3s var(--rv-ease); }
.rv-box[open] > summary::after { transform: rotate(45deg); }
.rv-pending { text-align: center; }

/* pregled napredka */
.rv-overview {
	display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
	background: var(--rv-bg); border-radius: var(--rv-radius); padding: 34px 40px; margin: 48px 0 36px;
}
.rv-overview__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.rv-overview__stats .rv-stat { align-items: flex-start; }
.rv-overview__meta { display: grid; grid-template-columns: auto auto; gap: 4px 14px; font-size: 14px; }
.rv-overview__meta span { color: var(--rv-muted); }
.rv-ring {
	--p: 0; width: 132px; height: 132px; border-radius: 50%;
	background: conic-gradient(var(--rv-accent) calc(var(--p) * 1%), var(--rv-line-2) 0);
	display: grid; place-items: center; transition: --p 1s;
}
.rv-ring > span { width: 112px; height: 112px; border-radius: 50%; background: var(--rv-bg); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 600; letter-spacing: -.03em; color: var(--rv-ink); }
.rv-ring small { font-size: 16px; color: var(--rv-muted); margin-left: 2px; align-self: center; }

/* ---------- kartice področij ---------- */
.rv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; margin-bottom: 26px; }
.rv-card { background: var(--rv-bg); border-radius: var(--rv-radius); overflow: hidden; transition: box-shadow .4s var(--rv-ease), transform .4s var(--rv-ease); }
.rv-card:not([open]):hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--rv-shadow); }
.rv-card[open] { grid-column: 1 / -1; background: #fff; box-shadow: 0 0 0 1px var(--rv-line-2), var(--rv-shadow); }
.rv-card__sum { display: block; cursor: pointer; list-style: none; }
.rv-card__sum::-webkit-details-marker { display: none; }
.rv-card__media {
	display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative;
	background: linear-gradient(160deg, var(--rv-mist), var(--rv-bg-2)); color: var(--rv-steel);
}
.rv-card__media .rv-ico { width: 34%; height: auto; margin: 0 auto; position: relative; top: 50%; transform: translateY(-50%); }
.rv-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--rv-ease); }
.rv-card:hover .rv-card__img { transform: scale(1.04); }
.rv-card--ture .rv-card__media:not(.has-img) { background: linear-gradient(160deg, var(--rv-dark-2), var(--rv-dark)); color: #6f8aa6; }
.rv-card--odprava .rv-card__media:not(.has-img) { background: linear-gradient(160deg, #dfe6ee, #c9d5e2); color: #6a819a; }
.rv-card__row { display: flex; align-items: center; gap: 12px; padding: 18px 22px 20px; }
.rv-card__ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-card__ttl strong { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.rv-card__ttl small { color: var(--rv-muted); font-size: 14px; }
.rv-mini {
	--p: 0; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
	background: conic-gradient(var(--rv-accent) calc(var(--p) * 1%), var(--rv-line-2) 0); display: grid; place-items: center;
}
.rv-mini span { width: 38px; height: 38px; border-radius: 50%; background: var(--rv-bg); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--rv-ink-2); }
.rv-card[open] .rv-mini span { background: #fff; }
.rv-card.is-done .rv-mini { background: var(--rv-ok); }
.rv-card.is-done .rv-mini span { background: var(--rv-ok); color: #fff; font-size: 17px; }
.rv-card__body { padding: 24px 28px 30px; }
.rv-card__cover { display: none; }

/* odprta kartica: slika čez celo širino, opis na prosojni plošči */
.rv-card { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px); }
.rv-card[open] { background: transparent; box-shadow: none; overflow: visible; border-radius: 0; margin: 10px 0 18px; }
.rv-card[open] .rv-card__sum { position: relative; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); cursor: default; }
.rv-card[open] .rv-card__media { aspect-ratio: auto; height: min(82vh, 780px); min-height: 460px; }
.rv-card[open] .rv-card__media .rv-ico { width: min(30vw, 260px); }
.rv-card[open] .rv-card__row { display: none; }
.rv-card[open] .rv-card__cover {
	display: flex; position: absolute; inset: 0; align-items: flex-end; pointer-events: none;
	background: linear-gradient(180deg, rgba(10,14,20,0) 45%, rgba(10,14,20,.28) 100%);
}
.rv-card__intro {
	position: relative; pointer-events: auto; cursor: default; display: block;
	width: min(660px, calc(100vw - 32px)); margin: 0 0 72px max(16px, calc(50vw - 590px));
	padding: 30px 34px 28px; border-radius: 28px; color: var(--rv-ink);
	background: rgba(245, 245, 247, .72); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
	box-shadow: 0 20px 60px rgba(10,14,20,.22), inset 0 0 0 1px rgba(255,255,255,.5);
}
.rv-card[open] .rv-card__intro { animation: rv-rise .8s var(--rv-ease) both; }
.rv-card__head { display: flex; align-items: center; gap: 16px; padding-right: 40px; }
.rv-card__head .rv-mini span { background: rgba(245,245,247,.95); }
.rv-card__eyebrow { display: block; font-size: 14px; font-weight: 600; color: var(--rv-muted); }
.rv-card__h { display: block; font-size: clamp(32px, 4vw, 50px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.rv-card__desc { display: block; font-size: 19px; line-height: 1.4; color: var(--rv-ink-2); margin: 14px 0 6px; }
.rv-card__intro .rv-hint { display: block; margin-top: 10px; background: rgba(255,255,255,.62); }
.rv-card__intro .rv-hint--warn { background: rgba(251,241,225,.85); }
.rv-card__intro .rv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 12px 0 0; }
.rv-card__intro .rv-fact { display: block; background: rgba(255,255,255,.62); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.rv-card__intro .rv-fact span { display: block; font-size: 12px; color: var(--rv-muted); font-weight: 600; }
.rv-card__close {
	position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; font-size: 15px; background: rgba(0,0,0,.07); color: var(--rv-ink-2); transition: background .2s;
}
.rv-card__close:hover { background: rgba(0,0,0,.14); }
.rv-card[open] .rv-card__body {
	position: relative; z-index: 3; background: #fff; border-radius: var(--rv-radius); margin-top: -40px;
	box-shadow: 0 0 0 1px var(--rv-line-2), var(--rv-shadow); padding: 30px 32px 34px;
}

.rv-hint { font-size: 15px; color: var(--rv-ink-2); background: var(--rv-bg); border-radius: var(--rv-radius-sm); padding: 12px 16px; }
.rv-hint--warn { background: var(--rv-warn-soft); color: var(--rv-warn); }
.rv-empty { color: var(--rv-muted); }
.rv-facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rv-facts li { background: var(--rv-bg); border-radius: var(--rv-radius-sm); padding: 14px 16px; font-size: 15px; }
.rv-facts li span { display: block; font-size: 12px; color: var(--rv-muted); font-weight: 600; margin-bottom: 2px; }
.rv-rules { margin: 0 0 16px; }
.rv-rules summary { cursor: pointer; font-weight: 500; color: var(--rv-accent); }
.rv-rules dl, .rv-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 12px 0 0; }
.rv-rules dt, .rv-dl dt { font-weight: 600; }
.rv-rules dd, .rv-dl dd { margin: 0; color: var(--rv-ink-2); }

/* ---------- izziv ---------- */
.rv-ch { border-radius: 18px; padding: 22px 24px; margin: 0 0 18px; background: #fff; box-shadow: 0 0 0 1px var(--rv-line-2); position: relative; }
.rv-ch::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rv-accent); }
.rv-ch--submitted::before { background: var(--rv-warn); }
.rv-ch--returned::before { background: var(--rv-err); }
.rv-ch--confirmed::before { background: var(--rv-ok); }
.rv-ch__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rv-ch__head h4 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.rv-ch__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-ch__tools { display: flex; gap: 6px; flex: 0 0 auto; }
.rv-ch__tools form { margin: 0; }
.rv-ch__result { margin: 12px 0 0; color: var(--rv-ink-2); }

.rv-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 980px; font-size: 12px; font-weight: 600; background: var(--rv-bg); color: var(--rv-ink-2); white-space: nowrap; }
.rv-chip--active { background: var(--rv-accent-soft); color: var(--rv-accent-2); }
.rv-chip--pending, .rv-chip--submitted { background: var(--rv-warn-soft); color: var(--rv-warn); }
.rv-chip--confirmed, .rv-chip--completed { background: var(--rv-ok-soft); color: var(--rv-ok); }
.rv-chip--returned, .rv-chip--rejected { background: var(--rv-err-soft); color: var(--rv-err); }
.rv-tag { display: inline-block; padding: 3px 10px; border-radius: 980px; font-size: 12px; font-weight: 600; color: #fff; background: var(--rv-accent); }
.rv-tag--avantura { background: #b4532a; }

/* drsnik k/n */
.rv-slider { --p: 0%; margin: 16px 0 8px; }
.rv-slider__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--rv-muted); font-weight: 500; margin-bottom: 6px; }
.rv-slider__head strong { color: var(--rv-ink); font-size: 17px; font-weight: 600; }
.rv-slider input[type="range"] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 980px; margin: 8px 0;
	background: linear-gradient(90deg, var(--rv-accent) 0, var(--rv-steel) var(--p), var(--rv-line-2) var(--p));
	opacity: 1; cursor: default; padding: 0; border: 0; min-height: 0; box-shadow: none;
}
.rv-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0;
	box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.18), 0 1px 1px rgba(0,0,0,.12);
}
.rv-slider input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.rv-slider input[type="range"]::-moz-range-track { background: transparent; }
.rv-slider.is-done input[type="range"] { background: var(--rv-ok); }

/* dnevnik */
.rv-diary { margin-top: 18px; }
.rv-diary__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rv-diary__head h5 { font-size: 17px; margin: 0 0 10px; }
.rv-table-wrap { overflow-x: auto; border-radius: 14px; margin: 0 0 14px; box-shadow: 0 0 0 1px var(--rv-line-2); }
.rv-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; background: #fff; }
.rv-table th { background: var(--rv-bg); text-align: left; font-size: 12px; font-weight: 600; color: var(--rv-muted); padding: 11px 14px; border-bottom: 1px solid var(--rv-line-2); }
.rv-table td { padding: 13px 14px; border-bottom: 1px solid var(--rv-line-2); vertical-align: top; }
.rv-table tr:last-child td { border-bottom: 0; }
.rv-table tbody tr { transition: background .2s; }
.rv-table tbody tr:hover td { background: #fafafc; }
.rv-table--diary .rv-desc { min-width: 220px; max-width: 460px; color: var(--rv-ink-2); }
.rv-table--diary td:nth-child(3) { min-width: 140px; }
.rv-row-tools { white-space: nowrap; width: 1%; }
.rv-row-tools .rv-icon-btn { margin-left: 4px; }
.rv-edit-row td { background: var(--rv-bg) !important; }
.rv-thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; display: block; transition: transform .3s var(--rv-ease); }
.rv-thumb:hover img { transform: scale(1.06); }

.rv-note { background: var(--rv-bg); border-radius: var(--rv-radius-sm); padding: 12px 16px; margin: 12px 0; font-size: 15px; }
.rv-report, .rv-decide { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rv-line-2); }
.rv-decide { background: var(--rv-warn-soft); border: 0; border-radius: 16px; padding: 18px; }
.rv-confirmed { color: var(--rv-ok); font-weight: 600; margin: 12px 0 0; }
.rv-sub { margin-top: 16px; }
.rv-sub h4 { font-size: 17px; }
.rv-list { margin: 0 0 12px 1.2em; padding: 0; }
.rv-list li { margin: 4px 0; }
.rv-service.is-done { box-shadow: inset 0 0 0 2px var(--rv-ok-soft); }
.rv-award {
	display: flex; gap: 20px; align-items: center; border-radius: var(--rv-radius); padding: 26px 30px; margin: 0 0 18px;
	background: linear-gradient(135deg, #fff, var(--rv-mist));
}
.rv-award__medal { font-size: 52px; }
.rv-award h3 { font-size: 28px; }
.rv-bar { height: 6px; border-radius: 980px; background: var(--rv-line-2); overflow: hidden; min-width: 90px; }
.rv-bar i { display: block; height: 100%; background: var(--rv-accent); border-radius: 980px; }
.rv-mentor summary h3 { font-size: 24px; }

/* ---------- obrazci ---------- */
.rv-form { margin: 0; }
.rv-form--box, .rv-form--entry { background: var(--rv-bg); border-radius: 18px; padding: 22px; margin-top: 14px; }
.rv-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; min-width: 0; }
.rv-field > span { font-size: 13px; font-weight: 600; color: var(--rv-muted); }
.rv-field small { color: var(--rv-muted); font-size: 12px; }
.rv-app input[type="text"],
.rv-app input[type="number"],
.rv-app input[type="date"],
.rv-app input[type="email"],
.rv-app input.rv-fp-alt,
.rv-app select,
.rv-app textarea {
	width: 100%; border: 1px solid var(--rv-line); border-radius: 12px; padding: 12px 16px;
	font: 17px/1.35 var(--rv-font); color: var(--rv-ink); background: #fff; min-height: 50px; margin: 0;
	box-shadow: none; transition: border-color .2s, box-shadow .2s; letter-spacing: -.01em;
}
.rv-app input:focus, .rv-app select:focus, .rv-app textarea:focus { outline: none; border-color: var(--rv-accent); box-shadow: 0 0 0 4px rgba(58,106,150,.18); }
.rv-app.rv-skin-forest input:focus, .rv-app.rv-skin-forest select:focus, .rv-app.rv-skin-forest textarea:focus { box-shadow: 0 0 0 4px rgba(47,107,67,.18); }
.rv-app input.rv-fp-alt[readonly] { cursor: pointer; }
.rv-app input.rv-date, .rv-app input.rv-fp-alt {
	padding-left: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236e8aa6' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") no-repeat 15px center;
}
.rv-app textarea { resize: vertical; min-height: 100px; }
.rv-ta { position: relative; }
.rv-ta textarea { padding-right: 50px; }
.rv-expand {
	position: absolute; top: 9px; right: 9px; width: 32px; height: 32px; border-radius: 50%;
	border: 0; background: var(--rv-bg); cursor: pointer; color: var(--rv-accent); font-size: 15px; line-height: 1; padding: 0; z-index: 2;
}
.rv-expand:hover { background: var(--rv-accent-soft); }
.rv-ta.is-expanded {
	position: fixed; inset: 5vh 6vw; z-index: 100000; background: #fff; border-radius: 26px;
	padding: 62px 26px 26px; box-shadow: 0 40px 100px rgba(10,14,20,.35); animation: rv-pop .35s var(--rv-ease);
}
@keyframes rv-pop { from { opacity: 0; transform: scale(.96); } }
.rv-ta.is-expanded textarea { height: 100% !important; min-height: 0; resize: none; font-size: 19px; line-height: 1.6; padding: 18px 20px; border: 0; background: var(--rv-bg); }
.rv-ta.is-expanded textarea:focus { box-shadow: none; }
.rv-ta.is-expanded .rv-expand { top: 16px; right: 20px; width: auto; padding: 0 16px; border-radius: 980px; font-weight: 600; font-size: 14px; background: var(--rv-accent); color: #fff; }
.rv-ta.is-expanded .rv-expand::after { content: " Končano"; }
.rv-ta.is-expanded::before { content: attr(data-label); position: absolute; top: 22px; left: 28px; font-weight: 600; color: var(--rv-ink); font-size: 17px; }
.rv-backdrop { position: fixed; inset: 0; background: rgba(10, 14, 20, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 99999; }
body.rv-noscroll { overflow: hidden; }

.rv-check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; margin: 6px 0 16px; cursor: pointer; }
.rv-check input { width: 20px; height: 20px; accent-color: var(--rv-accent); }
.rv-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.rv-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 18px; align-items: start; }
.rv-grid-entry { display: grid; grid-template-columns: minmax(170px, 210px) 1fr minmax(190px, 230px); gap: 0 16px; }
.rv-dur { display: flex; align-items: center; gap: 6px; }
.rv-dur input { text-align: center; padding-left: 8px !important; padding-right: 8px !important; }
.rv-dur em { font-style: normal; color: var(--rv-muted); font-size: 13px; }
.rv-drop {
	position: relative; display: flex; align-items: center; gap: 14px; min-height: 70px;
	border: 1.5px dashed var(--rv-line); border-radius: 16px; padding: 14px 18px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s;
}
.rv-drop:hover, .rv-drop.is-over { border-color: var(--rv-accent); background: var(--rv-accent-soft); }
.rv-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.rv-drop__txt { color: var(--rv-muted); font-size: 15px; }
.rv-drop__txt::before { content: "＋ "; color: var(--rv-accent); font-weight: 600; }
.rv-drop__prev { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.rv-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.rv-examples > span { width: 100%; font-size: 12px; color: var(--rv-muted); font-weight: 600; }
.rv-ex { border: 0 !important; text-decoration: none !important; font-weight: 400 !important; min-height: 0; background: #fff; border-radius: 980px; padding: 8px 14px; font: 14px/1.3 var(--rv-font); cursor: pointer; color: var(--rv-ink-2); text-align: left; box-shadow: 0 0 0 1px var(--rv-line-2); transition: all .2s; }
.rv-ex:hover, .rv-ex.is-on { background: var(--rv-accent-soft) !important; color: var(--rv-accent-2) !important; box-shadow: 0 0 0 1px var(--rv-accent) !important; }
.rv-ex { box-shadow: 0 0 0 1px var(--rv-line-2) !important; color: var(--rv-ink-2) !important; }
.rv-new { margin-top: 14px; }
.rv-new > summary { list-style: none; }
.rv-new[open] > summary { opacity: .55; }

/* predstavitev */
.rv-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; }
.rv-area { background: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.rv-area span { font-size: 28px; }
.rv-area small { color: var(--rv-muted); }
.rv-area.has-img { padding: 0; overflow: hidden; gap: 0; transition: transform .4s var(--rv-ease), box-shadow .4s var(--rv-ease); }
.rv-area.has-img:hover { transform: translateY(-3px); box-shadow: var(--rv-shadow); }
.rv-area__media { aspect-ratio: 16 / 10; overflow: hidden; }
.rv-area__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--rv-ease); }
.rv-area.has-img:hover .rv-area__img { transform: scale(1.05); }
.rv-area__txt { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.rv-area__txt strong { font-size: 17px; }
.rv-steps { margin: 0 0 14px 1.2em; padding: 0; }
.rv-steps li { margin: 8px 0; }
.rv-facts + form { margin-top: 10px; }

/* lightbox */
.rv-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 100001; display: grid; place-items: center; cursor: zoom-out; padding: 3vh; animation: rv-fade .3s; }
.rv-lightbox img { max-width: 100%; max-height: 94vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: rv-pop .35s var(--rv-ease); }
@keyframes rv-fade { from { opacity: 0; } }

/* flatpickr */
.flatpickr-calendar { border-radius: 18px !important; box-shadow: 0 20px 50px rgba(20,30,45,.2) !important; border: 0 !important; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.today.selected { background: #3a6a96 !important; border-color: #3a6a96 !important; }
.flatpickr-day.today { border-color: #8fa3b8 !important; }

/* ---------- animacije ob drsenju ---------- */
.rv-js .rv-anim-reveal .rv-reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--rv-ease), transform 1s var(--rv-ease); }
.rv-js .rv-anim-reveal .rv-reveal.is-in { opacity: 1; transform: none; }
.rv-anim-reveal .rv-cards .rv-reveal:nth-child(2) { transition-delay: .06s; }
.rv-anim-reveal .rv-cards .rv-reveal:nth-child(3) { transition-delay: .12s; }
.rv-anim-reveal .rv-cards .rv-reveal:nth-child(4) { transition-delay: .18s; }
.rv-anim-reveal .rv-cards .rv-reveal:nth-child(5) { transition-delay: .24s; }
.rv-anim-reveal .rv-cards .rv-reveal:nth-child(6) { transition-delay: .30s; }
.rv-anim-reveal .rv-cards .rv-reveal:nth-child(7) { transition-delay: .36s; }
.rv-anim-reveal .rv-hero2__in > * { animation: rv-rise 1.1s var(--rv-ease) both; }
.rv-anim-reveal .rv-hero2__in > *:nth-child(2) { animation-delay: .12s; }
.rv-anim-reveal .rv-hero2__in > *:nth-child(3) { animation-delay: .24s; }
.rv-anim-reveal .rv-hero2__in > *:nth-child(4) { animation-delay: .36s; }
@keyframes rv-rise { from { opacity: 0; transform: translateY(30px); } }

@media (prefers-reduced-motion: reduce) {
	.rv-app *, .rv-app *::before, .rv-app *::after { animation: none !important; transition: none !important; }
	.rv-app .rv-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- mobilno ---------- */
@media (max-width: 900px) {
	.rv-tiles__pair { grid-template-columns: 1fr; }
	.rv-overview { grid-template-columns: 1fr; text-align: center; gap: 24px; }
	.rv-overview__ring { display: flex; justify-content: center; }
	.rv-overview__stats { justify-content: center; }
	.rv-overview__stats .rv-stat { align-items: center; }
	.rv-overview__meta { justify-content: center; }
	.rv-login { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.rv-app { font-size: 16px; }
	.rv-box { padding: 24px 20px; }
	.rv-localnav__links { display: none; }
	.rv-localnav { margin-bottom: 28px; }
	.rv-hero2__lead { padding: 18px 18px; border-radius: 20px; margin-top: 22px; }
	.rv-tile { min-height: 480px; border-radius: 0; margin-left: -16px; margin-right: -16px; }
	.rv-tile__txt { padding: 42px 22px 14px; }
	.rv-tile__stats { gap: 22px; }
	.rv-stat strong { font-size: 32px; }
	.rv-login > div { padding: 32px 22px; }
	.rv-grid-entry { grid-template-columns: 1fr; }
	.rv-card__body { padding: 18px 16px 22px; }
	.rv-card[open] .rv-card__media { height: 78vh; min-height: 420px; }
	.rv-card__intro { margin: 0 0 56px 16px; padding: 22px 20px 20px; border-radius: 22px; }
	.rv-card__desc { font-size: 17px; }
	.rv-card[open] .rv-card__body { margin-top: -28px; padding: 22px 16px 26px; }
	.rv-ch { padding: 18px 16px; }
	.rv-table thead { display: none; }
	.rv-table, .rv-table tbody, .rv-table tr, .rv-table td { display: block; width: 100%; }
	.rv-table tr { border-bottom: 1px solid var(--rv-line-2); padding: 10px 0; }
	.rv-table td { border: 0; padding: 4px 14px; }
	.rv-table td[data-l]::before { content: attr(data-l) ": "; font-weight: 600; color: var(--rv-muted); font-size: 12px; }
	.rv-row-tools { width: auto; }
	.rv-ta.is-expanded { inset: 0; border-radius: 0; }
	.rv-actions { justify-content: stretch; }
	.rv-actions .rv-btn { flex: 1; }
}

/* Slike vedno raztegnjene čez okvir in centrirane (center-center), ne glede na slog teme */
.rv-app .rv-card__media,
.rv-app .rv-tile__media,
.rv-app .rv-area__media,
.rv-app .rv-hero2__media { position: relative; }
.rv-app .rv-card__img,
.rv-app .rv-area__img,
.rv-app .rv-hero2__img {
	position: absolute !important; inset: 0 !important;
	width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
	object-fit: cover !important; object-position: 50% 50% !important; margin: 0 !important;
}
.rv-app .rv-tile__img { object-position: 50% 50% !important; height: 100% !important; max-width: none !important; }
.rv-app .rv-hero2__media { position: absolute; }

/* ---------- soglasje za objavo, vzdevek ---------- */
.rv-consent { background: #fff; border-radius: 14px; padding: 12px 16px; margin-top: 12px; box-shadow: 0 0 0 1px var(--rv-line-2); }
.rv-consent .rv-check { margin: 0 0 6px; align-items: flex-start; }
.rv-consent .rv-check input { margin-top: 2px; flex: 0 0 20px; }
.rv-consent .rv-field { margin: 10px 0 6px; }
.rv-consent > small { display: block; font-size: 12px; }
.rv-pubchip { display: inline-flex; margin-top: 6px; font-size: 11px; }
.rv-nick__form { display: flex; gap: 10px; max-width: 520px; }
.rv-nick__form input { flex: 1; }

/* ---------- Objave Ruševcev ---------- */
.rv-obj { margin: 0 0 70px; }
.rv-obj__head { position: relative; overflow: hidden; height: min(64vh, 620px); min-height: 380px; display: flex; align-items: flex-end; margin-bottom: 26px;
	background: linear-gradient(160deg, var(--rv-mist), var(--rv-bg-2)); color: var(--rv-steel); }
.rv-obj__media { position: absolute; inset: 0; }
.rv-obj__media .rv-ico { width: min(28vw, 240px); height: auto; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); }
.rv-app .rv-obj__img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 50% !important; }
.rv-obj__head.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,0) 50%, rgba(10,14,20,.3) 100%); }
.rv-obj__glass {
	position: relative; z-index: 2; width: min(620px, calc(100vw - 32px)); margin: 0 0 48px max(16px, calc(50vw - 590px));
	padding: 26px 30px; border-radius: 26px; color: var(--rv-ink);
	background: rgba(245, 245, 247, .72); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
	box-shadow: 0 20px 60px rgba(10,14,20,.22), inset 0 0 0 1px rgba(255,255,255,.5);
}
.rv-obj__glass h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.035em; margin: 2px 0 8px; }
.rv-obj__glass p { margin: 0; font-size: 18px; color: var(--rv-ink-2); }
.rv-gallery { columns: 4 260px; column-gap: 14px; }
.rv-gitem { break-inside: avoid; margin: 0 0 14px; border-radius: 18px; overflow: hidden; background: var(--rv-bg); position: relative; }
.rv-gitem a { display: block; overflow: hidden; cursor: zoom-in; }
.rv-gitem img.rv-gitem__img { width: 100% !important; height: auto !important; display: block; transition: transform 1s var(--rv-ease), filter .4s; }
.rv-gitem:hover img.rv-gitem__img { transform: scale(1.04); }
.rv-gitem figcaption { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.rv-gitem figcaption strong { font-weight: 600; letter-spacing: -.01em; }
.rv-gitem figcaption span { font-size: 13px; color: var(--rv-muted); }
.rv-gitem figcaption b { font-weight: 600; color: var(--rv-ink-2); }

/* lightbox z listanjem */
.rv-lb { position: fixed; inset: 0; z-index: 100002; background: rgba(8, 10, 14, .94); display: flex; align-items: center; justify-content: center; animation: rv-fade .3s; touch-action: pan-y; }
.rv-lb__fig { margin: 0; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rv-lb__img { max-width: 92vw; max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: rv-pop .35s var(--rv-ease); }
.rv-lb__cap { color: #f5f5f7; font: 500 17px/1.4 var(--rv-font, -apple-system, sans-serif); text-align: center; max-width: 760px; }
.rv-lb__cap small { display: block; color: #a1a1a6; font-size: 13px; margin-top: 2px; }
.rv-lb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.rv-lb__btn:hover { background: rgba(255,255,255,.24); }
.rv-lb__prev { left: 24px; }
.rv-lb__next { right: 24px; }
.rv-lb__x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; }
.rv-lb__x:hover { background: rgba(255,255,255,.24); }
@media (max-width: 760px) {
	.rv-gallery { columns: 2 150px; column-gap: 10px; }
	.rv-gitem { margin-bottom: 10px; border-radius: 14px; }
	.rv-gitem figcaption { padding: 10px 12px; font-size: 14px; }
	.rv-obj__glass { margin: 0 0 32px 16px; padding: 20px; }
	.rv-lb__btn { width: 42px; height: 42px; font-size: 22px; top: auto; bottom: 24px; transform: none; }
	.rv-lb__prev { left: calc(50% - 56px); }
	.rv-lb__next { right: calc(50% - 56px); }
	.rv-nick__form { flex-direction: column; }
}

/* ---------- Gnezdo ---------- */
.rv-nest { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-bottom: 70px; }
.rv-nest__card { grid-column: span 2; }
.rv-nest__card:nth-child(1), .rv-nest__card:nth-child(2) { grid-column: span 3; }
.rv-nest__card--mepi .rv-card__media:not(.has-img) { background: linear-gradient(160deg, #dfe6ee, #c9d5e2); color: #6a819a; }
.rv-nest__card {
	display: flex; flex-direction: column; background: var(--rv-bg); border-radius: var(--rv-radius); overflow: hidden;
	text-decoration: none !important; color: var(--rv-ink) !important; transition: transform .4s var(--rv-ease), box-shadow .4s var(--rv-ease);
}
.rv-nest__card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--rv-shadow); }
.rv-nest__card .rv-card__media { aspect-ratio: 16 / 10; }
.rv-nest__card:hover .rv-card__img { transform: scale(1.04); }
.rv-nest__card--moj .rv-card__media:not(.has-img) { background: linear-gradient(160deg, var(--rv-dark-2), var(--rv-dark)); color: #6f8aa6; }
.rv-nest__txt { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px 28px; }
.rv-nest__txt strong { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.rv-nest__txt > span { font-size: 17px; color: var(--rv-ink-2); line-height: 1.4; }
.rv-nest__txt .rv-more { font-style: normal; margin-top: 8px; }
@media (min-width: 761px) and (max-width: 1000px) {
	.rv-nest { grid-template-columns: repeat(2, 1fr); }
	.rv-nest__card, .rv-nest__card:nth-child(1), .rv-nest__card:nth-child(2) { grid-column: auto; }
	.rv-nest__card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.rv-nest { grid-template-columns: 1fr; gap: 14px; }
	.rv-nest__card, .rv-nest__card:nth-child(1), .rv-nest__card:nth-child(2) { grid-column: auto; }
	.rv-nest__txt { padding: 20px 20px 22px; }
}
.rv-loginform input[type="text"], .rv-loginform input[type="password"] {
	width: 100%; border: 1px solid var(--rv-line); border-radius: 12px; padding: 13px 16px; font: 17px var(--rv-font); min-height: 50px; background: #fff;
}
.rv-loginform input:focus { outline: none; border-color: var(--rv-accent); box-shadow: 0 0 0 4px rgba(58,106,150,.18); }
.rv-loginform input[type="submit"] { background: var(--rv-accent); color: #fff; border: 0; border-radius: 980px; padding: 12px 30px; font: 500 17px var(--rv-font); cursor: pointer; }
.rv-login.is-flash > div:first-child { animation: rv-flash 1.4s var(--rv-ease); }
@keyframes rv-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(58,106,150,0); } 30% { box-shadow: 0 0 0 6px rgba(58,106,150,.35); } }
.rv-login { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px); }

/* 1.6.3 – gumbi v glavi Gnezda */
.rv-app .rv-hero2__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px auto 4px; max-width: 760px; }
.rv-app .rv-hbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border-radius: 980px;
	font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none !important; text-transform: none;
	color: #fff !important; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7);
	-webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); transition: background .2s, transform .2s; }
.rv-app .rv-hbtn:hover { background: rgba(255,255,255,.3); }
.rv-app .rv-hbtn:active { transform: scale(.97); }
.rv-app .rv-hbtn--primary { background: var(--rv-accent); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.rv-app .rv-hbtn--primary:hover { background: var(--rv-accent-2, #2f5a82); }
.rv-app .rv-hero2.no-media .rv-hbtn:not(.rv-hbtn--primary) { color: var(--rv-accent) !important; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rv-accent); }
@media (max-width: 560px) {
	.rv-app .rv-hero2__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
	.rv-app .rv-hbtn { font-size: 15px; padding: 11px 12px; }
}
