/* =====================================================================
   Essex Home Garden Rooms - location pages (/garden-rooms/<town>/).
   Generated by tools/build_location_page.py; helpers in ehgr-locations.php.
   ===================================================================== */
.ehgr .e-con.ehgr-loc-intro .ehgr-loc-h1 .elementor-heading-title { max-width: 14ch; }
.ehgr .ehgr-loc-lead, .ehgr .ehgr-loc-lead p { max-width: 640px; }
.ehgr .ehgr-loc-lead p + p { margin-top: 1em; }

/* Section rows: heading (and photo) left, copy right */
.ehgr .e-con.ehgr-loc-row { align-items: start; }
.ehgr .e-con.ehgr-loc-left { --row-gap: 28px; }
@media (min-width: 1000px) {
  .ehgr .e-con.ehgr-loc-left { position: sticky; top: calc(var(--ehgr-header-h) + 32px); }
}
.ehgr .ehgr-loc-h2 .elementor-heading-title { text-wrap: balance; }
.ehgr .e-con.ehgr-loc-photo { max-width: 460px; width: 100%; }
.ehgr .e-con.ehgr-loc-right { --row-gap: 22px; min-width: 0; }
.ehgr .e-con.ehgr-loc-right > .elementor-widget-text-editor.ehgr-copy p + p { margin-top: 1em; }
.ehgr .e-con.ehgr-loc-right .ehgr-copy a, .ehgr .ehgr-loc-cta-text a, .ehgr .ehgr-specv a, .ehgr .ehgr-body a { color: var(--ehgr-gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ehgr .e-con.ehgr-loc-right .ehgr-copy a:hover, .ehgr .ehgr-loc-cta-text a:hover, .ehgr .ehgr-specv a:hover, .ehgr .ehgr-body a:hover { color: var(--ehgr-gold-hover); }

/* Area / feature tiles */
.ehgr .e-con.ehgr-loc-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ehgr .ehgr-h3-loc .elementor-heading-title { font-family: var(--ehgr-jakarta); font-weight: 600; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.15; color: var(--ehgr-ink); }

/* Lists and tables */
.ehgr .ehgr-loc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ehgr .ehgr-loc-list li { position: relative; padding-left: 22px; }
.ehgr .ehgr-loc-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ehgr-gold); }
.ehgr .ehgr-loc-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ehgr .ehgr-loc-table { width: 100%; margin: 0; border-collapse: collapse; font-family: var(--ehgr-manrope); font-size: 15px; line-height: 1.5; }
.ehgr .ehgr-loc-table th { padding: 12px 14px 12px 0; border: 0; border-bottom: 1px solid var(--ehgr-border-soft); background: transparent; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ehgr-gold); }
.ehgr .ehgr-loc-table td { padding: 14px 14px 14px 0; border: 0; border-bottom: 1px solid var(--ehgr-hairline-2); background: transparent; vertical-align: top; color: var(--ehgr-ink-2); }
.ehgr .ehgr-loc-table td:first-child { color: var(--ehgr-ink); font-weight: 600; white-space: nowrap; }
.ehgr .ehgr-loc-table tbody tr:nth-child(odd) td, .ehgr .ehgr-loc-table tbody tr:nth-child(even) td { background: transparent; }
@media (max-width: 600px) { .ehgr .ehgr-loc-table td:first-child { white-space: normal; } }

/* In-copy call to action */
.ehgr .e-con.ehgr-loc-cta { --padding-top: 22px; --padding-bottom: 22px; --padding-left: 24px; --padding-right: 24px; --row-gap: 16px; border-left: 2px solid var(--ehgr-gold); background: rgba(201,169,97,0.06); }
.ehgr .ehgr-loc-cta-text, .ehgr .ehgr-loc-cta-text p { font-family: var(--ehgr-jakarta); font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; line-height: 1.4; color: var(--ehgr-ink); }
.ehgr .e-con.ehgr-loc-cta .ehgr-ctas { --align-items: center; }
.ehgr .e-con.ehgr-loc-links { --column-gap: 28px; margin-top: 4px; }

