.post-filtered-grid-component.block {
    background: #fff;
    font-family: 'Hanken Grotesk';
}

/* Filters */
.post-filtered-grid-component .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;                    /* full width */
    justify-content: space-between; /* helps distribute children */
}

.post-filtered-grid-component .filters select {
    flex: 1 1 22%;                  /* ≈25% each — a bit less to allow gap */
    min-width: 160px;               /* prevent them from becoming too narrow */
    max-width: 300px;               /* optional – prevents huge selects on very wide screens */
    padding: 0.75rem 1.25rem;
    padding-right: 2.5rem;          /* space for arrow */
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    color: #999;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: all 0.2s ease;
}

.post-filtered-grid-component .filters select:hover {
    border-bottom-color: #999;
    color: #333;
}

.post-filtered-grid-component .filters select:focus {
    outline: none;
    border-bottom-color: #5d7374;
    color: #18211e;
}

/* ───────────────────────────────────────────── */
/*               Responsive adjustments          */
/* ───────────────────────────────────────────── */

@media (min-width: 1024px) {
    .post-filtered-grid-component .filters {
        gap: 1.25rem;
    }
    .post-filtered-grid-component .filters select {
        flex: 1 1 23%;          /* very close to 25% with gap */
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .post-filtered-grid-component .filters select {
        flex: 1 1 45%;          /* 2 per row on tablets */
        max-width: none;
    }
}

@media (max-width: 767px) {
    .post-filtered-grid-component .filters {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .post-filtered-grid-component .filters select {
        flex: 1 1 100%;         /* full width on mobile */
        min-width: 100%;
        max-width: 100%;
    }
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
}

@media (min-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Post Card - NEW DESIGN */
.post-card {
    border-radius: 10px;
    background: #f8f8f8;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
	width: 100%;
    min-width: 0;
}


.post-card:hover {
    transform: translateY(-8px);
}

/* Post Card Image - LARGER */
.post-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
    position: relative;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

/* Post Card Details - REDESIGNED LAYOUT */
.post-card-details {
    display: flex;
    flex-direction: row;
    gap: 2rem;
	height: 220px;
    padding: 1.5em;
}

.post-card-left {
    flex: 0 0 auto;
    min-width: 140px;
	width: 40%;
}

.post-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
	width: 60%;
}
@media (max-width: 767px) {
	.post-card-left {
		width: 100%;
	}
	.post-card-right {
		width: 100%;
	}
}

/* Date with Arrow */
.post-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.post-card-date span {
    color: #5e7374;
}

.post-card-date svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
	transform: rotate(270deg);
}

/* Post Type Label */
.post-card-type {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #18211e;
	margin-bottom: 50px;
}
@media (max-width: 767px) {
	.post-card-type {
		margin-bottom: 20px;
	}
}

/* Post Title */
.post-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #18211e;
    margin: 0;
    transition: color 0.3s ease;
}

.post-card:hover .post-card-title {
    color: #5d7374;
}

/* Filtered Out Posts */
.post-card.filtered-out {
    display: none !important;
}

/* Load More Button */
.load-more-wrapper {
    text-align: left;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.load-more-btn {
    background: transparent;
    color: #18211e;
    padding: 0;
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.load-more-btn {
    border-bottom: 1px solid #18211e;
    padding-bottom: 2px;
}

.load-more-btn::after {
    content: '↓';
    font-size: 22px;
    transition: transform 0.3s ease;
	margin-left: 20px;
}

.load-more-btn:hover {
    color: #5d7374;
}

.load-more-btn:hover::after {
    transform: translateY(3px);
}

/* Responsive Design */
@media (max-width: 1439px) {
    .post-card-details, .post-card-image {
        height: 195px;
    }
	.post-card-type {
		margin-bottom: 20px;
	}
}

@media (max-width: 1139px) {
    .post-card-details, .post-card-image {
        height: 123px;
    }
	.post-card-type {
		margin-bottom: 20px;
	}
	.post-card-details {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		height: auto;
	}
	.post-card-right, .post-card-left {
		width: 100%;
	}

@media (max-width: 767px) {
    .post-card-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-card-left {
        min-width: auto;
    }
    
    .post-card-image {
        height: 160px;
    }
    
    .post-grid {
        gap: 2rem;
		grid-template-columns: 1fr;
    }
	
    
    .post-filtered-grid-component .filters {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .post-filtered-grid-component .filters select {
        width: 100%;
    }
}
@media (max-width: 460px) {
	.post-card-image {
		height: 140px;
	}
}

/* No posts message */
.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
    font-size: 16px;
}