/* EPG 2026 — shared by the front end and the block editor (add_editor_style). */

:root {
	--violet: #35008a;
	--violet-deep: #23005c;
	--plum: #5a3f8e;
	--teal: #1ec8d7;
	--teal-ink: #0a7480;
	--teal-soft: #e3f8fa;
	--lime: #c3ff43;
	--lime-soft: #efffcc;
	--mist: #f4f2f9;
	--ink: #1d1531;
	--muted: #554d6b;
	--line: #e2ddef;
	--white: #fff;
	--radius: 14px;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--accent-text: var(--teal-ink); /* readable stand-in for lime/teal text on light backgrounds (5.5:1) */
	/* Lexend + Source Sans 3, self-hosted (@font-face from theme.json fontFace, files in assets/fonts) */
	--font-display: "Lexend", "Source Sans 3", system-ui, sans-serif;
	--font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--section-pad: clamp(40px, 5.5vw, 80px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--plum); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; border-radius: 3px; } /* 5.5:1 on white */
:is(.utility-bar, .site-footer, .epg-band--violet, .epg-cover, .epg-cta) :focus-visible { outline-color: var(--lime); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: inherit; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); font-weight: 500; letter-spacing: 0; }
h4 { font-size: 1.15rem; font-weight: 500; letter-spacing: 0; }
h5 { font-size: 1.075rem; font-weight: 500; letter-spacing: 0; }
h6 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; opacity: 1; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.utility-bar { background: var(--violet); color: #fff; font-size: 0.875rem; }
.utility-bar__inner { display: flex; gap: 22px; align-items: center; min-height: 36px; justify-content: flex-end; }
.utility-bar__item { color: #fff; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; font-weight: 600; }
.utility-bar__item:hover { color: var(--lime); }
.utility-bar__item svg { color: var(--lime); }
.main-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.site-logo img, .custom-logo { display: block; height: 68px; width: auto; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav a, .site-nav .submenu-parent { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font: 500 1rem/1.4 var(--font-display); border-radius: 8px; }
.site-nav a:hover, .site-nav .submenu-parent:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a, .site-nav .current-menu-ancestor > .submenu-parent { color: var(--violet); background: var(--mist); }
.site-nav .menu-item-has-children > a { padding-right: 4px; }
/* parent items with no page of their own (Services, My Account) are buttons, not empty links (SEO a3) */
.site-nav .submenu-parent { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; text-align: left; }
.site-nav .submenu-parent svg { color: var(--muted); }
.site-nav .submenu-parent[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu-toggle { background: none; border: 0; padding: 8px 6px; color: var(--muted); cursor: pointer; border-radius: 6px; display: inline-flex; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(35, 0, 92, 0.35); display: none; z-index: 60; }
.site-nav .sub-menu a { padding: 9px 12px; font-weight: 500; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { display: block; }
.site-nav li.is-closed > .sub-menu { display: none; } /* closed by Escape / click while still hovered or focused */
.site-nav .menu-cta > a { background: var(--teal-ink); color: #fff; padding: 11px 20px; border-radius: 10px; margin-left: 10px; font-weight: 600; }
.site-nav .menu-cta > a:hover { background: var(--violet); color: #fff; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: var(--mist); border: 1px solid var(--line); color: var(--ink); font: 700 0.95rem var(--font-body); padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.main-bar__inner { min-height: 72px; flex-wrap: wrap; }
	.site-logo img, .custom-logo { height: 54px; }
	.site-nav { display: none; width: 100%; padding-bottom: 16px; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-top: 1px solid var(--line); }
	.site-nav .menu > li > a, .site-nav .menu > li > .submenu-parent { flex: 1; padding: 14px 4px; }
	.site-nav .submenu-parent { justify-content: space-between; padding-right: 14px; }
	.site-nav .submenu-toggle { padding: 16px; } /* 44px tap target */
	.site-nav .menu > li > .submenu-parent { padding-right: 14px; } /* chevrons line up with the separate toggles */
	.main-bar__inner { align-content: flex-start; }
	.main-bar__inner > .site-logo, .main-bar__inner > .nav-toggle { margin-block: 9px; } /* logo stays put when the menu opens */
	.site-nav .sub-menu { position: static; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 10px 12px; }
	.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: none; }
	.site-nav li.is-open > .sub-menu { display: block; }
	.site-nav .menu-cta { border-top: 0; padding-top: 12px; }
	.site-nav .menu-cta > a { margin: 0; text-align: center; }
}
@media (max-width: 560px) { .utility-bar__inner { justify-content: center; gap: 16px; font-size: 0.82rem; } .utility-bar__item { min-height: 44px; } }

/* ---------- page head (pages without their own H1) ---------- */
.page-head { background: linear-gradient(115deg, var(--violet-deep), var(--violet) 55%, var(--teal-ink)); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.page-head__title { margin: 0; color: #fff; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, var(--teal), var(--lime)); opacity: 0.35; transform: rotate(18deg); pointer-events: none; }
.content-wrap { padding-block: clamp(32px, 5vw, 64px); }

/* ---------- content sections (migrated Divi sections are .epg-section groups) ---------- */
.entry-content > :not(.epg-section):not(.alignfull):not(.wp-block-group) { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.entry-content > .wp-block-group:not(.epg-section) { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.entry-content > *:first-child:not(.epg-section) { margin-top: clamp(32px, 5vw, 64px); }
.entry-content > *:last-child:not(.epg-section) { margin-bottom: clamp(32px, 5vw, 64px); }
.epg-section { position: relative; padding-block: var(--section-pad); padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); margin: 0 !important; }
.epg-section + .epg-section:not(.epg-band) { padding-top: calc(var(--section-pad) * 0.5); }
.epg-band + .epg-section:not(.epg-band) { padding-top: var(--section-pad); }
.epg-section :where(p, li) { max-width: 72ch; }
.epg-section > :first-child, .wp-block-column > :first-child, .epg-card > :first-child, .epg-cta > :first-child, .wp-block-details > :nth-child(2) { margin-top: 0; }
.epg-section > :last-child, .wp-block-column > :last-child, .epg-card > :last-child { margin-bottom: 0; }
.entry-content h1 { color: var(--violet); }
.entry-content h2 { color: var(--ink); }
.entry-content h3, .entry-content h4, .entry-content h5 { color: var(--violet); }

.epg-band--violet { background: var(--violet); color: #fff; }
.epg-band--violet :is(h1, h2, h3, h4, h5, h6) { color: #fff; }
.epg-band--violet a:not(.wp-element-button) { color: var(--lime); }
.epg-band--lime { background: var(--mist); } /* was lime-soft: off-palette next to teal/violet (round 2) */
.epg-band--teal { background: var(--teal-soft); }
.epg-band--mist { background: var(--mist); }
.epg-panel { border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }

/* First section of each migrated page: quiet hero with the leaf mark */
/* Inner-page heroes: solid soft-teal band; the cropped leaf shows only on violet heroes */
.epg-section--first { background: var(--teal-soft); overflow: hidden; isolation: isolate; }
.epg-section--first:not(.epg-band--violet)::before { display: none; }
.epg-section--first::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -180px; width: min(520px, 60vw); aspect-ratio: 1; border-radius: 0 100% 0 100%; background: linear-gradient(140deg, var(--teal) 10%, var(--lime) 90%); opacity: 0.22; transform: rotate(16deg); pointer-events: none; }
.epg-section--first.epg-band--violet { background: var(--violet); }
.epg-section--first.epg-band--violet::before { opacity: 0.9; }
.epg-section--first.epg-band--teal { background: var(--teal-soft); }

/* ---------- columns ---------- */
.wp-block-columns { gap: clamp(24px, 4vw, 64px); margin-bottom: 0; }
.wp-block-columns + *, * + .wp-block-columns { margin-top: clamp(24px, 4vw, 48px); }
@media (max-width: 781px) { .wp-block-columns { gap: 28px; } }

/* ---------- images ---------- */
.wp-block-image { margin: 0 0 1rem; }
.wp-block-image img { border-radius: 10px; }
.wp-block-image.aligncenter-img { text-align: center; }
.wp-block-image.aligncenter-img img { margin-inline: auto; }
.wp-block-image img[src*="Logo"], .wp-block-image img[src*="logo"], .wp-block-image img[src*="seal"], .wp-block-image img[src*="Seal"] { border-radius: 0; }
.epg-section .wp-block-image img[src*="Logo"] { max-height: 170px; width: auto; }

/* ---------- buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 1.4rem; }
.wp-element-button, .wp-block-button__link, .gform_wrapper .gform_button, .gform_wrapper input[type="submit"], .gform_wrapper .gform_next_button, .gform_wrapper .gform_previous_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--teal-ink); color: #fff; border: 2px solid var(--teal-ink); border-radius: 10px; padding: 0.8em 1.6em; font: 500 1rem/1.2 var(--font-display); letter-spacing: 0; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.wp-element-button:hover, .wp-block-button__link:hover, .gform_wrapper .gform_button:hover, .gform_wrapper input[type="submit"]:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
/* lime buttons only on violet bands / CTA boxes (ink on lime 14.7:1) */
:is(.epg-band--violet, .epg-cta) .wp-block-button__link { background: var(--lime); border-color: var(--lime); color: var(--ink); }
:is(.epg-band--violet, .epg-cta) .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--violet); }
.wp-block-button.is-style-violet .wp-block-button__link { background: var(--violet); border-color: var(--violet); color: #fff; }
.wp-block-button.is-style-outline-violet .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--violet); border-color: var(--violet); }
.wp-block-button.is-style-outline-violet .wp-block-button__link:hover { background: var(--violet); color: #fff; }

/* ---------- accordions (core/details) ---------- */
.epg-accordion { border-top: 1px solid var(--line); margin-block: 1.25rem; }
.epg-accordion > .wp-block-details, .wp-block-details.is-style-faq { margin: 0 !important; }
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; }
.wp-block-details summary { list-style: none; cursor: pointer; position: relative; padding: 18px 52px 18px 0; font: 500 1.075rem/1.35 var(--font-display); color: var(--ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--mist) no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2335008a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); transition: transform 0.2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--teal-soft); }
.wp-block-details summary:hover { color: var(--violet); }
.wp-block-details > :not(summary) { margin-top: 0; padding-right: 52px; }
.wp-block-details[open] { padding-bottom: 14px; }
.epg-band--violet .wp-block-details summary { color: #fff; }
.epg-band--violet .epg-accordion, .epg-band--violet .wp-block-details { border-color: rgba(255,255,255,0.25); }

/* ---------- cards / blurbs ---------- */
.epg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); margin-block: 1rem; }
.epg-card__title { font-size: 1.2rem; margin-bottom: 0.4em; }
.epg-card__title a { text-decoration: none; }
.epg-card__media img { max-height: 120px; width: auto; border-radius: 0; }
.epg-card__icon { display: none; }
.epg-card--check { border: 0; padding: 0 0 0 36px; background: none; position: relative; margin-block: 0.6rem; }
.epg-card--check::before { content: ""; position: absolute; left: 0; top: 0.05em; width: 24px; height: 24px; border-radius: 50%; background: var(--lime) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' stroke='%2335008a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.epg-card--check .epg-card__title { font-size: 1.05rem; color: var(--ink); margin: 0; }
.epg-band--violet .epg-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }

/* ---------- call to action ---------- */
.epg-cta { background: var(--violet); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-block: 1.5rem; position: relative; overflow: hidden; }
.epg-cta :is(h1, h2, h3, h4) { color: #fff !important; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.epg-cta a:not(.wp-element-button) { color: var(--lime); }
.epg-cta::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 200px; height: 200px; border-radius: 0 100% 0 100%; background: linear-gradient(140deg, var(--teal), var(--lime)); opacity: 0.5; }
.epg-cta > * { position: relative; z-index: 1; }

/* ---------- stats ---------- */
.epg-stat { margin-block: 1rem; }
.epg-stat__number { font: 600 clamp(2.4rem, 1.6rem + 3vw, 3.8rem)/1 var(--font-display); color: var(--violet); letter-spacing: -0.02em; margin: 0 0 0.25em; font-variant-numeric: tabular-nums; }
.epg-stat__number::after { content: ""; display: block; width: 48px; height: 6px; background: var(--teal); border-radius: 3px; margin-top: 12px; }
.epg-stat__label { color: var(--muted); font-weight: 600; margin: 0; }
.epg-band--violet .epg-stat__number { color: var(--lime); }
.epg-band--violet .epg-stat__label { color: rgba(255,255,255,0.8); }

/* ---------- lists ---------- */
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content ul li::marker { color: var(--teal-ink); }

/* ---------- tables ---------- */
.entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-block: 1rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--mist); font-weight: 700; }
.epg-table-wrap { overflow-x: auto; }

/* ---------- service-area map (About Us) ---------- */
.epg-map__image img { border-radius: 0; margin-inline: auto; display: block; }
.epg-state-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 1.5rem; }
.epg-state-cards > .epg-card { margin: 0; }
.epg-card--state td img { max-height: 48px; width: auto; }

