﻿
.story-description {
    font-size: 16px;
    line-height: 1.8;
}

.story-gallery-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}
.story-gallery {
    display: flex;
    gap: 10px;
}

.story-gallery-item {
    flex: 1;
}

.story-gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
#imageModal .modal-content {
    background: transparent;
    box-shadow: none;
}

#modalImage {
    max-height: 90vh;
    width: auto;
    margin: auto;
    display: block;
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    z-index: 1056;
}

@media(max-width:768px) {

    .story-gallery-img {
        height: 180px;
    }

    .story-description {
        font-size: 14px;
    }
}
@media(max-width:576px) {

    .story-gallery {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .story-gallery-img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* 3rd image full width */
    .story-gallery-item:nth-child(3) {
        grid-column: 1 / -1;
    }

        .story-gallery-item:nth-child(3) .story-gallery-img {
            height: 180px;
        }
}