
.forum-image-gallery {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

/* ---------- Image Item ---------- */

.forum-image-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: all .2s ease;
    background: #fff;
}

    .forum-image-item:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(0,0,0,.12);
    }

.forum-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ===========================================================
1 Image
=========================================================== */

.gallery-one {
    display: flex;
    justify-content: center;
}

    .gallery-one .forum-image-item {
        width: 100%;
        max-width: 550px;
        margin: auto;
    }

    .gallery-one .forum-image {
        max-height: 500px;
        object-fit: contain;
    }

/* ===========================================================
2 Images
=========================================================== */

.gallery-two {
    grid-template-columns: repeat(2, 1fr);
}

/* ===========================================================
3 Images
=========================================================== */

.gallery-three {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 220px);
}

    .gallery-three .forum-image-item:first-child {
        grid-row: span 2;
    }

    .gallery-three .forum-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ===========================================================
4+ Images
=========================================================== */

.gallery-many {
    grid-template-columns: repeat(4, 1fr);
}

    .gallery-many .forum-image {
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

/* ===========================================================
Tablet
=========================================================== */

@media (max-width: 991.98px) {

    .gallery-many {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================================================
Mobile
=========================================================== */

@media (max-width: 767.98px) {

    .gallery-many {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-three {
        grid-template-rows: repeat(2, 180px);
    }

    .gallery-one .forum-image {
        max-height: 350px;
    }
}

.hashtag {
    color: #1d9bf0;
    text-decoration: none;
    font-weight: 500;
}

    .hashtag:hover {
        text-decoration: underline !important;
    }
