/**
 * Home page: latest Rollstock Knowledge Center articles.
 *
 * Loaded only on the static front page. Every rule is rooted in the WordPress
 * .home body class and section-specific rs-hkc- classes, so nothing here can
 * restyle the slider, other home page content, or any other page.
 */

.home .rs-hkc-wrap {
	clear: both;
	width: 940px;
	margin: 0 auto;
	padding: 26px 0 0;
	color: #4f4f4f;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
	text-align: left;
}

.home .rs-hkc-wrap,
.home .rs-hkc-wrap * {
	box-sizing: border-box;
}

.home .rs-hkc-module {
	padding: 22px 24px 24px;
	background: #fff;
	border: 1px solid #d5dce3;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home .rs-hkc-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 8px;
	border-bottom: 1px dotted #84939e;
}

.home .rs-hkc-title h2 {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	color: #84939e;
	border: 0;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.home .rs-hkc-title h2::before {
	display: inline-block;
	flex: 0 0 auto;
	width: 4px;
	height: 15px;
	margin-right: 7px;
	background: #e9282b;
	content: "";
}

.home .rs-hkc-view-all {
	display: inline-block;
	flex: 0 0 auto;
	padding: 3px 9px;
	color: #2e4d7f;
	background: #e3ecf3;
	border: 1px solid #c3d4e6;
	border-radius: 3px;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.home .rs-hkc-view-all:hover {
	color: #fff;
	background: #405f91;
	border-color: #2e4d7f;
}

.home .rs-hkc-grid {
	display: grid;
	grid-template-columns: 500px minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

/* Lead article */

.home .rs-hkc-lead {
	padding-right: 24px;
	border-right: 1px solid #eceff2;
}

.home .rs-hkc-lead-media {
	position: relative;
	display: block;
	overflow: hidden;
	margin-bottom: 12px;
	border: 1px solid #c6cdd4;
	border-radius: 5px;
}

.home .rs-hkc-lead-media img {
	display: block;
	width: 100%;
	height: auto;
}

.home .rs-hkc-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: inline-flex;
	min-height: 23px;
	padding: 3px 10px;
	align-items: center;
	color: #fff;
	background: #c52330;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 3px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home .rs-hkc-media-label {
	position: absolute;
	right: 9px;
	bottom: 9px;
	z-index: 2;
	padding: 3px 8px;
	color: #e6eef7;
	background: rgba(20, 28, 38, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 3px;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home .rs-hkc-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	color: #777;
	font-size: 12px;
	line-height: 1.5;
}

.home .rs-hkc-meta time {
	color: #444;
	font-weight: 700;
}

.home .rs-hkc-kicker {
	display: inline-block;
	padding: 3px 9px;
	color: #fff;
	background: #405f91;
	border-radius: 3px;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home .rs-hkc-dot {
	width: 3px;
	height: 3px;
	background: #999;
	border-radius: 50%;
}

.home .rs-hkc-lead h3 {
	margin: 8px 0 9px;
	padding: 0 0 9px;
	color: #405f91;
	border: 0;
	border-bottom: 1px solid #cfd6de;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.26;
}

.home .rs-hkc-lead h3 a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.home .rs-hkc-lead h3 a:hover {
	color: #c52330;
}

.home .rs-hkc-lead > p {
	margin: 0 0 14px;
	color: #4f4f4f;
	font-size: 13.5px;
	line-height: 1.6;
}

.home .rs-hkc-lead-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.home .rs-hkc-button {
	display: inline-block;
	padding: 7px 18px;
	color: #fff;
	background: linear-gradient(to bottom, #f65d62 0%, #e9282b 100%);
	border: 1px solid #bd3a3b;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.home .rs-hkc-button:hover {
	color: #fff;
	background: linear-gradient(to bottom, #444 0%, #222 100%);
	border-color: #333;
}

.home .rs-hkc-tag {
	display: block;
	color: #888;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home .rs-hkc-tag strong {
	color: #c52330;
	font-weight: 700;
}

/* Second and third articles */

.home .rs-hkc-side {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
}

.home .rs-hkc-subhead {
	margin: 0 0 12px;
	padding: 0 0 6px;
	color: #84939e;
	border: 0;
	border-bottom: 1px dotted #84939e;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home .rs-hkc-item {
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	gap: 13px;
	align-items: start;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eceff2;
	font-weight: 400;
	text-decoration: none;
}

.home .rs-hkc-item:last-child {
	margin-bottom: 0;
}

.home .rs-hkc-thumb {
	display: block;
	overflow: hidden;
	margin-top: 3px;
	border: 1px solid #c6cdd4;
	border-radius: 4px;
}

.home .rs-hkc-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.home .rs-hkc-item-body {
	display: block;
	min-width: 0;
}

.home .rs-hkc-item-title {
	display: block;
	margin: 3px 0 4px;
	color: #405f91;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.32;
}

.home .rs-hkc-item:hover .rs-hkc-item-title {
	color: #c52330;
}

.home .rs-hkc-item-excerpt {
	display: block;
	color: #666;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.42;
}

.home .rs-hkc-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	background: #f2f6fa;
	border: 1px solid #c9d8e8;
	border-left: 4px solid #405f91;
	border-radius: 4px;
}

.home .rs-hkc-cta strong {
	display: block;
	color: #2e4d7f;
	font-size: 13px;
	line-height: 1.4;
}

.home .rs-hkc-cta span {
	display: block;
	color: #555;
	font-size: 12px;
	line-height: 1.4;
}

.home .rs-hkc-cta-button {
	display: inline-block;
	flex: 0 0 auto;
	padding: 6px 13px;
	color: #fff;
	background: #455560;
	border-radius: 4px;
	font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.home .rs-hkc-cta-button:hover {
	color: #fff;
	background: #2e4d7f;
}

/* Narrow windows */

@media (max-width: 979px) {
	.home .rs-hkc-wrap {
		width: auto;
		margin-right: 20px;
		margin-left: 20px;
	}

	.home .rs-hkc-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.home .rs-hkc-lead {
		padding-right: 0;
		padding-bottom: 20px;
		border-right: 0;
		border-bottom: 1px solid #eceff2;
	}
}

@media (max-width: 640px) {
	.home .rs-hkc-module {
		padding: 18px;
	}

	.home .rs-hkc-title,
	.home .rs-hkc-lead-actions,
	.home .rs-hkc-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.home .rs-hkc-item {
		grid-template-columns: 96px minmax(0, 1fr);
	}
}
