/**
 * Tablet and mobile adaptations.
 */

@media (max-width: 64rem) {
	.tap-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
	.tap-nav--desktop { display: none; }
	.tap-header__actions .tap-menu-toggle { display: inline-flex; }
	.tap-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
	:root { --tap-header-height: 4.25rem; }
	.admin-bar .tap-site-header { top: 46px; }
	.tap-site-brand .custom-logo { max-height: 2.75rem; }
	.tap-search__form { align-items: stretch; flex-direction: column; }
	.tap-search__form .tap-btn { width: 100%; }
	.tap-footer__main { gap: 2rem; grid-template-columns: 1fr; }
}

@media (max-width: 30rem) {
	.tap-container,
	.tap-container-wide { padding-inline: 1rem; }
	.tap-site-brand__name { max-width: 12rem; }
}

@media (max-width: 37.5rem) {
	.admin-bar .tap-site-header { top: 0; }
}
