/*
 * ASALCOM brand and product pages (Schuah Solutions, 2026-11-25).
 * Used by pages built from content/*.html: /hytera/, /motorola/.
 * Fonts and colours follow the existing site: Poppins headings and Lato body (theme),
 * #171500 ink, #2B2600 body text, #FFEC59 brand yellow, #8d001d logo maroon.
 * Separation is by 1px rules only: no shadows, no gradients.
 */

.asal-page {
	--rule: #e4e0c4;
	max-width: 1200px;
	margin: 0 auto;
	padding: 96px 40px 72px;
	color: #2B2600;
}
.asal-page h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; margin: 0 0 20px; }
.asal-page h3 { font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.asal-page p { max-width: 68ch; margin: 0 0 16px; }
.asal-page a:not(.asal-pdf) { color: #8d001d; text-decoration: underline; text-underline-offset: 3px; }
.asal-page a:not(.asal-pdf):hover { color: #171500; }

.asal-kicker {
	font-family: "PT Sans", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #8d001d;
	margin-bottom: 12px !important;
}
.asal-lead { font-size: 18px; }

/* Intro: text beside the lineup photo */
.asal-intro {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
	padding-bottom: 72px;
	border-bottom: 1px solid var(--rule);
}
.asal-intro__figure { margin: 0; }
.asal-intro__figure img { width: 100%; height: auto; display: block; }
.asal-page figcaption { font-size: 14px; color: #5c5733; margin-top: 10px; }

.asal-block { padding: 72px 0; border-bottom: 1px solid var(--rule); }

/* "What we supply": a ruled definition-style list */
.asal-rules { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.asal-rules li {
	display: grid;
	grid-template-columns: minmax(200px, 1fr) 2fr;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--rule);
}
.asal-rules strong { font-family: Poppins, sans-serif; color: #171500; }

/* Model entries: photo on a pale panel, details beside it */
.asal-model {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	padding: 36px 0;
	border-top: 1px solid var(--rule);
}
.asal-model:first-of-type { margin-top: 24px; }
.asal-model > img {
	width: 240px;
	height: 260px;
	object-fit: contain;
	background: #f7f5e8;
	border: 1px solid var(--rule);
	padding: 20px;
	box-sizing: border-box;
}
.asal-model--noimg { grid-template-columns: 1fr; }
.asal-model ul { margin: 0 0 18px 1.2em; padding: 0; }
.asal-model li { margin-bottom: 4px; }
.asal-pdf {
	display: inline-block;
	margin: 0 18px 8px 0;
	font-family: "PT Sans", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	color: #171500;
	text-decoration: none;
	border-bottom: 2px solid #FFEC59;
	padding-bottom: 2px;
}
.asal-pdf::after { content: " \2192"; }
.asal-pdf:hover { border-bottom-color: #171500; }

/* DMR vs TETRA */
.asal-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 8px 0 24px;
	border: 1px solid var(--rule);
}
.asal-compare > div { padding: 28px 32px; }
.asal-compare > div + div { border-left: 1px solid var(--rule); }
.asal-compare p { margin: 0; }

/* Numbered steps with a rule down the left */
.asal-steps { list-style: none; counter-reset: step; margin: 8px 0 16px; padding: 0; max-width: 820px; }
.asal-steps > li {
	counter-increment: step;
	position: relative;
	padding: 0 0 22px 64px;
	border-left: 1px solid var(--rule);
	margin-left: 18px;
}
.asal-steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.asal-steps > li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: -18px;
	top: -2px;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	background: #FFEC59;
	color: #171500;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 13px;
	border-radius: 50%;
}
.asal-steps--projects > li strong { display: block; font-family: Poppins, sans-serif; color: #171500; font-size: 19px; margin-bottom: 6px; }
.asal-steps--projects > li span { display: block; max-width: 68ch; }

.asal-cross { padding-top: 40px; margin: 0 !important; font-size: 18px; }

@media (max-width: 921px) {
	.asal-page { padding: 64px 24px 48px; }
	.asal-intro { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
	.asal-block { padding: 48px 0; }
	.asal-rules li { grid-template-columns: 1fr; gap: 4px; }
	.asal-compare { grid-template-columns: 1fr; }
	.asal-compare > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 600px) {
	.asal-model { grid-template-columns: 1fr; gap: 20px; }
	.asal-model > img { width: 100%; height: 240px; }
	.asal-steps > li { padding-left: 44px; }
}
