/* ==========================================
   MEDITATION RESOURCES PAGE
========================================== */

body{
    background:#f8f9fa;
    font-family:"Segoe UI",sans-serif;
}

/* ==========================================
   HERO
========================================== */

.resource-hero{
    background:linear-gradient(rgba(0,60,40,.75),rgba(0,60,40,.75)),
    url("../assets/g3.jpg") center center/cover no-repeat;
    color:#fff;
    text-align:center;
    padding:90px 20px;
}

.resource-hero h1{
    font-size:3rem;
    font-weight:700;
    margin-bottom:15px;
}

.resource-hero h3{
    font-size:1.7rem;
    margin-bottom:15px;
    color:#ffd54f;
}

.resource-hero p{
    max-width:700px;
    margin:auto;
    font-size:1.1rem;
    opacity:.95;
}

/* ==========================================
   SEARCH AREA
========================================== */

.search-section{
    background:#ffffff;
}

.search-section .form-control,
.search-section .form-select{

    height:50px;
    border-radius:10px;
    border:1px solid #ced4da;

}

.search-section .form-control:focus,
.search-section .form-select:focus{

    box-shadow:none;
    border-color:#198754;

}

.search-section .input-group-text{

    background:#198754;
    color:#fff;
    border:none;

}

#clearFilter{

    height:50px;
    border-radius:10px;

}

/* ==========================================
   COUNTER
========================================== */

.resource-count{

    color:#198754;
    font-weight:600;
    margin:0;

}

.resource-count span{

    color:#dc3545;
    font-weight:700;

}

/* ==========================================
   RESOURCE CARD
========================================== */

.resource-card{

    border:none;
    border-radius:15px;
    overflow:hidden;
    transition:.35s;
    background:#fff;

}

.resource-card:hover{

    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.resource-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}

.resource-card .card-body{

    padding:20px;

}

.resource-card h5{

    font-weight:700;
    color:#198754;
    margin-top:12px;

}

.resource-card p{

    color:#555;
    font-size:.95rem;

}

/* ==========================================
   BADGES
========================================== */

.badge{

    font-size:.75rem;
    padding:8px 12px;
    margin-right:4px;
    border-radius:20px;

}

/* ==========================================
   AUDIO
========================================== */

audio{

    width:100%;
    margin-top:15px;
    margin-bottom:15px;

}

/* ==========================================
   BUTTONS
========================================== */

.resource-card .btn{

    border-radius:8px;
    font-weight:600;

}

.resource-card .btn-success{

    background:#198754;
    border:none;

}

.resource-card .btn-success:hover{

    background:#146c43;

}

.resource-card .btn-outline-success:hover{

    color:#fff;

}

/* ==========================================
   NO RESULT
========================================== */

#noResults{

    display:none;
    margin-top:40px;
    border-radius:10px;
    font-weight:600;

}

/* ==========================================
   HIDE CARD
========================================== */

.resource-item{

    transition:.3s;

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#0b3d2e;
    color:#fff;
    padding:40px 20px;
    text-align:center;

}

footer h5{

    margin-bottom:10px;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:992px){

.resource-hero{

    padding:70px 20px;

}

.resource-hero h1{

    font-size:2.4rem;

}

.resource-hero h3{

    font-size:1.4rem;

}

}

@media (max-width:768px){

.resource-hero{

    padding:60px 15px;

}

.resource-hero h1{

    font-size:2rem;

}

.resource-hero h3{

    font-size:1.2rem;

}

.resource-card img{

    height:200px;

}

.search-section .row>div{

    margin-bottom:12px;

}

}

@media (max-width:576px){

.resource-hero h1{

    font-size:1.7rem;

}

.resource-hero h3{

    font-size:1rem;

}

.resource-card img{

    height:180px;

}

.resource-card .card-body{

    padding:15px;

}

}