/* ==========================================================================
   Blog — the index, the article, and the listing cards.
   Built on the service-page system (service.css loads first), so tables,
   FAQ and link cards look the same wherever they appear.
   ========================================================================== */

.bl { background: var(--black); }

/* ---------------------------------------------------------------- hero -- */

.bl-hero {
  position: relative;
  padding: 118px 0 44px;
  background:
    radial-gradient(ellipse 70% 90% at 85% 0%, rgba(212, 168, 83, 0.10), transparent 60%),
    linear-gradient(to bottom, #0b0b0b, var(--black));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .bl-hero { padding: 150px 0 56px; }
}

/* Headlines run the full width of the hero. At this size every current post
   title sets on two lines from 1366px up; a narrower column pushed them to
   four. */
.bl-hero h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.16;
  text-wrap: balance;
}

.bl-lede {
  max-width: 78ch;
  margin-bottom: 22px;
  color: var(--text-2);
  font-size: 1.06rem;
  line-height: 1.7;
}

.bl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

/* Long headlines would stretch the breadcrumb past a phone screen. */
.bl-hero .sv-crumbs { flex-wrap: wrap; }
.bl-hero .sv-crumbs span[aria-current] {
  max-width: 34ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* -------------------------------------------------------------- layout -- */

.bl-layout {
  display: grid;
  gap: 48px;
  padding-top: 44px;
  padding-bottom: 72px;
}

@media (min-width: 1080px) {
  .bl-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 64px;
  }

  /* The aside must run the full height of the article, or the sticky panel
     inside it has nowhere to travel and scrolls away with the page. */
  .bl-aside { align-self: stretch; }

  .bl-aside-inner {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.bl-article { min-width: 0; }

.bl-figure { margin: 0 0 36px; }
.bl-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* --------------------------------------------------------------- aside -- */

.bl-aside .el-widget { max-width: none; }

.bl-aside-title {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bl-aside-call {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.88rem;
  transition: border-color 0.2s ease;
}
.bl-aside-call svg { flex-shrink: 0; color: var(--gold); }
.bl-aside-call strong { color: #fff; font-weight: 600; white-space: nowrap; }
.bl-aside-call:hover { border-color: rgba(212, 168, 83, 0.45); }

/* --------------------------------------------------------------- prose -- */

/* The prose fills its column: the fare tables and callouts need the width,
   and the column itself keeps lines to a readable length. */
.bl-prose {
  color: var(--text-2);
  font-size: 1.04rem;
  line-height: 1.8;
}

.bl-prose > * + * { margin-top: 1.15em; }

.bl-prose h2 {
  margin-top: 2.2em;
  margin-bottom: -0.2em;
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  line-height: 1.25;
  text-wrap: balance;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.bl-prose h3 {
  margin-top: 1.8em;
  margin-bottom: -0.35em;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.35;
}

.bl-prose strong { color: #fff; font-weight: 600; }

.bl-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 83, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.bl-prose a:hover { color: var(--gold-light); text-decoration-color: currentColor; }

.bl-prose ul,
.bl-prose ol { padding-left: 1.3em; }
.bl-prose ul { list-style: none; padding-left: 0; }
.bl-prose ol { list-style: decimal; }

.bl-prose ul > li {
  position: relative;
  padding-left: 22px;
}
.bl-prose ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
/* A long, short-item list — airlines, neighbourhoods — set in columns. */
.bl-prose ul.bl-cols {
  columns: 2 180px;
  column-gap: 32px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.94rem;
}
@media (min-width: 700px) { .bl-prose ul.bl-cols { columns: 3 180px; } }
.bl-prose ul.bl-cols > li { break-inside: avoid; margin-top: 0; padding-top: 3px; padding-bottom: 3px; }

.bl-prose ol > li { padding-left: 4px; }
.bl-prose ol > li::marker { color: var(--gold); font-weight: 600; }
.bl-prose li + li { margin-top: 0.5em; }

.bl-prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.6;
}

.bl-prose hr {
  height: 1px;
  margin: 2.4em 0;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
}

.bl-prose .sv-table-wrap { margin-top: 1.5em; margin-bottom: 0.4em; }
.bl-prose .sv-table-wrap table { font-size: 0.92rem; line-height: 1.5; }
.bl-prose .sv-note { margin-top: 0.7em; }

/* The answer up front: the box a skimming reader stops at. */
.bl-prose .bl-callout {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 2px solid var(--gold);
  border-radius: 4px 12px 12px 4px;
  background: rgba(255, 255, 255, 0.025);
}
.bl-prose .bl-callout > * + * { margin-top: 0.7em; }
.bl-prose .bl-callout-title {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Table of contents */
.bl-prose .bl-toc {
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--dark);
  font-size: 0.95rem;
}
.bl-prose .bl-toc ol { margin-top: 0.6em; }
.bl-prose .bl-toc a { text-decoration: none; color: var(--text-2); }
.bl-prose .bl-toc a:hover { color: var(--gold); }

/* A booking nudge inside the article. */
.bl-prose .bl-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 2em;
  padding: 22px 24px;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.09), rgba(212, 168, 83, 0.02));
}
.bl-prose .bl-inline-cta p { flex: 1 1 280px; margin: 0; color: #fff; }
.bl-prose .bl-inline-cta .btn-gold {
  color: #000;
  font-size: 0.82rem;
  padding: 12px 24px;
  text-decoration: none;
}

/* --------------------------------------------------------------- cards -- */

.bl-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bl-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.bl-card:hover { border-color: rgba(212, 168, 83, 0.4); transform: translateY(-2px); }

.bl-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray);
}
.bl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.bl-card:hover .bl-card-media img { transform: scale(1.04); }

.bl-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.bl-card-cat {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bl-card-title {
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
}
.bl-card-title a { transition: color 0.2s ease; }
.bl-card-title a:hover { color: var(--gold-light); }

/* The whole card is the link target, without nesting links. */
.bl-card { position: relative; }
.bl-card-title a::after { content: ""; position: absolute; inset: 0; }

.bl-card-excerpt {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.bl-card-meta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------------------------------------------------------- pagination -- */

.bl-pagination { margin-top: 44px; }
.bl-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.bl-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.9rem;
}
.bl-pagination .page-numbers.current { border-color: var(--gold); color: var(--gold); }
.bl-pagination a.page-numbers:hover { border-color: rgba(212, 168, 83, 0.5); }

/* -------------------------------------------------------------- mobile -- */

@media (max-width: 767px) {
  .bl-hero { padding: 104px 0 34px; }
  .bl-lede { font-size: 0.98rem; }
  .bl-layout { gap: 40px; padding-top: 28px; padding-bottom: 52px; }
  .bl-figure { margin-bottom: 26px; }
  .bl-prose { font-size: 0.99rem; line-height: 1.78; }
  .bl-prose .bl-callout,
  .bl-prose .bl-inline-cta,
  .bl-prose .bl-toc { padding: 18px; }
  .bl-prose .bl-inline-cta .btn-gold { width: 100%; }
  .bl-hero .sv-crumbs span[aria-current] { max-width: 22ch; }
}
