/* =========================================================================
   Fast Publish Journal — compact mobile footer
   The desktop footer keeps its four columns. On phones the three link
   columns become native <details> disclosures: closed by default, opened with
   a tap, one at a time. The brand block is reduced to the logo + contact and
   the bottom bar is centred and tightened.
   ========================================================================= */

.footer__summary {
	display: none;
}

.footer__disclosure > summary::-webkit-details-marker {
	display: none;
}

@media (max-width: 640px) {
	.site-footer {
		padding-top: 1.6rem;
	}

	.footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-bottom: 0;
	}

	.footer__brand {
		grid-column: 1 / -1;
		padding-bottom: 1.1rem;
	}

	.footer__brand .brand__logo {
		height: 42px;
	}

	.footer__about {
		display: none;
	}

	.footer__contact {
		display: flex;
		flex-wrap: wrap;
		gap: 0.35rem 1.1rem;
		margin-top: 0.75rem;
	}

	.footer__contact li {
		font-size: 0.78rem;
	}

	/* The contact strip in the header already carries the opening hours. */
	.footer__contact li:last-child {
		display: none;
	}

	.footer__title {
		display: none;
	}

	.footer__col {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.footer__summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.85rem 0.1rem;
		color: var(--brass-soft);
		font-family: var(--font-sans);
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.14em;
		line-height: 1.4;
		text-transform: uppercase;
		list-style: none;
		cursor: pointer;
	}

	.footer__summary::after {
		content: "";
		flex: none;
		width: 7px;
		height: 7px;
		margin-right: 3px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s var(--ease);
	}

	.footer__disclosure[open] > .footer__summary::after {
		transform: rotate(-135deg);
	}

	.footer__col ul {
		gap: 0.35rem;
		padding: 0 0 0.95rem;
		margin: 0;
	}

	.footer__col li {
		font-size: 0.82rem;
	}

	.footer__col a {
		display: block;
		padding: 0.18rem 0;
	}

	.footer__bottom {
		flex-direction: column;
		align-items: center;
		gap: 0.6rem;
		padding-block: 1rem 1.1rem;
		font-size: 0.72rem;
		text-align: center;
	}

	.footer__social a {
		padding: 5px;
	}
}
