/* ==========================================================================
   Related Articles widget
   ========================================================================== */

.tmt-related-articles__header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.tmt-related-articles__heading {
	margin: 0;
	color: #213747;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 700;
}

.tmt-related-articles__header-link {
	flex-shrink: 0;
	color: #0876c9;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
}

.tmt-related-articles__header-link:hover {
	color: #005e9f;
}

/* =========================
   GRID
   ========================= */

.tmt-related-articles__grid {
	--tmt-ra-columns: 4;

	display: grid;
	grid-template-columns: repeat(var(--tmt-ra-columns), minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 24px;
}

@media (max-width: 1024px) {
	.tmt-related-articles__grid {
		--tmt-ra-columns: 2;
	}
}

@media (max-width: 600px) {
	.tmt-related-articles__grid {
		--tmt-ra-columns: 1;
	}
}

/* ==========================================================================
   Card - as supplied
   ========================================================================== */

.article-card {
	width: 100%;
	max-width: 401px;
	background: #fff;
	border-radius: 9px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(24, 49, 66, 0.08);
	font-family: "Interstate", Sans-serif;
}

/* =========================
   TOP BANNER
   ========================= */

.article-card .card-banner {
	position: relative;
	height: auto !important;
	overflow: hidden;
	background: #213747;
	color: #fff;
}

.article-card .card-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* EDOTCO */
.article-card .partner-logo {
	position: absolute;
	z-index: 5;
	left: 13px;
	bottom: 9px;
	color: #50a82e;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: -0.5px;
}

.article-card .partner-logo span {
	display: inline-block;
	margin-right: 1px;
	font-size: 14px;
}

/* =========================
   CARD CONTENT
   ========================= */

.article-card .card-content {
	padding: 24px 20px 20px;
}

.article-card .date {
	margin: 0 0 6px;
	color: #566676;
	font-size: 12px;
	line-height: 1.4;
}

.article-card .article-title {
	margin: 0;
	color: #213747;
	font-size: 24px;
	line-height: 1.28;
	font-weight: 700;
	letter-spacing: -0.4px;
	font-family: "Interstate", Sans-serif;

	/* Enables the widget's "Title Line Limit" style control. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-card .article-title a {
	color: inherit;
	text-decoration: none;
}

.article-card .article-title a:hover {
	text-decoration: underline;
}

/* =========================
   FOOTER
   ========================= */

.article-card .card-footer {
	margin-top: 36px;
	padding-top: 13px;
	border-top: 1px solid #c9d7e0;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

.article-card .category {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	min-height: 44px;
	padding: 0 17px;

	border: 1px solid #d0dce4;
	border-radius: 24px;

	color: #213747;
	background: #fff;

	font-size: 15px;
	font-weight: 500;
}

.article-card .category-icon {
	position: relative;
	width: 14px;
	height: 14px;
	border: 1.5px solid #213747;
	border-radius: 50%;
}

.article-card .category-icon::before {
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	left: 4px;
	top: 3px;
	border-left: 1.5px solid #213747;
	border-bottom: 1.5px solid #213747;
	transform: rotate(-45deg);
}

.article-card .read-more {
	display: inline-flex;
	align-items: center;
	gap: 9px;

	color: #0876c9;
	text-decoration: none;

	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
}

.article-card .read-more .arrow {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 21px;
	height: 21px;

	border-radius: 50%;
	background: #1681c8;
	color: #fff;

	font-size: 14px;
	line-height: 1;
}

.article-card .read-more:hover {
	color: #005e9f;
}

.article-card .read-more:hover .arrow {
	transform: translateX(2px);
}

.article-card .read-more .arrow {
	transition: transform .2s ease;
}


.tmt-related-articles__grid {
	padding-bottom: 70px;
	position: relative;
}

.tmt-related-articles__bottom {
	text-align: center;
	flex: 0 0 100%;
	display: flex;
	position: absolute;
	text-align: center;
	left: 0;
	right: 0;
	bottom: 0;
	justify-content: center;
	margin-top: ;
}


@media (max-width:1400px) {
	.article-card .category {
		padding: 0 14px;
		font-size: 13px;
	}

	.article-card .read-more {
		font-size: 13px;
	}
}

@media (max-width:1260px) and (min-width:1025px) {

	.article-card .read-more {
		margin: 11px auto 0;
	}

	.article-card .category {
		padding: 0 14px;
		font-size: 10px;
		height: 30px !important;
		line-height: 30px;
		min-height: 30px;
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.article-card .card-footer {
		justify-content: space-between;
		flex-wrap: wrap;
	}
}

@media (max-width:1400px) {
	.article-card {
		width: 100%;
		max-width: 100%;
	}
}