.clf-wrapper {
    width: 100%;
}

.clf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.clf-expression {
    width: 240px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.clf-search {
    width: min(100%, 375px);
    height: 38px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.clf-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
}

.clf-search-icon {
    font-size: 16px;
    line-height: 1;
    color: #111;
}

.clf-search-input {
    width: 100%;
    height: 30px;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px;
}

.clf-search-button {
    width: 66px;
    height: 28px;
    margin-right: 4px;
    border: 0;
    border-radius: 3px;
    background: #ed3348;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
}

.clf-search-button:hover {
    opacity: .9;
}

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

.clf-card {
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.clf-card-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.clf-card-content {
    padding: 18px;
}

.clf-card-title {
    margin: 0 0 8px;
    font-size: 18px;
}

.clf-card-title a {
    color: inherit;
    text-decoration: none;
}

.clf-card-excerpt {
    color: #666;
    font-size: 14px;
}

.clf-empty {
    padding: 30px;
    text-align: center;
}

.clf-loading {
    opacity: .5;
    pointer-events: none;
}

@media (max-width: 767px) {
    .clf-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .clf-expression,
    .clf-search {
        width: 100%;
    }

    .clf-grid {
        grid-template-columns: 1fr;
    }
}
