.jm-magazine {
	background: #f5f7fb;
	color: #172033;
	font-family: inherit;
}

.jm-magazine a {
	color: inherit;
	text-decoration: none;
}

.jm-mag-hero {
	background: linear-gradient(135deg, #101828 0%, #1d2939 58%, #2f4f4f 100%);
	color: #fff;
	padding: 64px 0 34px;
}

.jm-mag-hero__inner,
.jm-mag-section,
.jm-mag-cats {
	margin: 0 auto;
	max-width: 1180px;
	padding-left: 20px;
	padding-right: 20px;
}

.jm-mag-hero__inner {
	align-items: flex-start;
	display: flex;
	gap: 32px;
	justify-content: space-between;
}

.jm-mag-hero h1 {
	color: #fff;
	font-size: 46px;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 10px 0 16px;
	max-width: 760px;
}

.jm-mag-hero p {
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
	max-width: 720px;
}

.jm-mag-kicker {
	color: #d33b36;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.jm-mag-hero .jm-mag-kicker {
	color: #ffb4ae;
}

.jm-mag-back {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 18px;
	padding: 8px 14px;
}

.jm-mag-topnav {
	align-items: flex-end;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(138px, 1fr));
	min-width: 330px;
}

.jm-mag-topnav a {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 6px;
	color: #172033;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	padding: 13px 15px;
	text-align: center;
}

.jm-mag-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 28px;
	padding-top: 22px;
}

.jm-mag-cats a {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
	color: #344054;
	font-size: 14px;
	font-weight: 800;
	padding: 10px 16px;
}

.jm-mag-cats a:hover,
.jm-mag-topnav a:hover,
.jm-mag-cta a:hover {
	background: #d33b36;
	color: #fff;
}

.jm-mag-section {
	padding-bottom: 44px;
}

.jm-mag-lead {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr);
}

.jm-mag-side {
	display: grid;
	gap: 24px;
}

.jm-mag-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
	overflow: hidden;
}

.jm-mag-card--feature {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.jm-mag-card__image {
	background: #e9eef5;
	display: block;
	overflow: hidden;
}

.jm-mag-card__image img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.jm-mag-card--feature .jm-mag-card__image img {
	aspect-ratio: 16 / 8.2;
}

.jm-mag-card__body {
	padding: 20px;
}

.jm-mag-card--feature .jm-mag-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px;
}

.jm-mag-card--feature .jm-mag-card__body p {
	margin-top: auto;
	padding-top: 16px;
}

.jm-mag-card__meta {
	align-items: center;
	color: #667085;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	margin-bottom: 10px;
}

.jm-mag-card__meta a {
	color: #d33b36;
}

.jm-mag-card h3 {
	color: #172033;
	font-size: 22px;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.jm-mag-card--feature h3 {
	font-size: 34px;
	line-height: 1.16;
}

.jm-mag-card p {
	color: #475467;
	font-size: 15px;
	line-height: 1.65;
	margin: 12px 0 0;
}

.jm-mag-section__head {
	align-items: flex-end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.jm-mag-section__head h2,
.jm-mag-bottom h2,
.jm-mag-cta h2 {
	color: #172033;
	font-size: 30px;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
}

.jm-mag-text-link {
	color: #d33b36;
	font-weight: 800;
	white-space: nowrap;
}

.jm-mag-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jm-mag-grid .jm-mag-card h3 {
	font-size: 18px;
}

.jm-mag-columns,
.jm-mag-bottom {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jm-mag-list {
	display: grid;
	gap: 14px;
}

.jm-mag-card--compact {
	align-items: center;
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
}

.jm-mag-card--compact .jm-mag-card__image img {
	aspect-ratio: 1 / 1;
	height: 100%;
}

.jm-mag-card--compact .jm-mag-card__body {
	padding: 14px 16px;
}

.jm-mag-card--compact h3 {
	font-size: 16px;
	line-height: 1.32;
}

.jm-mag-company-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jm-mag-company,
.jm-mag-cta {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
	padding: 22px;
}

.jm-mag-company span {
	color: #d33b36;
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 10px;
}

.jm-mag-company h3 {
	color: #172033;
	font-size: 19px;
	line-height: 1.25;
	margin: 0 0 10px;
}

.jm-mag-company p,
.jm-mag-cta p {
	color: #475467;
	font-size: 15px;
	line-height: 1.65;
	margin: 0 0 14px;
}

.jm-mag-cta {
	background: #172033;
	color: #fff;
}

.jm-mag-cta h2 {
	color: #fff;
}

.jm-mag-cta p {
	color: rgba(255, 255, 255, .78);
}

.jm-mag-cta a {
	background: #fff;
	border-radius: 999px;
	color: #172033;
	display: inline-flex;
	font-weight: 800;
	padding: 12px 18px;
}

@media (max-width: 1024px) {
	.jm-mag-hero__inner,
	.jm-mag-lead,
	.jm-mag-columns,
	.jm-mag-bottom {
		grid-template-columns: 1fr;
	}

	.jm-mag-hero__inner {
		display: grid;
	}

	.jm-mag-topnav {
		grid-template-columns: repeat(2, minmax(130px, 1fr));
		min-width: 0;
	}

	.jm-mag-grid,
	.jm-mag-company-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.jm-mag-hero {
		padding-top: 42px;
	}

	.jm-mag-hero h1 {
		font-size: 34px;
	}

	.jm-mag-hero p {
		font-size: 16px;
	}

	.jm-mag-grid,
	.jm-mag-company-grid {
		grid-template-columns: 1fr;
	}

	.jm-mag-topnav {
		grid-template-columns: 1fr;
	}

	.jm-mag-card--compact {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.jm-mag-card--feature h3,
	.jm-mag-section__head h2,
	.jm-mag-bottom h2,
	.jm-mag-cta h2 {
		font-size: 25px;
	}

	.jm-mag-section__head {
		align-items: flex-start;
		flex-direction: column;
	}
}
