.hdd-root {
  --hdd-brand: var(--wp--preset--color--vivid-red, #d8202f);
  --hdd-brand-dark: #a8121d;
  --hdd-ink: var(--wp--preset--color--contrast, #171717);
  --hdd-paper: var(--wp--preset--color--base, #ffffff);
  --hdd-muted: #66666b;
  --hdd-line: #e3e3e6;
  --hdd-soft: #f5f5f6;
  --hdd-success: #126a43;
  --hdd-wide: var(--wp--style--global--wide-size, 1180px);
  --hdd-content: var(--wp--style--global--content-size, 820px);
  --hdd-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
  color: var(--hdd-ink);
  background: var(--hdd-paper);
  font-family: inherit;
  line-height: 1.55;
}

.hdd-root *, .hdd-root *::before, .hdd-root *::after { box-sizing: border-box; }
.hdd-root a { color: inherit; }
.hdd-root h1, .hdd-root h2, .hdd-root h3, .hdd-root p { margin-top: 0; }
.hdd-root h1, .hdd-root h2, .hdd-root h3 { color: inherit; font-family: inherit; text-transform: none; }
.hdd-root button, .hdd-root input, .hdd-root select, .hdd-root textarea { font: inherit; }
.hdd-shell { width: min(var(--hdd-wide), calc(100% - 40px)); margin-inline: auto; }
.hdd-section { padding-block: clamp(58px, 7vw, 92px); }
.hdd-section--muted { background: var(--hdd-soft); border-block: 1px solid var(--hdd-line); }
.hdd-section--brand { background: var(--hdd-ink); color: #fff; }

.hdd-hero, .hdd-page-hero {
  color: #fff;
  background: linear-gradient(122deg, var(--hdd-ink) 0%, #29292c 64%, var(--hdd-brand-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hdd-hero::after, .hdd-page-hero::after { content: ""; position: absolute; right: -130px; bottom: -230px; width: 520px; height: 520px; border: 72px solid color-mix(in srgb, var(--hdd-brand) 35%, transparent); border-radius: 50%; pointer-events: none; }
.hdd-hero__grid { min-height: 510px; padding-block: 76px; display: grid; grid-template-columns: 1.45fr .75fr; align-items: center; gap: 76px; position: relative; z-index: 1; }
.hdd-hero h1, .hdd-page-hero h1 { color: #fff; font-size: clamp(42px, 5.4vw, 72px); letter-spacing: -.045em; line-height: 1; max-width: 850px; margin-bottom: 24px; }
.hdd-lede { max-width: 760px; color: #eeeeef; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hdd-eyebrow { color: var(--hdd-brand); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 13px; }
.hdd-hero .hdd-eyebrow, .hdd-page-hero .hdd-eyebrow, .hdd-section--brand .hdd-eyebrow { color: #ff7b84; }
.hdd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hdd-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--wp--custom--button--border-radius, 6px); padding: 10px 21px; border: 1px solid transparent; font-weight: 800; text-decoration: none !important; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.hdd-button:hover { transform: translateY(-2px); }
.hdd-button--primary { color: #fff !important; background: var(--hdd-brand); }
.hdd-button--primary:hover { background: var(--hdd-brand-dark); }
.hdd-button--secondary { color: #fff !important; border-color: rgba(255,255,255,.55); background: transparent; }
.hdd-button--secondary:hover { background: rgba(255,255,255,.1); }
.hdd-button--outline { color: var(--hdd-ink) !important; border-color: #bbb; background: transparent; }

.hdd-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.07); border-radius: 14px; overflow: hidden; backdrop-filter: blur(8px); }
.hdd-stats div { padding: 26px 21px; border-bottom: 1px solid rgba(255,255,255,.13); }
.hdd-stats div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.13); }
.hdd-stats dt { color: #d6d6d8; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; font-weight: 700; }
.hdd-stats dd { color: #fff; font-size: 37px; font-weight: 800; line-height: 1; margin: 8px 0 0; }
.hdd-stats dd::first-letter { color: var(--hdd-brand); }

.hdd-section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; margin-bottom: 34px; }
.hdd-section-heading h2, .hdd-trust h2 { font-size: clamp(31px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.06; margin-bottom: 0; }
.hdd-section-heading > p { color: var(--hdd-muted); line-height: 1.75; margin-bottom: 2px; }
.hdd-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.hdd-trust p { color: #d4d4d7; line-height: 1.8; }
.hdd-inline-links { display: flex; flex-wrap: wrap; gap: 24px; }
.hdd-inline-links a { color: #fff; font-weight: 800; text-decoration-color: var(--hdd-brand); text-underline-offset: 5px; }

.hdd-filters { display: grid; grid-template-columns: 2.1fr 1fr .9fr 1fr; gap: 12px; padding: 17px; border: 1px solid var(--hdd-line); background: var(--hdd-soft); border-radius: 10px; }
.hdd-filters label { display: grid; align-content: end; gap: 7px; margin: 0; }
.hdd-filters label > span { color: var(--hdd-ink); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.hdd-filters input, .hdd-filters select, .hdd-correction-form input, .hdd-correction-form textarea { width: 100%; min-height: 49px; padding: 10px 13px; color: var(--hdd-ink); background: #fff; border: 1px solid #cfcfd3; border-radius: 5px; }
.hdd-filters input:focus, .hdd-filters select:focus, .hdd-correction-form input:focus, .hdd-correction-form textarea:focus { outline: 3px solid color-mix(in srgb, var(--hdd-brand) 18%, transparent); border-color: var(--hdd-brand); }
.hdd-results-bar { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--hdd-muted); border-bottom: 1px solid var(--hdd-line); font-size: 13px; }
.hdd-results-bar p { margin: 0; }
.hdd-results-bar strong { color: var(--hdd-ink); font-size: 18px; }
.hdd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; padding-top: 22px; }

.hdd-card { min-height: 315px; padding: 21px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hdd-line); border-radius: 9px; box-shadow: 0 5px 19px rgba(0,0,0,.035); scroll-margin-top: 120px; transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease; }
.hdd-card:hover { transform: translateY(-3px); border-color: #b9b9bd; box-shadow: var(--hdd-shadow); }
.hdd-card__topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--hdd-muted); text-transform: uppercase; letter-spacing: .05em; font-size: 10px; }
.hdd-badge { display: inline-flex; width: max-content; padding: 5px 9px; border-radius: 999px; background: #e7f4ed; color: var(--hdd-success); font-size: 10px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hdd-badge--paid { color: #8d1720; background: #ffe7e9; }
.hdd-card h3 { font-size: 23px; line-height: 1.16; margin: 17px 0 7px; }
.hdd-card h3 a { text-decoration: none; }
.hdd-card h3 a:hover { color: var(--hdd-brand); }
.hdd-card__type { color: var(--hdd-brand); font-size: 12px; font-weight: 800; margin-bottom: 11px; }
.hdd-card__rule { color: var(--hdd-muted); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 14px; }
.hdd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.hdd-tags span { color: #48484c; border: 1px solid #d8d8dc; border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 700; }
.hdd-tags--large { margin: 20px 0 0; }
.hdd-tags--large span { padding: 7px 10px; font-size: 12px; }
.hdd-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hdd-line); margin-top: 16px; padding-top: 15px; }
.hdd-card__footer strong, .hdd-card__footer a { font-size: 12px; }
.hdd-card__footer strong { max-width: 55%; }
.hdd-card__footer a { color: var(--hdd-brand); font-weight: 800; text-decoration: none; }
.hdd-more { text-align: center; padding-top: 30px; }
.hdd-more button, .hdd-empty button { min-height: 46px; padding: 9px 22px; border: 0; border-radius: 5px; color: #fff; background: var(--hdd-ink); font-weight: 800; cursor: pointer; }
.hdd-more button:hover, .hdd-empty button:hover { background: var(--hdd-brand); }
.hdd-empty { text-align: center; border: 1px dashed #bdbdc1; background: var(--hdd-soft); border-radius: 8px; margin-top: 22px; padding: 55px 20px; }

.hdd-borough-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--hdd-line); border-top: 1px solid var(--hdd-line); }
.hdd-borough-grid a { position: relative; min-height: 116px; display: grid; align-content: space-between; padding: 21px; border-right: 1px solid var(--hdd-line); border-bottom: 1px solid var(--hdd-line); background: #fff; text-decoration: none; }
.hdd-borough-grid a:hover { background: #fff6f6; }
.hdd-borough-grid span { padding-right: 35px; font-weight: 800; line-height: 1.2; }
.hdd-borough-grid strong { position: absolute; top: 19px; right: 18px; color: var(--hdd-brand); font-size: 20px; }
.hdd-borough-grid small { color: var(--hdd-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }

.hdd-page-hero { padding-block: 64px 70px; }
.hdd-page-hero .hdd-shell { position: relative; z-index: 1; }
.hdd-page-hero h1 { font-size: clamp(40px, 5.5vw, 66px); }
.hdd-breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 27px; color: #d0d0d3; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.hdd-breadcrumbs a { color: #fff; }
.hdd-summary-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.hdd-summary-pills span { border: 1px solid rgba(255,255,255,.28); padding: 7px 11px; border-radius: 999px; font-size: 11px; }
.hdd-authority-note { display: grid; grid-template-columns: 1.45fr .55fr; gap: 35px; align-items: center; margin-bottom: 34px; padding: 23px; border-left: 5px solid var(--hdd-brand); background: #fff6f6; }
.hdd-authority-note h2 { font-size: 18px; margin-bottom: 7px; }
.hdd-authority-note p { color: var(--hdd-muted); margin-bottom: 0; }
.hdd-authority-note a { justify-self: end; color: var(--hdd-brand); font-weight: 800; }
.hdd-crawl-index { margin-top: 58px; padding-top: 27px; border-top: 1px solid var(--hdd-line); }
.hdd-crawl-index summary { cursor: pointer; font-weight: 800; }
.hdd-crawl-index ul { columns: 3; column-gap: 30px; }
.hdd-crawl-index li { break-inside: avoid; margin-bottom: 8px; color: var(--hdd-muted); font-size: 13px; }

.hdd-detail-layout { display: grid; grid-template-columns: 1.45fr .55fr; gap: 56px; align-items: start; }
.hdd-detail-main > section { padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid var(--hdd-line); }
.hdd-detail-main h2 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.12; }
.hdd-detail-main h3 { margin: 28px 0 8px; font-size: 19px; }
.hdd-detail-main p { color: var(--hdd-muted); line-height: 1.8; }
.hdd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 28px; }
.hdd-facts div { padding: 15px; background: var(--hdd-soft); border: 1px solid var(--hdd-line); border-radius: 6px; }
.hdd-facts__wide { grid-column: 1 / -1; }
.hdd-facts span { display: block; color: var(--hdd-muted); font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .07em; }
.hdd-facts strong { display: block; margin-top: 6px; font-size: 13px; }
.hdd-notice { padding: 14px 16px; border-left: 4px solid var(--hdd-brand); background: #fff6f6; font-size: 13px; }
.hdd-source-list { display: grid; gap: 9px; }
.hdd-source-list a { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; border: 1px solid var(--hdd-line); color: var(--hdd-brand); font-weight: 800; text-decoration: none; }
.hdd-nearby { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.hdd-nearby a { padding: 14px; border: 1px solid var(--hdd-line); text-decoration: none; }
.hdd-nearby strong, .hdd-nearby span { display: block; }
.hdd-nearby span { margin-top: 5px; color: var(--hdd-muted); font-size: 11px; }
.hdd-detail-aside { position: sticky; top: 110px; padding: 23px; background: var(--hdd-soft); border: 1px solid var(--hdd-line); border-top: 5px solid var(--hdd-brand); }
.hdd-detail-aside h2 { font-size: 19px; margin: 18px 0 8px; }
.hdd-detail-aside p { color: var(--hdd-muted); }
.hdd-detail-aside .hdd-button { width: 100%; margin-top: 10px; }
.hdd-detail-aside .hdd-text-link { display: block; color: var(--hdd-brand); margin: 18px 0 12px; font-weight: 800; }
.hdd-detail-aside small { display: block; color: var(--hdd-muted); }

.hdd-prose { max-width: var(--hdd-content); }
.hdd-prose h2 { margin-top: 48px; font-size: clamp(29px, 4vw, 38px); }
.hdd-prose p, .hdd-prose li { color: var(--hdd-muted); line-height: 1.8; }
.hdd-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 28px 0 48px; }
.hdd-method-grid article { padding: 20px; border: 1px solid var(--hdd-line); border-top: 4px solid var(--hdd-brand); }
.hdd-method-grid article > strong { display: block; color: var(--hdd-brand); font-size: 31px; line-height: 1; }
.hdd-method-grid h3 { font-size: 16px; margin: 12px 0 7px; }
.hdd-method-grid p { margin-bottom: 0; font-size: 13px; }
.hdd-data-note { margin-top: 45px; padding-top: 18px; border-top: 1px solid var(--hdd-line); font-size: 12px; }

.hdd-form-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: start; }
.hdd-correction-form { display: grid; gap: 17px; }
.hdd-correction-form label { display: grid; gap: 7px; margin: 0; }
.hdd-correction-form label > span { font-weight: 800; font-size: 13px; }
.hdd-correction-form textarea { resize: vertical; }
.hdd-correction-form .hdd-button { width: max-content; }
.hdd-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hdd-form-aside { padding: 25px; background: var(--hdd-soft); border-top: 5px solid var(--hdd-brand); }
.hdd-form-aside h2 { font-size: 24px; }
.hdd-form-aside p, .hdd-form-aside li { color: var(--hdd-muted); line-height: 1.7; }
.hdd-form-aside a { color: var(--hdd-brand); font-weight: 800; }
.hdd-message { margin-bottom: 22px; padding: 15px 17px; border-left: 5px solid; }
.hdd-message--success { color: #075c38; background: #e8f6ef; border-color: #168655; }
.hdd-message--error { color: #8b101a; background: #fff0f1; border-color: var(--hdd-brand); }

.hdd-map { position: relative; min-height: 520px; }
.hdd-map__frame { position: relative; overflow: hidden; min-height: 430px; background: #e1e1e3; border: 1px solid #cfcfd3; box-shadow: var(--hdd-shadow); cursor: grab; touch-action: none; }
.hdd-map__frame:active { cursor: grabbing; }
.hdd-map__tiles, .hdd-map__markers { position: absolute; inset: 0; }
.hdd-map__tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
.hdd-map__loading { min-height: 520px; display: grid; place-items: center; color: var(--hdd-muted); background: var(--hdd-soft); border: 1px solid var(--hdd-line); }
.hdd-map-marker { position: absolute; z-index: 3; width: 24px; height: 30px; margin: -27px 0 0 -12px; padding: 0; border: 2px solid #fff; border-radius: 13px 13px 13px 2px; background: var(--hdd-ink); box-shadow: 0 3px 8px rgba(0,0,0,.35); transform: rotate(-45deg); cursor: pointer; }
.hdd-map-marker span { display: block; width: 7px; height: 7px; margin: 7px auto; border-radius: 50%; background: #fff; }
.hdd-map-marker--paid { background: var(--hdd-brand); }
.hdd-map-marker:hover, .hdd-map-marker.is-active { z-index: 6; transform: rotate(-45deg) scale(1.25); }
.hdd-map__controls { position: absolute; z-index: 10; left: 15px; top: 15px; display: grid; overflow: hidden; border: 1px solid #cfcfd3; box-shadow: 0 4px 15px rgba(0,0,0,.12); }
.hdd-map__controls button { width: 40px; height: 39px; border: 0; border-bottom: 1px solid var(--hdd-line); color: var(--hdd-ink); background: #fff; font-size: 21px; cursor: pointer; }
.hdd-map__controls button:last-child { border: 0; font-size: 17px; }
.hdd-map__controls button:hover { color: #fff; background: var(--hdd-brand); }
.hdd-map__key { position: absolute; z-index: 10; top: 15px; right: 15px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: rgba(255,255,255,.96); box-shadow: 0 4px 14px rgba(0,0,0,.1); font-size: 10px; text-transform: uppercase; font-weight: 800; }
.hdd-map__key span { width: 10px; height: 10px; border-radius: 50%; background: var(--hdd-ink); }
.hdd-map__key span.is-paid { margin-left: 4px; background: var(--hdd-brand); }
.hdd-map__attribution { position: absolute; z-index: 10; right: 0; bottom: 0; padding: 3px 6px; color: #333; background: rgba(255,255,255,.9); font-size: 9px; }
.hdd-map-card { position: absolute; z-index: 15; left: 75px; top: 15px; width: min(310px, calc(100% - 105px)); padding: 20px; background: #fff; border-top: 5px solid var(--hdd-brand); box-shadow: var(--hdd-shadow); }
.hdd-map-card h3 { margin: 9px 0 5px; font-size: 21px; }
.hdd-map-card p { color: var(--hdd-muted); margin: 0 0 8px; font-size: 12px; }
.hdd-map-card strong { display: block; font-size: 12px; }
.hdd-map-card a { display: inline-block; margin-top: 13px; color: var(--hdd-brand); font-size: 12px; font-weight: 800; }
.hdd-map-card__close { position: absolute; right: 8px; top: 5px; border: 0; background: none; font-size: 24px; cursor: pointer; }

@media (max-width: 980px) {
  .hdd-hero__grid, .hdd-section-heading, .hdd-trust, .hdd-detail-layout, .hdd-form-layout { grid-template-columns: 1fr; gap: 36px; }
  .hdd-filters { grid-template-columns: 1fr 1fr; }
  .hdd-grid { grid-template-columns: 1fr 1fr; }
  .hdd-borough-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hdd-detail-aside { position: static; }
}

@media (max-width: 680px) {
  .hdd-shell { width: min(100% - 26px, var(--hdd-wide)); }
  .hdd-hero__grid { min-height: 0; padding-block: 58px; }
  .hdd-hero h1, .hdd-page-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hdd-stats { grid-template-columns: 1fr 1fr; }
  .hdd-stats div { padding: 20px 16px; }
  .hdd-stats dd { font-size: 29px; }
  .hdd-filters, .hdd-grid, .hdd-borough-grid, .hdd-facts, .hdd-nearby, .hdd-method-grid { grid-template-columns: 1fr; }
  .hdd-results-bar { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .hdd-authority-note { grid-template-columns: 1fr; }
  .hdd-authority-note a { justify-self: start; }
  .hdd-crawl-index ul { columns: 1; }
  .hdd-map__key { display: none; }
  .hdd-map-card { left: 15px; top: 70px; width: calc(100% - 30px); }
  .hdd-page-hero { padding-block: 44px 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .hdd-root *, .hdd-root *::before, .hdd-root *::after { scroll-behavior: auto !important; transition: none !important; }
}
