:root {
    /* Colors */
    --primary-purple: #5b005d;
    --dark-bg: #121927;
     --light-bg: #ffffff;
    --text-light: #ffffff;
    --bg-muted: #f7f6f6;
    --accent-gold: #FDCC0D;
    --glass-bg: rgba(255, 255, 255, 0.05);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* =====================================
GLOBAL STYLE
===================================== */

/* Section Header */
.faith-section-header{
    text-align:center;
    margin-bottom:40px;
}

.faith-section-header h2{
    font-size:32px;
    color:#1b3a4b;
    margin-bottom:8px;
}

.faith-section-header p{
    color:#6b7280;
}



/* =====================================
HERO SECTION
===================================== */

.faith-hero-section{
    background-color: var(--primary-purple);
    background-position:center;
    padding:140px 20px;
    color:white;
}

.faith-hero-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.faith-hero-title{
    font-size:55px;
    margin-bottom:20px;
}

.faith-hero-text{
    font-size:18px;
    opacity:.9;
}

.faith-hero-search-box{
    margin-top:35px;
}

.faith-hero-search-input{
    padding:16px;
    width:65%;
    border-radius:50px;
    border:none;
    outline:none;
    font-size:16px;
}

.faith-hero-search-btn{
    padding:16px 30px;
    border-radius:50px;
    border:none;
    background:var(--accent-gold);
    color: var(--dark-bg);
    font-weight:bold;
    cursor:pointer;
}



/* =====================================
FEATURED SECTION
===================================== */

.faith-featured-post-section{
    padding:80px 8%;
    background-color: var(--bg-muted);
}

.faith-featured-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.faith-featured-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,0.06);
    transition:.4s;
}

.faith-featured-card:hover{
    transform:translateY(-8px);
}

.faith-featured-img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.faith-featured-body{
    padding:25px;
}

.faith-featured-body h3{
    color:#1b3a4b;
}

.faith-featured-body p{
    color:#6b7280;
    line-height:1.6;
}

.faith-read-btn{
    margin-top:20px;
    padding:12px 26px;
    border:none;
    background:#1b3a4b;
    color:white;
    border-radius:30px;
    cursor:pointer;
}



/* =====================================
TRENDING SECTION
===================================== */

.faith-trending-section{
    padding:80px 8%;
    background: var(--light-bg);
}

.faith-trending-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.faith-trending-card{
    background:white;
    border-radius:22px;
    padding:18px;
    box-shadow:0 6px 25px rgba(0,0,0,0.05);
    transition:.3s;
}

.faith-trending-card:hover{
    transform:scale(1.03);
}

.faith-trending-img{
    width:100%;
    height:180px;
    border-radius:18px;
    object-fit:cover;
}

.faith-trending-card h3{
    font-size:20px;
    color:var(--dark-bg);
}

.faith-trending-date{
    color:var(--primary-purple);
    font-size:14px;
}



/* =====================================
CATEGORY SECTION
===================================== */

.faith-category-section{
    padding:70px 8%;
    background-color: var(--primary-purple);
}

.faith-category-wrap{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}
.faith-section-header h2{
    color: var(--text-light);
}
.faith-category-box{
    padding:14px 28px;
    background: var(--accent-gold);
    border-radius:50px;
    box-shadow:0 4px 20px rgba(0,0,0,0.05);
    color: var(--dark-bg);
    cursor:pointer;
    transition:.3s;
}

.faith-category-box:hover{
    background:var(--text-light);
    color:var(--dark-bg);
}



/* =====================================
LATEST POSTS SECTION
===================================== */

.faith-latest-section{
    padding:80px 8%;
    background:#fff;
}

.faith-post-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}
#faith-section-head{
    color: var(--dark-bg);
}
.faith-post-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 8px 35px rgba(0,0,0,0.06);
    transition:.4s;
}

.faith-post-card:hover{
    transform:translateY(-6px);
}

.faith-post-img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.faith-post-body{
    padding:25px;
}

.faith-post-body h3{
    color:var(--dark-bg);
}
.faith-post-body p {
color: var(--dark-bg);
}


/* =====================================
NEWSLETTER SECTION
===================================== */

.faith-newsletter-section{
    padding:90px 8%;
    background:var(--primary-purple);
    color:white;
    text-align:center;
}

.faith-newsletter-box{
    max-width:700px;
    margin:auto;
}

.faith-newsletter-form{
    margin-top:35px;
}

.faith-newsletter-input{
    padding:18px;
    width:65%;
    border-radius:50px;
    border:none;
    outline:none;
}

.faith-newsletter-btn{
    padding:18px 30px;
    border:none;
    border-radius:50px;
    background:var(--accent-gold);
    color:var(--dark-bg);
    font-weight:bold;
    cursor:pointer;
    margin-left:10px;
}

.faith-newsletter-btn:hover{
    background-color: var(--text-light);
    color: var(--dark-bg);
}


/* =====================================
RESPONSIVE DESIGN
===================================== */

@media(max-width:768px){

    .faith-hero-title{
        font-size:38px;
    }

    .faith-hero-search-input{
        width:100%;
        margin-bottom:15px;
    }

    .faith-newsletter-input{
        width:100%;
        margin-bottom:15px;
    }

    .faith-newsletter-btn{
        width:100%;
        margin-left:0;
    }
}