/* Stories Section Wrapper */
.stories-section-wrapper {
    width: 100%;
    background: var(--color-blue-gradient);
    position: relative;
    z-index: 4;
}

/* Stories Section Base */
.stories-section {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: -30px auto 0;
    padding: 0;
    overflow: visible;
}

/* Stories Content */
.stories-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 0 0;
    text-align: center;
    position: relative;
    color: var(--color-white);
}

.stories-content .content-small {
    font-size: var(--font-size-story-small);
    line-height: var(--font-lh-story-small);
    margin: 0 0 20px;
    font-weight: 600;
}

.stories-content .content-medium {
    font-size: var(--font-size-story-medium);
    line-height: var(--font-lh-story-medium);
    margin: 0 0 20px;
    font-weight: 700;
}

.stories-content .content-large {
    font-size: var(--font-size-story-large);
    line-height: var(--font-lh-story-large);
    margin: 0 0 -35px;
    font-weight: 700;
}

/* Content Image Container */
.stories-content .content-image-container {
    position: relative;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.stories-content .content-image {
    margin: 0;
    width: 100%;
}

.stories-content .content-image img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.stories-content .disclaimer-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;
    width: auto;
}

/* Overlay Button */
.stories-content .content-overlay-button {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;
    width: auto;
    max-width: 600px;
}

.stories-content .content-overlay-button .wp-block-button {
    margin: 0;
    width: 100%;
}

.stories-content .content-overlay-button .wp-block-button__link {
    background-color: var(--color-white);
    color: var(--color-red);
    border: 2px solid var(--color-white);
    border-radius: 20px;
    font-weight: 600;
    padding: 7px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    white-space: nowrap;
}

.stories-content .content-overlay-button .wp-block-button__link:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .stories-content .content-small {
        font-size: 1.8rem;  /* 18px - 60% of 30px */
        line-height: 2.4rem; /* 24px - 60% of 40px */
    }
    
    .stories-content .content-medium {
        font-size: 6.0rem;  /* 60px - 60% of 100px */
        line-height: 6.6rem; /* 66px - 60% of 110px */
        margin: 0;
    }
    
    .stories-content .content-large {
        font-size: 13.2rem;  /* 132px - 60% of 220px */
        line-height: 13.8rem; /* 138px - 60% of 230px */
    }
}

@media screen and (max-width: 767px) {
    .stories-section {
        padding: 30px 0 0;
    }
    
    .stories-content {
        padding: 120px 15px 80px;
    }
    
    .stories-content .content-small {
        font-size: 1.8rem;  /* 20px */
        line-height: 2.6rem; /* 30px */
        max-width: 260px;
        margin: 0 auto;
    }
    
    .stories-content .content-medium {
        font-size: 4.0rem;  /* 40px */
        line-height: 3.0rem; /* 46px */
        margin-top: 40px;
    }
    
    .stories-content .content-large {
        font-size: 6.2rem;  /* 88px */
        line-height: 8.0rem; /* 92px */
    }

    /* Content Image Container */
    .stories-content .content-image-container {
        position: relative;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    
    .stories-content .content-image {
        margin: 0;
        width: 100%;
    }
    
    .stories-content .content-image img {
        max-width: 70%;
        margin: 0 auto;
        height: auto;
        vertical-align: bottom;
    }

    .stories-content .disclaimer-text {
        bottom: -78px;
        font-size: 1.4rem;
        white-space: nowrap;
    }
    
    .stories-content .content-overlay-button {
        bottom: -50px;
        max-width: 300px;
        width: 100%;
    }
    
    .stories-content .content-overlay-button .wp-block-button__link {
        font-size: var(--font-size-quote-attribution);
        line-height: 2.2rem;
        padding: 5px 10px;
        white-space: wrap;
    }
} 