/* typography.css */
.section-title, .page-title, .article-title {
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
}
.section-title { font-size: 1.5rem; margin-bottom: 1rem; }
.section-title a { text-decoration: none; }
.section-title a:hover { text-decoration: underline; }
.page-title { font-size: 2rem; margin-bottom: 1rem; }
.article-title { font-size: 2rem; text-align: justify; }
.hero-title { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.post-card-title { font-size: 1.125rem; margin: 0 0 0.5em; }
.article-content { font-size: 1.0625rem; }
.article-content p { margin: 0 0 1em; }
/* Corpo del testo giustificato su tutte le pagine (articoli e pagine).
   min-height evita che le pagine completamente vuote sembrino "spezzate" tra header e footer. */
.page-content {
	text-align: justify;
	min-height: 300px;
}
.page-content p { margin: 0 0 1em; }
/* Elenchi puntati e numerati nel corpo del testo (ripristino dopo reset globale) */
.page-content ul,
.article-content ul {
	list-style: disc;
	padding-left: 1.5em;
	margin: 0 0 1em;
}
.page-content ol,
.article-content ol {
	list-style: decimal;
	padding-left: 1.5em;
	margin: 0 0 1em;
}
.page-content li,
.article-content li {
	margin-bottom: 0.35em;
}
/* Footer: menu + torna su (destra) → social + RSS (stessa riga, RSS a destra) → copyright / tagline */
.site-footer {
	background: #f5f5f5;
	border-top: 1px solid #e8e8e8;
	padding: 1.5rem 0 2rem;
}
.site-footer .container { padding-top: 0; padding-bottom: 0; }
.site-footer .footer-links-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1rem;
}
.site-footer .footer-nav {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}
.site-footer .footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
}
.site-footer .footer-menu a { color: #444; text-decoration: none; }
.site-footer .footer-menu a:hover { color: #222; text-decoration: underline; }
.site-footer .footer-menu a:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}
.footer-back-to-top {
	font-size: 0.875rem;
	font-weight: 600;
	color: #444;
	text-decoration: none;
	flex-shrink: 0;
	white-space: nowrap;
	margin-left: auto;
}
.footer-back-to-top:hover { color: #222; text-decoration: underline; }
.footer-back-to-top:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}
.site-footer .footer-social-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1rem;
}
.site-footer .footer-social-row .brand-social {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
.site-footer .footer-social-row .footer-rss-link {
	margin-left: auto;
}
.footer-rss-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: #444;
	text-decoration: none;
	flex-shrink: 0;
	white-space: nowrap;
	align-self: center;
}
.footer-rss-link:hover { color: #222; text-decoration: underline; }
.footer-rss-link:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}
.brand-social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.brand-social-link { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; color: #444; text-decoration: none; border-radius: 6px; }
.brand-social-link:hover { color: #111; background: rgba(0,0,0,0.04); }
.brand-social-icon { width: 22px; height: 22px; }
.site-footer .brand-social { margin: 0 0 1rem; }
.site-footer .brand-social-link { background: rgba(0,0,0,0.02); border: 1px solid #e8e8e8; }
.site-footer .brand-social-link:hover { background: rgba(0,0,0,0.05); }
.site-footer .brand-social-link:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}
.footer-meta { margin: 0; }
.footer-meta--custom .footer-copy { margin-top: 0; }
.footer-copy {
	font-size: 0.875rem;
	color: #666;
	margin: 0 0 0.35em;
}
.footer-tagline {
	font-size: 0.8125rem;
	color: #777;
	line-height: 1.45;
	margin: 0;
	max-width: 42em;
}
.archive-desc { margin-bottom: 1rem; color: #555; }
