/* Blog Article Styles */
article {
    max-width: 60%;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

article h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

article h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
}

article h3 {
    font-size: 24px;
    color: #555;
    margin-bottom: 15px;
}

article p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

article ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
    margin-bottom: 20px;
}

article li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.6;
}

article li strong {
    color: #333;
}

article ol {
    list-style-type: decimal;
    padding-left: 20px;
    color: #555;
    margin-bottom: 20px;
}

article ol li {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.6;
}

/* Mobile Optimization for Blog */
@media (max-width: 768px) {
    article {
        padding: 15px;
    }

    article h1 {
        font-size: 30px;
    }

    article h2 {
        font-size: 24px;
    }

    article h3 {
        font-size: 20px;
    }

    article p,
    article li,
    article ol li {
        font-size: 16px;
    }
}


/* Container for the entire blog overview */
.blog-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grid container for the blog cards */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

/* Individual blog cards */
.blog-card {
    width: 30%;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    text-align: center;
    text-decoration: none; /* Remove underline */
}

/* Remove underline from links */
.blog-card a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Maintain text color */
}

/* Image within the blog card */
.blog-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
}

/* Title within the blog card */
.blog-card h2 {
    font-size: 1.25em;
    margin: 15px 0;
    padding: 0 10px;
    color: #333;
}

/* Short description within the blog card */
.blog-card p {
    font-size: 1em;
    color: #666;
    padding: 0 10px 20px;
}

/* Hover effect for the blog card */
.blog-card:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .blog-card {
        width: 48%;
    }
}

@media (max-width: 600px) {
    .blog-card {
        width: 100%;
    }
}
