/* ==========================================================================
   Royal Termite Control: design tokens, base, shared primitives, blocks.
   Breakpoints (fixed): 1240 / 1100 / 1024 / 767 / 350 (max-width).
   ========================================================================== */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-condensed-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-condensed-500.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/source-sans-3-400-900.woff2') format('woff2'); }

:root {
	/* Brand palette (Figma "Local Legacy"). Names are the shared DE token names. */
	--de-green:       #B90E00;   /* Royal red: brand, buttons, eyebrows, active map area */
	--de-green-dark:  #960D00;   /* button hover */
	--de-green-hover: #A10C00;
	--de-green-pale:  #F5E7E5;   /* soft red: card tint, inactive county */
	--de-gray:        #5C5854;   /* secondary text */
	--de-gray-light:  #F8F6F2;   /* warm white sections */
	--de-dark:        #171717;   /* ink + dark sections */
	--de-gold:        #DED9D4;   /* fine rules */
	--de-white:       #FFFFFF;
	--de-county-hover: #EBCFCB;

	--de-font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--de-font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

	--de-max-w:   1312px;
	--de-gutter:  64px;
	--de-radius:  8px;
	--de-btn-radius: 6px;
	--de-section-y: 64px;
	--de-header-h: 134px; /* sticky header height, for anchor offsets */
	--de-transition: 0.18s ease;
	--de-shadow: 0 8px 32px rgba(23, 23, 23, 0.08);

	--de-fs-display: clamp(44px, 6.1vw, 88px);
	--de-fs-h2: clamp(40px, 4.45vw, 64px);
	--de-fs-h3: clamp(24px, 2vw, 28px);
	--de-fs-lead: 18px;
	--de-fs-body: 16px;
	--de-fs-label: 13px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--de-font-body); font-size: var(--de-fs-body); line-height: 1.6; color: var(--de-dark); background: var(--de-white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--de-green); outline-offset: 3px; }
.de-section--dark :focus-visible, .de-section--red :focus-visible, .de-hero :focus-visible, .de-pagehero :focus-visible, .de-closing :focus-visible, .de-footer :focus-visible, .de-map__panel :focus-visible { outline-color: var(--de-white); }
[id] { scroll-margin-top: calc(var(--de-header-h) + 16px); }
.de-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--de-dark); color: var(--de-white); padding: 12px 16px; border-radius: var(--de-btn-radius); }
.de-skip:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
#de-page { overflow-x: clip; }
.de-container { width: 100%; max-width: calc(var(--de-max-w) + var(--de-gutter) * 2); margin: 0 auto; padding: 0 var(--de-gutter); }
.de-section { padding: var(--de-section-y) 0; }
.de-section--white { background: var(--de-white); }
.de-section--paper { background: var(--de-gray-light); }
.de-section--dark { background: var(--de-dark); color: var(--de-white); }
.de-section--red { background: var(--de-green); color: var(--de-white); }
.de-content > .de-section + .de-section--white.de-section,
.de-content > .de-section--white + .de-section--white { border-top: 1px solid var(--de-gold); }

/* ---------- type primitives ---------- */
.de-eyebrow { margin: 0 0 24px; font-size: var(--de-fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--de-green); line-height: 1.5; }
.de-eyebrow--light { color: var(--de-white); }
.de-h2 { font-family: var(--de-font-head); font-weight: 400; font-size: var(--de-fs-h2); line-height: 1; text-transform: uppercase; letter-spacing: 0.005em; }
.de-h2 em { font-style: normal; color: var(--de-green); }
.de-section--dark .de-h2 em, .de-section--red .de-h2 em { color: inherit; }
.de-h2--sm { font-size: clamp(36px, 3.6vw, 52px); }
.de-num { font-size: var(--de-fs-label); font-weight: 600; letter-spacing: 0.08em; color: var(--de-green); }
.de-rich ul, .de-prose ul { padding-left: 1.2em; }
.de-rich li, .de-prose li { margin-bottom: 0.4em; }
.de-rich a:not(.de-btn), .de-prose a:not(.de-btn) { color: var(--de-green); font-weight: 600; }

.de-head { margin-bottom: 40px; }
.de-head__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.de-head--split .de-head__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
.de-head__intro { font-size: var(--de-fs-lead); color: var(--de-gray); line-height: 1.55; max-width: 520px; justify-self: end; padding-top: 4px; }
.de-section--dark .de-head__intro, .de-section--red .de-head__intro { color: rgba(255, 255, 255, 0.86); }

