body:not(.home) .wp-block-post-content > .bevlogic-hero:first-child,
body:not(.home) .bevlogic-hero__archive {
    min-height: 540px;
    max-height: 704px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero,
body:not(.home) .bevlogic-hero__archive  {
    background-size: cover;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero,
body:not(.home) .bevlogic-hero__archive  {
    position: relative;
    padding: 0px;
    background-size: cover;
    background-position: bottom;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero::before,
body:not(.home) .bevlogic-hero__archive:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 44, 136, 1) 0%, rgba(28, 44, 136, 0.4) 60%, rgba(28, 44, 136, 0) 100%);
    pointer-events: none;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__inner,
body:not(.home) .bevlogic-hero__archive .bevlogic-hero__inner {
    max-width: 1296px;
    margin: 0 !important;
    align-items: start;
    display: flex;
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 100px;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__content,
body:not(.home) .bevlogic-hero__archive .bevlogic-hero__content {
    max-width: 760px;
}

body:not(.home) .bevlogic-hero.bevlogic-hero--short {
    min-height: 394px !important;
}

.bevlogic-hero.alignfull {
    padding-left: var(--wp--preset--spacing--30);
    padding-right: var(--wp--preset--spacing--30);
}

.bevlogic-hero__inner {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--50);
    align-items: center;
    position: relative;
    z-index: 1;
}

.bevlogic-hero__content--text-left .bevlogic-hero__inner {
    grid-template-columns: 1fr 1fr;
}

.bevlogic-hero__content--text-right .bevlogic-hero__inner {
    grid-template-columns: 1fr 1fr;
}

.bevlogic-hero__content--text-right .bevlogic-hero__image {
    order: -1;
}

.bevlogic-hero__content--text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bevlogic-hero__headline {
    font-size: 72px; /* 32px to 40px - matches H1 */
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 var(--wp--preset--spacing--x-24) 0;
    color: white;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__headline,
body:not(.home) .bevlogic-hero__archive .bevlogic-hero__headline {
    font-size: 56px !important;
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__subheadline,
body:not(.home) .bevlogic-hero__archive .bevlogic-hero__subheadline {
    margin-bottom: 2rem;
}

.bevlogic-hero__subheadline {
    font-size: 1.125rem; /* 18px */
    font-family: var(--wp--preset--font-family--body);
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 var(--wp--preset--spacing--x-32) 0;
    color: white;
}

.bevlogic-hero__buttons {
    display: flex;
    gap: var(--wp--preset--spacing--20);
    flex-wrap: wrap;
    margin-bottom: var(--wp--preset--spacing--30);
}

.bevlogic-hero__content--text-center .bevlogic-hero__buttons {
    justify-content: center;
}

.bevlogic-hero__button {
    padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
    border-radius: var(--wp--custom--rounded--base);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--wp--custom--transition--fast);
}

.bevlogic-hero__button--primary {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}

.bevlogic-hero__button--primary:hover {
    background-color: var(--wp--preset--color--secondary);
}

.bevlogic-hero__button--secondary {
    background-color: transparent;
    color: var(--wp--preset--color--primary);
    border: 2px solid var(--wp--preset--color--primary);
}

.bevlogic-hero__button--secondary:hover {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}

.bevlogic-hero__trust {
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    font-family: var(--wp--preset--font-family--body);
    margin: 0 0 2rem;
}
.bevlogic-hero__trust  span {
    border-radius: 30px;
    border: 0.635px solid #FFF;
    background: rgba(255, 255, 255, 0.75);
    padding: 8px 13px;
    color: var(--wp--preset--color--secondary);
}

.bevlogic-hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--wp--custom--rounded--lg);
    box-shadow: var(--wp--custom--shadow--xl);
}


@media (max-width: 1024px) {
    body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__headline {
        font-size: 42px !important;
    }
}

@media (max-width: 782px) {
    body:not(.home) .wp-block-post-content > .bevlogic-hero:first-child,
    body:not(.home) .bevlogic-hero__archive {
        max-height: unset;
    }
    .bevlogic-hero__content--text-left .bevlogic-hero__inner,
    .bevlogic-hero__content--text-right .bevlogic-hero__inner {
        grid-template-columns: 1fr;
    }

    .bevlogic-hero__inner {
        padding: 0 20px;
    }

    .bevlogic-hero__content--text-right .bevlogic-hero__image {
        order: 0;
    }

    .bevlogic-hero__headline {
        font-size: 42px; /* 24px to 32px - matches H2 */
    }

    .bevlogic-hero__subheadline {
        font-size: 14px;
    }

    .bevlogic-hero__trust {
        font-size: 12px;
    }

    .bevlogic-hero__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .bevlogic-hero__content--text-center .bevlogic-hero__buttons {
        align-items: center;
    }

    body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__headline {
        font-size: 36px !important;
    }

    body:not(.home) .wp-block-post-content > .bevlogic-hero .bevlogic-hero__inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
