/* =============================================================================
   Kurey – template.css
   A light, Kuoni-inspired design system for Joomla 5/6 travel sites.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header & nav · 5 Hero & page heads
             6 Buttons & icons · 7 Cards & grids · 8 Content (prose) · 9 Travel
             components · 10 Modules & chromes · 11 Footer · 12 Core Joomla bits
             13 Utilities · 14 Print
   Override tokens in :root from the template parameters (inline) or user.css.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --k-accent: #FFD00D;
  --k-accent-ink: #1A1A1A;
  --k-accent-soft: #FFE186;
  --k-ink: #1A1A1A;
  --k-ink-2: #37424A;
  --k-muted: #6C7175;
  --k-line: #D3D4D5;
  --k-line-soft: #E8E9EA;
  --k-bg-soft: #F7F7F7;
  --k-cream: #FDF8F3;
  --k-link: #992525;
  --k-white: #FFFFFF;
  --k-success: #1F7A4D;
  --k-danger: #B3261E;

  --k-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --k-container: 1320px;
  --k-gutter: clamp(16px, 4vw, 40px);
  --k-radius: 12px;
  --k-radius-sm: 8px;
  --k-radius-pill: 999px;
  --k-shadow-sm: 0 1px 2px rgba(26, 26, 26, .06), 0 2px 8px rgba(26, 26, 26, .05);
  --k-shadow: 0 10px 30px rgba(26, 26, 26, .12);
  --k-header-h: 72px;
  --k-logo-h: 40px;

  --k-fs-xs: .75rem;
  --k-fs-sm: .875rem;
  --k-fs-base: 1rem;
  --k-fs-md: 1.125rem;
  --k-fs-lg: 1.25rem;
  --k-fs-xl: 1.5rem;
  --k-fs-2xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --k-fs-display: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  --k-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--k-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--k-font);
  font-size: var(--k-fs-base);
  line-height: 1.6;
  color: var(--k-ink);
  background: var(--k-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: inline-block; vertical-align: middle; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--k-ink);
  overflow-wrap: anywhere;
}
h1 { font-size: var(--k-fs-2xl); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: var(--k-fs-lg); }
h4 { font-size: var(--k-fs-md); }
h5, h6 { font-size: var(--k-fs-base); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; transition: color .15s var(--k-ease); }
a:hover { color: var(--k-link); }
:focus-visible { outline: 3px solid var(--k-accent); outline-offset: 2px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--k-line); margin: 2.5rem 0; }
small { font-size: var(--k-fs-sm); }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
::selection { background: var(--k-accent); color: var(--k-accent-ink); }

.k-skip { position: absolute; left: 8px; top: -100px; z-index: 1000; padding: 10px 14px; background: var(--k-ink); color: #fff; border-radius: var(--k-radius-sm); }
.k-skip:focus { top: 8px; }

/* 3. Layout ---------------------------------------------------------------- */
.k-container { width: min(100% - 2 * var(--k-gutter), var(--k-container)); margin-inline: auto; }
.k-container--narrow { max-width: 860px; }
.k-main { display: grid; gap: 40px; padding-block: 24px 72px; flex: 1 0 auto; align-items: start; }
.k-main__content { min-width: 0; }
@media (min-width: 1024px) {
  .k-main--sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
  .k-sidebar__inner { position: sticky; top: calc(var(--k-header-h) + 16px); }
}
@media (min-width: 1280px) { .k-main--sidebar { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } }
.k-section { padding-block: clamp(40px, 6vw, 80px); }
.k-section--tight { padding-block: clamp(24px, 4vw, 48px); }
.k-section--cream { background: var(--k-cream); }
.k-section--soft { background: var(--k-bg-soft); }
.k-section--dark { background: var(--k-ink); color: #fff; }
.k-section--dark :is(h1, h2, h3, h4) { color: #fff; }
.k-section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(28px, 4vw, 48px); }
.k-section__head .k-eyebrow { margin-bottom: 10px; }
.k-section__head h2, .k-section__title { font-size: var(--k-fs-2xl); text-transform: uppercase; letter-spacing: -.01em; font-weight: 800; margin-bottom: .35em; }
.k-section__head p { color: var(--k-ink-2); font-size: var(--k-fs-md); margin: 0; }
.k-section__head--left { text-align: left; margin-inline: 0; }
.k-section__more { text-align: center; margin-top: 32px; }

/* 4. Header & navigation --------------------------------------------------- */
.k-header { position: relative; z-index: 60; background: #fff; border-bottom: 1px solid var(--k-line-soft); }
.sticky-header .k-header { position: sticky; top: 0; transition: box-shadow .2s var(--k-ease); }
.sticky-header .k-header.is-scrolled { box-shadow: var(--k-shadow-sm); }
.k-topbar { background: var(--k-ink); color: #fff; font-size: var(--k-fs-sm); }
.k-topbar .k-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.k-topbar a { color: #fff; text-decoration: none; }
.k-topbar a:hover { color: var(--k-accent); }
.k-topbar p { margin: 0; }
.k-header__bar { display: flex; align-items: center; gap: 16px; min-height: var(--k-header-h); }
@media (min-width: 1280px) { .k-header__bar { gap: 24px; } }
.k-brand { display: inline-flex; flex-direction: column; justify-content: center; text-decoration: none; color: var(--k-ink); flex: none; line-height: 1; }
.k-brand:hover { color: var(--k-ink); }
.k-brand__img { height: var(--k-logo-h); width: auto; max-width: min(50vw, 260px); object-fit: contain; }
.k-brand__text { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
@media (min-width: 640px) { .k-brand__text { font-size: 1.375rem; } }
.k-brand__tagline { display: none; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--k-muted); margin-top: 4px; }
@media (min-width: 1400px) { .k-brand__tagline { display: block; } }

.k-nav { display: none; flex: 1 1 auto; min-width: 0; }
@media (min-width: 1024px) { .k-nav { display: block; } }
.k-nav > ul, .k-nav > div > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.k-nav li { position: relative; }
.k-nav li > a, .k-nav li > span, .k-nav li > .separator { display: inline-flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: var(--k-radius-sm); font-weight: 700; font-size: .875rem; text-decoration: none; color: var(--k-ink); white-space: nowrap; }
@media (min-width: 1440px) { .k-nav li > a, .k-nav li > span { font-size: .9375rem; padding: 10px 12px; } }
@media (min-width: 1024px) and (max-width: 1439px) { .k-phone__note { display: none; } .k-phone__number { font-size: 1rem; } .k-header__cta .k-btn, .k-header__cta.k-btn { padding: .7em .9em; font-size: .8125rem; } }
.k-nav li > a:hover, .k-nav li.active > a, .k-nav li.is-open > a { background: var(--k-bg-soft); color: var(--k-ink); }
.k-nav li.active > a { box-shadow: inset 0 -2px 0 var(--k-accent); border-radius: var(--k-radius-sm) var(--k-radius-sm) 0 0; }
.k-nav li.parent > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; margin-left: 2px; }
.k-nav li.parent > ul { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--k-line-soft); border-radius: var(--k-radius); box-shadow: var(--k-shadow); z-index: 70; }
.k-nav li.parent > ul::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.k-nav li.parent:hover > ul, .k-nav li.parent:focus-within > ul, .k-nav li.parent.is-open > ul { display: flex; }
.k-nav li.parent > ul li { width: 100%; }
.k-nav li.parent > ul a, .k-nav li.parent > ul span { display: flex; width: 100%; padding: 10px 12px; font-weight: 600; font-size: .9375rem; white-space: normal; }
.k-nav li.parent > ul .parent > a::after { transform: translateY(0) rotate(-45deg); margin-left: auto; }
.k-nav li.parent > ul .parent > ul { top: -8px; left: 100%; }
.k-nav .nav-header, .k-nav li > span { color: var(--k-muted); font-size: var(--k-fs-xs); text-transform: uppercase; letter-spacing: .1em; }
.k-nav .mod-menu__heading { cursor: default; }

.k-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
@media (min-width: 640px) { .k-header__tools { gap: 12px; } }
.k-brand { min-width: 0; }
.k-phone { display: none; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.15; color: var(--k-ink); margin-right: 4px; }
.k-phone:hover { color: var(--k-ink); }
.k-phone__note { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); font-weight: 600; }
.k-phone__number { font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 1280px) { .k-phone { display: inline-flex; } }
.k-header__cta, .k-btn.k-header__cta { display: none; }
@media (min-width: 640px) { .k-header__cta, .k-btn.k-header__cta { display: inline-flex; } }
.k-header__cta .k-btn, .k-header__cta.k-btn { padding: .75em 1.1em; font-size: .875rem; line-height: 1.15; text-align: center; max-width: 180px; }
.k-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: var(--k-radius-pill); background: transparent; cursor: pointer; color: var(--k-ink); transition: background .15s; }
.k-iconbtn:hover { background: var(--k-bg-soft); }
.k-iconbtn .k-icon { width: 24px; height: 24px; }
.k-nav-toggle__close { display: none; }
.k-nav-toggle[aria-expanded="true"] .k-nav-toggle__open { display: none; }
.k-nav-toggle[aria-expanded="true"] .k-nav-toggle__close { display: block; }
@media (min-width: 1024px) { .k-nav-toggle { display: none; } }

