/* Articles: editorial knowledge base inside the Mohawk industrial system. */

.mh__articles-hero { padding-bottom: var(--space-8); }
.mh__articles-rule {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--space-4);
	margin-top: var(--space-8);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fg-mute);
}
.mh__articles-rule > span:nth-child(2) { height: 1px; background: var(--line-strong); }
.mh__articles-list { padding-top: var(--space-4); }
.mh__article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.mh__article-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mh__article-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	box-shadow: 5px 5px 0 var(--line);
	transition: transform 180ms ease, box-shadow 180ms ease;
}
.mh__article-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }
.mh__article-card--featured { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); }
.mh__article-card-media { display: block; min-height: 220px; overflow: hidden; background: var(--ink); text-decoration: none; }
.mh__article-card--featured .mh__article-card-media { min-height: 420px; }
.mh__article-card-media img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform 420ms ease; }
.mh__article-card:hover .mh__article-card-media img { transform: scale(1.025); }
.mh__article-card-placeholder { display: grid; place-items: end start; min-height: inherit; padding: var(--space-5); color: var(--accent); font-size: 12px; letter-spacing: .15em; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(var(--rgb-paper), .06) 22px 23px), var(--ink); }
.mh__article-card-body { display: flex; flex: 1; flex-direction: column; padding: var(--space-5); }
.mh__article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: var(--space-4); color: var(--fg-mute); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.mh__article-meta span + span::before { content: "•"; margin-right: 14px; color: var(--accent); }
.mh__article-card-title { margin: 0 0 var(--space-3); font-family: var(--font-mh-display); font-size: clamp(22px, 2.1vw, 34px); line-height: 1.04; letter-spacing: -.02em; }
.mh__article-card-title a { color: inherit; text-decoration: none; }
.mh__article-card-body p { margin: 0 0 var(--space-5); color: var(--fg-mute); line-height: 1.55; }
.mh__article-card-link { margin-top: auto; color: var(--fg); font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 4px; }

.mh__article-single { width: min(1180px, calc(100% - 2 * var(--page-padding-x))); margin: 0 auto; padding: var(--space-8) 0 var(--space-16); }
.mh__article-hero { max-width: 980px; padding: var(--space-8) 0; }
.mh__article-hero h1 { max-width: 940px; margin: var(--space-5) 0; font-size: clamp(48px, 7vw, 96px); line-height: .94; letter-spacing: -.035em; }
.mh__article-lead { max-width: 800px; margin: 0; font-size: clamp(19px, 2vw, 28px); line-height: 1.35; color: var(--fg-mute); }
.mh__article-cover { margin: 0 0 var(--space-10); border: 1px solid var(--line-strong); box-shadow: 9px 9px 0 var(--accent); overflow: hidden; }
.mh__article-cover img { display: block; width: 100%; max-height: 680px; object-fit: cover; }
.mh__article-layout { display: grid; grid-template-columns: 180px minmax(0, 760px); gap: clamp(32px, 6vw, 88px); justify-content: center; align-items: start; }
.mh__article-rail { position: sticky; top: 120px; display: grid; gap: var(--space-5); padding-top: var(--space-2); font-size: 12px; }
.mh__article-rail .mono { color: var(--fg-mute); letter-spacing: .1em; }
.mh__article-rail a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.mh__article-content { min-width: 0; font-size: 18px; line-height: 1.72; }
.mh__article-content > *:first-child { margin-top: 0; }
.mh__article-content h2 { margin: 2.4em 0 .7em; font-family: var(--font-mh-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.025em; }
.mh__article-content h3 { margin: 2em 0 .6em; font-family: var(--font-mh-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.mh__article-content p, .mh__article-content ul, .mh__article-content ol { margin: 0 0 1.35em; }
.mh__article-content a { color: var(--fg); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mh__article-content blockquote { margin: 2em 0; padding: var(--space-5) var(--space-6); border: 0; border-left: 6px solid var(--accent); background: var(--bg-deep); font-size: 1.18em; }
.mh__article-content figure { margin: 2em 0; }
.mh__article-content img { max-width: 100%; height: auto; border: 1px solid var(--line-strong); }
.mh__article-content figcaption { margin-top: 8px; color: var(--fg-mute); font-size: 13px; }
.mh__article-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mh__article-content th, .mh__article-content td { padding: 12px; border: 1px solid var(--line-strong); text-align: left; }
.mh__article-content th { background: var(--ink); color: var(--paper); }
.mh__article-services { margin: var(--space-12) 0 0 180px; padding: var(--space-7); border: 1px solid var(--line-strong); background: var(--bg-deep); }
.mh__article-services h2 { margin: var(--space-3) 0 var(--space-5); font-family: var(--font-mh-display); font-size: clamp(28px, 4vw, 44px); }
.mh__article-service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mh__article-service-links a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--fg); font-weight: 700; text-decoration: none; }
.mh__article-service-links a:hover { background: var(--accent); }

@media (max-width: 980px) {
	.mh__article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh__article-card--featured { grid-column: 1 / -1; }
	.mh__article-layout { grid-template-columns: 1fr; }
	.mh__article-rail { position: static; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); }
	.mh__article-services { margin-left: 0; }
}
@media (max-width: 680px) {
	.mh__articles-rule { grid-template-columns: 1fr auto; }
	.mh__articles-rule > span:nth-child(2) { display: none; }
	.mh__article-grid, .mh__article-grid--compact { grid-template-columns: 1fr; }
	.mh__article-card--featured { display: flex; }
	.mh__article-card--featured .mh__article-card-media, .mh__article-card-media { min-height: 220px; }
	.mh__article-single { width: calc(100% - 2 * var(--page-padding-x)); padding-top: var(--space-4); }
	.mh__article-hero h1 { font-size: clamp(40px, 13vw, 62px); }
	.mh__article-cover { box-shadow: 5px 5px 0 var(--accent); }
	.mh__article-content { font-size: 17px; line-height: 1.65; }
	.mh__article-service-links { grid-template-columns: 1fr; }
}
