/*
  Theme Name: Theme enfant de hello-elementor
  Description: Thème enfant du thème hello-elementor par New Slang. Ce thème est désormais modifiable ! Enjoy :)
  Author: New Slang
  Author URI: https://newslang.ch
  Template: hello-elementor
  Version: 1.1
*/

/* -------------------------------------------------------------------------- */
/* Masquer le titre de page + séparateur sur toutes les pages statiques       */
/* (home, pages, archives, recherche, 404). Gardé uniquement sur les articles */
/* (body.single) où le fil d'Ariane + le titre sont construits par le thème.  */
/* -------------------------------------------------------------------------- */
body:not(.single) .page-header {
	display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Espacement au-dessus du titre principal des pages / articles               */
/* -------------------------------------------------------------------------- */

.page-header {
	position: relative;
	margin-top: 3rem;
	padding: 1rem 0 1.5rem;
	text-align: center;
}

.page-header .entry-title,
.page-header .page-title {
	margin-top: 0;
	margin-bottom: 1.2rem;
	text-align: center;
}

/* Séparateur décoratif sous le titre : 2 lignes + symbole centré, fond transparent */
.page-header::before {
	content: none;
}

/* -------------------------------------------------------------------------- */
/* Fil d'Ariane                                                                */
/* -------------------------------------------------------------------------- */

.wus-breadcrumb {
	margin: 2rem auto 0;
	padding: 0 1.5rem;
	text-align: center;
}

.wus-breadcrumb__list {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wus-breadcrumb__item {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #b8976a;
}

.wus-breadcrumb__link {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
}

.wus-breadcrumb__link:hover,
.wus-breadcrumb__link:focus-visible {
	color: #8a6d42;
	text-decoration: none;
}

.wus-breadcrumb__item--current {
	color: #b8976a;
}

.wus-breadcrumb__sep {
	color: #b8976a;
	font-size: 0.85rem;
	line-height: 1;
}

@media (max-width: 480px) {
	.wus-breadcrumb__item,
	.wus-breadcrumb__sep {
		font-size: 0.7rem;
	}

	.wus-breadcrumb__list {
		gap: 0.6rem;
	}
}

/* -------------------------------------------------------------------------- */
/* Subtopbar liturgique — bandeau sous le menu principal                       */
/* Contenu : date FR · semaine liturgique · saint du jour · liens utilitaires  */
/* Placé via widget Shortcode dans le Header Elementor (template id 20).       */
/* -------------------------------------------------------------------------- */

.home-subtopbar {
	background: #EBE3D2;
	border-bottom: 1px solid rgba(195, 155, 77, 0.35);
	padding: 10px 0;
	font-family: 'Alegreya SC', 'Cinzel', Georgia, serif;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6D1C00;
}

.home-subtopbar-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.home-subtopbar-liturgie {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.home-subtopbar-date,
.home-subtopbar-saint-label {
	color: #6D1C00;
	opacity: 0.75;
	text-transform: uppercase;
}

.home-subtopbar-semaine,
.home-subtopbar-saint {
	color: #6D1C00;
	font-weight: 600;
	text-transform: uppercase;
}

.home-subtopbar-ornement {
	color: #C39B4D;
	font-size: 14px;
	margin: 0 8px;
	line-height: 1;
}

.home-subtopbar-sep {
	color: #C39B4D;
	opacity: 0.75;
}

.home-subtopbar-break {
	display: none;
}

@media (max-width: 768px) {
	.home-subtopbar {
		font-size: 10px;
		padding: 8px 0;
	}
	.home-subtopbar-inner {
		padding: 0 15px;
		row-gap: 2px;
	}
	.home-subtopbar-liturgie {
		row-gap: 2px;
	}
	.home-subtopbar-break {
		display: block;
		flex-basis: 100%;
		width: 100%;
		height: 0;
	}
}

.page-header::after {
	content: '✤';
	display: block;
	margin: 1.5rem auto 0;
	max-width: 500px;
	width: 80%;
	padding: 0.4em 0;
	text-align: center;
	color: #b8976a;
	font-size: 1.1rem;
	line-height: 1;
	background-image:
		linear-gradient(#b8976a, #b8976a),
		linear-gradient(#b8976a, #b8976a);
	background-repeat: no-repeat;
	background-size:
		calc(50% - 22px) 1px,
		calc(50% - 22px) 1px;
	background-position: left center, right center;
}

/* -------------------------------------------------------------------------- */
/* Page Évangile du jour — shortcode [aelf_evangile_complet]                   */
/* -------------------------------------------------------------------------- */

.aelf-evangile {
	max-width: 720px;
	margin: 3rem auto 4rem;
	padding: 0 1.5rem;
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: #1E1810;
}

.aelf-evangile-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.aelf-evangile-date {
	font-family: 'Alegreya SC', 'Cinzel', serif;
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #6D1C00;
	opacity: 0.75;
	margin: 0 0 0.4rem;
}

.aelf-evangile-semaine {
	font-family: 'Alegreya SC', 'Cinzel', serif;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6D1C00;
	margin: 0 0 1.2rem;
}

.aelf-evangile-ornement {
	color: #C39B4D;
	font-size: 1.2rem;
	line-height: 1;
	margin-top: 0.5rem;
}

.aelf-evangile-titre {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.2;
	color: #6D1C00;
	text-align: center;
	margin: 0 0 0.5rem;
}

.aelf-evangile-ref {
	font-family: 'Alegreya SC', 'Cinzel', serif;
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #8D2602;
	text-align: center;
	margin: 0 0 2rem;
}

.aelf-evangile-intro {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #6B5B47;
	text-align: center;
	margin: 0 0 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(195, 155, 77, 0.35);
}

.aelf-evangile-texte {
	font-size: 1.15rem;
	line-height: 1.8;
	color: #1E1810;
}

.aelf-evangile-texte p {
	margin: 0 0 1.2em;
	text-align: justify;
}

.aelf-evangile-texte p:first-child::first-letter {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-size: 3.2em;
	line-height: 0.9;
	float: left;
	margin: 0.05em 0.12em 0 0;
	color: #6D1C00;
}

.aelf-evangile-texte .verse_number {
	color: #C39B4D;
	font-size: 0.8em;
	vertical-align: super;
	margin: 0 0.15em;
	font-weight: 600;
}

.aelf-evangile-footer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(195, 155, 77, 0.35);
	text-align: center;
}

.aelf-evangile-source {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.8rem;
	color: #6B5B47;
	margin: 0;
}

.aelf-evangile-source a {
	color: #6D1C00;
	text-decoration: none;
	border-bottom: 1px dotted rgba(109, 28, 0, 0.4);
}

.aelf-evangile-source a:hover {
	border-bottom-color: #6D1C00;
}

.aelf-evangile-erreur {
	max-width: 720px;
	margin: 3rem auto;
	padding: 1.5rem;
	text-align: center;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	color: #6B5B47;
	background: rgba(195, 155, 77, 0.08);
	border-left: 3px solid #C39B4D;
}

@media (max-width: 600px) {
	.aelf-evangile-titre { font-size: 1.5rem; }
	.aelf-evangile-texte { font-size: 1rem; }
	.aelf-evangile-intro { font-size: 1rem; }
}
