/**
 * Nemus Blog — footer clone nemus.studio (Fase B).
 * Estratto da public/css/style.css (.footer, .footer-*).
 * Senza bottone Cookie (banner non presente sul blog).
 */

.container {
	max-width: 1100px;
	margin: 0 auto;
}

.logo-small .logo-text {
	font-size: 0.75rem;
}

.footer {
	position: relative;
	z-index: 1;
	padding: 3rem 2rem;
	padding-bottom: max(3rem, env(safe-area-inset-bottom, 0px));
	border-top: var(--border-width) solid rgba(90, 143, 74, 0.35);
	box-shadow: inset 0 1px 0 rgba(232, 220, 200, 0.06);
	background-color: #162816;
	background-image: var(--atmos-grain-image);
	background-size: var(--atmos-grain-size);
	background-repeat: repeat;
	background-blend-mode: overlay;
	color: var(--parchment);
	isolation: isolate;
}

.footer::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient(ellipse 100% 50% at 50% 0%, rgba(0, 0, 0, 0.18) 0%, transparent 70%);
}

.footer-inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.footer-inner .logo {
	justify-content: center;
	margin-bottom: 0.75rem;
}

.footer-tagline {
	font-size: 1rem;
	font-style: italic;
	font-weight: 300;
	color: var(--parchment-dim);
	margin-bottom: 0.5rem;
}

.footer-copy {
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--forest-light);
}

.footer-copy a {
	color: var(--forest-light);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
	color: var(--parchment);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	margin-bottom: 1.25rem;
}

.footer-links a {
	font-size: 0.9rem;
	color: var(--forest-light);
	text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
	color: var(--parchment);
	text-decoration: underline;
}

@media (max-width: 520px) {
	.footer {
		padding-inline: 1.25rem;
	}
}
