/* HudPost Places: one look for the Hudson County hub, the 12 town pages and the jitney guide.
   HudPost brand: Anton headlines, Roboto text, black rules, accent #0090c1. Fonts come from the theme. */

.hpp {
  --hpp-ink: #1a1a1a;
  --hpp-ink-2: #555;
  --hpp-ink-3: #6b6b6b;
  --hpp-line: #e3e3e3;
  --hpp-paper-2: #f5f5f5;
  --hpp-accent: #0090c1;
  --hpp-accent-ink: #007aa3;
  --hpp-accent-tint: #e8f5fa;
  --hpp-head: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --hpp-ui: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  color: var(--hpp-ink);
  font-family: var(--hpp-ui);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
/* The theme prints the page title as an H1 too; the plugin's header replaces it. */
.hpp-page .mvp-post-title.entry-title, .hpp-page #mvp-post-head h1 { display: none; }
.hpp-page #mvp-post-head { margin-bottom: 0; padding-bottom: 0; }

.hpp *, .hpp *::before, .hpp *::after { box-sizing: border-box; }
.hpp a { color: var(--hpp-accent-ink); }
.hpp a:hover { color: #005f80; }
.hpp p { margin: 0 0 12px; }
.hpp .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hpp :focus-visible { outline: 3px solid var(--hpp-accent); outline-offset: 2px; }

/* Breadcrumb */
.hpp-crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; font-size: 14px; color: var(--hpp-ink-3); }
.hpp-crumbs li + li::before { content: '/'; margin: 0 8px; color: var(--hpp-line); }
.hpp-crumbs a { color: var(--hpp-ink-2); text-decoration: none; }
.hpp-crumbs a:hover { text-decoration: underline; }

/* Page head */
.hpp-head { border-bottom: 4px solid var(--hpp-ink); padding-bottom: 14px; margin-bottom: 18px; }
.hpp-kicker {
  font: 700 13px/1.2 var(--hpp-ui); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hpp-accent-ink); margin: 0 0 6px;
}
.hpp .hpp-h1 {
  font-family: var(--hpp-head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 9vw, 64px); line-height: 1; letter-spacing: 0.01em; margin: 0 0 8px; color: var(--hpp-ink);
}
.hpp-nick { font: 700 15px/1.3 var(--hpp-ui); color: var(--hpp-ink-2); margin: 0 0 6px; }
.hpp-tagline, .hpp-head p { font-size: 19px; line-height: 1.5; color: var(--hpp-ink-2); margin: 0 0 6px; }

/* Key facts strip */
.hpp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hpp-line); border: 1px solid var(--hpp-line); margin: 0 0 8px; }
.hpp-fact { background: #fff; padding: 12px 14px; }
.hpp-fact dt { font: 700 12px/1.2 var(--hpp-ui); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hpp-ink-3); margin: 0 0 4px; }
.hpp-fact dd { margin: 0; font: 700 19px/1.25 var(--hpp-ui); }
.hpp-fact dd small { display: block; font-weight: 400; font-size: 13px; color: var(--hpp-ink-3); margin-top: 2px; }

/* Sections */
.hpp-section { margin-top: 32px; }
.hpp .hpp-h2 {
  font-family: 'Oswald', var(--hpp-ui); font-weight: 700; text-transform: uppercase;
  font-size: 26px; line-height: 1.15; letter-spacing: 0.01em; color: var(--hpp-ink);
  border-top: 2px solid var(--hpp-ink); padding-top: 12px; margin: 0 0 12px;
}
.hpp .hpp-h3 { font: 600 21px/1.25 'Oswald', var(--hpp-ui); margin: 0 0 8px; color: var(--hpp-ink); display: flex; align-items: center; gap: 10px; }
.hpp-lede { color: var(--hpp-ink-2); }
.hpp-note, .hpp-note-inline { color: var(--hpp-ink-3); font-size: 14px; }
.hpp-note-inline { display: block; }