/* ---------- buttons + links ---------- */
.de-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
.de-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 32px; border-radius: var(--de-btn-radius); border: 2px solid transparent; font-family: var(--de-font-body); font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--de-transition), color var(--de-transition), border-color var(--de-transition); }
.de-btn--red { background: var(--de-green); color: var(--de-white); min-width: 280px; }
.de-btn--red:hover { background: var(--de-green-dark); }
.de-btn--light { background: var(--de-white); color: var(--de-green); min-width: 326px; }
.de-btn--light:hover { background: var(--de-gray-light); color: var(--de-green-dark); }
.de-btn--ghost { background: transparent; color: var(--de-white); padding-left: 8px; padding-right: 8px; }
.de-btn--ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Call links: phone icon + a larger number so they read as a phone link, not plain text. */
.de-btn--ghost[href^="tel:"] { gap: 10px; font-size: 18px; font-weight: 700; }
.de-btn--ghost[href^="tel:"]::before, .de-closing__phone a::before { content: ''; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.32.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.32.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E") center / contain no-repeat; }
.de-btn--outline { background: transparent; color: var(--de-green); border-color: var(--de-green); }
.de-btn--outline:hover { background: var(--de-green); color: var(--de-white); }
.de-arrowlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--de-green); text-decoration: none; }
.de-arrowlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.de-arrowlink .de-glyph { width: 12px; height: 12px; flex: none; }
.de-arrowlink--light { color: var(--de-white); }
.de-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--de-btn-radius); background: var(--de-gray-light); color: var(--de-dark); cursor: pointer; }
.de-iconbtn .de-glyph { width: 20px; height: 20px; }

/* ---------- cards ---------- */
.de-card { position: relative; border: 1px solid var(--de-gold); border-radius: var(--de-radius); background: linear-gradient(160deg, var(--de-white) 0%, rgba(245, 231, 229, 0.55) 100%); }

/* ==========================================================================
   Header
   ========================================================================== */
.de-header { position: sticky; top: 0; z-index: 50; background: var(--de-white); border-bottom: 1px solid var(--de-gold); transition: box-shadow var(--de-transition); }
.de-header.is-scrolled { box-shadow: var(--de-shadow); }
.admin-bar .de-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .de-header { top: 0; } }
@media (max-width: 1240px) { :root { --de-header-h: 117px; } }
@media (max-width: 767px) { :root { --de-header-h: 113px; } }
@media (max-width: 350px) { :root { --de-header-h: 96px; } }
.de-header__inner { display: flex; align-items: center; gap: 32px; max-width: calc(var(--de-max-w) + var(--de-gutter) * 2); margin: 0 auto; padding: 16px var(--de-gutter); }
.de-header__logo { flex: none; display: block; }
.de-header__logo img { width: 240px; height: auto; }
.de-nav { flex: 1; display: flex; justify-content: center; }
.de-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px 36px; }
.de-nav__menu > li { position: relative; display: flex; align-items: center; }
.de-nav__menu a { display: inline-block; padding: 10px 0; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--de-dark); }
.de-nav__menu a:hover, .de-nav__menu .current-menu-item > a, .de-nav__menu .current-menu-ancestor > a { color: var(--de-green); }
.de-nav__subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 2px; border: 0; background: none; cursor: pointer; color: var(--de-dark); border-radius: 4px; }
.de-nav__subtoggle svg { transition: transform var(--de-transition); }
.is-open > .de-nav__subtoggle svg { transform: rotate(180deg); }
.de-nav .sub-menu { list-style: none; margin: 0; padding: 12px 0; position: absolute; top: 100%; left: -20px; min-width: 300px; background: var(--de-white); border: 1px solid var(--de-gold); border-radius: var(--de-radius); box-shadow: var(--de-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--de-transition), transform var(--de-transition), visibility var(--de-transition); }
.de-nav .sub-menu a { display: block; padding: 10px 20px; font-weight: 600; }
.de-nav .menu-item-has-children:hover > .sub-menu, .de-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.de-nav__mobile-cta { display: none; }
.de-header__actions { flex: none; display: flex; align-items: center; gap: 12px; }
.de-header__cta { min-width: 0; padding: 12px 28px; }
.de-header__call, .de-header__toggle { display: none; }
.de-header__call { background: var(--de-green); color: var(--de-white); }
.de-header__call:hover { background: var(--de-green-dark); }
.de-header__toggle .de-glyph--close { display: none; }
.de-nav-open .de-header__toggle .de-glyph--menu { display: none; }
.de-nav-open .de-header__toggle .de-glyph--close { display: block; }

