/* RCI dizajn v2 – podstránky: úvodný pás (.page-hero zo subpage.css) v štýle v2. Obsah stránok sa nemení. */
.page-hero.v2ph { text-align: left; padding: 176px 24px 130px; background: var(--navy-dd); }
.v2ph .page-hero-bg { background: var(--navy-dd) url(img/dem_sr.webp?v=1c2e1553399) 50% 45% / cover no-repeat; }
.v2ph .page-hero-bg::after { background: linear-gradient(90deg, rgba(8,37,68,.92) 0%, rgba(8,37,68,.78) 42%, rgba(8,37,68,.35) 100%); z-index: 1; }
.v2ph-img { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 2; background-position: center; background-size: cover; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 62%); opacity: .95; }
.v2ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C180 70 380 70 580 46 C780 22 920 6 1100 24 C1250 40 1350 54 1440 36 L1440 70 L0 70 Z' fill='%23fff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.v2ph .container { max-width: var(--max); z-index: 4; }
.v2ph .hero-label { display: block; font-family: var(--f-b); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: var(--sky-l); margin-bottom: 20px; font-weight: 500; background: none; border: 0; padding: 0; }
.v2ph .hero-label::before, .v2ph .hero-label::after { display: none; }
.v2ph h1 { font-family: var(--f-h); font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.005em; color: #fff; max-width: 15em; padding-left: 26px; border-left: 3px solid var(--sky); margin: 0 0 24px; }
.v2ph h1 b, .v2ph h1 strong { font-weight: 700; }
.v2ph .page-hero-subtitle { margin: 0 0 0 29px; max-width: 40em; text-align: left; color: rgba(255,255,255,.84); font-weight: 300; font-size: 1.1rem; }
.v2ph .container > *:not(h1):not(.hero-label):not(.page-hero-subtitle) { margin-left: 29px; }
/* stránky s vlastným pásom pod hlavičkou (Počasie) – menej miesta dole */
body:has(.wx) .page-hero.v2ph { padding-bottom: 110px; }

/* nadpisy sekcií: tenšie, ako na úvodnej stránke */
.section-title { font-family: var(--f-h); font-weight: 300; color: var(--navy); letter-spacing: -.005em; }
.section-title b, .section-title strong { font-weight: 700; }
.section-label { color: var(--mid); letter-spacing: .18em; }

@media (max-width: 900px) {
  .page-hero.v2ph { padding: 130px 20px 100px; }
  .v2ph-img { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .v2ph h1 { padding-left: 16px; }
  .v2ph .page-hero-subtitle, .v2ph .container > *:not(h1):not(.hero-label):not(.page-hero-subtitle) { margin-left: 19px; }
}

/* horný okraj obrázka stmaviť, aby lišta s kontaktmi a SK/EN zostala čitateľná aj nad jasnými grafikami */
.v2ph-img::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 190px; background: linear-gradient(180deg, rgba(8,37,68,.92) 0%, rgba(8,37,68,.55) 55%, rgba(8,37,68,0) 100%); }
