.wak-da-filter,
.wak-da-single,
.wak-da-archive {
    max-width: 100%;
}

.wak-da-archive-title,
.wak-da-single h1.wak-da-single-title {
    margin: 0 0 18px;
    color: #4e4d4c;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.wak-da-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 30px;
}

.wak-da-filter-bar,
.wak-da-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wak-da-filter-item,
.wak-da-year select,
.wak-da-search input {
    appearance: none;
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #4e4d4c;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.wak-da-filter-item {
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.wak-da-filter-item:hover,
.wak-da-year select:focus,
.wak-da-search input:focus {
    color: #009883;
    outline: none;
}

.wak-da-filter-item.is-active,
.wak-da-filter-item.is-active:hover {
    background: #009883;
    color: #fff !important;
}

.wak-da-search {
    display: block;
    flex: 1 0 220px;
    max-width: 240px;
}

.wak-da-search input {
    box-sizing: border-box;
    width: 100%;
}

.wak-da-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.wak-da-layout-4col .wak-da-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wak-da-card {
    min-width: 0;
    background: #fff;
    overflow: hidden;
}

.wak-da-card[hidden] {
    display: none !important;
}

.wak-da-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #4e4d4c;
    text-decoration: none;
}

.wak-da-card-link:hover {
    color: #4e4d4c;
}

.wak-da-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7f4f2;
}

.wak-da-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.wak-da-card:hover .wak-da-media img {
    transform: scale(1.04);
}

.wak-da-media.is-empty {
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: #009883;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.wak-da-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 16px 20px 20px;
}

.wak-da-kicker {
    color: #009883;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.wak-da-premium {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    background: #009883;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.wak-da-card h2.wak-da-title {
    margin: 0 0 4px;
    color: #4e4d4c;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.wak-da-card:hover .wak-da-title {
    color: #009883;
}

.wak-da-partner,
.wak-da-names {
    font-size: 15px;
    line-height: 1.35;
}

.wak-da-names {
    font-weight: 600;
}

.wak-da-card p.wak-da-excerpt {
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}

.wak-da-card .wak-da-more {
    display: inline-block;
    align-self: flex-start;
    margin-top: 22px;
    padding: 10px 20px;
    background: #009883;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color .3s ease;
}

.wak-da-card:hover .wak-da-more {
    background: #4e4d4c;
}

.wak-da-none,
.wak-da-empty {
    margin: 12px 0 0;
}

.wak-da-load {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.wak-da-load[hidden] {
    display: none;
}

.wak-da-load button {
    margin: 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 0;
    background: #009883;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .3s ease;
}

.wak-da-load button:hover {
    background: #4e4d4c;
}

.wak-da-single {
    --wak-da-gap: 30px;
    width: 100%;
}

.wak-da-back {
    margin: 40px 0 8px;
    text-align: center;
}

.wak-da-back a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 38px;
    padding: 8px 14px;
    background: #009883;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .3s ease;
}

.wak-da-back a:hover {
    background: #4e4d4c;
    color: #fff !important;
}

.wak-da-top,
.wak-da-columns,
.wak-da-facts,
.wak-da-people-col,
.wak-da-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--wak-da-gap);
    width: 100%;
}

.wak-da-top,
.wak-da-columns,
.wak-da-section {
    margin: 0 0 var(--wak-da-gap);
}

.wak-da-top {
    grid-template-columns: minmax(0, 1fr);
}

.wak-da-columns.is-single > .wak-da-story {
    grid-column: span 3;
}

.wak-da-facts div,
.wak-da-people-col > section,
.wak-da-columns > section,
.wak-da-files {
    background: #fff;
}

.wak-da-facts {
    margin: 0;
}

.wak-da-facts div {
    display: block;
    margin: 0;
    padding: 16px 18px;
}

.wak-da-facts dt,
.wak-da-facts dd {
    margin: 0;
    color: #4e4d4c;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
}

.wak-da-facts dt {
    margin-bottom: 4px;
    color: #009883;
    font-weight: 600;
}

.wak-da-people-col > section,
.wak-da-columns > section {
    min-width: 0;
    padding: 18px 18px 22px;
}

.wak-da-span-1 {
    grid-column: span 1;
}

.wak-da-span-2,
.wak-da-story {
    grid-column: span 2;
}

.wak-da-span-3 {
    grid-column: span 3;
}

.wak-da-single h2 {
    margin: 0 0 12px;
    color: #4e4d4c;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.wak-da-people-col h2 {
    margin-bottom: 12px;
    color: #009883;
    font-size: 20px;
    font-weight: 600;
}

.wak-da-people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px 12px;
}

.wak-da-person {
    min-width: 0;
    text-align: center;
}

.wak-da-person img,
.wak-da-avatar {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
    border-radius: 100px;
    object-fit: cover;
    object-position: center center;
    background: #e7f4f2;
}

.wak-da-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #009883;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.wak-da-person-name,
.wak-da-person-class {
    color: #4e4d4c;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}

.wak-da-text,
.wak-da-text p {
    color: #4e4d4c;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.55;
}

.wak-da-text p:last-child {
    margin-bottom: 0;
}

.wak-da-poster img,
.wak-da-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

.wak-da-plakat {
    display: flex;
    flex-direction: column;
    align-self: start;
    position: sticky;
    top: 24px;
}

.wak-da-columns h2 {
    margin-bottom: 16px;
    color: #009883;
    font-size: 28px;
}

.wak-da-poster {
    display: block;
}

.wak-da-gallery a {
    display: block;
    background: #fff;
}

.wak-da-files {
    color: #4e4d4c;
    font-size: 20px;
    font-weight: 300;
}

.wak-da-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.wak-da-video {
    position: relative;
    margin: var(--wak-da-gap) 0 0;
    aspect-ratio: 16 / 9;
    background: #111;
}

.wak-da-video iframe,
.wak-da-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wak-da-files {
    margin: var(--wak-da-gap) 0 0;
    padding: 18px 18px 18px 36px;
}

.wak-da-files a {
    color: #009883;
    font-weight: 300;
}

@media (max-width: 980px) {
    .wak-da-grid,
    .wak-da-layout-4col .wak-da-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wak-da-columns,
    .wak-da-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wak-da-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .wak-da-story,
    .wak-da-plakat,
    .wak-da-columns.is-single > .wak-da-story {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .wak-da-filter-bar {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .wak-da-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .wak-da-filter-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .wak-da-search {
        max-width: none;
        flex-basis: 100%;
    }

    .wak-da-grid,
    .wak-da-layout-4col .wak-da-grid,
    .wak-da-facts,
    .wak-da-people-col,
    .wak-da-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .wak-da-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wak-da-facts dt,
    .wak-da-facts dd,
    .wak-da-people-col h2,
    .wak-da-person-name,
    .wak-da-person-class,
    .wak-da-text,
    .wak-da-text p,
    .wak-da-files,
    .wak-da-card p.wak-da-excerpt {
        font-size: 18px;
    }

    .wak-da-person img,
    .wak-da-avatar {
        width: 80px;
        height: 80px;
    }

    .wak-da-avatar {
        font-size: 18px;
    }

    .wak-da-people-col > section,
    .wak-da-span-2,
    .wak-da-span-3,
    .wak-da-story,
    .wak-da-columns.is-single > .wak-da-story {
        grid-column: auto;
    }

    .wak-da-plakat {
        position: static;
    }
}
