/* Homepage sections below the hero (Notion-style design, Owner-approved demo 2026-11): the Explore section, the Events and
   Marketplace blocks, "You stay in control" and the closing band. Loaded after home.css (extra_css2), which defines the --n-* tokens.
   Quiet tinted surfaces, 1 px lines, no glow and no animation. The tone colours of the Explore cards are only used for their icons (darker set in the light theme, >= 3:1). */
:root, :root[data-theme="dark"] { --ex-blue: #3D8BFF; --ex-magenta: #FF3DB4; --ex-green: #2FE38F; --ex-gold: #FFC23D; --ex-cyan: #2CC9FF; --ex-purple: #A46BFF; }
:root[data-theme="light"] { --ex-blue: #1450C4; --ex-magenta: #B01C7E; --ex-green: #0B7A4A; --ex-gold: #8A5A00; --ex-cyan: #0A6A9C; --ex-purple: #5B3FD1; }

/* blocks */
.n-blk { padding-block: 72px 0; }
.n-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) { .n-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } .n-flip .n-txt { order: 2; } }
.n-blk h2 { font-size: clamp(1.9rem, 5.6vw, 3.8rem); font-weight: 700; }
.n-txt { min-width: 0; }
.n-txt p { margin-top: 16px; max-width: 46ch; color: var(--n-muted); font-size: clamp(17px, 1.3vw, 21px); }
.n-txt .n-small { font-size: 15px; margin-top: 10px; }
.n-act { margin-top: 22px; }
.n-ctl { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.n-ctl li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--n-bg); border: 1px solid var(--n-line); }
.n-ctl svg { flex: none; margin-top: 3px; color: var(--n-tick); }

/* closing band */
.n-band { margin-top: 80px; padding-block: 84px; text-align: center; background: var(--n-band); color: var(--n-band-text); }
.n-band h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2rem, 7vw, 4.6rem); font-weight: 700; }
.n-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.home .n-band .btn-primary { background: var(--n-band-btn); color: var(--n-band-btn-text); }
.home .n-soft { background: var(--n-band-soft); color: var(--n-band-text); border-color: transparent; }
.home .n-soft:hover { color: var(--n-band-text); filter: brightness(1.15); }
.home .n-band :focus-visible { outline-color: var(--n-band-btn); }
.n-fine { margin-top: 14px; font-size: 14px; color: var(--n-band-muted); }
html[data-member] .n-band { display: none; }

/* Explore (real destinations; Stories and Jobs stay "Coming soon") */
.explore { padding: 72px 0 0; }
.explore h2 { font-size: clamp(1.9rem, 5.6vw, 3.8rem); font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
.explore-sub { margin-top: 14px; max-width: 60ch; color: var(--n-muted); font-size: clamp(17px, 1.3vw, 21px); }
.explore-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ex-card { --ex: var(--ex-blue); container-type: inline-size; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--n-soft); border: 1px solid var(--n-line); box-shadow: var(--n-shadow); transition: transform .2s ease, border-color .2s ease; }
.ex-tile { display: flex; align-items: center; justify-content: center; height: 150px; color: var(--ex); background: color-mix(in srgb, var(--ex) 14%, var(--n-soft)); border-bottom: 1px solid var(--n-line); }
.ex-big { width: 64px; height: 64px; }
.n-tile { height: auto; min-height: 220px; border: 1px solid var(--n-line); border-radius: 16px; }
.ex-blue { --ex: var(--ex-blue); } .ex-magenta { --ex: var(--ex-magenta); } .ex-green { --ex: var(--ex-green); } .ex-gold { --ex: var(--ex-gold); } .ex-cyan { --ex: var(--ex-cyan); } .ex-purple { --ex: var(--ex-purple); }
.ex-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 10px; align-content: start; padding: 12px 14px 14px; }
.ex-act { justify-self: end; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; min-width: 0; }
@container (min-width: 280px) { .ex-body { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .ex-act { margin-top: 0; } }
.ex-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 18px; overflow-wrap: break-word; min-width: 0; }
.ex-ic { flex: none; color: var(--ex); }
.ex-title span { min-width: 0; overflow-wrap: anywhere; }
.ex-text { min-width: 0; font-size: 15px; line-height: 1.45; color: var(--n-muted); overflow-wrap: break-word; }
.ex-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--n-line-strong); color: var(--n-text); text-decoration: none; }
.ex-go:hover { color: var(--n-text); }
.ex-go::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the click target */
.ex-card:hover { transform: translateY(-2px); border-color: var(--n-line-strong); }
.ex-card:hover .ex-go { background: var(--n-soft-accent); border-color: var(--n-accent); }
.ex-card:has(.ex-go:focus-visible) { outline: 3px solid var(--n-accent); outline-offset: 3px; }
.ex-go:focus-visible { outline-offset: 2px; }
@container (max-width: 230px) { .ex-title { font-size: 16px; } .ex-text { font-size: 14px; } }
@container (max-width: 200px) { .ex-title { font-size: 15px; gap: 0; } .ex-ic { display: none; } }   /* 200% zoom on a phone: drop the decorative icon so the whole word fits */
@media (max-width: 240px) { .explore h2 { font-size: 20px; } .explore-sub { font-size: 15px; } }
@media (max-width: 360px) { .ex-body { padding: 10px; } .ex-title { gap: 6px; } .ex-ic { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .ex-card { transition: none; } .ex-card:hover { transform: none; } }
