/*
Theme Name: Rising Stars Cup
Theme URI: https://risingstarscup.eu
Author: CMT d.o.o.
Description: Tema za spletno stran mednarodnega mladinskega nogometnega turnirja Rising Stars Cup (CMT Group). Klasična tema z nastavitvami v Customizerju, pripravljena za Polylang (SLO/ENG).
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietary
Text Domain: rsc
*/

:root {
	--rsc-primary: #2B3BFF;
	--rsc-night: #0A0F2E;
	--rsc-night-2: #141B45;
	--rsc-volt: #D7FF3A;
	--rsc-pink: #FF3D8B;
	--rsc-ice: #F4F6FF;
	--rsc-ink-2: #33395C;
	--rsc-muted: #4A5280;
	--rsc-soft: #C3C8F0;
	--rsc-line: #D5DAF0;
	--rsc-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--rsc-font); color: var(--rsc-night); background: #fff; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rsc-night); }
a:hover { color: var(--rsc-primary); }
:focus-visible { outline: 3px solid var(--rsc-pink); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.rsc-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--rsc-volt); padding: 10px 14px; font-weight: 800; }

.rsc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.rsc-wrap--narrow { max-width: 900px; }

/* Typography */
.rsc-display { font-weight: 900; font-style: italic; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; margin: 0; }
.rsc-h1 { font-size: clamp(38px, 5.6vw, 64px); }
.rsc-h2 { font-size: clamp(30px, 3.6vw, 40px); }
.rsc-h3 { font-size: 19px; line-height: 1.2; }
.rsc-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rsc-primary); margin: 0 0 12px; }
.rsc-lead { font-size: 17px; line-height: 1.65; color: var(--rsc-ink-2); margin: 18px 0 0; }

