/* Maine the Way — homepage map teaser */
.mtw-teaser {
  --t-black: #131316; --t-white: #FFFFFF; --t-sky: #D7E2F2; --t-midnight: #283344; --t-seagrass: #D6D6AA; --t-smoke: #E5E5E8;
  --t-head: "proxima-nova-extra-condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
  --t-sub: "courier-prime", "Courier Prime", "Courier New", monospace;
  --t-body: "canada-type-gibson", "Figtree", "Gill Sans", sans-serif;
  box-sizing: border-box; width: 100%; background: var(--t-midnight); color: var(--t-white);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px);
}
.mtw-teaser *, .mtw-teaser *::before, .mtw-teaser *::after { box-sizing: border-box; }
.mtw-teaser__kicker, .mtw-teaser__label, .mtw-teaser__legend {
  font-family: var(--t-sub); text-transform: uppercase; letter-spacing: .03em; margin: 0;
}
.mtw-teaser__kicker { font-size: 14px; color: var(--t-seagrass); margin-bottom: 14px; }
.mtw-teaser .mtw-teaser__title {
  font-family: var(--t-head) !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0 !important;
  line-height: .95 !important; font-size: clamp(40px, 5vw, 64px) !important; color: var(--t-white) !important; margin: 0 0 22px;
}
.mtw-teaser .mtw-teaser__body {
  font-family: var(--t-body) !important; font-weight: 300; letter-spacing: .025em; font-size: 18px !important;
  line-height: 1.6; color: var(--t-smoke) !important; margin: 0 0 30px; max-width: 520px;
}
.mtw-teaser__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 34px; }
.mtw-teaser__num { font-family: var(--t-sub); font-size: clamp(36px, 4vw, 44px); line-height: 1; color: var(--t-white); margin-bottom: 6px; }
.mtw-teaser__label { font-size: 13px; color: var(--t-sky); }
.mtw-teaser .mtw-teaser__btn {
  display: inline-block; font-family: var(--t-head) !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0;
  font-size: 22px; line-height: 1; text-decoration: none !important; background: var(--t-seagrass); color: var(--t-black) !important;
  padding: 16px 28px; transition: background .2s ease, transform .2s ease;
}
.mtw-teaser .mtw-teaser__btn:hover { background: var(--t-white); transform: translateY(-2px); }
.mtw-teaser .mtw-teaser__btn::after { content: '→'; margin-left: 10px; font-family: var(--t-sub); font-size: .8em; display: inline-block; transition: transform .2s ease; }
.mtw-teaser .mtw-teaser__btn:hover::after { transform: translateX(4px); }
.mtw-teaser__map { display: block; text-decoration: none !important; max-width: 520px; justify-self: center; width: 100%; }
.mtw-teaser__svg { display: block; width: 100%; height: auto; overflow: visible; }
.mtw-teaser__maine { fill: var(--t-white); stroke: none; }
.mtw-teaser__lakes { fill: var(--t-sky); }
.mtw-teaser__dot { stroke: var(--t-white); stroke-width: 1.5; transition: r .15s ease; }
.mtw-teaser__dot--light { stroke: var(--t-midnight); stroke-width: 1.2; }
.mtw-teaser__map:hover .mtw-teaser__dot { r: 7.5; }
.mtw-teaser__legend { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 12px; color: var(--t-sky); }
.mtw-teaser__legend li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.mtw-teaser__legend li::before { display: none !important; content: none !important; }
.mtw-teaser__swatch { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--t-white); display: inline-block; }

@media (max-width: 767px) {
  .mtw-teaser { grid-template-columns: 1fr; gap: 36px; }
  .mtw-teaser__map { max-width: 420px; }
}

/* Squarespace wrapper: let the teaser fill its section edge to edge */
.page-section:has(#mtw-map-teaser) { padding: 0 !important; min-height: 0 !important; }
.page-section:has(#mtw-map-teaser) .section-background { background: #283344 !important; }
.page-section:has(#mtw-map-teaser) .content-wrapper { padding: 0 !important; max-width: none !important; }
.page-section:has(#mtw-map-teaser) .content { width: 100% !important; }
.fluid-engine:has(#mtw-map-teaser) { display: block !important; }
.fe-block:has(#mtw-map-teaser) { grid-area: auto !important; width: 100% !important; }
.sqs-block:has(#mtw-map-teaser), .sqs-block:has(#mtw-map-teaser) .sqs-block-content { padding: 0 !important; }
