/**
 * Allrecipes-inspired "Latest" hero under the homepage banner.
 * Large feature story (left) + The Latest list (right).
 */

.gj-ar-latest {
	background: #ffffff;
	border-bottom: 1px solid #eceae6;
	padding: 1.75rem 0 2rem;
	width: 100%;
	box-sizing: border-box;
}

.gj-ar-latest__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
	gap: 2rem 2.5rem;
	align-items: start;
	max-width: var(--global-content-width, 1290px);
	margin: 0 auto;
	padding: 0 var(--global-content-edge-padding, 1.25rem);
	box-sizing: border-box;
}

/* —— Feature story —— */
.gj-ar-latest__feature {
	min-width: 0;
}

.gj-ar-latest__feature-media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0eeeb;
	text-decoration: none;
}

.gj-ar-latest__feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

.gj-ar-latest__feature-media:hover img {
	transform: scale(1.03);
}

.gj-ar-latest__feature-body {
	padding-top: 1rem;
	max-width: 40rem;
}

.gj-ar-latest__kicker {
	margin: 0 0 0.4rem;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #757575;
}

.gj-ar-latest__feature-title {
	margin: 0 0 0.55rem;
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
	font-size: clamp(1.55rem, 2.6vw, 2rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	color: #1a1a1a;
}

.gj-ar-latest__feature-title a {
	color: inherit !important;
	text-decoration: none !important;
	font-weight: 400 !important;
	box-shadow: none !important;
}

.gj-ar-latest__feature-title a:hover {
	color: #3d998e !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.gj-ar-latest__feature-deck {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.55;
	color: #5c5c5c;
}

/* —— The Latest rail —— */
.gj-ar-latest__rail {
	min-width: 0;
	padding-top: 0.15rem;
}

.gj-ar-latest__rail-title {
	margin: 0 0 0.85rem;
	padding-bottom: 0.55rem;
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
	font-size: clamp(1.45rem, 2.2vw, 1.75rem);
	font-weight: 400;
	line-height: 1.15;
	color: #1a1a1a;
	border-bottom: 3px solid #daaf53; /* GluJoy gold (AR uses coral) */
}

.gj-ar-latest__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gj-ar-latest__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-bottom: 1px solid #eceae6;
}

.gj-ar-latest__item:last-child {
	border-bottom: 0;
}

.gj-ar-latest__item-link {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 0.85rem 0;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: none !important;
}

.gj-ar-latest__item-thumb {
	display: block;
	width: 72px;
	height: 72px;
	overflow: hidden;
	background: #f0eeeb;
	flex-shrink: 0;
}

.gj-ar-latest__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gj-ar-latest__item-copy {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
	padding-top: 0.1rem;
}

.gj-ar-latest__item-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a8580;
	line-height: 1.3;
}

.gj-ar-latest__item-cat {
	color: #8a8580;
}

.gj-ar-latest__item-sep {
	opacity: 0.6;
}

.gj-ar-latest__item-time {
	font-weight: 600;
	letter-spacing: 0.04em;
}

.gj-ar-latest__item-title {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.gj-ar-latest__item-link:hover .gj-ar-latest__item-title {
	color: #3d998e;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gj-ar-latest__more-wrap {
	display: flex;
	justify-content: center;
	padding-top: 1rem;
}

.gj-ar-latest__more {
	display: inline-block;
	padding: 0.55rem 1.35rem;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #c45c26 !important;
	border: 1px solid #c45c26;
	background: #ffffff;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.gj-ar-latest__more:hover {
	background: #c45c26 !important;
	color: #ffffff !important;
}

/* Page tint: white hero strip sits clean under ad */
.home .gj-ar-latest {
	position: relative;
	z-index: 2;
}

@media (max-width: 900px) {
	.gj-ar-latest__inner {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.gj-ar-latest__feature-media {
		aspect-ratio: 16 / 10;
	}

	.gj-ar-latest__rail-title {
		margin-top: 0.25rem;
	}
}

@media (max-width: 520px) {
	.gj-ar-latest {
		padding: 1.15rem 0 1.5rem;
	}

	.gj-ar-latest__item-link {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 0.7rem;
	}

	.gj-ar-latest__item-thumb {
		width: 64px;
		height: 64px;
	}

	.gj-ar-latest__feature-title {
		font-size: 1.4rem;
	}
}
