/*
 * DetailerOffice — Templates hub styles.
 *
 * Loaded only on pages using the "DetailerOffice Templates Hub" template
 * (templates/templates-hub.php). Reuses the same visual system as the
 * individual template landing pages (.do-template-page / do- classes).
 */

.do-template-page {
	max-width: 920px;
	margin: 0 auto;
	padding: 18px 0 60px;
	color: #1c2733;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.72;
}
.do-template-page h1,
.do-template-page h2,
.do-template-page h3 {
	font-family: Georgia, "Times New Roman", serif;
	color: #102536;
	line-height: 1.15;
}
.do-template-page h1 {
	font-size: clamp(2.15rem, 4.6vw, 3.7rem);
	margin: 0 0 18px;
}
.do-template-page h2 {
	font-size: clamp(1.55rem, 3vw, 2.25rem);
	margin: 46px 0 14px;
}
.do-template-page h3 {
	font-size: 1.2rem;
	margin: 0 0 8px;
}
.do-template-page p {
	margin: 0 0 17px;
	color: #43515f;
}
.do-template-page a {
	color: #2d6cdf;
}

.do-eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2d6cdf;
}
.do-lede {
	font-size: 1.11rem;
	max-width: 780px;
}
.do-note {
	margin: 24px 0;
	padding: 16px 18px;
	border-left: 3px solid #f6d365;
	background: #f8f4ed;
	color: #43515f;
}
.do-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 19px;
	border-radius: 9px;
	font-weight: 700;
	text-decoration: none !important;
	border: 1px solid transparent;
}
.do-btn-primary {
	background: #18324a;
	color: #fff !important;
}
.do-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 18px;
}

/* Template hub grid */
.do-tpl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 26px 0 8px;
}
.do-tpl-card {
	display: flex;
	flex-direction: column;
	padding: 22px;
	border: 1px solid #e5dfd5;
	border-radius: 14px;
	background: #fff;
	text-decoration: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.do-tpl-card:hover,
.do-tpl-card:focus-visible {
	border-color: #18324a;
	box-shadow: 0 8px 24px rgba(16, 37, 54, 0.08);
	transform: translateY(-2px);
}
.do-tpl-card:focus-visible {
	outline: 3px solid #2d6cdf;
	outline-offset: 3px;
}
.do-tpl-top {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 13px;
}
.do-tpl-order {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #18324a;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
}
.do-tpl-format {
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #26845e;
}
.do-tpl-card h3 {
	color: #102536;
	margin: 0 0 8px;
}
.do-tpl-desc {
	color: #43515f;
	margin: 0 0 16px;
	font-size: 0.97rem;
	line-height: 1.6;
}
.do-tpl-go {
	margin-top: auto;
	font-weight: 700;
	color: #2d6cdf;
	font-size: 0.95rem;
}
.do-tpl-go::after {
	content: " \2192";
}

/* Flow steps */
.do-steps {
	counter-reset: doStep;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.do-steps li {
	counter-increment: doStep;
	position: relative;
	padding: 0 0 18px 42px;
	color: #43515f;
}
.do-steps li::before {
	content: counter(doStep);
	position: absolute;
	left: 0;
	top: 1px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #18324a;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
}
.do-cta {
	margin: 42px 0;
	padding: 26px;
	border-radius: 14px;
	background: #102536;
	color: #fff;
}
.do-cta h2 {
	color: #fff;
	margin: 0 0 10px;
	font-size: 1.65rem;
}
.do-cta p {
	color: #d5dee5;
	margin-bottom: 18px;
}
.do-cta .do-btn-primary {
	background: #2d6cdf;
}
.do-faq {
	border-top: 1px solid #e5dfd5;
	margin-top: 10px;
}
.do-faq-item {
	padding: 18px 0;
	border-bottom: 1px solid #e5dfd5;
}
.do-faq-item h3 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	margin: 0 0 7px;
}
.do-disclaimer {
	margin-top: 26px;
	font-size: 0.87rem;
	color: #6e7b86;
}

@media (max-width: 700px) {
	.do-tpl-grid {
		grid-template-columns: 1fr;
	}
	.do-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.do-tpl-card {
		transition: none;
	}
}