.k-search { border-top: 1px solid var(--k-line-soft); background: #fff; padding: 16px 0; }
.k-search form { display: flex; gap: 10px; max-width: 760px; margin-inline: auto; }
.k-search input[type="search"], .k-search input[type="text"] { flex: 1 1 auto; height: 50px; }
.k-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Off-canvas menu (mobile) */
.k-offcanvas { position: fixed; inset: 0; z-index: 100; }
.k-offcanvas[hidden] { display: none; }
.k-offcanvas__backdrop { position: absolute; inset: 0; border: 0; background: rgba(26, 26, 26, .55); cursor: pointer; animation: k-fade .2s var(--k-ease); }
.k-offcanvas__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px); background: #fff; padding: calc(var(--k-header-h) + 8px) 20px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; animation: k-slide .25s var(--k-ease); box-shadow: var(--k-shadow); }
@keyframes k-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes k-fade { from { opacity: 0; } to { opacity: 1; } }
body.k-nav-open { overflow: hidden; }
body.k-nav-open .k-header { z-index: 110; }
.k-offcanvas__nav ul { list-style: none; margin: 0; padding: 0; }
.k-offcanvas__nav li { border-bottom: 1px solid var(--k-line-soft); }
.k-offcanvas__nav a, .k-offcanvas__nav span { display: block; padding: 14px 4px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; color: var(--k-ink); }
.k-offcanvas__nav li li { border: 0; }
.k-offcanvas__nav li li a, .k-offcanvas__nav li li span { padding: 9px 4px 9px 18px; font-weight: 500; font-size: 1rem; color: var(--k-ink-2); }
.k-offcanvas__nav li.active > a { color: var(--k-link); }
.k-offcanvas__phone, .k-offcanvas .k-btn { justify-content: center; }
.k-offcanvas__modules { margin-top: 8px; font-size: var(--k-fs-sm); color: var(--k-ink-2); }

