/* Pages Service-Public (plugin service-public-local) habillées comme les pages d'actes administratifs (css/actes.css). */
.spl-contenu { --spl-accent: #6796C9; --spl-accent-fonce: #4f7fb2; --spl-fond: #f5f5f5; --spl-bord: #e5e5e5; --spl-texte-doux: #888; color: #444; }
.spl-contenu h2, .spl-contenu h3, .spl-contenu h4 { font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif; font-weight: 300; }

/* Fil d'Ariane et surtitre */
#pageCategorie .spl-ariane ol { font-size: .85em; color: #888; }
#pageCategorie .spl-ariane a { text-decoration: none; }
#pageCategorie .spl-surtitre-theme { margin: .8em .5em 0; text-align: left; font-size: .8em; color: #888; }
.spl-verifie { margin: .3em 0 1.2em; }

/* Portail : cartes comme la page « Actes administratifs » */
.spl-espaces { gap: 1.2em; margin: 1.2em 0; }
.spl-espace { padding: 1.6em 1.2em; border: 1px solid #e5e5e5; border-top: 5px solid #6796C9; }
.spl-espace:hover, .spl-espace:focus { box-shadow: 0 6px 18px rgba(103,150,201,.35); }
.spl-espace .spl-icone { font-size: 3em; }
.spl-espace-titre { font: 300 1.6em 'Roboto Condensed', Helvetica, Arial, sans-serif; color: #6796C9; }
.spl-espace-bouton { margin-top: 1em; }

/* Recherche : comme les filtres des listes d'actes */
.spl-recherche { margin: 1.2em 0; padding: 1em; background: #f5f5f5; border: 1px solid #e5e5e5; }
.spl-recherche input[type=search] { border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 3px #ddd; }
.spl-recherche button, .spl-bouton { border-radius: 2px; }

/* Thèmes d'un espace : cartes du plugin, titres dans la police du site */
.spl-contenu .spl-theme-tete h2 { font: 300 1.35em 'Roboto Condensed', Helvetica, Arial, sans-serif; }

/* Corps de fiche */
.spl-introduction { padding: 1.2em 1.4em; background: #fff; border: 1px solid #e5e5e5; border-top: 5px solid #6796C9; }
.spl-introduction > :first-child { margin-top: 0; } .spl-introduction > :last-child { margin-bottom: 0; }
.spl-chapitre > h2 { padding-bottom: .3em; border-bottom: 2px solid #eef4fa; }

/* Cas à choisir : comme la liste dépliable des élus */
.spl-cas-consigne { color: #4f7fb2; }
.spl-cas-item { margin-bottom: .6em; border: 0; background: transparent; }
.spl-cas-item > summary { padding: .8em 1em; background: #eef4fa; border: 1px solid #cfdff0; color: #4f7fb2; list-style: none; }
.spl-cas-item > summary::-webkit-details-marker { display: none; }
.spl-cas-item > summary::after { content: '\25BE'; float: right; transition: transform .2s; }
.spl-cas-item[open] > summary::after { transform: rotate(180deg); }
.spl-cas-item > summary:hover { background: #e1ecf7; }
.spl-cas-item[open] > summary { border-bottom: 1px solid #cfdff0; color: #4f7fb2; }
.spl-cas-contenu { padding: .6em 1.2em 1em; border: 1px solid #e5e5e5; border-top: 0; background: #fff; }

/* Encadrés : blocs blancs à filet coloré, comme les observations d'une séance */
.spl-encart, .spl-avertissement { background: #fff; border: 1px solid #e5e5e5; border-left: 0; border-top: 5px solid #6796C9; padding: 1em 1.2em; }
.spl-attention, .spl-avertissement { border-top-color: #E69A1C; }
.spl-asavoir { border-top-color: #9BC434; }
.spl-exemple { border-top-color: #aaa; }
.spl-encart-titre { font: 400 1.1em 'Roboto Condensed', Helvetica, Arial, sans-serif; color: #4f7fb2; }
.spl-attention .spl-encart-titre, .spl-avertissement .spl-encart-titre { color: #c57f0a; }
.spl-asavoir .spl-encart-titre { color: #6f9a14; }

/* Tableaux : en-tête bleu comme les listes d'actes */
.spl-tableau th { background: #6796C9; }
.spl-tableau tbody tr:nth-child(even) { background: #f9f9f9; }

/* Sections de fin de fiche */
.spl-section { border-top: 0; padding: 1.2em 1.4em; background: #fff; border: 1px solid #e5e5e5; }
.spl-section > h2 { font-size: 1.3em; color: #6796C9; }

/* Services en ligne et formulaires : tuiles comme « Documents à télécharger » */
.spl-services { gap: 1em; }
.spl-service { padding: 1em 1.1em; border: 2px solid #6796C9; transition: box-shadow .15s, transform .15s; }
.spl-service:hover { box-shadow: 0 4px 14px rgba(103,150,201,.35); transform: translateY(-1px); }
.spl-service-type { color: #CD5828; font-weight: 600; }

/* Où s'adresser : comme les blocs « Personnes invitées » */
.spl-contact { border-top: 5px solid #6796C9; }
.spl-contact-titre { font: 400 1.15em 'Roboto Condensed', Helvetica, Arial, sans-serif; color: #4f7fb2; }
.spl-local-service { background: #f9f9f9; border-left-color: #9BC434; }
.spl-commune { background: #eef4fa; border: 1px solid #cfdff0; }

/* Mention de la source */
.spl-credit { color: #888; }
.spl-contenu .spl-theme-liens a { color: #444; font-weight: 400; }
.spl-contenu .spl-theme-liens a:hover, .spl-contenu .spl-theme-liens a:focus { color: #4f7fb2; }
