/* ===================================
   BLOG / HEALTH GUIDE SECTION
   =================================== */

.blog-section {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.blog-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(11, 44, 84, 0.1);
}

.blog-title-wrapper {
    position: relative;
}

.blog-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6B35;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 36px;
    font-weight: 800;
    color: #0B2C54;
    margin: 0;
    line-height: 1.2;
}

.btn-blog-all {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #0B2C54;
    border-radius: 50px;
    color: #0B2C54;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-blog-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-blog-all:hover {
    background: #0B2C54;
    color: #FFFFFF;
}

.btn-blog-all:hover i {
    transform: translateX(5px);
}

/* Blog Card */
.blog-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(11, 44, 84, 0.05);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 44, 84, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
}

/* Card Image */
.blog-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 44, 84, 0.6) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

/* Category Badge */
.blog-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0B2C54;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-badge {
    background: #FF6B35;
    color: #FFFFFF;
}

/* Card Content */
.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #6c757d;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #FF6B35;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #0B2C54;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: #FF6B35;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Link */
.blog-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #0B2C54;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
}

.blog-link span {
    margin-right: 8px;
    position: relative;
}

/* Animated Underline */
.blog-link span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B35;
    transition: width 0.3s ease;
}

.blog-card:hover .blog-link span::after {
    width: 100%;
}

.blog-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
    background: #edeff2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card:hover .blog-link i {
    background: #FF6B35;
    color: #FFFFFF;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .blog-title {
        font-size: 28px;
    }

    .blog-img-wrapper {
        height: 200px;
    }
}