﻿/* ==========================================================================
   Signal Booster Mumbai — Blogs & Articles Styling
   Clean, modern, highly readable, fast-loading and fully responsive.
   ========================================================================== */

/* --- Blogs Section Container --- */
#blogs-section,
.blogs-page-container {
    padding: 60px 0 70px;
    background: #f8fafc;
}

.blogs-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.blogs-section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blogs-section-header p {
    font-size: 15px;
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Blog Cards Grid --- */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.blog-card-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(2, 132, 199, 0.92);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.blog-card-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: #0284c7;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 10px;
    transition: color 0.2s ease;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none !important;
}

.blog-card:hover .blog-card-title a {
    color: #0284c7;
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.blog-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0284c7 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.blog-read-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-btn {
    color: #0369a1 !important;
}

.blog-card:hover .blog-read-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   Single Article Detail Page
   ========================================================================== */
.article-container {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
}

.article-header {
    margin-bottom: 28px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.article-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.article-breadcrumb a {
    color: #0284c7;
    text-decoration: none;
}

.article-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 14px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

.article-meta-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-featured-image {
    width: 100%;
    max-height: 380px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #f1f5f9;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 26px 0 12px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 22px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-callout {
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
}

.article-callout h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 8px;
}

.article-callout p {
    margin: 0;
    font-size: 14px;
    color: #0f172a;
}

.article-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    padding: 30px;
    color: #ffffff;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.article-cta-box h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.article-cta-box p {
    color: #cbd5e1;
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .article-container {
        padding: 30px 24px;
    }

    .article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    #blogs-section,
    .blogs-page-container {
        padding: 45px 0 50px;
    }

    .blogs-section-header h2 {
        font-size: 1.7rem;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-container {
        padding: 24px 18px;
        border-radius: 8px;
    }

    .article-title {
        font-size: 1.55rem;
    }

    .article-content {
        font-size: 14.5px;
        line-height: 1.75;
    }

    .article-cta-box {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}
