/* =========================================================
   Trivior
   Main frontend styles
   ========================================================= */


/* ---------- Trivior — Page ---------- */
/* ---------- Trivior — Menu principal ---------- */

.main-navigation .main-nav ul li a {
    font-weight: 500;
}

.or-home {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    font-family: inherit;
}


/* ---------- Trivior — Hero ---------- */

.or-hero {
    padding: 64px 60px;
    background: #f1f8f4;
    border-radius: 20px;
    margin-bottom: 55px;
}

.or-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
    color: #18392b;
}

.or-intro {
    max-width: 720px;
    margin: 0 0 38px;
    font-size: 20px;
    line-height: 1.6;
    color: #4a5b53;
}


/* ---------- Trivior — Search ---------- */

.or-search {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 22px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.or-field {
    min-width: 0;
}

.or-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #25372f;
}

.or-field input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 17px;
    border: 1px solid #d7ded9;
    border-radius: 9px;
    background: #ffffff;
    font-family: inherit;
    font-size: 17px;
    color: #222222;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.or-field input:focus {
    border-color: #23834f;
    box-shadow: 0 0 0 3px rgba(35, 131, 79, 0.12);
}

.or-field input::placeholder {
    color: #818a85;
    opacity: 1;
}

.or-search-button {
    height: 56px;
    margin: 0;
    padding: 0 30px;
    border: 0;
    border-radius: 9px;
    background: #23834f;
    color: #ffffff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.or-search-button:hover {
    background: #196a3e;
    transform: translateY(-1px);
}

.or-search-button:focus {
    outline: 3px solid rgba(35, 131, 79, 0.22);
    outline-offset: 2px;
}


/* ---------- Trivior — Categories / modern soft UI ---------- */

.or-categories {
    margin-top: 40px;
    padding: 0 10px 48px;
}

.or-categories h2 {
    margin: 0 0 30px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: #344b40;
}

.or-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
}

