/*
 * Energy, Solar, EV and Blogs page heroes – approved "Hybrid" design with Transition C "Rising Sheet" (2026-11-21).
 * Option 3 (Midnight Showcase) composition + Option 1 (Blueprint) colours. Loaded only on those four staging pages,
 * after public-site.css. The Elementor heroes are restyled; public-site.js adds the decorative stage, icon and the
 * rotating card stack built from each hero's own slideshow images. Headings, buttons and links are unchanged.
 * Hero containers: Energy 1100e68a, Solar e6ccdae, EV 08c35cc, Blogs 6bc706c.
 * First content sections (the rising sheet): 36d97e7e, 0e0d29d, 139bfdc, 3cf1e33.
 */
body.msa-pub {
	--hy-ink: #0E1A33; --hy-text: #36435A; --hy-blue: #0F57FB; --hy-blue-dark: #0A3FC2; --hy-navy: #0A1B45; --hy-line: #C9D9FA;
	--hy-art: url("https://i0.wp.com/saveamp.com/wp-content/uploads/2025/07/back-ground-3.png?fit=1200%2C500&ssl=1");
}

/* ---------- Hero base: light blue-and-white, deepening towards the bottom ---------- */
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) {
	position: relative !important; overflow: hidden !important; isolation: isolate; min-height: 0 !important; padding: 76px 0 150px !important;
	background: linear-gradient(180deg, #FFFFFF 0%, #E9F0FF 50%, #CFDFFF 100%) !important; }
/* Old full-width photo slideshow and navy overlay replaced by the card stack */
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .elementor-background-slideshow,
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .elementor-background-overlay { display: none !important; }
/* Dotted grid (fades to the right) */
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c)::before {
	content: "" !important; position: absolute !important; inset: 0 !important; z-index: -2 !important; opacity: 1 !important; pointer-events: none;
	background: radial-gradient(rgba(15,87,251,.14) 1.2px, transparent 1.3px) 0 0 / 22px 22px !important;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 40%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 40%, transparent 70%); }
/* Faint SaveAmp turbine artwork, bottom left */
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c)::after {
	content: ""; position: absolute; left: -6%; bottom: 10px; width: 760px; height: 300px; z-index: -1; pointer-events: none; opacity: .5;
	background: var(--hy-art) left bottom / 760px auto no-repeat; }
body.msa-pub .msa-hy-glow { position: absolute; z-index: -1; width: 760px; height: 760px; right: -200px; top: -300px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(15,87,251,.20) 0%, rgba(15,87,251,0) 62%); }
body.msa-pub .msa-hy-base { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, rgba(15,87,251,0) 0%, rgba(15,87,251,.16) 100%); }

/* ---------- Layout: text left, stage right (absolute on desktop, stacked on tablet/phone) ---------- */
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner {
	position: relative !important; z-index: 1 !important; width: min(1200px, calc(100% - 48px)) !important; max-width: none !important; margin: 0 auto !important;
	min-height: calc(min(1200px, 100vw - 48px) * .512 * .8) !important; padding: 0 calc(min(1200px, 100vw - 48px) * .512 + 64px) 0 0 !important;
	display: flex !important; flex-flow: row wrap !important; align-content: center !important; align-items: center !important; gap: 0 12px !important; }
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-heading .elementor-heading-title { max-width: 600px; text-shadow: none !important; }

/* Subject icon + line above the title */
body.msa-pub .msa-hy-kicker { flex: 0 0 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
body.msa-pub .msa-hy-kicker b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff;
	background: linear-gradient(135deg, var(--hy-blue), var(--hy-blue-dark)); box-shadow: 0 10px 24px rgba(15,87,251,.32); }
body.msa-pub .msa-hy-kicker svg, body.msa-pub .msa-hy-badge svg { width: 26px; height: 26px; }
body.msa-pub .msa-hy-kicker i { display: block; width: 80px; height: 2px; background: linear-gradient(90deg, var(--hy-blue), rgba(15,87,251,0)); }

/* Title and subheading: dark on light */
html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-heading:is(.elementor-element-2afc6a04, .elementor-element-34ea827, .elementor-element-fed11a9, .elementor-element-2efd024) .elementor-heading-title {
	color: var(--hy-ink) !important; font: 700 clamp(34px, 3.6vw, 54px)/1.1 "Poppins", system-ui, sans-serif !important; letter-spacing: -.02em !important; }
