/*
Theme Name: Hey! En Route
Theme URI: https://heyenroute.com
Author: Hey! En Route
Description: A road-trip city connector for the US and Canada: a city browser with filters and a map, tabbed city guides with scores, costs and connections, curated routes, events, and member pages. Pair it with the Hey! En Route Core plugin, which holds all the data; without it the theme runs as a clean blog.
Version: 3.14.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hey-en-route
Tags: blog, news, travel, two-columns, custom-logo, custom-menu, featured-images, editor-style, wide-blocks, threaded-comments, translation-ready
*/

/* ---------------------------------------------------------------------------
   Tokens. Dark mode follows the reader's device unless they pick one with the
   toggle, which pins data-theme on <html>.
   --------------------------------------------------------------------------- */

:root {
  --paper: #fbf7f0;
  --surface: #fffdf9;
  --well: #efe8dc;
  --ink: #17252f;
  --muted: #56616b;
  --faint: #8a939b;
  --rule: #e4dccd;
  --accent: #c2491d;
  --accent-ink: #ffffff;
  --accent-soft: #fbe7dc;
  --link: #1b6a66;
  --tint: #eaf2ef;
  --night: #10212b;
  --night-ink: #f4efe6;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1200px;
  --measure: 700px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(23 37 47 / 6%), 0 8px 24px rgb(23 37 47 / 6%);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0e171d;
  --surface: #152129;
  --well: #1d2b34;
  --ink: #eef0ec;
  --muted: #a8b3b9;
  --faint: #76838b;
  --rule: #25343e;
  --accent: #f08a5d;
  --accent-ink: #10181e;
  --accent-soft: #2e1f18;
  --link: #6fcac1;
  --tint: #13262a;
  --night: #0a1318;
  --night-ink: #eef0ec;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e171d;
    --surface: #152129;
    --well: #1d2b34;
    --ink: #eef0ec;
    --muted: #a8b3b9;
    --faint: #76838b;
    --rule: #25343e;
    --accent: #f08a5d;
    --accent-ink: #10181e;
    --accent-soft: #2e1f18;
    --link: #6fcac1;
    --tint: #13262a;
    --night: #0a1318;
    --night-ink: #eef0ec;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    color-scheme: dark;
  }
}

/* The plugin's pieces read --hen-* tokens. Set on body, not :root, so they
   win over the plugin's own defaults and follow dark mode. */
body {
  --hen-ink: var(--ink);
  --hen-muted: var(--muted);
  --hen-rule: var(--rule);
  --hen-accent: var(--accent);
  --hen-accent-ink: var(--accent-ink);
  --hen-link: var(--link);
  --hen-surface: var(--surface);
  --hen-well: var(--well);
  --hen-radius: var(--radius);
  --hen-font: var(--font-body);
  --hen-display: var(--font-display);
  --hen-paper: var(--paper);
  --hen-teal: var(--link);
  --hen-teal-soft: color-mix(in srgb, var(--link) 12%, transparent);
  --hen-shadow: var(--shadow);
}

/* --- base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; line-height: 1.15; text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.005em; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; }
p { text-wrap: pretty; }
button { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px; z-index: 1000;
  width: auto; height: auto;
  padding: .75rem 1rem;
  clip: auto;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.her-shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.her-narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.her-icon { display: block; flex: none; }

/* --- buttons and small furniture ----------------------------------------- */

.her-button,
.wp-block-button__link,
.her-searchform button,
.comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: .6rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 .95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.her-button:hover,
.wp-block-button__link:hover,
.her-searchform button:hover { color: var(--accent-ink); filter: brightness(1.08); }
.her-button--small { min-height: 38px; padding: .45rem 1rem; font-size: .875rem; }
.her-button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.her-button--ghost:hover { color: var(--ink); background: var(--well); }

.her-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.her-icon-btn:hover { background: var(--well); color: var(--ink); }

