/* rt_colorfinder */

.rtcf-block .rtcf-subtitle {
    font-size: 12px;
    line-height: 1.45;
    opacity: .75;
    margin: 0 0 10px;
}

.rtcf-block .rtcf-filter {
    width: 100%;
    height: 32px;
    font-size: 13px;
    padding: 4px 8px;
    margin-bottom: 10px;
}

.rtcf-block .rtcf-grid {
    display: grid;
    grid-template-columns: repeat(var(--rtcf-cols, 5), minmax(0, 1fr));
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rtcf-block .rtcf-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rtcf-block .rtcf-item.rtcf-hidden {
    display: none;
}

.rtcf-block .rtcf-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.rtcf-block .rtcf-swatch {
    display: block;
    width: 100%;
    padding-top: 100%;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    transition: transform .12s ease, border-color .12s ease;
}

.rtcf-block .rtcf-link:hover .rtcf-swatch,
.rtcf-block .rtcf-link:focus .rtcf-swatch {
    transform: scale(1.12);
    border-color: rgba(0, 0, 0, .6);
}

.rtcf-block .rtcf-link:focus-visible .rtcf-swatch {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.rtcf-block .rtcf-code {
    display: block;
    font-size: 10px;
    line-height: 1.4;
    margin-top: 2px;
    opacity: .7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rtcf-block .rtcf-empty {
    font-size: 12px;
    opacity: .7;
    margin: 10px 0 0;
}

.rtcf-block .rtcf-toggle {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 6px 8px;
    font-size: 12px;
    background: none;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 3px;
    cursor: pointer;
    color: inherit;
}

.rtcf-block .rtcf-toggle:hover {
    border-color: rgba(0, 0, 0, .45);
}

.rtcf-block .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .rtcf-block .rtcf-swatch {
        transition: none;
    }
    .rtcf-block .rtcf-link:hover .rtcf-swatch,
    .rtcf-block .rtcf-link:focus .rtcf-swatch {
        transform: none;
    }
}
