
.taxonomy-filter {
    padding-top: 34px;
    padding-bottom: 4px;
}

.taxonomy-filter__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.taxonomy-filter__heading h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 33px);
}

.taxonomy-filter__heading > a {
    color: #087448;
    font-size: 13px;
    font-weight: 800;
}

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

.taxonomy-chips > a,
.content-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid #cbdcd3;
    border-radius: 999px;
    background: #f4f8f6;
    color: #285443;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.taxonomy-chips > a span {
    display: inline-grid;
    min-width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 80, 52, .08);
    font-size: 10px;
}

.taxonomy-chips > a.is-active {
    border-color: #087448;
    background: #087448;
    color: #fff;
}

.taxonomy-chips > a.is-active span {
    background: rgba(255, 255, 255, .18);
}

.taxonomy-results {
    padding-top: 30px;
}

.content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.content-badges--large {
    margin-bottom: 11px;
}

.content-badge {
    padding: 4px 8px;
    border: 0;
    background: #edf5f1;
    color: #26644d;
    font-size: 10px;
}

.content-badge--sport {
    background: #eaf2ff;
    color: #245ba1;
}

.content-badge--udalost {
    background: #fff2db;
    color: #8b5a09;
}

.content-badge--rezervace {
    background: #f4eaff;
    color: #6b3c93;
}

.content-badge--volejbal {
    background: #e9f7ff;
    color: #0d668e;
}

.content-badge--nezarazene,
.content-badge--uncategorized {
    background: #f0f1f1;
    color: #68716d;
}

.news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.related-count {
    color: #7b8881;
    font-size: 11px;
}

.related-content {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #dfe7e3;
}

.related-content__eyebrow {
    margin: 0 0 5px;
    color: #087448;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
}

.related-content h2 {
    margin: 0 0 15px;
}

.related-events,
.related-posts {
    display: grid;
    gap: 9px;
}

.related-events > a,
.related-posts > a {
    display: grid;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #dce6e1;
    border-radius: 11px;
    background: #f8faf9;
    color: #17251f;
}

.related-events > a {
    grid-template-columns: 65px minmax(0, 1fr) auto;
}

.related-posts > a {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.related-events > a:hover,
.related-posts > a:hover {
    border-color: #b5d3c4;
    background: #f2f8f5;
}

.related-event__date {
    display: grid;
    min-height: 55px;
    place-items: center;
    align-content: center;
    border-radius: 8px;
    background: #e8f3ed;
    color: #087047;
}

.related-event__date strong {
    font-size: 22px;
    line-height: 1;
}

.related-event__date small {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.related-events strong,
.related-events small,
.related-posts strong,
.related-posts small {
    display: block;
}

.related-events small,
.related-posts small {
    margin-top: 2px;
    color: #75827b;
}

.home-news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-bottom: 5px;
}

.home-news-card__rubrics {
    display: flex;
    min-width: 0;
    gap: 4px;
    overflow: hidden;
}

.home-news-card__rubrics small {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 999px;
    background: #edf5f1;
    color: #216246;
    font-size: 9px;
    font-weight: 800;
}

.home-news-card__meta > small {
    flex: 0 0 auto;
}

@media (max-width: 650px) {
    .taxonomy-filter__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .taxonomy-chips {
        max-width: 100%;
        flex-wrap: nowrap;
        padding-bottom: 7px;
        overflow-x: auto;
    }

    .taxonomy-chips > a {
        flex: 0 0 auto;
    }

    .news-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-events > a,
    .related-posts > a {
        grid-template-columns: 1fr;
    }

    .related-event__date {
        width: 65px;
    }
}
