/**
 * GEP Homepage Design System
 * Applies to body.home only. Keeps all content; improves layout, typography, spacing, and visuals.
 * Uses existing GEP palette: #4db37c (primary), #1d7445 (dark green), #f5fff5 (light bg).
 */

/* ========== Design tokens ========== */
body.home,
body.gep-page-hsr,
body.gep-page-newsletter-landing,
body.gep-page-news-landing-hsr {
	--gep-primary: #4db37c;
	--gep-primary-dark: #3a9d6a;
	--gep-dark-green: #1d7445;
	--gep-bg-light: #f5fff5;
	--gep-bg-white: #ffffff;
	--gep-text: #1a1a1a;
	--gep-text-muted: #4a5568;
	--gep-border: rgba(77, 179, 124, 0.2);
	--gep-radius: 8px;
	--gep-radius-lg: 12px;
	--gep-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	--gep-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--gep-section-padding: clamp(2.5rem, 5vw, 4rem);
	--gep-container-max: 1200px;
	--gep-space-xs: 0.25rem;
	--gep-space-sm: 0.5rem;
	--gep-space-md: 1rem;
	--gep-space-lg: 1.5rem;
	--gep-space-xl: 2rem;
	--gep-heading-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--gep-body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========== Base page container ========== */
body.home .elementor-page {
	background: var(--gep-bg-white);
	color: var(--gep-text);
	font-family: var(--gep-body-font);
	line-height: 1.6;
}

/* ========== Sections – consistent spacing and max-width ========== */
body.home .elementor-section {
	padding-top: var(--gep-section-padding);
	padding-bottom: var(--gep-section-padding);
}

body.home .elementor-section.elementor-section-boxed>.elementor-container {
	max-width: var(--gep-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 4vw, 2rem);
	padding-right: clamp(1rem, 4vw, 2rem);
}

/* Alternate section backgrounds for visual rhythm */
body.home .elementor-section:nth-of-type(even):not(.elementor-section-stretched) {
	background-color: var(--gep-bg-light);
}

body.home .elementor-section.elementor-section-stretched {
	background-color: var(--gep-bg-white);
}

/* First section: reduced spacing for non-banner sections */
body.home .elementor-section:first-of-type {
	padding-top: clamp(0.75rem, 2vw, 1.25rem);
	padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

/* ========== Typography & titles ========== */
body.home .elementor-heading-title {
	font-family: var(--gep-heading-font);
	font-weight: 700;
	color: var(--gep-text);
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 0.5em;
	word-wrap: break-word;
}

body.home .elementor-widget-container>.elementor-heading-title:first-child {
	margin-top: 0;
}

body.home .elementor-widget-text-editor,
body.home .elementor-widget-theme-post-content,
body.home .elementor-widget-text-editor p,
body.home .elementor-widget-theme-post-content p {
	color: var(--gep-text);
	font-size: 1rem;
	line-height: 1.65;
	margin-bottom: 0.75em;
}

body.home .elementor-widget-text-editor p:last-child,
body.home .elementor-widget-theme-post-content p:last-child {
	margin-bottom: 0;
}

body.home .elementor-widget-text-editor a,
body.home .elementor-widget-theme-post-content a {
	color: var(--gep-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

body.home .elementor-widget-text-editor a:hover,
body.home .elementor-widget-theme-post-content a:hover {
	color: var(--gep-primary-dark);
}

/* ========== Buttons ========== */
body.home .elementor-button-wrapper .elementor-button,
body.home .elementor-widget-button .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75em 1.5em;
	font-family: var(--gep-body-font);
	font-weight: 600;
	font-size: 1rem;
	border-radius: var(--gep-radius);
	border: 2px solid var(--gep-primary);
	background: var(--gep-primary);
	color: #fff !important;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
	box-shadow: var(--gep-shadow);
}

body.home .elementor-button-wrapper .elementor-button:hover,
body.home .elementor-widget-button .elementor-button:hover {
	background: var(--gep-primary-dark);
	border-color: var(--gep-primary-dark);
	transform: translateY(-1px);
	box-shadow: var(--gep-shadow-md);
}

body.home .elementor-button-wrapper .elementor-button:focus,
body.home .elementor-widget-button .elementor-button:focus {
	outline: 2px solid var(--gep-primary);
	outline-offset: 2px;
}

/* ========== Images ========== */
body.home .elementor-widget-image img {
	border-radius: var(--gep-radius);
	box-shadow: var(--gep-shadow);
	display: block;
}

body.home .elementor-widget-image a {
	display: block;
}

/* ========== Column gaps and cards ========== */
body.home .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
	padding: 0.75rem;
}

body.home .elementor-column-gap-narrow>.elementor-column>.elementor-element-populated {
	padding: 0.5rem;
}

body.home .elementor-column-gap-extended>.elementor-column>.elementor-element-populated {
	padding: 1rem;
}

body.home .elementor-column-gap-wide>.elementor-column>.elementor-element-populated {
	padding: 1.25rem;
}

body.home .elementor-column-gap-wider>.elementor-column>.elementor-element-populated {
	padding: 1.5rem;
}

/* Widget wrap: only add gap where safe – do not force flex direction (Elementor controls layout) */
body.home .elementor-column-wrap .elementor-widget-wrap {
	gap: 0.5em;
}

/* ========== Lists ========== */
body.home .elementor-widget-text-editor ul,
body.home .elementor-widget-theme-post-content ul,
body.home .elementor-widget-text-editor ol,
body.home .elementor-widget-theme-post-content ol {
	margin: 0.75em 0;
	padding-left: 1.5em;
}

body.home .elementor-widget-text-editor li,
body.home .elementor-widget-theme-post-content li {
	margin-bottom: 0.35em;
}

/* ========== Responsive – tighter spacing on small screens ========== */
@media (max-width: 1024px) {
	body.home {
		--gep-section-padding: clamp(2rem, 4vw, 3rem);
	}

	body.home .elementor-section.elementor-section-boxed>.elementor-container {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	body.home .elementor-heading-title {
		font-size: clamp(1.375rem, 4vw, 1.75rem);
	}
}

@media (max-width: 768px) {
	body.home {
		--gep-section-padding: clamp(1.5rem, 4vw, 2.5rem);
	}

	body.home .elementor-section.elementor-section-boxed>.elementor-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.home .elementor-heading-title {
		font-size: clamp(1.25rem, 5vw, 1.5rem);
	}

	body.home .elementor-button-wrapper .elementor-button,
	body.home .elementor-widget-button .elementor-button {
		padding: 0.65em 1.25em;
		font-size: 0.9375rem;
		min-height: 44px;
		/* touch target */
	}
}

@media (max-width: 480px) {
	body.home {
		--gep-section-padding: clamp(1.25rem, 4vw, 2rem);
	}

	body.home .elementor-section.elementor-section-boxed>.elementor-container {
		padding-left: 0.875rem;
		padding-right: 0.875rem;
	}

	body.home .elementor-heading-title {
		font-size: clamp(1.125rem, 5vw, 1.375rem);
	}

	body.home .elementor-button-wrapper .elementor-button,
	body.home .elementor-widget-button .elementor-button {
		min-height: 44px;
		padding: 0.6em 1em;
	}
}

/* Extra small screens */
@media (max-width: 360px) {
	body.home .elementor-section.elementor-section-boxed>.elementor-container {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}

/* ========== Homepage Banner: Real Estate Updates (title + featured + Most Read) ========== */
.gep-homepage-banner {
	width: 100%;
	position: relative;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 2rem);
	overflow: hidden;
	box-sizing: border-box;
	background-color: #f5fff5;
}

.gep-homepage-banner::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--gep-primary) 0%, #f0d876 50%, var(--gep-primary) 100%);
	opacity: 0.9;
}

.gep-banner-inner {
	max-width: var(--gep-container-max);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.gep-banner-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(77, 179, 124, 0.2);
}

.gep-banner-title {
	font-family: var(--gep-heading-font);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: var(--gep-dark-green);
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.2;
	position: relative;
	padding-bottom: 0.5rem;
	display: inline-block;
}

.gep-banner-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 56px;
	height: 4px;
	background: linear-gradient(90deg, var(--gep-primary), #f0d876);
	border-radius: 2px;
}

.gep-banner-sub {
	font-size: 0.9375rem;
	color: var(--gep-text-muted);
	margin-top: 0.5rem;
	line-height: 1.5;
}

/* Featured card + Most Read – unified card styling (no box-shadow or border on parent cards) */
.gep-homepage-banner .gep-featured-news-section,
.gep-homepage-banner .gep-featured-news-card {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: none;
	border: none;
	background: #f5fff5;
	transition: transform 0.3s ease;
}

.gep-homepage-banner .gep-featured-news-card:hover {
	box-shadow: none;
	transform: translateY(-2px);
}

/* Limit main featured image height in banner (PR/SIF landing, Real Estate Updates) */
.gep-homepage-banner .gep-featured-news-image {
	max-height: 280px;
	overflow: hidden;
}
.gep-homepage-banner .gep-featured-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-height: 280px;
}

