/* ============================================================
   GALLERY
============================================================ */

.gallery-group-card {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.gallery-group-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.14);
}


/* Gallery image */

.gallery-group-card .card-image {
    overflow: hidden;
}


.gallery-group-card .card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.gallery-group-card:hover .card-image img {
    transform: scale(1.06);
}


/* Caption */

.gallery-group-card .card-content {
    padding: 16px;
}


.gallery-group-card h5 {
    margin: 0;

    color: #10243a;

    font-size: 14px;

    line-height: 1.4;
}


/* Green heading line */

.heading-line {
    display: inline-block;

    width: 4px;
    height: 20px;

    background: #e87500;

    border-radius: 10px;

    flex-shrink: 0;
}


/* ============================================================
   PAGINATION
============================================================ */

.pagination {
    margin-top: 40px;
}


.pagination-link,
.pagination-previous,
.pagination-next {
    border-radius: 8px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* Current page */

.pagination-link.is-current {
    background-color: #e87500;
    border-color: #e87500;

    color: #ffffff;
}


/* Hover */

.pagination-link:not(.is-current):hover,
.pagination-previous:hover,
.pagination-next:hover {
    border-color: #e87500;
    color: #e87500;
}


/* Disabled */

.pagination-previous.is-disabled,
.pagination-next.is-disabled {
    opacity: 0.45;

    cursor: not-allowed;

    pointer-events: none;
}


/* ============================================================
   MOBILE
============================================================ */

@media screen and (max-width: 768px) {

    .pagination {
        flex-wrap: wrap;
    }

    .pagination-list {
        width: 100%;

        justify-content: center;

        margin-top: 15px;
    }

}


@media screen and (max-width: 480px) {

    .pagination-previous,
    .pagination-next {
        font-size: 13px;
    }

    .pagination-link {
        min-width: 36px;
    }

    .gallery-group-card .card-content {
        padding: 13px;
    }

    .gallery-group-card h5 {
        font-size: 13px;
    }

}