/* Recent Sermons Section */
/*=============================
 /*==========================================
    RECENT SERMONS SECTION
==========================================*/

.sermons-section{
    padding:90px 8%;
    background:#f7f8fc;
}

/*==========================================
    SECTION HEADER
==========================================*/

.section-header{
    margin-bottom:50px;
}

.gold-line{
    display:block;
    width:70px;
    height:6px;
    background:#caa425;
    margin-bottom:18px;
}

.section-header h2{
    font-size:48px;
    font-weight:800;
    color:#111;
    letter-spacing:-1px;
}

/*==========================================
    GRID
==========================================*/

.sermons-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
}

/*==========================================
    CARD
==========================================*/

.sermon-card{
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
    transition:all .35s ease;
    cursor:pointer;
}

.sermon-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

/*==========================================
    IMAGE
==========================================*/

.image-box{
    position:relative;
    height:220px;
    overflow:hidden;
}

.image-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .8s ease;
}

.sermon-card:hover .image-box img{
    transform:scale(1.08);
}

/*==========================================
    DATE BADGE
==========================================*/

.date{
    position:absolute;
    top:0;
    left:0;
    background:#12436b;
    color:#fff;
    padding:10px 18px;
    font-size:14px;
    font-weight:700;
    letter-spacing:.5px;
}

/*==========================================
    CONTENT
==========================================*/

.card-content{
    background:#fff;
    padding:22px;
}

/*==========================================
    TITLE
==========================================*/

.card-title{
    display:block;
    font-size:18px;
    font-weight:700;
    line-height:1.45;
    color:#111;
    margin-bottom:16px;
    transition:.3s;
}

.sermon-card:hover .card-title{
    color:#caa425;
}

/*==========================================
    AUTHOR + ICONS
==========================================*/

.author-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.author{
    font-size:15px;
    font-style:italic;
    color:#555;
}

/*==========================================
    ICONS
==========================================*/

.icons{
    display:flex;
    align-items:center;
    gap:12px;
}

.icons a{
    color:#111;
    font-size:15px;
    text-decoration:none;
    transition:all .3s ease;
}

.icons a:hover{
    color:#caa425;
    transform:scale(1.15);
}

/*==========================================
    BUTTON
==========================================*/

.btn-area{
    margin-top:60px;
}

.all-sermons-btn{
    display:inline-block;
    background:#caa425;
    color:#fff;
    text-decoration:none;
    padding:16px 32px;
    font-weight:700;
    transition:all .3s ease;
}

.all-sermons-btn:hover{
    background:#111;
    transform:translateY(-3px);
}

/* Listen audio css */
/*==========================================
    VIDEO PLAYER
==========================================*/

.video-container{

    display:none;
    position:relative;
    width:100%;
    height:220px;

}

.video-container iframe{

    width:100%;
    height:100%;

}

.close-video{

    position:absolute;
    top:10px;
    right:10px;

    width:34px;
    height:34px;

    border:none;
    border-radius:50%;

    background:rgba(0,0,0,.7);
    color:#fff;

    cursor:pointer;

    transition:.3s;

}

.close-video:hover{

    background:#caa425;

}


/*==========================================
    AUDIO PLAYER
==========================================*/

.audio-container{

    display:none;
    margin-top:18px;

}

.audio-container audio{

    width:100%;

}
/*==========================================
    RESPONSIVE
==========================================*/

@media (max-width:768px){

    .sermons-section{
        padding:70px 6%;
    }

    .section-header h2{
        font-size:36px;
    }

    .sermons-grid{
        grid-template-columns:1fr;
    }

    .image-box{
        height:210px;
    }

}

/* End Recent Sermons Section */