.her-eyebrow,
.her-kicker {
  display: inline-block;
  margin: 0 0 .5rem;
  color: var(--accent);
  font: 700 .75rem/1.3 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
a.her-kicker:hover { text-decoration: underline; }

.her-meta {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.her-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.her-more .her-icon { width: 18px; transition: transform .2s; }
.her-more:hover .her-icon { transform: translateX(3px); }

/* Light/dark icon swap for the toggle. */
.her-when-dark { display: none; }
:root[data-theme="dark"] .her-when-dark { display: block; }
:root[data-theme="dark"] .her-when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .her-when-dark { display: block; }
  :root:not([data-theme="light"]) .her-when-light { display: none; }
}

/* --- reading progress ----------------------------------------------------- */

.her-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.her-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* --- header --------------------------------------------------------------- */

.her-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.admin-bar .her-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .her-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .her-header { top: 0; } }

.her-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}
.her-logo { flex: none; }
.her-logo img { display: block; max-height: 44px; width: auto; }
.her-logo--text {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font: 400 1.5rem/1 var(--font-display);
  text-decoration: none;
  white-space: nowrap;
}
.her-logo--text:hover { color: var(--ink); }
.her-logo__mark { width: 30px; height: 30px; }

.her-nav { margin-left: auto; }
.her-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.her-menu a {
  display: block;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.her-menu a:hover { background: var(--well); color: var(--ink); }
.her-menu .current-menu-item > a,
.her-menu .current-menu-ancestor > a,
.her-menu .current_page_item > a { color: var(--accent); }

/* One level of dropdown. */
.her-menu li { position: relative; }
.her-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: .4rem;
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.her-menu li:hover > .sub-menu,
.her-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.her-menu .sub-menu a { border-radius: 8px; }

.her-header__tools { display: flex; align-items: center; gap: .15rem; }
.her-nav + .her-header__tools { margin-left: .5rem; }
.her-header__cta { margin-left: .4rem; }
.her-menu-toggle { display: none; }
.her-when-open { display: none; }
.her-menu-toggle[aria-expanded="true"] .her-when-open { display: block; }
.her-menu-toggle[aria-expanded="true"] .her-when-closed { display: none; }

.her-search { border-top: 1px solid var(--rule); padding: 1rem 0; }

/* Collapsed header. theme.js adds .is-collapsed whenever the menu doesn't fit
   on one line, at whatever width that happens for the menu you've built.
   Without JavaScript the menu simply wraps and stays usable. */
.her-header:not(.is-collapsed) .her-menu { flex-wrap: wrap; justify-content: flex-end; }
.is-collapsed .her-menu-toggle { display: inline-grid; }
.is-collapsed .her-header__tools { margin-left: auto; }
.is-collapsed .her-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  margin: 0;
  padding: .5rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 0 12px 24px rgb(0 0 0 / 8%);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.is-collapsed .her-nav.is-open { display: block; }
.is-collapsed .her-menu { flex-direction: column; align-items: stretch; }
.is-collapsed .her-menu a { white-space: normal; padding: .85rem .5rem; border-radius: 8px; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
.is-collapsed .her-menu .sub-menu { position: static; min-width: 0; padding: 0 0 0 1rem; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
@media (max-width: 520px) {
  .her-header__cta { padding: .45rem .8rem; font-size: .85rem; white-space: nowrap; }
  .her-header__tools [data-her-theme-toggle] { display: none; }
  .her-logo--text { font-size: 1.3rem; }
}

/* --- search form ---------------------------------------------------------- */

.her-searchform { display: flex; gap: .5rem; max-width: 640px; }
.her-searchform input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

/* --- sections and grids --------------------------------------------------- */

.her-main { display: block; min-height: 50vh; }
.her-section { margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.her-band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.her-band--tint { background: var(--tint); }
.her-band .hen-grid { margin-bottom: 0; }

.her-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
}
.her-section-head h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.her-section-head .her-eyebrow { margin-bottom: .3rem; }

.her-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.25rem 1.75rem;
}
.her-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .her-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .her-grid--3 { grid-template-columns: 1fr; } }

/* --- cards ---------------------------------------------------------------- */

.her-card { display: flex; flex-direction: column; min-width: 0; }
.her-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--well);
}
.her-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.her-card:hover .her-card__media img { transform: scale(1.035); }
.her-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 30%, var(--accent-soft), transparent 55%),
    radial-gradient(circle at 80% 75%, var(--tint), transparent 50%),
    var(--well);
}
.her-card__body { padding-top: 1rem; }
.her-card__body .her-kicker { margin-bottom: .35rem; }
.her-card__title { margin: 0 0 .5rem; font-size: 1.4rem; line-height: 1.2; }
.her-card__title a { color: var(--ink); text-decoration: none; }
.her-card__title a:hover { color: var(--accent); }
.her-card__excerpt {
  display: -webkit-box;
  margin: 0 0 .6rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .98rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Lead: a big card and three compact ones beside it. */
.her-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.her-card--wide .her-card__media { aspect-ratio: 16 / 10; }
.her-card--wide .her-card__title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; }
.her-card--wide .her-card__excerpt { font-size: 1.1rem; -webkit-line-clamp: 2; }
.her-lead__side { display: flex; flex-direction: column; gap: 1.25rem; }
.her-card--compact {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.her-card--compact:last-child { border-bottom: 0; padding-bottom: 0; }
.her-card--compact .her-card__media { aspect-ratio: 1; border-radius: 10px; }
.her-card--compact .her-card__body { padding-top: 0; }
.her-card--compact .her-card__title { font-size: 1.15rem; }
@media (max-width: 900px) {
  .her-lead { grid-template-columns: 1fr; }
}

.her-empty-home { padding-block: 5rem; text-align: center; }
.her-empty-home h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); margin: 0 0 .5rem; }
.her-home-intro { margin-top: 2.5rem; max-width: calc(var(--measure) + 2 * var(--gutter)); font-size: 1.15rem; }