@media (max-width: 1240px) {
	.de-nav__menu { gap: 8px 24px; }
	.de-header__logo img { width: 200px; }
}
@media (max-width: 1100px) {
	.de-header__toggle { display: inline-flex; }
	.de-header__inner { justify-content: space-between; }
	.de-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; justify-content: flex-start; background: var(--de-white); border-top: 1px solid var(--de-gold); box-shadow: var(--de-shadow); padding: 8px var(--de-gutter) 32px; max-height: calc(100vh - 100px); overflow-y: auto; }
	.de-nav-open .de-nav { display: flex; }
	.de-nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
	.de-nav__menu > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--de-gold); }
	.de-nav__menu > li > a { padding: 16px 0; font-size: 18px; flex: 1; }
	.de-nav__subtoggle { width: 44px; height: 44px; }
	.de-nav .sub-menu { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 12px 16px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.de-nav .menu-item-has-children:hover > .sub-menu { display: none; }
	.de-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.de-nav .sub-menu a { padding: 10px 0; font-size: 16px; }
	.de-nav__mobile-cta { display: block; margin-top: 24px; }
	.de-nav__mobile-cta .de-actions { flex-direction: column; align-items: stretch; gap: 8px; }
	.de-nav__mobile-cta .de-btn--ghost { color: var(--de-green); }
}
@media (max-width: 767px) {
	.de-header__inner { padding: 16px 24px; gap: 12px; }
	.de-header__logo img { width: 190px; }
	.de-header__cta { display: none; }
	.de-header__call { display: inline-flex; }
	.de-nav { padding: 8px 24px 32px; }
}
@media (max-width: 350px) {
	.de-header__logo img { width: 150px; }
}

/* ==========================================================================
   DE Hero (home)
   ========================================================================== */
.de-hero { position: relative; min-height: 720px; display: flex; flex-direction: column; justify-content: center; color: var(--de-white); background: var(--de-dark); isolation: isolate; text-align: center; }
.de-hero__media { position: absolute; inset: 0; z-index: -1; }
/* Radial shade behind the headline so the red title never sits on the truck's lettering. */
.de-hero__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 42% at 50% 52%, rgba(23, 23, 23, 0.78) 0%, rgba(23, 23, 23, 0.5) 55%, rgba(23, 23, 23, 0) 100%), linear-gradient(180deg, rgba(23, 23, 23, 0.92) 0%, rgba(23, 23, 23, 0.8) 48%, rgba(185, 14, 0, 0.42) 100%); }
.de-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.de-hero__inner { max-width: 1000px; margin: 0 auto; padding: 112px 24px 96px; }
.de-hero__title { font-family: var(--de-font-body); font-weight: 600; font-size: var(--de-fs-display); line-height: 1.04; text-transform: uppercase; letter-spacing: -0.005em; margin-bottom: 32px; }
.de-hero__title em { font-style: normal; color: var(--de-green); }
.de-hero__lead { font-size: var(--de-fs-lead); margin-bottom: 48px; }
.de-hero .de-actions { justify-content: center; margin-bottom: 24px; }
.de-hero__support { font-size: 16px; }
.de-hero__ribbon { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; padding: 0 24px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; text-align: center; opacity: 0.92; }

@media (max-width: 1024px) {
	.de-hero { min-height: 700px; }
}
@media (max-width: 767px) {
	.de-hero { min-height: 0; display: flex; flex-direction: column; }
	.de-hero__media { position: relative; inset: auto; z-index: 0; order: 2; aspect-ratio: 390 / 202; }
	.de-hero__media::after { display: none; }
	.de-hero__img { object-position: center; }
	.de-hero__inner { padding: 40px 24px 48px; }
	.de-hero__title { margin-bottom: 24px; }
	.de-hero__lead { margin-bottom: 24px; }
	.de-hero .de-actions { flex-direction: column; align-items: stretch; gap: 8px; }
	.de-hero .de-btn--light { min-width: 0; }
	.de-hero__ribbon { display: none; }
}

/* ==========================================================================
   Interior page hero
   ========================================================================== */
/* Desktop: one fixed min-height for every interior hero (fits the longest title + intro + buttons). Tablet and phone follow content. */
.de-pagehero { position: relative; isolation: isolate; color: var(--de-white); background: var(--de-dark); min-height: 520px; display: flex; align-items: center; }
@media (max-width: 1024px) { .de-pagehero { min-height: 440px; } }
.de-pagehero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.de-pagehero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 23, 23, 0.94) 0%, rgba(23, 23, 23, 0.8) 52%, rgba(185, 14, 0, 0.42) 100%); }
.de-pagehero__inner { padding-top: 72px; padding-bottom: 72px; }
.de-pagehero__inner > :last-child { margin-bottom: 0; }
.de-pagehero__title { font-family: var(--de-font-body); font-weight: 600; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; text-transform: uppercase; max-width: 900px; margin-bottom: 20px; }
.de-pagehero__title em { font-style: normal; color: var(--de-green); }
.de-pagehero__meta { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.de-pagehero__lead { font-size: var(--de-fs-lead); max-width: 640px; margin-bottom: 32px; color: rgba(255, 255, 255, 0.9); }
.de-pagehero .de-actions { gap: 16px 40px; }
@media (max-width: 767px) {
	.de-pagehero { min-height: 360px; }
	.de-pagehero__inner { padding-top: 56px; padding-bottom: 56px; }
	.de-pagehero .de-actions { flex-direction: column; align-items: stretch; gap: 8px; }
	.de-pagehero .de-btn--light { min-width: 0; }
}

/* ==========================================================================
   DE Trust Strip
   ========================================================================== */
.de-trust { background: var(--de-white); border-bottom: 1px solid var(--de-gold); }
.de-trust__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
.de-trust__label { margin: 0; font-size: var(--de-fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.55; }
.de-trust__logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; }
.de-trust__logos img { height: 54px; width: auto; }
.de-trust__aside { margin: 0; justify-self: end; color: var(--de-gray); }
@media (max-width: 1024px) {
	.de-trust__inner { grid-template-columns: auto auto; }
	.de-trust__aside { display: none; }
}
@media (max-width: 767px) {
	.de-trust__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; }
	.de-trust__label { display: none; }
	.de-trust__logos { gap: 24px; justify-content: center; }
	.de-trust__logos img { height: 46px; }
}

