/* --------------------------------------------------------------------------
   Retouches d'affichage — La Clique Rustique.
   Chargée après screen.css et amica.css.
   -------------------------------------------------------------------------- */

/* Section « Notre Musique » (bas de la page d'accueil, articles étiquetés audio) :
   titre centré et nettement plus grand que les autres sous-titres du thème. */
.special-section .special-subtitle {
	display: block;
	text-align: center;
	padding-top: 3.2vh;
}

.special-section .special-subtitle .global-subtitle-title {
	display: block;
	flex: none;
	max-width: none;
	margin: 0 auto;
	font-size: 4.4rem;
	line-height: 1.15;
}

@media (max-width: 1480px) {
	.special-section .special-subtitle .global-subtitle-title { font-size: 3.8rem; }
}

@media (max-width: 1024px) {
	.special-section .special-subtitle .global-subtitle-title { font-size: 3.2rem; }
}

@media (max-width: 768px) {
	.special-section .special-subtitle .global-subtitle-title { font-size: 2.8rem; }
}

@media (max-width: 480px) {
	.special-section .special-subtitle .global-subtitle-title { font-size: 2.4rem; }
}

/* Pages à formulaire — inscription, connexion, abonnement et contact : tout est centré.
   Le ciblage passe par le formulaire lui-même, il ne dépend donc pas du nom des pages. */
.custom-content form,
.custom-content form + .alert-success {
	text-align: center;
}

/* Les champs n'héritent pas de l'alignement du parent, et leur largeur maximale
   (410 px) les collait à gauche dans un formulaire de 480 px : on les recentre. */
.custom-content form input,
.custom-content form textarea,
.custom-content form label {
	text-align: center;
}

.custom-content form input,
.custom-content form textarea {
	margin-left: auto;
	margin-right: auto;
}

/* Mot d'explication sous le titre.
   Le texte se modifie dans l'extrait de la page (Ghost : réglages de la page → Excerpt). */
.custom-subtitle {
	font-size: 1.7rem;
	line-height: 1.5;
	max-width: 42ch;
	margin: -1vh auto 3vh;
	text-align: center;
	opacity: .75;
}

/* Logo centré en haut des pages d'inscription, de connexion et d'abonnement
   (le bloc était déjà centré, mais l'image restait collée à gauche). */
.custom-logo {
	text-align: center;
}

/* Boutons vers les réseaux sociaux et les plateformes d'écoute, dans le pied de page.
   Les liens se modifient dans partials/social_buttons.hbs. */
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 3vh;
}

.footer-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--ghost-accent-color, #d16b41);
	transition: transform .2s ease, filter .2s ease;
}

.footer-links a:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.footer-links a:focus-visible {
	outline: 2px solid var(--ghost-accent-color, #d16b41);
	outline-offset: 3px;
}

.footer-links svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}

@media (max-width: 480px) {
	/* espacement resserré pour que les sept boutons tiennent sur une seule rangée */
	.footer-links { gap: 8px; }
	.footer-links a { width: 40px; height: 40px; }
	.footer-links svg { width: 18px; height: 18px; }
}
