html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #444;
}

header {
    margin: auto;
    max-width: 1000px;
    border-bottom: 1px solid #DDD;
}

main {
    margin: auto;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mapcont {
    max-width: 100%;
}

/* Une ligne par lien, largeur commune adaptée au plus long libellé. */
.bulletins {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 30px;
}

.bulletins > div {
    flex: none;
    min-width: 0;
}

/* Style commun des liens de bulletin. */
div.bulletin a,
div.bulletin_local a {
    display: block;
    padding: 10px 15px;
    background-color: #036;
    color: #FFF;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Espacement pour les bulletins placés hors de la liste. */
div.bulletin,
div.bulletin_local {
    margin-bottom: 30px;
}

/* Dans la liste, l'espacement est assuré par gap. */
.bulletins > div {
    margin: 0;
}

.bulletins a {
    width: 100%;
    height: auto;
    margin: 0;
}

div.bulletin a:hover,
div.bulletin_local a:hover {
    background-color: rgb(0, 80, 160);
}

.bulletins.bulletins-accueil {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    gap: 15px;
}

.bulletins.bulletins-accueil > div {
    flex: 1 1 300px;
    min-width: 0;
    margin: 0;
}

.bulletins.bulletins-accueil > div > a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px 15px;
}

div.alert {
    margin: 50px 0;
    border: 2px solid rgb(255, 203, 106);
    background-color: rgb(255, 240, 213);
    padding: 30px;
    line-height: 30px;
    font-size: 16px;
}

div.map img {
    display: block;
    max-width: 100%;
    height: auto;
}

span.title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

footer {
    border-top: 1px solid #DDD;
    margin: 50px auto 0;
    max-width: 1000px;
    padding: 50px;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 40px;
    padding: 0;
}

footer ul li {
    list-style: none;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 600px) {
    footer {
        padding: 25px 15px;
    }
}