/* ==========================================================================
   DE Service Cards
   ========================================================================== */
.de-services__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.de-services__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.de-services__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.de-svc { display: flex; flex-direction: column; min-height: 384px; padding: 24px; }
.de-svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.de-svc__top svg { width: 64px; height: 64px; }
.de-svc__title { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); line-height: 1.15; margin-bottom: 24px; }
.de-svc__body { color: var(--de-gray); margin-bottom: 24px; }
.de-svc__link { margin-top: auto; }
.de-svc__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--de-radius); }
.de-svc { transition: border-color var(--de-transition), box-shadow var(--de-transition), transform var(--de-transition); }
.de-svc:hover { border-color: var(--de-green); box-shadow: var(--de-shadow); }
@media (max-width: 1024px) {
	.de-services__grid, .de-services__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.de-svc { min-height: 0; }
}
@media (max-width: 767px) {
	.de-services__grid, .de-services__grid--3, .de-services__grid--2 { grid-template-columns: minmax(0, 1fr); }
	.de-svc__top { margin-bottom: 16px; }
	.de-svc__top svg { width: 56px; height: 56px; }
	.de-svc__title { margin-bottom: 12px; }
	.de-svc__body { margin-bottom: 20px; }
}

/* ==========================================================================
   DE Warning Signs
   ========================================================================== */
.de-signs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.de-sign { padding: 24px; background: var(--de-white); }
.de-sign__art { display: flex; justify-content: center; align-items: center; aspect-ratio: 2.6 / 1; margin: -8px -8px 24px; border-radius: 4px; background: var(--de-gray-light); overflow: hidden; }
.de-sign__art svg { width: auto; height: 100%; }
.de-sign__title { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); line-height: 1.15; margin-bottom: 8px; }
.de-sign__body { color: var(--de-gray); }
.de-signs__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--de-gold); }
.de-signs__foot p { margin: 0; }
@media (max-width: 1024px) { .de-signs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 767px) {
	.de-signs__grid { grid-template-columns: minmax(0, 1fr); }
	.de-signs__foot { flex-direction: column; align-items: stretch; }
	.de-signs__foot .de-btn { min-width: 0; }
}

/* ==========================================================================
   DE Legacy Year
   ========================================================================== */
.de-legacy__art { position: relative; margin: 48px 0 48px; text-align: center; }
.de-legacy__year { display: block; font-family: var(--de-font-head); font-weight: 500; font-size: clamp(170px, 44vw, 640px); line-height: 0.78; letter-spacing: -0.01em; color: #c79a6b; background: var(--de-year-tex, linear-gradient(135deg, #d9b38a, #9b6a3c)) center / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.85); padding-top: 0.04em; }
.de-legacy__inset { position: absolute; right: 0; bottom: -2%; width: 36%; aspect-ratio: 480 / 249; height: auto; object-fit: cover; border: 8px solid var(--de-dark); }
.de-legacy__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.de-legacy__body { font-size: var(--de-fs-lead); line-height: 1.55; color: rgba(255, 255, 255, 0.92); margin-bottom: 24px; }
.de-legacy__facts { list-style: none; margin: 0; padding: 0 0 24px; display: flex; flex-wrap: wrap; gap: 12px 64px; border-bottom: 1px solid var(--de-gray); }
@media (max-width: 1024px) {
	.de-legacy__row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
	.de-legacy__art { margin: 24px 0 48px; }
	.de-legacy__year { font-size: 41vw; text-align: left; }
	.de-legacy__inset { width: 60%; bottom: -22%; border-width: 6px; }
	.de-legacy__facts { flex-direction: column; gap: 16px; }
}

/* ==========================================================================
   DE Steps
   ========================================================================== */
.de-steps__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.de-steps__intro { position: relative; }
.de-steps__mark { position: absolute; top: -8px; right: 15%; width: 104px; opacity: 0.09; pointer-events: none; }
.de-steps__intro .de-h2 { margin-bottom: 24px; }
.de-steps__lead { color: var(--de-gray); max-width: 440px; margin-bottom: 32px; }
.de-steps__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--de-gold); }
.de-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0; padding: 32px 0; border-bottom: 1px solid var(--de-gold); }
.de-step .de-num { padding-top: 10px; }
.de-step__title { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); line-height: 1.15; margin-bottom: 8px; }
.de-step__body { color: var(--de-gray); }
.de-steps__list--compact .de-step { padding: 24px 0; }
.de-steps__list--compact .de-step__title { font-size: 24px; }
@media (max-width: 1024px) { .de-steps__inner { gap: 40px; } }
@media (max-width: 767px) {
	.de-steps__inner { grid-template-columns: minmax(0, 1fr); }
	.de-steps__intro .de-btn { width: 100%; min-width: 0; }
	.de-steps__mark { right: 0; width: 80px; }
	.de-step { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 0; }
	.de-step .de-num { padding-top: 8px; }
}

