/* General styling for the main page */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Header styling */
header {
    background-color: #00695c; /* Teal */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 1.5rem;
}

/* Additional styles for categories */
.category-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #004d40;
    border-bottom: 2px solid #00796b;
    padding-bottom: 5px;
}

/* Card grid container */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual card styling */
.post-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Icon styling */
.post-item .icon {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
}

/* Title link styling */
.post-item .post-link {
    text-decoration: none;
    font-weight: bold;
    color: #00796b;
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
}

.post-item .post-link:hover {
    color: #004d40;
}

/* Footer styling */
footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
