.search-wrapper {
    /* CHANGEMENT : 1200px = 75rem */
    max-width: 75rem;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.search-container {
    width: 100%;
    margin-top: 0;
    margin-bottom: var(--space-sm);
    padding: var(--space-lg) var(--space-lg) var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--source-color-white-transparent) !important;
    box-shadow: var(--shadow-z2);
}

.search-input-group {
    border: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    margin-bottom: var(--space-sm);
    box-shadow: none;
    width: 100%;
}

.search-input-group > div {
    display: flex;
    /* CHANGEMENT : 10px = 0.625rem */
    gap: 0.625rem;
    align-items: center;
}

.input {
    flex: 1 1 0%;
    height: var(--space-xxl);
    padding: var(--space-sm);
    border: 1px solid var(--color-search-input-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-search-input);
    background-color: var(--color-search-input-bg);
}

.input:focus {
    outline: none;
    border-color: var(--color-search-input-focus-border);
}

.search-input-group button.btn-search-submit,
.search-input-group a.btn-search-clear {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    height: var(--space-xl-plus);
}

/* --- RÉSULTATS DE RECHERCHE --- */

.search-result-item {
    font-size: var(--font-size-lg);
    color: darkred;
    padding-top: var(--space-xs) !important;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-search-result-border);
}

.search-result-item h3 {
    margin: var(--space-xs) 0 var(--space-sm) 0;
}

.search-result-item h3 a {
    display: inline;
    color: var(--color-search-result-h3);
    text-decoration: underline;
}

.search-result-item h3 a:hover {
    text-decoration: underline;
    font-size: var(--font-size-search-result-result-h3-a-hover);
}

.search-result-item a.url {
    color: var(--color-search-result-url);
    font-size: var(--font-size-search-result-url);
    display: inline;
    margin-top: var(--space-sm);
    text-decoration: underline;
    margin-bottom: var(--space-md);
}

.search-result-item a.url:hover { font-weight: var(--fw-bold); }

/* --- ICÔNES (Mains pointées) --- */

.search-result-item h3 a::before,
.search-result-item a.url::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    /* CHANGEMENT : 5px = 0.3125rem */
    margin-right: 0.3125rem;
    background-repeat: no-repeat;
    background-size: contain;
}

.search-result-item a.url::before {
    background-image: url("/asset/img/gl/hand-pointer-2.svg");
    flex-shrink: 0;
}

.search-result-item h3 a::before {
    background-image: url("/asset/img/gl/hand-pointer-3.svg");
    flex-shrink: 0;
}

.search-result-item .snippet {
    /* CHANGEMENT : 8px = 0.5rem */
    margin-top: 0.5rem;
    font-size: var(--font-size-search-result-snippet);
    color: var(--color-search-result-text-excerpt);
    line-height: 1.5;
}

.search-highlight {
    background: var(--color-search-highlight);
    padding: var(--space-xxs) var(--space-xs);
    border-radius: var(--radius-sm);
    font-weight: var(--fw-bold);
}

/* --- BOUTONS --- */

.search-buttons-row {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    flex-shrink: 0;
}

.search-buttons-row .btn {
    /* CHANGEMENT : 150px = 9.375rem */
    max-width: 9.375rem;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
}

.btn-search-submit:hover img {
    filter: brightness(0);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(100%);
}

/* ---------------------- MEDIA QUERY ------------------------- */

/* CHANGEMENT : 550px = 34.375rem */
@media (max-width: 34.375rem) {
    .search-input-group > div {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .input {
        width: 100%;
        margin-bottom: var(--space-sm);
        flex-basis: auto;
    }

    .search-buttons-row {
        display: flex;
        width: auto;
        /* CHANGEMENT : 15px = 0.9375rem */
        gap: 0.9375rem;
        margin-bottom: var(--space-sm);
        justify-content: flex-start;
        margin: 0 auto var(--space-sm) auto;
    }

    .search-buttons-row .btn-search-submit,
    .search-buttons-row .btn-search-clear {
        flex: 0 1 auto;
        width: auto;
        max-width: 9.375rem;
        justify-content: center;
        white-space: nowrap;
        margin: 0 !important;
    }

    .search-wrapper {
        /* CHANGEMENT : 15px = 0.9375rem */
        padding: 0 0.9375rem;
    }
}