:root {
	--esak-navy: #003366;
	--esak-amber: #F5A623;
	--esak-electric: #00A3E0;
	--esak-green: #16A34A;
	--esak-dark: #14213D;
	--esak-light: #F5F7FA;
	--esak-white: #FFFFFF;
	--esak-muted: #6B7280;
	--esak-border: rgba(0, 51, 102, 0.14);
	--esak-shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--esak-white);
}

.wp-site-blocks {
	overflow-x: hidden;
}

.esak-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--esak-border);
}

.esak-top-strip {
	background: var(--esak-navy);
	color: var(--esak-white);
	font-size: 13px;
	padding: 7px 0;
}

.esak-top-strip a {
	color: var(--esak-white);
	text-decoration: none;
}

.esak-header-inner {
	min-height: 78px;
}

.esak-main-nav a,
.wp-block-navigation a {
	font-weight: 700;
	text-decoration: none;
}

.esak-member-button .wp-block-button__link,
.wp-block-button.is-style-esak-amber .wp-block-button__link {
	background: var(--esak-amber);
	color: var(--esak-dark);
	border-radius: 999px;
	box-shadow: 0 10px 25px rgba(245, 166, 35, 0.28);
}

.wp-block-button.is-style-esak-outline .wp-block-button__link {
	background: transparent;
	color: var(--esak-white);
	border: 2px solid rgba(255, 255, 255, 0.78);
	border-radius: 999px;
}

.esak-hero {
	position: relative;
	min-height: 650px;
}

.esak-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(245, 166, 35, 0.32), transparent 25%),
		linear-gradient(135deg, rgba(0, 51, 102, 0.94), rgba(20, 33, 61, 0.84));
	z-index: 0;
}

.esak-hero > * {
	position: relative;
	z-index: 1;
}

