.river {
    padding-top: 100px;
}

/* Stories page styles */
#story1 {
    padding-top: 110px;
}

.story-item {
    min-height: 40vh;
}
.story-text.col-sm-7 {
    padding-right: 10%;
}
.story-text h3{
    font-size: 1.25rem;
    text-align: left;
}
.story-video iframe {
    border-radius: 15px;
}
/* Mobile: Reduce min-height on small screens */
@media (max-width: 767.98px) {
    main#main-content {
        overflow: hidden;
    }
    #story1 {
        padding-top: 30px;
    }
    .story-item {
        min-height: 40vh;
    }
    
    .story-item:first-child {
        padding-top: 0px;
    }
}

.story-dots {
    font-size: 40px;
    line-height: 15px;
    color: #333333;
}

.story-item .story-image img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

/* Mobile: Adjust image sizing */
@media (max-width: 767.98px) {
    .story-item .story-image img {
        min-height: 300px;
    }
}

/* Button link styling for accessibility */
.button-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #7a0019;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    min-height: 44px;
    min-width: 44px;
    transition: background-color 0.3s ease;
}

.button-link:hover,
.button-link:focus {
    background-color: #910019;
    color: #fff;
    text-decoration: underline;
    outline: 3px solid #ffde7a;
    outline-offset: 2px;
}

/* Mobile: Adjust story layout */
@media (max-width: 767.98px) {
    .story-item .story-image,
    .story-item .story-text {
        width: 100% !important;
        float: none !important;
        padding: 15px 40px;
    }
    
    .column-item.river {
        display: none;
        /* Hide river SVG on mobile for better UX */
        /* display: none;  */
        /* display: block;
        position: absolute;
        z-index: -1;
        margin-top: -240px; */
    }
    #motion-path {
        opacity:.45;
    }
    .column-item.col-sm-10 {
        width: 100% !important;
        overflow: hidden;
    }
}