/*
Theme Name: Hello Elementor Child - Asia ESG
Theme URI: https://talos.my/AESG/
Description: Green editorial child theme for Hello Elementor.
Author: Asia ESG
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
*/

:root {
	--aesg-forest: #073b1b;
	--aesg-green: #0d722f;
	--aesg-green-dark: #075623;
	--aesg-green-soft: #e9f1e6;
	--aesg-lime: #72b64b;
	--aesg-ink: #17221a;
	--aesg-muted: #6b756d;
	--aesg-paper: #ffffff;
	--aesg-soft: #f5f8f3;
	--aesg-line: #dce5dc;
	--aesg-shadow: 0 18px 42px rgba(7, 59, 27, 0.09);
	--aesg-shell: 1240px;
	--aesg-radius: 4px;
	--aesg-sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
	--aesg-display: "Trebuchet MS", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.aesg-site {
	margin: 0;
	color: var(--aesg-ink);
	background: var(--aesg-paper);
	font-family: var(--aesg-sans);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.aesg-site img {
	display: block;
	max-width: 100%;
	height: auto;
}

.aesg-site a {
	color: var(--aesg-green-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.aesg-site button,
.aesg-site input,
.aesg-site textarea,
.aesg-site select {
	font: inherit;
}

.aesg-site button,
.aesg-site input[type="submit"] {
	cursor: pointer;
}

.aesg-site :focus-visible {
	outline: 3px solid rgba(114, 182, 75, 0.85);
	outline-offset: 3px;
}

.aesg-shell {
	width: min(calc(100% - 48px), var(--aesg-shell));
	margin-right: auto;
	margin-left: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.aesg-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 20;
	padding: 9px 14px;
	color: #fff !important;
	background: var(--aesg-forest);
	transform: translateY(-150%);
}

.aesg-skip-link:focus {
	transform: translateY(0);
}

/* Header */
.aesg-site-header {
	position: relative;
	z-index: 10;
	background: var(--aesg-paper);
	box-shadow: 0 1px 0 rgba(7, 59, 27, 0.08);
}

.aesg-topbar {
	color: rgba(255, 255, 255, 0.86);
	background: var(--aesg-forest);
	font-size: 10px;
	letter-spacing: 0.04em;
}

.aesg-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 30px;
}

.aesg-current-datetime,
.aesg-topbar-social,
.aesg-social-link {
	display: inline-flex;
	align-items: center;
}

.aesg-current-datetime {
	gap: 7px;
}

.aesg-current-datetime i {
	color: var(--aesg-lime);
}

.aesg-topbar-social {
	gap: 13px;
}

.aesg-topbar-social .aesg-social-link {
	color: #fff;
	font-size: 11px;
	text-decoration: none;
	transition: color 200ms ease, transform 200ms ease;
}

.aesg-topbar-social .aesg-social-link:hover,
.aesg-topbar-social .aesg-social-link:focus {
	color: var(--aesg-lime);
	transform: translateY(-1px);
}

.aesg-masthead {
	background: #fff;
	border-bottom: 1px solid var(--aesg-line);
}

.aesg-masthead-inner {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) auto auto;
	gap: 22px;
	align-items: center;
	min-height: 86px;
}

.aesg-brand {
	display: inline-flex;
	align-items: center;
	width: 190px;
	text-decoration: none;
}

.aesg-brand img {
	width: 100%;
	max-height: 64px;
	object-fit: contain;
	object-position: left center;
}

.aesg-primary-nav {
	min-width: 0;
}

.aesg-menu,
.aesg-mobile-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aesg-menu > li,
.aesg-mobile-menu > li {
	position: relative;
}

.aesg-menu a,
.aesg-mobile-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 8px 7px;
	color: var(--aesg-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.025em;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 200ms ease, background-color 200ms ease;
}

.aesg-menu a::after {
	position: absolute;
	right: 8px;
	bottom: 0;
	left: 8px;
	height: 2px;
	background: var(--aesg-green);
	content: "";
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 200ms ease;
}

.aesg-menu a:hover,
.aesg-menu a:focus,
.aesg-menu .current-menu-item > a,
.aesg-menu .current_page_item > a {
	color: var(--aesg-green-dark);
}

.aesg-menu a:hover::after,
.aesg-menu a:focus::after,
.aesg-menu .current-menu-item > a::after,
.aesg-menu .current_page_item > a::after {
	transform: scaleX(1);
}

.aesg-menu .sub-menu {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	min-width: 180px;
	margin: 0;
	padding: 8px;
	background: #fff;
	box-shadow: var(--aesg-shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(5px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.aesg-menu li:hover > .sub-menu,
.aesg-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.aesg-menu .sub-menu a {
	width: 100%;
	padding: 10px;
}

.aesg-menu .sub-menu a::after {
	display: none;
}

.aesg-header-search,
.aesg-sidebar-search {
	display: flex;
	align-items: center;
	border: 1px solid var(--aesg-line);
	background: #fff;
}

.aesg-header-search {
	width: 150px;
	height: 34px;
}

.aesg-header-search input,
.aesg-sidebar-search input {
	min-width: 0;
	width: 100%;
	padding: 7px 10px;
	color: var(--aesg-ink);
	background: transparent;
	border: 0;
	outline: 0;
	font-size: 11px;
}

.aesg-header-search button,
.aesg-sidebar-search button {
	flex: 0 0 auto;
	width: 34px;
	height: 32px;
	padding: 0;
	color: var(--aesg-green-dark);
	background: transparent;
	border: 0;
	transition: color 200ms ease, background-color 200ms ease;
}

.aesg-header-search button:hover,
.aesg-header-search button:focus,
.aesg-sidebar-search button:hover,
.aesg-sidebar-search button:focus {
	color: #fff;
	background: var(--aesg-green);
}

.aesg-header-actions {
	display: flex;
	align-items: center;
	gap: 9px;
}

.aesg-subscribe-button,
.aesg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 14px;
	color: #fff !important;
	background: var(--aesg-green);
	border: 1px solid var(--aesg-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.aesg-subscribe-button:hover,
.aesg-subscribe-button:focus,
.aesg-button:hover,
.aesg-button:focus {
	background: var(--aesg-green-dark);
	border-color: var(--aesg-green-dark);
	transform: translateY(-1px);
}

.aesg-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 38px;
	min-height: 34px;
	padding: 7px;
	color: var(--aesg-green-dark);
	background: transparent;
	border: 1px solid var(--aesg-line);
	font-size: 10px;
}

.aesg-mobile-nav {
	background: var(--aesg-soft);
	border-top: 1px solid var(--aesg-line);
}

.aesg-mobile-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-content: stretch;
	padding: 10px 0 16px;
}

.aesg-mobile-menu a {
	display: flex;
	width: 100%;
	padding: 12px 8px;
	border-bottom: 1px solid var(--aesg-line);
}

/* Shared editorial surfaces */
.aesg-main {
	min-height: 50vh;
	overflow: hidden;
	background: #fff;
}

.aesg-eyebrow {
	margin: 0 0 10px;
	color: var(--aesg-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.aesg-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--aesg-line);
}

.aesg-section-heading h2,
.aesg-category-intro h2 {
	margin: 0;
	color: var(--aesg-forest);
	font-family: var(--aesg-display);
	font-size: clamp(25px, 3vw, 38px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.08;
	text-wrap: balance;
}

.aesg-section-heading--archive {
	align-items: center;
}

.aesg-section-link {
	flex: 0 0 auto;
	color: var(--aesg-green-dark);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.aesg-section-link i {
	margin-left: 6px;
	transition: transform 200ms ease;
}

.aesg-section-link:hover i,
.aesg-section-link:focus i {
	transform: translateX(4px);
}

/* Banners */
.aesg-page-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 210px;
	padding: 48px 0 54px;
	color: #fff;
	background: var(--aesg-forest);
	overflow: hidden;
}

.aesg-page-banner::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 59, 27, 0.92), rgba(7, 59, 27, 0.58));
	content: "";
}

.aesg-page-banner-image {
	position: absolute;
	inset: 0;
	background-image: url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1800&q=84");
	background-position: center;
	background-size: cover;
	opacity: 0.8;
}

.aesg-page-banner-image--category {
	background-image: url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1800&q=84");
}

.aesg-page-banner-image--archive {
	background-image: url("https://images.unsplash.com/photo-1473448912268-2022ce9509d8?auto=format&fit=crop&w=1800&q=84");
}

.aesg-page-banner-content {
	position: relative;
	z-index: 1;
}

.aesg-page-banner .aesg-eyebrow {
	color: var(--aesg-lime);
}

.aesg-page-banner h1 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-family: var(--aesg-display);
	font-size: clamp(36px, 6vw, 72px);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 0.98;
	text-wrap: balance;
}

.aesg-page-banner p:not(.aesg-eyebrow) {
	max-width: 640px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 14px;
}

.aesg-breadcrumbs {
	padding: 13px 0;
	color: var(--aesg-muted);
	background: var(--aesg-soft);
	font-size: 11px;
}

.aesg-breadcrumbs .aesg-shell {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.aesg-breadcrumbs a {
	color: var(--aesg-green-dark);
	text-decoration: none;
}

/* Posts, archives and sidebars */
.aesg-archive-section,
.aesg-content-section,
.aesg-article-section {
	padding: 62px 0 78px;
}

.aesg-archive-section,
.aesg-content-section {
	background: var(--aesg-soft);
}

.aesg-archive-layout,
.aesg-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 286px;
	gap: clamp(30px, 5vw, 70px);
	align-items: start;
}

.aesg-blog-grid,
.aesg-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.aesg-story-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--aesg-line);
	box-shadow: 0 6px 0 rgba(7, 59, 27, 0.025);
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.aesg-story-card:hover {
	box-shadow: var(--aesg-shadow);
	transform: translateY(-3px);
}