/* ---------- posts (News) ---------- */
.epg-posts .wp-block-post-template { list-style: none; padding: 0; gap: 24px; }
.epg-posts .wp-block-post { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.epg-posts .wp-block-post-title { font-size: 1.2rem; }
.epg-posts__empty { color: var(--muted); font-style: italic; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.post-meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- forms: shared field look (Gravity Forms + theme forms) ---------- */
.gform_wrapper.gravity-theme .gfield_label, .gform_wrapper .gfield_label, .gform_wrapper legend.gfield_label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="image"]),
.gform_wrapper select, .gform_wrapper textarea,
.epg-form input:not([type="hidden"]):not([type="checkbox"]), .epg-form textarea {
	width: 100%; border: 1.5px solid #cfc6e3; border-radius: 10px; padding: 12px 14px; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #fff;
}
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus, .epg-form input:focus, .epg-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(53, 0, 138, 0.15); }
.gform_wrapper .gsection_title, .gform_wrapper h3.gsection_title { color: var(--violet); font-size: 1.25rem; }
.gform_wrapper .gfield_required { color: #b0144f; }
.gform_wrapper .validation_message, .gform_wrapper .gfield_validation_message { color: #9f1239; font-weight: 600; }
.gform-theme--orbital { --gf-color-primary: #35008a; --gf-color-primary-rgb: 53, 0, 138; --gf-ctrl-border-color: #cfc6e3; --gf-radius: 10px; --gf-font-family-base: var(--font-body); }
.gform_wrapper { margin-block: 1rem; }

.epg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.epg-field { margin: 0 0 10px; }
.epg-field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.epg-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .epg-form__grid { grid-template-columns: 1fr; } }
.epg-signup-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.epg-signup-form .epg-field { margin: 0; }
.epg-form__notice { padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.epg-form__notice.is-success { background: var(--lime-soft); }
.epg-form__notice.is-error { background: #ffe4ea; color: #7a0c2e; }
.epg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.epg-signup { background: var(--mist); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.epg-band--mist .epg-signup { background: #fff; }
.epg-anchor { height: 0; margin: 0 !important; }

/* ---------- template: enrollment (narrow, form first) ---------- */
.tpl-enrollment .epg-section { padding-inline: max(var(--gutter), calc((100% - 880px) / 2)); }
.tpl-enrollment .wp-block-columns { flex-direction: column; }
.tpl-enrollment .wp-block-column { flex-basis: auto !important; width: 100%; }
.tpl-enrollment .wp-block-column:has(.gform_wrapper) { order: -1; }
.tpl-enrollment .gform_wrapper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: 0 24px 48px -32px rgba(35, 0, 92, 0.35); }

/* ---------- template: legal (long text) ---------- */
.tpl-legal .page-head { padding-bottom: 24px; }
.legal-body { max-width: calc(780px + 2 * var(--gutter)); margin-inline: auto; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 80px); font-size: 1.02rem; line-height: 1.7; }
.legal-body .epg-section, .legal-body > * { padding-inline: 0 !important; max-width: none !important; background: none; }
.legal-body .epg-section { padding-block: 0; }
.legal-body .epg-section--first::before { display: none; }
.legal-body :where(p, li) { max-width: none; }
.legal-body h2, .legal-body h3 { margin-top: 2em; }
.legal-body [data-custom-class] { font-family: var(--font-body) !important; }

/* ---------- template: aggregation program ---------- */
.tpl-aggregation .epg-section--first { padding-top: clamp(32px, 4vw, 56px); }
.tpl-aggregation .epg-section--first > .wp-block-columns:first-child { max-width: 460px; margin-inline: auto; gap: 32px; align-items: center; }
.tpl-aggregation .epg-section--first > .wp-block-columns:first-child img { max-height: 130px; width: auto; }
.tpl-aggregation .epg-section--first > h1 { text-align: center; margin-block: 0.4em 0.2em; }
.tpl-aggregation .wp-block-columns:has(.epg-accordion) > .wp-block-column:has(.epg-accordion) { background: var(--mist); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); align-self: flex-start; }
.tpl-aggregation .wp-block-column h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.tpl-aggregation .gform_wrapper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }

/* ---------- savings examples (Home "How Much Could You Save?") ---------- */
.epg-s-6-rates .wp-block-columns:has(> .wp-block-column:nth-child(4)) { gap: 20px; }
.epg-s-6-rates .wp-block-columns:has(> .wp-block-column:nth-child(4)) > .wp-block-column { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: 0 18px 36px -30px rgba(35, 0, 92, 0.45); }
.epg-s-6-rates .wp-block-column h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.1em; color: var(--violet); }
.epg-s-6-rates .wp-block-column h4 { font: 600 0.95rem var(--font-body); color: var(--muted); margin-bottom: 0.8em; }
.epg-s-6-rates .wp-block-column p { margin: 0 auto 0.2em; }
.epg-s-6-rates .wp-block-column .wp-block-separator { margin: 0.9rem auto; width: 60%; }
.epg-s-6-rates .wp-block-column table { width: auto !important; margin: 0 auto !important; }
.epg-s-6-rates .wp-block-column td { white-space: nowrap; }
.epg-s-6-rates .wp-block-column p span { font: 600 1.6rem var(--font-display); }
/* leftover Divi inline fonts (Arial/Helvetica 900) follow the theme; text unchanged */
.entry-content [style*="font-family"] { font-family: inherit !important; }
.entry-content td[style*="font-weight: 900"] { font-weight: 600 !important; }
@media (max-width: 1000px) and (min-width: 782px) { .epg-s-6-rates .wp-block-columns { flex-wrap: wrap !important; } .epg-s-6-rates .wp-block-columns:has(> .wp-block-column:nth-child(4)) > .wp-block-column { flex-basis: calc(50% - 10px) !important; } }
.entry-content table[border="0"] td, .entry-content table[border="0"] th { border: 0; padding: 2px 6px; background: none; }

/* ---------- video (column backgrounds from Divi) ---------- */
.epg-bg-video { margin: 0; height: 100%; background: var(--violet-deep); border-radius: var(--radius); }
.epg-bg-video video { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); display: block; }