/* Regions */
/* --- listing pages -------------------------------------------------------- */

.her-list-head { padding-top: clamp(2rem, 5vw, 3.5rem); }
.her-list-head h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 3.8rem); }
.her-list-head__intro { max-width: var(--measure); margin-top: .75rem; color: var(--muted); font-size: 1.1rem; }
.her-list-head__intro p { margin: 0; }
.her-list-head__search { margin-top: 1.25rem; }
.her-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.her-pills a {
  display: inline-block;
  padding: .45rem .9rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .9rem;
  text-decoration: none;
}
.her-pills a:hover { border-color: var(--accent); color: var(--accent); }
.her-filter-summary { margin: -.5rem 0 0; color: var(--muted); }
.her-filter-summary a { margin-left: .5rem; font-weight: 700; }
.her-nothing { padding: 3rem 0; color: var(--muted); font-size: 1.1rem; }

.her-pagination { margin-top: 3rem; }
.her-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.her-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .9rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.her-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.her-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* --- article -------------------------------------------------------------- */

.her-article__head {
  max-width: calc(860px + 2 * var(--gutter));
  padding-top: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.her-article__title { margin: .25rem 0 0; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.06; }
.her-article__dek { margin: 1rem auto 0; max-width: 640px; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.5; }
.her-byline {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  text-align: left;
}
.her-byline__avatar { border-radius: 50%; }
.her-byline__name { margin: 0; font-weight: 700; font-size: .95rem; }
.her-byline__name a { color: var(--ink); text-decoration: none; }

.her-article__cover {
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  padding-inline: var(--gutter);
}
.her-article__cover img { display: block; width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--radius); }
.her-article__cover figcaption { margin-top: .5rem; color: var(--muted); font-size: .85rem; text-align: center; }

