/* Base IndustrySite stylesheet, carried over from the old engine (engine/src/styles/industry-site.css). */
/* ============================================================================
 * industry-site.css — the ONE base stylesheet for IndustrySite ventures.
 *
 * This file is the single source of truth for the `.industry-site__*` class
 * VOCABULARY + STRUCTURE + a neutral, correct DEFAULT LOOK. It is loaded once
 * in <head> (via an import in Base.astro) so it applies on every IndustrySite
 * surface — the homepage, country hub, city hub, and any component/page that
 * emits this vocabulary — NOT only where the cc-component renders.
 *
 * OVERRIDE MODEL (by source order, no !important):
 *   1. this base file            → <head>            (structure + defaults)
 *   2. ventures.custom_css       → top of <body>     (per-venture skin; WINS)
 * A venture with EMPTY custom_css must still look correct from this file alone.
 * Per-venture colour/font/identity lives in custom_css, which overrides the
 * tokens/rules below. Never invent classes outside this vocabulary in pages or
 * components — that is what caused the unstyled/ugly fallbacks.
 *
 * Skinnable values use `var(--token, fallback)` so custom_css can override by
 * setting :root tokens OR by re-declaring the rule.
 * ========================================================================== */

.industry-site { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink, #1a1a1a); }
.industry-site a { color: inherit; text-decoration: none; }

/* --- Hero --- */
.industry-site__hero { padding: 24px 16px 8px; }

/* --- Results head (count + clear) --- */
.industry-site__results-head {
  padding: 32px 16px 16px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line, #ddd);
}
.industry-site__count {
  margin: 0;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft, #777);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.industry-site__count-num { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: normal; text-transform: none; color: var(--ink, inherit); }
.industry-site__clear {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line, #ccc); color: var(--ink, inherit);
  padding: 8px 14px; cursor: pointer;
}
.industry-site__clear[hidden] { display: none; }
.industry-site__clear-text { display: inline; }

/* --- Search bar --- */
.industry-site__searchbar {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  border: 1px solid var(--ink, #ccc); background: var(--card, #fff);
  max-width: 920px;
}
.industry-site__field { display: flex; align-items: center; position: relative; }
.industry-site__field + .industry-site__field { border-left: 1px solid var(--ink, #ccc); }
.industry-site__field--q { padding-left: 14px; }
/* Cover both the structural `input`/`select` selectors AND the explicit
   element classes the component markup uses (search-input, city/country-select)
   so neither can fall back to browser defaults. */
.industry-site__field--q input,
.industry-site__search-input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font: inherit; font-size: 16px; padding: 16px 14px;
  color: var(--ink, inherit);
}
.industry-site__field--sel select,
.industry-site__city-select,
.industry-site__country-select {
  appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14px; padding: 16px 32px 16px 14px; width: 100%; cursor: pointer;
  color: var(--ink, inherit);
}
.industry-site__field--sel::after {
  content: "\25BE"; position: absolute; right: 12px; pointer-events: none; font-size: 12px;
  color: var(--accent, currentColor);
}

/* --- Chips --- */
.industry-site__chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.industry-site__chips-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft, #777); margin-right: 4px; }
.industry-site__chips-sep { width: 1px; height: 16px; background: var(--line, #ccc); margin: 0 6px; }
/* Inline container the JS fills with city/country chips — must lay them out
   like the surrounding .industry-site__chips row. */
.industry-site__chips-row { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.industry-site__chip {
  font: inherit; font-size: 13px;
  background: transparent; border: 1px solid var(--line, #ccc); border-radius: 100px;
  padding: 6px 14px; cursor: pointer; white-space: nowrap;
  color: var(--ink, inherit);
}
.industry-site__chip[aria-pressed="true"] { background: var(--ink, #1a1a1a); color: var(--paper, #fff); border-color: var(--ink, #1a1a1a); }

/* --- Grid --- */
.industry-site__grid {
  padding: 32px 16px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px;
}
@media (max-width: 1180px) { .industry-site__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .industry-site__grid { grid-template-columns: 1fr; gap: 20px; } }
.industry-site__sentinel { width: 100%; height: 1px; }

/* --- Card --- */
.industry-site__card {
  display: flex; flex-direction: column;
  background: var(--card, #fff); border: 1px solid var(--ink, #ddd);
  opacity: 0; transform: translateY(14px);
  animation: industry-site-rise .5s cubic-bezier(.2,.7,.2,1) forwards;
  transition: background .2s, transform .2s, box-shadow .2s;
}
@keyframes industry-site-rise { to { opacity: 1; transform: none; } }
.industry-site__card-art {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  /* Neutral placeholder tone, NOT pure ink — a missing/slow image should read
     as an empty card, not a hard black rectangle. Venture custom_css can
     override --card-soft for its own placeholder. */
  background: var(--card-soft, #ece7dd);
  border-bottom: 1px solid var(--ink, #ddd);
}
.industry-site__card-art img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.industry-site__card:hover .industry-site__card-art img { transform: scale(1.05); }
.industry-site__card-type {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  background: var(--paper, #fff); color: var(--ink, #1a1a1a); padding: 4px 8px; border: 1px solid var(--ink, #1a1a1a);
}
.industry-site__card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.industry-site__card-loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 10px; white-space: nowrap;
  color: var(--accent, var(--ink-soft, #777));
}
.industry-site__card-loc > span:first-of-type { overflow: hidden; text-overflow: ellipsis; }
.industry-site__card-loc .industry-site__dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft, #777); margin: 0 4px;
}
.industry-site__card-name { font-weight: 700; font-size: 19px; line-height: 1.1; margin: 0 0 10px; color: var(--ink, #1a1a1a); }
.industry-site__card-blurb {
  font-size: 14px; line-height: 1.5; color: var(--ink-soft, #555); margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.industry-site__card-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line, #eee);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.industry-site__hours { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--ink-soft, #777); line-height: 1.4; }
.industry-site__hours svg { flex: none; margin-top: 1px; }
.industry-site__free {
  flex: none; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  color: #1E6F50; border: 1px solid #1E6F50; padding: 4px 8px; border-radius: 100px;
}

/* --- Empty state --- */
.industry-site__empty {
  grid-column: 1 / -1; text-align: center; padding: 64px 20px; color: var(--ink-soft, #777);
}
.industry-site__empty-title { font-size: 32px; color: var(--ink, #1a1a1a); margin: 0 0 8px; font-weight: 700; }
.industry-site__empty-cta { margin-top: 16px; }

/* --- Data holders (must never render as visible text) --- */
.industry-site__country-names { display: none; }

/* --- SSR skeleton cards (reserve grid height pre-hydration) --- */
.industry-site__card--skeleton { opacity: 1; transform: none; animation: none; pointer-events: none; }
.industry-site__card--skeleton .industry-site__card-art { background: var(--card-soft, var(--card, #f3efe6)); }
.industry-site__card--skeleton .industry-site__sk-line {
  display: block; height: 12px; border-radius: 2px;
  background: var(--card-soft, var(--card, #ebe6db));
  margin: 0 0 10px;
}
.industry-site__card--skeleton .industry-site__sk-line--loc { width: 40%; height: 10px; margin-bottom: 14px; }
.industry-site__card--skeleton .industry-site__sk-line--title { width: 75%; height: 20px; margin-bottom: 14px; }
.industry-site__card--skeleton .industry-site__sk-line--blurb { width: 100%; }
.industry-site__card--skeleton .industry-site__sk-line--blurb:nth-of-type(3) { width: 90%; }
.industry-site__card--skeleton .industry-site__sk-line--blurb:nth-of-type(4) { width: 70%; margin-bottom: 18px; }
.industry-site__card--skeleton .industry-site__sk-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line, #eee);
  display: flex; justify-content: space-between;
}
.industry-site__card--skeleton .industry-site__sk-foot span {
  display: block; height: 10px; border-radius: 2px;
  background: var(--card-soft, var(--card, #ebe6db));
}
.industry-site__card--skeleton .industry-site__sk-foot span:first-child { width: 30%; }
.industry-site__card--skeleton .industry-site__sk-foot span:last-child { width: 18%; }

/* ============================================================================
 * LANDING / FeaturedFacet1 vocabulary (.is-landing__*)
 * The "featured country" experience + surrounding landing sections. Rendered by
 * the featured-facet1 cc-component and the homepage page-content. Same token
 * model as the rest of this file — custom_css overrides via tokens. Button/link
 * color rules are scoped under .industry-site so they beat the base
 * `.industry-site a { color: inherit }` rule (which has higher specificity than
 * a bare class).
 * ========================================================================== */
.is-landing { max-width: var(--is-maxw, 1200px); margin: 0 auto; }

/* Hero CTAs */
.is-landing__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; padding: 0 16px; }
.industry-site .is-landing__btn { display: inline-flex; align-items: center; font-family: var(--ui, inherit); font-size: 15px; font-weight: 600; padding: 14px 24px; border: 1.5px solid var(--ink, #1a1a1a); text-decoration: none; transition: all .16s; }
.industry-site .is-landing__btn--primary { background: var(--ink, #1a1a1a); color: var(--paper, #fff); }
.industry-site .is-landing__btn--primary:hover { background: var(--accent, #c8381f); border-color: var(--accent, #c8381f); color: var(--paper, #fff); }
.industry-site .is-landing__btn--ghost { background: transparent; color: var(--ink, #1a1a1a); }
.industry-site .is-landing__btn--ghost:hover { border-color: var(--accent, #c8381f); color: var(--accent, #c8381f); }

/* Popular searches row */
.is-landing__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding: 0 16px; }
.is-landing__popular-label { font-family: var(--ui, sans-serif); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft, #888); margin-right: 4px; }
.industry-site .is-landing__popular a { font-family: var(--ui, sans-serif); font-size: 13px; color: var(--ink, #1a1a1a); background: transparent; border: 1px solid var(--line, #d9d1c2); border-radius: 100px; padding: 7px 15px; text-decoration: none; transition: all .15s; }
.is-landing__popular a:hover { border-color: var(--accent, #c8381f); color: var(--accent, #c8381f); }

/* Sections */
.is-landing__section { padding: 56px 16px 8px; }
.is-landing__h2 { font-family: var(--display, Georgia, serif); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; margin: 0 0 24px; color: var(--ink, #1a1a1a); }
.is-landing__section-lede { font-size: 16px; color: var(--ink-soft, #555); margin: -8px 0 24px; max-width: 60ch; }

/* Museums-by-city table */
.is-landing__cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1.5px solid var(--ink, #1a1a1a); }
.is-landing__cities li { border-bottom: 1px solid var(--line, #d9d1c2); }
.industry-site .is-landing__cities a { display: flex; align-items: baseline; justify-content: space-between; padding: 26px 8px 16px; font-family: var(--display, Georgia, serif); font-size: 20px; color: var(--ink, #1a1a1a); text-decoration: none; transition: color .15s, padding .15s; position: relative; }
.is-landing__cities a:hover { color: var(--accent, #c8381f); }
.is-landing__cities a::before { content: "Museums in"; font-family: var(--ui, sans-serif); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft, #777); position: absolute; top: 10px; left: 8px; }
.is-landing__cities span { font-family: var(--ui, sans-serif); font-size: 13px; color: var(--ink-soft, #888); font-weight: 500; }
.is-landing__more { margin: 20px 8px 0; }
.industry-site .is-landing__more a { font-family: var(--ui, sans-serif); font-size: 14px; font-weight: 600; color: var(--accent, #c8381f); text-decoration: none; }
.is-landing__more a:hover { text-decoration: underline; }

/* Prose block */
.is-landing__prose { columns: 2; column-gap: 48px; max-width: 900px; }
.is-landing__prose p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--ink-soft, #444); break-inside: avoid; }
@media (max-width: 720px) { .is-landing__prose { columns: 1; } }

/* Explore by country grid */
.is-landing__countries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.is-landing__country { border: 1.5px solid var(--ink, #1a1a1a); background: var(--card, #fff); }
.is-landing__country a, .is-landing__country { display: flex; flex-direction: column; padding: 20px 22px; text-decoration: none; }
.industry-site .is-landing__country a { color: var(--ink, #1a1a1a); }
.is-landing__country a:hover { background: var(--card-hover, #fff); }
.is-landing__country-flag { font-size: 24px; line-height: 1; margin-bottom: 12px; }
.is-landing__country-name { font-family: var(--display, Georgia, serif); font-weight: 700; font-size: 22px; margin-bottom: 4px; }
.is-landing__country-meta { font-family: var(--ui, sans-serif); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft, #888); }
.is-landing__country--soon { border-style: dashed; border-color: var(--line, #d9d1c2); opacity: .6; }
.is-landing__country--soon .is-landing__country-name { color: var(--ink-soft, #777); }

/* FAQ */
.is-landing__faq { max-width: 820px; display: flex; flex-direction: column; gap: 24px; }
.is-landing__faq-item h3 { font-family: var(--display, Georgia, serif); font-weight: 700; font-size: 19px; margin: 0 0 6px; color: var(--ink, #1a1a1a); }
.is-landing__faq-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft, #555); }
.industry-site .is-landing__faq-item a { color: var(--accent, #c8381f); font-weight: 600; }
.is-landing__faq-item a:hover { text-decoration: underline; }


/* The site's own stylesheet. */
/* >>> industry-site skin (visitamuseos) — auto-managed, do not hand-edit between sentinels >>> */
/* --- Tokens (light) --- */
:root {
  --paper: #F3EFE6;
  --card: #FBF9F4;
  --card-hover: #FFFFFF;
  --ink: #1A1613;
  --ink-soft: #6B6258;
  --line: #D9D1C2;
  --accent: #C8381F;
  --display: "Bodoni Moda", Georgia, serif;
  --ui: "Archivo", system-ui, sans-serif;
  --is-maxw: 1200px;   /* matches Base.astro .container width so header+content align */

  /* Override the engine's default theme tokens with the editorial palette.
     The engine's header/footer use these (--bg-primary, --text-primary,
     etc.) — overriding them here makes the chrome match the venture
     without needing to target site-header/site-footer classes (which are
     Astro-scoped and unreachable from custom_css). */
  --bg-primary: #F3EFE6;
  --bg-secondary: #FBF9F4;
  --bg-tertiary: #EFE7D9;
  --text-primary: #1A1613;
  --text-secondary: #6B6258;
  --text-tertiary: #8B7F70;
  --border-color: #1A1613;        /* full ink — sharp editorial rule, not muted */
  --border-color-light: #D9D1C2;
  --color-primary: #C8381F;       /* accent vermillion for hover/active states */
  --color-secondary: #1A1613;
}

/* --- Tokens (dark) ---
   Editorial dark: deep ink as paper, warm cream as ink. Accent vermillion
   stays — it works on both. Overrides the engine's slate-blue defaults
   for this venture only. */
html.dark {
  --paper: #1A1613;
  --card: #25201C;
  --card-hover: #2F2925;   /* one notch lighter than --card so hover lifts without going white */
  --ink: #F3EFE6;
  --ink-soft: #B6AC9E;
  --line: #3A332A;
  /* --accent: keep — vermillion holds up on dark too */

  /* Override the engine's dark-mode tokens so anything still using them
     (e.g. blog posts, theme-toggle, nav chrome) inherits the editorial
     palette. Keep this list in sync with the :root block above. */
  --bg-primary: #1A1613;
  --bg-secondary: #25201C;
  --bg-tertiary: #2F2925;
  --text-primary: #F3EFE6;
  --text-secondary: #B6AC9E;
  --text-tertiary: #8B7F70;
  --border-color: #3A332A;
  --border-color-light: #2F2925;
  --color-primary: #C8381F;       /* accent stays — vermillion holds up on dark */
  --color-secondary: #F3EFE6;
}

/* Font loading. Self-hosting is the right move later; for now Google Fonts
   keeps the skin self-contained. */
/* Page surface. Venture custom_css renders as the first element inside
   <body> (see Base.astro), so plain element selectors here win cascade
   against the engine's earlier head-injected rules. */
body { background: var(--paper); color: var(--ink); font-family: var(--ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { background: var(--paper); }
::selection { background: var(--accent); color: #fff; }

/* --- Component root --- */
.industry-site { font-family: var(--ui); color: var(--ink); max-width: var(--is-maxw); margin: 0 auto; }

/* --- Hero --- */
.industry-site__hero { padding: 30px 40px; max-width: var(--is-maxw); }
.industry-site__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 26px;
}
.industry-site__eyebrow-rule { width: 48px; height: 2px; background: var(--accent); display: inline-block; }
.industry-site__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 0.96; letter-spacing: -0.015em;
  margin: 0 0 16px; max-width: 18ch;
  /* Explicit ink color — without this the engine's body{color:var(--text-primary)}
     can bleed through and ink turns invisible in dark mode. */
  color: var(--ink);
}
.industry-site__title em { font-style: italic; font-weight: 700; color: var(--accent); }
.industry-site__title .ital { font-style: italic; font-weight: 700; color: var(--accent); }
.industry-site__lede {
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; color: var(--ink-soft);
  max-width: 52ch; margin: 0 0 30px; text-wrap: pretty;
}

/* --- Searchbar --- */
.industry-site__searchbar {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0;
  border: 1.5px solid var(--ink); background: var(--card);
  max-width: 920px; box-shadow: 8px 8px 0 rgba(26,22,19,0.08);
}
.industry-site__field { display: flex; align-items: center; position: relative; }
.industry-site__field + .industry-site__field { border-left: 1.5px solid var(--ink); }
.industry-site__field--q { padding-left: 18px; color: var(--ink-soft); }
.industry-site__field--q svg { flex: none; color: var(--ink-soft); }
.industry-site__field--q input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-family: var(--ui); font-size: 16px; color: var(--ink);
  padding: 20px 16px;
}
.industry-site__field--q input::placeholder { color: var(--ink-soft); }
.industry-site__field--sel::after { color: var(--accent); font-size: 14px; }
.industry-site__field--sel select {
  font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: .02em; padding: 20px 38px 20px 18px;
}

/* --- Chips --- */
.industry-site__chips { margin-top: 22px; gap: 9px; }
.industry-site__chips-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.industry-site__chips-sep { width: 1px; height: 18px; background: var(--line); margin: 0 6px; }
.industry-site__chip {
  font-family: var(--ui); font-size: 13px; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 15px; transition: all .16s;
}
.industry-site__chip:hover { border-color: var(--ink); }
.industry-site__chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --- Results head --- */
.industry-site__results-head {
  padding: 56px 40px 24px;
  border-bottom: 1.5px solid var(--ink);
}
/* Count phrase: the <h2> itself carries label styling (uppercase, soft ink),
   and the .industry-site__count-num span styles the number with display serif. */
.industry-site__count {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  font-family: var(--ui); font-weight: 500;
}
.industry-site__count-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.02em;
  text-transform: none; color: var(--ink);
}
.industry-site__clear {
  font-family: var(--ui); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 9px 16px; border-radius: 100px; transition: all .16s;
}
.industry-site__clear:hover { border-color: var(--accent); color: var(--accent); }

/* --- Grid --- */
.industry-site__grid {
  padding: 48px 40px 0;
  grid-template-columns: repeat(3, 1fr); gap: 36px 32px;
}
@media (min-width: 921px) and (max-width: 1180px) {
  .industry-site__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .industry-site__hero, .industry-site__results-head, .industry-site__grid { padding-left: 22px; padding-right: 22px; }
  .industry-site__searchbar { grid-template-columns: 1fr; }
  .industry-site__field + .industry-site__field { border-left: 0; border-top: 1.5px solid var(--ink); }
  .industry-site__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --- Card --- */
.industry-site__card {
  background: var(--card); border: 1.5px solid var(--ink);
}
.industry-site__card:hover { background: var(--card-hover); transform: translateY(-4px); box-shadow: 8px 8px 0 rgba(26,22,19,0.1); }
.industry-site__card-art { aspect-ratio: 4 / 3; border-bottom: 1.5px solid var(--ink); background: var(--card-soft, #E4DDCE); display: block; }
.industry-site__card-type {
  font-size: 10px; letter-spacing: .12em; font-weight: 700;
  background: var(--paper); color: var(--ink); padding: 5px 9px;
  border: 1px solid var(--ink);
}
.industry-site__card-body { padding: 20px 22px 22px; }
.industry-site__card-loc {
  font-size: 11px; letter-spacing: .1em; font-weight: 600;
  color: var(--accent); margin-bottom: 11px;
}
.industry-site__card-loc svg { color: var(--accent); }
.industry-site__dot { background: var(--ink-soft); }
.industry-site__card-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(19px, 1.5vw, 23px); line-height: 1.08; letter-spacing: -.01em;
  margin: 0 0 12px; text-wrap: balance;
  color: var(--ink);
}
/* Card-title link inherits via :link/:visited so it stays ink, not the
   engine's accent (which the generic a-rule would apply). */
.industry-site__card-name a:link,
.industry-site__card-name a:visited { color: var(--ink); }
.industry-site__card:hover .industry-site__card-name {
  text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 3px; text-decoration-thickness: 2px;
}
.industry-site__card-blurb {
  font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 18px;
}
.industry-site__card-foot { padding-top: 14px; border-top: 1px solid var(--line); }
.industry-site__hours { font-size: 12px; color: var(--ink-soft); }
.industry-site__free {
  font-size: 10px; letter-spacing: .08em; font-weight: 700;
  color: #1E6F50; border: 1px solid #1E6F50;
}

/* --- Empty state --- */
.industry-site__empty { color: var(--ink-soft); padding: 80px 20px; }
.industry-site__empty-title { font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--ink); }

/* --- Header / logo responsive ---
   Engine renders .logo-image at height:64px regardless of viewport. Scope
   under .site-header so we win against the engine's Astro-scoped selector
   (.site-header descendant + .logo-image = specificity 0,2,0 vs engine's
   0,1,1). Three tiers, mirroring the engine's own breakpoints (768/480). */
.site-header .logo-image { height: 48px; max-height: 48px; }
@media (max-width: 920px) {
  .site-header .logo-image { height: 44px; max-height: 44px; }
}
@media (max-width: 480px) {
  .site-header .logo-image { height: 36px; max-height: 36px; }
}
/* <<< industry-site skin (visitamuseos) <<< */
/* Hub pages (country and city lists), written by the importer. */
.hub { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.hub__crumbs { font-size: 0.85rem; margin-bottom: 1rem; color: var(--is-text-muted, #555); }
.hub__crumbs a { color: inherit; }
.hub__title { margin: 0 0 0.5rem; }
.hub__lede { margin: 0 0 2rem; color: var(--is-text-muted, #555); }
.entity-index__heading, .facet-index__heading { font-size: 1.05rem; font-weight: 600; margin: 0 0 1.25rem; }
.entity-index__list, .facet-index__list { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 2rem; }
.entity-index__item, .facet-index__item { break-inside: avoid; margin: 0 0 0.5rem; }
.entity-index__link, .facet-index__link { color: var(--is-link, #1a4d8f); text-decoration: none; font-size: 0.9rem; line-height: 1.45; }
.entity-index__link:hover, .entity-index__link:focus-visible, .facet-index__link:hover, .facet-index__link:focus-visible { text-decoration: underline; }
.facet-index__count { color: var(--is-text-muted, #555); font-size: 0.8rem; }
@media (max-width: 640px) { .entity-index__list, .facet-index__list { columns: 1; } }

/* ── Museum page (old post_layouts 2 + cc_components 72), scoped to .museum-post ── */
.museum-post { padding: 0; }
.museum-hero { position: relative; height: 60vh; min-height: 400px; max-height: 600px; background-size: cover; background-position: center; margin-bottom: 3rem; }
.museum-post .hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); padding: 3rem 0 2rem; color: white; }
.museum-post .hero-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.museum-post .hero-overlay h1 { font-size: 3rem; margin: 0 0 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5); color: white; }
.museum-post .hero-overlay .excerpt { font-size: 1.25rem; opacity: 0.95; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,0.5); color: white; }
.museum-header { padding: 4rem 0 2rem; background: var(--bg-secondary, #f9fafb); border-bottom: 1px solid var(--border-color, #e5e7eb); margin-bottom: 3rem; }
.museum-header h1 { font-size: 3rem; margin: 0 0 0.5rem; color: var(--text-primary); }
.museum-header .excerpt { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.museum-post .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.museum-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; padding: 3rem 0; }
.museum-content { min-width: 0; font-size: 1.125rem; line-height: 1.8; }
.museum-content h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; color: var(--text-primary, #1e293b); border-bottom: 2px solid var(--border-color, #e5e7eb); padding-bottom: 0.5rem; }
.museum-content h3 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--text-primary, #1e293b); }
.museum-content p { margin-bottom: 1rem; }
.museum-content ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.museum-content li { margin-bottom: 0.75rem; line-height: 1.8; }
.museum-content a { color: var(--color-primary, #3b82f6); text-decoration: none; font-weight: 500; }
.museum-content a:hover { text-decoration: underline; }
.museum-sidebar { position: sticky; top: 2rem; height: fit-content; }
.info-card { background: var(--bg-secondary, #f9fafb); border-radius: 12px; padding: 2rem; border: 1px solid var(--border-color, #e5e7eb); }
.info-card h2 { font-size: 1.5rem; margin: 0 0 1.5rem; color: var(--text-primary, #1e293b); padding-bottom: 0.75rem; border-bottom: 2px solid var(--border-color, #e5e7eb); }
.info-section { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.info-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-section h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary, #64748b); margin: 0 0 0.5rem; }
.info-section p { margin: 0.25rem 0; line-height: 1.6; color: var(--text-primary, #1e293b); }
.info-section .display-text { font-size: 0.95rem; line-height: 1.6; white-space: pre-line; }
.info-section a { color: var(--color-primary, #3b82f6); text-decoration: none; }
.info-section a:hover { text-decoration: underline; }
.info-section .website-button { display: block; width: 100%; padding: 0.875rem 1.25rem; background: var(--color-primary, #3b82f6); color: white !important; text-align: center; border-radius: 8px; font-weight: 600; text-decoration: none !important; transition: background 0.2s ease; box-sizing: border-box; }
.website-button:hover { background: var(--color-primary-hover, #2563eb); }
.map-section { padding: 0; }
.museum-map { width: 100%; height: 200px; border-radius: 8px; margin-bottom: 0.75rem; z-index: 1; }
.map-link { display: block; font-size: 0.875rem; font-weight: 500; margin-top: 0.5rem; color: var(--color-primary, #3b82f6); }
.map-link:hover { text-decoration: underline; }
.museum-post .breadcrumb { font-size: .85rem; opacity: .8; margin-bottom: .5rem; }
.museum-post .breadcrumb a { color: inherit; text-decoration: none; }
.museum-post .breadcrumb a:hover { text-decoration: underline; }
.museum-post .breadcrumb .sep { margin: 0 .4rem; opacity: .6; }
@media (max-width: 968px) {
  .museum-layout { grid-template-columns: 1fr; gap: 2rem; }
  .museum-sidebar { position: static; order: -1; }
  .museum-post .hero-overlay h1, .museum-header h1 { font-size: 2rem; }
}
.museum-nearby { margin: 0 0 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.museum-nearby__title { font-size: 1.5rem; font-weight: 600; margin: 0 0 1.5rem; color: #111827; }
.museum-nearby__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.museum-nearby__card { display: flex; flex-direction: column; border: 1px solid var(--ink-soft, #6B6258); border-radius: 10px; overflow: hidden; text-decoration: none; color: #111827; transition: box-shadow 0.2s, transform 0.2s; }
.museum-nearby__card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10); transform: translateY(-2px); }
.museum-nearby__img { display: block; height: 130px; background-size: cover; background-position: center; background-color: #f3f4f6; }
.museum-nearby__img--placeholder { background: linear-gradient(135deg, #e5e7eb, #f3f4f6); }
.museum-nearby__name { padding: 0.85rem 1rem; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }

/* Directory grid (search, filters, show more) */
.hub .industry-site { margin: 0 0 3rem; }
.industry-site--static .industry-site__searchbar { margin: 0 0 1.5rem; }
@media (min-width: 921px) {
  .industry-site__searchbar--1 { grid-template-columns: 1fr; max-width: 520px; }
  .industry-site__searchbar--2 { grid-template-columns: 2fr 1fr; max-width: 720px; }
}
.industry-site__more-wrap { display: flex; justify-content: center; margin: 2rem 0 0; }
.industry-site__more { font: inherit; font-weight: 600; padding: 12px 28px; border: 1.5px solid var(--ink, #1a1a1a); background: transparent; color: var(--ink, #1a1a1a); cursor: pointer; }
.industry-site__more:hover, .industry-site__more:focus-visible { background: var(--ink, #1a1a1a); color: var(--paper, #fff); }
.industry-site__more-wrap[hidden] { display: none; }


/* engine: style v7 tokens */
:where(:root) {
  --fontFamily: system-ui, -apple-system, sans-serif;
  --borderRadius: 8px;
  --primaryColor: #3B82F6;
  --secondaryColor: #8B5CF6;
}
