/* ==========================================================================
   Section pages (layout/layout_default.php listing mode) — e.g. helicopter-tours.html
   Selectors like ".ls p.x" / ".ls ul.x" outrank the site-wide ".page .maincontainer p/ul" content styles.
   ========================================================================== */

.ls {
  --ls-brand: var(--brand, #03488d);
  --ls-brand-deep: #022f63;
  --ls-book: #c2410c;
  --ls-ink: #13202e;
  --ls-muted: #5b6878;
  --ls-line: #e2e8f0;
  --ls-soft: #f3f6fa;
  --ls-head: var(--font-head, "Poppins", system-ui, sans-serif);
  color: var(--ls-ink);
  font-family: var(--font-base, "Mulish", system-ui, sans-serif);
}
.ls h1, .ls h2 { font-family: var(--ls-head); color: var(--ls-ink); text-wrap: balance; }

/* ---------- Banner: the photo shown clearly beside the text (no dark overlay) ---------- */
.ls-hero { display: grid; overflow: hidden; margin-bottom: 24px; background: #fff; border: 1px solid var(--ls-line); border-radius: 18px; color: var(--ls-ink); }
.ls-hero__media { order: -1; margin: 0; aspect-ratio: 16 / 9; max-width: 100%; background: var(--ls-soft); }
.ls .ls-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ls-hero__content { align-self: center; padding: clamp(22px, 3.5vw, 44px); }
@media (min-width: 992px) {
  .ls-hero.has-image { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .ls-hero__media { order: 0; aspect-ratio: auto; min-height: 340px; }
}
.ls .ls-hero h1 { margin: 0 0 10px; color: var(--ls-brand-deep); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.15; }
.ls .ls-hero p.ls-hero__lead { margin: 0 0 18px; max-width: 62ch; font-size: 1.02rem; line-height: 1.65; color: #3d4a5c; }
.ls ul.ls-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; line-height: 1.3; color: var(--ls-ink); }
.ls .ls-stats li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px; border: 1px solid var(--ls-line); border-radius: 999px; background: var(--ls-soft); font-size: .9rem; }
.ls-stats strong { color: var(--ls-brand-deep); font-variant-numeric: tabular-nums; }
.ls-stats .fa-star { color: #f59e0b; }
.ls-stats .fa-bolt { color: #15803d; }

/* ---------- Blocks ---------- */
.ls-block { margin: 0 0 36px; }
.ls h2.ls-h2 { margin: 0 0 16px; font-size: clamp(1.3rem, 1.05rem + .8vw, 1.65rem); font-weight: 700; }

/* ---------- Tools ---------- */
.ls-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px; margin-bottom: 10px; background: #fff; border: 1px solid var(--ls-line); border-radius: 14px; }
.ls-search { position: relative; flex: 1 1 260px; }
.ls-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ls-muted); }
.ls-search input { width: 100%; min-height: 44px; padding: 9px 12px 9px 38px; border: 1px solid #c5d0dc; border-radius: 10px; font: inherit; color: var(--ls-ink); background: #fff; }
.ls-search input:focus { outline: 3px solid rgba(3, 72, 141, .2); border-color: var(--ls-brand); }
.ls-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.ls-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 13px; border: 1.5px solid var(--ls-line); border-radius: 999px; background: #fff; color: var(--ls-ink); font-weight: 700; font-size: .9rem; cursor: pointer; }
.ls-chip span { padding: 0 7px; border-radius: 999px; background: var(--ls-soft); font-size: .76rem; color: var(--ls-muted); font-variant-numeric: tabular-nums; }
.ls-chip:hover { border-color: #b9c9de; }
.ls-chip[aria-pressed="true"] { background: var(--ls-brand); border-color: var(--ls-brand); color: #fff; }
.ls-chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .22); color: #fff; }
.ls-chip .fa-bolt { color: #15803d; }
.ls-chip[aria-pressed="true"] .fa-bolt { color: #bbf7d0; }
.ls-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ls-sort label { margin: 0; font-weight: 700; font-size: .88rem; color: var(--ls-muted); }
.ls-sort select { min-height: 40px; padding: 6px 10px; border: 1px solid #c5d0dc; border-radius: 10px; font: inherit; font-weight: 700; color: var(--ls-ink); background: #fff; }
.ls-chip:focus-visible, .ls-sort select:focus-visible, .ls-clear:focus-visible { outline: 3px solid rgba(3, 72, 141, .45); outline-offset: 2px; }
.ls p.ls-count { margin: 0 0 14px; font-size: .9rem; line-height: 1.4; color: var(--ls-muted); }
.ls-count b { color: var(--ls-ink); }

.ls-grid .ls-item { display: flex; }
.ls-grid .ls-item[hidden] { display: none; }
.ls-grid .ls-item > .nh-card { flex: 1; }

.ls-empty { padding: 32px; text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 14px; color: var(--ls-muted); }
.ls-empty[hidden] { display: none; }
.ls .ls-empty p { margin: 0 0 12px; font-weight: 700; color: var(--ls-muted); }
.ls-clear { border: 0; border-radius: 10px; padding: 9px 16px; background: var(--ls-brand); color: #fff; font-weight: 800; cursor: pointer; }

/* ---------- Section tiles (hub pages) ---------- */
.ls-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ls-tile { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--ls-line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
@media (hover: hover) { .ls-tile:hover { border-color: #b9c9de; box-shadow: 0 12px 26px rgba(3, 47, 99, .1); } }
.ls-tile__img { display: block; width: 96px; height: 80px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #dbe7f5, #eef4fc); }
.ls .ls-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ls-tile__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ls-tile__name { font-family: var(--ls-head); font-weight: 700; line-height: 1.3; color: var(--ls-ink); }
.ls-tile__meta { font-size: .86rem; color: var(--ls-muted); }
.ls-tile__meta b { color: var(--ls-book); }
.ls-tile__online { font-size: .8rem; font-weight: 700; color: #15803d; }

/* ---------- Description and more sections ---------- */
.ls-about .full { max-width: 900px; font-size: 1.02rem; line-height: 1.75; color: #2a3647; }
.ls .ls-more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ls .ls-more li { margin: 0; }
.ls-more a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ls-line); color: var(--ls-ink); font-weight: 700; text-decoration: none; }
.ls-more a:hover { border-color: var(--ls-brand); color: var(--ls-brand); }
.ls-more span { padding: 0 7px; border-radius: 999px; background: var(--ls-soft); font-size: .76rem; color: var(--ls-muted); }

@media (max-width: 767.98px) {
  .ls .ls-hero p.ls-hero__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ls .ls-stats li { padding: 5px 10px; font-size: .85rem; }
}
@media (max-width: 575.98px) {
  .ls-hero { border-radius: 14px; }
  .ls-tools { padding: 10px; }
  .ls-filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .ls-filters::-webkit-scrollbar { display: none; }
  .ls-chip { flex: 0 0 auto; }
  .ls-sort { margin-left: 0; width: 100%; }
  .ls-sort select { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-tile { transition: none; }
}
