/* ==========================================================
   Block: epiano-subpage-hero
   BEM: epiano-subpage-hero__[element]--[modifier]
   Tokeny i style wspólne → assets/css/blocks-base.css
   ========================================================== */

/* --- Wrapper --- */
.epiano-subpage-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-xl);
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* --- Background image layer --- */
.epiano-subpage-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

/* --- Gradient overlay --- */
.epiano-subpage-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(25, 22, 20, 0.85) 0%,
        rgba(25, 22, 20, 0.35) 100%
    );
    z-index: 2;
}

/* --- Inner container --- */
/* max-width/margin/padding → utility .epiano-container w template.php */
.epiano-subpage-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
}

/* --- Eyebrow / Title --- */
/* Bazowe style → utility classes w template.php:
   .epiano-eyebrow / .epiano-section-heading.--light */

/* Subpage-hero eyebrow ma większy dolny odstęp niż domyślny */
.epiano-subpage-hero__eyebrow {
    margin-bottom: var(--space-sm);
}

/* Odstęp pod tytułem specyficzny dla subpage-hero */
.epiano-subpage-hero__title {
    margin-bottom: var(--space-sm);
}

/* --- Description --- */
.epiano-subpage-hero__desc {
    font-size: var(--fz-lg);
    color: rgba(252, 251, 249, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

