/* ============================================================
   Everaro — pages d'articles & archives & footer (v0.2)
   Largeur de lecture 760px, corps généreux, badges pin.
   ============================================================ */

/* Colonne de lecture */
.single-post .entry-content {
	max-width: var(--everaro-container-content);
	margin-left: auto;
	margin-right: auto;
}
.single-post .entry-header .entry-title {
	font-size: 35px;
	line-height: 1.45;
}
.single-post .entry-content p {
	margin-bottom: var(--everaro-space-6);
}
.single-post .entry-content h2 {
	margin-top: var(--everaro-space-12);
	margin-bottom: var(--everaro-space-4);
}
.single-post .entry-content img {
	border-radius: var(--everaro-radius-medium);
}

/* Méta & badges catégorie */
.entry-meta {
	font-size: 13.5px;
	color: var(--everaro-muted);
}
.entry-taxonomies .category-links a,
.entry-taxonomies a {
	display: inline-block;
	background: var(--everaro-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 4px;
	text-decoration: none;
}
.entry-taxonomies a:hover { background: var(--everaro-band-walnut); color: #fff; }

/* Breadcrumb */
.kadence-breadcrumbs, .kadence-breadcrumbs a { color: var(--everaro-muted); font-size: 13.5px; }
.kadence-breadcrumbs a:hover { color: var(--everaro-primary); }

/* ---- Sidebar (structure de la référence : rail droit vivant) ---- */
#secondary .everaro-widget {
	background: var(--everaro-surface);
	border: 1px solid var(--everaro-border);
	border-radius: 10px;
	padding: var(--everaro-space-6);
	margin-bottom: var(--everaro-space-6);
	box-shadow: 0 4px 12px var(--everaro-shadow);
}
#secondary .everaro-widget__title {
	font-size: 19px;
	color: var(--everaro-primary);
	text-align: center;
	padding-bottom: 12px;
	margin-bottom: 14px;
	background-image: repeating-linear-gradient(90deg, var(--everaro-accent) 0 7px, transparent 7px 12px);
	background-size: 56px 4px;
	background-repeat: no-repeat;
	background-position: bottom center;
}
#secondary .everaro-widget--cta {
	background: var(--everaro-accent-soft);
	border-color: var(--everaro-accent);
}
#secondary .wp-block-categories { list-style: none; padding: 0; margin: 0; }
#secondary .wp-block-categories li {
	border-bottom: 1px dashed var(--everaro-border);
	padding: 8px 0;
	font-size: 15.5px;
}
#secondary .wp-block-categories li:last-child { border-bottom: none; }
#secondary .wp-block-latest-posts { list-style: none; padding: 0; margin: 0; }
#secondary .wp-block-latest-posts li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--everaro-border);
}
#secondary .wp-block-latest-posts li:last-child { border-bottom: none; }
#secondary .wp-block-latest-posts__featured-image { flex: 0 0 64px; margin: 0; }
#secondary .wp-block-latest-posts__featured-image img {
	width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block;
}
#secondary .wp-block-latest-posts a {
	font-family: var(--everaro-font-body);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--everaro-ink);
	text-decoration: none;
}
#secondary .wp-block-latest-posts a:hover { color: var(--everaro-primary); }

/* Bandes de titre d'archive/recherche : lin uniforme (pas de blanc au centre) */
.archive .entry-hero, .search .entry-hero, .blog .entry-hero,
.archive .entry-hero .entry-hero-container-inner,
.search .entry-hero .entry-hero-container-inner,
.blog .entry-hero .entry-hero-container-inner {
	background: var(--everaro-band-linen);
}

/* Bande "Similar Posts" : lin uniforme, cartes blanches dessus */
.single-post .entry-related,
.single-post .entry-related .alignwide {
	background: var(--everaro-band-linen);
}
.single-post .entry-related .entry {
	background: var(--everaro-surface);
	border-radius: var(--everaro-radius-medium);
}
.single-post .entry-related-title { font-family: var(--everaro-font-heading); }