/* Cards */
.hpp-card { border: 1px solid var(--hpp-line); padding: 16px; margin: 12px 0; background: #fff; }
.hpp-callout { background: var(--hpp-accent-tint); border-color: #bfe3f0; }
.hpp-cols { display: grid; gap: 12px; }
.hpp-cols .hpp-card { margin: 0; }

/* Buttons */
.hpp-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  background: var(--hpp-accent-ink); color: #fff !important; border: 1px solid var(--hpp-accent-ink);
  font: 700 15px/1.2 var(--hpp-ui); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
}
.hpp-btn:hover { background: #006a8e; border-color: #006a8e; }
.hpp-btn-out { background: #fff; color: var(--hpp-accent-ink) !important; }
.hpp-btn-out:hover { background: var(--hpp-accent-tint); }
.hpp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* Link lists */
.hpp-links { list-style: none; margin: 0; padding: 0; }
.hpp-links li { padding: 12px 0; border-bottom: 1px solid var(--hpp-line); }
.hpp-links li:first-child { border-top: 1px solid var(--hpp-line); }
.hpp-k { display: block; font: 700 12px/1.2 var(--hpp-ui); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hpp-ink-3); margin-bottom: 3px; }
.hpp-ext::after { content: '\2197'; font-size: 0.8em; margin-left: 4px; text-decoration: none; display: inline-block; }
.hpp-addr { font-weight: 700; }

/* Chips */
.hpp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hpp-chips li { border: 1px solid var(--hpp-line); padding: 6px 12px; font-size: 15px; background: var(--hpp-paper-2); }
.hpp-chips-links li { padding: 0; background: #fff; }
.hpp-chips-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; font-weight: 700; text-decoration: none; }

/* Latest news */
.hpp-news { list-style: none; margin: 0; padding: 0; }
.hpp-news-item a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--hpp-line); color: var(--hpp-ink); text-decoration: none; }
.hpp-news-item:first-child a { border-top: 1px solid var(--hpp-line); }
.hpp-news-item img { width: 72px; height: 72px; object-fit: cover; flex: none; }
.hpp-news-title { display: block; font: 700 17px/1.3 var(--hpp-ui); }
.hpp-news-item a:hover .hpp-news-title { color: var(--hpp-accent-ink); text-decoration: underline; }
.hpp-news-item time { display: block; font-size: 13px; color: var(--hpp-ink-3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.hpp-more a { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; }

/* Town grid on the county page */
.hpp-towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hpp-town { display: block; height: 100%; border: 1px solid var(--hpp-line); border-top: 3px solid var(--hpp-ink); padding: 12px; color: var(--hpp-ink); text-decoration: none; }
.hpp-town:hover { border-top-color: var(--hpp-accent); }
.hpp-town-name { display: block; font-family: var(--hpp-head); text-transform: uppercase; font-size: 22px; line-height: 1.05; margin-bottom: 6px; }
.hpp-town-meta { display: block; font-size: 14px; color: var(--hpp-ink-2); }

/* Tables and definition lists */
.hpp-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.hpp-table caption { text-align: left; font-size: 14px; color: var(--hpp-ink-3); padding-bottom: 6px; }
.hpp-table th, .hpp-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--hpp-line); }
.hpp-table td { text-align: right; font-weight: 700; }
.hpp-dl { display: grid; grid-template-columns: 1fr; gap: 2px 14px; margin: 8px 0 0; }
.hpp-dl dt { font: 700 12px/1.2 var(--hpp-ui); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hpp-ink-3); margin-top: 8px; }
.hpp-dl dd { margin: 0; }
.hpp-dl-stack dt { font-size: 15px; color: var(--hpp-ink); letter-spacing: 0.02em; }

/* Lists of points and steps */
.hpp-points { margin: 0 0 12px; padding-left: 22px; }
.hpp-points li { margin: 8px 0; }
.hpp-steps { counter-reset: hpp-step; list-style: none; padding-left: 0; }
.hpp-steps li { counter-increment: hpp-step; position: relative; padding-left: 46px; min-height: 34px; }
.hpp-steps li::before {
  content: counter(hpp-step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px;
  background: var(--hpp-ink); color: #fff; font: 400 18px/32px var(--hpp-head); text-align: center;
}

/* FAQ (details/summary, no script) */
.hpp-faq-item { border-bottom: 1px solid var(--hpp-line); }
.hpp-faq-item:first-child { border-top: 1px solid var(--hpp-line); }
.hpp-faq-item summary {
  cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative;
  font: 700 17px/1.35 var(--hpp-ui); min-height: 44px;
}
.hpp-faq-item summary::-webkit-details-marker { display: none; }
.hpp-faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font: 400 24px/1 var(--hpp-ui); color: var(--hpp-accent-ink); }
.hpp-faq-item[open] summary::after { content: '\2212'; }
.hpp-faq-item p { padding: 0 0 14px; margin: 0; color: var(--hpp-ink-2); }

/* Table of contents (jitney) */
.hpp-toc ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hpp-toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--hpp-line); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--hpp-ink); }
.hpp-toc a:hover { border-color: var(--hpp-ink); }

