/* ==========================================================================
   Blog Listing Page Styles
   ========================================================================== */

.blog-page-wrapper {
    background-color: #f9fafb;
    padding: 50px 0 80px 0;
    min-height: calc(100vh - 350px);
}

/* Blog Hero Intro Section */
.blog-hero-card {
    background: #ffffff;
    padding: 48px 44px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.blog-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color, #f78a0c) 0%, var(--primary-color, #1a2b4a) 100%);
}

.blog-tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(247, 138, 12, 0.1);
    color: var(--accent-color, #f78a0c);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

.blog-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #161616;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.blog-hero-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 500;
}

.blog-hero-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 14px;
}

.blog-hero-highlight {
    margin-top: 24px;
    padding: 16px 22px;
    background-color: #f8fafc;
    border-left: 4px solid var(--accent-color, #f78a0c);
    border-radius: 0 10px 10px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    font-style: italic;
}

/* Blog Articles Grid */
.blog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.blog-section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #161616;
    margin: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    border-color: rgba(247, 138, 12, 0.4);
}

.blog-image {
    height: 230px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.blog-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date i {
    color: var(--accent-color, #f78a0c);
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.blog-content h3 a {
    color: #161616;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-content h3 a:hover {
    color: var(--accent-color, #f78a0c);
}

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 22px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color, #f78a0c);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    align-self: flex-start;
}

.read-more:hover {
    gap: 12px;
    color: #d97004;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-hero-card {
        padding: 30px 22px;
    }

    .blog-main-title {
        font-size: 1.7rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