.her-article__layout { margin-top: clamp(2rem, 5vw, 3rem); }
.her-article__layout.has-side {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--measure));
  justify-content: center;
  gap: 3.5rem;
}
.her-article__layout.has-side--right { grid-template-columns: minmax(0, var(--measure)) 300px; }
.her-article__layout:not(.has-side) .her-article__body { max-width: var(--measure); margin-inline: auto; }
.her-article__side { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 1.5rem; }
@media (max-width: 1024px) {
  .her-article__layout.has-side,
  .her-article__layout.has-side--right { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--measure) + 2 * var(--gutter)); gap: 1.5rem; }
  .her-article__side { position: static; }
  .her-article__layout.has-side--right .her-article__side { order: -1; }
}

.her-toc summary {
  cursor: pointer;
  margin-bottom: .6rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  list-style: none;
}
.her-toc summary::-webkit-details-marker { display: none; }
.her-toc summary::after { content: " +"; }
.her-toc[open] summary::after { content: " –"; }
.her-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--rule); }
.her-toc li a {
  display: block;
  margin-left: -2px;
  padding: .35rem 0 .35rem .9rem;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
}
.her-toc li a:hover,
.her-toc li a.is-active { border-left-color: var(--accent); color: var(--ink); }
.her-toc__l3 a { padding-left: 1.7rem; font-size: .85rem; }
@media (max-width: 1024px) {
  .her-toc { padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); }
  .her-toc summary { margin: 0; }
  .her-toc[open] summary { margin-bottom: .6rem; }
}

.her-widget { font-size: .95rem; }
.her-widget ul { margin: 0; padding: 0; list-style: none; }
.her-widget li { margin-bottom: .5rem; line-height: 1.4; }
.her-widget a { color: var(--ink); text-decoration: none; }
.her-widget a:hover { color: var(--accent); }
/* Block widgets bring their own headings; keep them the size of a label. */
.her-widget h2,
.her-widget .wp-block-heading { margin: 0 0 .6rem; font: 700 .75rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.her-widget .wp-block-search__label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .85rem; }
.her-widget .wp-block-search__inside-wrapper { display: flex; gap: .4rem; }
.her-widget .wp-block-search__input { flex: 1; min-width: 0; min-height: 40px; padding: .4rem .8rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; }
.her-widget .wp-block-search__button { min-height: 40px; margin: 0; padding: .4rem .9rem; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; cursor: pointer; }
.her-widget__title { margin: 0 0 .6rem; font: 700 .75rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* --- body copy ------------------------------------------------------------ */

.entry-content { font-size: 1.125rem; line-height: 1.75; }
.entry-content > * { margin-block: 0 1.35em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin: 2.2em 0 .6em; font-size: clamp(1.7rem, 3.2vw, 2.1rem); }
.entry-content h3 { margin: 1.8em 0 .5em; font-size: 1.45rem; }
.entry-content h4 { margin: 1.6em 0 .4em; font-size: 1.1rem; }
.entry-content a { color: var(--link); }
.entry-content a:hover { color: var(--accent); }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content blockquote,
.entry-content .wp-block-quote {
  margin-inline: 0;
  padding: .25rem 0 .25rem 1.4rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.4;
}
.entry-content blockquote cite { display: block; margin-top: .5rem; color: var(--muted); font: 400 .9rem var(--font-body); font-style: normal; }
.entry-content .wp-block-pullquote { border-block: 2px solid var(--ink); padding: 1.5rem 0; }
.entry-content figure { margin-inline: 0; }
.entry-content img { border-radius: 10px; }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: .5rem; color: var(--muted); font-size: .85rem; text-align: center; }
.entry-content hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th,
.entry-content td { padding: .6rem .7rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 700; background: var(--well); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content code { padding: .1em .35em; border-radius: 5px; background: var(--well); font-size: .9em; }
.entry-content pre { overflow-x: auto; padding: 1rem; border-radius: 10px; background: var(--well); font-size: .9rem; }
.entry-content .alignwide { width: min(1100px, calc(100vw - 2 * var(--gutter))); max-width: none; margin-inline: calc(50% - min(550px, 50vw - var(--gutter))); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.entry-content .alignfull img { border-radius: 0; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }
@media (max-width: 600px) { .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1.35em; max-width: 100%; } }
.entry-content .has-drop-cap:not(:focus)::first-letter { float: left; margin: .08em .1em 0 0; color: var(--accent); font: 4.4em/.8 var(--font-display); }
.entry-content .hen-grid { font-size: 1rem; line-height: 1.5; }
.entry-content .hen-card__title { font-family: var(--font-display); font-weight: 400; }


/* Callout for tips: add the class "tip" to a group or paragraph block. */
.entry-content .tip {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: var(--accent-soft);
}

/* Plugin cards take the theme's type. */
.hen-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }

