/* Company 51 — Desktop hero component v0.2.7 */

.c51-main {
    width: 100%;
    max-width: none !important;
    margin-block-start: 0 !important;
}

.c51-hero__inner {
    width: 100%;
    max-width: none !important;
    min-height: inherit;
    margin: 0;
    padding-inline: 4vw;
    box-sizing: border-box;
}

.c51-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 42rem);
    margin: 0;
    padding-block: clamp(3.5rem, 6vw, 5rem);
}

.c51-hero__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .42rem;
    margin: 0 0 .9rem;
    color: #ffffff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
}

.c51-hero__eyebrow span:nth-child(even) {
    color: #cdf580;
}

.c51-hero__title {
    max-width: 100%;
    margin: 0 0 1rem;
    color: #ffffff;
    font-family: var(--c51-font-display);
    font-size: clamp(5rem, 6.35vw, 7.5rem);
    font-weight: 900;
    line-height: .81;
    letter-spacing: -.018em;
    text-transform: uppercase;
    text-wrap: balance;
}

.c51-hero__title span {
    display: inline;
}

.c51-hero__title .c51-hero__accent {
    color: #cdf580;
}

.c51-hero__description {
    max-width: 40rem;
    margin: 0 0 1.1rem;
    color: #f2f2f2;
    font-size: 1.05rem;
    line-height: 1.32;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}

.c51-hero__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    width: min(100%, 28rem);
    margin: 0 0 1.25rem;
}

.c51-hero__benefit {
    display: grid;
    justify-items: center;
    gap: .35rem;
    color: #ffffff;
    text-align: center;
}

.c51-hero__benefit svg,
.c51-hero__benefit img {
    width: 1.75rem;
    height: 1.75rem;
    color: #cdf580;
    object-fit: contain;
}

.c51-hero__benefit span {
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.c51-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.35rem;
    margin: 0 !important;
}

.c51-hero__actions .wp-block-buttons {
    margin: 0;
}

.c51-hero .c51-button .wp-block-button__link {
    min-height: 3rem;
    padding-inline: 1.2rem;
    font-size: .72rem;
}

.c51-hero .c51-button .wp-block-button__link::after {
    content: "→";
    margin-left: .7rem;
    font-size: 1rem;
    line-height: 1;
}

.c51-hero__secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    color: #ffffff;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .095em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.c51-hero__secondary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .55rem;
    left: 0;
    height: 1px;
    background: #cdf580;
}

.c51-hero__secondary:hover,
.c51-hero__secondary:focus-visible {
    color: #cdf580;
}

@media (min-width: 961px) {
    .c51-hero {
        min-height: clamp(560px, 50vw, 720px);
        height: auto;
        display: block;
        padding: 0;
        overflow: hidden;
        background: #050505;
    }

    .c51-hero__media {
        inset: 0;
        z-index: 0;
        background-position: center center;
        background-size: cover;
    }

    .c51-hero::after {
        z-index: 1;
        background:
            linear-gradient(90deg, rgba(5,5,5,.82) 0%, rgba(5,5,5,.58) 22%, rgba(5,5,5,.13) 50%, rgba(5,5,5,0) 72%),
            linear-gradient(0deg, rgba(5,5,5,.38) 0%, rgba(5,5,5,0) 40%, rgba(5,5,5,.18) 100%);
    }
}

@media (max-width: 1100px) and (min-width: 961px) {
    .c51-hero__content {
        width: min(100%, 27rem);
    }

    .c51-hero__title {
        font-size: clamp(4.5rem, 7.6vw, 6.5rem);
    }

    .c51-hero__benefits {
        width: min(100%, 25rem);
    }
}

@media (max-width: 960px) {
    .c51-hero__benefits,
    .c51-hero__secondary {
        display: none;
    }

    .c51-hero__actions {
        display: block;
    }
}