/* 5. Hero & page heads ----------------------------------------------------- */
.k-hero-slot { margin-top: 8px; }
.k-hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(380px, 58vh, 640px); color: #fff; overflow: hidden; background: var(--k-ink); margin: 8px 0 0; }
.hero-inset .k-hero, .hero-inset .k-hero-slot > * { margin-inline: var(--k-gutter); border-radius: var(--k-radius); }
.hero-inset .k-hero { max-width: calc(var(--k-container) + 240px); }
@media (min-width: calc(1320px + 320px)) { .hero-inset .k-hero { margin-inline: auto; } }
.hero-full .k-hero { margin: 0; border-radius: 0; }
.k-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.k-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, .25) 55%, rgba(10, 10, 10, .15) 100%); }
.k-hero__body { position: relative; text-align: center; padding: clamp(40px, 7vw, 96px) var(--k-gutter); max-width: 960px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.k-hero__eyebrow { margin: 0; font-size: var(--k-fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #fff; opacity: .95; }
.k-hero__eyebrow a { color: #fff; text-decoration: none; }
.k-hero__eyebrow a:hover { color: var(--k-accent); }
.k-hero__title { margin: 0; font-size: var(--k-fs-display); line-height: .98; letter-spacing: -.015em; font-weight: 800; text-transform: uppercase; color: var(--k-accent); text-wrap: balance; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.k-hero__lead { margin: 0; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 500; max-width: 60ch; color: #fff; text-wrap: pretty; }
.k-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.k-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: var(--k-fs-sm); font-weight: 600; margin-top: 4px; }
.k-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.k-hero__meta .k-icon { width: 18px; height: 18px; }
.k-hero--compact { min-height: clamp(280px, 42vh, 460px); }
.k-hero--compact .k-hero__title { font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.25rem); }
.k-hero--left .k-hero__body { text-align: left; align-items: flex-start; justify-self: start; }
.k-hero--left .k-hero__actions, .k-hero--left .k-hero__meta { justify-content: flex-start; }
.k-hero--plain { background: var(--k-cream); color: var(--k-ink); min-height: 0; }
.k-hero--plain::before { display: none; }
.k-hero--plain .k-hero__title { color: var(--k-ink); text-shadow: none; }
.k-hero--plain .k-hero__eyebrow, .k-hero--plain .k-hero__lead, .k-hero--plain .k-hero__eyebrow a { color: var(--k-ink-2); }
.k-hero__search { width: min(100%, 720px); margin-top: 18px; }
.k-hero__search form { display: flex; gap: 8px; background: #fff; border-radius: var(--k-radius); padding: 8px; box-shadow: var(--k-shadow); }
.k-hero__search input { flex: 1; border: 0; height: 48px; font-size: 1rem; background: transparent; }
.k-hero__search input:focus { outline: none; }

/* Page head without image, and the in-page eyebrow trail */
.k-pagehead { padding: 28px 0 8px; }
.k-pagehead h1 { margin-bottom: .35em; }
.k-eyebrow { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 12px; font-size: var(--k-fs-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--k-muted); }
.k-eyebrow a { text-decoration: none; color: var(--k-ink-2); }
.k-eyebrow a:hover { color: var(--k-link); }
.k-eyebrow li, .k-eyebrow ol { list-style: none; margin: 0; padding: 0; display: contents; }
.k-eyebrow li + li::before { content: "•"; margin-right: 10px; color: var(--k-line); }
.k-lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--k-ink-2); font-weight: 500; }
.k-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--k-muted); font-size: var(--k-fs-sm); margin: 0 0 20px; }
.k-meta span { display: inline-flex; align-items: center; gap: 6px; }
.k-meta .k-icon { width: 16px; height: 16px; }

/* Tour head: text left, image right */
.k-tourhead { display: grid; gap: 28px; align-items: center; padding: 28px 0 8px; }
@media (min-width: 900px) { .k-tourhead { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding-top: 40px; } }
.k-tourhead h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); text-transform: uppercase; font-weight: 800; letter-spacing: -.015em; }
.k-tourhead__media { position: relative; border-radius: var(--k-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--k-bg-soft); }
.k-tourhead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k-tourhead__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: var(--k-fs-xs); color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent); }
.k-tourhead__rating { display: inline-flex; align-items: center; gap: 8px; font-size: var(--k-fs-sm); color: var(--k-ink-2); margin-top: 6px; }

/* 6. Buttons & icons ------------------------------------------------------- */
.k-btn, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border: 2px solid transparent; border-radius: var(--k-radius-sm); font-weight: 700; font-size: .9375rem; line-height: 1.2; text-decoration: none; cursor: pointer; background: var(--k-bg-soft); color: var(--k-ink); transition: background .15s var(--k-ease), color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.k-btn:hover, .btn:hover { color: var(--k-ink); background: var(--k-line-soft); }
.k-btn:active { transform: translateY(1px); }
.k-btn .k-icon { width: 1.2em; height: 1.2em; }
.k-btn--primary, .btn-primary, .k-btn--accent { background: var(--k-accent); color: var(--k-accent-ink); border-color: var(--k-accent); }
.k-btn--primary:hover, .btn-primary:hover { background: color-mix(in srgb, var(--k-accent) 86%, black); border-color: color-mix(in srgb, var(--k-accent) 86%, black); color: var(--k-accent-ink); }
.k-btn--dark, .btn-secondary, .btn-dark { background: var(--k-ink); color: #fff; border-color: var(--k-ink); }
.k-btn--dark:hover, .btn-secondary:hover { background: #000; color: #fff; }
.k-btn--outline, .btn-outline-primary, .btn-outline-secondary { background: transparent; border-color: var(--k-ink); color: var(--k-ink); }
.k-btn--outline:hover { background: var(--k-ink); color: #fff; }
.k-btn--white { background: #fff; color: var(--k-ink); border-color: #fff; }
.k-btn--white:hover { background: var(--k-cream); }
.k-btn--glass { background: rgba(26, 26, 26, .55); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.k-btn--glass:hover { background: rgba(26, 26, 26, .75); color: #fff; }
.k-btn--ghost, .btn-link { background: transparent; border-color: transparent; padding-inline: .4em; text-decoration: underline; text-underline-offset: .2em; }
.k-btn--ghost:hover { background: transparent; color: var(--k-link); }
.k-btn--link { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: none; color: var(--k-ink); }
.k-btn--link::after { content: "→"; transition: transform .15s; }
.k-btn--link:hover::after { transform: translateX(3px); }
.k-btn--sm, .btn-sm { padding: .55em 1em; font-size: .8125rem; }
.k-btn--lg, .btn-lg { padding: 1em 1.7em; font-size: 1.0625rem; }
.k-btn--pill { border-radius: var(--k-radius-pill); }
.k-btn--block { display: flex; width: 100%; }
.k-btn[disabled], .btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.k-icon { width: 1em; height: 1em; flex: none; vertical-align: -.15em; }
.k-stars { display: inline-flex; gap: 2px; color: var(--k-accent); }
.k-stars .k-icon { width: 16px; height: 16px; }
.k-stars .is-half { opacity: .55; }
.k-stars .is-empty { opacity: .22; }
.k-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--k-link); color: #fff; line-height: 1.3; }
.k-badge--accent { background: var(--k-accent); color: var(--k-accent-ink); }
.k-badge--soft { background: var(--k-cream); color: var(--k-ink); }
.k-badge--outline { background: transparent; border: 1px solid var(--k-line); color: var(--k-ink-2); }

/* 7. Cards & grids --------------------------------------------------------- */
.k-grid { display: grid; gap: 24px; }
.k-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.k-cards--2, .k-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
@media (min-width: 900px) {
  .k-cards--2, .k-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-cards--3, .k-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .k-cards--4, .k-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1099px) { .k-cards--4, .k-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.k-cards--scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.k-cards--scroll > * { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }

.k-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--k-line-soft); border-radius: var(--k-radius); overflow: hidden; transition: transform .25s var(--k-ease), box-shadow .25s var(--k-ease); }
.k-card:hover { transform: translateY(-3px); box-shadow: var(--k-shadow); }
.k-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--k-bg-soft); }
.k-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--k-ease); }
.k-card:hover .k-card__media img { transform: scale(1.04); }
.k-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.k-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1 1 auto; }
.k-card__eyebrow { margin: 0; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--k-muted); }
.k-card__title { margin: 0; font-size: 1.125rem; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; }
.k-card__title a { text-decoration: none; color: var(--k-ink); }
.k-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.k-card__title a:hover { color: var(--k-ink); }
.k-card__text { margin: 0; font-size: .9375rem; color: var(--k-ink-2); }
.k-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--k-fs-xs); color: var(--k-muted); font-weight: 600; }
.k-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.k-card__meta .k-icon { width: 14px; height: 14px; }
.k-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--k-line-soft); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.k-price { display: flex; flex-direction: column; line-height: 1.15; }
.k-price__from { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--k-muted); font-weight: 700; }
.k-price__value { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.k-price__unit { font-size: var(--k-fs-xs); color: var(--k-muted); font-weight: 600; }
.k-card__foot .k-btn { position: relative; z-index: 2; }
.k-card--row { flex-direction: row; }
.k-card--row .k-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 160px; }
@media (max-width: 639px) { .k-card--row { flex-direction: column; } .k-card--row .k-card__media { aspect-ratio: 3 / 2; } }
.k-card--plain { border: 0; border-radius: 0; background: transparent; }
.k-card--plain:hover { box-shadow: none; transform: none; }
.k-card--plain .k-card__media { border-radius: var(--k-radius); }
.k-card--plain .k-card__body { padding: 14px 0 0; }