/* ==========================================================================
   DE Service Area Map
   ========================================================================== */
.de-map .de-head { margin-bottom: 32px; }
.de-map__hint { margin-top: 16px; color: var(--de-green); font-size: 16px; }
.de-map__hint--touch { display: none; }
@media (hover: none) { .de-map__hint--mouse { display: none; } .de-map__hint--touch { display: inline; } }
.de-map__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.de-map__tab { min-height: 64px; padding: 12px 16px; border: 0; border-radius: 2px; background: var(--de-white); color: var(--de-dark); font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color var(--de-transition), color var(--de-transition); }
.de-map__tab:hover { background: var(--de-green-pale); }
.de-map__tab.is-active { background: var(--de-green); color: var(--de-white); }
.de-map__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.de-map__figure { background: var(--de-white); border-radius: 2px; }
.de-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.de-map__region { fill: var(--de-green-pale); stroke: var(--de-gold); stroke-width: 2; cursor: pointer; transition: fill var(--de-transition); }
.de-map__region:hover, .de-map__region.is-hover { fill: var(--de-county-hover); }
.de-map__region.is-active, .de-map__region.is-active:hover, .de-map__region.is-active.is-hover { fill: var(--de-green); }
.de-map__label { font-family: var(--de-font-body); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; fill: var(--de-dark); cursor: pointer; }
.de-map__label[data-area="chester"].is-active { fill: var(--de-white); }
.de-map__north { font-family: var(--de-font-body); font-size: 13px; letter-spacing: 1.2px; fill: var(--de-gray); }
.de-map__marker { cursor: pointer; }
.de-map__hit { fill: transparent; }
.de-map__ring { fill: var(--de-white); stroke: var(--de-green); stroke-width: 3; transition: r var(--de-transition), fill var(--de-transition), stroke var(--de-transition); }
.de-map__dot { fill: var(--de-green); transition: fill var(--de-transition); }
.de-map__marker.is-hover .de-map__ring, .de-map__marker:hover .de-map__ring { r: 12; }
.de-map__marker.is-active .de-map__ring { r: 12.5; fill: var(--de-green); stroke: var(--de-white); }
.de-map__marker.is-active .de-map__dot { fill: var(--de-white); }
.de-map__region.is-inert, .de-map__marker.is-inert, .de-map__label.is-inert { pointer-events: none; }
.de-map__panel { background: var(--de-dark); color: var(--de-white); }
.de-map__photos { position: relative; aspect-ratio: 640 / 420; overflow: hidden; background: #2a2a2a; }
.de-map__photo { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity var(--de-transition); }
.de-map__photo.is-prev { z-index: 1; opacity: 1; transition: none; }
.de-map__photo.is-active { z-index: 2; opacity: 1; }
.de-map__photo img { width: 100%; height: 100%; object-fit: cover; }
.de-map__captions { padding: 20px 16px 24px; min-height: 96px; }
.de-map__name { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); line-height: 1.15; margin-bottom: 4px; }
.de-map__caption p { margin: 0 0 8px; color: rgba(255, 255, 255, 0.86); }
.de-map__phone { margin: 32px 0 16px; }
.de-map__phone a { color: var(--de-green); font-weight: 600; text-decoration: none; }
.de-map__phone a:hover { text-decoration: underline; text-underline-offset: 4px; }
.de-map__note { font-size: 14px; color: var(--de-gray); margin: 0; }
/* Without JS every area is readable: photos and captions stacked. */
.de-map:not(.de-map--js) .de-map__photos { aspect-ratio: auto; }
.de-map:not(.de-map--js) .de-map__photo { position: relative; opacity: 1; }
.de-map:not(.de-map--js) .de-map__caption[hidden] { display: block; }
@media (max-width: 1024px) {
	.de-map__tabs { gap: 12px; }
	.de-map__body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
	.de-map__tabs { gap: 8px; }
	.de-map__tab { min-height: 64px; padding: 8px; font-size: 15px; line-height: 1.3; }
	.de-map__body { grid-template-columns: minmax(0, 1fr); }
	.de-map__label { font-size: 21px; letter-spacing: 1.5px; }
	.de-map__north { font-size: 20px; }
	.de-map__ring { r: 13; stroke-width: 4; }
	.de-map__marker.is-active .de-map__ring, .de-map__marker:hover .de-map__ring { r: 16; }
	.de-map__dot { r: 4; }
}
@media (max-width: 350px) {
	.de-map__tab { font-size: 14px; }
}