/* ---------- Hero: copy left, quick-quote form right (v1.4.9) ---------- */
.ehgr .e-con.ehgr-loc-hero-row { --display: grid; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 440px); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
@media (max-width: 1000px) { .ehgr .e-con.ehgr-loc-hero-row { grid-template-columns: 1fr; } }
.ehgr .e-con.ehgr-loc-hero-copy { --row-gap: 0px; min-width: 0; }
.ehgr .ehgr-loc-points p { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; }
.ehgr .ehgr-loc-points span { position: relative; padding-left: 20px; font-family: var(--ehgr-manrope); font-size: 14px; font-weight: 600; color: var(--ehgr-ink); }
.ehgr .ehgr-loc-points span::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 6px; border-left: 2px solid var(--ehgr-gold); border-bottom: 2px solid var(--ehgr-gold); transform: translateY(-70%) rotate(-45deg); }
.ehgr .e-con.ehgr-loc-formcard { --row-gap: 0px; --padding-top: clamp(24px, 2.4vw, 34px); --padding-bottom: clamp(24px, 2.4vw, 34px); --padding-left: clamp(22px, 2.4vw, 34px); --padding-right: clamp(22px, 2.4vw, 34px); background: rgba(18,17,15,.92); border: 1px solid var(--ehgr-border-soft); border-top: 2px solid var(--ehgr-gold); box-shadow: 0 30px 80px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ehgr .ehgr-loc-formtitle .elementor-heading-title { font-family: var(--ehgr-jakarta); font-weight: 600; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.15; color: var(--ehgr-ink); }
.ehgr .ehgr-loc-formnote p, .ehgr .ehgr-loc-formfoot p { font-size: 14px; line-height: 1.5; color: var(--ehgr-muted); margin: 0; }
.ehgr .ehgr-loc-formfoot { margin-top: 16px; }
.ehgr .ehgr-loc-formfoot a { color: var(--ehgr-gold); text-decoration: underline; text-underline-offset: 3px; }

/* Elementor Pro form, styled to match the CF7 enquiry form */
.ehgr .ehgr-loc-form .elementor-form-fields-wrapper { margin-left: -6px; margin-right: -6px; margin-bottom: -12px; }
.ehgr .ehgr-loc-form .elementor-field-group { padding-left: 6px; padding-right: 6px; margin-bottom: 12px; }
.ehgr .ehgr-loc-form .elementor-field-label { margin-bottom: 6px; font-family: var(--ehgr-manrope); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ehgr-muted); }
.ehgr .ehgr-loc-form .elementor-mark-required .elementor-field-label::after { color: var(--ehgr-gold); }
.ehgr .ehgr-loc-form .elementor-field-group .elementor-field-textual, .ehgr .ehgr-loc-form .elementor-field-group select.elementor-field { width: 100%; min-height: 48px; padding: 0 14px; background-color: var(--ehgr-surface) !important; border: 1px solid rgba(241,235,225,.15) !important; border-radius: 2px !important; color: var(--ehgr-ink) !important; font-family: var(--ehgr-manrope); font-size: 16px; box-shadow: none; outline: none; transition: border-color .3s; }
.ehgr .ehgr-loc-form .elementor-field-textual::placeholder { color: #7D756A; opacity: 1; }
.ehgr .ehgr-loc-form .elementor-field-group .elementor-field-textual:focus, .ehgr .ehgr-loc-form .elementor-field-group select.elementor-field:focus { border-color: var(--ehgr-gold) !important; }
.ehgr .ehgr-loc-form .elementor-select-wrapper select { -webkit-appearance: none; appearance: none; padding-right: 40px; }
.ehgr .ehgr-loc-form .elementor-select-wrapper .select-caret-down-wrapper { color: var(--ehgr-muted); right: 14px; }
.ehgr .ehgr-loc-form select option { background: var(--ehgr-surface); color: var(--ehgr-ink); }
.ehgr .ehgr-loc-form .elementor-field-type-submit { margin-top: 8px; }
.ehgr .ehgr-loc-form .elementor-button[type="submit"] { width: 100%; min-height: 52px; background: var(--ehgr-gold); color: var(--ehgr-bg); border: 0; border-radius: 2px; font-family: var(--ehgr-manrope); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, transform .3s; }
.ehgr .ehgr-loc-form .elementor-button[type="submit"]:hover { background: var(--ehgr-gold-hover); transform: translateY(-2px); }
.ehgr .ehgr-loc-form .elementor-message { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ehgr-ink); }
.ehgr .ehgr-loc-form .elementor-message.elementor-message-danger { color: #E89A88; }
.ehgr .ehgr-loc-form .elementor-error .elementor-field-textual { border-color: #C9654F !important; }
.ehgr .ehgr-loc-form .elementor-message::before { color: var(--ehgr-gold); }
.ehgr .ehgr-loc-form .elementor-field-type-honeypot { display: none !important; }

/* Intro strip under the hero */
.ehgr .ehgr-loc-introcopy p { max-width: 640px; }
.ehgr .ehgr-loc-introcopy p + p { margin-top: 1em; }

/* Case-study card in a body section */
.ehgr .e-con.ehgr-loc-case { --row-gap: 0px; max-width: 460px; width: 100%; }

/* Gallery (Elementor Pro) */
.ehgr .ehgr-loc-gallery .elementor-gallery-item { border-radius: 2px; overflow: hidden; }
.ehgr .ehgr-loc-gallery .elementor-gallery-item__overlay { background: transparent; }

/* FAQ accordion (Elementor accordion with FAQ schema) */
.ehgr .ehgr-loc-accordion .elementor-accordion-item { border: 0; border-top: 1px solid var(--ehgr-border-soft); }
.ehgr .ehgr-loc-accordion .elementor-accordion-item:last-child { border-bottom: 1px solid var(--ehgr-border-soft); }
.ehgr .ehgr-loc-accordion .elementor-accordion-item + .elementor-accordion-item { border-top: 1px solid var(--ehgr-border-soft); }
.ehgr .ehgr-loc-accordion .elementor-tab-title { display: flex; align-items: center; gap: 20px; padding: 22px 0; border: 0; background: transparent; cursor: pointer; font-family: var(--ehgr-manrope); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ehgr-ink); transition: color .3s; }
.ehgr .ehgr-loc-accordion .elementor-tab-title a { color: inherit; flex: 1; order: 1; text-decoration: none; }
.ehgr .ehgr-loc-accordion .elementor-tab-title:hover, .ehgr .ehgr-loc-accordion .elementor-tab-title.elementor-active { color: var(--ehgr-gold); }
.ehgr .ehgr-loc-accordion .elementor-tab-title .elementor-accordion-icon { order: 2; flex: 0 0 auto; float: none; width: auto; line-height: 1; color: var(--ehgr-gold); }
.ehgr .ehgr-loc-accordion .elementor-tab-title .elementor-accordion-icon svg { width: 14px; height: 14px; fill: var(--ehgr-gold); }
.ehgr .ehgr-loc-accordion .elementor-tab-content { padding: 0 54px 24px 0; border: 0; background: transparent; font-size: 16px; line-height: 1.65; color: var(--ehgr-ink-2); }
.ehgr .ehgr-loc-accordion .elementor-tab-content p { margin: 0; }
.ehgr .ehgr-loc-accordion .elementor-tab-content a { color: var(--ehgr-gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- v1.5.0: richer body sections ---------- */
/* Statement intro (home page pattern); the first doc sentence is a <p> styled as the statement */
.ehgr .ehgr-loc-statement .elementor-heading-title { max-width: 18ch; }
.ehgr .e-con.ehgr-statement-3d { align-items: center; }

/* Photo + copy rows (Garden Offices spec pattern); sides alternate, photo first on phones */
.ehgr .e-con.ehgr-loc-mediarow { gap: clamp(32px, 5.5vw, 96px); }
.ehgr .e-con.ehgr-loc-media { min-width: 0; --row-gap: 0px; }
.ehgr .e-con.ehgr-loc-media > .e-con.ehgr-loc-photo, .ehgr .e-con.ehgr-loc-media > .e-con.ehgr-loc-case { max-width: none; }
.ehgr .e-con.ehgr-loc-mediacopy { --row-gap: 18px; min-width: 0; }
.ehgr .e-con.ehgr-loc-mediacopy > .elementor-widget-heading.ehgr-h2-inner { margin-bottom: 4px !important; }
.ehgr .e-con.ehgr-loc-mediacopy .ehgr-copy p + p { margin-top: 1em; }
@media (max-width: 860px) { .ehgr .e-con.ehgr-loc-mediarow.is-flip > .ehgr-loc-media { order: -1; } }

/* First paragraph of a section reads as a lead */
.ehgr .ehgr-loc-firstp, .ehgr .ehgr-loc-firstp p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ehgr-ink-2); }

/* Numbered card grids (Garden Offices "Quiet. Connected." pattern) */
@media (min-width: 1100px) {
  .ehgr .e-con.ehgr-loc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ehgr .e-con.ehgr-loc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ehgr .e-con.ehgr-loc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ehgr .e-con.ehgr-loc-grid > .e-con.ehgr-cell-surface { border: 1px solid var(--ehgr-hairline-2); transition: border-color .3s, transform .3s; }
.ehgr .e-con.ehgr-loc-grid > .e-con.ehgr-cell-surface:hover { border-color: rgba(201,169,97,.45); transform: translateY(-3px); }
.ehgr .e-con.ehgr-surface .e-con.ehgr-loc-grid > .e-con.ehgr-cell-surface { background: var(--ehgr-bg); }
.ehgr .ehgr-loc-gridlead, .ehgr .ehgr-loc-gridlead p { margin-top: 0; }
.ehgr .e-con.ehgr-loc-after { margin-top: clamp(28px, 3vw, 44px); --row-gap: 18px; }

.ehgr .e-con.ehgr-loc-grid .ehgr-h3-tile .elementor-heading-title { font-size: clamp(20px, 1.55vw, 24px); line-height: 1.15; }
.ehgr .ehgr-loc-statement.is-long .elementor-heading-title { max-width: 24ch; font-size: clamp(27px, 2.7vw, 40px); line-height: 1.12; }

/* ---------- Areas we cover: 3D map (v1.6.0) ---------- */
.ehgr .ehgr-map { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 420px; max-height: 760px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(201,169,97,.10) 0%, rgba(201,169,97,0) 60%), var(--ehgr-bg);
  border: 1px solid var(--ehgr-hairline-2); }
.ehgr .ehgr-map-canvas { position: absolute; inset: 0; }
.ehgr .ehgr-map-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.ehgr .ehgr-map-labels { position: absolute; inset: 0; pointer-events: none; }
.ehgr .ehgr-map-label { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: auto; text-decoration: none; will-change: transform; }
.ehgr .ehgr-map-label span { position: absolute; top: 0; display: inline-block; white-space: nowrap; padding: 6px 11px; transform: translateY(-50%);
  background: rgba(11,11,11,.82); border: 1px solid rgba(201,169,97,.35); border-radius: 2px; color: var(--ehgr-ink);
  font-family: var(--ehgr-manrope); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  transition: background .25s, color .25s, border-color .25s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ehgr .ehgr-map-label.is-r span { left: 14px; }
.ehgr .ehgr-map-label.is-l span { right: 14px; }
.ehgr .ehgr-map-label.is-b span { left: 0; top: 14px; transform: translateX(-50%); }
.ehgr .ehgr-map-label.is-t span { left: 0; top: -14px; transform: translate(-50%, -100%); }
.ehgr .ehgr-map.has-hot .ehgr-map-label:not(.is-hot) span { opacity: .45; }
.ehgr .ehgr-map-label.is-hot span, .ehgr .ehgr-map-label:focus-visible span { background: var(--ehgr-gold); border-color: var(--ehgr-gold); color: var(--ehgr-bg); opacity: 1; }
.ehgr .ehgr-map-label:focus-visible { outline: none; }
.ehgr .ehgr-map-credit { position: absolute; right: 12px; bottom: 8px; margin: 0; max-width: 70%; text-align: right;
  font-family: var(--ehgr-manrope); font-size: 10px; line-height: 1.4; color: #6E675D; }
/* No WebGL: hide the canvas area, the town cards below carry the links */
.ehgr .ehgr-map.is-fallback { display: none; }
@media (max-width: 760px) {
  .ehgr .ehgr-map { aspect-ratio: 4 / 5; min-height: 0; }
  .ehgr .ehgr-map-label span { font-size: 10px; padding: 5px 7px; letter-spacing: .05em; }
  .ehgr .ehgr-map-label.is-r span { left: 9px; } .ehgr .ehgr-map-label.is-l span { right: 9px; }
  .ehgr .ehgr-map-credit { font-size: 9px; max-width: 92%; }
}

/* Town cards under the map */
.ehgr .e-con.ehgr-area-grid { --display: grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.ehgr .e-con.ehgr-area-card { --row-gap: 0px; position: relative; border: 1px solid var(--ehgr-hairline-2); transition: border-color .3s, transform .3s; }
.ehgr .e-con.ehgr-area-card:hover { border-color: rgba(201,169,97,.5); transform: translateY(-3px); }
.ehgr .ehgr-area-card .ehgr-h3-tile a { color: inherit; text-decoration: none; }
.ehgr .ehgr-area-card .ehgr-h3-tile a::after { content: ''; position: absolute; inset: 0; }
.ehgr .ehgr-area-card .ehgr-body { flex: 1; }
.ehgr .ehgr-area-go p { margin: 18px 0 0; font-family: var(--ehgr-manrope); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ehgr-gold); }

.ehgr .ehgr-max-640 { max-width: 640px; }

/* Phones: 14 labels collide, so show pins only; a tapped pin reveals its label (which is the link) */
@media (max-width: 760px) {
  .ehgr .ehgr-map-label { visibility: hidden; }
  .ehgr .ehgr-map-label.is-hot { visibility: visible; }
  .ehgr .ehgr-map-label.is-hot span { font-size: 12px; padding: 7px 10px; }
  .ehgr .ehgr-map::after { content: 'Tap a pin to see the town'; position: absolute; left: 12px; top: 10px; font-family: var(--ehgr-manrope); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ehgr-gold); pointer-events: none; }
}

.ehgr .ehgr-eyebrow-sm a { color: inherit; text-decoration: none; }
.ehgr .ehgr-eyebrow-sm a:hover { color: var(--ehgr-gold); }