/* ---------- state cards: one per row, table beside heading on wide screens ---------- */
.epg-state-cards { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
@media (min-width: 900px) { .epg-card--state { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; } .epg-card--state > * { margin: 0 !important; } }
.epg-state-badge { display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--violet); color: #fff; font-size: 0.8em; margin-right: 6px; vertical-align: middle; }
.epg-card--state .epg-card__title { display: flex; align-items: center; gap: 4px; }

/* ---------- Gravity Forms details ---------- */
.gform_wrapper .gf_progressbar { background: var(--mist) !important; border-radius: 999px; }
.gform_wrapper .gf_progressbar_percentage { background: var(--violet) !important; border-radius: 999px; color: #fff; }
.gform_wrapper .gf_progressbar_title, .gform_wrapper.gravity-theme .gf_progressbar_wrapper .gf_progressbar_title { color: var(--muted); font-weight: 600; opacity: 1; }
.gform_wrapper .gform_save_link, .gform_wrapper .gform-theme-button--secondary { background: transparent !important; border: 2px solid var(--violet) !important; color: var(--violet) !important; border-radius: 10px !important; padding: 0.7em 1.3em !important; font: 500 0.95rem var(--font-display) !important; box-shadow: none !important; }
.gform_wrapper .gform_save_link img, .gform_wrapper .gform_save_link svg { display: none; }
.gform_wrapper .gform_page_footer, .gform_wrapper .gform_footer { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--violet-deep); color: rgba(255,255,255,0.86); margin-top: 0; font-size: 0.97rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--teal); }
.footer-cta { background: var(--teal-soft); color: var(--ink); position: relative; overflow: hidden; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.footer-cta__title { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); max-width: 18ch; color: var(--violet-deep); }
.footer-cta .wp-block-buttons { margin: 0; }
.footer-cta .wp-block-button__link { background: var(--violet); border-color: var(--violet); color: #fff; }
.footer-cta .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; }
.footer-heading { font: 600 1rem var(--font-display); color: var(--teal); margin-bottom: 14px; letter-spacing: 0; }
.footer-col p { margin: 0 0 10px; }
.footer-col address { font-style: normal; }
.footer-company { font-weight: 700; color: #fff; }
.footer-mark img { width: 60px; height: auto; margin-bottom: 14px; border-radius: 10px; background: #fff; display: block; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-block: 20px 28px; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- home ---------- */
.home .epg-section--first { background: var(--violet); color: #fff; }
.home .epg-section--first :is(h1, h2, h3, h4) { color: #fff; }
.home .epg-section--first::before { opacity: 0.95; right: -180px; top: auto; bottom: -260px; width: min(640px, 70vw); }
.home .epg-section--first a:not(.wp-element-button) { color: var(--lime); }
/* home hero photo: WebP copies shipped with the theme (same picture as the inline JPG; preloaded in functions.php) */
.home .epg-section--first[style*="Energy-transformer-and-relay-station"] { background-image: url("../img/hero-transformer-1920.webp") !important; }
@media (max-width: 781px) { .home .epg-section--first[style*="Energy-transformer-and-relay-station"] { background-image: url("../img/hero-transformer-1200.webp") !important; } }

/* ---------- editor parity ---------- */
.editor-styles-wrapper { font-family: var(--font-body); color: var(--ink); }
.editor-styles-wrapper .epg-section { padding-inline: 24px; }

/* ---------- fixes from QA round 1 ---------- */
.epg-signup { color: var(--ink); }
.epg-signup :is(h1, h2, h3, h4) { color: var(--violet) !important; }
.epg-band--violet .epg-signup a:not(.wp-element-button) { color: var(--violet); }
.epg-band--violet .epg-signup label { color: var(--ink); }
.epg-state-cards > *, .epg-card--state > * { min-width: 0; }
.epg-card--state table { font-size: 0.88rem; }
.epg-card--state th, .epg-card--state td { padding: 8px; }
@media (max-width: 600px) { .epg-card--state table { font-size: 0.78rem; } .epg-card--state th, .epg-card--state td { padding: 6px 4px; } }
.epg-section > .epg-card:not(.epg-card--check) { max-width: 440px; }
.epg-band--violet .epg-form label { color: #fff; }
.epg-band--violet .epg-signup .epg-form label { color: var(--ink); }
.epg-card--state table :is(h1, h2, h3, h4, h5, h6) { font: 700 0.92rem/1.25 var(--font-body); color: var(--violet); margin: 0; }
.epg-card--state td img { max-width: 100px; }

/* ---------- content photos fill their column (2026-10-27) ---------- */
.wp-block-column > .wp-block-image:not(.aligncenter-img) { width: 100%; }
.wp-block-column > .wp-block-image:not(.aligncenter-img) img:is([src$=".jpg"], [src$=".jpeg"], [src$=".webp"], [src$=".JPG"]):not([src*="ogo"]):not([src*="eal"]) { display: block; width: 100%; height: auto; object-fit: cover; }

/* ---------- migrated Divi background images (divi-to-blocks.php bg_image) ---------- */
/* cover: full photo under a violet overlay, white text */
.wp-block-cover.epg-section { min-height: 0; display: block; padding-block: var(--section-pad); padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.wp-block-cover.epg-section--first { min-height: clamp(300px, 34vw, 520px); display: flex; align-items: center; }
.epg-cover.epg-section--first::before { display: none; }
.epg-cover > .wp-block-cover__background { background: linear-gradient(120deg, rgba(35, 0, 92, 0.94) 0%, rgba(53, 0, 138, 0.84) 55%, rgba(10, 116, 128, 0.78) 100%) !important; opacity: 1 !important; }
.epg-cover > .wp-block-cover__inner-container { width: 100%; color: #fff; }
.epg-cover > .wp-block-cover__inner-container > :first-child { margin-top: 0; }
.epg-cover > .wp-block-cover__inner-container > :last-child { margin-bottom: 0; }
.epg-cover :where(p, li) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.epg-cover .epg-card, .epg-cover .epg-signup, .epg-cover .epg-form, .epg-cover .gform_wrapper { text-shadow: none; }
.wp-block-cover.epg-row { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; }

/* side art: flame-cut photo pinned right (or left) on the section; text keeps the other side */
.epg-section.epg-bgimg { background-color: #fff; color: var(--ink); }
.home .epg-section--first.epg-bgimg { background-color: #fff; color: var(--ink); }
.home .epg-section--first.epg-bgimg :is(h1, h2) { color: var(--ink); }
.home .epg-section--first.epg-bgimg :is(h3, h4) { color: var(--violet); }
.home .epg-section--first.epg-bgimg a:not(.wp-element-button) { color: var(--violet); }
.epg-bgimg.epg-section--first::before { display: none; }
.epg-bgimg--right { background-size: contain !important; background-position: right center !important; background-repeat: no-repeat !important; }
.epg-bgimg--right > * { max-width: min(54%, 640px); }
.epg-section.epg-bgimg--right { min-height: clamp(360px, 36vw, 560px); }
.epg-bgimg--left { background-size: 42% auto !important; background-position: left center !important; background-repeat: no-repeat !important; padding-left: calc(42% + clamp(24px, 3vw, 48px)) !important; }
@media (max-width: 781px) {
	.epg-bgimg--right > * { max-width: none; }
	.epg-section.epg-bgimg--right { min-height: 0; background-size: 150% auto !important; background-position: right bottom !important; padding-bottom: calc(24px + 74vw) !important; }
	.epg-bgimg--left { background-size: 100% auto !important; background-position: left top !important; padding-left: clamp(20px, 5vw, 32px) !important; padding-top: calc(62% + 20px) !important; }
}

/* bottom art: decorative band under a section (was a bottom-pinned Divi background) */
.entry-content > .epg-section-art { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.epg-section-art img { display: block; width: 100%; height: auto; min-height: 140px; max-height: 440px; object-fit: cover; object-position: center bottom; border-radius: 0 !important; }
/* light panels inside a dark band/cover keep dark text */
.epg-band--violet :is(.epg-band--teal, .epg-band--lime, .epg-band--mist) { color: var(--ink); text-shadow: none; }
.epg-band--violet :is(.epg-band--teal, .epg-band--lime, .epg-band--mist) :is(p, li) { text-shadow: none; }
.epg-band--violet :is(.epg-band--teal, .epg-band--lime, .epg-band--mist) :is(h1, h2) { color: var(--ink); }
.epg-band--violet :is(.epg-band--teal, .epg-band--lime, .epg-band--mist) :is(h3, h4, h5, h6) { color: var(--violet); }
.epg-band--violet :is(.epg-band--teal, .epg-band--lime, .epg-band--mist) a:not(.wp-element-button) { color: var(--violet); }

/* ---------- QA fix round 2 (2026-10-27) ---------- */
/* rate boxes (Divi accordion with the pricing table): card, open like live; label readable, number big */
.epg-ratebox { border: 2px solid var(--teal); border-radius: var(--radius); background: var(--teal-soft); padding: 4px clamp(14px, 3vw, 28px) 10px; box-shadow: 0 18px 36px -30px rgba(35, 0, 92, 0.45); }
.epg-ratebox > .wp-block-details:last-child { border-bottom: 0; }
.epg-ratebox .wp-block-details summary { text-align: center; padding-left: 48px; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); color: var(--violet); }
.epg-ratebox .wp-block-details > :not(summary) { padding-right: 0; }
.epg-ratebox table { width: auto; margin-inline: auto; }
.entry-content td.pric-dyn-field-label { color: inherit !important; text-align: right; vertical-align: middle; font-size: 1.05rem; border: 0; padding: 8px 12px; }
.entry-content td.pric-dyn-field-value { font: 600 2rem/1.1 var(--font-display); color: var(--violet); vertical-align: middle; white-space: nowrap; border: 0; padding: 8px 12px; letter-spacing: -0.02em; }
.entry-content td.pric-dyn-field-value span[style] { font-family: var(--font-display) !important; font-size: 0.5em !important; font-weight: 600 !important; margin-left: 2px !important; white-space: nowrap; letter-spacing: 0; }
@media (max-width: 480px) { .entry-content td.pric-dyn-field-label { font-size: 0.95rem; padding: 6px; } .entry-content td.pric-dyn-field-value { font-size: 1.6rem; padding: 6px; } }

/* blurb with a Divi background colour (Service Areas: white Ohio logo on violet) */
.epg-card.epg-band--violet { background: var(--violet); border-color: var(--violet); color: #fff; text-align: center; }
.epg-card.epg-band--violet .epg-card__media img { margin-inline: auto; max-height: 160px; }
.epg-card.epg-band--violet .epg-card__title, .epg-card.epg-band--violet .epg-card__title a { color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* coloured column panels (Capital One price cards) */
.wp-block-column.epg-panel { text-align: center; }
.wp-block-column.epg-panel .wp-block-image img { margin-inline: auto; display: block; width: auto; max-width: 200px; }
.wp-block-column.epg-panel h3 { font: 500 1.15rem var(--font-body); color: var(--muted); margin: 0.6em 0 0.2em; }
.wp-block-column.epg-panel h4 { font: 600 clamp(2.6rem, 2rem + 2.4vw, 4rem)/1.1 var(--font-display); letter-spacing: -0.03em; margin: 0; }
.wp-block-column.epg-panel h4 span[style*="font-size"] { font-size: 0.35em !important; font-family: var(--font-display) !important; }
.epg-band--teal.epg-panel { background: #d3f1f2; }
.epg-band--lime.epg-panel { background: var(--mist); }
.epg-list-headed { list-style: square; }
.epg-list-headed li { margin-bottom: 0.9em; }
.epg-list-headed li > strong:first-child { font: 600 1.2rem/1.3 var(--font-display); color: var(--violet); }
.epg-list-headed li::marker { color: var(--violet); }

/* About Us "Who We Are": the background video shows its right side, like live */
.epg-s-mission .wp-block-columns:has(.epg-bg-video) { align-items: stretch; }
.epg-s-mission .wp-block-column:has(> .epg-bg-video) { display: flex; }
.epg-s-mission .epg-bg-video { width: 100%; }
.epg-s-mission .epg-bg-video video { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 70% 50%; }
@media (max-width: 781px) { .epg-s-mission .epg-bg-video video { min-height: 0; height: auto; aspect-ratio: 4 / 3; } }

/* later H1s turned into H2 by the migration keep an H1-like colour */
.entry-content h2.epg-was-h1 { color: var(--violet); }

/* legal pages: light grey spans from the policy generator -> body colour (text unchanged) */
.entry-content [style*="color: rgb(127, 127, 127)"] { color: var(--ink) !important; }

/* inline lime/teal text from Divi (1.2-2:1 on white) -> teal ink on light backgrounds; lime/teal kept on dark bands (text unchanged) */
.entry-content :is([style*="color: #c3ff43" i], [style*="color:#c3ff43" i], [style*="color: #9be200" i], [style*="color:#9be200" i], [style*="color: #6ac100" i], [style*="color:#6ac100" i], [style*="color: #6ad606" i], [style*="color:#6ad606" i], [style*="color: #1ec8d7" i], [style*="color:#1ec8d7" i]) { color: var(--accent-text) !important; }
:is(.epg-band--violet, .epg-cover, .epg-cta) :is([style*="color: #c3ff43" i], [style*="color:#c3ff43" i], [style*="color: #9be200" i], [style*="color:#9be200" i], [style*="color: #6ac100" i], [style*="color:#6ac100" i], [style*="color: #6ad606" i], [style*="color:#6ad606" i]) { color: var(--lime) !important; }
:is(.epg-band--violet, .epg-cover, .epg-cta) :is([style*="color: #1ec8d7" i], [style*="color:#1ec8d7" i]) { color: var(--teal) !important; }

/* Home "channel partners" photo: show at about its real size, column sized to it */
.wp-block-columns:has(img[src*="channel-partners-clean"]) { align-items: center !important; }
.wp-block-column:has(> .wp-block-image img[src*="channel-partners-clean"]) { flex: 0 1 400px !important; }
.wp-block-column > .wp-block-image img[src*="channel-partners-clean"] { max-width: 400px; margin-inline: auto; }

/* forms: 16px fields on phones (stops iOS zoom) */
@media (max-width: 781px) {
	.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .gform_wrapper select, .gform_wrapper textarea, .gform_wrapper button,
	.epg-form input:not([type="hidden"]):not([type="checkbox"]), .epg-form select, .epg-form textarea, .epg-form button { font-size: 16px !important; }
	.gform-theme--orbital { --gf-ctrl-font-size: 16px; --gf-ctrl-btn-font-size: 16px; }
}

/* aggregation pages: city + EPG logos closer to live size (wide logos like Marietta were half size) */
.tpl-aggregation .epg-section--first > .wp-block-columns:first-child { max-width: 640px; align-items: center !important; }
.tpl-aggregation .epg-section--first > .wp-block-columns:first-child img { max-height: 150px; }
/* a section left with only anchor targets (e.g. inactive form on Marietta) takes no space; anchors keep working */
.epg-section:not(:has(> :not(.epg-anchor))) { padding-block: 0 !important; min-height: 0; background: none; }

/* Ohio/Florida in-page menu (row of anchor buttons): one soft-teal strip of outline buttons, 8px gaps, all widths */
.epg-s-menu .wp-block-columns { background: var(--teal-soft); border-radius: var(--radius); padding: 12px; gap: 8px !important; flex-wrap: wrap !important; justify-content: center; }
.epg-s-menu .wp-block-columns > .wp-block-column { flex: 0 0 auto !important; flex-basis: auto !important; width: auto; }
.epg-s-menu .wp-block-buttons { margin: 0; }
.epg-s-menu .wp-block-button__link { background: #fff; border-color: var(--teal-ink); color: var(--teal-ink); padding: 0.6em 1.15em; }
.epg-s-menu .wp-block-button__link:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
@media (max-width: 781px) {
	.epg-s-menu .wp-block-columns { gap: 8px; }
	.epg-s-menu .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex: 0 0 auto !important; flex-basis: auto !important; width: auto; }
	.epg-s-menu .wp-block-buttons { margin: 0; }
	.epg-s-menu .wp-block-button__link { padding: 0.6em 1.15em; font-size: 0.92rem; min-height: 44px; }
}

/* page head on phones: keep the decorative leaf out from behind the title (Landing 1224) */
.page-head__title { position: relative; z-index: 1; }
@media (max-width: 600px) { .page-head::after { width: 190px; height: 190px; right: -120px; top: -130px; opacity: 0.25; } }

/* phones: less empty space under the first (hero) section (456, 429, 477, 136, 138) */
@media (max-width: 781px) {
	.entry-content > .epg-section--first { padding-bottom: 28px; }
	.entry-content > .wp-block-cover.epg-section--first { min-height: 0; }
	.entry-content > .epg-section--first + .epg-section, .entry-content > .epg-section--first + .epg-section-art + .epg-section { padding-top: 32px; }
}

/* Ohio/Florida service-area maps: the GIFs are transparent with a white legend, so give them a dark panel */
.epg-s-4-availability .wp-block-image img[src*=".gif"] { background: #3d4451; border-radius: var(--radius); padding: clamp(10px, 2.5vw, 28px); box-sizing: border-box; }

/* ---------- round 2 (2026-10-29): contrast, tap targets, spacing, images ---------- */
/* H2 followed by text: WP's flow layout zeroes the margin, so the next line touched the heading */
.entry-content .is-layout-flow > h2:not(:last-child) { margin-block-end: 0.5em; }

/* savings cards (Home, Ohio, Florida): gradient-clipped numbers were 1.6-2.4:1 on white; solid colours, same numbers */
.entry-content [style*="background-clip: text"] { background: none !important; -webkit-text-fill-color: currentColor !important; }
.entry-content [style*="#bad532"] { color: #2e7d32 !important; } /* savings $ green 5.1:1 */
.entry-content [style*="#1ec8d7, #5a3f8e"] { color: var(--violet) !important; } /* usage numbers */
.entry-content td[style*="#a8b5bd"] { color: var(--muted) !important; } /* Therms / MCF */
.entry-content td[style*="#889299"] { font-size: 12px !important; letter-spacing: 0.04em; }
.entry-content td[style*="#889299"]::first-line { color: var(--muted); } /* inline colour is !important; ::first-line still wins */

/* News: empty state while there are no posts; hide the empty query column in the hero panel */
.epg-empty { border: 1px dashed var(--line); border-radius: var(--radius); background: var(--mist); padding: clamp(24px, 4vw, 40px); text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.epg-empty p { margin-inline: auto; }
.epg-empty__title { font: 600 1.35rem var(--font-display); color: var(--violet); margin-bottom: 0.4em; }
.epg-empty .wp-block-button__link { margin-top: 0.4rem; }
.epg-s-blog .epg-panel .wp-block-column:has(> .wp-block-query):not(:has(.wp-block-post)) { display: none; }
.epg-s-blog .epg-panel .wp-block-columns:has(.wp-block-query):not(:has(.wp-block-post)) > .wp-block-column { flex-basis: 100% !important; }
.epg-s-blog .epg-panel h4 { display: inline-block; margin: 0 18px 8px 0; }
.epg-s-blog .epg-panel h4 a { display: inline-block; padding-block: 10px; }

/* Florida reps page (/ayush/): card fonts follow the site (Ubuntu/Exo were never loaded), no second logo under the header */
.epng-rakesh, .epng-rakesh :is(p, li, a, span, div, small) { font-family: var(--font-body) !important; }
.epng-rakesh :is(h1, h2, h3, .epng-tag, .epng-eyebrow, .epng-rate-price, .epng-btn, .epng-avatar) { font-family: var(--font-display) !important; }
.epng-rakesh .epng-top > a:has(> img) { display: none !important; }
.epng-rakesh :is(.epng-foot, .epng-alt, .epng-lines) a { display: inline-block; padding-block: 10px; }

/* tap targets: footer links on phones and tablets */
@media (max-width: 900px) { .footer-links li { margin-bottom: 0; } .footer-links a, .footer-col a { display: inline-block; padding-block: 10px; } }

/* Gravity Forms: bigger checkboxes / radios (theme CSS only; forms unchanged) */
.gform_wrapper input[type="checkbox"], .gform_wrapper input[type="radio"] { width: 20px; height: 20px; accent-color: var(--violet); margin-right: 8px; vertical-align: -4px; }
.gform_wrapper .gchoice label, .gform_wrapper .ginput_container_consent label { padding-block: 10px; display: inline-block; }

/* Home "Unparalleled customer service": photo cropped before the white leaf of the old Divi art (WebP, theme copy) */
.epg-bgimg--left[style*="customer-service-team-member-background"] { background-image: url("../img/opt/Eastern-power-and-gas-customer-service-team-member-390.webp") !important; }
@media (max-width: 781px) { .epg-bgimg--left[style*="customer-service-team-member-background"] { padding-top: calc(102.6% + 20px) !important; } }

/* About Us: utility logos readable, green-energy icons calmer */
.entry-content td img[src*="Utility-Logo"], .entry-content td img[src*="National-Grid"] { height: 28px; width: auto; max-width: 150px; object-fit: contain; }
.entry-content td img[src*="Green-Energy-Solution"] { width: 26px; height: auto; filter: saturate(0.7); }

/* city seals (square file with white corners) sit as a clean circle on the tinted band */
.wp-block-image img[src*="seal" i] { border-radius: 50% !important; background: #fff; box-shadow: 0 0 0 4px #fff; }

/* Service Areas hub: state cards side by side */
.epg-page-service-areas .epg-section--first > .epg-card { display: inline-block; vertical-align: top; width: min(100%, 360px); margin: 1rem 16px 0 0; }

/* Ohio: links to the community aggregation pages */
.epg-community-list { columns: 2; column-gap: 2rem; list-style: none; padding-left: 0 !important; }
.epg-community-list li { break-inside: avoid; margin: 0; }
.epg-community-list a { display: inline-block; padding-block: 8px; font-weight: 600; }
@media (min-width: 782px) { .epg-community-list { columns: 3; } }

/* visible breadcrumbs (nested pages) */
.epg-breadcrumbs { font-size: 0.875rem; padding-block: 0.75rem; color: var(--muted); }
.epg-breadcrumbs a { color: var(--muted); }
.epg-breadcrumbs a:hover { color: var(--violet); }

/* heading levels fixed in content (h4 -> h2) keep the old size */
.entry-content h2.epg-h4, .home .epg-section--first.epg-bgimg h2.epg-h4 { font-size: 1.15rem; font-weight: 500; letter-spacing: 0; color: var(--violet); }
.epg-posts:has(.epg-empty) { margin-bottom: 2.5rem; }