html body.msa-pub .elementor-element-1100e68a > .e-con-inner > .elementor-widget-heading:is(.elementor-element-2afc6a04, .elementor-element-34ea827, .elementor-element-fed11a9, .elementor-element-2efd024) .elementor-heading-title { font-size: clamp(50px, 5.4vw, 80px) !important; }
html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-heading:is(.elementor-element-f46f77b, .elementor-element-9d80690, .elementor-element-69d6e0c, .elementor-element-309aa8a) .elementor-heading-title {
	margin-top: 16px !important; color: var(--hy-text) !important; font: 500 clamp(18px, 1.6vw, 22px)/1.5 "Poppins", system-ui, sans-serif !important; max-width: 560px; }
/* Blue accent bar under the subheading */
body.msa-pub .msa-hy-bar { flex: 0 0 100%; height: 5px; margin: 28px 0 30px; }
body.msa-pub .msa-hy-bar::before { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--hy-blue), #6FA0FF); }
/* Buttons: primary blue (unchanged); second button white with blue text */
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) .elementor-widget-button { margin: 0 !important; }
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .e-con { margin: 0 !important; }
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) .elementor-widget-button .elementor-button { height: 50px !important; }
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) .elementor-widget-button ~ .elementor-widget-button .elementor-button {
	background: #fff !important; color: #0B47D6 !important; border: 1.5px solid var(--hy-line) !important; box-shadow: none !important; backdrop-filter: none !important; }
body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) .elementor-widget-button ~ .elementor-widget-button .elementor-button:hover { border-color: var(--hy-blue) !important; background: #fff !important; }

/* Buttons sit directly under the accent bar (cancels the older 30px top margin) */
html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-button, html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .e-con { margin: 0 !important; }

/* ---------- Stage: navy-to-blue panel with the rotating card stack ---------- */
body.msa-pub .msa-hy-stage { position: absolute; z-index: 1; right: 0; top: 50%; transform: translateY(-50%); width: 51.2%; aspect-ratio: 5 / 4; }
body.msa-pub .msa-hy-panel { position: absolute; inset: 8% 0 4% 10%; border-radius: 34px; overflow: hidden; background: linear-gradient(140deg, var(--hy-navy) 0%, #0B3BB0 55%, var(--hy-blue) 100%); box-shadow: 0 30px 60px rgba(7,21,48,.22); }
body.msa-pub .msa-hy-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1.3px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 70%); mask-image: linear-gradient(200deg, #000 0%, transparent 70%); }
body.msa-pub .msa-hy-panel::after { content: ""; position: absolute; width: 70%; height: 70%; right: -20%; top: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(111,160,255,.55) 0%, rgba(111,160,255,0) 65%); }
body.msa-pub .msa-hy-deck { position: absolute; inset: 0; }
body.msa-pub .msa-hy-card { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; background: #EEF4FF; border: 6px solid #fff; box-shadow: 0 22px 44px rgba(7,21,48,.28);
	transition: top .8s cubic-bezier(.2,.7,.2,1), right .8s cubic-bezier(.2,.7,.2,1), bottom .8s cubic-bezier(.2,.7,.2,1), left .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; }
body.msa-pub .msa-hy-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.msa-pub .msa-hy-card[data-pos="0"] { z-index: 3; top: 16%; right: 8%; bottom: 12%; left: 2%; transform: rotate(0deg); opacity: 1; box-shadow: 0 0 0 3px rgba(111,160,255,.85), 0 30px 60px rgba(7,21,48,.32); }
body.msa-pub .msa-hy-card[data-pos="1"] { z-index: 2; top: 2%; right: -2%; bottom: 34%; left: 38%; transform: rotate(6deg); opacity: .95; }
body.msa-pub .msa-hy-card[data-pos="2"] { z-index: 1; top: 40%; right: 46%; bottom: 0%; left: -4%; transform: rotate(-7deg); opacity: .9; }
body.msa-pub .msa-hy-dots { position: absolute; z-index: 5; right: 12%; bottom: 5%; display: flex; gap: 6px; padding: 6px 8px; border-radius: 99px; background: rgba(7,21,48,.5); backdrop-filter: blur(6px); }
body.msa-pub .msa-hy-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.55); transition: width .3s, background-color .3s; }
body.msa-pub .msa-hy-dots i.is-on { width: 24px; background: #fff; }
body.msa-pub .msa-hy-badge { position: absolute; z-index: 5; left: -2%; top: 10%; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--hy-blue); box-shadow: 0 12px 30px rgba(7,21,48,.18); }

