/* ==========================================================================
   Spiritual Archives & Bhakti Blog Section Architecture (#blogs)
   Theme: Warm Sacred Ivory & Gold (Clean, High SEO Value & Devotional)
   ========================================================================== */

.blogs-section {
    position: relative;
    background-image: url('../img/blogs_bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    padding: 100px 0;
    border-top: 3px solid rgba(216, 67, 21, 0.35);
    border-bottom: 3px solid rgba(216, 67, 21, 0.35);
    overflow: hidden;
    perspective: 1200px;
    color: #FFFFFF;
}

.blogs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 8, 4, 0.5) 0%, rgba(10, 4, 2, 0.82) 100%);
    z-index: 1;
}

.blogs-section .container {
    position: relative;
    z-index: 2;
}

.blogs-section .blogs-heading-sub {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #FFE082;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.blogs-section .blogs-heading-main {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.blogs-section .blog-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1.5px solid rgba(230, 198, 135, 0.5);
    border-radius: 50px 12px 50px 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blogs-section .blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 55px rgba(230, 198, 135, 0.45);
    border-color: #E6C687;
}

.blogs-section .blog-img-container {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 40px 10px 0 0;
}

.blogs-section .blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blogs-section .blog-card:hover .blog-img-container img {
    transform: scale(1.08);
}

.blogs-section .blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #D84315 0%, #B71C1C 100%);
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.35);
}

.blogs-section .blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blogs-section .blog-meta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    color: #8C6A48;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blogs-section .blog-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    color: #3D1200;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.blogs-section .blog-card:hover .blog-title {
    color: #D84315;
}

.blogs-section .blog-excerpt {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #5C4B43;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blogs-section .blog-read-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #D84315;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.blogs-section .blog-card:hover .blog-read-btn {
    gap: 12px;
    color: #B71C1C;
}

/* PC Desktop Viewport Fitting Layout */
@media (min-width: 992px) {
    .blogs-section {
        padding: 100px 0;
        min-height: auto;
        height: auto;
    }

    .blogs-section .blogs-heading-sub {
        font-size: 0.85rem;
        margin-bottom: 10px;
        letter-spacing: 3.5px;
    }

    .blogs-section .blogs-heading-main {
        font-size: 2.4rem;
        margin-bottom: 45px;
    }

    .blogs-section .blog-card {
        border-radius: 35px 10px 35px 10px;
    }

    .blogs-section .blog-img-container {
        height: 240px;
        border-radius: 30px 8px 0 0;
    }

    .blogs-section .blog-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 30px 8px 0 0;
    }

    .blogs-section .blog-content {
        padding: 24px;
    }

    .blogs-section .blog-meta {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .blogs-section .blog-title {
        font-size: 1.15rem;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .blogs-section .blog-excerpt {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blogs-section .blog-read-btn {
        font-size: 0.85rem;
    }
}

@media (max-width: 991.98px) {
    .blogs-section {
        padding: 60px 0;
    }

    .blogs-section .blogs-heading-main {
        font-size: 2.1rem;
        margin-bottom: 35px;
    }
}
