/* Rdeči petelin – glava, noga in naslovnica (po prototipu). */

:root {
	--rp-red: #C8102E;
	--rp-red-dark: #9E0C23;
	--rp-yellow: #FFD100;
	--rp-dark-line: #2A3A5C;
	--rp-on-dark: #C9D1E0;
	--rp-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	--rp-body: 'Barlow', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Glava in noga teme Kadence sta zamenjani z našima. */
#masthead, #colophon { display: none !important; }

body { background: var(--rp-bg); }
.rp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.rp-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--rp-yellow); color: var(--rp-navy); padding: 10px 14px; font-weight: 700; }
.rp-skip:focus { left: 12px; top: 12px; }

/* Gumbi */
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 10px; font-family: var(--rp-body); font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.rp-btn--red { background: var(--rp-red); color: #fff; }
.rp-btn--red:hover, .rp-btn--red:focus-visible { background: var(--rp-red-dark); color: #fff; }
.rp-btn--yellow { background: var(--rp-yellow); color: var(--rp-navy); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.rp-btn--yellow::after { content: "→"; display: inline-block; transition: transform .18s ease; }
.rp-btn--yellow:hover, .rp-btn--yellow:focus-visible { background: #FFDC33; color: var(--rp-navy); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(255, 209, 0, .38), 0 2px 6px rgba(0, 0, 0, .3); }
.rp-btn--yellow:hover::after, .rp-btn--yellow:focus-visible::after { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) {
	.rp-btn--yellow, .rp-btn--yellow::after { transition: none; }
	.rp-btn--yellow:hover, .rp-btn--yellow:hover::after { transform: none; }
}

/* Rumen trak */
.rp-topbar { background: var(--rp-yellow); color: var(--rp-navy); font-size: 15px; font-weight: 600; }
.rp-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.rp-topbar a { color: var(--rp-navy); text-decoration: none; margin-left: 22px; white-space: nowrap; }
.rp-topbar a:hover { text-decoration: underline; }

/* Glava */
.rp-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: var(--rp-navy); border-bottom: 1px solid var(--rp-dark-line); }
.rp-header__inner { display: flex; align-items: center; gap: 20px; min-height: 88px; }
.rp-logo { flex-shrink: 0; margin-right: auto; }
.rp-logo img { max-height: 62px; width: auto; border-radius: 6px; display: block; }
.rp-logo__text { font-family: var(--rp-display); font-weight: 700; font-size: 30px; color: #fff; text-decoration: none; text-transform: uppercase; }
.rp-nav { display: flex; align-items: center; gap: 28px; }
.rp-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.rp-nav__list a { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; }
.rp-nav__list a:hover, .rp-nav__list a:focus-visible { color: var(--rp-yellow); }
.rp-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 10px; border: 1.5px solid var(--rp-dark-line); color: #fff; }
.rp-cart:hover, .rp-cart:focus-visible { border-color: var(--rp-yellow); color: var(--rp-yellow); }
.rp-cart__count { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rp-yellow); color: var(--rp-navy); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rp-menu-btn { display: none; width: 50px; height: 50px; border-radius: 10px; border: 1.5px solid var(--rp-dark-line); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.rp-hero { position: relative; display: flex; align-items: center; min-height: clamp(600px, 43.2vw, 860px); background: var(--rp-navy); overflow: hidden; }
.rp-hero__pic { position: absolute; inset: 0; }
.rp-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.rp-hero__panel { position: relative; z-index: 2; max-width: 580px; margin: 40px 24px 40px max(24px, calc((100vw - 1200px) / 2 + 24px)); padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 22px; background: rgba(14, 24, 48, .14); border: 1px solid rgba(255, 255, 255, .10); border-radius: 20px; text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 2px 14px rgba(0, 0, 0, .6); }
.rp-pill { align-self: flex-start; border: 1.5px solid var(--rp-yellow); color: var(--rp-yellow); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(14, 24, 48, .25); }
.rp-hero h1 { margin: 0; font-family: var(--rp-display); font-weight: 700; font-size: clamp(44px, 5.2vw, 72px); line-height: 1; text-transform: uppercase; color: #fff; }

.rp-hero__tag { margin: 0; font-size: 24px; font-weight: 600; color: #fff; }
.rp-hero__lead { margin: 0; font-size: 18px; line-height: 1.55; color: #fff; max-width: 440px; }
.rp-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.rp-hero .rp-btn { text-shadow: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }

/* Prednosti */
.rp-trust { background: var(--rp-surface); border-bottom: 1px solid var(--rp-line); }
.rp-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.rp-trust__it { display: flex; gap: 14px; align-items: flex-start; }
.rp-trust__it svg { flex-shrink: 0; color: var(--rp-yellow); }
.rp-trust__it b { display: block; font-size: 18px; color: var(--rp-ink); }
.rp-trust__it span { display: block; font-size: 15px; color: var(--rp-muted); line-height: 1.45; padding-top: 3px; }

/* Razdelki */
.rp-sec { padding: 88px 0; }
.rp-sec--alt { background: var(--rp-surface-2); }
.rp-sec h2 { margin: 0; font-family: var(--rp-display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1; text-transform: uppercase; color: var(--rp-ink); }
.rp-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.rp-sec__head p { margin: 0; max-width: 460px; color: var(--rp-muted); font-size: 18px; line-height: 1.55; }
.rp-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rp-yellow); margin-bottom: 12px; }
.rp-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 4px; background: var(--rp-yellow); vertical-align: middle; margin-right: 10px; border-radius: 2px; }

/* Kartice izdelkov (naslovnica in trgovina) */
.rp-home .woocommerce ul.products { margin: 0; }
ul.products li.product { background: var(--rp-surface) !important; border: 1px solid var(--rp-line); border-radius: 16px; overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
ul.products li.product:hover { border-color: var(--rp-yellow); transform: translateY(-3px); }
ul.products li.product img { background: transparent; margin: 0 !important; }
ul.products li.product .product-details { background: transparent !important; margin: 0 !important; padding: 18px 20px 22px !important; display: flex; flex-direction: column; gap: 6px; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--rp-body) !important; text-transform: none !important; font-size: 19px !important; font-weight: 700; line-height: 1.25; color: var(--rp-ink); margin: 0 0 4px; }
ul.products li.product .woocommerce-loop-product__title a { color: inherit; text-decoration: none; }
ul.products li.product .price, ul.products li.product .rp-price { color: var(--rp-yellow); font-size: 17px; }
ul.products li.product .product-action-wrap { opacity: 1 !important; visibility: visible !important; position: static !important; transform: none !important; margin-top: 8px; padding: 0 !important; }
.rp-choose { display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px !important; border-radius: 10px !important; background: var(--rp-red) !important; color: #fff !important; font-weight: 700; text-decoration: none; text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; }
.rp-choose:hover, .rp-choose:focus-visible { background: var(--rp-red-dark) !important; color: #fff !important; }

/* Kaj vsebujejo */
.rp-feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rp-feat__it { background: var(--rp-surface); border: 1px solid var(--rp-line); border-left: 4px solid var(--rp-yellow); border-radius: 12px; padding: 18px 18px 20px; }
.rp-feat__it b { display: block; font-size: 17px; margin-bottom: 6px; color: var(--rp-ink); }
.rp-feat__it span { display: block; color: var(--rp-muted); font-size: 15px; line-height: 1.45; }
.rp-feat__it em { font-style: normal; background: var(--rp-yellow); color: var(--rp-navy); border-radius: 6px; padding: 1px 7px; font-size: 12px; margin-right: 6px; vertical-align: 2px; }
/* Kartica z oknom (Evropski kodeks proti raku) */
.rp-feat__it--btn { position: relative; display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rp-feat__it--btn:hover, .rp-feat__it--btn:focus-visible { border-color: var(--rp-yellow); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); background: var(--rp-surface); color: inherit; }
.rp-feat__it--btn:active { background: var(--rp-surface); color: inherit; }
.rp-feat__it em.rp-new { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 8px; font-size: 16px; font-weight: 800; letter-spacing: .08em; line-height: 1.1; vertical-align: 0; box-shadow: 0 0 0 4px rgba(255,209,0,.18); }
.rp-feat__it .rp-feat__more { margin-top: 12px; color: var(--rp-yellow); font-weight: 700; font-size: 15px; }
.rp-feat__it--btn:hover .rp-feat__more span { display: inline-block; transform: translateX(3px); transition: transform .15s; }

/* Okno kodeksa (sloge okna prevzame iz .rp-qv vtičnika) */
.rp-kodeks .rp-qv__photo { box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.rp-kodeks__list { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: rpk; display: flex; flex-direction: column; gap: 8px; }
.rp-kodeks__list li { counter-increment: rpk; position: relative; padding-left: 40px; font-size: 15px; line-height: 1.45; color: var(--rp-muted); }
.rp-kodeks__list li::before { content: counter(rpk); position: absolute; left: 0; top: 0; width: 28px; height: 24px; border-radius: 6px; background: var(--rp-yellow); color: var(--rp-navy); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rp-kodeks__list b { color: var(--rp-ink); }
.rp-kodeks__why { margin-top: 14px; padding: 14px 16px; border-radius: 12px; border-left: 4px solid var(--rp-yellow); background: var(--rp-bg); }
.rp-kodeks__why b { display: block; margin-bottom: 4px; color: var(--rp-ink); }
.rp-kodeks__why p { margin: 0; font-size: 15px; color: var(--rp-muted); line-height: 1.5; }
.rp-kodeks__cta { display: flex !important; align-items: center; justify-content: center; margin-top: 16px; text-decoration: none !important; }

/* Koraki */
.rp-how { background: var(--rp-navy); }
.rp-how h2 { color: #fff; margin-bottom: 40px; }
.rp-how__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rp-how__grid > div { border-top: 3px solid var(--rp-yellow); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.rp-how__num { font-family: var(--rp-display); font-weight: 700; font-size: 60px; line-height: 1; color: var(--rp-yellow); }
.rp-how h3 { margin: 0; font-size: 23px; color: #fff; }
.rp-how p { margin: 0; color: var(--rp-on-dark); }

/* Kontakt */
.rp-contact { background: var(--rp-navy-2); border-top: 4px solid var(--rp-yellow); }
.rp-contact__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; }
.rp-contact h2 { color: #fff; margin-bottom: 20px; }
.rp-contact p { color: var(--rp-on-dark); font-size: 18px; }
.rp-contact__list { list-style: none; margin: 20px 0; padding: 0; }
.rp-contact__list li { margin-bottom: 12px; }
.rp-contact__list a { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; border-left: 4px solid var(--rp-yellow); padding-left: 12px; }
.rp-contact__list a:hover { color: var(--rp-yellow); }
.rp-form { background: var(--rp-surface); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-content: start; }
.rp-form p { margin: 0; }
.rp-form label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--rp-ink); }
.rp-form input[type="text"], .rp-form input:not([type]), .rp-form input[type="email"], .rp-form input[type="tel"], .rp-form textarea { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--rp-ink); background: var(--rp-bg); border: 1.5px solid #3A4866; border-radius: 10px; }
.rp-form textarea { min-height: 120px; resize: vertical; }
.rp-full { grid-column: 1 / -1; }
.rp-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--rp-muted); }
.rp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rp-yellow); }
.rp-form__end { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--rp-muted); font-size: 14px; }
.rp-form__msg { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.rp-form__msg--ok { background: rgba(255, 209, 0, .12); border: 1.5px solid var(--rp-yellow); color: var(--rp-ink); }
.rp-form__msg--err { background: rgba(200, 16, 46, .15); border: 1.5px solid var(--rp-red); color: var(--rp-ink); }
.rp-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Noga */
.rp-footer { background: var(--rp-navy); color: #AAB4C6; }
.rp-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 48px 0 32px; }
.rp-footer__top .rp-logo { margin-right: 0; }
.rp-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.rp-footer__nav a { color: #fff; text-decoration: none; font-weight: 600; }
.rp-footer__nav a:hover { color: var(--rp-yellow); }
.rp-footer__cols { display: block; padding-bottom: 24px; font-size: 15px; line-height: 1.6; }
.rp-footer__cols strong { color: #fff; }
.rp-terms summary { cursor: pointer; color: #fff; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; }
.rp-terms summary::-webkit-details-marker { display: none; }
.rp-terms summary::before { content: "▸"; color: var(--rp-yellow); transition: transform .18s ease; }
.rp-terms[open] summary::before { transform: rotate(90deg); }
.rp-terms p { margin: 0 0 8px; font-size: 14px; }
.rp-footer__copy { font-size: 13px; margin: 0 0 16px; max-width: 900px; }
.rp-footer__bot { border-top: 1px solid var(--rp-dark-line); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.rp-footer__bot a { color: #AAB4C6; }
.rp-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.rp-terms a { color: var(--rp-yellow); }

/* Odzivnost */
@media (max-width: 1080px) {
	.rp-trust__grid, .rp-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rp-contact__grid, .rp-footer__cols { grid-template-columns: 1fr; gap: 32px; }
	.rp-hero__panel { max-width: 540px; }
}
@media (max-width: 960px) {
	.rp-menu-btn { display: inline-flex; }
	.rp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; background: var(--rp-navy); border-bottom: 1px solid var(--rp-dark-line); }
	.rp-nav.is-open { display: flex; }
	.rp-nav__list { flex-direction: column; gap: 0; }
	.rp-nav__list a { display: block; padding: 12px 0; }
	.rp-nav__cta { margin-top: 10px; }
	.rp-topbar__msg { display: none; }
	.rp-topbar__inner { justify-content: center; }
}
@media (max-width: 760px) {
	.rp-hero { flex-direction: column; align-items: stretch; min-height: 0; }
	.rp-hero__pic { position: relative; inset: auto; aspect-ratio: 1909 / 824; }
	.rp-hero__panel { max-width: none; margin: 0; border: 0; border-radius: 0; background: var(--rp-navy); padding: 36px 24px 44px; }
	.rp-how__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.rp-trust__grid, .rp-feat, .rp-form { grid-template-columns: 1fr; }
	.rp-form { padding: 24px; }
	.rp-sec { padding: 64px 0; }
	.rp-logo img { max-height: 46px; }
	.rp-topbar a { margin: 0 8px; }
	.rp-topbar__mail { display: none; }
}

/* Sidrne povezave ne zaidejo pod lepljivo glavo. */
.rp-home section[id] { scroll-margin-top: 100px; }

/* Naslovni pas podstrani (Košarica, Trgovina …) usklajen z naslovnico. */
.entry-hero-container-inner, .entry-hero .entry-header { background: var(--rp-navy) !important; }
.entry-hero { border-bottom: 4px solid var(--rp-yellow); }
.entry-hero .entry-title { font-family: var(--rp-display); text-transform: uppercase; }

/* Gumb za meni brez privzetih barv teme ob kliku. */
.rp-menu-btn, .rp-menu-btn:hover, .rp-menu-btn:focus, .rp-menu-btn:active { background: transparent !important; color: #fff !important; box-shadow: none !important; }
.rp-menu-btn:hover, .rp-menu-btn:focus-visible, .rp-menu-btn[aria-expanded="true"] { border-color: var(--rp-yellow); color: var(--rp-yellow) !important; }

/* Avtor strani */
.rp-footer__credit a { position: relative; display: inline-block; color: #fff; text-decoration: none; border: 0; }
.rp-footer__credit a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--rp-yellow); transform: scaleX(0); transform-origin: left center; transition: transform .25s ease, bottom .25s ease; }
.rp-footer__credit a:hover, .rp-footer__credit a:focus-visible { color: var(--rp-yellow); }
.rp-footer__credit a:hover::after, .rp-footer__credit a:focus-visible::after { transform: scaleX(1); bottom: -4px; }
@media (prefers-reduced-motion: reduce) { .rp-footer__credit a::after { transition: none; } }

/* Pravne strani v oknu */
html.rp-legal-open { overflow: hidden; }
.rp-legal { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--rp-dark-line); border-radius: 20px; background: var(--rp-surface); color: var(--rp-ink); overflow: hidden; display: flex; flex-direction: column; }
.rp-legal:not([open]) { display: none; }
.rp-legal::backdrop { background: rgba(4, 8, 18, .72); }
.rp-legal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--rp-dark-line); background: var(--rp-navy); }
.rp-legal__head h2 { margin: 0; font-family: var(--rp-display); text-transform: uppercase; font-size: 30px; color: #fff; }
.rp-legal__x, .rp-legal__x:hover, .rp-legal__x:focus, .rp-legal__x:active { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; border: 1.5px solid var(--rp-dark-line); background: transparent !important; color: #fff !important; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: none !important; }
.rp-legal__x:hover, .rp-legal__x:focus-visible { border-color: var(--rp-yellow); }
.rp-legal__body { overflow: auto; padding: 24px 28px 32px; line-height: 1.65; color: var(--rp-muted); }
.rp-legal__body h2, .rp-legal__body h3 { color: var(--rp-ink); font-family: var(--rp-body); text-transform: none; margin: 1.4em 0 .5em; }
.rp-legal__body h2 { font-size: 21px; }
.rp-legal__body h3 { font-size: 17px; }
.rp-legal__body strong { color: var(--rp-ink); }
.rp-legal__body a { color: var(--rp-yellow); }
.rp-legal__body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.rp-legal__body th, .rp-legal__body td { border: 1px solid var(--rp-dark-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.rp-legal__body th { color: var(--rp-ink); background: var(--rp-navy); }
.rp-legal__body figure { margin: 0; overflow-x: auto; }
.rp-legal__loading { text-align: center; padding: 40px 0; }
@media (max-width: 600px) {
	.rp-legal { width: 100vw; max-width: 100vw; max-height: 100dvh; border-radius: 0; margin: 0; }
	.rp-legal__body { padding: 20px 18px 28px; }
	.rp-legal__head h2 { font-size: 24px; }
}

/* Kartice izdelkov: cel koledar na svetli podlagi (kot v prototipu). */
ul.products li.product .woocommerce-loop-image-link { display: flex !important; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 18px; box-sizing: border-box; background: radial-gradient(ellipse at 50% 40%, #2A3A5C 0%, #1C2740 55%, #162036 100%); border-bottom: 1px solid var(--rp-line); overflow: hidden; }
ul.products li.product .woocommerce-loop-image-link img { width: auto !important; max-width: 100%; height: 100% !important; object-fit: contain; background: transparent !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
ul.products li.product .woocommerce-loop-image-link img.woocommerce-placeholder { box-shadow: none; opacity: .12; filter: invert(1); }
.rp-feat__it .rp-feat__more span { display: inline-block; }

/* Facebook */
.rp-topbar__fb { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.rp-topbar__fb svg { flex: 0 0 auto; }
.rp-footer__cols { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: 32px; align-items: start; }
@media (max-width: 768px) { .rp-footer__cols { grid-template-columns: 1fr; } }
.rp-footer__social { display: flex; flex-direction: column; gap: 6px; }
.rp-footer__social span { color: var(--rp-muted); }
.rp-fb-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; padding: 10px 16px; border-radius: 10px; background: #1877F2; color: #fff !important; font-weight: 700; text-decoration: none !important; transition: background .15s, transform .15s; }
.rp-fb-btn:hover, .rp-fb-btn:focus-visible { background: #0f63d6; transform: translateY(-1px); color: #fff; }
@media (max-width: 768px) { .rp-topbar__fb span { display: none; } }

/* Logotip ima bele vogale – obrežemo ga na oval, da se zlije s temnim ozadjem. */

.rp-t2__logo, .rp-logo img { clip-path: ellipse(48.5% 47% at 50% 50%); }

/* Hero naslov: 2. vrstica »Rdeči petelin« + logotip, desni rob poravnan s 1. vrstico */
.rp-hero h1.rp-hero__title { display: inline-flex; flex-direction: column; align-self: flex-start; gap: .06em; }
.rp-hero h1 .rp-t1, .rp-hero h1 .rp-t2__name { white-space: nowrap; }
.rp-hero h1 .rp-t2 { display: flex; align-items: center; justify-content: space-between; gap: .28em; }
.rp-hero h1 .rp-t2__name { color: #F0242F; }
.rp-hero h1 .rp-t2__logo { height: .92em; width: auto; max-width: none; flex: 0 0 auto; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .55)); transform: translateY(-.02em); }
@media (max-width: 600px) { .rp-hero h1.rp-hero__title { font-size: min(44px, 11.2vw); } }