.esak-eyebrow {
	color: var(--esak-amber);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.esak-card-grid .wp-block-column,
.esak-feature-card,
.esak-report-card,
.esak-member-panel {
	background: var(--esak-white);
	border: 1px solid var(--esak-border);
	border-radius: 24px;
	box-shadow: var(--esak-shadow);
	padding: clamp(22px, 4vw, 34px);
}

.esak-feature-icon {
	width: 50px;
	height: 50px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(245, 166, 35, 0.16);
	color: var(--esak-navy);
	font-weight: 900;
	font-size: 22px;
}

.esak-stat-bar {
	background: linear-gradient(135deg, var(--esak-navy), #061f3d);
	color: var(--esak-white);
}

.esak-stat-number {
	color: var(--esak-amber);
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 850;
	line-height: 1;
}

.esak-page-hero {
	background: linear-gradient(135deg, var(--esak-navy), #10294d);
	color: var(--esak-white);
	padding: clamp(64px, 10vw, 110px) 0;
}

.esak-page-hero h1,
.esak-page-hero h2 {
	color: var(--esak-white);
}

.esak-portal-shell {
	background: var(--esak-light);
	padding: clamp(28px, 5vw, 64px) 0;
}

.esak-shortcode-panel {
	background: var(--esak-white);
	border-radius: 28px;
	box-shadow: var(--esak-shadow);
	padding: clamp(20px, 4vw, 34px);
}

.esak-footer {
	background: var(--esak-dark);
	color: rgba(255, 255, 255, 0.86);
}

.esak-footer h2,
.esak-footer h3,
.esak-footer h4,
.esak-footer a {
	color: var(--esak-white);
}

.esak-footer a:hover {
	color: var(--esak-amber);
}

@media (max-width: 782px) {
	.esak-hero {
		min-height: 560px;
	}

	.esak-header-inner {
		gap: 16px;
		padding: 14px 0;
	}

	.esak-card-grid .wp-block-column,
	.esak-feature-card,
	.esak-report-card,
	.esak-member-panel,
	.esak-shortcode-panel {
		border-radius: 18px;
	}
}

/* ESAK public homepage refresh refreshed for ESA-K association event and resource cards */
.esak-hero-energy::after{content:"";position:absolute;right:8vw;bottom:42px;width:min(420px,36vw);height:min(420px,36vw);border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 0 0 42px rgba(245,166,35,.12),0 30px 90px rgba(0,0,0,.18);z-index:1;pointer-events:none}.esak-front-intro{background:#fff}.esak-mini-card-grid .wp-block-column{background:#fff;border:1px solid var(--esak-border);border-radius:24px;padding:24px;box-shadow:var(--esak-shadow)}.esak-home-events-section{background:#f6f8fb}.esak-section-title-row{gap:22px;margin-bottom:28px}.esak-home-events{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.esak-home-event-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 18px 45px rgba(0,51,102,.1);border:1px solid rgba(0,51,102,.08);display:flex;flex-direction:column}.esak-home-event-image{display:block;aspect-ratio:16/10;background:#e8eef5;overflow:hidden}.esak-home-event-image img{width:100%;height:100%;object-fit:cover;display:block}.esak-home-event-body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}.esak-event-type,.esak-resource-tags span{display:inline-flex;width:max-content;background:#fff3d6;color:#7a4b00;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.esak-home-event-card h3,.esak-resource-tile h3{margin:0;font-size:22px;line-height:1.18}.esak-home-event-card h3 a,.esak-resource-tile h3 a{color:var(--esak-navy);text-decoration:none}.esak-event-theme{font-weight:800;color:#334155;margin:0}.esak-event-meta{display:grid;gap:5px;color:var(--esak-muted);font-weight:700;font-size:14px}.esak-event-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:8px}.esak-link{color:var(--esak-navy);font-weight:900;text-decoration:none}.esak-link:hover{color:var(--esak-amber)}.esak-resources-section{background:#fff}.esak-home-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.esak-resource-tile{background:#fff;border:1px solid var(--esak-border);border-radius:26px;overflow:hidden;box-shadow:0 18px 42px rgba(0,51,102,.09)}.esak-resource-image{display:block;aspect-ratio:16/9;background:#eef3f7;overflow:hidden}.esak-resource-image img{width:100%;height:100%;object-fit:cover;display:block}.esak-resource-body{padding:24px}.esak-resource-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.esak-resource-tile small{display:block;color:var(--esak-muted);font-weight:800;margin:8px 0}.esak-members-strip{background:linear-gradient(135deg,#06213f,#003366);color:#fff}.esak-members-strip h2,.esak-members-strip p{color:#fff}.wp-block-button.is-style-esak-outline-dark .wp-block-button__link{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.65);border-radius:999px}.esak-single-event-box{margin-top:34px;padding:26px;border-radius:24px;background:#f6f8fb;border:1px solid var(--esak-border);box-shadow:0 12px 30px rgba(0,51,102,.07)}.esak-single-event-box h3{margin-top:0;color:var(--esak-navy)}@media(max-width:1100px){.esak-home-events{grid-template-columns:repeat(2,minmax(0,1fr))}.esak-home-resources{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.esak-hero-energy::after{display:none}.esak-home-events,.esak-home-resources{grid-template-columns:1fr}.esak-section-title-row{display:block!important}.esak-event-actions{align-items:stretch}.esak-event-actions .esak-btn{width:100%;text-align:center}}


/* ESA-K official image assets */
.esak-brand-lockup{background:var(--esak-navy);border-radius:18px;padding:10px 16px;box-shadow:0 12px 30px rgba(0,51,102,.16)}
.esak-header-logo{margin:0!important;line-height:0}.esak-header-logo img{width:230px;max-width:42vw;height:auto;display:block}
.esak-hero-energy{background-image:linear-gradient(135deg,rgba(0,51,102,.92),rgba(6,31,61,.72)),url('../images/esak-solar-hero.jpg');background-size:cover;background-position:center}
.esak-hero-energy::before{background:radial-gradient(circle at 12% 20%,rgba(245,166,35,.32),transparent 25%),linear-gradient(135deg,rgba(0,51,102,.58),rgba(20,33,61,.36))}
.esak-home-events-section{background-image:linear-gradient(rgba(246,248,251,.94),rgba(246,248,251,.94)),url('../images/esak-pt-baraza-2025.jpg');background-size:cover;background-position:center}

/* Header navigation fix v1.0.2 */
.esak-site-header{background:#fff}.esak-header-inner{background:#fff;padding:14px 0}.esak-header-row{gap:22px}.esak-main-nav{flex:1}.esak-main-nav .wp-block-navigation-item__content{color:var(--esak-dark);font-size:15px}.esak-main-nav .wp-block-navigation-item__content:hover{color:var(--esak-navy)}.esak-main-nav .current-menu-item>a,.esak-main-nav .wp-block-navigation-item__content[aria-current="page"]{color:var(--esak-amber)}.esak-header-actions{white-space:nowrap}.wp-block-navigation__responsive-container-open{color:var(--esak-navy)}@media(max-width:1100px){.esak-header-row{justify-content:space-between}.esak-main-nav{order:3;flex-basis:100%;justify-content:flex-start!important}.esak-main-nav .wp-block-navigation__container{gap:14px}}@media(max-width:782px){.esak-brand-lockup{padding:8px 12px}.esak-header-logo img{width:180px}.esak-main-nav{order:0;flex-basis:auto}.esak-header-actions{order:3;flex-basis:100%}.esak-member-button .wp-block-button__link{width:100%;text-align:center}}

/* ESA-K header refinement */
.esak-header-inner {
	background: linear-gradient(135deg, var(--esak-navy), #06264a);
	color: var(--esak-white);
	padding-top: 14px;
	padding-bottom: 14px;
}
.esak-header-logo img {
	max-width: 240px;
	width: 240px;
	height: auto;
	display: block;
}
.esak-header-inner .wp-block-navigation a,
.esak-header-inner .wp-block-navigation-item__content {
	color: var(--esak-white) !important;
}
.esak-header-inner .wp-block-navigation a:hover {
	color: var(--esak-amber) !important;
}
.esak-header-actions {
	gap: 10px;
}
.esak-login-icon-button .wp-block-button__link {
	background: rgba(255,255,255,.12);
	color: var(--esak-white);
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 999px;
	width: 48px;
	height: 48px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.esak-login-icon-button .wp-block-button__link:hover {
	background: rgba(255,255,255,.2);
}
.esak-member-button .wp-block-button__link {
	font-weight: 850;
}
@media (max-width: 980px) {
	.esak-header-logo img { max-width: 190px; width: 190px; }
	.esak-header-row { gap: 14px; }
}

/* v1.0.4 lighter GWEC-inspired header and hero */
.esak-top-strip{background:#003366;color:#fff;padding:8px 0}.esak-site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid rgba(0,51,102,.12);box-shadow:0 8px 26px rgba(0,51,102,.06)}.esak-header-inner{background:#fff!important;color:#14213D!important;padding:12px 0}.esak-brand-lockup{background:#fff;border-radius:0;padding:0;box-shadow:none}.esak-header-logo img{width:220px;max-width:34vw;background:#003366;border-radius:14px;padding:8px 12px}.esak-header-inner .wp-block-navigation a,.esak-header-inner .wp-block-navigation-item__content{color:#14213D!important;font-weight:800}.esak-header-inner .wp-block-navigation a:hover,.esak-header-inner .wp-block-navigation-item__content:hover{color:#003366!important}.esak-login-icon-button .wp-block-button__link{background:#eef4fb;color:#003366!important;border:1px solid rgba(0,51,102,.12)}.esak-login-icon-button .wp-block-button__link:hover{background:#ddeafa}.esak-member-button .wp-block-button__link{background:#F5A623;color:#14213D!important}.esak-hero{min-height:600px}.esak-hero-energy{background-image:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.88) 42%,rgba(255,255,255,.35) 72%,rgba(255,255,255,.1) 100%),url('../images/esak-solar-hero.jpg')!important;background-position:center right!important}.esak-hero-energy::before{background:linear-gradient(90deg,rgba(255,255,255,.22),rgba(255,255,255,0))!important}.esak-hero-energy::after{border-color:rgba(0,51,102,.12);box-shadow:inset 0 0 0 40px rgba(245,166,35,.12),0 24px 70px rgba(0,51,102,.14)}.esak-hero .has-esak-white-color{color:#10213d!important}.esak-hero .esak-eyebrow{color:#003366}.esak-hero p.has-lg-font-size{color:#44556c!important}.wp-block-button.is-style-esak-outline .wp-block-button__link{color:#003366!important;border-color:#003366;background:transparent}.esak-stat-bar{background:#f5f7fa;color:#14213D}.esak-stat-bar p{color:#14213D}.esak-members-strip{background:#f7f9fc;color:#14213D}.esak-members-strip h2,.esak-members-strip p{color:#14213D}.wp-block-button.is-style-esak-outline-dark .wp-block-button__link{color:#003366;border-color:#003366;background:transparent}@media(max-width:782px){.esak-hero-energy{background-image:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.92)),url('../images/esak-solar-hero.jpg')!important}.esak-header-logo img{width:180px;max-width:60vw}}


/* v1.0.5 header cleanup: one clear portal action, no WooCommerce/member/cart icons in header */
.esak-header-row{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:26px!important;max-width:1320px;margin-inline:auto;padding-inline:clamp(16px,3vw,34px)}
.esak-main-nav{flex:1 1 auto!important;justify-content:center!important;min-width:0}.esak-main-nav .wp-block-navigation__container{gap:clamp(16px,2vw,30px)!important;flex-wrap:wrap!important}.esak-header-actions{flex:0 0 auto!important}.esak-login-icon-button,.esak-site-header .wc-block-mini-cart,.esak-site-header .wp-block-woocommerce-mini-cart,.esak-site-header .wp-block-woocommerce-customer-account,.esak-site-header .wc-block-customer-account,.esak-site-header .woocommerce-mini-cart,.esak-site-header .cart-contents{display:none!important}.esak-member-button .wp-block-button__link{padding:15px 26px!important;min-width:150px;text-align:center}.esak-header-logo img{width:190px!important;max-width:26vw!important}.esak-brand-lockup{flex:0 0 auto}@media(max-width:1050px){.esak-header-row{flex-wrap:wrap!important}.esak-main-nav{order:3;flex-basis:100%!important;justify-content:flex-start!important}.esak-header-logo img{max-width:55vw!important}}@media(max-width:700px){.esak-header-logo img{width:170px!important}.esak-member-button .wp-block-button__link{min-width:auto;padding:13px 20px!important}}

/* v1.0.6 configurable GWEC-inspired video hero */
.esak-video-hero{position:relative;min-height:clamp(560px,72vh,760px);display:flex;align-items:center;overflow:hidden;background:#0b3767;background-image:var(--esak-hero-fallback);background-size:cover;background-position:center}.esak-video-hero__media{position:absolute;inset:0;background-image:var(--esak-hero-fallback);background-size:cover;background-position:center}.esak-video-hero__media iframe{position:absolute;top:50%;left:50%;width:120vw;height:67.5vw;min-width:100%;min-height:100%;transform:translate(-50%,-50%);pointer-events:none;border:0}.esak-video-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,35,70,.82) 0%,rgba(0,51,102,.56) 46%,rgba(0,51,102,.18) 100%)}.esak-video-hero__content{position:relative;z-index:2;width:min(1120px,calc(100% - 40px));margin:0 auto;color:#fff;padding:80px 0}.esak-video-hero__content h1{max-width:900px;margin:12px 0 18px;color:#fff;font-size:clamp(42px,6vw,82px);line-height:.98;font-weight:900;letter-spacing:-.06em}.esak-video-hero__content p:not(.esak-eyebrow){max-width:680px;font-size:clamp(18px,2vw,25px);line-height:1.45;color:rgba(255,255,255,.9)}.esak-video-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.esak-btn-amber,.esak-btn-ghost{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:15px 24px;font-weight:900;text-decoration:none}.esak-btn-amber{background:var(--esak-amber,#F5A623);color:#071b3d}.esak-btn-ghost{border:2px solid rgba(255,255,255,.86);color:#fff;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.esak-btn-ghost:hover,.esak-btn-amber:hover{transform:translateY(-1px)}.esak-header-actions .wp-block-button__link{white-space:nowrap}@media(max-width:782px){.esak-video-hero{min-height:560px}.esak-video-hero__media iframe{display:none}.esak-video-hero__overlay{background:linear-gradient(180deg,rgba(0,35,70,.78),rgba(0,51,102,.52))}.esak-video-hero__actions{flex-direction:column;align-items:flex-start}.esak-btn-amber,.esak-btn-ghost{width:100%;max-width:320px}}


/* ESA-K Theme v2.0.0 */
.esak-header-inner{padding:16px 0!important}
.esak-member-button .wp-block-button__link{min-width:132px!important}
.esak-video-hero__overlay{background:linear-gradient(90deg,rgba(0,35,70,.68) 0%,rgba(0,51,102,.36) 48%,rgba(0,51,102,.10) 100%)!important}
.esak-video-hero__content h1{letter-spacing:-.04em}.esak-video-hero__content p:not(.esak-eyebrow){color:rgba(255,255,255,.94)}
.esak-v2-partners{background:#fff}.esak-v2-newsletter{background:linear-gradient(135deg,#f7f9fc,#eef4fb);border-top:1px solid rgba(0,51,102,.10)}
.esak-staff-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0 22px}.esak-staff-kpi-grid>div{background:#fff;border:1px solid rgba(0,51,102,.12);border-radius:18px;padding:18px;box-shadow:0 10px 26px rgba(0,51,102,.08)}.esak-staff-kpi-grid strong{display:block;color:#003366;font-size:18px}.esak-staff-kpi-grid span{display:block;color:#64748b;margin-top:5px}.esak-staff-overview{background:#f7f9fc;border:1px solid rgba(0,51,102,.12);border-radius:18px;padding:18px}
@media(max-width:900px){.esak-staff-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.esak-staff-kpi-grid{grid-template-columns:1fr}}


/* v2.0.1 clean public homepage refinement */
.esak-video-hero{min-height:clamp(540px,68vh,720px)!important;align-items:flex-end!important}
.esak-video-hero__overlay{background:linear-gradient(90deg,rgba(0,35,70,.46) 0%,rgba(0,51,102,.25) 42%,rgba(0,51,102,.06) 100%)!important}
.esak-video-hero__content{width:min(1180px,calc(100% - 40px));padding:0 0 clamp(48px,8vh,86px)!important;margin-inline:auto!important;display:flex;flex-direction:column;align-items:flex-start}
.esak-video-hero__content .esak-eyebrow{background:rgba(0,51,102,.52);border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#fff!important;padding:8px 13px;backdrop-filter:blur(6px);margin:0 0 10px!important;max-width:max-content}
.esak-video-hero__content h1{max-width:560px!important;font-size:clamp(34px,4.5vw,58px)!important;line-height:1.02!important;letter-spacing:-.035em!important;margin:0 0 12px!important;text-shadow:0 4px 18px rgba(0,35,70,.38)}
.esak-video-hero__content p:not(.esak-eyebrow){max-width:500px!important;font-size:clamp(16px,1.45vw,19px)!important;line-height:1.48!important;margin:0!important;text-shadow:0 3px 14px rgba(0,35,70,.42)}
.esak-video-hero__actions{margin-top:20px!important;gap:12px!important}
.esak-btn-amber,.esak-btn-ghost{padding:13px 20px!important;font-size:15px!important}
.esak-home-events-section{background:#f6f8fb!important;background-image:none!important}
.esak-front-intro{background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 100%)}
.esak-stat-bar{background:linear-gradient(135deg,#003366 0%,#06264a 100%)!important;color:#fff!important}
.esak-stat-bar p,.esak-stat-bar .esak-stat-number{color:#fff!important}
.esak-resources-section{background:#fff!important;background-image:none!important}
.esak-members-strip{background:linear-gradient(135deg,#f7f9fc 0%,#eef4fb 100%)!important;background-image:none!important;color:#14213D!important}
.esak-v2-partners{background:#fff7e8!important;background-image:none!important}
.esak-home-event-image,.esak-resource-image{display:none!important}
.esak-home-event-card,.esak-resource-tile{position:relative;overflow:hidden;background:#fff!important}
.esak-home-event-card:before,.esak-resource-tile:before{content:"";display:block;height:8px;background:linear-gradient(90deg,#003366,#00A3E0,#F5A623)}
.esak-mini-card-grid>.wp-block-column{background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%)!important}
.esak-site-header .wc-block-mini-cart,.esak-site-header .wp-block-woocommerce-mini-cart,.esak-site-header .wp-block-woocommerce-customer-account,.esak-site-header .wc-block-customer-account,.esak-site-header .woocommerce-mini-cart,.esak-site-header .cart-contents,.esak-site-header [class*="cart"],.esak-site-header [class*="customer-account"]{display:none!important}
@media(max-width:782px){.esak-video-hero{align-items:flex-end!important}.esak-video-hero__overlay{background:linear-gradient(180deg,rgba(0,35,70,.20) 0%,rgba(0,51,102,.62) 100%)!important}.esak-video-hero__content{padding-bottom:42px!important}.esak-video-hero__actions{width:100%}.esak-btn-amber,.esak-btn-ghost{max-width:300px!important}}


/* ESA-K v2.0.2 homepage data/news cards */
.esak-market-stat-grid,.esak-home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}.esak-market-stat-card,.esak-news-tile{background:#fff;border:1px solid rgba(0,51,102,.10);border-radius:22px;padding:26px;box-shadow:0 18px 42px rgba(0,36,75,.08)}.esak-market-stat-card .esak-stat-label{margin:0 0 8px;color:#003366;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.esak-market-stat-card h3{margin:0;color:#003366;font-size:clamp(2rem,4vw,3.1rem)}.esak-market-stat-card span{display:inline-block;margin-top:10px;color:#16A34A;font-weight:800}.esak-market-stat-card small{display:block;margin-top:6px;color:#6B7280}.esak-v2-news{background:#f5f7fa}.esak-news-tile{padding:0;overflow:hidden}.esak-news-image img{width:100%;height:190px;object-fit:cover;display:block}.esak-news-body{padding:24px}.esak-news-body small{color:#6B7280;font-weight:700}.esak-news-body h3{margin:.45rem 0}.esak-news-body a{color:#003366;text-decoration:none}.esak-empty{background:#fff;border-radius:18px;padding:22px;text-align:center;color:#6B7280}@media(max-width:900px){.esak-market-stat-grid,.esak-home-news-grid{grid-template-columns:1fr}}


/* v2.0.4 balanced rollback refinements: based on 2.0.2, not the 2.0.3 wide-padding/crop changes */
:root{--esak-container:min(1180px, calc(100% - 40px));}
.esak-header-row,.esak-video-hero__content,.wp-block-group.alignfull > .wp-block-group,.wp-block-group.alignfull > .wp-block-columns,.wp-block-group.alignfull > .esak-home-events,.wp-block-group.alignfull > .esak-home-resources,.wp-block-group.alignfull > .esak-market-stat-grid,.wp-block-group.alignfull > .esak-home-news-grid{width:var(--esak-container);max-width:1180px;margin-left:auto!important;margin-right:auto!important;}
.esak-video-hero{align-items:flex-end!important;min-height:clamp(540px,68vh,720px)!important;}
.esak-video-hero__media iframe{width:116vw!important;height:65.25vw!important;min-width:100%!important;min-height:100%!important;top:50%!important;transform:translate(-50%,-50%)!important;}
.esak-video-hero__content{padding:0 0 clamp(48px,8vh,86px)!important;}
.esak-video-hero__content h1{max-width:560px!important;font-size:clamp(34px,4.5vw,58px)!important;line-height:1.02!important;letter-spacing:-.035em!important;margin:0 0 12px!important;text-shadow:0 4px 18px rgba(0,35,70,.38)}
.esak-video-hero__content p:not(.esak-eyebrow){max-width:500px!important;font-size:clamp(16px,1.45vw,19px)!important;line-height:1.48!important;margin:0!important;text-shadow:0 3px 14px rgba(0,35,70,.42)}
.esak-video-hero__content .esak-eyebrow{background:rgba(0,51,102,.52);border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#fff!important;padding:8px 13px;backdrop-filter:blur(6px);margin:0 0 10px!important;max-width:max-content}
.esak-home-event-image,.esak-resource-image{display:block!important;}
.esak-home-event-card:before,.esak-resource-tile:before{display:none!important;}
.esak-home-events-section,.esak-resources-section{background-image:none!important;}
.esak-page-hero{position:relative;background:linear-gradient(135deg,rgba(0,51,102,.74),rgba(6,31,61,.70)),url('../images/esak-solar-hero.jpg') center/cover no-repeat!important;}
.esak-stat-bar{background:linear-gradient(135deg,#f7f9fc,#eef4fb)!important;color:#14213D!important;}
.esak-stat-bar h2,.esak-stat-bar p{color:#14213D!important;}
.esak-market-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.esak-market-stat-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(0,51,102,.12);box-shadow:0 18px 48px rgba(0,51,102,.10);}
.esak-market-stat-card:after{content:"";position:absolute;right:-35px;top:-35px;width:100px;height:100px;border-radius:999px;background:rgba(245,166,35,.14);}
.esak-market-stat-card h3{font-variant-numeric:tabular-nums;color:#003366!important;}
.esak-market-stat-card span{background:#ecfdf3;border:1px solid #bbf7d0;border-radius:999px;padding:6px 10px;}
.esak-gwec-events{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;}
.esak-gwec-event-card{display:grid;grid-template-columns:minmax(220px,.95fr) 1.2fr;min-height:310px;}
.esak-gwec-event-card .esak-home-event-image{aspect-ratio:auto;height:100%;min-height:310px;}
.esak-gwec-event-card .esak-home-event-image img{height:100%;width:100%;object-fit:cover;}
.esak-event-image-fallback{display:flex;align-items:center;justify-content:center;height:100%;background:linear-gradient(135deg,#003366,#0b4d86);color:#fff;font-weight:900;}
.esak-event-date:before{content:"📅 ";}.esak-event-location:before{content:"📍 ";}
.esak-event-actions .esak-btn-secondary{background:#fff;color:#003366;border-color:rgba(0,51,102,.28);}
.esak-event-actions{align-items:center;}
.esak-resource-tile .esak-link{display:inline-flex;margin-top:10px;border:1px solid rgba(0,51,102,.22);border-radius:999px;padding:9px 14px;}
.single-esak_conferences main{max-width:1180px!important;width:var(--esak-container)!important;}
.single-esak_conferences .wp-block-post-featured-image img{border-radius:28px;box-shadow:0 18px 45px rgba(0,51,102,.12);}
.esak-single-event-box{background:#fff;border-radius:24px;border:1px solid rgba(0,51,102,.12);box-shadow:0 18px 45px rgba(0,51,102,.10);}
.esak-single-event-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
@media(max-width:1000px){.esak-gwec-events{grid-template-columns:1fr}.esak-gwec-event-card{grid-template-columns:1fr}.esak-gwec-event-card .esak-home-event-image{min-height:240px;aspect-ratio:16/9}.esak-market-stat-grid{grid-template-columns:1fr}}
@media(max-width:782px){:root{--esak-container:min(100% - 28px, 1180px)}.esak-video-hero__media iframe{display:none}.esak-video-hero__content{padding-bottom:42px!important}.esak-video-hero__actions{width:100%;}.esak-btn-amber,.esak-btn-ghost{max-width:300px!important}}


/* v2.0.5 dashboard width correction: keep public gutters, but prevent WordPress constrained layout from squeezing portal shortcodes */
.esak-portal-shell{background:var(--esak-light);padding:clamp(28px,5vw,64px) 0!important;}
.esak-portal-inner{width:var(--esak-container)!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;}
.esak-portal-inner>h1{margin-top:0;margin-bottom:22px;color:var(--esak-navy,#003366);}
.esak-shortcode-panel{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box;}
.esak-shortcode-panel .esak-dashboard,.esak-shortcode-panel .esak-staff-portal{width:100%!important;max-width:none!important;}
.esak-dashboard-layout{width:100%;align-items:start;}
.esak-dashboard-main{min-width:0;}
.esak-dash-panel.esak-panel-active{display:block;width:100%;}
.esak-contact-form{max-width:760px;}
@media(max-width:900px){.esak-dashboard-layout{grid-template-columns:1fr!important;}.esak-portal-inner{width:min(100% - 28px,1180px)!important;}}

/* v2.0.7 event poster handling: show the whole uploaded poster in a consistent frame instead of cropping */
.esak-home-event-image,
.esak-conf-card-designed .esak-conf-card-media{
  background:linear-gradient(135deg,#f8fafc,#eef4f8)!important;
  border-right:1px solid rgba(0,51,102,.08);
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:14px;
  box-sizing:border-box;
  overflow:hidden;
}
.esak-gwec-event-card .esak-home-event-image{
  height:auto!important;
  min-height:310px!important;
  aspect-ratio:4/5!important;
}
.esak-home-event-image img,
.esak-gwec-event-card .esak-home-event-image img,
.esak-conf-card-designed .esak-conf-card-media img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,51,102,.10);
  background:#fff;
}
.esak-conf-card-designed .esak-conf-card-media{
  min-height:300px!important;
  aspect-ratio:4/5;
}
.esak-gwec-event-card,
.esak-conf-card-designed{
  align-items:stretch;
}
.esak-home-event-body,
.esak-conf-card-designed .esak-conf-card-content{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.esak-event-meta,
.esak-conf-meta{
  background:#f8fafc;
  border:1px solid rgba(0,51,102,.10);
  border-radius:16px;
  padding:12px 14px;
}
.esak-event-actions,
.esak-conf-actions{
  margin-top:auto;
  padding-top:14px;
}
.single-esak_conferences .wp-block-post-featured-image{
  background:linear-gradient(135deg,#f8fafc,#eef4f8);
  border:1px solid rgba(0,51,102,.10);
  border-radius:30px;
  padding:18px;
  box-shadow:0 18px 45px rgba(0,51,102,.10);
}
.single-esak_conferences .wp-block-post-featured-image img{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:20px!important;
  box-shadow:none!important;
  background:#fff;
}
.esak-single-event-box{
  padding:28px!important;
}
.esak-single-event-box p{
  margin:10px 0;
  padding:12px 14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid rgba(0,51,102,.08);
}
.esak-single-event-actions .esak-btn{
  min-height:44px;
}
@media(max-width:1000px){
  .esak-gwec-event-card .esak-home-event-image,
  .esak-conf-card-designed .esak-conf-card-media{min-height:260px!important;aspect-ratio:4/5!important;}
}

/* v2.0.8 portal width safety: prevent generic page templates from squeezing dashboard shortcodes */
.wp-site-blocks .wp-block-post-content:has(.esak-dashboard),
.wp-site-blocks .entry-content:has(.esak-dashboard),
.wp-site-blocks main:has(.esak-dashboard),
.wp-site-blocks .wp-block-post-content:has(.esak-staff-portal),
.wp-site-blocks .entry-content:has(.esak-staff-portal),
.wp-site-blocks main:has(.esak-staff-portal){max-width:none!important;width:100%!important;}
.wp-block-post-content:has(.esak-dashboard),.wp-block-post-content:has(.esak-staff-portal){padding-left:0!important;padding-right:0!important;}
.wp-block-post-content:has(.esak-dashboard) > *,.wp-block-post-content:has(.esak-staff-portal) > *{max-width:none!important;}
.esak-shortcode-panel:has(.esak-dashboard),.esak-shortcode-panel:has(.esak-staff-portal){max-width:1180px!important;width:min(100% - 48px,1180px)!important;margin-inline:auto!important;}
.esak-dashboard,.esak-staff-portal{max-width:1180px!important;margin-inline:auto!important;}
.esak-event-inquiry-panel{max-width:1180px;margin-left:auto;margin-right:auto;}
@media(max-width:900px){.esak-shortcode-panel:has(.esak-dashboard),.esak-shortcode-panel:has(.esak-staff-portal){width:min(100% - 28px,1180px)!important;}}
