/* =========================================
   GRID
========================================= */

.ala-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    column-gap: 30px;

    row-gap: 35px;

    margin: 20px 0;
}

/* =========================================
   ARTICLE
========================================= */

.ala-item {

    display: block;

    color: inherit;

    text-decoration: none !important;

    overflow: hidden;

    height: 100%;
}

.ala-item:hover {

    text-decoration: none !important;
}

.ala-item:focus {

    text-decoration: none !important;
}

/* =========================================
   IMAGE
========================================= */

.ala-thumb,
.ala-item img {

    width: 100%;

    height: 220px;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;
}

.ala-no-image {

    width: 100%;

    height: 220px;

    background: #f2f2f2;

    display: block;
}

.ala-item:hover .ala-thumb,
.ala-item:hover img {

    transform: scale(1.05);
}

/* =========================================
   TITRE
========================================= */

.ala-item h3 {

    margin-top: 15px;

    margin-bottom: 10px;

    font-size: 22px;

    line-height: 1.35;

    font-weight: 700;

    color: #111;

    text-decoration: none !important;
}

/* =========================================
   DESCRIPTION
========================================= */

.ala-item p {

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: #555;

    text-decoration: none !important;
}

/* =========================================
   PAGINATION
========================================= */

.ala-pagination {

    text-align: center;

    margin-top: 40px;
}

.ala-pagination .page-link {

    display: inline-block;

    min-width: 42px;

    padding: 10px 14px;

    margin: 0 4px;

    border: 1px solid #ddd;

    text-decoration: none;

    color: #222;

    transition: all .2s ease;
}

.ala-pagination .page-link:hover {

    background: #f5f5f5;
}

.ala-pagination .page-link.current {

    background: #2271b1;

    color: #fff;

    border-color: #2271b1;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1024px) {

    .ala-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .ala-grid {

        grid-template-columns: 1fr;
    }

    .ala-thumb,
    .ala-no-image {

        height: 220px;
    }

    .ala-item h3 {

        font-size: 20px;
    }
}