.canis-filter-container {
    margin: 20px 0;
    position: relative;
    z-index: 999980;
}

.canis-filter-form {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.canis-filter-form>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.canis-filter-form h3 {
    width: 100%;
    margin: 0 0 15px 0;
    order: -1;
}

.canis-filter-form .filter-groups-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.canis-filter-form>div:not(.dropdown-filter) {
    width: 100%;
    margin-bottom: 15px;
}

.canis-filter-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.canis-filter-form .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.canis-filter-form .filter-option {
    margin-right: 15px;
}

/* Post List Styles - Salient Theme Compatible */
.canis-filtered-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.canis-filtered-posts .col.span_6 {
    width: calc(25% - 15px);
    margin-bottom: 20px;
    position: relative;
    flex: 0 0 calc(25% - 15px);
    margin-right: 0;
}

.canis-filtered-posts .inner-wrap {
    height: 100%;
    position: relative;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.canis-filtered-posts .inner-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.canis-filtered-posts .img-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.canis-filtered-posts .post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.canis-filtered-posts .img-link:hover .post-featured-img img {
    transform: scale(1.05);
}

.canis-filtered-posts .meta-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.canis-filtered-posts .meta-category .reiseberichte p {
    left: 0;
    top: 0;
    width: max-content;
}

.canis-filtered-posts .meta-category p {
    margin: 0;
    line-height: 1.2;
}

.canis-filtered-posts .entire-meta-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.canis-filtered-posts .article-content-wrap {
    padding: 20px;
    position: relative;
    z-index: 10;
}

.canis-filtered-posts .post-header .meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.canis-filtered-posts .post-header .title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.canis-filtered-posts .icon-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 15px 0;
}

.canis-filtered-posts .icon-wrap .icons {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.canis-filtered-posts .excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.canis-filtered-posts .excerpt p {
    margin: 0 0 10px 0;
}

.canis-filtered-posts .canis-btn.btn-more {
    display: inline-block;
    background: #cc4d16;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.3s ease;
    position: relative;
    z-index: 15;
}

.canis-filtered-posts .canis-btn.btn-more:hover {
    background: #e66600;
    color: white;
}

.canis-filtered-posts .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.canis-filtered-posts .post-meta>* {
    position: relative;
    z-index: 15;
}

.canis-filtered-posts .meta-author a,
.canis-filtered-posts .meta-comment-count a,
.canis-filtered-posts .nectar-love {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.canis-filtered-posts .meta-author a:hover,
.canis-filtered-posts .meta-comment-count a:hover,
.canis-filtered-posts .nectar-love:hover {
    color: #cc4d16;
}

.canis-filtered-posts .canis-view-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.canis-filtered-posts .nectar-love-wrap {
    display: flex;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .canis-filtered-posts .col.span_6 {
        width: calc(33.333% - 14px);
        flex: 0 0 calc(33.333% - 14px);
        margin-right: 0;
    }
}

@media (max-width: 900px) {
    .canis-filtered-posts .col.span_6 {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .canis-filtered-posts .col.span_6 {
        width: 100%;
        flex: 0 0 100%;
        margin-right: 0;
    }

    .canis-filtered-posts {
        gap: 15px;
    }

    .canis-filtered-posts .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .canis-filtered-posts .article-content-wrap {
        padding: 15px;
    }
}

.canis-pagination {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.canis-pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background: #f1f1f1;
    text-decoration: none;
    border-radius: 3px;
}

.canis-pagination a:hover,
.canis-pagination .current {
    background: #55802f;
    color: white;
}

.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 20px;
    color: #d63638;
    background: #ffeaea;
    border-radius: 3px;
}

/* Dropdown Filter Styles */
.canis-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

.dropdown-filter {
    position: relative;
    flex: 1;
    min-width: 200px;
    z-index: 999990;
}

.filter-dropdown-header {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.filter-dropdown-header * {
    pointer-events: none;
    cursor: pointer;
}

.filter-dropdown-header:hover {
    background: #f8f8f8;
    border-color: #bbb;
}

.filter-dropdown-header.active {
    border-color: #55802f;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.filter-dropdown-header.active .dropdown-arrow {
    transform: rotate(180deg);
}

.selected-count {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.filter-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #55802f;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999999 !important;
    max-height: 300px;
    overflow-y: auto;
}

.filter-dropdown-content.active {
    display: block;
}

.filter-dropdown-content .filter-options {
    padding: 15px;
    display: block;
}

.filter-dropdown-content .filter-option {
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
}

.filter-dropdown-content .filter-option input[type="checkbox"] {
    margin-right: 8px;
}

.filter-dropdown-content .filter-option label {
    font-weight: normal;
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.filter-dropdown-actions {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    display: flex;
    gap: 10px;
}

.apply-filter-btn,
.clear-filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.apply-filter-btn {
    background: #55802f;
    color: white;
}

.apply-filter-btn:hover {
    background: #005a87;
}

.clear-filter-btn {
    background: #666;
    color: white;
}

.clear-filter-btn:hover {
    background: #444;
}

.apply-filter-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .canis-filter-form {
        display: block;
    }

    .canis-filter-form>div {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-filter {
        width: 100%;
        margin-bottom: 10px;
    }

    .filter-dropdown-content {
        position: relative;
        box-shadow: none;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 5px;
    }
}

/* Export Section Styles */
.export-section {}

.export-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.export-btn:hover {
    background: #218838;
}

.export-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}