:root {
  --accent: #0f8fbf;
  --accent-dark: #085e7f;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e4e4e4;
  --surface: #ffffff;
  --radius: 10px;
  --container: 1160px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  background: #fff url('/assets/bg-body.gif') repeat;
  background-attachment: fixed;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Header ---- */
.site-header {
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo img { width: 48px; height: 48px; }
.logo strong { display: block; font-size: 20px; letter-spacing: 0.02em; }
.logo em  { display: block; font-size: 12px; color: var(--muted); font-style: normal; }

.main-nav > ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { color: var(--text); font-weight: 500; padding: 10px 0; display: inline-block; }
.main-nav .dropdown {
  position: absolute; top: 100%; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px; display: none; min-width: 520px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  grid-template-columns: 1fr 1fr; gap: 24px;
  z-index: 210;
}
.main-nav li:hover .dropdown,
.main-nav li:focus-within .dropdown,
.main-nav li.open .dropdown { display: grid; }
/* small chevron on toggles so users see it opens */
.main-nav > ul > li.has-children > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 4px;
  color: var(--muted);
  transition: transform .15s;
  display: inline-block;
}
.main-nav > ul > li.has-children.open > a::after { transform: rotate(180deg); }
.dropdown-group h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.08em; }
.dropdown-group ul { list-style: none; padding: 0; margin: 0; }
.dropdown-group li { padding: 4px 0; }
.dropdown-group a { color: var(--text); font-size: 14px; }
.dropdown-group a:hover { color: var(--accent); }

/* ---- Hero + main ---- */
main.container { padding-top: 28px; padding-bottom: 60px; }

.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #1ab0d8 100%);
  color: #fff;
  padding: 40px 20px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  text-align: center;
}
.page-hero h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 36px); }
.page-hero p { margin: 0; font-size: 16px; opacity: 0.95; }

/* ---- Post grid ---- */
.post-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.card__img { aspect-ratio: 16/10; background: #eee; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { margin: 0 0 8px; font-size: 17px; line-height: 1.35; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--accent); }
.card__excerpt { color: var(--muted); font-size: 14px; margin: 0 0 12px; flex: 1; }
.card__meta { color: var(--muted); font-size: 12px; display: flex; gap: 10px; }
.card__price { color: var(--accent-dark); font-weight: 700; }

/* ---- Single post ---- */
.article {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px 36px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.article__hero {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: -12px -12px 24px;
  background: #eee;
}
.article__hero img { width:100%; height:100%; object-fit: cover; display:block; }
.article h1 {
  font-size: clamp(26px, 4.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.article__meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article__body { font-size: 17px; line-height: 1.75; color: #222; }
.article__body > * + * { margin-top: 1em; }
.article__body h2 {
  font-size: 22px;
  line-height: 1.25;
  margin-top: 2em;
  padding-top: 0.4em;
  border-top: 3px solid var(--accent);
  display: inline-block;
}
.article__body h3 { font-size: 18px; margin-top: 1.6em; }
.article__body ul, .article__body ol { padding-left: 1.4em; }
.article__body li { margin-bottom: 0.35em; }
.article__body strong { color: #111; }
.article__body p { margin: 0.8em 0; }
.article__body img { max-width:100%; height:auto; border-radius: 8px; }
.article__body a { text-decoration: underline; text-underline-offset: 2px; }
.article__body blockquote {
  border-left: 4px solid var(--accent);
  padding: 4px 16px;
  margin: 1.2em 0;
  color: var(--muted);
  font-style: italic;
  background: #f6fbfd;
}
.article__cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.article__cta strong { font-size: 16px; }
.article__cta a {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color:#fff;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.article__cta a:hover { background: rgba(255,255,255,0.3); text-decoration: none; }

/* Key-facts box — highlights route/dates/price above the body */
.key-facts {
  background: linear-gradient(135deg, #f6fbfd, #eff7fa);
  border: 1px solid #d7e7ee;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 28px;
}
.key-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 24px;
}
.key-facts div { display: flex; flex-direction: column; }
.key-facts dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.key-facts dd { margin: 0; font-size: 15px; color: #0f2a36; }
.key-facts dd strong { font-weight: 700; }
.key-facts dd.price strong { color: var(--accent-dark); font-size: 18px; }
.key-facts .route-note {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}
@media (max-width: 720px) {
  .article { padding: 22px 20px 28px; border-radius: 0; margin: 0 -16px; }
  .article__hero { margin: -12px -20px 20px; border-radius: 0; }
}

/* ---- Pagination ---- */
.pager { display:flex; gap:8px; justify-content:center; margin-top:40px; list-style:none; padding:0; }
.pager a, .pager span { padding:8px 14px; border:1px solid var(--border); border-radius:20px; background:#fff; color:var(--text); }
.pager .active { background: var(--accent); color:#fff; border-color: var(--accent); }

/* ---- Burger / mobile nav toggle ---- */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent; cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  margin: 5px 8px; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Footer ---- */
.site-footer {
  background: #13242f;
  color: #cbd6dd;
  margin-top: 60px;
  padding: 48px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr;
  gap: 36px;
  align-items: start;
}
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .footer-logo img { width: 44px; height: 44px; filter: brightness(1.1); }
.footer-brand .footer-logo strong { display: block; font-size: 18px; }
.footer-brand .footer-logo em { display: block; font-size: 11px; color: #8fa3b0; font-style: normal; }
.footer-about { font-size: 13px; color: #8fa3b0; line-height: 1.6; margin: 14px 0 0; }
.site-footer h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cbd6dd; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.fb-widget .fb-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1877f2;
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  max-width: 340px;
  transition: background .15s, transform .15s;
}
.fb-widget .fb-card:hover { background: #145dbf; transform: translateY(-1px); text-decoration: none; }
.fb-widget .fb-card svg { width: 32px; height: 32px; flex-shrink: 0; }
.fb-widget .fb-card strong { display: block; font-size: 15px; }
.fb-widget .fb-card em { display: block; font-size: 12px; opacity: 0.85; font-style: normal; }
.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  background: rgba(0,0,0,0.25);
  color: #8fa3b0;
  font-size: 13px;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: #fff; }

/* Adsense — keep a reserved box so CLS doesn't jump */
.ad-slot { min-height: 90px; margin: 24px 0; background: transparent; }

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand, .fb-widget { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .header-inner { padding: 10px 12px; }
  .logo strong { font-size: 16px; }
  .logo em { font-size: 11px; }
  .logo img { width: 40px; height: 40px; }

  /* Off-canvas mobile nav */
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(88vw, 340px);
    background: #fff;
    transform: translateX(100%);
    transition: transform .2s ease-out;
    z-index: 220;
    padding: 70px 20px 30px;
    box-shadow: -12px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav > ul > li {
    border-bottom: 1px solid var(--border);
  }
  .main-nav > ul > li > a {
    padding: 14px 4px;
    font-weight: 600;
  }
  /* Make dropdowns always expanded inline on mobile */
  .main-nav .dropdown {
    position: static; display: grid !important;
    grid-template-columns: 1fr;
    box-shadow: none; border: none; padding: 0 0 14px;
    min-width: 0; background: transparent;
  }
  .main-nav .dropdown-group { padding-left: 8px; border-left: 2px solid var(--border); margin-bottom: 8px; }
  .main-nav .dropdown-group h4 { margin: 6px 0 4px; }

  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 210;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