.aesg-story-media,
.aesg-editor-pick-media,
.aesg-mini-media {
	display: block;
	overflow: hidden;
	background: var(--aesg-green-soft);
}

.aesg-story-image,
.aesg-editor-pick-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 320ms ease;
}

.aesg-story-card:hover .aesg-story-image,
.aesg-story-media:focus .aesg-story-image,
.aesg-editor-pick-media:hover .aesg-editor-pick-image,
.aesg-editor-pick-media:focus .aesg-editor-pick-image {
	transform: scale(1.035);
}

.aesg-story-body {
	padding: 18px 18px 20px;
}

.aesg-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 11px;
	color: var(--aesg-muted);
	font-size: 10px;
	line-height: 1.3;
}

.aesg-post-category {
	color: var(--aesg-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aesg-story-title {
	margin: 0;
	font-family: var(--aesg-display);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.16;
}

.aesg-story-title a {
	color: var(--aesg-forest);
	text-decoration: none;
}

.aesg-story-title a:hover,
.aesg-story-title a:focus {
	color: var(--aesg-green);
}

.aesg-story-body > p {
	margin: 12px 0 0;
	color: var(--aesg-muted);
	font-size: 12px;
	line-height: 1.65;
}

.aesg-category-intro {
	margin-bottom: 24px;
}

.aesg-category-listing {
	display: grid;
	gap: 16px;
}

.aesg-story-card--list {
	display: grid;
	grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1fr);
	align-items: stretch;
}

.aesg-story-card--list .aesg-story-media,
.aesg-story-card--list .aesg-story-image {
	height: 100%;
	min-height: 174px;
}

.aesg-story-card--list .aesg-story-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.aesg-empty-state {
	padding: 38px;
	background: #fff;
	border: 1px solid var(--aesg-line);
	text-align: center;
}

.aesg-empty-state h2 {
	margin: 0 0 8px;
	color: var(--aesg-forest);
	font-family: var(--aesg-display);
	font-size: 26px;
}

.aesg-empty-state p {
	margin: 0 0 20px;
	color: var(--aesg-muted);
}

.aesg-sidebar {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 22px;
}

.aesg-sidebar-block,
.aesg-newsletter--sidebar {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--aesg-line);
}