/* ---------- Transition C: the content begins as a rounded sheet rising over the hero base ---------- */
body.msa-pub :is(.elementor-element-36d97e7e, .elementor-element-0e0d29d, .elementor-element-139bfdc, .elementor-element-3cf1e33) {
	position: relative !important; z-index: 2 !important; margin-top: -56px !important; border-radius: 44px 44px 0 0 !important;
	background-color: var(--p-bg, #F7FAFF) !important; box-shadow: 0 -18px 40px rgba(7,21,48,.10), 0 -1px 0 rgba(255,255,255,.9) !important; }
body.msa-pub :is(.elementor-element-36d97e7e, .elementor-element-0e0d29d, .elementor-element-139bfdc, .elementor-element-3cf1e33)::before {
	content: "" !important; display: block !important; position: absolute !important; left: 50% !important; top: 14px !important; right: auto !important; bottom: auto !important;
	width: 64px !important; height: 5px !important; margin-left: -32px; border-radius: 5px; opacity: 1 !important; background: linear-gradient(90deg, var(--hy-blue), #6FA0FF) !important; }

/* ---------- Tablet: stage below the text ---------- */
@media (max-width: 1024px) {
	body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) { padding: 56px 0 132px !important; }
	body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner { min-height: 0 !important; padding: 0 !important; }
	body.msa-pub .msa-hy-stage { position: relative; right: auto; top: auto; transform: none; flex: 0 0 100%; width: 100%; max-width: 660px; margin: 44px auto 0; aspect-ratio: 16 / 11; }
}
/* ---------- Phones ---------- */
@media (max-width: 680px) {
	body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) { padding: 36px 0 96px !important; }
	body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner { width: calc(100% - 32px) !important; }
	body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c)::after { width: 520px; background-size: 520px auto; }
	body.msa-pub .msa-hy-kicker { margin-bottom: 18px; }
	body.msa-pub .msa-hy-kicker b { width: 44px; height: 44px; border-radius: 13px; }
	body.msa-pub .msa-hy-kicker svg { width: 22px; height: 22px; }
	html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-heading:is(.elementor-element-2afc6a04, .elementor-element-34ea827, .elementor-element-fed11a9, .elementor-element-2efd024) .elementor-heading-title { font-size: 31px !important; }
	html body.msa-pub .elementor-element-1100e68a > .e-con-inner > .elementor-widget-heading:is(.elementor-element-2afc6a04, .elementor-element-34ea827, .elementor-element-fed11a9, .elementor-element-2efd024) .elementor-heading-title { font-size: 46px !important; }
	html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-heading:is(.elementor-element-f46f77b, .elementor-element-9d80690, .elementor-element-69d6e0c, .elementor-element-309aa8a) .elementor-heading-title { font-size: 18px !important; }
	body.msa-pub .msa-hy-bar { margin: 20px 0 24px; }
	html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .elementor-widget-button { margin: 0 0 10px !important; }
	html body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) > .e-con-inner > .e-con { margin: 0 !important; }
	body.msa-pub .msa-hy-bar::before { width: 56px; }
	body.msa-pub :is(.elementor-element-1100e68a, .elementor-element-e6ccdae, .elementor-element-08c35cc, .elementor-element-6bc706c) .elementor-widget-button { margin: 0 0 10px !important; }
	body.msa-pub .msa-hy-stage { margin: 26px 4px 0; aspect-ratio: 4 / 3.4; width: auto; flex-basis: calc(100% - 8px); }
	body.msa-pub .msa-hy-panel { border-radius: 26px; inset: 8% 0 4% 8%; }
	body.msa-pub .msa-hy-card { border-width: 4px; border-radius: 16px; }
	body.msa-pub .msa-hy-card[data-pos="0"] { top: 18%; right: 9%; bottom: 12%; left: 5%; }
	body.msa-pub .msa-hy-card[data-pos="1"] { top: 3%; right: 2%; bottom: 36%; left: 40%; transform: rotate(5deg); }
	body.msa-pub .msa-hy-card[data-pos="2"] { top: 42%; right: 48%; bottom: 1%; left: 2%; transform: rotate(-6deg); }
	body.msa-pub .msa-hy-badge { width: 46px; height: 46px; }
	body.msa-pub .msa-hy-badge svg { width: 22px; height: 22px; }
	body.msa-pub .msa-hy-dots { right: 8%; bottom: 3%; }
	body.msa-pub :is(.elementor-element-36d97e7e, .elementor-element-0e0d29d, .elementor-element-139bfdc, .elementor-element-3cf1e33) { margin-top: -36px !important; border-radius: 28px 28px 0 0 !important; }
	body.msa-pub :is(.elementor-element-36d97e7e, .elementor-element-0e0d29d, .elementor-element-139bfdc, .elementor-element-3cf1e33)::before { top: 10px !important; width: 48px !important; margin-left: -24px; }
}
@media (prefers-reduced-motion: reduce) { body.msa-pub .msa-hy-card { transition: none; } }