/* ==========================================================================
   DE Reviews
   ========================================================================== */
.de-reviews .de-h2 { max-width: 760px; }
.de-reviews__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.de-quote { margin: 0; }
.de-quote blockquote { margin: 0 0 16px; }
.de-quote blockquote p { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); line-height: 1.15; }
.de-quote figcaption strong { display: block; font-weight: 600; margin-bottom: 4px; }
.de-quote figcaption span { font-size: 14px; opacity: 0.9; }
.de-quote__mark { display: block; font-family: var(--de-font-head); font-size: 60px; line-height: 0.6; height: 40px; margin-bottom: 24px; }
.de-quote--lead blockquote p { font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.15; }
.de-quote--lead blockquote { margin-bottom: 24px; }
.de-reviews__side .de-quote { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.9); }
.de-reviews__side .de-quote + .de-quote { margin-top: 32px; }
.de-reviews__more { margin-top: 40px; }
/* Reserved for the Trustindex widget (loads after the page): its height at each width, to avoid a layout shift. */
.de-reviews__embed { min-height: 352px; }
@media (max-width: 767px) { .de-reviews__embed { min-height: 480px; } }
@media (max-width: 1024px) { .de-reviews__grid { gap: 40px; } }
@media (max-width: 767px) { .de-reviews__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   DE FAQ
   ========================================================================== */
.de-faq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 80px; align-items: start; }
.de-faq__intro .de-h2 { margin-bottom: 32px; }
.de-faq__lead { color: var(--de-gray); max-width: 380px; }
.de-faq__list { display: grid; gap: 8px; }
.de-faq__item { background: var(--de-white); border-radius: 2px; }
.de-section--white .de-faq__item { background: var(--de-gray-light); }
.de-faq__q button { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--de-font-head); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--de-dark); }
.de-faq__q button:hover span:first-child { color: var(--de-green); }
.de-faq__icon { position: relative; flex: none; width: 16px; height: 16px; margin-top: 6px; }
.de-faq__icon::before, .de-faq__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1.6px; background: currentColor; transition: transform var(--de-transition); }
.de-faq__icon::after { transform: rotate(90deg); }
.de-faq__item.is-open .de-faq__icon::after { transform: rotate(0deg); }
.de-faq__a { padding: 0 24px 24px; color: var(--de-gray); max-width: 760px; }
@media (max-width: 1024px) { .de-faq__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ==========================================================================
   DE Closing Invitation + wordmark
   ========================================================================== */
.de-closing { background: var(--de-dark); color: var(--de-white); text-align: center; padding-top: 64px; overflow: hidden; }
.de-closing__inner { display: flex; flex-direction: column; align-items: center; }
.de-closing .de-h2 { margin-bottom: 24px; }
.de-closing__phone { margin: 24px 0 0; font-weight: 600; }
.de-closing__phone a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.de-closing__phone a:hover { text-decoration: underline; text-underline-offset: 4px; }
.de-closing__wordmark { margin: 40px 0 -0.12em; font-family: var(--de-font-body); font-weight: 900; font-size: clamp(110px, 28.5vw, 410px); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 70%, rgba(255, 255, 255, 0) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; }
@media (max-width: 767px) {
	.de-closing { padding-top: 56px; }
	.de-closing .de-btn { width: 100%; min-width: 0; }
	.de-closing__wordmark { margin-top: 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.de-footer { background: var(--de-dark); color: var(--de-white); padding: 48px 0 40px; }
.de-footer__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 48px; padding-bottom: 48px; }
.de-footer__logo { display: inline-block; margin-bottom: 24px; }
.de-footer__logo img { width: 240px; }
.de-footer__tagline { margin-bottom: 24px; }
.de-footer__phone { display: inline-block; font-family: var(--de-font-head); font-weight: 500; font-size: 28px; text-decoration: none; margin-bottom: 16px; }
.de-footer__phone:hover { color: #ffb3ab; }
.de-footer__address a { text-decoration: none; }
.de-footer__address a:hover { text-decoration: underline; }
.de-footer__address + .de-footer__address { margin-top: 12px; }
.de-footer__heading { margin: 8px 0 24px; font-size: var(--de-fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.de-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.de-footer__menu a { text-decoration: none; }
.de-footer__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.de-footer__hours { margin-bottom: 24px; }
.de-footer__social { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 12px; }
.de-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; color: var(--de-white); text-decoration: none; transition: background-color var(--de-transition), border-color var(--de-transition); }
.de-social:hover { background: var(--de-green); border-color: var(--de-green); }
.de-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 32px; background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) var(--de-gutter) 0 / calc(100% - var(--de-gutter) * 2) 1px no-repeat; font-size: 14px; }
.de-footer__bottom p { margin: 0; }
.de-footer__bottom a { text-decoration: none; }
.de-footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 1024px) {
	.de-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.de-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.de-footer__logo img { width: 200px; }
}

/* ==========================================================================
   DE Split
   ========================================================================== */
.de-split__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.de-split--left .de-split__inner > :last-child { order: -1; }
.de-split--text .de-split__inner { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.de-split__text .de-h2 { margin-bottom: 24px; }
.de-split__body { color: var(--de-gray); font-size: 17px; line-height: 1.65; margin-bottom: 32px; }
.de-split__body:last-child { margin-bottom: 0; }
.de-section--dark .de-split__body { color: rgba(255, 255, 255, 0.88); }
.de-split__photo { margin: 0; }
.de-split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--de-radius); }
.de-split__photo figcaption { margin-top: 8px; font-size: 14px; color: var(--de-gray); }
.de-split__map { aspect-ratio: 4 / 3; border-radius: var(--de-radius); overflow: hidden; background: var(--de-gold); }
.de-split__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.de-split__art { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border: 1px solid var(--de-gold); border-radius: var(--de-radius); background: radial-gradient(circle at 50% 45%, var(--de-white) 0%, rgba(245, 231, 229, 0.85) 100%); }
.de-split__art svg { width: 46%; height: auto; }
@media (max-width: 1024px) { .de-split__inner { gap: 40px; } }
@media (max-width: 767px) {
	.de-split__inner { grid-template-columns: minmax(0, 1fr); }
	.de-split--left .de-split__inner > :last-child { order: 0; }
	.de-split__text .de-btn { width: 100%; min-width: 0; }
}

