/*
 * AJH SEO Toolkit — front-end.
 *
 * Two jobs:
 *  1. Raise tap targets to the WCAG 2.1 AA 44 x 44 px minimum. The audit
 *     measured 20 interactive elements under 40 px on a 375 px viewport,
 *     including every footer link at 23 px and the header phone number at
 *     18 px — which is the primary conversion action on mobile.
 *  2. Style the NAP, hours and FAQ shortcodes so they inherit the theme
 *     rather than fighting it.
 */

/* ---------- 1. tap targets ---------- */

@media (max-width: 991px) {

	.site-footer a,
	.ast-footer-overlay a,
	.elementor-location-footer a:not(.elementor-button),
	.ajh-nap a,
	.ajh-hours a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	/* Header phone number — the main mobile CTA. */
	.site-header a[href^="tel:"],
	.elementor-location-header a[href^="tel:"] {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		min-width: 44px;
		padding: 6px 10px;
	}

	/* Menu items inside the mobile drawer. */
	.main-navigation .menu-item > a,
	.elementor-nav-menu--dropdown .elementor-item {
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	/* Anything under 14px is hard to read on a phone. */
	.site-footer,
	.elementor-location-footer {
		font-size: 15px;
	}
}

/* ---------- 2. shortcode styling ---------- */

.ajh-nap p {
	margin: 0 0 6px;
	line-height: 1.55;
}

.ajh-nap__name {
	font-size: 1.05em;
}

.ajh-nap__licence {
	font-size: .88em;
	opacity: .8;
}

.ajh-hours__title {
	margin: 0 0 8px;
}

.ajh-hours__list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 340px;
}

.ajh-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 5px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	line-height: 1.5;
}

.ajh-hours__row:last-child {
	border-bottom: 0;
}

.ajh-hours__row.is-closed .ajh-hours__time {
	opacity: .65;
}

.ajh-hours__day {
	font-weight: 600;
}

.ajh-faq {
	max-width: 760px;
	margin: 0 auto;
}

.ajh-faq__item {
	border-bottom: 1px solid rgba(0, 0, 0, .12);
	padding: 4px 0;
}

.ajh-faq__q {
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	padding: 16px 34px 16px 0;
	position: relative;
	min-height: 44px;
	display: flex;
	align-items: center;
	line-height: 1.45;
}

.ajh-faq__q::-webkit-details-marker {
	display: none;
}

.ajh-faq__q::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4em;
	font-weight: 400;
	line-height: 1;
	opacity: .55;
}

.ajh-faq__item[open] > .ajh-faq__q::after {
	content: "\2013";
}

.ajh-faq__a {
	padding: 0 34px 18px 0;
}

.ajh-faq__a p {
	margin: 0;
	line-height: 1.7;
}

.ajh-areas--inline {
	line-height: 1.7;
}

.ajh-areas:not(.ajh-areas--inline) {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}
