/**
 * Front: blok natan-plast/landing-hero — typografia nagłówka, style zakresów, przyciski (w tym --custom).
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

.wp-block-natan-plast-landing-hero.hero-wrapper,
section.hero-wrapper.wp-block-natan-plast-landing-hero {
    --np-hero-font: 'Inter', sans-serif;
    --np-primary: #4a7c37;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    z-index: 0;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-content {
    position: absolute;
    z-index: 2;
    bottom: 88px;
    left: 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    max-width: 780px;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 782px) {
    .wp-block-natan-plast-landing-hero.hero-wrapper .hero-content {
        left: 24px;
        right: 24px;
        bottom: 48px;
    }
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title {
    color: #ffffff;
    font-family: var(--np-hero-font);
    font-size: clamp(30px, 3.9vw, 50px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Zakresy formatowania (RichText) */
.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-inline-light {
    font-weight: 300;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-inline-strong {
    font-weight: 700;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-inline-accent {
    font-weight: 700;
    display: block;
    margin-top: 0.08em;
    letter-spacing: inherit;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title strong,
.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title b {
    font-weight: 700;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title br + strong,
.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title br + b {
    display: block;
    font-weight: 700;
    margin-top: 0.08em;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-title-strong {
    font-weight: 700;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-title-accent {
    display: block;
    font-weight: 700;
    margin-top: 0.08em;
}

/* Jedno pole RichText: druga linia po Enter (br w treści) */
.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-title-sub {
    font-weight: 700;
    line-height: 1.04;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-title .hero-title-sub br {
    display: block;
    margin-top: 0.08em;
}

/* Przyciski */
.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 26px;
    font-family: var(--np-hero-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 15px;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border-style: solid;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-btn.btn-primary {
    background-color: var(--np-primary);
    border-width: 1px;
    border-color: var(--np-primary);
    color: #fff;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-btn.btn-primary:hover {
    background-color: #3f6d30;
    border-color: #3f6d30;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-btn.btn-outline-dark {
    background-color: transparent;
    color: #fff;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.9);
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-btn.btn-outline-dark:hover {
    background-color: #fff;
    color: var(--np-primary);
    border-color: #fff;
}

.wp-block-natan-plast-landing-hero.hero-wrapper .hero-cta-btn.hero-cta-btn--custom:hover {
    filter: brightness(1.06);
}
