﻿/**
 * Public Press — footer §11.6 (ex style.css)
 * Estratto in CSS-T21.
 */
/**
 * 11.6 - Footer
 */

.site-footer {
	/* Top dimezzato; la metà "risparmiata" (0.875em) va in margin-bottom sul logo → più aria tra immagine e riga testo. */
	padding: 0.875em 1% 1.75em;
	background: #e8e4f5; /* stesso lavanda della hero home (.public-press-home-lavender) */
	text-align: center;
}

.site-info {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
}

.site-info a {
	color: #686868;
}

.site-info a:hover,
.site-info a:focus {
	color: #007acc;
}

.public-press-site-footer__credit {
	margin: 0.65em 0 0;
}

.site-footer .site-title {
	font-size: inherit;
	font-weight: 400;
}

/*
 * Logo footer: altezza sempre limitata (a differenza dell'header).
 * Contenitore + !important: evita che altri CSS o attributi width/height enormi (es. immagine "full") gonfino il footer.
 */
#colophon.site-footer #logo-footer.public-press-site-footer__logo {
	box-sizing: border-box;
	max-height: 132px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0;
	margin: 0 auto 0.875em;
	width: 100%;
}

#colophon.site-footer #logo-footer .public-press-footer-logo-link {
	display: block;
	line-height: 0;
	text-decoration: none;
}

#colophon.site-footer #logo-footer img,
#colophon.site-footer #logo-footer .public-press-footer-logo-img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: min(100%, 354px) !important;
	max-height: 120px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	flex-shrink: 0;
}

@media screen and (min-width: 901px) {
	.site-footer .social-navigation {
		margin: 0;
		-webkit-order: 2;
		-ms-flex-order: 2;
		order: 2;
	}

	.site-info {
		margin: 0.538461538em auto 0.538461538em 0;
		-webkit-order: 1;
		-ms-flex-order: 1;
		order: 1;
	}
}
