:root
{
    --bg: #0b0c0f;
    --panel: #14161a;
    --muted: #9aa3af;
    --text: #e5e7eb;
    --accent: #4f46e5;
    --chip: #1f232b;
    --ring: rgba(79, 70, 229, .35);
}

.fewo-wrap
{
    color: var(--text);
}

.fewo-title
{
    margin: 0 0 18px;
}

.fewo-filters
{
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    background: var(--panel);
}

.fewo-filters .f
{
    grid-column: auto/span 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fewo-filters .f label
{
    font-size: 12px;
    color: #000;
}

#fewo-first-filter-col .f label
{
    color: transparent;
}

.fewo-filters .f input[type=number],
.fewo-filters .f input[type=range],
.fewo-filters .f input[type=text],
.fewo-filters .f select
{
    appearance: none;
    background: 0 0;
    border: 1px solid #1e2230;
    color: #000;
    border-radius: 25px;
    padding: 10px 12px;
    outline: 0;
}

.fewo-filters .f input:focus,
.fewo-filters .f select:focus
{
    box-shadow: 0 0 0 4px var(--ring);
    border-color: var(--accent);
}

.fewo-filters .f.range
{
    grid-column: span 6;
}

.fewo-filters .range .row
{
    display: flex;
    gap: 10px;
    align-items: center;
}

.chips
{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip
{
    background: var(--chip);
}

.toolbar
{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.btn
{
    border: 1px solid #2a3040;
    background: #0e1117;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.btn:focus
{
    outline: 0;
    box-shadow: 0 0 0 4px var(--ring);
    border-color: var(--accent);
}

.grid
{
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(12, 1fr);
}

.card
{
    display: flex;
    flex-direction: column;
    width: 30%;
}

.card .head
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.title
{
    font-weight: 700;
}

.badge
{
    border: 1px solid #262c3b;
}

.body
{
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 12px 14px;
}

.thumb
{
    border: 1px solid #1e2230;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
}

.meta
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 27px;
    margin-left: 10px;
}

.meta .pill
{
    font-size: 16px;
    border: none;
    background: 0 0;
    border-radius: 999px;
    padding: 5px 10px;
}

.addr
{
    color: var(--muted);
}

.foot
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid #1e2230;
}

.empty
{
    opacity: .75;
    padding: 40px 0;
}

@media (max-width:900px)
{
    .fewo-filters .f
    {
        grid-column: span 6;
    }

    .card,
    .fewo-filters .f.range
    {
        grid-column: span 12;
    }

    .body
    {
        grid-template-columns: 1fr;
    }

    .thumb
    {
        width: 100%;
        height: 160px;
    }
}

.fewo-wrap
{
    margin: 80px auto;
    /* padding: 0 20px; */
    color: #222325;
    font-family: inherit;
    max-width: 100% !important;
}

.fewo-title
{
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
}

.fewo-filters
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: 0 0;
    padding: 25px 0;
    border-radius: 20px;
    align-items: flex-end;
    align-content: flex-start;
    justify-content: flex-start;
}

.fewo-filters .f
{
    flex: 1 1 180px;
    min-width: 150px;
}

.fewo-filters label
{
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}

.fewo-filters input,
.fewo-filters select
{
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 8px 12px;
    background: #fdfdfd;
    color: #222;
    font-size: 15px;
}

.fewo-filters input:focus,
.fewo-filters select:focus
{
    outline: 0;
    border-color: #222325;
}

.fewo-filters button.btn
{
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid #222325;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}

.fewo-filters button.btn:hover
{
    background: #222325;
    color: #fff;
}

.chips
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chip
{
    background: #f7f2ec;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
    color: #333;
}

.toolbar
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    font-size: 16px;
}

.toolbar .btn
{
    border: 1px solid #222325;
    background: 0 0;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: background .2s;
}

.toolbar .btn:hover
{
    background: #222325;
    color: #fff;
}

.grid
{
    display: flex;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

.card
{
    background: #fff;
    border-radius: 20px;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.card:hover
{
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.card .head
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card .title
{
    font-size: 28px;
    font-weight: 100;
    margin-top: 26px;
}

.card .head .title
{
    align-self: flex-start;
    text-align: left;
    margin-left: 40px;
}

.badge
{
    background: #222325;
    color: #fff;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 12px;
}

.card .body
{
    display: flex;
    flex-direction: column;
    padding: 0 24px 20px;
    gap: 12px;
}

.thumb
{
    width: 100%;
    height: 250px;
    /* border-radius: 16px; */
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none;
}

.thumb img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meta
{
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    color: #333;
}

.meta .pill
{
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pill icon (domain-independent) */
#fewo-results .pill
{
    display: inline-flex;
    align-items: center;
    gap: .35em;
}

#fewo-results .pill::before
{
    content: "";
    width: .9em;
    /* very small */
    height: .9em;
    flex: 0 0 .9em;
    background: url("/wp-content/uploads/2025/12/fewo-seeteufel-grafiken-2025_fewo-seeteufel-icon-highlight-check.svg") no-repeat center/contain;
    margin-right: 10px;
}

.addr
{
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.card .foot
{
    border-top: 1px solid #eee;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footerlink
{
    font-weight: 100;
    border-radius: 25px;
    background: #32373c;
    padding: 10px;
    border-width: 0;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.link:hover
{
    text-decoration: underline;
}

.empty
{
    text-align: center;
    opacity: .7;
    margin-top: 40px;
    font-size: 18px;
}

.fewo-second-filters
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media (max-width:1200px)
{
    .card
    {
        width: 48%;
    }
}

@media (max-width:900px)
{
    .card
    {
        width: 100%;
    }
}

@media (max-width:768px)
{
    .fewo-title
    {
        font-size: 32px;
        text-align: center;
    }

    .toolbar
    {
        flex-direction: column;
        gap: 12px;
    }
}

.flatpickr-day.weekend-day
{
    background-color: #f0f8ff;
    color: #000;
    font-weight: 600;
    border-radius: 50%;
}

.flatpickr-day.weekend-day:hover
{
    background-color: #4f46e5;
    color: #fff;
}