/* Mediakwest Features - Custom Styles */

/* --------------------------------- */
/* Styles for [show_text] shortcode */
/* --------------------------------- */
.mediakwest-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mediakwest-categories-list li {
    display: inline-block;
}

.mediakwest-categories-list a {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 4px 12px;
    border-radius: 40px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
}

.mediakwest-categories-list a:hover,
.mediakwest-categories-list a:focus,
.mediakwest-categories-list a:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

.mediakwest-categories-list img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ------------------------------------------- */
/* Styles for [selection_categories] shortcode */
/* ------------------------------------------- */
.mk-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 0;
    padding: 25px;
}

.mk-cat-btn {
    background-color: #ffffff;
    border-width: 2px;
    border-style: solid;
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease-in-out;
}

@keyframes mkFadeInContent {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* On anime uniquement le contenu interne pour éviter le flash blanc sur le fond de la section */
.mk-fade-in > *:not(.elementor-background-overlay):not(.elementor-shape):not(.elementor-container-background) {
    animation: mkFadeInContent 0.25s ease-out forwards;
}