/* Buttons */
.rsc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; font-family: var(--rsc-font); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.rsc-btn:hover { transform: translateY(-2px); }
.rsc-btn--volt { background: var(--rsc-volt); color: var(--rsc-night); }
.rsc-btn--volt:hover { color: var(--rsc-night); }
.rsc-btn--night { background: var(--rsc-night); color: #fff; }
.rsc-btn--night:hover { color: #fff; }
.rsc-btn--outline { border-color: var(--rsc-night); color: var(--rsc-night); background: transparent; }
.rsc-btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.rsc-btn--outline-light:hover { color: #fff; }
.rsc-btn--disabled { background: transparent; border: 2px dashed currentColor; cursor: default; opacity: .85; }
.rsc-btn--disabled:hover { transform: none; }
.rsc-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Brand bar */
.rsc-brandbar { background: var(--rsc-night); color: var(--rsc-soft); font-size: 13px; }
.rsc-brandbar .rsc-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.rsc-brandbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.rsc-brandbar a { color: var(--rsc-soft); text-decoration: none; }
.rsc-brandbar a:hover { color: #fff; }
.rsc-brandbar .current-brand a, .rsc-brandbar .current-menu-item a { color: var(--rsc-volt); font-weight: 700; }
.rsc-brandbar__label { color: #8A92C4; }
.rsc-langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.rsc-langs a { text-transform: uppercase; color: #8A92C4; }
.rsc-langs .current-lang a { color: #fff; font-weight: 700; }

/* Header */
.rsc-header { background: #fff; border-bottom: 1px solid #E3E6F5; position: sticky; top: 0; z-index: 50; }
.rsc-header .rsc-wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.rsc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rsc-night); }
.rsc-logo:hover { color: var(--rsc-night); }
.rsc-logo__name { display: block; font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 20px; letter-spacing: 0.03em; line-height: 1; }
.rsc-logo__sub { display: block; font-weight: 800; font-size: 10px; letter-spacing: 0.5em; margin-top: 4px; color: var(--rsc-primary); }
.rsc-logo img { max-height: 48px; width: auto; }
.rsc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.rsc-nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.rsc-header__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.rsc-header__cta .rsc-btn { min-height: 44px; font-size: 13px; padding: 10px 16px; }
@media (max-width: 860px) {
	.rsc-header { position: static; }
	.rsc-nav { order: 3; width: 100%; overflow-x: auto; }
	.rsc-nav ul { flex-wrap: nowrap; padding-bottom: 4px; }
	.rsc-nav li { white-space: nowrap; }
}

/* Beams (stadium lights) */
.rsc-beams { position: relative; overflow: hidden; isolation: isolate; }
.rsc-beam { position: absolute; top: -120px; height: 1400px; transform: rotate(28deg); z-index: -1; pointer-events: none; }
.rsc-beam--volt { left: -120px; width: 150px; background: var(--rsc-volt); }
.rsc-beam--pink { left: 70px; width: 36px; background: var(--rsc-pink); }
.rsc-beam--soft { right: 40px; left: auto; width: 70px; background: #fff; opacity: .08; transform: rotate(-24deg); }
.rsc-beam--soft2 { right: 160px; left: auto; width: 20px; background: #fff; opacity: .14; transform: rotate(-24deg); }

/* Hero */
.rsc-hero { background: var(--rsc-primary); color: #fff; }
.rsc-hero .rsc-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 64px; }
.rsc-hero__text { flex: 1 1 460px; min-width: 0; padding-left: 40px; }
.rsc-hero__media { flex: 1 1 420px; min-width: 0; }
.rsc-hero .rsc-lead { color: #E3E7FF; font-size: 19px; max-width: 540px; }
.rsc-hero__meta { margin-top: 14px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.rsc-hero .rsc-btns { margin-top: 32px; }
.rsc-badge-night { display: inline-block; background: var(--rsc-night); color: var(--rsc-volt); font-size: 12px; font-weight: 800; letter-spacing: 0.2em; padding: 8px 12px; text-transform: uppercase; margin-bottom: 24px; }
@media (max-width: 600px) { .rsc-hero__text { padding-left: 0; } .rsc-hero .rsc-wrap { padding-top: 56px; } }

/* Media + placeholders */
.rsc-media { position: relative; overflow: hidden; background: var(--rsc-night); min-height: 260px; }
.rsc-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.rsc-media--hero { height: 460px; }
.rsc-media--about { height: 340px; }
.rsc-media--companions { height: 400px; }
.rsc-media--venue { height: 380px; background: #DCE2FF; }
.rsc-media--card { height: 220px; min-height: 0; }
.rsc-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rsc-placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; font-size: 13px; line-height: 1.5; color: var(--rsc-soft); }
.rsc-media--venue .rsc-placeholder { color: var(--rsc-ink-2); }
.rsc-placeholder strong { display: block; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.rsc-media--venue .rsc-placeholder strong { color: var(--rsc-night); }
.rsc-video { position: relative; aspect-ratio: 16 / 9; background: var(--rsc-night); }
.rsc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Stats */
.rsc-stats { background: var(--rsc-night); color: #fff; }
.rsc-stats .rsc-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.rsc-stat__num { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 40px; line-height: 1.1; color: var(--rsc-volt); }
.rsc-stat__label { font-size: 14px; color: var(--rsc-soft); }

/* Sections */
.rsc-section { padding: 88px 0; }
.rsc-section--ice { background: var(--rsc-ice); }
.rsc-section--night { background: var(--rsc-night); color: #fff; }
.rsc-section--night .rsc-eyebrow { color: var(--rsc-volt); }
.rsc-section--pink { background: var(--rsc-pink); }
.rsc-section--pink .rsc-eyebrow { color: var(--rsc-night); }
.rsc-section--pink .rsc-lead { color: var(--rsc-night); }
.rsc-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rsc-split > * { flex: 1 1 420px; min-width: 0; }
.rsc-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.rsc-head > div { max-width: 680px; }

/* Ring decoration */
.rsc-ring { position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 28px solid var(--rsc-volt); z-index: -1; }

/* Features */
.rsc-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.rsc-feature { border-top: 4px solid var(--rsc-primary); padding-top: 20px; }
.rsc-feature:nth-child(2) { border-color: var(--rsc-volt); }
.rsc-feature:nth-child(3) { border-color: var(--rsc-pink); }
.rsc-feature:nth-child(4) { border-color: var(--rsc-night); }
.rsc-feature p { margin: 10px 0 0; font-size: 15px; color: var(--rsc-ink-2); }

/* Category cards */
.rsc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.rsc-card { background: #fff; display: flex; flex-direction: column; }
.rsc-card:nth-child(2) .rsc-media { background: var(--rsc-primary); }
.rsc-card:nth-child(3) .rsc-media { background: #1B2A6B; }
.rsc-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rsc-card__title { font-size: 34px; }
.rsc-card__meta { font-size: 15px; color: var(--rsc-ink-2); line-height: 1.6; margin: 0; }
.rsc-card .rsc-btn { margin-top: auto; align-self: flex-start; font-size: 13px; min-height: 44px; }
.rsc-badge { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 800; padding: 6px 10px; text-transform: uppercase; letter-spacing: 0.06em; background: var(--rsc-volt); color: var(--rsc-night); }
.rsc-badge--open { background: var(--rsc-volt); }
.rsc-badge--high { background: var(--rsc-pink); }
.rsc-badge--last { background: #FF8A1F; }
.rsc-badge--sold { background: #fff; color: var(--rsc-night); }
.rsc-badge--soon { background: #fff; }
.rsc-badge--inline { position: static; display: inline-block; }

/* Days */
.rsc-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.rsc-day { background: var(--rsc-night-2); padding: 24px; }
.rsc-day__no { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 15px; color: var(--rsc-volt); letter-spacing: 0.1em; text-transform: uppercase; }
.rsc-day__title { margin: 10px 0 0; font-weight: 800; font-size: 18px; }
.rsc-day p { margin: 8px 0 0; font-size: 15px; color: var(--rsc-soft); }

/* Companions */
.rsc-list { margin: 18px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.rsc-price { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.rsc-price__from, .rsc-price__per { font-size: 13px; font-weight: 700; }
.rsc-price__amount { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 40px; line-height: 1; }

/* Steps */
.rsc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rsc-step { background: var(--rsc-ice); padding: 22px; }
.rsc-step:last-child { background: var(--rsc-night); color: #fff; }
.rsc-step__no { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 34px; color: var(--rsc-primary); line-height: 1.1; }
.rsc-step:last-child .rsc-step__no { color: var(--rsc-volt); }
.rsc-step__title { margin: 8px 0 0; font-weight: 800; font-size: 16px; }
.rsc-step p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--rsc-ink-2); }
.rsc-step:last-child p { color: var(--rsc-soft); }

/* Venue */
.rsc-distances { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; line-height: 2; color: var(--rsc-ink-2); }

/* FAQ */
.rsc-faq details { border-top: 1px solid var(--rsc-line); }
.rsc-faq details:last-child { border-bottom: 1px solid var(--rsc-line); }
.rsc-faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.rsc-faq summary::-webkit-details-marker { display: none; }
.rsc-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--rsc-primary); }
.rsc-faq details[open] summary::after { content: "–"; }
.rsc-faq details p { margin: 0 0 20px; color: var(--rsc-ink-2); }

/* Page / content */
.rsc-pagehero { background: var(--rsc-primary); color: #fff; }
.rsc-pagehero .rsc-wrap { padding-top: 64px; padding-bottom: 56px; }
.rsc-pagehero .rsc-eyebrow { color: var(--rsc-volt); }
.rsc-pagehero__meta { margin-top: 16px; font-weight: 700; color: #E3E7FF; }
.rsc-content { font-size: 17px; }
.rsc-content > * + * { margin-top: 1.1em; }
.rsc-content h2, .rsc-content h3 { font-weight: 900; font-style: italic; font-stretch: 125%; text-transform: uppercase; line-height: 1.1; margin-top: 1.8em; }
.rsc-content h2 { font-size: 28px; }
.rsc-content h3 { font-size: 20px; }
.rsc-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.rsc-content th, .rsc-content td { border: 1px solid var(--rsc-line); padding: 10px 12px; text-align: left; }
.rsc-content a { color: var(--rsc-primary); }
.rsc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.rsc-facts li { background: var(--rsc-ice); padding: 18px; }
.rsc-facts span { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rsc-muted); }
.rsc-facts strong { display: block; margin-top: 6px; font-size: 18px; }

/* Password form */
.rsc-pass { background: var(--rsc-ice); padding: 32px; max-width: 560px; }
.rsc-pass p { margin: 0 0 16px; color: var(--rsc-ink-2); }
.rsc-pass label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.rsc-pass__row { display: flex; flex-wrap: wrap; gap: 10px; }
.rsc-pass input { flex: 1 1 220px; min-height: 48px; padding: 10px 14px; font: inherit; border: 2px solid var(--rsc-night); background: #fff; }

/* Footer */
.rsc-footer { background: var(--rsc-night); color: var(--rsc-soft); font-size: 14px; }
.rsc-footer .rsc-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 32px; }
.rsc-footer a { color: var(--rsc-soft); text-decoration: none; }
.rsc-footer a:hover { color: #fff; }
.rsc-footer__title { color: #fff; font-weight: 800; margin: 0 0 12px; font-size: 14px; }
.rsc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rsc-footer .rsc-logo__name { color: #fff; font-size: 22px; }
.rsc-footer .rsc-logo__sub { color: var(--rsc-volt); }
.rsc-footer__bottom { border-top: 1px solid #252E5A; }
.rsc-footer__bottom .rsc-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 20px; padding-bottom: 32px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rsc-btn { transition: none; } }
/* Subpage hero: beams on the right so the title stays clean */
.rsc-pagehero .rsc-beam--volt { left: auto; right: -40px; width: 120px; }
.rsc-pagehero .rsc-beam--pink { left: auto; right: 120px; width: 30px; }
@media (max-width: 860px) {
	.rsc-hero > .rsc-beam { display: none; }
	.rsc-hero { border-bottom: 10px solid var(--rsc-volt); box-shadow: inset 0 -20px 0 var(--rsc-pink); }
	.rsc-pagehero .rsc-beam--volt { width: 60px; right: -30px; }
	.rsc-pagehero .rsc-beam--pink { width: 16px; right: 40px; }
}
