/**
 * Location / city landing chrome (Phase 1) — scoped so legacy .attraction pages stay intact.
 */

.mala-loc-v4c {
  --loc-ink: #141216;
  --loc-muted: #6e6875;
  --loc-border: #ece8e1;
  --loc-sand: #f4f1ec;
  --loc-red: #b80f26;
  font-family: Manrope, system-ui, sans-serif;
}

/* Clean text intro — replaces image hero banners on location pages */
.mala-loc-v4c-intro {
  background: #fff;
  border-bottom: 1px solid var(--loc-border);
  padding: 28px 0 20px;
}

.mala-loc-v4c-intro .mala-loc-v4c-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.mala-loc-v4c-intro .custom-breadcrumb,
.mala-loc-v4c-intro .mala-loc-v4c-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--loc-muted);
}

.mala-loc-v4c-intro .custom-breadcrumb a,
.mala-loc-v4c-intro .mala-loc-v4c-crumbs a,
.mala-loc-v4c-intro .custom-breadcrumb span,
.mala-loc-v4c-intro .mala-loc-v4c-crumbs span {
  color: var(--loc-muted) !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.mala-loc-v4c-intro .custom-breadcrumb a:hover,
.mala-loc-v4c-intro .mala-loc-v4c-crumbs a:hover {
  color: var(--loc-ink) !important;
}

.mala-loc-v4c-intro .mala-loc-v4c-h1 {
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 400;
  color: var(--loc-ink);
  margin: 0 0 12px;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.mala-loc-v4c-intro .mala-loc-v4c-lead {
  margin: 0 auto;
  max-width: 68ch;
  color: var(--loc-muted);
  font-size: 15.5px;
  line-height: 1.65;
  text-align: center;
}

.mala-loc-v4c .mala-loc-v4c-section {
  padding: 48px 0;
}

.mala-loc-v4c .mala-loc-v4c-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.mala-loc-v4c .mala-loc-v4c-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--loc-red);
  margin: 0 0 10px;
}

.mala-loc-v4c .mala-loc-v4c-title {
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--loc-ink);
  margin: 0 0 16px;
  line-height: 1.2;
}

/* Detail: image + prose */
.mala-loc-v4c .mala-loc-v4c-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.mala-loc-v4c .mala-loc-v4c-detail__media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--loc-sand);
  box-shadow: 0 16px 40px rgba(20, 18, 22, 0.08);
}

.mala-loc-v4c .mala-loc-v4c-detail__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mala-loc-v4c .mala-loc-v4c-prose {
  color: var(--loc-muted);
  font-size: 15px;
  line-height: 1.7;
}

.mala-loc-v4c .mala-loc-v4c-prose h2,
.mala-loc-v4c .mala-loc-v4c-prose h3,
.mala-loc-v4c .mala-loc-v4c-prose h4 {
  font-family: Marcellus, Georgia, serif;
  color: var(--loc-ink);
  font-weight: 400;
  margin: 1.25em 0 0.5em;
}

.mala-loc-v4c .mala-loc-v4c-prose p {
  margin: 0 0 1em;
}

.mala-loc-v4c .mala-loc-v4c-prose a {
  color: var(--loc-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mala-loc-v4c .mala-loc-v4c-prose.is-collapsed {
  max-height: 22rem;
  overflow: hidden;
  position: relative;
}

.mala-loc-v4c .mala-loc-v4c-prose.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}

.mala-loc-v4c .mala-loc-v4c-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--loc-border);
  background: #fff;
  color: var(--loc-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.mala-loc-v4c .mala-loc-v4c-more:hover {
  border-color: var(--loc-ink);
}

/* Why choose */
.mala-loc-v4c .mala-loc-v4c-why {
  background: var(--loc-sand);
}

.mala-loc-v4c .mala-loc-v4c-why .mala-loc-v4c-prose.is-collapsed::after {
  background: linear-gradient(180deg, rgba(244, 241, 236, 0), var(--loc-sand) 85%);
}

/* Related hubs */
.mala-loc-v4c .mala-loc-v4c-related {
  border-top: 1px solid var(--loc-border);
  border-bottom: 1px solid var(--loc-border);
  background: #fff;
}

.mala-loc-v4c .mala-loc-v4c-related__lead {
  color: var(--loc-muted);
  font-size: 14px;
  margin: 0 0 16px;
  max-width: 60ch;
}

/* Pills (replace grey shadow buttons) */
.mala-loc-v4c .mala-loc-v4c-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mala-loc-v4c .mala-loc-v4c-pill,
.mala-loc-v4c .mala-loc-v4c-pills a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--loc-border);
  background: #fff;
  color: var(--loc-ink) !important;
  font-size: 13px;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.mala-loc-v4c .mala-loc-v4c-pill:hover,
