/* Blog Page Specific Styles */

/* Blog Banner */
.blog-banner {
    padding-top: 100px;
    padding-bottom: 40px;
    /* background: linear-gradient(rgba(247, 247, 247, 0.733), rgba(88, 137, 201, 0.795)), url('../images/bgimg.PNG'); */
    text-align: center;
    border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.blog-banner .section-title {
    font-size: 4.5rem;
    color: var(--text-color, #333);
    margin: 0;
}

/* Blog List Section */
.blog-section {
    padding: 80px 0;
    background-color: var(--bg-primary, #ffffff);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    /* Constrain width for better readability on large screens */
    margin: 0 auto;
}

/* Blog Card */
.blog-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #eee);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    /* Normalize if used as anchor */
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #cecece;
}

.blog-image {
    flex: 0 0 40%;
    background-color: #f0f0f0;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}



/* If we use actual images later, this helper will ensure they cover */
/* New Thumbnail Styles */
.blog-thumbnail-text {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thumbnail-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    max-width: 90%;
    margin: 0;
    z-index: 2;
    transition: color 0.3s ease;
}

.blog-card:hover .thumbnail-title {
    color: var(--primary-color, #5c82ae);
}


.blog-card:hover {
    opacity: 1;
    transform: scale(1.05);
}

.blog-content {
    flex: 0 0 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.blog-category {
    color: var(--primary-color, #5c82ae);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.8rem;
    color: var(--text-color, #111);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-date {
    font-size: 1.25rem;
    color: var(--text-color-light, #888);
    margin-bottom: 15px;
    display: block;
}

.blog-excerpt {
    font-size: 1.5rem;
    color: var(--text-color-secondary, #555);
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color, #5c82ae);
    font-weight: 600;
    font-size: 1.35rem;
    transition: gap 0.3s ease;
    text-decoration: none;
}

.read-more:hover {
    gap: 10px;
}

.read-more i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-banner {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-image {
        flex: auto;
        height: 200px;
        min-height: auto;
    }

    .blog-content {
        flex: auto;
        padding: 30px 20px;
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .blog-section {
        padding: 10px 20px;
    }
}