#gep-featured-news-home,
#gep-featured-news-home .gep-featured-news-card {
	border: none !important;
	box-shadow: none !important;
}

#gep-featured-news-home .gep-featured-news-card:hover {
	box-shadow: none !important;
}

.gep-homepage-banner .most-read-widget {
	box-shadow: none;
	border: none;
	border-radius: 14px;
	overflow: hidden;
}

/* ========== PR Landing – Most Read section (right sidebar) full styling ========== */
.gep-pr-landing-banner #gep-pr-most-read.gep-most-read-widget {
	background: #f8fcf9;
	padding: 0 12px 14px;
	border: 1px solid rgba(77, 179, 124, 0.35);
	border-radius: 6px;
	max-width: 100%;
	font-family: var(--gep-body-font, Inter, -apple-system, sans-serif);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.gep-pr-landing-banner #gep-pr-most-read .gep-widget-title {
	background: var(--gep-primary, #4db37c);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	border-radius: 6px 6px 0 0;
	margin: 0 -12px 10px -12px;
	letter-spacing: 0.02em;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-arrow {
	font-size: 12px;
	margin-left: 4px;
	opacity: 0.9;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(77, 179, 124, 0.12);
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-link {
	display: flex;
	text-decoration: none;
	color: inherit;
	gap: 10px;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-img {
	width: 72px;
	min-width: 72px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid rgba(77, 179, 124, 0.15);
	background: #fff;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-content {
	flex: 1;
	min-width: 0;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-category {
	font-size: 10px;
	font-weight: 700;
	color: var(--gep-primary, #4db37c);
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	margin-bottom: 3px;
	letter-spacing: 0.04em;
	gap: 2px;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-title {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-more-news-link {
	display: block;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid rgba(77, 179, 124, 0.15);
	text-align: right;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-more-news-link p {
	display: inline;
	margin: 0;
	font-size: 13px;
	color: var(--gep-primary, #4db37c);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-more-news-link:hover p {
	color: #388f64;
}
.gep-pr-landing-banner #gep-pr-most-read .gep-more-news-link .arrow {
	margin-left: 4px;
	font-size: 12px;
	vertical-align: middle;
}

@media (max-width: 768px) {
	.gep-pr-landing-banner #gep-pr-most-read.gep-most-read-widget {
		max-width: 100%;
		width: 100%;
		display: block;
		min-height: 120px;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-slider-wrap {
		overflow: hidden;
		margin: 0 -12px;
		min-height: 100px;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-list {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 12px;
		margin: 0;
		padding: 8px 12px 12px;
		list-style: none;
		scrollbar-width: thin;
		min-height: 90px;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-list::-webkit-scrollbar {
		height: 4px;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-list::-webkit-scrollbar-thumb {
		background: rgba(77, 179, 124, 0.4);
		border-radius: 2px;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-item {
		flex: 0 0 85%;
		min-width: 85%;
		max-width: 85%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-item:last-child {
		margin-right: 12px;
	}
	.gep-pr-landing-banner #gep-pr-most-read .gep-most-read-link {
		display: flex;
		flex-direction: row;
		gap: 10px;
		padding: 8px;
		background: #fff;
		border-radius: 6px;
		border: none;
		box-shadow: none;
	}
}

/* ========== SIF Landing – Most Read section (right sidebar) full styling ========== */
.gep-sif-landing-banner #gep-sif-most-read.gep-most-read-widget {
	background: #f8fcf9;
	padding: 0 12px 14px;
	border: none;
	border-radius: 6px;
	max-width: 100%;
	font-family: var(--gep-body-font, Inter, -apple-system, sans-serif);
	box-shadow: none;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-widget-title {
	background: var(--gep-primary, #4db37c);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	border-radius: 6px 6px 0 0;
	margin: 0 -12px 10px -12px;
	letter-spacing: 0.02em;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-arrow {
	font-size: 12px;
	margin-left: 4px;
	opacity: 0.9;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(77, 179, 124, 0.12);
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-link {
	display: flex;
	text-decoration: none;
	color: inherit;
	gap: 10px;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-img {
	width: 72px;
	min-width: 72px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid rgba(77, 179, 124, 0.15);
	background: #fff;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-content {
	flex: 1;
	min-width: 0;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-category {
	font-size: 10px;
	font-weight: 700;
	color: var(--gep-primary, #4db37c);
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	margin-bottom: 3px;
	letter-spacing: 0.04em;
	gap: 2px;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-title {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-more-news-link {
	display: block;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid rgba(77, 179, 124, 0.15);
	text-align: right;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-more-news-link p {
	display: inline;
	margin: 0;
	font-size: 13px;
	color: var(--gep-primary, #4db37c);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-more-news-link:hover p {
	color: #388f64;
}
.gep-sif-landing-banner #gep-sif-most-read .gep-more-news-link .arrow {
	margin-left: 4px;
	font-size: 12px;
	vertical-align: middle;
}

@media (max-width: 768px) {
	.gep-sif-landing-banner #gep-sif-most-read.gep-most-read-widget {
		max-width: 100%;
		width: 100%;
		display: block;
		min-height: 120px;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-slider-wrap {
		overflow: hidden;
		margin: 0 -12px;
		min-height: 100px;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-list {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 12px;
		margin: 0;
		padding: 8px 12px 12px;
		list-style: none;
		scrollbar-width: thin;
		min-height: 90px;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-list::-webkit-scrollbar {
		height: 4px;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-list::-webkit-scrollbar-thumb {
		background: rgba(77, 179, 124, 0.4);
		border-radius: 2px;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-item {
		flex: 0 0 85%;
		min-width: 85%;
		max-width: 85%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-item:last-child {
		margin-right: 12px;
	}
	.gep-sif-landing-banner #gep-sif-most-read .gep-most-read-link {
		display: flex;
		flex-direction: row;
		gap: 10px;
		padding: 8px;
		background: #fff;
		border-radius: 6px;
		border: none;
		box-shadow: none;
	}
}

/* ========== Real Estate Updates 2-column layout ========== */
.gep-homepage-banner .gep-updates-columns,
body.home .gep-updates-columns,
body.gep-page-news-landing-hsr .gep-updates-columns,
body.gep-page-pr-landing-hsr .gep-updates-columns,
body.gep-page-sif-landing-hsr .gep-updates-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: flex-start;
}

.gep-homepage-banner .gep-updates-main,
body.home .gep-updates-main,
body.gep-page-news-landing-hsr .gep-updates-main,
body.gep-page-pr-landing-hsr .gep-updates-main,
body.gep-page-sif-landing-hsr .gep-updates-main {
	flex: 1 1 60%;
	min-width: 0;
}

.gep-homepage-banner .gep-updates-sidebar,
body.home .gep-updates-sidebar,
body.gep-page-news-landing-hsr .gep-updates-sidebar,
body.gep-page-pr-landing-hsr .gep-updates-sidebar,
body.gep-page-sif-landing-hsr .gep-updates-sidebar {
	flex: 1 1 320px;
	min-width: 0;
}

.gep-homepage-banner .gep-updates-sidebar .more-news-container,
body.home .gep-updates-sidebar .more-news-container,
body.gep-page-news-landing-hsr .gep-updates-sidebar .more-news-container,
body.gep-page-pr-landing-hsr .gep-updates-sidebar .more-news-container,
body.gep-page-sif-landing-hsr .gep-updates-sidebar .more-news-container {
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
}

/* News/PR/SIF landing: undo news-style.css absolute/left so Most Read stays in flex layout (match homepage) */
body.gep-page-news-landing-hsr .gep-homepage-updates .gep-updates-sidebar .more-news-container,
body.gep-page-pr-landing-hsr .gep-pr-landing-banner .gep-updates-sidebar .more-news-container,
body.gep-page-sif-landing-hsr .gep-sif-landing-banner .gep-updates-sidebar .more-news-container,
.gep-news-landing-hsr-page .gep-homepage-updates .gep-updates-sidebar .more-news-container {
	position: relative !important;
	left: auto !important;
	margin-left: 0 !important;
}

@media (max-width: 899px) {

	.gep-homepage-banner .gep-updates-main,
	.gep-homepage-banner .gep-updates-sidebar,
	body.home .gep-updates-main,
	body.home .gep-updates-sidebar,
	body.gep-page-news-landing-hsr .gep-updates-main,
	body.gep-page-news-landing-hsr .gep-updates-sidebar,
	body.gep-page-pr-landing-hsr .gep-updates-main,
	body.gep-page-pr-landing-hsr .gep-updates-sidebar,
	body.gep-page-sif-landing-hsr .gep-updates-main,
	body.gep-page-sif-landing-hsr .gep-updates-sidebar {
		flex: 1 1 100%;
	}
}

@media (max-width: 600px) {
	.gep-homepage-banner {
		padding: 1.5rem 1rem;
	}

	.gep-banner-header {
		margin-bottom: 1.25rem;
		padding-bottom: 0.75rem;
	}

	.gep-banner-title::after {
		width: 40px;
		height: 3px;
	}
}

/* ========== PR & SIF Landing – search + listings grid + Load More (same layout for both) ========== */
.gep-sif-landing-hsr-page .gep-hsr-browse-section {
	background: #f5fff5;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-wrap,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-wrap {
	margin-bottom: 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-label,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gep-text-muted, #555);
	margin-bottom: 0.5rem;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input {
	width: 100%;
	max-width: 320px;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	border: 1px solid rgba(77, 179, 124, 0.3);
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input:focus,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input:focus {
	outline: none;
	border-color: var(--gep-primary, #4db37c);
	box-shadow: 0 0 0 2px rgba(77, 179, 124, 0.2);
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input::placeholder,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input::placeholder {
	color: #888;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-row,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-input {
	max-width: 280px;
	margin-right: 0;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-btn,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-btn {
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: var(--gep-primary, #4db37c);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-btn:hover,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-search-btn:hover {
	background: #388f64;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-show-all-btn,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-show-all-btn {
	background: transparent;
	color: var(--gep-primary, #4db37c);
	border: 1px solid var(--gep-primary, #4db37c);
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-show-all-btn:hover,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-show-all-btn:hover {
	background: rgba(77, 179, 124, 0.1);
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .gep-cards-loading,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .gep-cards-loading {
	margin: 1rem 0;
	color: var(--gep-text-muted, #555);
	font-size: 0.9375rem;
}

/* Wrapper: reduced padding and gap for smaller child cards */
.gep-pr-landing-hsr-page .gep-hsr-browse-section .pr-listings-wrapper,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .pr-listings-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 12px 16px;
	align-items: stretch;
	box-sizing: border-box;
}
/* Child cards: reduced size, responsive */
.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card {
	background: #ffffff;
	flex: 1 1 calc(25% - 16px);
	max-width: calc(25% - 16px);
	min-width: 0;
	min-height: 260px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	box-sizing: border-box;
	color: inherit;
	border-radius: 10px;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card img.blog-image,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card img.blog-image {
	width: 100%;
	height: 100px;
	object-fit: cover;
	flex-shrink: 0;
}
/* Title */
.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .title,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #333;
	margin: 8px 10px 4px;
	flex-shrink: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.3;
}
/* Description after title */
.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .content,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .content {
	font-size: 0.8125rem;
	color: #555;
	margin: 0 10px 12px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	flex: 1;
	min-height: 0;
}
@media (max-width: 1200px) {
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card {
		flex: 1 1 calc(33.33% - 12px);
		max-width: calc(33.33% - 12px);
		min-height: 240px;
	}
}
@media (max-width: 900px) {
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card {
		flex: 1 1 calc(50% - 10px);
		max-width: calc(50% - 10px);
		min-height: 220px;
	}
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card img.blog-image,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card img.blog-image {
		height: 90px;
	}
}
@media (max-width: 600px) {
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .pr-listings-wrapper,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .pr-listings-wrapper {
		gap: 12px;
		padding: 8px 12px;
	}
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card {
		flex: 1 1 100%;
		max-width: 100%;
		min-height: 200px;
	}
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card img.blog-image,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card img.blog-image {
		height: 80px;
	}
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .title,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .title {
		font-size: 0.9rem;
		margin: 6px 8px 2px;
	}
	.gep-pr-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .content,
	.gep-sif-landing-hsr-page .gep-hsr-browse-section .p-and-r-card .content {
		font-size: 0.75rem;
		margin: 0 8px 10px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .frame-51,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .frame-51 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 23px;
	width: 100%;
	max-width: 100%;
	margin: 40px auto;
	box-sizing: border-box;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .vector-52,
.gep-pr-landing-hsr-page .gep-hsr-browse-section .vector-54,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .vector-52,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .vector-54 {
	flex-shrink: 0;
	flex: 1;
	min-width: 0;
	height: 1px;
	background: var(--gep-primary, #4db37c);
	opacity: 0.4;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .frame-53,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .frame-53 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 28px;
	border: 1px solid var(--gep-primary, #4db37c);
	cursor: pointer;
	transition: all 0.3s ease;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .frame-53:hover,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .frame-53:hover {
	background: var(--gep-primary, #4db37c);
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .frame-53:hover .more-news,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .frame-53:hover .more-news {
	color: #fff;
}
.gep-pr-landing-hsr-page .gep-hsr-browse-section .more-news,
.gep-sif-landing-hsr-page .gep-hsr-browse-section .more-news {
	color: var(--gep-primary, #4db37c);
	font-weight: 600;
	font-size: 20px;
}

/* ========== Premium Newsletter – unified section (4 cards + buy button) ========== */
.gep-newsletter-section {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 3.5rem);
	background: linear-gradient(135deg, #0d5c36 0%, #1d7445 35%, #2d8b54 70%, #3a9d6a 100%);
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.gep-newsletter-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

body.home .gep-newsletter-inner,
.gep-newsletter-section .gep-newsletter-inner {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	padding-left: clamp(1rem, 4vw, 2rem);
	padding-right: clamp(1rem, 4vw, 2rem);
}

.gep-newsletter-heading {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #fff;
	text-align: center;
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.gep-newsletter-sub {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
	margin: 0 0 2rem;
	line-height: 1.55;
}

/* 4 newsletter category cards */
.gep-newsletter-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.gep-newsletter-card {
	background: rgba(255, 255, 255, 0.98);
	border-radius: 14px;
	padding: 1.75rem 1.25rem;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	backdrop-filter: blur(8px);
}

.gep-newsletter-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
	background: #fff;
}

.gep-newsletter-card-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 1rem;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #4db37c 0%, #2d8b54 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(77, 179, 124, 0.35);
	transition: transform 0.2s ease;
}

.gep-newsletter-card:hover .gep-newsletter-card-icon {
	transform: scale(1.08);
}

.gep-newsletter-card-icon svg {
	flex-shrink: 0;
}

.gep-newsletter-card-label {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gep-dark-green);
	display: block;
	margin-bottom: 0.5rem;
}

.gep-newsletter-card-desc {
	font-size: 0.875rem;
	color: #4a5568;
	line-height: 1.5;
	margin: 0;
}

/* Buy / Subscribe button */
.gep-newsletter-cta-wrap {
	text-align: center;
}

.gep-newsletter-buy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2.25rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #14663c !important;
	background: #f0d876;
	border: 2px solid #f0d876;
	border-radius: 50px;
	text-decoration: none !important;
	box-shadow: 0 4px 20px rgba(240, 216, 118, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gep-newsletter-buy-btn:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 28px rgba(240, 216, 118, 0.5);
	background: #fff;
	color: #1d7445 !important;
	border-color: #fff;
}

.gep-nl-btn-arrow {
	font-size: 1.25em;
	opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
	.gep-newsletter-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.gep-newsletter-cards {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	.gep-newsletter-buy-btn {
		width: 100%;
		max-width: 320px;
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
	}
}

/* ========== Housing Society Reports section ========== */
.gep-hsr-section {
	width: 100%;
	background: linear-gradient(180deg, #f8fcf9 0%, #fff 50%);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.gep-hsr-inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	min-height: 420px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(29, 116, 69, 0.12), 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(77, 179, 124, 0.15);
}

.gep-hsr-image {
	flex: 0 0 320px;
	min-width: 200px;
	min-height: 100%;
	width: 100%;
	/* Image + gradient set inline; both layers use cover/center */
	background-size: cover, cover;
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
}

.gep-hsr-content {
	flex: 1;
	padding: 2rem 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.gep-hsr-header {
	margin-bottom: 1.5rem;
}

.gep-hsr-title-link {
	text-decoration: none;
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	transition: color 0.2s ease;
}

.gep-hsr-title-link:hover {
	color: var(--gep-primary);
}

.gep-hsr-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.gep-hsr-title-icon {
	font-size: 1.25em;
	color: var(--gep-primary);
	transition: transform 0.2s ease;
}

.gep-hsr-title-link:hover .gep-hsr-title-icon {
	transform: translateX(4px);
}

.gep-hsr-desc {
	font-size: 0.9375rem;
	color: var(--gep-text-muted);
	line-height: 1.6;
	margin: 0;
}

.gep-hsr-features {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.gep-hsr-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 1;
	min-width: 200px;
}

.gep-hsr-feature {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(77, 179, 124, 0.1);
}

.gep-hsr-feature:last-child {
	border-bottom: 0;
}

.gep-hsr-feature-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gep-primary);
}

.gep-hsr-feature-desc {
	font-size: 0.8125rem;
	color: var(--gep-text-muted);
	line-height: 1.45;
}

.gep-hsr-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff !important;
	background: linear-gradient(135deg, var(--gep-dark-green) 0%, var(--gep-primary) 100%);
	border-radius: 50px;
	text-decoration: none !important;
	align-self: flex-start;
	box-shadow: 0 4px 16px rgba(29, 116, 69, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gep-hsr-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(29, 116, 69, 0.4);
	color: #fff !important;
}

.gep-hsr-cta-arrow {
	font-size: 1.2em;
	opacity: 0.9;
}

@media (max-width: 1024px) {
	.gep-hsr-inner {
		flex-direction: column;
		min-height: 0;
	}

	.gep-hsr-image {
		flex: none;
		height: 220px;
		min-width: 0;
	}

	.gep-hsr-content {
		padding: 1.5rem 1.5rem 2rem;
	}

	.gep-hsr-features {
		flex-direction: column;
		gap: 1rem;
	}

	.gep-hsr-col {
		min-width: 0;
	}
}

@media (max-width: 600px) {
	.gep-hsr-image {
		height: 180px;
	}

	.gep-hsr-content {
		padding: 1.25rem 1rem 1.5rem;
	}

	.gep-hsr-title {
		font-size: 1.375rem;
	}

	.gep-hsr-desc {
		font-size: 0.875rem;
	}

	.gep-hsr-cta-btn {
		width: 100%;
		justify-content: center;
	}
}

/* ========== HSR page: Archivable Data Points section ========== */
.gep-hsr-archivable-section {
	max-width: 1140px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 2rem);
	background: #fff;
}

.gep-hsr-archivable-section .archivable-data-points {
	display: block;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--gep-primary, #2d734a);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.gep-hsr-archivable-section .archivable-data-points-desc,
.gep-hsr-dynamic-section .dynamic-data-points-desc {
	font-size: 0.9375rem;
	color: var(--gep-text-muted, #555);
	line-height: 1.55;
	margin: 0 0 1.75rem;
}

.gep-hsr-dynamic-section .dynamic-data-points {
	display: block;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--gep-primary, #2d734a);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.gep-hsr-dynamic-section {
	margin-top: 1rem;
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid rgba(77, 179, 124, 0.12);
}

.gep-hsr-archivable-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.gep-hsr-archivable-toggle {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.gep-hsr-archivable-toggle details {
	border-bottom: 1px solid rgba(77, 179, 124, 0.15);
}

.gep-hsr-archivable-toggle details:last-child {
	border-bottom: 0;
}

.gep-hsr-archivable-toggle summary {
	list-style: none;
	cursor: pointer;
	padding: 0.85rem 0.75rem 0.85rem 0;
	font-weight: 600;
	font-size: 0.9375rem;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.2s ease;
}

.gep-hsr-archivable-toggle summary::-webkit-details-marker,
.gep-hsr-archivable-toggle summary::marker {
	display: none;
}

.gep-hsr-archivable-toggle summary::before {
	content: "\25B6";
	font-size: 0.65rem;
	color: var(--gep-primary, #2d734a);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.gep-hsr-archivable-toggle details[open] summary::before {
	transform: rotate(90deg);
}

.gep-hsr-archivable-toggle summary:hover {
	color: var(--gep-primary, #2d734a);
}

.gep-hsr-archivable-content {
	padding: 0 0 1rem 1.25rem;
}

.gep-hsr-archivable-content p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #444;
}

@media (max-width: 768px) {
	.gep-hsr-archivable-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.gep-hsr-archivable-section {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* ========== HSR page: full layout (hero, browse, methodology) ========== */
/* Force Inter font everywhere on HSR page and Newsletter Landing (header, main, sidebar, methodology, WooCommerce) */
body.gep-page-hsr,
body.gep-page-hsr *,
body.gep-page-hsr *::before,
body.gep-page-hsr *::after,
body.gep-page-newsletter-landing,
body.gep-page-newsletter-landing *,
body.gep-page-newsletter-landing *::before,
body.gep-page-newsletter-landing *::after {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.gep-hsr-page {
	background: #f5fff5;
	padding-bottom: 0;
	display: block;
}

.gep-pt-page-wrap {
	display: block;
	width: 100%;
}

.gep-hsr-page-hero {
	margin-top: clamp(1rem, 3vw, 1.5rem);
	margin-left: clamp(1rem, 4vw, 2rem);
	margin-right: clamp(1rem, 4vw, 2rem);
	margin-bottom: 0.5rem;
	display: block;
}

body.gep-page-newsletter-landing .gep-hsr-page-hero.gep-hero-no-tagline {
	margin-bottom: 1.5rem;
}

.gep-hsr-page-hero .gep-pt-page-title {
	margin-bottom: 0.25rem;
}

/* Force green bar title on HSR + Newsletter (override Elementor/theme h1) */
body.gep-page-hsr .gep-hsr-page-hero .gep-pt-page-title,
body.gep-page-newsletter-landing .gep-hsr-page-hero .gep-pt-page-title {
	color: #fff !important;
	background: linear-gradient(155deg, #24754a 0%, #2d8a5b 50%, #268056 100%) !important;
	padding: 14px 20px !important;
	margin: 0 0 20px 0 !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 12px rgba(45, 138, 91, 0.2) !important;
	width: 100% !important;
	box-sizing: border-box !important;
	letter-spacing: 0.02em !important;
}

.gep-hsr-page-tagline {
	margin: 0 0 1.5rem;
	padding: 0 20px;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--gep-text-muted, #5a6b63);
	font-weight: 400;
}

/* Newsletter: spacer so vertical rhythm matches HSR (HSR has value-prop section here) */
.gep-hsr-value-prop-spacer {
	min-height: 320px;
	width: 100%;
}

@media (max-width: 768px) {
	.gep-hsr-value-prop-spacer {
		min-height: 200px;
	}
}

@media (max-width: 480px) {
	.gep-hsr-value-prop-spacer {
		min-height: 120px;
	}
}

.gep-hsr-page .gep-hsr-section {
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* On HSR page use scroll CTA instead of generic CTA */
.gep-hsr-page .gep-hsr-cta-btn {
	display: none;
}

/* Scroll CTA: "Browse reports" */
.gep-hsr-scroll-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 auto 2.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--gep-primary, #2d734a);
	text-decoration: none;
	border: 2px solid rgba(45, 115, 74, 0.35);
	border-radius: 50px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(45, 115, 74, 0.08);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	width: fit-content;
	max-width: calc(100% - 2rem);
	margin-left: clamp(1rem, 4vw, 2rem);
	margin-right: auto;
}

.gep-hsr-scroll-cta:hover {
	background: var(--gep-primary, #2d734a);
	color: #fff !important;
	border-color: var(--gep-primary, #2d734a);
	transform: translateY(-2px);
}

.gep-hsr-scroll-cta span {
	font-size: 1.1em;
	opacity: 0.9;
}

/* Browse section: "Choose Your Report" */
.gep-hsr-browse-section {
	scroll-margin-top: 1.5rem;
	background: transparent;
	padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	border: none;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

/* Force Inter in "Choose Your Report" section: title, subtitle, cards grid, sidebar */
body.gep-page-hsr .gep-hsr-browse-section,
body.gep-page-hsr .gep-hsr-browse-section *,
body.gep-page-hsr .gep-hsr-browse-header,
body.gep-page-hsr .gep-hsr-section-heading,
body.gep-page-hsr .gep-hsr-section-sub,
body.gep-page-hsr .gep-pt-main,
body.gep-page-hsr .gep-pt-main *,
body.gep-page-hsr .gep-pt-sidebar,
body.gep-page-hsr .gep-pt-sidebar *,
body.gep-page-hsr .gep-filter-sidebar-wrap,
body.gep-page-hsr .gep-filter-redesign,
body.gep-page-hsr .gep-filter-title,
body.gep-page-hsr .gep-filter-section-label,
body.gep-page-hsr .gep-filter-checkbox-item,
body.gep-page-hsr .gep-filter-search-input,
body.gep-page-hsr .gep-hsr-search-bar,
body.gep-page-hsr .gep-pt-listings-wrap *,
body.gep-page-hsr .p-t-card,
body.gep-page-hsr .p-t-card *,
body.gep-page-hsr .pt-listings *,
body.gep-page-hsr .hsr-grid-wrapper,
body.gep-page-hsr .hsr-grid-wrapper *,
body.gep-page-hsr .hsr-card,
body.gep-page-hsr .hsr-card h3,
body.gep-page-hsr input::placeholder,
body.gep-page-hsr .gep-filter-search-input::placeholder {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.gep-hsr-browse-header {
	margin-bottom: 1.5rem;
}

.gep-hsr-section-heading {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 0.5rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.gep-hsr-section-sub {
	font-size: 0.9375rem;
	color: var(--gep-text-muted, #555);
	line-height: 1.5;
	margin: 0;
}

.gep-hsr-browse-section .gep-pt-page-layout {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	align-items: flex-start;
}

.gep-hsr-browse-section .gep-pt-page-layout .gep-pt-main {
	flex: 1;
	min-width: 0;
	min-height: 200px;
}

.gep-hsr-browse-section .gep-pt-page-layout .gep-pt-sidebar {
	display: block !important;
	visibility: visible !important;
	flex-shrink: 0;
	width: 320px;
	min-width: 280px;
	max-width: 100%;
}

.gep-hsr-browse-section .gep-pt-sidebar .gep-filter-sidebar-wrap {
	display: block !important;
	visibility: visible !important;
}

/* HSR page: force right-sidebar filter to be visible (high specificity) */
body.gep-page-hsr .gep-hsr-browse-section .gep-pt-page-layout {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

body.gep-page-hsr .gep-hsr-browse-section .gep-pt-page-layout .gep-pt-main {
	flex: 1 1 0%;
	min-width: 0;
	order: 1;
}

body.gep-page-hsr .gep-hsr-browse-section .gep-pt-page-layout .gep-pt-sidebar {
	display: block !important;
	visibility: visible !important;
	flex: 0 0 320px;
	width: 320px;
	min-width: 280px;
	max-width: 100%;
	order: 2;
}

body.gep-page-hsr .gep-hsr-browse-section .gep-pt-sidebar .gep-filter-sidebar-wrap {
	display: block !important;
	visibility: visible !important;
}

body.gep-page-hsr #hsr-filters {
	display: block !important;
	visibility: visible !important;
}

body.gep-page-hsr .gep-filter-container {
	display: flex !important;
	flex-direction: column !important;
	visibility: visible !important;
	width: 100% !important;
	max-width: 320px !important;
	min-height: 592px !important;
	border: 1px solid #4db37c;
	position: unset !important;
	z-index: 2;
	box-sizing: border-box;
}

/* Methodology: "What's in Every Report" */
.gep-hsr-methodology-wrap {
	background: linear-gradient(180deg, #f8fcf9 0%, #f0f7f2 100%);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
	border-top: 1px solid rgba(77, 179, 124, 0.08);
}

.gep-hsr-methodology-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.gep-hsr-methodology-title {
	color: var(--gep-primary, #2d734a) !important;
	margin-bottom: 0.75rem !important;
}

.gep-hsr-methodology-intro {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--gep-text-muted, #555);
	margin: 0 0 2.5rem;
	max-width: 720px;
}

.gep-hsr-methodology-wrap .gep-hsr-archivable-section {
	background: #fff;
	border-radius: 12px;
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 2px 16px rgba(26, 36, 32, 0.04);
	border: 1px solid rgba(77, 179, 124, 0.08);
	margin-bottom: 1.5rem;
}

.gep-hsr-methodology-wrap .gep-hsr-dynamic-section {
	margin-top: 0;
	border-top: 1px solid rgba(77, 179, 124, 0.12);
	background: #fff;
	border-radius: 12px;
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 2px 16px rgba(26, 36, 32, 0.04);
	border: 1px solid rgba(77, 179, 124, 0.08);
}

.gep-hsr-methodology-wrap .gep-hsr-archivable-section .archivable-data-points,
.gep-hsr-methodology-wrap .gep-hsr-dynamic-section .dynamic-data-points {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* Newsletter Landing: same design as HSR, single column (no sidebar) */
body.gep-page-newsletter-landing .gep-newsletter-content-section .gep-pt-main {
	flex: 1 1 100%;
	min-width: 0;
}
body.gep-page-newsletter-landing .gep-newsletter-page-content {
	max-width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
	min-height: 1px;
}

body.gep-page-newsletter-landing .gep-newsletter-page-content .elementor-section,
body.gep-page-newsletter-landing .gep-newsletter-page-content .elementor-widget-wrap {
	max-width: 100%;
	box-sizing: border-box;
}

/* Newsletter: content inside white card; remove double top margin on first section */
body.gep-page-newsletter-landing .gep-newsletter-content-section .gep-newsletter-page-content .elementor-section:first-child {
	margin-top: 0;
}

/* Newsletter: optional intro above dynamic listings */
body.gep-page-newsletter-landing .gep-newsletter-intro {
	margin-bottom: 1.5rem;
}

body.gep-page-newsletter-landing .gep-newsletter-intro p:last-child {
	margin-bottom: 0;
}

/* Newsletter landing: listings grid inside white card */
body.gep-page-newsletter-landing .gep-newsletter-content-section .newsletter-listings-wrapper,
.gep-newsletter-landing-page .gep-newsletter-content-section .newsletter-listings-wrapper {
	max-width: 100%;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}

body.gep-page-newsletter-landing .gep-newsletter-content-section .gep-hsr-browse-header,
.gep-newsletter-landing-page .gep-newsletter-content-section .gep-hsr-browse-header {
	margin-bottom: 0.5rem;
}

/* Newsletter landing: marketing intro paragraph (product explanation) */
body.gep-page-newsletter-landing .gep-newsletter-marketing-intro,
.gep-newsletter-landing-page .gep-newsletter-marketing-intro {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--gep-text-muted, #555);
	margin: 0 0 0.75rem 0;
	max-width: none;
	width: 100%;
}

/* News landing: hide repeated "Real Estate Updates" title and border in updates section */
body.gep-page-news-landing-hsr .gep-homepage-updates .gep-banner-header,
.gep-news-landing-hsr-page .gep-homepage-updates .gep-banner-header {
	display: none !important;
}

/* News landing: remove gradient line below hero paragraph (banner ::after) */
body.gep-page-news-landing-hsr .gep-homepage-updates.gep-homepage-banner::after,
.gep-news-landing-hsr-page .gep-homepage-updates.gep-homepage-banner::after {
	display: none !important;
}

/* News landing: reduce space between hero paragraph and updates section */
body.gep-page-news-landing-hsr .gep-hsr-page-hero,
.gep-news-landing-hsr-page .gep-hsr-page-hero {
	margin-bottom: 0.25rem !important;
}
body.gep-page-news-landing-hsr .gep-hsr-page-tagline,
.gep-news-landing-hsr-page .gep-hsr-page-tagline {
	margin-bottom: 0.75rem !important;
}
body.gep-page-news-landing-hsr .gep-homepage-updates.gep-homepage-banner,
.gep-news-landing-hsr-page .gep-homepage-updates.gep-homepage-banner {
	padding-top: 0.75rem !important;
	padding-bottom: clamp(1rem, 2.5vw, 1.5rem) !important;
}

/* News landing (HSR-style): browse header + marketing intro (like HSR / newsletter) */
body.gep-page-news-landing-hsr .gep-hsr-browse-section .gep-hsr-browse-header,
.gep-news-landing-hsr-page .gep-hsr-browse-section .gep-hsr-browse-header {
	margin-bottom: 0.5rem;
}
body.gep-page-news-landing-hsr .gep-news-landing-marketing-intro,
.gep-news-landing-hsr-page .gep-news-landing-marketing-intro {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--gep-text-muted, #555);
	margin: 0 0 1rem 0;
	max-width: none;
	width: 100%;
}

/* Newsletter: filter on right in top row */
body.gep-page-newsletter-landing .gep-newsletter-top-right .newsletter-search-form,
.gep-newsletter-landing-page .gep-newsletter-top-right .newsletter-search-form {
	margin: 0;
	min-width: 280px;
}

/* Newsletter: compact spacing for search and grid (no extra gaps) */
body.gep-page-newsletter-landing .gep-newsletter-content-section .gep-newsletter-page-content,
.gep-newsletter-landing-page .gep-newsletter-content-section .gep-newsletter-page-content {
	margin-top: 0;
}
body.gep-page-newsletter-landing .gep-newsletter-content-section .newsletter-search-form,
.gep-newsletter-landing-page .gep-newsletter-content-section .newsletter-search-form {
	margin-top: 0;
	margin-bottom: 0.75rem;
}
body.gep-page-newsletter-landing .gep-newsletter-content-section .newsletter-listings-wrapper,
.gep-newsletter-landing-page .gep-newsletter-content-section .newsletter-listings-wrapper {
	padding-top: 0;
	padding-bottom: 0.5rem;
}

@media (max-width: 900px) {
	.gep-hsr-scroll-cta {
		margin-left: 1rem;
	}

	.gep-hsr-browse-section {
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}

	.gep-hsr-browse-section .gep-pt-page-layout {
		flex-direction: column;
	}

	.gep-hsr-browse-section .gep-pt-page-layout .gep-pt-sidebar {
		width: 100%;
		min-width: 0;
		order: 1;
	}

	.gep-hsr-browse-section .gep-pt-page-layout .gep-pt-main {
		order: 2;
	}

	body.gep-page-hsr .gep-hsr-browse-section .gep-pt-page-layout {
		flex-direction: column !important;
	}

	body.gep-page-hsr .gep-hsr-browse-section .gep-pt-page-layout .gep-pt-sidebar {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		order: 1;
	}

	body.gep-page-hsr .gep-hsr-browse-section .gep-pt-page-layout .gep-pt-main {
		order: 2;
	}
}

@media (max-width: 600px) {
	.gep-hsr-page-tagline {
		font-size: 0.9375rem;
		padding: 0 16px;
	}

	.gep-hsr-scroll-cta {
		width: calc(100% - 2rem);
		margin-left: 1rem;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	body.gep-page-hsr .gep-hsr-page-hero .gep-pt-page-title,
	body.gep-page-newsletter-landing .gep-hsr-page-hero .gep-pt-page-title {
		font-size: 1.25rem !important;
		padding: 12px 16px !important;
		margin-bottom: 16px !important;
	}
}

/* ========== Society In Focus section ========== */
.gep-sif-section {
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
	background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
}

.gep-sif-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2.5rem;
}

.gep-sif-left {
	min-width: 0;
}

.gep-sif-right {
	flex: 1 1 auto;
	min-width: 0;
}

.gep-sif-title {
	font-size: clamp(1.625rem, 3.5vw, 2.25rem);
	font-weight: 700;
	color: var(--gep-dark-green);
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
	position: relative;
	padding-bottom: 0.5rem;
}

.gep-sif-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 48px;
	height: 4px;
	background: linear-gradient(90deg, var(--gep-primary), var(--gep-dark-green));
	border-radius: 2px;
}

.gep-sif-desc {
	font-size: 1rem;
	color: var(--gep-text-muted);
	line-height: 1.7;
	margin: 0;
}

.gep-sif-recent-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--gep-dark-green);
	margin: 0 0 1.25rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 0.5rem;
}

.gep-sif-recent-title::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 36px;
	height: 3px;
	background: linear-gradient(90deg, var(--gep-primary), var(--gep-dark-green));
	border-radius: 2px;
}

.gep-sif-listings {
	margin-top: 0;
}

/* SIF card from shortcode [sif_listings_home_2] */
.gep-sif-section .s-i-f-listings-2 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.gep-sif-section .s-i-f-container-2 {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
	transition: transform 0.2s ease;
}

.gep-sif-section .s-i-f-container-2:hover {
	transform: translateY(-4px);
}

.gep-sif-section .s-i-f-card-2 {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(77, 179, 124, 0.12);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.gep-sif-section .s-i-f-container-2:hover .s-i-f-card-2 {
	box-shadow: 0 12px 36px rgba(29, 116, 69, 0.15);
	border-color: var(--gep-primary);
}

.gep-sif-section .s-i-f-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.gep-sif-section .s-i-f-image-2 {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.gep-sif-section .s-i-f-container-2:hover .s-i-f-image-2 {
	transform: scale(1.05);
}

.gep-sif-section .s-i-f-title-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 72px;
	padding: 12px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
	display: flex;
	align-items: center;
	transition: max-height 0.4s ease, padding 0.4s ease;
}

.gep-sif-section .s-i-f-container-2:hover .s-i-f-title-overlay {
	max-height: 100%;
	padding: 20px 16px;
	align-items: flex-start;
}

.gep-sif-section .s-i-f-title-2 {
	font-family: Inter, var(--default-font-family) !important;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.4;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: -webkit-line-clamp 0.4s ease;
}

.gep-sif-section .s-i-f-container-2:hover .s-i-f-title-2 {
	-webkit-line-clamp: unset;
	overflow-y: auto;
	max-height: 160px;
}

/* Responsive */
@media (max-width: 1024px) {
	.gep-sif-inner {
		flex-direction: column;
		gap: 1.75rem;
	}

	.gep-sif-left {
		flex: none;
	}

	.gep-sif-section .s-i-f-listings-2 {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 1.25rem;
	}
}

@media (max-width: 600px) {
	.gep-sif-section {
		padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.25rem);
	}

	.gep-sif-inner {
		gap: 1.5rem;
	}

	.gep-sif-title {
		font-size: 1.5rem;
	}

	.gep-sif-title::after {
		width: 36px;
		height: 3px;
	}

	.gep-sif-desc {
		font-size: 0.9375rem;
		margin-bottom: 1.5rem;
	}

	.gep-sif-recent-title {
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.gep-sif-section .s-i-f-listings-2 {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.gep-sif-section .s-i-f-title-2 {
		font-size: 0.9375rem;
	}
}

.gep-filter-redesign .gep-filter-header {
	border-radius: 8px 8px 0px 0px;
}