/* Overlay tiles (holiday types / destinations) */
.k-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--k-radius); overflow: hidden; background: var(--k-ink); color: #fff; text-decoration: none; isolation: isolate; }
.k-tile--tall { aspect-ratio: 3 / 4; }
.k-tile--wide { aspect-ratio: 21 / 9; }
.k-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--k-ease); }
.k-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1) 60%); transition: background .3s; }
.k-tile:hover img { transform: scale(1.05); }
.k-tile:hover { color: #fff; }
.k-tile__body { position: absolute; inset: auto 0 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.k-tile--center .k-tile__body { inset: 0; align-items: center; justify-content: center; text-align: center; }
.k-tile__eyebrow { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .9; }
.k-tile__title { margin: 0; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.k-tile__text { margin: 0; font-size: var(--k-fs-sm); opacity: .9; }

/* Simple link lists (sidebar / footer) */
.k-links { list-style: none; margin: 0; padding: 0; }
.k-links li { border-bottom: 1px solid var(--k-line-soft); }
.k-links li:last-child { border-bottom: 0; }
.k-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; font-weight: 500; }
.k-links a::after { content: "→"; color: var(--k-line); transition: transform .15s, color .15s; }
.k-links a:hover::after { transform: translateX(3px); color: var(--k-link); }

/* 8. Content (prose) ------------------------------------------------------- */
.k-prose { font-size: 1.0625rem; line-height: 1.7; color: var(--k-ink); overflow-wrap: anywhere; }
.k-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.k-prose > :last-child { margin-bottom: 0; }
.k-prose h2 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); margin-top: 2em; margin-bottom: .6em; }
.k-prose h3 { font-size: 1.25rem; margin-top: 1.7em; margin-bottom: .5em; }
.k-prose h4 { font-size: 1.0625rem; margin-top: 1.4em; margin-bottom: .4em; }
.k-prose h5, .k-prose h6 { font-size: 1rem; margin-top: 1.2em; text-transform: uppercase; letter-spacing: .06em; color: var(--k-ink-2); }
.k-prose > h2:first-child, .k-prose > h3:first-child { margin-top: 0; }
.k-prose a { color: var(--k-link); text-decoration-color: color-mix(in srgb, var(--k-link) 40%, transparent); font-weight: 500; }
.k-prose a:hover { text-decoration-color: currentColor; }
.k-prose ul, .k-prose ol { padding-left: 1.35em; }
.k-prose li { margin-bottom: .45em; }
.k-prose li::marker { color: var(--k-muted); }
.k-prose img { border-radius: var(--k-radius); }
.k-prose img[align="left"], .k-prose img.float-left { float: left; margin: 4px 24px 12px 0; max-width: 45%; }
.k-prose img[align="right"], .k-prose img.float-right { float: right; margin: 4px 0 12px 24px; max-width: 45%; }
.k-prose figure { margin: 1.5em 0; }
.k-prose figcaption { font-size: var(--k-fs-sm); color: var(--k-muted); margin-top: 8px; text-align: center; }
.k-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--k-accent); font-size: 1.125rem; color: var(--k-ink-2); font-style: italic; }
.k-prose blockquote p:last-child { margin-bottom: 0; }
.k-prose iframe { width: 100%; border: 0; border-radius: var(--k-radius); aspect-ratio: 16 / 9; height: auto; }
.k-prose iframe[src*="google.com/maps"] { aspect-ratio: 16 / 7; }
.k-prose table, .k-table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 1.4em 0; }
.k-prose th, .k-prose td, .k-table th, .k-table td { padding: 10px 14px; border-bottom: 1px solid var(--k-line-soft); text-align: left; vertical-align: top; }
.k-prose th, .k-table th { background: var(--k-bg-soft); font-size: var(--k-fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--k-ink-2); }
.k-prose tr:last-child td { border-bottom: 0; }
.k-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; }
.k-table-wrap table { margin: 0; }
.k-prose .k-lead { font-size: 1.1875rem; }
.k-prose hr { margin: 2.5em 0; }
.k-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--k-bg-soft); padding: 2px 6px; border-radius: 4px; }
.k-prose .k-cards, .k-prose .k-grid, .k-prose .k-prices { margin-block: 1.6em; }
.k-prose .k-card__text, .k-prose .k-card__title, .k-prose .k-card__eyebrow { margin: 0; }
.k-prose .k-card li { margin: 0; }

