/*
 Theme Name:     Narihealth Child
 Theme URI:      http://narihealth.tanshcreative.com
 Description:    Narihealth Child Theme. Narihealth is a WordPress Theme designed and developed by tansh
 Author:         tansh
 Author URI:     http://themeforest.net/user/tansh
 Template:       narihealth
 Version:        1.0.0
*/

.pagination-container ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 45px 0 0;
    gap: 8px;
}

.pagination-container .page-numbers ul {
    list-style: none;
}

.pagination-container .page-numbers li {
    margin: 0;
    list-style: none;
    display: flex;
    width: 30px;
    align-items: center;
    justify-content: center;
    width: auto;
    white-space: nowrap;
}

.pagination-container .page-numbers li>a, 
.pagination-container .page-numbers li>span {
    padding: 2px 10px;
    min-width: 30px;
    text-align: center;
    background: #04cf91;
    color: white;
    font-family: 'Mulish';
    font-weight: 700;
    text-transform: uppercase;
}

.pagination-container .page-numbers li>a.current,
.pagination-container .page-numbers li>span.current {
    background: #800080;
}

.pagination-container .page-numbers li>a:hover {
    background: #800080;
    color: white;
}

.resource-item {
    height: 100%;
    background-color: #fff;
    border: 0 solid #69727d;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: all .25s;
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
    position: relative;
    background: #fffeff;
}
.resource-item:hover {
    /*box-shadow: 0 0 30px 0 rgba(0,0,0,.2);*/
}
.resource-item:hover .resource-thumbnail:after {
    opacity: 0.25;
}
.category-badge-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 12px 12px 0;
    z-index: 123;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.category-badge {
    background: var(--dtr-btn-bg);
    color: var(--dtr-white);
    padding: 0 8px;
    text-transform: uppercase;
    font-family: 'Mulish';
    font-weight:700;
    font-size: 12px;
}
.category-badge:hover {
    background: #800080;
    color: white;
}

.resource-thumbnail {
    padding-bottom: calc(0.66* 100%);
    height: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: white;
}
.resource-thumbnail:after {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 75%);
    background-repeat: no-repeat;
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    opacity: 1;
    position: absolute;
    transition: all .3s ease-out;
    width: 100%;
    opacity: 0.5;
}

.resource-thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: scale-down;
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
}

.resource-desc {
    margin: 20px 0;
    padding: 0 30px;
}
.resource-card-title {
    margin-bottom: 25px;
}
.resource-excerpt {
    margin-bottom: 25px;
}
.resource-excerpt:empty {
    display: none;
}
.read-more-link {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}