/* WUS Homepage Search V2 — clean category cards */
/* Scoped to homepage Elementor widget 1a275db */

body.home .elementor-element-1a275db .ff-cat-grid-wrapper {
    width: 100%;
    max-width: none;
}

body.home .elementor-element-1a275db .ff-cat-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

body.home .elementor-element-1a275db .ff-cat-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 7px;
    overflow: visible;
}

body.home .elementor-element-1a275db .ff-cat-card__link {
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
}

body.home .elementor-element-1a275db .ff-cat-card__image {
    position: relative;
    flex: 0 0 115px;
    width: 100%;
    height: 115px !important;
    min-height: 115px;
    aspect-ratio: auto !important;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

body.home .elementor-element-1a275db .ff-cat-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home .elementor-element-1a275db .ff-cat-card__overlay {
    position: absolute;
    inset: 0 0 auto 0;
    height: 115px;
    border-radius: 6px 6px 0 0;
    pointer-events: none;
}

body.home .elementor-element-1a275db .ff-cat-card__label {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    gap: 4px;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 47px;
    margin: 0 !important;
    padding: 7px 5px !important;
    background: #fff !important;
    color: #0A1543 !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    box-shadow: none !important;
}

body.home .elementor-element-1a275db .ff-cat-card__flyout-icon {
    flex: 0 0 auto;
    color: #0A1543;
}

@media (max-width: 1024px) {
    body.home .elementor-element-1a275db .ff-cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.home .elementor-element-1a275db .ff-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home .elementor-element-1a275db .ff-cat-card__label {
        font-size: 12px !important;
    }
}
