/*=========================
	SINGLE NEWS ARTICLE
=========================*/

/* Scope the bare-class rules to the <main> — `body_class()` also puts
   `single-news` on <body>, so `.single-news .container` would otherwise hit the
   footer's container and `.single-news` would pad the whole body. */
main.single-news {
	padding: 0 0 var(--space-9);
}
main.single-news > .container {
	max-width: 1250px;
}

/* --- Breadcrumb: reuses the page-hero (.page-hero__breadcrumb) styling + chevron;
   only the spacing is specific to this template. --- */
.single-news__breadcrumb {
	margin-bottom: var(--space-6);
}

/* --- Layout: main + sidebar --- */
.single-news__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 370px;
	gap: var(--space-5);
	align-items: start;
}

/* --- Main column --- */
.single-news__main {
	border-right: 1px solid #f1f1f3;
	padding-right: var(--space-3);
}
.single-news__eyebrow {
	display: block;
	margin-bottom: var(--space-4);
	font-size: 20px !important;
	font-weight: 700 !important;
}
.single-news__title {
	margin: 0 0 var(--space-5);
}

.single-news__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-bottom: var(--space-5);
}
.single-news__share {
	display: flex;
	gap: 30px;
}
.single-news__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f1f1f3;
	color: var(--color-n-black);
	transition: background .2s cubic-bezier(.4,0,0,1), color .2s cubic-bezier(.4,0,0,1);
}
.single-news__share-link svg {
	width: 18px;
	height: 18px;
}
.single-news__share-link:hover {
	background: var(--color-n-black);
	color: var(--color-n-white);
}
.single-news__date {
	color: var(--color-n-black, #282829);
	white-space: nowrap;
}

.single-news__image {
	margin: 0 0 var(--space-5);
	padding-right: var(--space-8);
}
.single-news__image img {
	width: 100%;
	height: auto;
	display: block;
}

.single-news__content {
	color: var(--color-n-black);
	padding-right: var(--space-8);
}
.single-news__content p {
	margin: 0 0 var(--space-4);
}
.single-news__content img {
	max-width: 100%;
	height: auto;
}
.single-news__content a {
	color: var(--color-n-black, #282829);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.single-news__content a:hover {
	background: rgba(255,110,51,.25);
	box-shadow: 0 0 0 3px rgba(255,110,51,.25);
	color: #282829;
	text-decoration: none;
}

/* --- Prev / Next --- */
.single-news__nav {
	display: flex;
	justify-content: flex-start;
	gap: var(--space-5);
	margin-top: var(--space-7);
}
/* icon-left variant (mirrors the global c-btn--icon-right) */
.c-btn--icon-left .c-btn__icon {
	margin-right: .8em;
	margin-left: 1rem;
	order: 0;
	display: inline-flex;
	align-items: center;
}
.c-btn--icon-left .c-btn__icon svg {
	transform: scaleX(-1);
}
.c-btn--icon-left:hover:not([disabled]) .c-btn__icon svg,
.c-btn--icon-left:focus:not([disabled]) .c-btn__icon svg {
	transform: scaleX(-1) translateX(8px);
}

/* --- Sidebar: More --- */
.single-news__sidebar {
	position: relative;
}
/* Fade the bottom of the list out to the page background, with the
   "More News" button overlaid on top of the faded last card. */
.single-news__sidebar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 150px;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 92%);
	pointer-events: none;
	z-index: 1;
}
.single-news__more-title {
	margin: 0 0 var(--space-5);
}
.single-news__more-list {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	margin-bottom: 0;
}
.single-news__more-card {
	display: block;
	text-decoration: none;
	color: var(--color-n-black);
}
.single-news__more-image.o-ratio {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;          /* 370px column → 370px square */
	overflow: hidden;
	background: var(--accent-grey, #f1f1f3);
	margin-bottom: var(--space-3);
}
.single-news__more-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.single-news__more-card:hover .single-news__more-image img {
	transform: scale(1.04);
}
.single-news__more-date {
	display: block;
	color: var(--color-n-black, #282829);
	margin-bottom: var(--space-2);
	font-size: 17px !important;
}
.single-news__more-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-3);
}
.single-news__more-card-title {
	margin: 0;
}
.single-news__more-arrow {
	display: inline-flex;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--color-n-black);
	transform: translateX(-16px);   /* sits a bit in from the right edge at rest */
	transition: transform .25s ease;
}
.single-news__more-arrow svg {
	width: 100%;
	height: 100%;
}
.single-news__more-card:hover .single-news__more-arrow,
.single-news__more-card:focus-visible .single-news__more-arrow {
	transform: translateX(0);       /* slides to the far right of its container */
}
.single-news__more-btn {
	position: absolute;
	left: 50%;
	bottom: -28px;
	transform: translateX(-50%);
	display: flex;
	width: fit-content;
	margin: 0;
	z-index: 2;
}

/* --- Tablet / mobile --- */
@media only screen and (max-width: 991.98px) {
	.single-news__layout {
		grid-template-columns: 1fr;
		gap: var(--space-7);
	}
	.single-news__main {
		border-right: 0;
	}
}
