/* ============================================================
   common.css
   Styles partagés : reset, layout, bannière, filtres,
   menu mobile, modale de recherche, compteur, description.
   ============================================================ */


/* ============================================================
   RESET & BASE
   ============================================================ */

.search__banner__desk *,
.search__body__desk * {
    padding: 0;
    margin: 0;
}

.search__banner__desk a:not(.calendar__formation__container),
.search__banner__desk h1,
.search__banner__desk h2,
.search__banner__desk h3,
.search__banner__desk p,
.search__banner__desk span,
.search__body__desk a:not(.calendar__formation__container),
.search__body__desk h1,
.search__body__desk h2,
.search__body__desk h3,
.search__body__desk p,
.search__body__desk span {
    padding-bottom: 0 !important;
}

/* Affiche le compteur injecté dans data-nb via un pseudo-élément ::after */
label[data-nb]::after {
    content: " (" attr(data-nb) ")";
    font-weight: 400;
    color: inherit;
    margin-left: 4px;
}

.filter__label {
    display: block;
}


/* ============================================================
   SEARCH MOBILE — BANNER & FORM
   ============================================================ */

.search-mobile-formation {
    width: 90%;
}

.search-mobile-formation .facetwp-input-wrap,
.search-mobile-formation .facetwp-input-wrap .facetwp-search {
    width: 100%;
}

.search-mobile-formation input {
    padding: 10px;
    width: 450px;
    font-size: 14px;
    font-weight: 700;
    color: #192963;
}


/* ============================================================
   SEARCH ENGINE — CENTER
   ============================================================ */

.searchEngine__center {
    flex-grow: 1;
}

.searchEngine__center__title .searchEngineMainTitle,
.searchEngine__center__title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #192963;
    margin-top: -6px;
    margin-bottom: 13px;
}


/* ============================================================
   SELECTS — disabled state (hors media query)
   ============================================================ */

.select input:disabled,
.select__wrapper:has(input:disabled) .select__icon {
    cursor: default;
}


/* ============================================================
   FACETWP
   ============================================================ */

.facetwp-hierarchy_select.is-disabled {
    display: none;
}

.facetwp-facet {
    margin: 0 !important;
}

.facetwp-facet .facetwp-checkbox {
    background-size: 16px 16px;
    padding-left: 30px;
}

.facetwp-facet-editeur_mobile .facetwp-counter,
.facetwp-facet-financement_mobile .facetwp-counter,
.facetwp-facet-modalite_peda_mobile .facetwp-counter,
.facetwp-facet-promotion_mobile .facetwp-counter,
.facetwp-facet-statut_nouveaute_mobile .facetwp-counter,
.facetwp-facet-statut_top_formation_mobile .facetwp-counter,
.facetwp-facet-type_formation_certifiante_mobile .facetwp-counter,
.facetwp-facet-type_formation_cours_officiel_mobile .facetwp-counter {
    display: none;
}

.facetwp-facet-domainescategories_mobile,
.facetwp-facet-editeur_mobile,
.facetwp-facet-financement_mobile,
.facetwp-facet-modalite_peda_mobile,
.facetwp-facet-promotion_mobile,
.facetwp-facet-statut_nouveaute_mobile,
.facetwp-facet-statut_top_formation_mobile,
.facetwp-facet-type_formation_certifiante_mobile,
.facetwp-facet-type_formation_cours_officiel_mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: #282828;
}

.facetwp-facet-editeur,
.facetwp-facet-financement,
.facetwp-facet-modalite_peda,
.facetwp-facet-promotion,
.facetwp-facet-statut_nouveaute,
.facetwp-facet-statut_top_formation,
.facetwp-facet-type_formation_certifiante,
.facetwp-facet-type_formation_cours_officiel {
    font-size: 16px;
    color: #282828;
}

.facetwp-facet .categorie_formation {
    margin-top: 30px;
    margin-bottom: 10px;
}

.facetwp-facet-orderby_desk,
.facetwp-facet-orderby_mobile {
    height: 100%;
    width: 100%;
}

.facetwp-facet-orderby_mobile select {
    border: none;
    font-size: 14px;
    padding: 0 22px 0 10px;
    color: #282828;
    width: 100%;
    height: 100%;
}

.search-desk-formation .facetwp-facet-search .facetwp-input-wrap {
    width: 100%;
}

.search__body__mobile .financement_img img {
    max-width: 80px;
}

.domaines_categories_mobile .fs-dropdown,
.facetwp-facet-editeur_mobile .fs-dropdown {
    position: fixed;
}

