.flixpro-elementor-genres {
    width: 100%;
}

.flixpro-genres-heading {
    margin-bottom: 18px;
}

.flixpro-genres-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.flixpro-genres-grid {
    display: grid;
    grid-template-columns: repeat(var(--flixpro-genre-columns, 6), minmax(0, 1fr));
    gap: 12px;
}

.flixpro-genre-card {
    display: flex;
    min-width: 0;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.045);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.flixpro-genre-card:hover,
.flixpro-genre-card:focus {
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.09);
    color: #fff;
    transform: translateY(-2px);
}

.flixpro-genre-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.88);
    font-size: 12px;
}

.flixpro-genre-text {
    min-width: 0;
    flex: 1;
}

.flixpro-genre-text strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flixpro-genre-text small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,0.52);
    font-size: 11px;
    line-height: 1.2;
}

.flixpro-genre-arrow {
    color: rgba(255,255,255,0.42);
    font-size: 24px;
    line-height: 1;
}

.flixpro-genres-empty {
    color: rgba(255,255,255,0.65);
}

@media (max-width: 1300px) {
    .flixpro-genres-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .flixpro-genres-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .flixpro-genres-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .flixpro-genres-grid {
        grid-template-columns: 1fr;
    }

    .flixpro-genres-heading h2 {
        font-size: 21px;
    }
}
