/* TravelFlow blog: same palette and type as www.travelflow.io */
:root {
  --accent: #07C369;
  --accent-ink: #047A42;
  --dark: #1C303F;
  --dark-2: #243B4D;
  --text: #353333;
  --muted: #667085;
  --line: #E4E7EC;
  --bg: #F6F7F8;
  --soft: #E8F8F0;
  --warn-soft: #FFF6E5;
  --warn-line: #F5D79E;
  --radius: 24px;
  --font: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--dark); font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }

/* ---------- header ---------- */
.site-header { background: var(--dark); color: #fff; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Inter', var(--font); font-weight: 600; font-size: 22px; }
.brand__logo { width: 34px; height: 34px; flex: none; }
.brand__tag { font-family: var(--font); font-size: 14px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.brand--dark { color: var(--dark); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 16px; white-space: nowrap; transition: background-color .15s; }
.site-nav a:hover { background: rgba(255,255,255,.12); }
.site-nav .site-nav__cta { background: var(--accent); }
.site-nav .site-nav__cta:hover { background: var(--accent); filter: brightness(.94); }

/* ---------- hero (home and 404) ---------- */
.hero { background: var(--dark); color: #fff; padding: 56px 0 120px; }
.hero h1 { font-size: 46px; line-height: 1.3; margin: 0 0 14px; max-width: 760px; }
.hero p { font-size: 19px; margin: 0; max-width: 680px; color: rgba(255,255,255,.82); }
.hero--center { text-align: center; padding-bottom: 96px; }
.hero--center h1, .hero--center p { margin-inline: auto; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px !important; }

.section-title { font-size: 24px; margin: 0 0 20px; color: var(--dark); }

/* ---------- article cards ---------- */
.home { margin-top: -72px; }
.home .section-title { color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 32px rgba(16,24,40,.08); transform: translateY(-2px); }
.card--featured { grid-column: 1 / -1; padding: 36px 40px; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.06); }
.chip { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.card__title { font-size: 21px; line-height: 1.45; margin: 0 0 10px; color: var(--dark); }
.card--featured .card__title { font-size: 30px; line-height: 1.4; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card__desc { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.card--featured .card__desc { font-size: 18px; max-width: 760px; }
.card__meta { margin: auto 0 0; font-size: 14px; color: var(--muted); }

/* ---------- article ---------- */
.post__hero { background: var(--dark); color: #fff; padding: 36px 0 104px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post__hero h1 { font-size: 40px; line-height: 1.4; margin: 0 0 14px; }
.post__lead { font-size: 19px; margin: 0 0 20px; color: rgba(255,255,255,.82); }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.post__meta span + span::before { content: '·'; margin-inline-end: 18px; }
.post__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 56px; margin-top: -72px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.06); }

.toc { background: var(--bg); border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; }
.toc__title { font-weight: 600; color: var(--dark); margin: 0 0 8px; }
.toc ol { margin: 0; padding-inline-start: 22px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }

.prose { font-size: 18px; line-height: 1.95; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 27px; line-height: 1.45; color: var(--dark); margin: 48px 0 14px; scroll-margin-top: 24px; }
.prose h3 { font-size: 21px; line-height: 1.5; color: var(--dark); margin: 32px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 26px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose strong { color: var(--dark); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose blockquote { margin: 24px 0; padding: 4px 20px; border-inline-start: 4px solid var(--accent); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
.prose th, .prose td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg); color: var(--dark); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }

.note { border-radius: 16px; padding: 18px 22px; margin: 28px 0; background: var(--soft); border: 1px solid #BFEBD5; }
.note--warn { background: var(--warn-soft); border-color: var(--warn-line); }
.note__title { font-weight: 700; color: var(--dark); margin: 0 0 6px !important; }
.note > :last-child { margin-bottom: 0; }

/* ---------- price calendar ---------- */
.cal { margin: 32px 0; padding: 0; }
.cal__head { display: flex; flex-direction: column; margin-bottom: 12px; }
.cal__head .eyebrow { margin-bottom: 2px; }
.cal__title { font-size: 20px; font-weight: 600; color: var(--dark); }
.cal__frame { position: relative; min-height: 420px; padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.cal__frame.is-ready { min-height: 0; }
.cal__frame tp-cascoon { display: block; }
.cal__frame:not(.is-ready)::before { content: ''; position: absolute; inset: 14px; border-radius: 14px; background: linear-gradient(90deg, var(--bg) 0%, #fff 50%, var(--bg) 100%); background-size: 200% 100%; animation: cal-loading 1.4s ease-in-out infinite; }
@keyframes cal-loading { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.cal__note { margin: 10px 4px 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; }
.faq h2 { font-size: 27px; color: var(--dark); margin: 0 0 16px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 20px 16px; color: var(--text); }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- buttons, CTA and app promo ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(.94); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 28px 32px; border-radius: 20px; background: var(--soft); border: 1px solid #BFEBD5; }
.cta__title { font-size: 21px; font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.cta__text { margin: 0; color: var(--text); font-size: 16px; }

.related { margin-top: 56px; }

.app { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 56px 0; padding: 44px 52px; border-radius: var(--radius); background: var(--dark); color: #fff; overflow: hidden; }
.app h2 { font-size: 32px; line-height: 1.3; margin: 0 0 10px; }
.app p { font-size: 17px; margin: 0 0 24px; color: rgba(255,255,255,.82); max-width: 560px; }
.app__meta { display: block; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.65); }
.app__art { flex: none; display: flex; align-items: center; justify-content: center; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: 0 0 0 18px rgba(255,255,255,.04); }
.app__art img { width: 112px; height: 112px; border-radius: 26px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.28); text-decoration: none; direction: ltr; transition: transform .15s; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: 11px; font-weight: 500; }
.store b { font-family: 'Inter', var(--font); font-size: 17px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 24px; }
.site-footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__about { margin: 0; max-width: 560px; color: var(--muted); font-size: 15px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 16px; font-size: 15px; }
.site-footer__links a { color: var(--text); text-decoration: none; }
.site-footer__links a:hover { color: var(--accent-ink); text-decoration: underline; }
.site-footer__copy { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__card { padding: 36px 36px; }
  .app { padding: 36px; }
  .app__art { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .site-header__row { min-height: 64px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand__logo { width: 28px; height: 28px; }
  .brand__tag { font-size: 12px; padding: 2px 8px; }
  .site-nav a { padding: 8px 14px; font-size: 15px; }
  .site-nav__hide-sm { display: none; }
  .hero { padding: 36px 0 96px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 22px; }
  .card--featured { padding: 26px 22px; }
  .card--featured .card__title { font-size: 24px; }
  .card--featured .card__desc { font-size: 16px; }
  .post__hero { padding: 24px 0 88px; }
  .post__hero h1 { font-size: 29px; line-height: 1.45; }
  .post__lead { font-size: 17px; }
  .post__meta { gap: 4px 16px; }
  .post__meta span + span::before { content: none; }
  .post__card { padding: 24px 18px; border-radius: 20px; margin-top: -64px; }
  .prose { font-size: 17px; line-height: 1.9; }
  .prose h2 { font-size: 23px; margin-top: 40px; }
  .prose h3 { font-size: 19px; }
  .faq h2 { font-size: 23px; }
  .cal__frame { min-height: 380px; padding: 2px; border-radius: 16px; }
  .cta { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .app { margin: 40px 0; padding: 28px 22px; border-radius: 20px; }
  .app h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