.aesg-sidebar-block h2,
.aesg-newsletter h2,
.aesg-footer-column h2,
.aesg-footer-newsletter h2 {
	margin: 0 0 14px;
	color: var(--aesg-forest);
	font-family: var(--aesg-display);
	font-size: 20px;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.aesg-sidebar-search {
	width: 100%;
	height: 38px;
}

.aesg-category-list,
.aesg-mini-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aesg-category-list {
	display: grid;
	gap: 0;
}

.aesg-category-list li {
	border-bottom: 1px solid var(--aesg-line);
}

.aesg-category-list li:last-child {
	border-bottom: 0;
}

.aesg-category-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	color: var(--aesg-ink);
	font-size: 12px;
	text-decoration: none;
	transition: color 180ms ease, padding 180ms ease;
}

.aesg-category-list a::after {
	color: var(--aesg-lime);
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}

.aesg-category-list a:hover,
.aesg-category-list a:focus {
	padding-left: 5px;
	color: var(--aesg-green);
}

.aesg-mini-list {
	display: grid;
	gap: 15px;
}

.aesg-mini-post {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
}

.aesg-mini-media,
.aesg-mini-media img {
	width: 78px;
	height: 60px;
	object-fit: cover;
}

.aesg-mini-title {
	display: block;
	color: var(--aesg-forest);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.aesg-mini-title:hover,
.aesg-mini-title:focus {
	color: var(--aesg-green);
}

.aesg-mini-post time {
	display: block;
	margin-top: 4px;
	color: var(--aesg-muted);
	font-size: 10px;
}

/* Newsletter */
.aesg-newsletter {
	padding: 28px;
	color: #fff;
	background: var(--aesg-forest);
	background-image: radial-gradient(circle at 90% 10%, rgba(114, 182, 75, 0.28), transparent 34%);
}

.aesg-newsletter .aesg-eyebrow {
	color: var(--aesg-lime);
}

.aesg-newsletter h2 {
	color: #fff;
	font-size: 26px;
}

.aesg-newsletter > p:not(.aesg-eyebrow) {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
}

.aesg-newsletter-form,
.aesg-footer-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aesg-newsletter-form input,
.aesg-footer-form input {
	flex: 1 1 150px;
	min-width: 0;
	min-height: 40px;
	padding: 8px 11px;
	color: var(--aesg-ink);
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 11px;
}

.aesg-newsletter-form button,
.aesg-footer-form button {
	min-height: 40px;
	padding: 8px 13px;
	color: #fff;
	background: var(--aesg-green);
	border: 1px solid var(--aesg-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.aesg-newsletter-form button:hover,
.aesg-newsletter-form button:focus,
.aesg-footer-form button:hover,
.aesg-footer-form button:focus {
	background: var(--aesg-lime);
	border-color: var(--aesg-lime);
}

.aesg-form-message {
	flex: 0 0 100%;
	margin: 3px 0 0;
	color: var(--aesg-lime);
	font-size: 11px;
}

/* Single post */
.aesg-article-section {
	background: #fff;
}

.aesg-article {
	min-width: 0;
}

.aesg-article-header {
	max-width: 860px;
	margin-bottom: 24px;
}

.aesg-article-header h1 {
	margin: 0;
	color: var(--aesg-forest);
	font-family: var(--aesg-display);
	font-size: clamp(38px, 5.6vw, 72px);
	font-weight: 700;
	letter-spacing: -0.065em;
	line-height: 0.98;
	text-wrap: balance;
}

.aesg-article-byline {
	margin: 16px 0 0;
	color: var(--aesg-muted);
	font-size: 11px;
}

.aesg-article-image {
	width: 100%;
	aspect-ratio: 16 / 8.8;
	object-fit: cover;
	margin-bottom: 30px;
}

.aesg-article-content {
	max-width: 760px;
	color: #38443b;
	font-size: 16px;
	line-height: 1.85;
}

.aesg-article-content > *:first-child {
	margin-top: 0;
}

.aesg-article-content h2,
.aesg-article-content h3,
.aesg-article-content h4 {
	margin: 38px 0 12px;
	color: var(--aesg-forest);
	font-family: var(--aesg-display);
	letter-spacing: -0.04em;
	line-height: 1.12;
}

.aesg-article-content h2 {
	font-size: 32px;
}

.aesg-article-content h3 {
	font-size: 25px;
}

.aesg-article-content a {
	color: var(--aesg-green);
}

.aesg-article-content blockquote {
	margin: 30px 0;
	padding: 8px 24px;
	color: var(--aesg-forest);
	border-left: 3px solid var(--aesg-lime);
	font-family: var(--aesg-display);
	font-size: 24px;
	line-height: 1.45;
}

.aesg-article-content img {
	margin: 28px 0;
}

.aesg-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--aesg-line);
}

.aesg-share strong {
	margin-right: 5px;
	color: var(--aesg-forest);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aesg-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #fff;
	background: var(--aesg-green);
	border-radius: 50%;
	font-size: 12px;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.aesg-share a:hover,
.aesg-share a:focus {
	color: #fff;
	background: var(--aesg-forest);
	transform: translateY(-2px);
}

.aesg-related-section {
	padding: 58px 0 76px;
	background: var(--aesg-soft);
	border-top: 1px solid var(--aesg-line);
}

/* Elementor-controlled pages and general content */
.aesg-elementor-content {
	background: #fff;
}

.aesg-content-section .aesg-page-content {
	max-width: 840px;
	padding-top: 8px;
}

.aesg-page-content {
	color: #38443b;
	font-size: 16px;
	line-height: 1.8;
}

.aesg-page-content h2,
.aesg-page-content h3,
.aesg-page-content h4 {
	color: var(--aesg-forest);
	font-family: var(--aesg-display);
	letter-spacing: -0.04em;
	line-height: 1.15;
}

/* Existing shortcode architecture */
.aesg-shortcode-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.aesg-shortcode-posts--list {
	grid-template-columns: 1fr;
	gap: 14px;
}

.aesg-shortcode-posts--list .aesg-story-card {
	display: grid;
	grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
}

.aesg-shortcode-posts--list .aesg-story-media,
.aesg-shortcode-posts--list .aesg-story-image {
	height: 100%;
	min-height: 155px;
}

.aesg-shortcode-mini-list {
	grid-template-columns: 1fr;
}

.aesg-editor-pick {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--aesg-line);
	box-shadow: var(--aesg-shadow);
}

.aesg-editor-pick h2 {
	margin: 18px 0 7px;
	font-family: var(--aesg-display);
	font-size: 25px;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

.aesg-editor-pick h2 a {
	color: var(--aesg-forest);
	text-decoration: none;
}

.aesg-editor-pick > p:last-child {
	margin: 0;
	color: var(--aesg-muted);
	font-size: 13px;
}

/* Footer */
.aesg-site-footer {
	position: relative;
	color: rgba(255, 255, 255, 0.76);
	background: var(--aesg-forest);
	border-top: 5px solid var(--aesg-lime);
	overflow: hidden;
}

.aesg-site-footer::before {
	position: absolute;
	top: -160px;
	right: -90px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(114, 182, 75, 0.22);
	border-radius: 50%;
	box-shadow: 0 0 0 28px rgba(114, 182, 75, 0.05), 0 0 0 58px rgba(114, 182, 75, 0.035);
	content: "";
	pointer-events: none;
}

.aesg-footer-inner {
	position: relative;
	z-index: 1;
	padding-top: 58px;
	padding-bottom: 24px;
}

.aesg-footer-grid {
	display: grid;
	grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(120px, 0.7fr)) minmax(220px, 1.1fr);
	gap: 34px;
	align-items: start;
}

.aesg-footer-logo {
	display: inline-block;
	max-width: 210px;
}

.aesg-footer-logo img {
	max-height: 74px;
	object-fit: contain;
	object-position: left center;
}

.aesg-footer-brand > p {
	max-width: 290px;
	margin: 19px 0 20px;
	color: rgba(255, 255, 255, 0.63);
	font-size: 12px;
	line-height: 1.7;
}

.aesg-footer-social {
	display: flex;
	gap: 8px;
}

.aesg-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	font-size: 11px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.aesg-footer-social a:hover,
.aesg-footer-social a:focus {
	color: var(--aesg-forest);
	background: var(--aesg-lime);
	border-color: var(--aesg-lime);
	transform: translateY(-2px);
}

.aesg-footer-column h2,
.aesg-footer-newsletter h2 {
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.aesg-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aesg-footer-column li {
	margin-bottom: 8px;
}

.aesg-footer-column a {
	color: rgba(255, 255, 255, 0.66);
	font-size: 12px;
	text-decoration: none;
	transition: color 180ms ease;
}

.aesg-footer-column a:hover,
.aesg-footer-column a:focus {
	color: var(--aesg-lime);
}

.aesg-footer-newsletter > p {
	margin: 0 0 15px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 12px;
}

.aesg-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 46px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.aesg-footer-bottom p,
.aesg-footer-bottom a {
	margin: 0;
	color: rgba(255, 255, 255, 0.52);
	font-size: 11px;
	text-decoration: none;
}

.aesg-footer-bottom a:hover,
.aesg-footer-bottom a:focus {
	color: var(--aesg-lime);
}

/* Common Elementor section helpers */
.aesg-home-section,
.aesg-topic-strip,
.aesg-values-grid {
	background: #fff;
}

.aesg-home-section {
	padding: 64px 0;
}

.aesg-topic-strip {
	padding: 18px 0;
	background: var(--aesg-soft);
	border-top: 1px solid var(--aesg-line);
	border-bottom: 1px solid var(--aesg-line);
}

.aesg-topic-grid,
.aesg-value-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.aesg-topic-item,
.aesg-value-grid > * {
	padding: 12px;
	border-left: 2px solid var(--aesg-lime);
}

.aesg-topic-item h3,
.aesg-value-grid h3 {
	margin: 0;
	color: var(--aesg-forest);
	font-size: 13px;
}

.aesg-topic-item p,
.aesg-value-grid p {
	margin: 4px 0 0;
	color: var(--aesg-muted);
	font-size: 11px;
	line-height: 1.45;
}

@media (max-width: 1180px) {
	.aesg-masthead-inner {
		grid-template-columns: 170px minmax(0, 1fr) auto;
		gap: 15px;
	}

	.aesg-brand {
		width: 170px;
	}

	.aesg-header-search {
		width: 130px;
	}

	.aesg-subscribe-button {
		display: none;
	}

	.aesg-menu a {
		padding-right: 6px;
		padding-left: 6px;
		font-size: 10px;
	}

	.aesg-footer-grid {
		grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(110px, 0.7fr));
	}

	.aesg-footer-newsletter {
		grid-column: 1 / -1;
		max-width: 430px;
	}
}

@media (max-width: 980px) {
	.aesg-masthead-inner {
		grid-template-columns: 180px minmax(0, 1fr) auto;
	}

	.aesg-primary-nav {
		display: none;
	}

	.aesg-header-search {
		justify-self: end;
	}

	.aesg-menu-toggle {
		display: inline-flex;
	}

	.aesg-archive-layout,
	.aesg-article-layout {
		grid-template-columns: 1fr;
	}

	.aesg-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.aesg-newsletter--sidebar {
		grid-column: 1 / -1;
	}

	.aesg-footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.aesg-footer-brand,
	.aesg-footer-newsletter {
		grid-column: 1 / -1;
	}

	.aesg-footer-brand > p {
		max-width: 460px;
	}
}

@media (max-width: 700px) {
	.aesg-shell {
		width: min(calc(100% - 32px), var(--aesg-shell));
	}

	.aesg-topbar-inner {
		min-height: 36px;
	}

	.aesg-topbar {
		font-size: 9px;
	}

	.aesg-masthead-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 76px;
	}

	.aesg-brand {
		width: 165px;
	}

	.aesg-header-search {
		display: none;
	}

	.aesg-menu-toggle span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.aesg-page-banner {
		min-height: 250px;
		padding: 56px 0 64px;
	}

	.aesg-page-banner h1 {
		font-size: clamp(38px, 13vw, 58px);
	}

	.aesg-archive-section,
	.aesg-content-section,
	.aesg-article-section {
		padding: 46px 0 60px;
	}

	.aesg-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 11px;
	}

	.aesg-blog-grid,
	.aesg-related-grid,
	.aesg-shortcode-posts,
	.aesg-sidebar,
	.aesg-topic-grid,
	.aesg-value-grid {
		grid-template-columns: 1fr;
	}

	.aesg-sidebar {
		gap: 16px;
	}

	.aesg-newsletter--sidebar {
		grid-column: auto;
	}

	.aesg-story-card--list,
	.aesg-shortcode-posts--list .aesg-story-card {
		display: block;
	}

	.aesg-story-card--list .aesg-story-media,
	.aesg-story-card--list .aesg-story-image,
	.aesg-shortcode-posts--list .aesg-story-media,
	.aesg-shortcode-posts--list .aesg-story-image {
		height: auto;
		min-height: 0;
	}

	.aesg-story-card--list .aesg-story-image,
	.aesg-shortcode-posts--list .aesg-story-image {
		aspect-ratio: 16 / 10;
	}

	.aesg-article-header h1 {
		font-size: clamp(38px, 12vw, 58px);
	}

	.aesg-article-content {
		font-size: 15px;
	}

	.aesg-article-image {
		aspect-ratio: 1 / 0.74;
	}

	.aesg-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.aesg-footer-brand,
	.aesg-footer-newsletter {
		grid-column: 1 / -1;
	}

	.aesg-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		margin-top: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