/* Article wrapper */
.k-article { padding-top: 8px; }
.k-article__body { margin-top: 24px; }
.k-article__foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--k-line-soft); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: var(--k-fs-sm); color: var(--k-muted); }
.k-article__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.k-article__tags a { display: inline-block; padding: 4px 12px; border-radius: var(--k-radius-pill); border: 1px solid var(--k-line); text-decoration: none; font-size: var(--k-fs-xs); font-weight: 600; }
.k-article__tags a:hover { border-color: var(--k-ink); color: var(--k-ink); }
.k-article .k-prose { max-width: 78ch; }
.no-sidebar .k-article .k-prose, .no-sidebar .k-article__body { max-width: 78ch; margin-inline: auto; }
.no-sidebar .k-article.k-article--wide .k-prose, .no-sidebar .k-article--wide .k-article__body { max-width: none; }
.k-prose--wide, .k-article--wide .k-prose { max-width: none; }

/* 9. Travel components ----------------------------------------------------- */

/* Icon facts (tour type, duration, best for…) */
.k-facts { display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding: 22px 0; border-top: 1px solid var(--k-line-soft); border-bottom: 1px solid var(--k-line-soft); margin: 22px 0 30px; list-style: none; }
.k-facts--box { padding: 24px; border: 0; background: var(--k-cream); border-radius: var(--k-radius); }
.k-fact { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.k-fact__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--k-cream); color: var(--k-ink); }
.k-facts--box .k-fact__icon { background: #fff; }
.k-fact__icon .k-icon { width: 22px; height: 22px; }
.k-fact__label { display: block; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--k-muted); margin-bottom: 2px; }
.k-fact__value { display: block; font-weight: 600; line-height: 1.35; font-size: .9375rem; }
.k-fact__value small { display: block; font-weight: 400; color: var(--k-ink-2); font-size: var(--k-fs-sm); }

