/* ===========================
   Klima Blok — Vrste blokova
   =========================== */

.kbv {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ------- Filter type buttons ------- */
.kbv__filter-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.kbv__type-btn {
    padding: 10px 20px !important;
    border-radius: 9999px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
    color: #374151 !important;
    line-height: 1.4 !important;
    outline: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
}

.kbv__type-btn:hover {
    border-color: #e8731a !important;
    color: #e8731a !important;
    background: #fff !important;
}

.kbv__type-btn:focus,
.kbv__type-btn:focus-visible {
    border-color: #e8731a !important;
    box-shadow: 0 0 0 3px rgba(232, 115, 26, 0.2) !important;
    background: #fff !important;
    color: #374151 !important;
}

.kbv__type-btn--active {
    background: #e8731a !important;
    color: #fff !important;
    border-color: #e8731a !important;
    box-shadow: 0 4px 12px rgba(232, 115, 26, 0.25) !important;
}

.kbv__type-btn--active:hover {
    background: #d4680f !important;
    color: #fff !important;
    border-color: #d4680f !important;
}

.kbv__type-btn--active:focus,
.kbv__type-btn--active:focus-visible {
    background: #e8731a !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(232, 115, 26, 0.35) !important;
}

/* ------- Chips ------- */
.kbv__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.kbv__chip {
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    border: none !important;
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    line-height: 1.4 !important;
    outline: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
}

.kbv__chip:hover {
    background: #e5e7eb !important;
    color: #1f2937 !important;
}

.kbv__chip:focus,
.kbv__chip:focus-visible {
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2) !important;
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

.kbv__chip--active {
    background: #1e3a5f !important;
    color: #fff !important;
}

.kbv__chip--active:hover {
    background: #17304f !important;
    color: #fff !important;
}

.kbv__chip--active:focus,
.kbv__chip--active:focus-visible {
    background: #1e3a5f !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.35) !important;
}

/* ------- Grid — fluid responsive ------- */
.kbv__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .kbv__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .kbv__grid {
        grid-template-columns: 1fr;
    }
}

/* ------- Card ------- */
.kbv__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.kbv__card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.kbv__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.kbv__card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #1e3a5f;
    white-space: nowrap;
    line-height: 1.4;
    margin-bottom: 16px;
}

.kbv__card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kbv__card-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.kbv__card-bullet {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e8731a;
    margin-top: 6px;
}

/* ------- Empty state ------- */
.kbv__empty {
    text-align: center;
    color: #6b7280;
    padding: 32px 0;
    font-size: 15px;
}
