/*
Theme Name: Angatchalo
Template: twentytwentyfive
Description: Thème du site d'Angatchalo — Nomad's Land Music. Thème enfant de Twenty Twenty-Five, aux couleurs du logo (vert sauge, encre, vert forêt) avec les polices de la marque.
Version: 1.0.0
Requires at least: 6.7
Text Domain: angatchalo
*/

/* ---- Motif de points (repris des lettres du logo) ------------------------ */

.ang-dots {
	height: 12px;
	margin-block: var(--wp--preset--spacing--50);
	background-image: radial-gradient(circle, currentColor 3.5px, transparent 4px);
	background-size: 26px 12px;
	background-position: left center;
	background-repeat: repeat-x;
	max-width: 260px;
	margin-inline: auto !important;
	opacity: .55;
}

/* ---- En-tête ------------------------------------------------------------- */

.ang-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent);
}
.admin-bar .ang-header { top: var(--wp-admin--admin-bar--height, 32px); }

.ang-header .wp-block-site-logo img,
.ang-wordmark img { height: auto; }

.ang-header .wp-block-navigation-item__content {
	padding-block: .25em;
	border-bottom: 2px solid transparent;
	transition: border-color .15s ease, color .15s ease;
}
.ang-header .wp-block-navigation-item__content:hover,
.ang-header .current-menu-item > .wp-block-navigation-item__content {
	border-bottom-color: var(--wp--preset--color--leaf);
	text-decoration: none;
}

/* ---- Bandeau (logo + « Nomad's Land Music ») ------------------------------ */

.ang-hero .ang-wordmark img {
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}
.ang-tagline {
	letter-spacing: .06em;
}

/* ---- Cartes (musicien·nes, intervenant·es) -------------------------------- */

.ang-card {
	background: #fff;
	border: 2px solid var(--wp--preset--color--sage);
	border-radius: 18px;
	padding: var(--wp--preset--spacing--40);
	box-shadow: 0 2px 0 var(--wp--preset--color--sage);
}
.ang-card > :first-child { margin-top: 0; }
.ang-card .wp-block-heading { color: var(--wp--preset--color--forest); }

/* ---- Contenu -------------------------------------------------------------- */

.entry-content strong,
.wp-block-post-content strong { color: var(--wp--preset--color--forest); }

.ang-intro { font-size: var(--wp--preset--font-size--large); line-height: 1.6; }

.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 10px; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	border-radius: 0 0 10px 10px;
	font-size: .85rem;
}

.wp-block-embed iframe { border-radius: 12px; }

.wp-block-image img { border-radius: 10px; }
.ang-wordmark img, .wp-block-site-logo img { border-radius: 0 !important; }

.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--sage);
	padding: .6em .4em;
	text-align: left;
}
.wp-block-table thead { border-bottom: 2px solid var(--wp--preset--color--forest); }

/* ---- Pied de page --------------------------------------------------------- */

.ang-footer a { color: inherit; }
.ang-footer a:hover { color: #fff; }
.ang-footer .ang-cri { letter-spacing: .08em; }

/* Les polices de la marque sont étroites : on les grossit un peu partout. */
.wp-block-post-content strong { font-weight: 700; }
.ang-card .wp-block-heading { margin-bottom: .2em; }
.wp-block-post-content > h2.wp-block-heading { margin-block-start: var(--wp--preset--spacing--70) !important; }
.wp-block-post-content > h3.wp-block-heading { margin-block-start: var(--wp--preset--spacing--50) !important; }
.wp-block-post-content > h2.wp-block-heading:first-child { margin-block-start: var(--wp--preset--spacing--40) !important; }