/* Map */
.hpp-map { height: 460px; border: 1px solid var(--hpp-line); background: var(--hpp-paper-2); position: relative; z-index: 1; }
.hpp-map-fallback { padding: 16px; color: var(--hpp-ink-3); }
.hpp-legend { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.hpp-legend a { color: var(--hpp-ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.hpp-legend a:hover { text-decoration: underline; }
.hpp-swatch { display: inline-block; width: 22px; height: 6px; margin-right: 8px; flex: none; }
.hpp .leaflet-container a { color: var(--hpp-accent-ink); }
.hpp .leaflet-popup-content { font: 700 15px/1.3 var(--hpp-ui); }

/* Sources footer */
.hpp-sources { margin-top: 36px; padding-top: 12px; border-top: 2px solid var(--hpp-ink); font-size: 14px; color: var(--hpp-ink-2); }
.hpp-sources summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.hpp-sources ul { columns: 2; margin: 4px 0 0; padding-left: 18px; }
.hpp-sources li { margin: 2px 0; break-inside: avoid; }

/* Inside the theme's article area (#mvp-content-main) the theme styles lists, links, headings and
   paragraphs for articles. These rules keep this layout; paragraphs keep the site's article font. */
#mvp-content-main .hpp ul, #mvp-content-main .hpp ol { list-style: none; margin: 0; padding: 0; }
#mvp-content-main .hpp li { margin-left: 0; padding: 0; font-family: var(--hpp-ui); }
#mvp-content-main .hpp .hpp-links li { padding: 12px 0; }
#mvp-content-main .hpp .hpp-points { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
#mvp-content-main .hpp .hpp-points li { margin: 8px 0; }
#mvp-content-main .hpp .hpp-steps { list-style: none; padding-left: 0; }
#mvp-content-main .hpp .hpp-steps li { padding-left: 46px; }
#mvp-content-main .hpp .hpp-sources ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
#mvp-content-main .hpp .hpp-crumbs ol { margin: 0 0 12px; }
#mvp-content-main .hpp a { box-shadow: none; }
#mvp-content-main .hpp .hpp-links a, #mvp-content-main .hpp p a, #mvp-content-main .hpp dd a, #mvp-content-main .hpp .hpp-sources a { text-decoration: underline; text-underline-offset: 3px; }
#mvp-content-main .hpp .hpp-btn, #mvp-content-main .hpp .hpp-toc a, #mvp-content-main .hpp .hpp-chips-links a,
#mvp-content-main .hpp .hpp-news-item a, #mvp-content-main .hpp .hpp-town, #mvp-content-main .hpp .hpp-legend a,
#mvp-content-main .hpp .hpp-crumbs a { text-decoration: none; }
#mvp-content-main .hpp .hpp-h1 {
  font-family: var(--hpp-head); font-weight: 400; text-transform: uppercase; color: var(--hpp-ink);
  font-size: clamp(38px, 9vw, 64px); line-height: 1; letter-spacing: 0.01em; margin: 0 0 8px;
}
#mvp-content-main .hpp .hpp-h2 { font-family: 'Oswald', var(--hpp-ui); font-weight: 700; font-size: 26px; line-height: 1.15; text-transform: uppercase; color: var(--hpp-ink); margin: 0 0 12px; }
#mvp-content-main .hpp .hpp-h3 { font-family: 'Oswald', var(--hpp-ui); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--hpp-ink); margin: 0 0 8px; }
#mvp-content-main .hpp p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--hpp-ink); }
#mvp-content-main .hpp .hpp-kicker, #mvp-content-main .hpp .hpp-nick, #mvp-content-main .hpp .hpp-note,
#mvp-content-main .hpp .hpp-more, #mvp-content-main .hpp .hpp-sources p, #mvp-content-main .hpp .hpp-addr,
#mvp-content-main .hpp .hpp-map-fallback { font-family: var(--hpp-ui); }
#mvp-content-main .hpp .hpp-kicker { font-size: 13px; line-height: 1.2; margin: 0 0 6px; color: var(--hpp-accent-ink); }
#mvp-content-main .hpp .hpp-nick { font-size: 15px; color: var(--hpp-ink-2); margin: 0 0 6px; }
#mvp-content-main .hpp .hpp-tagline, #mvp-content-main .hpp .hpp-head p { font-size: 19px; line-height: 1.5; color: var(--hpp-ink-2); }
#mvp-content-main .hpp .hpp-note { font-size: 14px; color: var(--hpp-ink-3); }
#mvp-content-main .hpp .hpp-sources p { font-size: 14px; color: var(--hpp-ink-2); }
#mvp-content-main .hpp .hpp-faq-item p { color: var(--hpp-ink-2); padding-bottom: 14px; margin: 0; }
#mvp-content-main .hpp .hpp-more { margin-top: 12px; }
#mvp-content-main .hpp dl, #mvp-content-main .hpp dd { margin-left: 0; }
#mvp-content-main .hpp .hpp-facts { margin: 0 0 8px; }

@media (min-width: 640px) {
  .hpp { padding: 8px 24px 48px; }
  .hpp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hpp-towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpp-cols { grid-template-columns: 1fr 1fr; }
  .hpp-dl { grid-template-columns: max-content 1fr; }
  .hpp-dl dt { margin-top: 0; padding-top: 2px; }
  .hpp-dl-stack { grid-template-columns: 1fr; }
  .hpp-sources ul { columns: 3; }
  .hpp-news-item img { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hpp * { transition: none !important; animation: none !important; }
}