/* ==========================================================================
   DE Checklist
   ========================================================================== */
.de-checklist__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.de-checklist__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.de-check { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--de-gold); }
.de-check__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--de-green-pale); color: var(--de-green); }
.de-check__icon .de-glyph { width: 18px; height: 18px; }
.de-check__title { font-family: var(--de-font-head); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 6px 0 8px; }
.de-check__body { color: var(--de-gray); }
@media (max-width: 1024px) { .de-checklist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.de-checklist__grid, .de-checklist__grid--2 { grid-template-columns: minmax(0, 1fr); }
	/* Phones: the check stays beside the title (bullet-like), in a tighter column. */
	.de-check { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
	.de-check__icon { width: 28px; height: 28px; }
	.de-check__icon .de-glyph { width: 14px; height: 14px; }
	.de-check__title { margin-top: 1px; }
}

/* ==========================================================================
   DE Contact + DE Form + Gravity Forms
   ========================================================================== */
.de-contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.de-contact__info .de-h2 { margin-bottom: 24px; }
.de-contact__info .de-rich { color: var(--de-gray); margin-bottom: 32px; }
.de-contact__details { margin: 0 0 32px; display: grid; gap: 24px; }
.de-contact__details dt { font-size: var(--de-fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--de-green); margin-bottom: 4px; }
.de-contact__details dd { margin: 0; font-size: 18px; }
.de-contact__phone { font-family: var(--de-font-head); font-weight: 500; font-size: 32px; text-decoration: none; }
.de-contact__phone:hover { color: var(--de-green); }
.de-contact__map { aspect-ratio: 16 / 10; border-radius: var(--de-radius); overflow: hidden; background: var(--de-gold); }
.de-contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.de-formcard { background: var(--de-white); border: 1px solid var(--de-gold); border-radius: var(--de-radius); padding: 40px; box-shadow: var(--de-shadow); }
.de-formcard__title { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); margin-bottom: 24px; }
.de-formcard .de-h2 { margin-bottom: 16px; }
.de-formcard .de-rich { color: var(--de-gray); margin-bottom: 24px; }
.de-form__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.de-form__aside-title { font-family: var(--de-font-head); font-weight: 500; font-size: var(--de-fs-h3); margin: 8px 0 16px; }
.de-form__phone { margin-top: 24px; font-weight: 600; }
.de-form__phone a { color: var(--de-green); text-decoration: none; }
@media (max-width: 1024px) {
	.de-contact__inner, .de-form__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 767px) { .de-formcard { padding: 24px; } }

