#bar-filters {
    top: var(--header-height);
}
#kobler-archive-grid {
    transition: opacity .25s ease, transform .25s ease;
}
@keyframes koblerCardEnter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.kobler-card-pending {
    opacity: 0;
}
.kobler-card-enter {
    animation: koblerCardEnter .45s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--kobler-card-delay, 0ms);
    will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
    .kobler-card-pending,
    .kobler-card-enter {
        animation: none;
        opacity: 1;
    }
}
html.kobler-archive-loading #kobler-archive-grid {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}
.kobler-results-loader {
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    pointer-events: none;
}
html.kobler-archive-loading .kobler-results-loader {
    display: flex;
}
#kobler-archive-sentinel {
    height: 1px;
}
.kobler-field-clear-wrap input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
.kobler-field-clear-wrap .material-symbols-rounded.position-absolute {
    pointer-events: none;
}
.kobler-field-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bs-gray-500, #6c757d);
    line-height: 1;
    z-index: 2;
}
.kobler-field-clear:hover {
    color: var(--bs-gray-700, #495057);
}
.filter-qty {
    display: inline-flex;
}

/*
 * Timeline: panel vertical de años junto al grid, colapsado por default.
 * .toggle-timeline-btn agrega/quita .is-open (ver assets/js/archive.js).
 *
 * OJO: se oculta con visibility (no overflow:hidden). .kobler-timeline__inner
 * es sticky, y cualquier ancestro con overflow distinto de visible invalida
 * el sticky de sus descendientes -- por eso el colapso de ancho no puede
 * recortar contenido con overflow:hidden aquí.
 */
.kobler-timeline {
    flex: 0 0 auto;
    width: 0;
    opacity: 0;
    visibility: hidden;
    margin-left: 0;
    transition: width .3s cubic-bezier(.22, 1, .36, 1),
                opacity .25s ease,
                margin-left .3s cubic-bezier(.22, 1, .36, 1),
                visibility 0s linear .3s;
}
.kobler-timeline.is-open {
    width: 56px;
    opacity: 1;
    visibility: visible;
    margin-left: 40px;
    transition: width .3s cubic-bezier(.22, 1, .36, 1),
                opacity .25s ease,
                margin-left .3s cubic-bezier(.22, 1, .36, 1);
}
.kobler-timeline__inner {
    position: sticky;
    top: calc(var(--header-height, 0px) + 24px);
    width: 56px;
    padding-left: 16px;
    border-left: 2px solid #e5e5e5;
    white-space: nowrap;
}
.kobler-timeline__year {
    display: block;
    width: 100%;
    position: relative;
    padding: 10px 0;
    border: none;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #9a9a9a;
    white-space: nowrap;
    transition: color .3s ease, font-weight .3s ease, transform .3s ease;
}
.kobler-timeline__year:hover {
    color: var(--blue);
}
.kobler-timeline__year::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e5e5e5;
    transform: translateY(-50%);
    transition: background .3s ease, transform .3s ease;
}
.kobler-timeline__year.is-active {
    color: var(--blue);
    font-weight: 700;
}
.kobler-timeline__year.is-active::before {
    background: var(--blue);
    transform: translateY(-50%) scale(1.5);
}
.toggle-timeline-btn.is-active {
    background-color: #000;
}
.kobler-filter-select--locked {
    opacity: .55;
    pointer-events: none;
}
@media (max-width: 991.98px) {
    .kobler-timeline {
        display: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .kobler-timeline,
    .kobler-timeline__year,
    .kobler-timeline__year::before {
        transition: none;
    }
}