/* Sticky enquiry panel */
.k-panel { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: 22px 22px 20px; box-shadow: var(--k-shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.k-panel--accent { border-color: var(--k-accent); border-width: 2px; }
.k-panel__eyebrow { margin: 0; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--k-muted); }
.k-panel__price { margin: 0; font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.k-panel__price small { display: block; font-size: var(--k-fs-sm); font-weight: 500; color: var(--k-ink-2); letter-spacing: 0; margin-top: 4px; }
.k-panel__rating { display: flex; align-items: center; gap: 8px; font-size: var(--k-fs-sm); color: var(--k-ink-2); margin: 0; }
.k-panel__list { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.k-panel__list li { display: flex; gap: 10px; align-items: flex-start; }
.k-panel__list .k-icon { width: 18px; height: 18px; color: var(--k-success); margin-top: 3px; }
.k-panel .k-btn { width: 100%; }
.k-panel__phone { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; padding: 10px 0 2px; line-height: 1.2; color: var(--k-ink); }
.k-panel__phone span { font-size: var(--k-fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--k-muted); font-weight: 700; }
.k-panel__phone strong { font-size: 1.25rem; font-weight: 800; }
.k-panel__note { margin: 0; font-size: var(--k-fs-xs); color: var(--k-muted); text-align: center; }
.k-panel__organizer { margin: 0; font-size: var(--k-fs-sm); color: var(--k-ink-2); padding-top: 10px; border-top: 1px solid var(--k-line-soft); }

/* Tour page grid: content + sticky panel */
.k-tour { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .k-tour { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } .k-tour__aside { position: sticky; top: calc(var(--k-header-h) + 16px); display: flex; flex-direction: column; gap: 20px; } }
@media (min-width: 1280px) { .k-tour { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }
.k-tour__aside .k-aside { margin: 0; }

/* Accordion (details based) */
.k-accs { border-top: 1px solid var(--k-line); margin: 1.5em 0; }
.k-acc { border-bottom: 1px solid var(--k-line); }
.k-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.125rem; line-height: 1.3; color: var(--k-ink); }
.k-acc > summary::-webkit-details-marker { display: none; }
.k-acc > summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--k-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .25s var(--k-ease), background-color .2s; }
.k-acc > summary:hover::after { background-color: var(--k-accent-soft); }
.k-acc[open] > summary::after { transform: rotate(180deg); background-color: var(--k-accent); }
.k-acc__body { padding: 0 0 24px; }
.k-acc__body > :first-child { margin-top: 0; }
.k-acc__body > h2:first-child { font-size: 1.25rem; margin-bottom: .8em; }
.k-acc--sm > summary { font-size: 1rem; padding: 14px 0; }
.k-acc--sm > summary::after { width: 30px; height: 30px; background-size: 18px; }
.k-acc-controls { display: flex; justify-content: flex-end; gap: 6px; font-size: var(--k-fs-sm); margin: 1em 0 .25em; }
.k-acc-controls button { background: none; border: 0; padding: 4px 8px; font-weight: 600; color: var(--k-ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.k-acc-controls button:hover { color: var(--k-link); }

/* FAQ (details + schema.org microdata friendly) */
.k-faq { border-top: 1px solid var(--k-line); margin: 1.5em 0; }
.k-faq .k-acc > summary, .k-faq details > summary { font-size: 1rem; padding: 14px 0; }
.k-faq .k-acc > summary::after { width: 30px; height: 30px; background-size: 18px; }
.k-faq .k-acc__body { color: var(--k-ink-2); font-size: 1rem; padding-bottom: 18px; }

/* Itinerary timeline: wrap days in .k-itinerary > .k-day (h3 + content) */
.k-itinerary { counter-reset: day; margin: 1.5em 0; }
.k-day { position: relative; padding: 0 0 28px 60px; counter-increment: day; }
.k-day::before { content: ""; position: absolute; left: 20px; top: 44px; bottom: 0; border-left: 2px dashed var(--k-line); }
.k-day:last-child::before { display: none; }
.k-day::after { content: counter(day); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--k-accent); color: var(--k-accent-ink); font-weight: 800; font-size: .9375rem; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.k-day > h3, .k-day__title { margin: 0 0 .5em; padding-top: 8px; font-size: 1.1875rem; }
.k-day > h3 + p, .k-day > h3 + ul { margin-top: 0; }
.k-day > :last-child { margin-bottom: 0; }
.k-day__stay { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: var(--k-radius-pill); background: var(--k-cream); font-size: var(--k-fs-sm); font-weight: 600; font-style: normal; }
.k-day__stay::before { content: "🛏"; }
.k-day h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--k-muted); margin: 1.2em 0 .5em; }

/* Lists with icons */
.k-list--check, .k-list--cross, .k-list--dot { list-style: none; padding: 0; margin: 1em 0; }
.k-list--check li, .k-list--cross li, .k-list--dot li { position: relative; padding-left: 30px; margin-bottom: .5em; }
.k-list--check li::before, .k-list--cross li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background-position: center; background-size: 13px; background-repeat: no-repeat; }
.k-list--check li::before { background-color: #E3F3EA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.k-list--cross li::before { background-color: #F8E5E3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3261E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.k-list--dot li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--k-accent); }
.k-cols-2 { columns: 2; column-gap: 32px; }
@media (max-width: 639px) { .k-cols-2 { columns: 1; } }
.k-cols-2 li { break-inside: avoid; }

/* Price tiers */
.k-prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 1.5em 0; }
.k-price-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 20px 22px; text-align: center; border: 1px solid var(--k-line); border-radius: var(--k-radius); background: #fff; }
.k-price-card--featured { border: 2px solid var(--k-accent); box-shadow: var(--k-shadow-sm); }
.k-price-card__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.k-price-card__tier { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.k-price-card__hotel { margin: 0; font-size: var(--k-fs-sm); color: var(--k-ink-2); }
.k-price-card__amount { margin: 4px 0 0; font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.k-price-card__amount small { display: block; font-size: var(--k-fs-xs); font-weight: 600; color: var(--k-muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.k-price-card .k-btn { margin-top: auto; width: 100%; }
.k-price-card ul { list-style: none; padding: 0; margin: 4px 0 0; font-size: var(--k-fs-sm); color: var(--k-ink-2); display: grid; gap: 4px; }

/* Attraction info table rows */
.k-info { display: grid; gap: 0; margin: 1.5em 0; border: 1px solid var(--k-line-soft); border-radius: var(--k-radius); overflow: hidden; }
.k-info__row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--k-line-soft); font-size: .9375rem; }
.k-info__row:nth-child(odd) { background: var(--k-bg-soft); }
.k-info__row:last-child { border-bottom: 0; }
.k-info__label { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--k-muted); padding-top: 3px; }
@media (max-width: 480px) { .k-info__row { grid-template-columns: 1fr; gap: 2px; } }
.k-hours { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.k-hours td { padding: 7px 0; border-bottom: 1px solid var(--k-line-soft); }
.k-hours td:first-child { font-weight: 600; width: 40%; }
.k-hours tr:last-child td { border: 0; }

/* Callouts & notes */
.k-callout { border: 2px solid var(--k-accent); border-radius: var(--k-radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); text-align: center; margin: 2em 0; background: #fff; }
.k-callout__title { grid-column: 1 / -1; margin: 0 auto; max-width: 640px; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); }
.k-callout__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.k-callout__item .k-fact__icon { width: 56px; height: 56px; }
.k-callout__item .k-fact__icon .k-icon { width: 28px; height: 28px; }
.k-callout__item h3 { margin: 4px 0 0; font-size: 1.0625rem; }
.k-callout__item p { margin: 0; font-size: var(--k-fs-sm); color: var(--k-ink-2); }
.k-callout__item strong { font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em; }
.k-note { background: var(--k-cream); border-radius: var(--k-radius); padding: 18px 22px; margin: 1.5em 0; font-size: .9375rem; }
.k-note--accent { border-left: 4px solid var(--k-accent); }
.k-note--dark { background: var(--k-ink); color: #fff; }
.k-note--dark a { color: var(--k-accent); }
.k-note > :last-child { margin-bottom: 0; }

/* Sticky in-page section navigation (built by template.js from h2s) */
.k-subnav { position: sticky; top: var(--k-header-h); z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--k-line-soft); margin: 16px 0 24px; overflow-x: auto; scrollbar-width: none; }
.k-subnav::-webkit-scrollbar { display: none; }
.k-subnav:empty { display: none; }
.k-subnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.k-subnav a { display: block; padding: 13px 14px; font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--k-ink-2); border-bottom: 3px solid transparent; }
.k-subnav a:hover { color: var(--k-ink); }
.k-subnav a.is-active { color: var(--k-ink); border-color: var(--k-accent); }
body:not(.sticky-header) .k-subnav { top: 0; }

/* Gallery grid (for figure galleries or {gallery} plugin output) */
.k-gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); margin: 1.5em 0; }
.k-gallery a, .k-gallery figure { margin: 0; border-radius: var(--k-radius-sm); overflow: hidden; aspect-ratio: 1; display: block; }
.k-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s var(--k-ease); }
.k-gallery a:hover img { transform: scale(1.04); }
.k-gallery--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.k-gallery--wide a, .k-gallery--wide figure { aspect-ratio: 3 / 2; }