/* --- after the body ------------------------------------------------------- */

.her-places { margin-top: 3rem; }
.her-places h2 { font-size: 1.6rem; margin: 0 0 .25rem; }
.her-places .hen-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.her-article__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.her-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.her-tags a {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--well);
  color: var(--ink);
  font-size: .85rem;
  text-decoration: none;
}
.her-tags a:hover { background: var(--accent-soft); color: var(--accent); }

.her-share { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem; }
.her-share__label { margin-right: .4rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.her-share .her-icon-btn { width: 40px; height: 40px; }
.her-share .is-copied { background: var(--accent); color: var(--accent-ink); }

.her-author {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.1rem;
  margin-top: 2.5rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--rule);
}
.her-author img { border-radius: 50%; }
.her-author p { margin: 0; color: var(--muted); font-size: .98rem; }
.her-author__name { margin-bottom: .3rem !important; }
.her-author__name a { color: var(--ink); font-weight: 700; text-decoration: none; }

.her-page-links { margin-top: 2rem; font-weight: 700; }

/* --- city page ------------------------------------------------------------ */

.her-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.her-crumbs a { color: var(--accent); text-decoration: none; }
.her-crumbs a:hover { text-decoration: underline; }
.her-crumbs span { color: var(--faint); }

.her-city-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--night);
  color: #fff;
  isolation: isolate;
}
.her-city-hero.has-image { min-height: clamp(420px, 68vh, 680px); }
.her-city-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.her-city-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 14 20 / 85%), rgb(6 14 20 / 25%) 55%, rgb(6 14 20 / 10%)); }
.her-city-hero .her-crumbs a { color: #fff; }
.her-city-hero .her-crumbs span { color: rgb(255 255 255 / 55%); }
.her-city-hero__title { margin: .3rem 0 0; color: #fff; font-size: clamp(3rem, 10vw, 6.5rem); line-height: .95; }
.her-city-hero__nick { margin: .5rem 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.5rem); opacity: .9; }
.her-city-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1rem; padding: 0; list-style: none; }
.her-city-hero__chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; background: rgb(255 255 255 / 14%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .9rem; }
.her-city-hero__chips .her-icon { width: 16px; height: 16px; }

