/* Posts Grid Styles */
.posts-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.post-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f5f5;
}

.post-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-date-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #2d5f5d;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    min-width: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 10px));
    z-index: 2;
}

.post-card-date-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.post-card-date-month {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.post-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.post-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #2d5f5d;
}

.post-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.post-card-button {
    display: inline-block;
    background: #2d5f5d;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.post-card-button:hover {
    background: #234948;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .posts-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .posts-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