.facetwp-facet .categorie_formation_mobile,
.facetwp-facet .facetwp-facet-editeur_mobile {
    font-size: 16px;
    font-weight: 700;
    color: #282828;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 10px;
}

.facetwp-facet-domainescategories_mobile .fs-wrap,
.facetwp-facet-editeur_mobile .fs-wrap {
    width: 100%;
}

.facetwp-facet-domainescategories_mobile .fs-label-wrap,
.facetwp-facet-editeur_mobile .fs-label-wrap {
    padding: 20px;
}

.facetwp-facet-domainescategories_mobile .fs-optgroup-label,
.facetwp-facet-domainescategories_mobile .fs-option,
.facetwp-facet-domainescategories_mobile .fs-search,
.facetwp-facet-editeur_mobile .fs-optgroup-label,
.facetwp-facet-editeur_mobile .fs-option,
.facetwp-facet-editeur_mobile .fs-search {
    padding: 15px;
}

.fs-option-label {
    word-break: break-word;
}

.search__body__desk .fs-wrap {
    width: 100%;
    max-width: 200px;
}


/* ============================================================
   MODALE SEARCH MOBILE
   ============================================================ */

.search__menuButton__mobile {
    width: 5%;
    display: none;
}

.modaleSearch__mobile {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 80px);
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.modaleSearch__mobile.opened {
    display: block;
}

.modaleSearch_container {
    width: 100%;
    padding: 20px 10px 24px;
    background: #097fc2;
}

.modaleSearch__form {
    width: 100%;
}

.modaleSearch__form__text {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.modaleSearch__form__text input {
    width: 100%;
    height: 42px;
    padding: 0 52px;
    background: #fff;
    border: 1px solid #5775d5;
    border-radius: 100px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #282828;
}

.modaleSearch__form__text input::-moz-placeholder,
.modaleSearch__form__text input::placeholder {
    font-weight: 400;
    color: #9a9ca0;
}

.modaleSearch__form__text img {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translate(0, -50%);
    border: 1px solid #000;
}

.modaleSearch__form__text img:last-child {
    left: auto;
    right: 20px;
}

.modaleSearch__form__radio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px;
}

.modaleSearch__form__inputWraper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modaleSearch__form__inputWraper input {
    height: 15px;
    width: 15px;
    border-radius: 100px;
    position: relative;
    top: 2px;
    accent-color: #000;
}

