/* ASP Blog Pack: article components and the Blog page list.
   Colors and fonts follow the ASP theme: links #3d73a1, text #444545, Montserrat headings, Open Sans body. */

/* ---------- article ---------- */
.single-post .entry-content,
.single-post .post-content {
	font-size: 16px;
	line-height: 1.7;
}
.single-post .entry-content h2 {
	margin: 1.8em 0 .6em;
	font-family: Montserrat, sans-serif;
	font-size: 24px;
	line-height: 1.25;
	color: #2b3a4a;
}
.single-post .entry-content h3 {
	margin: 1.4em 0 .5em;
	font-family: Montserrat, sans-serif;
	font-size: 19px;
	line-height: 1.3;
	color: #2b3a4a;
}
.single-post .entry-content ul,
.single-post .entry-content ol {
	margin: 0 0 1.2em 1.4em;
	padding: 0;
}
.single-post .entry-content li {
	margin-bottom: .4em;
}

.asp-figure {
	margin: 1.6em 0;
	max-width: 760px;
}
.asp-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}
.asp-figure figcaption {
	margin-top: .5em;
	font-size: 13px;
	color: #6b6f73;
}

.asp-takeaways {
	margin: 1.4em 0 1.8em;
	padding: 18px 22px 8px;
	border-left: 4px solid #3d73a1;
	background: #f2f6fa;
	border-radius: 0 6px 6px 0;
}
.asp-takeaways .asp-takeaways-title {
	margin: 0 0 .5em;
	font-family: Montserrat, sans-serif;
	color: #3d73a1;
}

.asp-table-wrap {
	margin: 1.2em 0 1.6em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.asp-table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}
.asp-table th,
.asp-table td {
	padding: 10px 12px;
	border: 1px solid #dfe5eb;
	text-align: left;
	vertical-align: top;
}
.asp-table th {
	background: #3d73a1;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
}
.asp-table tbody tr:nth-child(even) td {
	background: #f7f9fb;
}

.asp-next-step {
	margin: 1.8em 0;
	padding: 16px 20px;
	background: #f2f6fa;
	border-radius: 6px;
}
.asp-related {
	margin-left: 1.4em;
}
.asp-disclaimer {
	font-size: 13px;
	color: #6b6f73;
	font-style: italic;
}
.single-post .entry-content iframe {
	max-width: 100%;
}

/* ---------- Blog page ---------- */
.asp-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 10px 0 30px;
}
.asp-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 8px;
	overflow: hidden;
}
.asp-card-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f2f6fa;
}
.asp-card-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
}
.asp-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	flex: 1;
}
.asp-card-date {
	font-size: 13px;
	color: #6b6f73;
}
.asp-card-title {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	line-height: 1.3;
}
.asp-card-title a {
	color: #2b3a4a;
	text-decoration: none;
}
.asp-card-title a:hover,
.asp-card-title a:focus {
	color: #3d73a1;
}
.asp-card-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #444545;
}
.asp-card-more {
	margin-top: auto;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	color: #3d73a1;
}
.asp-blog-pages ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.asp-blog-pages a,
.asp-blog-pages span {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	border: 1px solid #dfe5eb;
	border-radius: 4px;
	text-align: center;
}
.asp-blog-pages .current {
	background: #3d73a1;
	border-color: #3d73a1;
	color: #fff;
}

@media (max-width: 900px) {
	.asp-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.asp-blog-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.single-post .entry-content h2 {
		font-size: 21px;
	}
}
