:root {
    --budafoki-blue: #0a2055;
    --budafoki-green: #9abd53;
    --budafoki-green-dark: #79b00b;
    --budafoki-illustration-green: #72be4a;
    --budafoki-ink-soft: #505b69;
    --budafoki-line: rgba(10, 32, 85, 0.22);
    --budafoki-surface: #fafbfc;
    --budafoki-button-gradient: linear-gradient(90deg, #9abd53 0%, #79b00b 100%);
    --budafoki-button-gradient-hover: linear-gradient(90deg, #79b00b 0%, #9abd53 100%);
}

.budafoki-button,
.btn-primary,
.wp-block-button__link,
.lc-button-primary {
    border-color: transparent !important;
    color: #fff !important;
    background-color: var(--budafoki-green) !important;
    background-image: var(--budafoki-button-gradient) !important;
}

.budafoki-button:hover,
.budafoki-button:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.lc-button-primary:hover,
.lc-button-primary:focus-visible {
    color: #fff !important;
    background-image: var(--budafoki-button-gradient-hover) !important;
}

.budafoki-page-hero {
    position: relative;
    min-height: clamp(300px, 27vw, 390px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(48px, 5vw, 68px) 0;
    background-color: var(--budafoki-surface);
    background-repeat: no-repeat;
    background-position: center, center bottom;
    background-size: 100% 100%, 100% auto;
}

.budafoki-page-hero::after {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: var(--budafoki-line);
    pointer-events: none;
}

.budafoki-page-hero--gyik {
    background-image: var(--budafoki-hero-fade), url("../images/gyik-hero-hazak.svg");
}

.budafoki-page-hero--reszvetel {
    background-image: var(--budafoki-hero-fade), url("../images/reszvetel-hero-hazak.svg");
}

.budafoki-page-hero--hirek {
    background-image: var(--budafoki-hero-fade), url("../images/hirek-hero-hazak.svg");
}

.budafoki-page-hero--kapcsolat {
    background-image: var(--budafoki-hero-fade), url("../images/kapcsolat-hero-hazak.svg");
}

.budafoki-page-hero {
    --budafoki-hero-fade: linear-gradient(
        90deg,
        rgba(250, 251, 252, 0.99) 0%,
        rgba(250, 251, 252, 0.97) 25%,
        rgba(250, 251, 252, 0.78) 40%,
        rgba(250, 251, 252, 0.56) 53%,
        rgba(250, 251, 252, 0.24) 65%,
        rgba(250, 251, 252, 0) 81%
    );
}

.budafoki-page-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    /*max-width: 1200px;*/
}

.budafoki-page-hero__eyebrow {
    margin: 0 0 12px;
    color: var(--budafoki-blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.budafoki-page-hero__title {
    max-width: 650px;
    margin: 0;
    color: var(--budafoki-blue);
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.budafoki-page-hero__lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--budafoki-ink-soft);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
}

.budafoki-page-hero__lead > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .budafoki-page-hero {
        min-height: 470px;
        align-items: flex-start;
        padding: 44px 20px 245px;
        background-position: center, center bottom;
        background-size: 100% 100%, auto 255px;
        --budafoki-hero-fade: linear-gradient(
            180deg,
            rgba(250, 251, 252, 0.99) 0%,
            rgba(250, 251, 252, 0.97) 39%,
            rgba(250, 251, 252, 0.72) 52%,
            rgba(250, 251, 252, 0.2) 70%,
            rgba(250, 251, 252, 0) 82%
        );
    }

    .budafoki-page-hero__inner {
        text-align: center;
    }

    .budafoki-page-hero__title,
    .budafoki-page-hero__lead {
        margin-right: auto;
        margin-left: auto;
    }
}

