.di-gallery-row2 {
    margin-top: 120px;
}

.event-d-page {
    background-position: bottom;
}

.heading-container p {
    font-size: 24px;
    max-width: 1200px;
    display: block;
    margin: 20px auto 0;
}

p.sub-heading {
    font-size: 18px;
    line-height: 1.8;
}

.event-image-gallery img {
    border-radius: 30px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.di-gallery-row2 {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "a a b"
        "c d b";
}

.di-gallery-row2 .event-image-gallery.first {
    grid-area: a;
}

.di-gallery-row2 .event-image-gallery.second {
    grid-area: b;
}

.di-gallery-row2 .event-image-gallery.third {
    grid-area: c;
}

.di-gallery-row2 .event-image-gallery.fourth {
    grid-area: d;
}

.event-d-page.img-gallery-2 .di-gallery-row2 {
    grid-template-areas:
        "a b c"
        "a d c";
}

@media (max-width: 1199px) {
    .di-gallery-row2 {
        gap: 15px;
    }

}

@media (max-width: 991px) {

    .heading-container p {
        font-size: 18px;
    }

    .di-gallery-row2 {
        margin-top: 90px;
    }

    .di-gallery-row2 {
        grid-template-areas:
            "a a a"
            "c c b"
            "d d d";
    }

    .event-d-page.img-gallery-2 .di-gallery-row2 {
        grid-template-areas:
            "a a b"
            "a a c"
            "d d d";
    }
}

@media (max-width: 767px) {

    .heading-container p {
        font-size: 16px;
    }

    .event-d-page.img-gallery-2 .di-gallery-row2 {
        grid-template-areas:
            "a a a"
            "b b c"
            "d d d";
    }

    .di-gallery-row2 {
        margin-top: 60px;
    }
}

@media (max-width: 575px) {

    .di-gallery-row2,
    .event-d-page.img-gallery-2 .di-gallery-row2 {
        grid-template-areas:
            "a a a"
            "b b b"
            "c c c"
            "d d d";
    }

    .di-gallery-row2 {
        margin-top: 40px;
    }
}