.loustal-alentours-section {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 34px;
    background: rgba(246, 239, 229, .74);
    box-shadow: 0 16px 45px rgba(70, 60, 45, .08);
}

.lo-alentours {
    --lo-fond: #f7f3e8;
    --lo-carte: #fffcf4;
    --lo-bordure: #ded6c4;
    --lo-texte: #262c23;
    --lo-discret: #546052;
    --lo-vert: #34532e;
    padding: clamp(1rem, 3vw, 1.8rem);
    border: 1px solid var(--lo-bordure);
    border-radius: 1.4rem;
    background: var(--lo-fond);
    color: var(--lo-texte);
}

.lo-alentours [hidden] {
    display: none !important;
}

.lo-alentours__titre {
    margin: 0 0 1rem;
    font-family: var(--lo-police-titre, Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.55rem);
    font-weight: 500;
    line-height: 1.12;
    text-align: center;
    text-wrap: balance;
}

.lo-alentours__filtres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-bottom: 1.15rem;
}

.lo-alentours__filtres button,
.lo-alentours__plus {
    min-height: 44px;
    padding: .42rem .78rem;
    border: 1px solid var(--lo-bordure);
    border-radius: 999px;
    background: var(--lo-carte);
    color: var(--lo-vert);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 650;
}

.lo-alentours__filtres button[aria-pressed="true"] {
    border-color: var(--lo-vert);
    background: var(--lo-vert);
    color: #fff;
}

.lo-alentours__filtres button:hover,
.lo-alentours__plus:hover {
    border-color: var(--lo-vert);
}

.lo-alentours :is(button, a):focus-visible {
    outline: 2px solid var(--lo-vert);
    outline-offset: 3px;
}

.lo-alentours__colonnes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 1rem;
    align-items: start;
}

.lo-alentours__liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr));
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lo-alentours__lieu {
    display: grid;
    align-content: start;
    gap: .25rem;
    padding: .64rem .72rem;
    border: 1px solid var(--lo-bordure);
    border-inline-start: 3px solid #8a9b77;
    border-radius: .7rem;
    background: var(--lo-carte);
    overflow-wrap: anywhere;
}

.lo-alentours__lieu p {
    margin: 0;
}

.lo-alentours__nom,
.lo-alentours__nom button {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
}

.lo-alentours__nom button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    font-family: inherit;
    opacity: 1;
    text-align: start;
    overflow-wrap: anywhere;
}

.lo-alentours__nom button:enabled {
    cursor: pointer;
}

.lo-alentours__nom button:enabled:hover {
    color: var(--lo-vert);
    text-decoration: underline;
}

.lo-alentours__details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .45rem;
    color: var(--lo-discret);
    font-size: .79rem;
    line-height: 1.3;
}

.lo-alentours__distance {
    color: var(--lo-vert);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lo-alentours__plus {
    display: block;
    margin: .75rem auto 0;
}

.lo-alentours__annexes {
    display: grid;
    min-width: 0;
    gap: .8rem;
}

.lo-alentours__panneau {
    min-width: 0;
    padding: .9rem 1rem;
    border: 1px solid var(--lo-bordure);
    border-radius: .9rem;
    background: var(--lo-carte);
}

.lo-alentours__entete {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .3rem .7rem;
    margin-bottom: .65rem;
}

.lo-alentours__entete h3 {
    margin: 0;
    color: var(--lo-texte);
    font: 500 1.3rem/1.2 var(--lo-police-titre, Georgia, serif);
}

.lo-alentours__entete p {
    margin: 0;
    color: var(--lo-vert);
    font-size: .83rem;
    font-weight: 650;
}

.lo-alentours__indicateurs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: .75rem;
    margin: .8rem 0;
}

.lo-alentours__indicateurs div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: .2rem;
    padding: 0 .35rem;
    border-inline-start: 1px solid var(--lo-bordure);
    text-align: center;
}

.lo-alentours__indicateurs div:first-child {
    border-inline-start: 0;
}

.lo-alentours__indicateurs dt {
    color: var(--lo-discret);
    font-size: .73rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.lo-alentours__indicateurs dd {
    margin: 0;
    color: var(--lo-vert);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    line-height: 1;
}

.lo-alentours__repartitions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    padding-top: .65rem;
    border-top: 1px solid var(--lo-bordure);
}

.lo-alentours__repartition h4 {
    margin: 0 0 .42rem;
    color: var(--lo-texte);
    font-size: .83rem;
    line-height: 1.2;
}

.lo-alentours__repartition ul {
    display: grid;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lo-alentours__repartition li div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .3rem;
    color: var(--lo-discret);
    font-size: .73rem;
    line-height: 1.2;
}

.lo-alentours__repartition li strong {
    color: var(--lo-vert);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lo-alentours__repartition meter {
    display: block;
    width: 100%;
    height: .38rem;
    margin-top: .2rem;
    border: 0;
    background: none;
}

.lo-alentours__repartition meter::-webkit-meter-bar {
    border: 0;
    border-radius: 9px;
    background: #ebe5d6;
}

.lo-alentours__repartition meter::-webkit-meter-optimum-value {
    border-radius: 9px;
    background: #728a5f;
}

.lo-alentours__repartition meter::-moz-meter-bar {
    border-radius: 9px;
    background: #728a5f;
}

.lo-alentours__carte {
    isolation: isolate;
    z-index: 0;
    height: clamp(14rem, 30vw, 17rem);
    overflow: hidden;
    border: 1px solid var(--lo-bordure);
    border-radius: .65rem;
    background: #e6eadf;
    font: inherit;
}

.lo-alentours__repere {
    display: grid !important;
    place-items: center;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #4b6941;
    box-shadow: 0 1px 4px #0006;
}

.lo-alentours__repere--hopital { background: #a24c46; }
.lo-alentours__repere--primaire,
.lo-alentours__repere--college,
.lo-alentours__repere--lycee { background: #625489; }
.lo-alentours__repere--culture { background: #946125; }
.lo-alentours__repere--bien { background: #2d3c27; }

.lo-alentours__repere--bien::before {
    width: .36rem;
    height: .36rem;
    border-radius: 1px;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}

.lo-alentours__pied-carte,
.lo-alentours__source {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .55rem;
    margin: .65rem 0 0;
    color: var(--lo-discret);
    font-size: .74rem;
    line-height: 1.45;
}

.lo-alentours__pied-carte [data-lo-repere] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.lo-alentours__pied-carte i {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #2d3c27;
}

.lo-alentours__source a {
    color: inherit;
    text-decoration: underline;
}

.lo-alentours__message {
    margin: .5rem 0;
    color: var(--lo-discret);
    font-size: .86rem;
}

@media (max-width: 760px) {
    .lo-alentours__colonnes {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .lo-alentours__panneau {
        padding-inline: .7rem;
    }

    .lo-alentours__indicateurs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lo-alentours__indicateurs div:nth-child(odd) {
        border-inline-start: 0;
    }
}
