:root {
    --color-bg-beige: #E9E2D3;
    --color-text-teal: #196B81;
    --color-text-body: #000000;
    --color-btn-orange: #EE7D3D;
    --color-btn-orange-hover: #D96C2E;
}


.hero-story-wrapper {
    position: relative;
    
    overflow: hidden;
}

.hero-story {
    background-color: var(--color-bg-beige);
    padding: 120px 130px;
    display: flex;
}

.hero-story__container {

    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.hero-story__content {
    flex: 1;
    max-width: 677px;
    padding-right: 50px;

}

.hero-story__title {
    margin: 0;
    color: var(--color-text-teal);
    font-size: 62px;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 20px;
    position: relative;
}
.hero-story__title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    width: 80%;
    height: 15px;
    background-image: url('../images/BRUSHES.svg');
    background-size: contain;
    background-repeat: no-repeat;
    /* background-position: center; */
    left: 0;
}

.hero-story__description {
    color: var(--color-text-body);
    font-size: 18px;
    margin: 0;
    line-height: 140%;
    padding-top: 40px;
    padding-bottom: 20px;

}
.hero-story__author{
    margin: 0;
}
.hero-story__author strong{
    font-family: var(--font-family-archer);
    font-weight: 400;
    font-weight: Bold;
    font-size: 20px;
    leading-trim: CAP_HEIGHT;
    line-height: 120%;
    letter-spacing: 0px;
    color: #196B81;


}
.hero-story__author span{
    font-family: var(--font-family-archer);
    font-weight: 400;
    font-size: 16px;
    leading-trim: CAP_HEIGHT;
    line-height: 140%;
    letter-spacing: 0px;

}


.hero-story__cta-wrapper {
    position: relative;
    display: inline-block;
}

.hero-story__button {
    display: inline-block;
    background-color: var(--color-btn-orange);
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-story__button:hover {
    background-color: var(--color-btn-orange-hover);
    transform: translateY(-2px);
}

.hero-story__arrow {
    position: absolute;
    bottom: 0%;
    transform: rotate(3deg) translate(-26%, 86%);
    pointer-events: none;
    height: auto;
    z-index: 10;
    height: 108px;
}

.hero-story__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 420px;
    max-height: 420px;
}

.hero-story__star {
    position: absolute;
    width: 70px;
    height: 83px;
    z-index: 3;
    pointer-events: none;
}
.hero-story__star--top-left {
    top: -24px;
    left: -24px;
}
.hero-story__star--bottom-right {
    bottom: -24px;
    right: -38px;
}

.hero-story__image-container {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    border: 4px solid var(--color-text-teal);
    overflow: visible;
    width: 100%;
    height: 420px;
    aspect-ratio: 4/3;
    -webkit-box-shadow: 12px 12px 0px 0px #196B81;
    box-shadow: 12px 12px 0px 0px #196B81;
    background-color: #E47633;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-story__bg-decoration {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    border-radius: 36px;
}

.hero-story__image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 36px;
    object-position: bottom;
}

.hero-story__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* .hero-story__decor--purple-blobs {
    top: -47px;
    left: -84px;
    transform: rotate(-5deg);
} */
.hero-story__decor--purple-blobs-2{
    top: 8px;
    left: 20px;
    transform: rotate(-5deg) translateX(30%);
    display: none;
}

.hero-story__decor--orange-squiggles {
    bottom: 50px;
    right: -24%;
    max-height: 60px;
    transform: rotate(-12deg);
}


@media (max-width: 1000px) {
    .hero-story__container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 60px;
    }

    .hero-story__content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;

    }

    .hero-story__title {
        width: max-content;
    }

    .hero-story__arrow {
        transform: rotate(3deg) translate(43%, 120%);
        height: 70px;
    }
    .hero-story__title:after{
        transform: translateX(-50%);
        left: 50%;
    }
    .hero-story__decor--purple-blobs-2{
        display: none;
    }
    .hero-story__decor--orange-squiggles{
        display: none;
    }

    .hero-story__image-wrapper {
        max-width: 320px;
        max-height: 320px;
    }

    .hero-story__image-container {
        height: 320px;
    }

    .hero-story__star {
        width: 40px;
        height: 40px;
    }

    .hero-story__star--top-left {
        top: -16px;
        left: -16px;
    }

    .hero-story__star--bottom-right {
        bottom: -16px;
        right: -16px;
    }

}

@media (max-width: 1250px) {
    .hero-story__title {
        font-size: 48px;
    }
    
    .hero-story {
        padding-inline: 80px;
    }
}
@media (max-width: 768px) {
    .hero-story__image-container {
        aspect-ratio: auto;
    }
    .hero-story__title{
        width: auto;
    }
    .hero-story {
        padding-inline: 20px;
        padding-bottom: 40px;
    }
}
@media (max-width: 500px) {
    .hero-story__title {
        font-size: 34px;
    }
}