.modaleSearch__form__inputWraper label {
    font-size: 14px;
    color: #fff;
    padding: 0;
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile__menu {
    display: none;
}


/* ============================================================
   ============================================================
   MEDIA QUERIES
   ============================================================
   ============================================================ */


/* ============================================================
   max-width: 976px
   ============================================================ */

@media (max-width: 976px) {
    /* Layout */
    .search__banner__desk,
    .search__body__desk {
        display: none;
    }

    .search__banner__mobile {
        display: block;
        width: 100%;
    }

    .search__banner__top {
        width: 100%;
        height: 75px;
        background: #f5f7fa;
        border-bottom: 1px solid #707070;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        margin-bottom: 0;
    }

    .search__body__mobile {
        display: block;
        padding: 20px;
    }

    .search__body__mobile .search__count {
        margin-bottom: 15px;
    }

    .search__body__mobile .cartouche__body__right,
    .search__body__mobile .cartouche__footer__info.cartouche__formations p:last-child,
    .search__body__mobile .cartouche__footer__notes__wrapper {
        display: none;
    }

    /* Breadcrumb */
    .ariane__container__desk {
        display: none;
    }

    .ariane__container__mobile {
        display: flex;
        gap: 6px;
    }

    .ariane__container__mobile > * {
        padding: 0;
    }

    .ariane__container__mobile p:first-child {
        display: none;
    }

    .ariane__container__mobile a,
    .ariane__container__mobile p {
        font-size: 14px;
        font-weight: 700;
        color: #192963;
    }

    .ariane__container__mobile a.separator,
    .ariane__container__mobile p.separator {
        position: relative;
        top: -1px;
    }

    /* Reset */
    .search__reset__desk {
        display: none;
    }

    .search__reset__mobile {
        display: flex;
        margin-top: 20px;
        gap: 5px;
        width: 100%;
        margin-bottom: 34px;
    }

    .search__reset__mobile .searchResultFilterReset {
        font-size: 16px;
        font-weight: 700;
        color: #282828;
        margin-bottom: 18px;
        padding-right: 12px;
    }

    .search__reset__mobile a,
    .search__reset__mobile button {
        width: fit-content;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 16px;
        border: 1px solid #5775d5;
        border-radius: 100px;
        background: #fff;
        font-size: 14px;
        color: #5775d5;
        transition: all 0.4s;
        cursor: pointer;
    }

    .search__reset__mobile a:active,
    .search__reset__mobile button:active {
        position: relative;
        top: 1px;
        box-shadow: 2px 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* Rating */
    .search__rating__wrapper {
        display: none;
        width: 100%;
        height: 75px;
        background: #f5f7fa;
        align-items: center;
        padding: 0 20px;
        gap: 10px;
    }

    .search__rating__wrapper .filter__label {
        font-size: 14px;
        color: #282828;
        padding: 0;
    }

    .rating__wrapper {
        height: 34px;
        width: fit-content;
        min-width: 180px;
        border: 1px solid #e1e1e1;
        background: #fff;
        padding: 0;
        position: relative;
    }

    .rating__wrapper p {
        font-size: 14px;
        color: #282828;
    }

    .rating__wrapper .rating__input {
        width: 100%;
        height: 100%;
        padding: 0 22px 0 10px;
        font-size: 14px;
        color: #282828;
        display: flex;
        align-items: center;
    }

    .rating__list {
        position: absolute;
        background: #fff;
        z-index: 100;
        width: 100%;
        left: 0;
        top: 32px;
    }

    .rating__icon {
        width: 10px;
        height: 10px;
        position: absolute;
        top: 11px;
        right: 10px;
        transform: translate(0, -50%);
    }

    .ratingOption__wrapper {
        width: 100%;
        height: 32px;
        border: 1px solid #e1e1e1;
        display: flex;
        align-items: center;
        padding-left: 6px;
        transition: all 0.4s;
    }

    .ratingOption__wrapper:first-child  { border-top: 0; }
    .ratingOption__wrapper:not(:last-child) { border-bottom: 0; }
    .ratingOption__wrapper:last-child   { border-radius: 0 0 4px 4px; }

    .ratingOption__wrapper:hover {
        background: #192963;
    }

    .ratingOption__wrapper:hover * {
        color: #fff;
    }

    /* Count */
    .search__count {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 0;
    }

    .search__count p {
        font-size: 14px;
        color: #282828;
        padding: 0;
    }

    .search__count p span {
        font-weight: 700;
        color: #192963;
    }

    /* Menu button */
    .search__menuButton__mobile {
        display: block;
    }

    .search__menuButton__mobile img {
        width: 25px;
        height: auto;
    }

    /* Mobile menu */
    .mobile__menu {
        display: block;
    }

    .mobile__page__container {
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .mobile__page__header {
        width: 100%;
        background: #f5f7fa;
    }

    .mobile__header__top {
        height: 75px;
        border-bottom: 1px solid #707070;
    }

    .mobile__header__top .wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
    }

    .mobile__header__top__left {
        width: fit-content;
    }

    .mobile__header__searchResult__count {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile__header__searchResult__count p {
        font-size: 14px;
        padding: 0;
    }

    .mobile__header__searchResult__count p:first-child {
        font-weight: 700;
        color: #192963;
    }

    .mobile__header__searchResult__count p:last-child {
        color: #282828;
    }

    .mobile__header__chapeau__current p {
        font-size: 14px;
        font-weight: 700;
        color: #192963;
    }

    .mobile__header__title__main {
        font-size: 20px;
        color: #282828;
        padding: 0;
    }

    .mobile__header__menu__button {
        height: 24px;
        width: 24px;
    }

    .mobile__header__menu__button img {
        width: 100%;
        height: auto;
    }

    .mobile__header__bottom {
        height: 75px;
    }

    .mobile__header__bottom .wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    .mobile__header__myRating {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile__header__myRating p {
        font-size: 14px;
        color: #282828;
    }

    .mobile__myRating {
        position: relative;
        height: 34px;
        width: fit-content;
        display: flex;
        align-items: center;
        padding: 0 30px 0 10px;
        border: 1px solid #e1e1e1;
    }

    .mobile__myRating p {
        font-size: 14px;
        color: #282828;
    }

    .mobile__myRating img {
        position: absolute;
        top: 17px;
        right: 10px;
        transform: translate(0, -50%);
    }

    .mobile__menu {
        width: 100vw;
        max-width: 100%;
        height: 100vh;
        position: fixed;
        z-index: 100000;
        top: 0;
        left: -100%;
        background: #f5f7fa;
        transition: all 0.4s;
    }

    .mobile__menu.open {
        left: 0;
    }

    .mobile__menu .wrapper {
        height: 100%;
        display: flex;
    }

    .mobile__menu .rightWrapper {
        flex-grow: 1;
    }

    .mobile__menu__left__banner {
        height: 100%;
        width: 50px;
        background: #9a9ca0;
    }

    .rightWrapper {
        overflow-y: scroll;
    }

    .mobile__menu__header {
        padding: 25px 20px 0;
        margin-bottom: 34px;
        height: fit-content;
    }

    .mobile__menu__header .mobile__header__chapeau__current.menu-version {
        margin-bottom: 12px;
    }

    .mobile__menu__reset__button button {
        border: 1px solid #5775d5;
        border-radius: 100px;
        background: 0 0;
        padding: 6px 22px 8px;
        margin-bottom: 10px;
    }

    .mobile__menu__reset__button p {
        font-size: 14px;
        color: #5775d5;
    }

    .mobile__menu__currentSelection {
        height: 32px;
        width: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #9a9ca0;
        border-radius: 100px;
        position: relative;
        padding: 0 48px 0 22px;
        margin-bottom: 6px;
    }

    .mobile__menu__currentSelection p {
        font-size: 14px;
        color: #fff;
    }

    .mobile__menu__currentSelection img {
        position: absolute;
        top: 16px;
        right: 20px;
        transform: translate(0, -50%);
        height: 15px;
        width: 15px;
    }

    .mobile__menu__body {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile__menu__input__container {
        width: 100%;
        background: #fff;
        padding: 0 26px 0 20px;
    }

    .mobile__menu__input__container.inactive .filter__label {
        color: #9a9ca0;
    }

    .mobile__menu__input__container.disabled,
    .mobile__menu__input__container.hidden {
        display: none;
    }

    /* Option individuelle désactivée (0 résultats ou préfiltre non coché) */
    .mobile__menu__input:has(input:disabled) {
        opacity: 0.4;
        pointer-events: none;
    }

    /* Item domaine/catégorie sélectionné (mode filtre) ou actif (mode navigation) */
    .sectionLink__wrapper.selected .paraph {
        font-weight: 700;
        color: #097fc2;
    }

    /* Visuels checkbox domaine/catégorie */
    .mob-domaine__visual,
    .mob-cat__visual,
    .mob-editeur__visual {
        border-color: #9a9ca0 !important;
        border-radius: 50% !important;
        cursor: default !important;
    }

    .mob-domaine__visual::before,
    .mob-cat__visual::before,
    .mob-editeur__visual::before {
        clip-path: none !important;
        border-radius: 50%;
        width: 0.55em !important;
        height: 0.55em !important;
    }

    /* Texte des items domaine/catégorie/éditeur */
    .sectionLink__wrapper .paraph {
        color: #282828;
    }

    /* Item domaine/catégorie sans formations dans le contexte courant */
    .sectionLink__wrapper.disabled {
        opacity: 0.4;
        pointer-events: none;
        cursor: default;
    }

    .mobile__menu__input__container img {
        width: 15px;
        height: 15px;
        transition: all 0.4s ease-in-out;
    }

    .mobile__menu__input__container.opened img {
        transform: rotate(90deg);
    }

    .mobile__menu__input__title {
        height: 52px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile__menu__input__title .filter__label {
        font-size: 16px;
        font-weight: 700;
        color: #282828;
        padding: 0;
    }

    .mobile__menu__inputList__container {
        overflow: hidden;
        max-height: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: all 0.4s;
    }

    .mobile__menu__inputList__container.open {
        max-height: 300px;
        padding-bottom: 20px;
        overflow-y: auto;
    }

    .mobile__menu__input {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-right: 18px;
    }

    .mobile__menu__input label {
        font-size: 16px;
        color: #282828;
        padding: 0;
    }

    .mobile__menu__input input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
        position: relative;
        top: 5px;
        font: inherit;
        color: currentColor;
        height: 16px;
        width: 16px;
        border: 1px solid #000;
        transform: translateY(-0.3em);
        display: grid;
        place-content: center;
        cursor: pointer;
    }

    .mobile__menu__input input::before {
        content: "";
        width: 0.85em;
        height: 0.85em;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        transform: scale(0);
        transform-origin: bottom left;
        transition: 120ms transform ease-in-out;
        background-color: #097fc2;
    }

    .mobile__menu__input input[type="radio"]::before {
        clip-path: none;
    }

    .mobile__menu__input input:checked::before {
        transform: scale(1);
    }

    .mobile__menu__cross {
        position: absolute;
        top: 26px;
        right: 24px;
        border: none;
    }

    .mobile__menu__cross img {
        width: 20px;
        height: auto;
    }

    .mobile__page__body {
        width: 100%;
    }

    .mobile__page__body .wrapper {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 30px 20px;
    }

    .mobile__body__description p {
        font-size: 14px;
        font-weight: 700;
        color: #282828;
    }

    /* Top description */
    .searchEngine__center__topDescription {
        margin-bottom: 30px;
    }

    .searchEngine__center__topDescription .search__count {
        display: none;
    }
}


/* ============================================================
   min-width: 977px
   ============================================================ */

@media (min-width: 977px) {
    /* Layout */
    .search__banner__mobile,
    .search__body__mobile,
    .search__menuButton__mobile {
        display: none;
    }

    .search__body__desk .mobile__cartouche__body__header {
        display: none;
    }

    .search__page__main {
        width: 100vw;
        max-width: 100%;
    }

    .search__banner__desk {
        width: 100%;
        height: 50px;
        background: #f0eef1;
    }

    .search__body__desk {
        width: 100vw;
        max-width: 1920px;
        padding: 20px 30px;
        display: flex;
        margin: 0 auto;
    }

    .search__desk__left {
        width: 20%;
        padding-right: 5%;
    }

    .search__desk__center {
        flex-grow: 1;
        max-width: calc(65% - 40px);
        min-width: 725px;
    }

    .search__desk__right {
        width: 15%;
        padding-right: 5%;
    }

    .search__input__desk {
        width: 50%;
        margin-bottom: 32px;
    }

    .searchEngine__cartouches__container {
        width: 100%;
        padding-right: 10px;
    }

    /* Banner */
    .banner__wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        max-width: 1920px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .banner__wrapper:not(:has(.search__banner__selection)) .ariane__container__desk {
        width: -moz-fit-content;
        width: fit-content;
    }

    .ariane__container__desk {
        width: calc(20% + 40px);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .ariane__container__desk * {
        font-size: 12px;
        color: #192963;
        white-space: nowrap;
    }

    .ariane__container__desk a {
        cursor: pointer;
    }

    .search__banner__selection {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .search__banner__selection * {
        font-size: 12px;
        color: #097fc2;
    }

    .search__banner__selection div {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .search__banner__selection div a {
        height: 30px;
        width: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 12px;
        border: 1px solid #097fc2;
        border-radius: 3px;
        background: #fff;
        font-weight: 700;
        transition: all 0.4s;
    }

    .search__banner__selection div a.active,
    .search__banner__selection div a:hover {
        background: #097fc2;
        color: #fff;
    }

    /* Reset */
    .search__reset__desk {
        width: 100%;
        margin-bottom: 34px;
    }

    .search__reset__desk .searchResultFilterReset {
        font-size: 20px;
        font-weight: 700;
        color: #282828;
        margin-bottom: 18px;
        padding-right: 12px;
    }

    .search__reset__desk a,
    .search__reset__desk button {
        width: fit-content;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 16px;
        border: 1px solid #5775d5;
        border-radius: 100px;
        background: #fff;
        font-size: 14px;
        color: #5775d5;
        transition: all 0.4s;
        cursor: pointer;
    }

    .search__reset__desk a:hover,
    .search__reset__desk button:hover {
        color: #fff;
        background: #5775d5;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    }

    .search__reset__desk a:active,
    .search__reset__desk button:active {
        position: relative;
        top: 1px;
        box-shadow: 2px 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* Selects */
    .selects__container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }

    .select__wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .select__wrapper.hidden {
        display: none;
    }

    .select__wrapper * {
        font-size: 12px;
        color: #282828;
    }

    .select__wrapper .filter__label {
        font-size: 20px;
        font-weight: 700;
    }

    .select__wrapper:has(input:disabled) .filter__label {
        color: #707070;
    }

    .select {
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    .select input {
        width: 100%;
        height: 32px;
        border: 1px solid #3b455e;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 22px 0 10px;
    }

    .select input:disabled {
        border: 1px solid #707070;
    }

    .select:has(.select__list:not(.hidden)) input {
        border-radius: 4px 4px 0 0;
    }

    .select__icon {
        position: absolute;
        right: 6px;
        top: 8px;
        transition: all 0.4s;
        transform: rotate(180deg);
    }

    .select__icon img {
        width: 10px;
        height: 10px;
    }

    .select:has(.select__list:not(.hidden)) .select__icon {
        transform: rotate(0);
    }

    .select__list {
        width: 100%;
        max-height: 180px;
        position: absolute;
        left: 0;
        top: 32px;
        background: #fff;
        overflow: auto;
        border: 1px solid #3b455e;
        border-top: 0;
        z-index: 1;
    }

    .selectLink__wrapper,
    .selectOption__wrapper {
        height: 32px;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 10px;
        transition: all 0.4s;
    }

    .selectLink__wrapper:first-child,
    .selectOption__wrapper:first-child { border-top: 0; }

    .selectLink__wrapper:not(:last-child),
    .selectOption__wrapper:not(:last-child) { border-bottom: 0; }

    .selectLink__wrapper:last-child,
    .selectOption__wrapper:last-child { border-radius: 0 0 4px 4px; }

    .selectLink__wrapper:hover,
    .selectOption__wrapper:hover { background: #192963; }

    .selectLink__wrapper:hover *,
    .selectOption__wrapper:hover * { color: #fff; }

    /* Checkboxes & radios */
    .checkboxes__container,
    .radio__container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .checkbox__wrapper,
    .radio__wrapper {
        width: 100%;
    }

    .checkbox__wrapper *,
    .radio__wrapper * {
        font-size: 14px;
        color: #282828;
    }

    .checkbox__wrapper .filter__label,
    .radio__wrapper .filter__label {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .checkboxOption__wrapper,
    .radioOption__wrapper {
        display: grid;
        grid-template-columns: 20px 1fr;
        margin-bottom: 10px;
    }

    .checkboxOption__wrapper input,
    .radioOption__wrapper input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
        position: relative;
        top: 5px;
        font: inherit;
        color: currentColor;
        width: 12px;
        height: 12px;
        border: 1px solid #999;
        transform: translateY(-0.075em);
        display: grid;
        place-content: center;
        cursor: pointer;
    }

    .checkboxOption__wrapper input::before,
    .radioOption__wrapper input::before {
        content: "";
        width: 0.85em;
        height: 0.85em;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        transform: scale(0);
        transform-origin: bottom left;
        transition: 120ms transform ease-in-out;
        background-color: #097fc2;
    }

    .checkboxOption__wrapper input[type="radio"]::before,
    .radioOption__wrapper input[type="radio"]::before {
        clip-path: none;
    }

    .checkboxOption__wrapper input:checked::before,
    .radioOption__wrapper input:checked::before {
        transform: scale(1);
    }

    .checkboxOption__wrapper.disabled,
    .radioOption__wrapper.disabled {
        opacity: 0.4;
    }

    /* Rating */
    .search__rating__wrapper {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .search__rating__wrapper * {
        font-size: 12px;
        color: #282828;
    }

    .search__rating__wrapper .filter__label {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .rating__wrapper {
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    .rating__wrapper .rating__input {
        width: 100%;
        height: 32px;
        border: 1px solid #3b455e;
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: 0 18px 0 6px;
        white-space: nowrap;
        overflow: hidden;
    }

    .rating__wrapper:has(.rating__list:not(.hidden)) .rating__input {
        border-radius: 4px 4px 0 0;
    }

    .rating__list {
        width: 100%;
        position: absolute;
        left: 0;
        top: 32px;
    }

    .ratingOption__wrapper {
        width: 100%;
        height: 32px;
        border: 1px solid #3b455e;
        display: flex;
        align-items: center;
        padding-left: 6px;
        transition: all 0.4s;
    }

    .ratingOption__wrapper:first-child  { border-top: 0; }
    .ratingOption__wrapper:not(:last-child) { border-bottom: 0; }
    .ratingOption__wrapper:last-child   { border-radius: 0 0 4px 4px; }

    .ratingOption__wrapper:hover { background: #192963; }
    .ratingOption__wrapper:hover * { color: #fff; }

    .rating__icon {
        position: absolute;
        right: 2px;
        top: 2px;
        height: calc(100% - 4px);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
    }

    .rating__icon img {
        height: 10px;
        width: 10px;
    }

    /* Count */
    .search__count {
        margin-bottom: 12px;
        display: flex;
        gap: 6px;
    }

    .search__count * {
        font-size: 16px;
        color: #282828;
    }

    .search__count span {
        font-weight: 700;
        color: #192963;
    }

    /* Input wrapper desk */
    .input__wrapper__desk {
        position: relative;
        margin-bottom: 16px;
    }

    .input__wrapper__desk * {
        font-size: 22px;
        color: #192963;
        font-weight: 700;
    }

    .input__wrapper__desk input {
        width: 100%;
        height: 32px;
        border: 1px solid #3b455e;
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: 0 22px 0 10px;
        color: #192963;
    }

    .input__wrapper__desk input::-moz-placeholder,
    .input__wrapper__desk input::placeholder {
        font-size: 16px;
        font-weight: 400;
        position: relative;
        top: -3px;
    }

    .input__wrapper__desk button {
        position: absolute;
        right: 8px;
        top: 0;
        width: fit-content;
        height: fit-content;
        padding: 0;
        border: 0;
        background: 0 0;
        cursor: pointer;
    }

    .input__wrapper__desk button img {
        height: 14px;
        width: 14px;
    }

    /* Top description */
    .searchEngine__center__topDescription {
        margin-bottom: 22px;
    }

    .searchEngine__center__topDescription div:not(.search__count) {
        font-size: 14px;
        color: #282828;
    }

    .ewa-rteLine:not(:last-child) {
        padding-bottom: 6px;
    }

    /* Mobile page */
    .mobile__page__container {
        display: none;
    }
}


/* ============================================================
   min-width: 1281px
   ============================================================ */

@media (min-width: 1281px) {
    /* Layout */
    .search__body__desk {
        padding: 16px 48px;
    }

    .search__banner__desk {
        height: 40px;
    }

    .search__desk__left {
        width: 20%;
        margin-right: 0;
        padding-right: 40px;
    }

    .search__desk__center {
        max-width: 65%;
    }

    .search__desk__right {
        width: 15%;
        padding-right: 24px;
    }

    /* Banner */
    .banner__wrapper {
        padding: 0 48px;
    }

    .ariane__container__desk {
        width: calc(17.5% + 40px);
        gap: 6px;
    }

    .ariane__container__desk * {
        font-size: 14px;
    }

    .ariane__container__desk img {
        position: relative;
        top: 2px;
        height: 20px;
        width: 20px;
    }

    .search__banner__selection {
        gap: 8px;
    }

    .search__banner__selection * {
        font-size: 14px;
    }

    .search__banner__selection div {
        gap: 8px;
    }

    .search__banner__selection div a {
        height: 25px;
        padding: 0 14px;
        font-size: 12px;
    }

    /* Reset */
    .search__reset__desk {
        margin-bottom: 27px;
    }

    .search__reset__desk .searchResultFilterReset {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .search__reset__desk button {
        height: 26px;
        font-size: 11px;
        padding: 0 18px;
    }

    /* Selects */
    .selects__container {
        gap: 26px;
        margin-bottom: 32px;
    }

    .select__wrapper {
        gap: 12px;
    }

    .select__wrapper * {
        font-size: 11px;
    }

    .select__wrapper .filter__label {
        font-size: 16px;
    }

    .select {
        width: 75%;
        min-width: 180px;
    }

    .select input {
        height: 35px;
    }

    .select__icon {
        right: 10px;
        top: 10px;
    }

    .select__list {
        top: 38px;
    }

    .selectLink__wrapper,
    .selectOption__wrapper {
        height: 38px;
    }

    /* Checkboxes & radios */
    .checkbox__wrapper *,
    .radio__wrapper * {
        font-size: 13px;
    }

    .checkbox__wrapper .filter__label,
    .radio__wrapper .filter__label {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .checkboxOption__wrapper,
    .radioOption__wrapper {
        grid-template-columns: 22px 1fr;
        margin-bottom: 6px;
    }

    .checkboxOption__wrapper input,
    .radioOption__wrapper input {
        width: 12px;
        height: 12px;
        position: relative;
        top: 3px;
    }

    /* Rating */
    .search__rating__wrapper {
        gap: 10px;
    }

    .search__rating__wrapper * {
        font-size: 11px;
    }

    .search__rating__wrapper .filter__label {
        font-size: 11px;
        margin-bottom: 0;
        position: relative;
        top: 10px;
    }

    .rating__wrapper {
        width: 65%;
    }

    /* Count */
    .search__count {
        gap: 8px;
    }

    .search__count * {
        font-size: 18px;
    }

    /* Input wrapper desk */
    .input__wrapper__desk * {
        font-size: 24px;
    }

    .input__wrapper__desk input {
        height: 35px;
        padding-right: 28px;
    }

    .input__wrapper__desk button img {
        height: 16px;
        width: 16px;
    }
}


/* ============================================================
   min-width: 1537px
   ============================================================ */

@media (min-width: 1537px) {
    /* Layout */
    .search__page__main {
        width: 100%;
    }

    .search__banner__desk {
        height: 50px;
    }

    .search__body__desk {
        padding: 20px 60px;
    }

    .search__desk__left {
        width: 260px;
        margin-right: 120px;
        padding-right: 0;
    }

    .search__desk__center {
        max-width: calc(100% - 290px - 380px);
    }

    .search__desk__right {
        width: 260px;
        margin-right: 30px;
    }

    /* Banner */
    .banner__wrapper {
        padding: 0 60px;
    }

    .ariane__container__desk {
        width: 380px;
    }

    .ariane__container__desk * {
        font-size: 14px;
    }

    .ariane__container__desk img {
        top: 0;
        height: 24px;
        width: 24px;
    }

    .search__banner__selection {
        gap: 20px;
    }

    .search__banner__selection * {
        font-size: 18px;
    }

    .search__banner__selection div {
        gap: 10px;
    }

    .search__banner__selection div a {
        height: 32px;
        padding: 0 18px;
    }

    /* Reset */
    .search__reset__desk {
        margin-bottom: 34px;
    }

    .search__reset__desk .searchResultFilterReset {
        font-size: 20px;
        padding-right: 0;
        margin-bottom: 18px;
    }

    .search__reset__desk button {
        height: 32px;
        font-size: 14px;
        padding: 0 22px;
    }

    /* Selects */
    .selects__container {
        gap: 34px;
        margin-bottom: 40px;
    }

    .select__wrapper {
        gap: 15px;
    }

    .select__wrapper .filter__label {
        font-size: 20px;
    }

    .select__wrapper * {
        font-size: 14px;
    }

    .select {
        width: 260px;
    }

    .select input {
        height: 44px;
        padding: 0 28px 0 10px;
    }

    .select__icon {
        top: 12px;
        right: 10px;
    }

    .select__list {
        max-height: 200px;
        top: 44px;
    }

    .selectLink__wrapper,
    .selectOption__wrapper {
        height: 44px;
    }

    /* Checkboxes & radios */
    .checkbox__wrapper *,
    .radio__wrapper * {
        font-size: 16px;
    }

    .checkbox__wrapper .filter__label,
    .radio__wrapper .filter__label {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .checkboxOption__wrapper,
    .radioOption__wrapper {
        grid-template-columns: 26px 1fr;
        margin-bottom: 10px;
    }

    .checkboxOption__wrapper input,
    .radioOption__wrapper input {
        width: 16px;
        height: 16px;
        top: 4px;
    }

    /* Rating */
    .search__rating__wrapper * {
        font-size: 14px;
    }

    .search__rating__wrapper .filter__label {
        font-size: 14px;
        top: 14px;
    }

    .rating__wrapper .rating__input {
        height: 44px;
        padding: 0 20px 0 10px;
    }

    .rating__list {
        top: 44px;
    }

    .ratingOption__wrapper {
        height: 44px;
        padding-left: 10px;
    }

    .rating__icon {
        top: 2px;
        right: 2px;
        padding: 0 8px;
    }

    .rating__icon img {
        height: 12px;
        width: 12px;
    }

    /* Count */
    .search__count {
        margin-bottom: 10px;
    }

    .search__count * {
        font-size: 20px;
    }

    /* Input wrapper desk */
    .input__wrapper__desk * {
        font-size: 30px;
    }

    .input__wrapper__desk input {
        height: 44px;
    }

    .input__wrapper__desk input::-moz-placeholder,
    .input__wrapper__desk input::placeholder {
        font-size: 18px;
        top: -5px;
    }

    /* Top description */
    .searchEngine__center__topDescription {
        margin-bottom: 28px;
    }

    .searchEngine__center__topDescription div:not(.search__count) {
        font-size: 18px;
    }

    .searchEngine__center__topDescription .searchEngine__center__title .searchEngineMainTitle,
    .searchEngine__center__topDescription .searchEngine__center__title h2 {
        font-size: 30px;
        margin-top: -8px;
        margin-bottom: 16px;
    }
}


/* ============================================================
   @media print
   ============================================================ */

@media print {
    header,
    .search__banner__desk,
    .search__body__desk,
    .search__banner__mobile,
    .menu-mobile,
    .et-l--footer {
        display: none !important;
    }
}
