.wp-block-headless-story-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 654px;
    padding: 88px 64px;
    border-radius: 32px;
    overflow: clip;
    background: #6d9aa5;
}

.story-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    z-index: 0;
}

.story-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(103, 152, 173, 0.7) 38%, transparent 65%);
    border-radius: 32px;
    z-index: 1;
}

.story-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
    width: 100%;
    gap: 40px;
}

.story-hero__left {
    grid-column: 1;
    grid-row: 1;
}

.story-hero__specs {
    grid-column: 2;
    grid-row: 1 / -1;
}

.story-hero__buttons {
    grid-column: 1;
    grid-row: 2;
}

.story-hero__left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.story-hero__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.story-hero__badge {
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(54, 80, 114, 0.32);
    border-radius: 999px;
    padding: 4px 16px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0;
}

.is-gradient-navy .story-hero__badge {
    background: rgba(255, 255, 255, 0.32);
}

.story-hero__location {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #fa700d;
    margin: 0;
    line-height: 1.2;
}

.story-hero__name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.story-hero__description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    max-width: 567px;
}

.story-hero__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.story-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 99px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.6;
    border: none;
    cursor: pointer;
    box-shadow:
        2px 4px 9px rgba(250, 112, 13, 0.1),
        7px 15px 16px rgba(250, 112, 13, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-hero__btn:hover {
    transform: translateY(-1px);
}

.story-hero__btn--primary {
    background: #fa700d;
    color: #ffffff;
}

.story-hero__btn--secondary {
    background: #ffffff;
    color: #fa700d;
    font-family: 'Montserrat', sans-serif;
}

.story-hero__specs {
    width: 499px;
    max-width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(35, 52, 74, 0.8);
    border: 1px solid #366db4;
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-hero__spec-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.story-hero__spec-eyebrow {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #fa700d;
    margin: 0;
    line-height: 1.2;
}

.story-hero__spec-value {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.story-hero__spec-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 1200px) {
    .story-hero__content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .story-hero__left {
        grid-column: 1;
        grid-row: 1;
    }

    .story-hero__specs {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .story-hero__buttons {
        grid-column: 1;
        grid-row: 3;
    }
}

@media (max-width: 768px) {
    .wp-block-headless-story-hero {
        padding: 48px 32px;
        min-height: auto;
    }

    .story-hero__specs {
        padding: 24px;
    }

    .story-hero__name {
        font-size: 36px;
    }

    .story-hero__description {
        font-size: 16px;
    }

    .story-hero__spec-value {
        font-size: 36px;
    }
}