/* Map embed */
.k-map { border-radius: var(--k-radius); overflow: hidden; border: 1px solid var(--k-line-soft); margin: 1.5em 0; }
.k-map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Rating summary (schema Product / AggregateRating) */
.k-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 1.5em 0; padding: 16px 20px; border: 1px solid var(--k-line-soft); border-radius: var(--k-radius); font-size: var(--k-fs-sm); color: var(--k-ink-2); }
.k-rating strong { color: var(--k-ink); }

/* 10. Modules & chromes ---------------------------------------------------- */
.k-module { margin-block: 0 32px; }
.k-module__title, .k-aside__title { margin: 0 0 14px; font-size: .9375rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.k-aside { background: #fff; border: 1px solid var(--k-line-soft); border-radius: var(--k-radius); padding: 20px 22px; margin: 0 0 20px; font-size: .9375rem; }
.k-aside--accent { border: 2px solid var(--k-accent); }
.k-aside--cream { background: var(--k-cream); border-color: transparent; }
.k-aside--dark { background: var(--k-ink); color: #fff; border-color: transparent; }
.k-aside--dark .k-aside__title, .k-aside--dark a { color: #fff; }
.k-aside ul:not([class]) { list-style: none; margin: 0; padding: 0; }
.k-aside ul:not([class]) li { padding: 8px 0; border-bottom: 1px solid var(--k-line-soft); }
.k-aside ul:not([class]) li:last-child { border-bottom: 0; }
.k-aside ul:not([class]) a { text-decoration: none; font-weight: 500; display: block; }
.k-aside ul:not([class]) a:hover { color: var(--k-link); }
.k-aside p:last-child { margin-bottom: 0; }
.k-aside .k-btn { width: 100%; }
.k-aside .k-btn + .k-btn { margin-top: 8px; }
.k-band { margin: 0; }
.k-band + .k-band { margin-top: clamp(40px, 6vw, 72px); }
.k-band__head { text-align: center; max-width: 780px; margin: 0 auto clamp(24px, 4vw, 40px); }
.k-band__title { font-size: var(--k-fs-2xl); text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .3em; }
.k-band__eyebrow { margin: 0 0 8px; font-size: var(--k-fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--k-muted); }
.k-plain { margin: 0; }

/* Joomla mod_menu default markup inside sidebars and footers */
.k-aside .mod-menu, .k-footer .mod-menu { list-style: none; margin: 0; padding: 0; }
.k-aside .mod-menu a { text-decoration: none; }

/* 11. Footer --------------------------------------------------------------- */
.k-footer { background: var(--k-ink); color: rgba(255, 255, 255, .88); padding: clamp(40px, 6vw, 64px) 0 24px; margin-top: auto; font-size: .9375rem; }
.k-footer a { color: #fff; text-decoration: none; }
.k-footer a:hover { color: var(--k-accent); }
.k-footer__grid { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 40px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.k-footer__grid--1 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .k-footer__grid--3 { grid-template-columns: 2fr 1fr 1fr; } .k-footer__grid--4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.k-footer__col h3, .k-footer__title { margin: 0 0 14px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .6); }
.k-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.k-footer__col p { margin: 0 0 10px; }
.k-footer__col img { max-height: 40px; width: auto; }
.k-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: var(--k-fs-sm); color: rgba(255, 255, 255, .62); }
.k-footer__legal p { margin: 0; }
.k-footer__text { margin-bottom: 6px; max-width: 70ch; }
.k-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.k-footer__links a { color: rgba(255, 255, 255, .8); }

/* Floating buttons */
.k-totop, .k-whatsapp { position: fixed; bottom: 20px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; box-shadow: var(--k-shadow); transition: opacity .2s, transform .2s; }
.k-totop { right: 20px; background: var(--k-ink); color: #fff; }
.k-totop[hidden] { display: none; }
.k-totop .k-icon, .k-whatsapp .k-icon { width: 24px; height: 24px; }
.k-whatsapp { left: 20px; background: #25D366; color: #fff; width: 54px; height: 54px; }
.k-whatsapp:hover { color: #fff; transform: translateY(-2px); }

/* 12. Core Joomla bits ----------------------------------------------------- */
.k-messages { margin-top: 12px; }
.k-messages:empty { display: none; }
.k-crumbs { padding-top: 14px; font-size: var(--k-fs-sm); color: var(--k-muted); }
.k-crumbs ol, .k-crumbs ul, .mod-breadcrumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.k-crumbs a { text-decoration: none; color: var(--k-ink-2); }
.k-crumbs a:hover { color: var(--k-link); }
.k-crumbs li + li::before, .mod-breadcrumbs__divider { content: "/"; color: var(--k-line); margin-right: 8px; }
.k-crumbs .mod-breadcrumbs__divider { display: none; }
.has-hero .k-crumbs { display: none; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 40px 0 0; padding: 0; }
.pagination .page-link, .pagination .page-item > span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--k-radius-sm); border: 1px solid var(--k-line); text-decoration: none; font-weight: 600; font-size: var(--k-fs-sm); color: var(--k-ink); background: #fff; }
.pagination .page-link:hover { border-color: var(--k-ink); color: var(--k-ink); }
.pagination .active .page-link, .pagination .active > span { background: var(--k-ink); border-color: var(--k-ink); color: #fff; }
.pagination .disabled .page-link, .pagination .disabled > span { opacity: .45; pointer-events: none; }
.pagination__wrapper .counter, .pagination-counter { text-align: center; font-size: var(--k-fs-sm); color: var(--k-muted); margin-top: 12px; }

/* Forms (template + core Bootstrap class names used by Joomla components) */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea, .form-control, .form-select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--k-line); border-radius: var(--k-radius-sm); background: #fff; color: var(--k-ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus { outline: none; border-color: var(--k-ink); box-shadow: 0 0 0 3px var(--k-accent-soft); }
textarea { min-height: 140px; resize: vertical; }
label, .form-label { display: block; font-weight: 600; font-size: var(--k-fs-sm); margin-bottom: 6px; }
.k-form { display: grid; gap: 14px; }
.k-form .k-btn { justify-self: start; }
.control-group, .mb-3 { margin-bottom: 16px; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check-input { width: 18px; height: 18px; accent-color: var(--k-ink); }
.form-text, .form-control-feedback { font-size: var(--k-fs-xs); color: var(--k-muted); }
.visually-hidden, .sr-only, .k-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.alert { padding: 14px 18px; border-radius: var(--k-radius-sm); border: 1px solid var(--k-line); background: var(--k-bg-soft); margin-bottom: 16px; }
.alert-warning { background: var(--k-cream); border-color: var(--k-accent); }
.alert-danger, .alert-error { background: #FBECEB; border-color: var(--k-danger); }
.alert-success { background: #E3F3EA; border-color: var(--k-success); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; background: var(--k-bg-soft); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 14px; border-bottom: 1px solid var(--k-line-soft); text-align: left; }
.table th { background: var(--k-bg-soft); font-size: var(--k-fs-xs); text-transform: uppercase; letter-spacing: .08em; }
.card { border: 1px solid var(--k-line-soft); border-radius: var(--k-radius); background: #fff; }
.card-body { padding: 20px; }
.com-content-category__description, .com-content-article__body { }
.com-contact .contact-form, .com-contact__form { max-width: 720px; }
.com-contact__container h1, .com-users h1 { margin-top: 24px; }
.icon-calendar, .icon-user, .icon-folder-open, .icon-eye, .icon-location { display: none; }

/* Error / offline pages */
.k-error__box { padding: clamp(48px, 10vw, 120px) 0; text-align: center; flex: 1 0 auto; }
.k-error__code { font-size: clamp(4rem, 2rem + 10vw, 9rem); font-weight: 800; letter-spacing: -.04em; color: var(--k-accent); line-height: 1; margin: 0 0 .1em; -webkit-text-stroke: 2px var(--k-ink); }
.k-error__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.k-error__debug { text-align: left; margin-top: 40px; font-size: var(--k-fs-sm); overflow: auto; }
.k-error__box .k-eyebrow { justify-content: center; }
.k-offline__form { max-width: 360px; margin: 32px auto 0; text-align: left; }
.k-component__inner { padding: 24px 0; }

/* 13. Utilities ------------------------------------------------------------ */
.k-text-center { text-align: center; }
.k-muted { color: var(--k-muted); }
.k-small { font-size: var(--k-fs-sm); }
.k-upper { text-transform: uppercase; letter-spacing: .08em; }
.k-display { text-transform: uppercase; font-weight: 800; letter-spacing: -.015em; }
.k-flow > * + * { margin-top: 1em; }
.k-mt-0 { margin-top: 0 !important; }
.k-mt-1 { margin-top: 1rem !important; }
.k-mt-2 { margin-top: 2rem !important; }
.k-mt-3 { margin-top: 3rem !important; }
.k-mb-0 { margin-bottom: 0 !important; }
.k-mb-2 { margin-bottom: 2rem !important; }
.k-rounded { border-radius: var(--k-radius) !important; }
.k-shadow { box-shadow: var(--k-shadow); }
.k-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.k-hide-mobile { display: none !important; }
@media (min-width: 900px) { .k-hide-mobile { display: revert !important; } .k-hide-desktop { display: none !important; } }
.k-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .k-split { grid-template-columns: 1fr 1fr; gap: 48px; } .k-split--reverse > :first-child { order: 2; } }
.k-split img { border-radius: var(--k-radius); width: 100%; height: auto; }
.k-stat { text-align: center; }
.k-stat strong { display: block; font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.k-stat span { font-size: var(--k-fs-sm); color: var(--k-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* 14. Print ---------------------------------------------------------------- */
@media print {
  .k-header, .k-footer, .k-sidebar, .k-totop, .k-whatsapp, .k-subnav, .k-offcanvas, .k-crumbs, .k-tour__aside .k-btn, .k-acc-controls { display: none !important; }
  .k-acc:not([open]) > summary::after { display: none; }
  details > :not(summary) { display: block !important; }
  .k-main { display: block; padding: 0; }
  body { font-size: 11pt; color: #000; }
  a { text-decoration: none; color: inherit; }
  .k-hero { min-height: 0; color: #000; }
  .k-hero::before, .k-hero__img { display: none; }
  .k-hero__title { color: #000; text-shadow: none; }
}

/* 15. Late additions ------------------------------------------------------- */
.k-cards--1 { grid-template-columns: 1fr; }
.k-cards--1 .k-card--row .k-card__media { flex-basis: 42%; }
.k-cards--1 + .k-cards { margin-top: 24px; }
.k-tourhead__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.k-category__desc { margin-bottom: 32px; max-width: 78ch; }
.k-category__children, .k-category__links { margin-top: 40px; }
.k-pagination { margin-top: 24px; }
.k-crumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.k-crumbs__list li + li::before { content: "/"; color: var(--k-line); margin-right: 8px; }
.k-crumbs__list li[aria-current] span { color: var(--k-ink); font-weight: 600; }
.k-tour__aside .k-map { margin: 0; }
.k-attraction .k-facts--box { margin-top: 8px; }

/* Simple Image Gallery (JoomlaWorks) output */
.sigFreeContainer { display: grid !important; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); margin: 1.5em 0; width: auto !important; }
.sigFreeContainer .sigFreeThumb { width: auto !important; height: auto !important; margin: 0 !important; aspect-ratio: 1; border-radius: var(--k-radius-sm); overflow: hidden; }
.sigFreeContainer .sigFreeThumb a, .sigFreeContainer .sigFreeThumb img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; margin: 0 !important; padding: 0 !important; }
.sigFreeContainer .sigFreeCaption, .sigFreeClear { display: none; }

/* Tags layout from Joomla core */
.tags, .com-content-article__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags .badge, .tags a { display: inline-block; padding: 4px 12px; border-radius: var(--k-radius-pill); border: 1px solid var(--k-line); text-decoration: none; font-size: var(--k-fs-xs); font-weight: 600; background: #fff; color: var(--k-ink-2); }
.tags a:hover { border-color: var(--k-ink); color: var(--k-ink); }

/* Edit icons for logged in editors */
.icons .dropdown, .k-article .icons { float: right; margin-left: 12px; font-size: var(--k-fs-sm); }