/* The section menu: a strip that sticks under the header. */
.her-secnav {
  position: sticky;
  top: 68px;
  z-index: 40;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.admin-bar .her-secnav { top: 100px; }
@media (max-width: 782px) { .admin-bar .her-secnav { top: 114px; } }
.her-secnav ul { display: flex; gap: .25rem; margin: 0; padding: .45rem 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.her-secnav ul::-webkit-scrollbar { display: none; }
.her-secnav a {
  display: block;
  padding: .45rem .85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.her-secnav a:hover { background: var(--well); color: var(--ink); }
.her-secnav a.is-active { background: var(--ink); color: var(--paper); }
html { scroll-padding-top: 130px; }

.her-sec { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); }
.her-sec:last-child { border-bottom: 0; }
.her-sec .hen-prose { max-width: var(--measure); font-size: 1.125rem; line-height: 1.75; }
.her-sec--overview .hen-lede { max-width: 820px; }

/* --- listing & event pages ---------------------------------------------- */

.her-crumbs--plain a { color: var(--accent); }
.her-listing__head { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.her-listing__title { margin: .4rem 0 .6rem; font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.05; }
.her-listing__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; color: var(--muted); }
.her-listing__rating { text-decoration: none; }
.her-listing__rank { color: var(--ink); font-weight: 700; }
.her-listing__cover { margin: 1.5rem 0 0; }
.her-listing__cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.her-listing__layout { margin-top: 2rem; }
.her-listing__side .hen-details { position: static; }
.her-listing__side .hen-facts--compact { grid-template-columns: 1fr; }
.her-article__body .hen-reviews { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

/* --- home ----------------------------------------------------------------- */

.her-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 70vh, 640px);
  padding-block: 4rem;
  background: var(--night);
  color: #fff;
  isolation: isolate;
}
.her-home-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.her-home-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(6 14 20 / 80%), rgb(6 14 20 / 35%) 60%, rgb(6 14 20 / 15%)); }
.her-home-hero__title { max-width: 14ch; margin: 0 0 1rem; color: #fff; font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: .98; }
.her-home-hero__text { max-width: 52ch; margin: 0 0 1.75rem; font-size: clamp(1.05rem, 2vw, 1.25rem); opacity: .92; }
.her-home-hero .her-searchform input { background: #fff; color: #17252f; }

/* --- cities list ---------------------------------------------------------- */

.her-cityfinder { margin-top: 2rem; }
.her-cityfinder__tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin-bottom: .75rem; }
.her-cityfinder__tools input[type="search"] { flex: 1 1 260px; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; }
.her-cityfinder__tools .hen-chipset { margin: 0; }
.her-cityfinder__count { margin: 0 0 1rem; }
.hen-map--network { height: 520px; }

/* --- newsletter band ------------------------------------------------------ */

.her-subscribe {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--night);
  color: var(--night-ink);
  --hen-surface: rgb(255 255 255 / 6%);
  --hen-rule: rgb(255 255 255 / 18%);
  --hen-ink: var(--night-ink);
}
.her-subscribe__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.her-subscribe h2 { margin: 0 0 .75rem; color: var(--night-ink); font-size: clamp(1.9rem, 4vw, 2.7rem); }
.her-subscribe p { margin: 0; opacity: .85; }
.her-subscribe .her-eyebrow { color: #f3a27e; opacity: 1; }
.her-subscribe .hen-subscribe input[type="email"] { background: rgb(255 255 255 / 8%); color: var(--night-ink); }
.her-subscribe .hen-subscribe input[type="email"]::placeholder { color: rgb(255 255 255 / 55%); }
.her-subscribe .hen-subscribe__note.is-error { color: #ffb4a8; }
@media (max-width: 860px) { .her-subscribe__inner { grid-template-columns: 1fr; } }

/* --- footer --------------------------------------------------------------- */

.her-footer { padding-block: 3rem 2rem; background: var(--night); color: var(--night-ink); border-top: 1px solid rgb(255 255 255 / 8%); }
.her-subscribe + .her-footer { padding-top: 0; border-top: 0; }
.her-subscribe + .her-footer .her-footer__grid { padding-top: 2.5rem; border-top: 1px solid rgb(255 255 255 / 12%); }
.her-footer a { color: var(--night-ink); }
.her-footer a:hover { color: #f3a27e; }
.her-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; }
.her-footer__name { margin: 0 0 .5rem; font: 400 1.6rem/1.1 var(--font-display); }
.her-footer__about p:not(.her-footer__name) { max-width: 420px; margin: 0; opacity: .75; font-size: .95rem; }
.her-footer__nav ul { columns: 2; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.her-footer__nav li { break-inside: avoid; margin-bottom: .55rem; }
.her-footer__nav a { text-decoration: none; opacity: .85; }
.her-social { display: flex; gap: .25rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.her-social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: rgb(255 255 255 / 8%); }
.her-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; font-size: .85rem; opacity: .6; }
.her-footer__legal p { margin: 0; }
@media (max-width: 700px) { .her-footer__grid { grid-template-columns: 1fr; } }

/* --- page, 404, comments -------------------------------------------------- */

.her-page__head { padding-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.her-page__head h1 { margin: 0; font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.her-page .entry-content { margin-top: 1.5rem; }

.her-404 { padding-block: clamp(3rem, 10vw, 6rem); }
.her-404 h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.her-404__links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.her-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.her-comments__title { font-size: 1.6rem; }
.her-comments__list, .her-comments__list .children { list-style: none; padding: 0; }
.her-comments__list .children { padding-left: 1.5rem; border-left: 2px solid var(--rule); }
.her-comments__list .comment-body { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.her-comments__list .comment-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; font-size: .9rem; }
.her-comments__list .avatar { border-radius: 50%; vertical-align: middle; margin-right: .4rem; }
.her-comments__list .comment-metadata a { color: var(--muted); text-decoration: none; }
.her-comments__list .reply a { font-size: .85rem; font-weight: 700; }
.comment-form label { display: block; margin-bottom: .3rem; font-weight: 700; font-size: .9rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* --- WordPress core classes ---------------------------------------------- */

.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

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

@media print {
  .her-header, .her-subscribe, .her-footer, .her-share, .her-article__side, .her-progress { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --- v3: home page, header account links, side cards ---------------------- */

.her-home-hero--slim { min-height: 0; padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); background: var(--paper); color: var(--ink); }
.her-home-hero--slim .her-home-hero__title { max-width: 22ch; color: var(--ink); font-size: clamp(2rem, 5vw, 3.2rem); }
.her-home-hero--slim .her-home-hero__text { color: var(--muted); max-width: 46rem; }
.her-home-grid { display: grid; gap: clamp(24px, 3vw, 40px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 1180px) {
  .her-home-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .her-home-grid__side { position: sticky; top: 96px; }
}
.her-home-grid__main { min-width: 0; }
.her-home-grid__side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 700px) and (max-width: 1179px) { .her-home-grid__side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.her-side-card { padding: 18px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.her-side-card__title { margin: 0 0 12px; font: 400 1.35rem/1.2 var(--font-display); }
.her-side-card__more { margin: 12px 0 0; font-size: .92rem; font-weight: 600; }
.her-side-card__more a { display: inline-flex; align-items: center; gap: 4px; color: var(--link); text-decoration: none; }
.her-side-card__more .her-icon { width: 16px; height: 16px; }
.her-event-search { display: grid; gap: 10px; }
.her-event-search label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.her-event-search input { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; }
.her-event-search__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.her-guides__list { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.her-guides__list li { padding: 10px 0; border-bottom: 1px solid var(--rule); line-height: 1.35; }
.her-guides__list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.her-guides__list a:hover { color: var(--link); }
.her-section--tight { padding-top: 0; }
.her-header__signin { color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; padding: 0 6px; white-space: nowrap; }
.her-header__profile .her-avatar { width: 28px; height: 28px; border-radius: 50%; display: block; }
.her-header__tools .hen-bell { position: relative; }
@media (max-width: 560px) { .her-header__signin { display: none; } }
.her-city .her-crumbs--plain { margin: 16px 0 12px; }
.her-connection { padding-top: 24px; padding-bottom: 56px; }
.her-route { padding-bottom: 56px; }

/* A listing's logo or category icon beside its name */
.her-listing__id.has-tile { display: flex; gap: 1.1rem; align-items: center; }
.her-listing__id.has-tile .her-listing__title { margin-top: 0; }

.her-listing__near { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }
.her-listing__near a { color: var(--link); }
.her-listing__actions { margin-top: .9rem; }