.mala-loc-v4c .mala-loc-v4c-pills a:hover {
  border-color: var(--loc-ink);
  background: var(--loc-ink);
  color: #fff !important;
}

.mala-loc-v4c .mala-loc-v4c-pill--accent,
.mala-loc-v4c .mala-loc-v4c-pills a.mala-loc-v4c-pill--accent {
  border-color: var(--loc-red);
  color: var(--loc-red) !important;
}

.mala-loc-v4c .mala-loc-v4c-pill--accent:hover,
.mala-loc-v4c .mala-loc-v4c-pills a.mala-loc-v4c-pill--accent:hover {
  background: var(--loc-red);
  border-color: var(--loc-red);
  color: #fff !important;
}

.mala-loc-v4c .mala-loc-v4c-block + .mala-loc-v4c-block {
  margin-top: 36px;
}

/* Phase 2 — sports-style why / guide / FAQ cards */
.mala-loc-v4c .mala-loc-v4c-why-grid,
.mala-loc-v4c .mala-loc-v4c-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mala-loc-v4c .mala-loc-v4c-why-card,
.mala-loc-v4c .mala-loc-v4c-guide-card {
  background: #fff;
  border: 1px solid var(--loc-border);
  border-radius: 14px;
  padding: 20px 22px;
}

.mala-loc-v4c .mala-loc-v4c-why-card h3,
.mala-loc-v4c .mala-loc-v4c-guide-card h3 {
  font-family: Marcellus, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--loc-ink);
  margin: 0 0 8px;
  line-height: 1.3;
}

.mala-loc-v4c .mala-loc-v4c-why-card p,
.mala-loc-v4c .mala-loc-v4c-guide-card p {
  margin: 0;
  color: var(--loc-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.mala-loc-v4c .mala-loc-v4c-guide-card a {
  color: var(--loc-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mala-loc-v4c .mala-loc-v4c-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Revert CSS resets that force details { display:block } and break expand/collapse */
.mala-loc-v4c .mala-loc-v4c-faq-item {
  display: revert !important;
  background: #fff;
  border: 1px solid var(--loc-border);
  border-radius: 12px;
  padding: 16px 20px;
}

.mala-loc-v4c .mala-loc-v4c-faq-item:not([open]) > *:not(summary) {
  display: none !important;
}

.mala-loc-v4c .mala-loc-v4c-faq-item[open] > *:not(summary) {
  display: block !important;
}

.mala-loc-v4c .mala-loc-v4c-faq-item summary {
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--loc-ink) !important;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.45;
  font-family: Manrope, Montserrat, system-ui, sans-serif !important;
  pointer-events: auto !important;
}

.mala-loc-v4c .mala-loc-v4c-faq-item summary::-webkit-details-marker {
  display: none;
}

.mala-loc-v4c .mala-loc-v4c-faq-item summary::after {
  content: "+";
  color: var(--loc-red);
  font-size: 18px;
  font-weight: 500 !important;
  flex-shrink: 0;
}

.mala-loc-v4c .mala-loc-v4c-faq-item[open] summary::after {
  content: "−";
}

.mala-loc-v4c .mala-loc-v4c-faq-item p,
.mala-loc-v4c .mala-loc-v4c-faq-a {
  margin: 10px 0 0;
  color: var(--loc-muted);
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1.65;
}

.mala-loc-v4c .mala-loc-v4c-faq-a p {
  margin: 0 0 8px;
  font-weight: 400 !important;
}

.mala-loc-v4c .mala-loc-v4c-faq-a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .mala-loc-v4c .mala-loc-v4c-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mala-loc-v4c .mala-loc-v4c-section {
    padding: 36px 0;
  }

  .mala-loc-v4c .mala-loc-v4c-why-grid,
  .mala-loc-v4c .mala-loc-v4c-guide-grid {
    grid-template-columns: 1fr;
  }
}
