/*
Theme Name: STEGO Construction
Theme URI: https://stego-construction.fr
Author: STEGO Construction
Description: Thème sur mesure STEGO Construction, basé sur Underscores (_s) et ACF Pro. Le design system complet est dans assets/css/stego.css ; ce fichier ne contient que les ajustements propres à WordPress.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stego

STEGO Construction est basé sur Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* La barre d'admin WordPress ne doit pas recouvrir l'en-tête sticky. */
.admin-bar .sg-header { top: 32px; }
.admin-bar .sg-mockflag { top: calc(var(--sg-header-h) + 44px); }
@media (max-width: 782px) {
	.admin-bar .sg-header { top: 46px; }
	.admin-bar .sg-mockflag { top: calc(var(--sg-header-h) + 58px); }
}
@media (max-width: 600px) {
	.admin-bar .sg-header { top: 0; }
}

/* Texte réservé aux lecteurs d'écran (classe standard WordPress). */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* Titre « Réunis. » du bloc savoir-faire : violet clair sur fond sombre. */
.sg-craft-dark .sg-tt--violet { color: var(--sg-violet-light); }
.sg-craft-dark .sg-tt--sans { font-family: var(--sg-sans); font-weight: 700; }

/* Retour du formulaire de contact. */
.sg-form__notice { padding: 16px 20px; margin-bottom: 24px; font-size: 15px; line-height: 1.6; border-left: 2px solid var(--sg-violet); background: var(--sg-paper); }
.sg-form__notice--error { border-color: #b3261e; }
.sg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Le design pose des display sur des éléments que le JS masque via l’attribut hidden. */
[hidden] { display: none !important; }

/* Reporté depuis le repo (commit 8a49b9c) */
@media (max-width: 999px) {
    .sg-facts--fit dd { text-wrap: balance; }
}
.sg-map { width: 100%; }