/* Charte du site (thème Astra) : en-tête blanc pour le logo AnnecyPocket (bleu marine et vert). */
#masthead .ast-primary-header-bar { background: #fff !important; box-shadow: 0 1px 0 #e3e8ea; }
#masthead .custom-logo-link img { width: 220px !important; max-width: 220px !important; height: auto !important; }
#masthead [class*="social"] svg { fill: #0a6c8f !important; }
#masthead [class*="social"] a { color: #0a6c8f !important; }
/* Flèche « remonter en haut » : au-dessus du bouton « Préparer mon voyage », sous son panneau ouvert. */
html { scroll-behavior: smooth; }
.ap-haut {
	position: fixed; right: 16px; bottom: 76px; z-index: 9980; width: 44px; height: 44px; padding: 0 !important;
	display: flex; align-items: center; justify-content: center; border-radius: 50% !important; cursor: pointer;
	background: #fff !important; color: #0a6c8f !important; border: 1.5px solid #0a6c8f !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15); min-height: 0 !important;
}
.ap-haut[hidden] { display: none; }
.ap-haut:hover, .ap-haut:focus-visible { background: #0a6c8f !important; color: #fff !important; }

/* Sommaire repliable [ap_sommaire] : une ligne discrète, fermée par défaut. */
.ap-sommaire { margin: 1.2em 0 1.6em; padding: .6em 0; border-top: 1px solid #e3e8ea; border-bottom: 1px solid #e3e8ea; }
.ap-sommaire[hidden] { display: none; }
.ap-sommaire summary { cursor: pointer; color: #0a6c8f; font-weight: 600; font-size: .95em; list-style: none; }
.ap-sommaire summary::-webkit-details-marker { display: none; }
.ap-sommaire summary::after { content: " ▾"; }
.ap-sommaire[open] summary::after { content: " ▴"; }
.ap-sommaire__nb { font-weight: 400; opacity: .8; }
.ap-sommaire__liste { margin: .6em 0 .2em 1.4em; padding: 0; font-size: .95em; line-height: 1.9; }
.ap-sommaire__liste a { color: #0a6c8f !important; text-decoration: none !important; }
.ap-sommaire__liste a:hover { text-decoration: underline !important; }
.entry-content h2, .elementor h2 { scroll-margin-top: 90px; }

/* Tableau d'aperçu en tête d'article (classe ap-apercu sur la table) : deux colonnes, lisible sur téléphone. */
table.ap-apercu { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95em; border: 0; }
table.ap-apercu th, table.ap-apercu td { padding: .55em .7em; border: 0; border-bottom: 1px solid #e3e8ea; text-align: left; vertical-align: top; }
table.ap-apercu th { width: 34%; color: #0b2a3a; font-weight: 600; background: #f3f7f8; }

/* Marqueur [À VÉRIFIER] : visible seulement par un rédacteur connecté. */
mark.ap-a-verifier { background: #ffe58a; color: #5c4400; padding: 0 .25em; border-radius: 3px; font-size: .9em; }

/* Lien vers un contenu pas encore publié : vu seulement par un rédacteur connecté. */
a[data-ap-brouillon] { text-decoration: underline dotted #c99a00 !important; text-underline-offset: 3px; }

/* Barre d'administration (connecté) : l'icône du site garde sa petite taille. */
#wpadminbar .site-icon img { width: 20px !important; height: 20px !important; max-width: 20px !important; }
@media (max-width: 921px) {
	#masthead .custom-logo-link img { width: 160px !important; max-width: 160px !important; }
}
@media (max-width: 600px) {
	.ap-haut { right: 12px; bottom: 68px; }
}
