/* Banner */
section.blogs-banner {
    background: url(https://cplgroup.com/wp-content/uploads/2024/06/5.jpg)
    no-repeat center / cover;
}

section.blogs-banner  .custom-container{
    background-color: #0007;
    width: 100%;
}

section.blogs-banner .row.align-items-center.justify-content-center{
    height: 700px;
    color: #fff;
    width: 100%;
}
/* Banner */

/* Blogs */
section.blogs-posts ul {
    gap: 20px;
}

section.blogs-posts .tab-content .row {
    row-gap: 24px;
}

section.p-0.blogs-posts  .custom-container{
    background-color: #0007;
    width: 100%;
}

section.blogs-posts .row.align-items-center.justify-content-center{
    height: 700px;
    color: #fff;
    width: 100%;
}

section.blogs-posts a#tab-all::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/all.png);
}

section.blogs-posts a#tab-aviation::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/aviation.png);
}

section.blogs-posts a#tab-food-beverage::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/food-beverage.png);
}

section.blogs-posts a#tab-logistics-warehousing::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/logistics-warehousing.png);
}

section.blogs-posts a#tab-manufacturing-industrial::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/manufacturing-industrial.png);
}

section.blogs-posts a#tab-oil-gas-water::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/oil-gas-water.png);
}

section.blogs-posts a#tab-automotive::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/automotive.png);
}

section.blogs-posts a#tab-pharmaceuticals-laboratories::before {
    background-image: url(/wp-content/themes/cplgroup/assets/img/global/pharmaceuticals-laboratories.png);
}

section.blogs-posts a#tab-all::before {
    content: "";
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    vertical-align: middle;
}

section.blogs-posts a#tab-aviation::before,
section.blogs-posts a#tab-food-beverage::before,
section.blogs-posts a#tab-logistics-warehousing::before,
section.blogs-posts a#tab-manufacturing-industrial::before,
section.blogs-posts a#tab-oil-gas-water::before,
section.blogs-posts a#tab-pharmaceuticals-laboratories::before {
    content: "";
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    vertical-align: middle;
}

section.blogs-posts a#tab-automotive::before {
    content: "";
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px !important;
    height: 32px !important;
    margin-top: 8px;
    margin-right: 8px;
    vertical-align: middle;
}

/* section.blogs-posts ul.flex-wrap.nav.justify-content-center.mb-4 li a.nav-link {
    color: var(--black) !important;
    padding: 0 0 5px !important;
} */

section.blogs-posts ul.flex-wrap.nav.justify-content-center.mb-4 li a.nav-link img {
    margin-bottom: 8px !important;
}

section.blogs-posts ul li a:hover, section.blogs-posts ul li .active{
    border-bottom: 2px solid var(--primary);
}

section.blogs-posts a.nav-link {
    row-gap: 5px;
    color: var(--black);
    padding: 0;
}

section.blogs-posts .card {
    height: 100%;
    color: var(--black);
    background: var(--light-gray);
    padding: 20px;
    outline: 2px solid var(--gray);
    outline-offset: -10px;
    border: none;
    box-shadow: 5px 5px 7px 0px rgba(0, 0, 0, 0.52);
    -webkit-box-shadow: 5px 5px 7px 0px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 5px 5px 7px 0px rgba(0, 0, 0, 0.52);
}

section.blogs-posts .card img {
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: 1.5s;
}

section.blogs-posts .blogs-col-img {
    overflow: hidden;
    border-radius: 5px;
}

section.blogs-posts .card:hover img {
    scale: 1.2;
    transition: 1.2s ease-in-out;
}

section.blogs-posts .card a {
    color: var(--black);
}

section.blogs-posts .card a:hover {
    color: var(--primary);
}

nav.text-center.pagination-container,
section.blogs-posts .paging .pagination-numbers.d-flex {
    gap: 10px;
}

section.blogs-posts nav.pagination-container button {
    background: #fff;
    border: 1px solid var(--gray);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    color: var(--black);
    font-family: "GTWalsheim";
    font-size: 18px;
}

section.blogs-posts .paging .pagination-numbers button.pagination-number.active {
    border: 1px solid var(--black) !important;
}
/* Blogs */