.gform_wrapper.gform-theme--framework, .gform_wrapper {
	--gf-color-primary: var(--de-green);
	--gf-color-primary-rgb: 185, 14, 0;
	--gf-color-primary-darker: var(--de-green-dark);
	--gf-color-in-ctrl-primary: var(--de-green);
	--gf-ctrl-border-color: #cfc8c1;
	--gf-ctrl-radius: var(--de-btn-radius);
	--gf-ctrl-size-md: 48px;
	--gf-ctrl-font-size: 16px;
	--gf-ctrl-label-font-size-primary: 15px;
	--gf-ctrl-label-font-weight-primary: 600;
	--gf-ctrl-label-color-primary: var(--de-dark);
	--gf-form-gap-y: 20px;
	--gf-form-gap-x: 20px;
	--gf-font-family-base: var(--de-font-body);
	--gf-ctrl-btn-font-family: var(--de-font-body);
	--gf-ctrl-btn-radius: var(--de-btn-radius);
	--gf-ctrl-btn-size-md: 56px;
	--gf-ctrl-btn-font-size: 16px;
	--gf-ctrl-btn-font-weight: 600;
	--gf-ctrl-btn-bg-color-primary: var(--de-green);
	--gf-ctrl-btn-bg-color-hover-primary: var(--de-green-dark);
	--gf-field-gap-y: 20px;
	--gf-label-req-gap-x: 4px;
	--gf-color-danger: var(--de-green-dark);
}
.gform_wrapper .gform_fields { row-gap: 20px !important; column-gap: 20px !important; }
.gform_wrapper .gform_footer { margin-top: 24px !important; }
.gform_wrapper .gform_footer .gform_button, .gform_wrapper .gform_footer input[type="submit"] { width: 100% !important; min-height: 56px; text-transform: none; }
.gform_wrapper .gfield_required { color: var(--de-green); }
.gform_wrapper .gfield--type-radio .gchoice { margin-bottom: 4px; }
.gform_wrapper .gform_validation_errors { border-radius: var(--de-btn-radius) !important; }

/* ==========================================================================
   DE Text, blog
   ========================================================================== */
.de-prose { line-height: 1.7; }
.de-prose--narrow { max-width: calc(760px + var(--de-gutter) * 2); }
.de-prose h2 { font-family: var(--de-font-head); font-weight: 500; font-size: 32px; line-height: 1.15; margin: 1.6em 0 0.6em; }
.de-prose h3 { font-family: var(--de-font-head); font-weight: 500; font-size: 24px; margin: 1.4em 0 0.5em; }
.de-prose > .de-h2:first-child, .de-prose > .de-eyebrow + .de-h2 { margin-top: 0; margin-bottom: 24px; }
.de-prose .de-actions { margin-top: 32px; }
.de-prose img { border-radius: var(--de-radius); }
.de-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.de-postcard { background: var(--de-white); border: 1px solid var(--de-gold); border-radius: var(--de-radius); overflow: hidden; transition: border-color var(--de-transition), box-shadow var(--de-transition); }
.de-postcard:hover { border-color: var(--de-green); box-shadow: var(--de-shadow); }
.de-postcard__link { display: block; height: 100%; text-decoration: none; }
.de-postcard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.de-postcard__body { padding: 24px; }
.de-postcard__date { font-size: var(--de-fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--de-green); margin-bottom: 8px; }
.de-postcard__title { font-family: var(--de-font-head); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 12px; }
.de-postcard__excerpt { color: var(--de-gray); margin: 0; }
.de-pagination { margin-top: 40px; }
.de-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.de-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--de-gold); border-radius: var(--de-btn-radius); background: var(--de-white); text-decoration: none; font-weight: 600; }
.de-pagination .page-numbers.current { background: var(--de-green); border-color: var(--de-green); color: var(--de-white); }
.de-empty { max-width: 760px; }
.de-empty > .de-section { padding: 0; background: none; }
.de-empty .de-container { padding-left: 0; padding-right: 0; }
@media (max-width: 1024px) { .de-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .de-posts { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Responsive rhythm
   ========================================================================== */
@media (max-width: 1024px) {
	:root { --de-gutter: 32px; --de-section-y: 56px; }
	.de-head--split .de-head__row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.de-head__intro { justify-self: start; }
}
@media (max-width: 767px) {
	:root { --de-gutter: 24px; --de-section-y: 48px; }
	.de-head { margin-bottom: 32px; }
	.de-btn--red, .de-btn--light { min-width: 0; }
}
@media (max-width: 350px) {
	:root { --de-gutter: 16px; }
	.de-actions { gap: 8px; }
}

/* Editor canvas: keep blocks full width inside the editor. */
.editor-styles-wrapper .de-section, .editor-styles-wrapper .de-hero { margin: 0; }
