:root {
    --bg: #ffffff;
    --text: #1f1f1f;
    --muted: #ea5a0c96;
    --headline: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --cta-color: #ea580c;
    --gap: 24px;
    --side: 48px;
    --headline-gap: 10px;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.hero5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: center;
    background: var(--bg);
    padding: 40px var(--side);
    color: var(--text);
}

@media (max-width: 940px) {
    .hero5 {
        grid-template-columns: 1fr;
    }
}

.hero5__media {
    position: relative;
    aspect-ratio: 3 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 940px) {
    .hero5__media {
        order: 1;
        aspect-ratio: auto;
    }
}

.hero5__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero5__content {
    position: relative;
    display: grid;
    align-content: start;
    gap: 20px;
    padding-top: 10px;
}

.hero5__headline {
    display: grid;
    gap: var(--headline-gap);
    max-width: 48ch;
    position: relative;
    left: -85px;
}

.hero5__headline span {
    display: inline-block;
    width: fit-content;
    background: var(--muted);
    color: var(--headline);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    padding: 3px 10px;
    font-size: 30px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.438);
}

.hero5__copy {
    max-width: 56ch;
    font-size: 16px;
    line-height: 1.55;
}

.hero5__kicker {
    font-weight: 600;
    margin: 0 0 6px 0;
    font-size: 12px;
    margin-bottom: 20px;
    font-family: style;
}

.hero5__copy p:last-child {
    font-size: 15px;
    width: 80%;
    font-family: light;
}

.hero5__copy strong {
    font-weight: bold;
    font-size: 15.5px;
    font-family: style;
}

.hero5__copy em {
    font-style: italic;
    font-weight: 600;
    font-family: style;
}

.hero5__cta {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    background-color: var(--cta-color);
    width: fit-content;
    padding: 10px 15px;
    border-radius: 8px;
    transition: transform 0.5s;
    margin-top: 10px;
    text-align: center;
}

.hero5__cta:hover {
    transform: scale(1.1);
}

a {
    text-decoration: none;
    color: #555;
}

header a:hover {
    color: #000;
}
@media (max-width: 940px) {
    .hero5__headline {
        left: 0;
    }
    .hero5__headline{
        position: static;
    }
    .hero5__content{
        margin: 0 auto;
    }
}