.or-category {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 200px;
    padding: 10px 12px;
    gap: 7px;
    text-align: center;
    border: 1px solid #dfe8e2;
    border-radius: 18px;
    background: linear-gradient(150deg, #ffffff, #f6faf7);
    color: #263b30;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(28, 65, 43, 0.025),
                0 7px 18px rgba(28, 65, 43, 0.045);
    transition: transform 0.2s ease, box-shadow 0.2s ease,
                border-color 0.2s ease;
}

.or-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    border-radius: 0 0 3px 3px;
    background: #23834f;
    opacity: 0.22;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.or-category-icon {
    box-sizing: border-box;
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 6px;
    margin: 0;
    border-radius: 11px;
    background: #eaf3ed;
    object-fit: contain;
    transition: background-color 0.2s ease;
}

.or-category-label {
    display: block;
    margin: 0;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: inherit;
    overflow-wrap: anywhere;
}

.or-category:hover,
.or-category:focus-visible,
.or-category.is-active {
    border-color: #adcdb9;
    color: #176a3d;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(28, 65, 43, 0.045),
                0 10px 24px rgba(28, 65, 43, 0.075);
}

.or-category:hover::before,
.or-category:focus-visible::before,
.or-category.is-active::before {
    opacity: 0.85;
    transform: scaleX(1);
}

.or-category:hover .or-category-icon,
.or-category:focus-visible .or-category-icon,
.or-category.is-active .or-category-icon {
    background: #dcefe2;
}

.or-category:focus-visible {
    outline: 3px solid #23834f;
    outline-offset: 3px;
}

.or-category.is-active {
    background: #f0f8f3;
}

@media (hover: hover) and (pointer: fine) {
    .or-category:hover {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .or-category,
    .or-category::before,
    .or-category-icon {
        transition: none;
    }

    .or-category:hover {
        transform: none;
    }
}


/* ---------- Trivior — GeneratePress adjustments ---------- */

body.home .site-content {
    padding-top: 32px;
}

body.home .inside-article {
    padding: 0;
    background: transparent;
}

body.home .entry-content {
    margin-top: 0;
}


/* ---------- Trivior — Tablet ---------- */

@media (max-width: 900px) {

    .or-hero {
        padding: 45px 35px;
    }

    .or-search {
        grid-template-columns: 1fr 1fr;
    }

    .or-search-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .or-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ---------- Trivior — Mobile ---------- */

@media (max-width: 650px) {

    .or-hero {
        padding: 32px 20px;
        border-radius: 14px;
        margin-bottom: 38px;
    }

    .or-hero h1 {
        font-size: 38px;
    }

    .or-intro {
        margin-bottom: 28px;
        font-size: 17px;
    }

    .or-search {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .or-search-button {
        grid-column: auto;
    }

    .or-categories .or-category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 1fr;
        gap: 10px !important;
    }

    .or-categories {
        padding: 0 0 40px;
    }

    .or-categories h2 {
        font-size: 24px;
    }

    .or-category-grid .or-category {
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 96px !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        gap: 7px !important;
        text-align: center !important;
    }

    /* Trivior — neutralise theme spacing inside category cards. */
    .or-category-grid .or-category > * {
        margin: 0 !important;
    }

    .or-category .or-category-icon {
        box-sizing: border-box !important;
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        padding: 6px !important;
        margin: 0 !important;
    }

    .or-category .or-category-label {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
}


/* ---------- Trivior — Small phones ---------- */

@media (max-width: 420px) {

    .or-hero h1 {
        font-size: 33px;
    }
}


/* ---------- Trivior — Autocomplete localisation ---------- */

.or-location-field {
    position: relative;

    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    align-items: end;
}

.or-location-field label {
    grid-column: 1 / -1;
}

#or-location {
    grid-column: 1;
}

.or-geolocate-button {
    grid-column: 2;
    white-space: nowrap;
    height: 100%;
    min-height: 58px;
    padding: 0 20px;
}

.or-location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;

    grid-column: 1 / -1;

    margin-top: 6px;

    background: #ffffff;
    border: 1px solid #d9dee3;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    max-height: 320px;
    overflow-y: auto;
}

.or-location-suggestions:empty {
    display: none;
}

.or-location-suggestion {
    display: block;
    width: 100%;

    padding: 13px 16px;

    border: 0;
    border-bottom: 1px solid #edf0f2;

    background: #ffffff;
    color: #222222;

    text-align: left;
    font-size: 16px;
    line-height: 1.4;

    cursor: pointer;
}

.or-location-suggestion:last-child {
    border-bottom: 0;
}

.or-location-suggestion:hover,
.or-location-suggestion:focus {
    background: #f4f8f5;
    color: #1f6f43;
    outline: none;
}

#or-lat,
#or-lng {
    display: none;
}


/* ---------- Trivior — Bouton vers la carte ---------- */

.or-map-link {
    margin-top: 20px;
    text-align: center;
}

.or-map-button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 10px;
    background: #238b57;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.or-map-button:hover,
.or-map-button:focus {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.92;
}

/* ---------- Trivior — Page Carte ---------- */

.or-map-placeholder {
    margin-top: -25px;
    min-height: 420px;
    padding: 12px 28px 22px;
    border: 1px solid #dfe4e1;
    border-radius: 14px;
    background: #f7f9f8;
    text-align: center;
}

.or-map-wrapper {
    width: 100%;
    margin-top: 4px;
}

/* Full-window map workspace, scoped to the page containing the map. */
html:has(.or-map-results), body:has(.or-map-results) { overflow: hidden; overscroll-behavior: none; }
body:has(.or-map-results) .site-header,
body:has(.or-map-results) .main-navigation,
body:has(.or-map-results) .site-footer,
body:has(.or-map-results) .widget-area,
body:has(.or-map-results) .generate-back-to-top { display: none; }
.or-map-results { position: fixed; inset: 0; z-index: 10000; background: #eef2ef; text-align: left; }
body.admin-bar .or-map-results { top: 32px; }
.or-map-layout { position: relative; height: 100%; isolation: isolate; }
#ourecycler-map { box-sizing: border-box; width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; overflow: hidden; }
.or-map-toolbar { position: absolute; top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); z-index: 1000; display: flex; align-items: flex-start; gap: 10px; pointer-events: none; }
.or-map-toolbar > * { pointer-events: auto; }
.or-map-home, .or-map-filter-panel summary,
.or-map-results .trivior-map-search-launch .trivior-map-search-button { display: flex; align-items: center; gap: 8px; box-sizing: border-box; min-height: 46px; padding: 10px 16px; margin: 0; border: 1px solid #cfded5; border-radius: 24px; background: #fff; color: #18392b; font-family: inherit; font-size: 16px; line-height: 1.4; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 3px 14px rgba(0,0,0,.15); }
.or-map-filter-panel { max-width: 50%; }
.or-map-filter-panel summary { list-style: none; }
.or-map-filter-panel summary::-webkit-details-marker { display: none; }
.or-map-filter-label { overflow-wrap: anywhere; }
.or-map-filter-panel[open] summary,
.or-map-results .trivior-map-search-button[aria-expanded="true"] { background: #23834f; color: #fff; }
.or-map-filters, .or-map-results .trivior-location-picker { position: absolute; top: calc(100% + 10px); box-sizing: border-box; max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 18px; border: 1px solid #dfe4e1; border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.16); }
.or-map-filters { left: 0; width: 360px; }
.or-map-filters h2 { margin: 0 34px 12px 0; font-size: 21px; }
.or-map-filter-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; background: transparent; color: #18392b; border: 0; border-radius: 50%; font-size: 26px; cursor: pointer; }
.or-map-filter-help { margin: 0 0 12px; font-size: 14px; color: #526259; }
.or-map-filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.or-map-filter { width: auto; padding: 9px 12px; border: 1px solid #dce9e1; border-radius: 24px; background: #f0f6f2; color: #263b30; font-size: 15px; text-align: left; cursor: pointer; }
.or-map-filter:hover, .or-map-filter[aria-pressed="true"] { background: #23834f; color: #fff; }
.or-map-toolbar :focus-visible { outline: 3px solid #18392b; outline-offset: 2px; }
.or-map-count { margin: 14px 0 0; font-size: 14px; }
.or-map-results .trivior-map-search-launch { margin: 0 0 0 auto; text-align: left; }
.or-map-results .trivior-location-picker { right: 0; width: 560px; }
.or-map-results .trivior-picker-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.or-map-results .trivior-picker-fields > * { width: 100%; min-width: 0; }
.or-map-results .trivior-picker-separator { text-align: center; }
.or-map-results .trivior-location-picker h3 { margin-right: 36px; font-size: 21px; }
@media (max-width: 782px) { body.admin-bar .or-map-results { top: 46px; } }
@media (max-width: 600px) {
    .or-map-toolbar { flex-wrap: wrap; gap: 8px; }
    .or-map-filter-panel { max-width: calc(100% - 115px); }
    .or-map-results .trivior-map-search-launch { flex-basis: 100%; margin-left: 0; }
    .or-map-results .trivior-map-search-launch .trivior-map-search-button { width: auto; }
    .or-map-filters, .or-map-results .trivior-location-picker { max-height: calc(100dvh - 210px); padding: 14px; }
}

/* ---------- Trivior — Titre de la carte filtrée ---------- */

.or-map-title {
    margin: 0 0 4px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

.or-map-info {
    margin: 0 0 8px;
    color: #66706b;
    font-size: 16px;
}

/* =========================================================
   Trivior — Résultats de recherche
   ========================================================= */

.or-results {
    max-width: 100%;
    min-width: 0;
    margin-top: 0;
}

.or-results > h2 {
    margin: 0 0 24px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    color: #26362f;
}


/* ---------- Trivior — Carte d'un point de collecte ---------- */

.or-result-item {
    max-width: 780px;
    margin-bottom: 20px;
    padding: 20px 24px;

    background: #ffffff;

    border: 1px solid #e1e6e3;
    border-radius: 14px;

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.045);
}

.or-result-item h3 {
    margin: 0 0 12px;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;

    color: #1f2d27;
}

.or-result-item p {
    margin: 8px 0;

    font-size: 16px;
    line-height: 1.55;

    color: #49544f;
}

.or-result-item strong {
    color: #25352e;
}


/* ---------- Trivior — Bouton itinéraire ---------- */

.or-directions {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}

.or-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 10px 16px;

    border-radius: 8px;
    background: #23834f;

    color: #ffffff !important;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.or-directions-link:hover,
.or-directions-link:focus {
    background: #196a3e;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* ---------- Trivior — Mobile ---------- */

@media (max-width: 650px) {

    .or-results > h2 {
        font-size: 26px;
    }

    .or-result-item {
        padding: 20px;
        border-radius: 12px;
    }

    .or-result-item h3 {
        font-size: 21px;
    }

    .or-directions-link {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}
/* =========================================================
   Trivior — Résultats : contenu + sidebar
   ========================================================= */

.or-results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
    margin-top: 32px;
}


/* ---------- Trivior — Sidebar ---------- */

.or-results-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;

    position: sticky;
    top: 30px;
}

.or-sidebar-box {
    padding: 22px;

    background: #ffffff;
    border: 1px solid #e1e6e3;
    border-radius: 14px;

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.or-sidebar-box h3 {
    margin: 0 0 12px;

    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;

    color: #25352e;
}

.or-sidebar-box p {
    margin: 0;

    font-size: 15px;
    line-height: 1.55;

    color: #58635e;
}

.or-sidebar-box ul {
    margin: 0;
    padding-left: 20px;

    color: #58635e;
    font-size: 15px;
    line-height: 1.55;
}

.or-sidebar-box li + li {
    margin-top: 8px;
}


/* ---------- Trivior — Bouton carte ---------- */

.or-sidebar-map-link {
    display: inline-flex;
    margin-top: 16px;

    padding: 10px 15px;

    border-radius: 8px;
    background: #23834f;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;
}

.or-sidebar-map-link:hover,
.or-sidebar-map-link:focus {
    background: #196a3e;
    color: #ffffff !important;
}


/* ---------- Trivior — Tablet / Mobile ---------- */

@media (max-width: 900px) {

    .or-results-layout {
        grid-template-columns: 1fr;
    }

    .or-results-sidebar {
        position: static;
    }
}
/* ---------- Trivior — Mini carte résultats ---------- */

.or-sidebar-map-box {
    padding: 18px;
}

#or-results-mini-map {
    width: 100%;
    height: 300px;

    margin-top: 12px;

    border-radius: 10px;
    overflow: hidden;

    background: #eef2ef;
}

/* =========================================================
   Articles guides Trivior
   ========================================================= */


/* ---------- Conteneurs principaux ---------- */

.single-post .entry-header {
    width: calc(100% - 40px);
    max-width: 1040px;
    margin: 0 auto;
    box-sizing: border-box;
}

.single-post .entry-content {
    width: calc(100% - 40px);
    max-width: 1040px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.single-post .trivior-waste-guide {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
}


/* ---------- H1 ---------- */

.single-post .entry-title {
    margin: 0;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.2px;
    text-align: center;
}


/* ---------- Image mise en avant ---------- */

.single-post .post-image {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .post-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}


/* ---------- Masquer auteur / date ---------- */

.single-post .entry-meta {
    display: none;
}


/* ---------- Texte ---------- */

.single-post .trivior-waste-guide p {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.7;
    color: #29352f;
}

.single-post .trivior-waste-guide .trivior-lead {
    font-size: 19px;
    line-height: 1.7;
    color: #26362f;
}


/* ---------- Titres ---------- */

.single-post .trivior-waste-guide h2 {
    margin: 44px 0 18px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 600;
    color: #22352c;
}

.single-post .trivior-waste-guide h3 {
    margin: 32px 0 14px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 600;
    color: #2b4036;
}


/* ---------- Listes ---------- */

.single-post .trivior-waste-guide ul {
    margin: 0 0 26px;
    padding-left: 24px;
}

.single-post .trivior-waste-guide li {
    margin-bottom: 9px;
    font-size: 17px;
    line-height: 1.6;
    color: #34463d;
}


/* ---------- Retour aux catégories ---------- */

.single-post .trivior-back-link {
    margin: 0 0 28px;
}

.single-post .trivior-back-link a {
    color: #23834f;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.single-post .trivior-back-link a:hover {
    color: #176a3d;
    text-decoration: underline;
}


/* ---------- Bloc carte / localisation ---------- */

.single-post .trivior-map-cta {
    width: 100%;
    box-sizing: border-box;

    margin: 36px 0;
    padding: 28px 30px;

    border: 1px solid #dce9e1;
    border-radius: 18px;

    background: #f6fbf8;

    box-shadow: 0 8px 24px rgba(24, 70, 45, 0.055);
}

.single-post .trivior-map-cta h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.single-post .trivior-map-cta p {
    margin-bottom: 18px;
}


/* ---------- Bouton localisation ---------- */

.single-post .trivior-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    border: 0;
    border-radius: 10px;

    background: #23834f;
    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 5px 14px rgba(35, 131, 79, 0.18);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.single-post .trivior-location-button:hover {
    background: #196a3e;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(35, 131, 79, 0.22);
}

.single-post .trivior-location-note {
    margin-top: 13px !important;
    margin-bottom: 0 !important;

    font-size: 14px !important;
    color: #65736c !important;
}


/* ---------- Bloc information ---------- */

.single-post .trivior-info-box {
    width: 100%;
    box-sizing: border-box;

    margin: 38px 0;
    padding: 26px 28px;

    border-left: 4px solid #23834f;
    border-radius: 12px;

    background: #f7faf8;
}

.single-post .trivior-info-box h2 {
    margin-top: 0;
}


/* ---------- Mobile ---------- */

@media (max-width: 768px) {

    .single-post .entry-header,
    .single-post .entry-content,
    .single-post .post-image {
        width: calc(100% - 30px);
    }

    .single-post .trivior-waste-guide {
        max-width: none;
    }

    .single-post .entry-title {
        font-size: 34px;
        line-height: 1.15;
    }

    .single-post .trivior-waste-guide p {
        font-size: 17px;
        line-height: 1.65;
    }

    .single-post .trivior-waste-guide h2 {
        margin-top: 36px;
        font-size: 27px;
    }

    .single-post .trivior-waste-guide h3 {
        font-size: 21px;
    }

    .single-post .trivior-map-cta,
    .single-post .trivior-info-box {
        padding: 22px 20px;
        border-radius: 14px;
    }

    .single-post .trivior-location-button {
        width: 100%;
    }
}

/* =========================================================
   Shared location picker
   ========================================================= */

.trivior-location-picker {
    box-sizing: border-box;
    margin: 18px 0 24px;
    padding: 18px 22px;
    border: 1px solid #dce9e1;
    border-radius: 14px;
    background: #f6fbf8;
}

.trivior-location-picker[hidden] {
    display: none;
}

.trivior-location-picker h3 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.2;
}

.trivior-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.trivior-picker-fields {
    display: grid;
    grid-template-columns: 220px auto minmax(280px, 480px) 220px;
    column-gap: 14px;
    align-items: center;
    justify-content: center;
}

.trivior-picker-locate,
.trivior-picker-submit {
    box-sizing: border-box;
    width: 220px;
    min-width: 220px;
    text-align: center;
}

.trivior-picker-fields input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    border: 1.5px solid #cfd8d2;
    border-radius: 8px;
    background: #ffffff;
    color: #263b30;
    font-family: inherit;
    font-size: 17px;
}

.trivior-picker-fields input::placeholder {
    color: #7f8d86;
    opacity: 1;
}

.trivior-picker-separator {
    font-size: 17px;
    line-height: 1;
    font-weight: 400;
    color: #263b30;
    white-space: nowrap;
}

.trivior-location-picker button {
    height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #23834f;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

.trivior-location-picker button:focus-visible,
.trivior-location-picker input:focus-visible {
    outline: 3px solid #18392b;
    outline-offset: 3px;
}

.trivior-location-picker button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.trivior-location-picker .trivior-picker-close {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 10px auto;
    padding: 0;
    background: transparent;
    color: #176a3d;
    font-size: 15px;
}

.trivior-location-picker .trivior-picker-status {
    margin: 12px 0 0;
}

.trivior-picker-results {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.trivior-picker-results button {
    width: 100%;
    height: auto;
    text-align: left;
}


/* =========================================================
   Carte — bouton qui ouvre la recherche
   ========================================================= */

.trivior-map-search-launch {
    margin: 16px 0 18px;
    text-align: center;
}

.trivior-map-search-launch .trivior-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    background: #23834f;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(35, 131, 79, 0.18);
}

.trivior-map-search-launch .trivior-location-button:hover {
    background: #196a3e;
}


/* =========================================================
   Carte — version compacte quand le picker est ouvert
   ========================================================= */

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 768px) {

    .trivior-location-picker {
        padding: 16px;
        margin: 14px 0 20px;
    }

    .trivior-location-picker h3 {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .trivior-picker-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trivior-picker-locate,
    .trivior-picker-submit,
    .trivior-picker-fields input {
        width: 100%;
        min-width: 0;
    }

    .trivior-picker-separator {
        text-align: center;
    }

    .trivior-map-search-launch {
        margin: 14px 0 16px;
    }

    .trivior-map-search-launch .trivior-location-button {
        width: 100%;
    }


}
/* =========================================================
   Trivior — Footer
   ========================================================= */


.inside-site-info {
    display: block;
    padding: 30px 20px 26px;
}

.copyright-bar {
    width: 100%;
}

.trivior-footer-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.trivior-footer-copy {
    margin-bottom: 14px;
    font-size: 16px;
    color: #4b5751;
}

.trivior-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin-bottom: 18px;
}

.trivior-footer-links a {
    color: #34463d;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.trivior-footer-links a:hover {
    color: #23834f;
    text-decoration: underline;
}

.trivior-footer-description {
    max-width: 850px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
    color: #738078;
}

@media (max-width: 768px) {

    .inside-site-info {
        padding: 26px 18px 22px;
    }

    .trivior-footer-links {
        gap: 10px 16px;
    }

    .trivior-footer-description {
        font-size: 13px;
    }
}
.site-info,
.site-info .inside-site-info {
    background: #eaf5ed !important;
}

.site-info {
    border-top: 1px solid #cfe3d5;
}


/* Compact shared search: city, search, geolocation. */
.trivior-location-picker {
    position: relative;
}
.trivior-location-picker,
.or-map-results .trivior-location-picker {
    padding: 16px;
}
.trivior-location-picker h3,
.or-map-results .trivior-location-picker h3 {
    margin: 0 0 14px;
    padding-right: 85px;
    font-size: 20px;
    line-height: 1.3;
}
.trivior-location-picker .trivior-picker-close {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
}
.trivior-location-picker .trivior-picker-fields {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 8px;
    justify-content: stretch;
}
.trivior-location-picker .trivior-picker-fields input {
    height: 44px;
    padding: 0 12px;
    font-size: 16px;
    margin: 0;
}
.trivior-location-picker .trivior-picker-fields button {
    width: auto;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    white-space: nowrap;
}
.trivior-location-picker .trivior-picker-fields .trivior-picker-locate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    border: 1px solid #cfd8d2;
    background: #ffffff;
    color: #217a50;
}
.trivior-location-picker .trivior-picker-locate:hover {
    background: #edf5ef;
}
.trivior-location-picker .trivior-picker-status:empty,
.trivior-location-picker .trivior-picker-results:empty {
    display: none;
}
@media (max-width: 420px) {
    .trivior-location-picker .trivior-picker-fields {
        grid-template-columns: minmax(0, 1fr) 44px;
    }
    .trivior-location-picker .trivior-picker-fields input {
        grid-column: 1 / -1;
    }
}