/*
Theme Name: Aude Becker Shiatsu
Theme URI: https://audebecker-shiatsu.fr
Author: Valentin Schneider
Description: Thème sur mesure reprenant le site vitrine d'Aude Becker, praticienne en shiatsu de confort à Serémange-Erzange. Site multi-pages : les textes se modifient dans Pages, le menu dans Apparence > Menus, les coordonnées et le formulaire dans Apparence > Personnaliser > Aude Becker Shiatsu.
Version: 1.13.2
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire
Text Domain: audebecker
*/

/* Les styles principaux sont dans assets/css/styles.css (Bootstrap + design d'origine).
   Ce fichier ne contient que les ajustements propres à WordPress. */

/* Barre d'administration WordPress : on décale la navigation fixe */
.admin-bar #mainNav { top: 32px; }
@media (max-width: 782px) { .admin-bar #mainNav { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }


/* Accessibilité */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}

/* =========================================================
   1.6 : ateliers, conseils, questions fréquentes
   ========================================================= */
.ab-ico-circle-question { --ab-ico: "\f059"; }

/* Ateliers */
.ab-atelier { display: flex; flex-direction: column; }
.ab-atelier .ab-atelier-date { font-weight: 700; color: #2c3e50; margin-bottom: .75rem; }
.ab-atelier .h5 { margin-bottom: 1rem; }
.ab-atelier-infos { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .95rem; }
.ab-atelier-infos li { margin-bottom: .35rem; }
.ab-atelier-texte { font-size: .95rem; margin-bottom: 1rem; }
.ab-atelier-bas { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.ab-atelier-places { font-size: .9rem; font-weight: 700; color: #2f6b3a; background: #e8f3ea; border-radius: 999px; padding: .25rem .75rem; }
.ab-atelier-places.is-complet { color: #8a2c2c; background: #f6e3e3; }
.entry-content .ab-atelier .btn { color: #fff; }

/* Conseils */
.ab-conseil { overflow: hidden; }
.ab-conseil-image { display: block; margin: -1.5rem -1.5rem 1.25rem; }
.ab-conseil-image img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ab-conseil-date { font-size: .875rem; color: #6c757d; margin-bottom: .5rem; }
.entry-content a.ab-conseil-titre { color: inherit; text-decoration: none; }
.ab-conseil:hover .ab-conseil-titre, .ab-conseil-titre:focus-visible { text-decoration: underline; }
.entry-content .ab-conseils .btn, .ab-article-actions .btn-primary { color: #fff; }
.ab-article { max-width: 760px; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; }
.ab-article-image img { width: 100%; height: auto; border-radius: .5rem; margin-bottom: 2rem; }
.ab-article-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 3rem; }

/* Questions fréquentes */
.ab-faq { max-width: 52rem; margin: 0 auto; }
.ab-faq .accordion-button { font-weight: 700; font-size: 1.05rem; }
.ab-faq .accordion-button:not(.collapsed) { color: inherit; background: rgba(var(--bs-primary-rgb), .15); box-shadow: none; }
.ab-faq .accordion-body p:last-child { margin-bottom: 0; }
.entry-content > .ab-faq-wrap, .entry-content > .ab-ateliers, .entry-content > .ab-conseils { margin-top: 4rem; }

/* =========================================================
   1.7 : nouvelles prestations, shiatsu en entreprise
   ========================================================= */
.ab-ico-chair { --ab-ico: "\f6c0"; }
.ab-ico-hand-sparkles { --ab-ico: "\e05d"; }
.ab-ico-file-signature { --ab-ico: "\f573"; }
.ab-actu-entreprise { max-width: 760px; margin-left: auto; margin-right: auto; }
.ab-card .ab-prices + p { margin-top: 1rem; }
.ab-card .ab-more { margin-top: 1rem; }

/* =========================================================
   1.7.1 : menu sur une seule ligne
   ========================================================= */
@media (min-width: 992px) {
	#mainNav .navbar-nav { flex-wrap: nowrap; }
	#mainNav .navbar-nav > li.nav-item > a.nav-link { white-space: nowrap; }
}
/* Écrans moyens : liens un peu plus serrés */
@media (min-width: 992px) and (max-width: 1399.98px) {
	#mainNav .navbar-nav > li.nav-item { margin-left: 0 !important; margin-right: 0 !important; }
	#mainNav .navbar-nav > li.nav-item > a.nav-link { font-size: .85rem; padding-left: .6rem !important; padding-right: .6rem !important; }
}
/* Petits écrans d'ordinateur : seule l'icône du téléphone reste visible */
@media (min-width: 992px) and (max-width: 1199.98px) {
	#mainNav .navbar-call-text, #mainNav .navbar-sms { display: none !important; }
}

/* =========================================================
   1.8 : photos dans les cartes et la page entreprise
   ========================================================= */
.ab-card .ab-card-photo { margin: -1.5rem -1.5rem 1.25rem; }
.ab-card .ab-card-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem .5rem 0 0; display: block; }
.ab-photo-entreprise { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.ab-photo-entreprise img { width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: center 30%; border-radius: .75rem; display: block; }
