/* FILTRERINGS CSS - NEDERST PÅ ALLE SIDER */
.filter-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap; /* Add this line to handle wrapping on smaller screens */
}

.filter-sidebar {
    max-width: 320px;
	width: 25%;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.filter-section {
    margin-bottom: 20px;
}

.post-card.bestselger {
    position: relative;
}

.bestselger-banner {
    background-color: #fa7f28; /* Banner background color */
    color: white; /* Text color */
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-weight: bold;
    border-radius: 3px;
}

.post-list {
    display: flex;
    flex-wrap: wrap;
    width: 65%; 
    gap: 20px;
}

.post-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

.post-card img {
    object-fit: cover;
	max-width: 250px;
}

.post-card p {
	line-height: 1.3em;
}
.post-card-title {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 23px !important;
    text-align: left !important;
}

.post-card-content {
    flex-grow: 1;
    margin-top: 24px;
}

.post-card .pakker_aktiviteter_loop_c2a_wrapper {
    gap: 20px;
   display: flex;
    align-items: center;
}
 
.post-card .pakker_aktiviteter_loop_c2a_wrapper div {
    flex: unset;
}

/* Media queries for mobile */
@media (max-width: 981px) {
    .filter-container {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .filter-sidebar,
    .post-list {
        width: 100%;
        max-width: none; /* Remove the max-width constraint */
    }

    .post-card {
        flex-direction: column;
        align-items: center;
        padding: 16px;
    }

    .post-card img {
        width: 100%;
	max-width: 100%;
		max-height: 300px;
        height: auto;
    }

    .post-card-content {
        margin-top: 16px;
    }

    .post-card .pakker_aktiviteter_loop_c2a_wrapper {
        align-items: center;
        gap: 10px;
    }

    .post-card .pakker_aktiviteter_loop_c2a_wrapper div {
        width: 100%;
        text-align: center;
    }
	.pakker_aktiviteter_loop_c2a_wrapper a {
	width: 100%;
	}
}