/* --- GLOBAL LAYOUT --- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 20px;
    color: #333;
}

/* --- GRID LAYOUT --- */

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

/* --- BLOG CARD --- */

.blog-page-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.blog-page-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
}

.blog-page-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* --- BLOG CONTENT --- */

.blog-content {
    margin-top: 20px;
}

.blog-page-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
    margin-top: 30px;
    
}

.blog-page-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- BUTTON --- */

.btn-read {
    display: inline-block;
    background: #0573C1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .section-title {
        text-align: left;
    }

    .blog-card {
        padding: 18px;
    }
}
