/* ==========================================================================
   CHUTII DOT COM — Travel Blog
   Design tokens derived from brand logo: deep navy + ocean blue + sunset gold
   Signature element: "boarding pass" postcard cards with perforated edges
   and a dotted flight-path motif through the hero.
   ========================================================================== */

:root {
  /* Palette */
  --navy-900: #0F1D3D;
  --navy-800: #16264F;
  --navy-700: #1D3466;
  --ocean-600: #2E6DA4;
  --ocean-400: #5B93C4;
  --gold-500: #F5A623;
  --gold-600: #FF7A00;
  --sand-50:  #FDF8F3;
  --sand-100: #F7EEE1;
  --cream:    #FFFCF8;
  --ink:      #1E2433;
  --ink-soft: #56607A;
  --line:     #E7DFD2;
  --white:    #FFFFFF;

  --gradient-sunset: linear-gradient(120deg, var(--gold-500), var(--gold-600));
  --gradient-sky: linear-gradient(160deg, var(--navy-800) 0%, var(--ocean-600) 100%);

  /*--font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;*/

  --font-display: 'LT Marathon', sans-serif;
  --font-body: 'LT Marathon', sans-serif;

  --radius-card: 18px;
  --shadow-soft: 0 10px 30px -12px rgba(22, 38, 79, 0.25);
  --shadow-pop: 0 18px 40px -14px rgba(245, 166, 35, 0.35);
}

@font-face {
    font-family: 'LT Marathon';
    src: url('./fonts/LT Marathon.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'LT Marathon';
    src: url('./fonts/LT Marathon Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'LT Marathon';
    src: url('./fonts/LT Marathon Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'LT Marathon';
    src: url('./fonts/LT Marathon Bold Italic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

body {
  font-family: 'LT Marathon', sans-serif;
  letter-spacing: 0.06em;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'LT Marathon', sans-serif;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 .5em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-600);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--gradient-sunset);
  color: var(--white);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -14px rgba(245,166,35,.45); }
.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn-ghost-white { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost-white:hover { background: rgba(255,255,255,.22); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-danger { background: #C0392B; color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .93rem;
  color: var(--navy-800); position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold-600); transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.icon-search-btn {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ==========================================================================
   HERO — flight-path signature
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-sky);
  padding: 90px 0 130px;
  color: var(--white);
}
.hero-flightpath {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .55; pointer-events: none;
}
.hero-plane {
  offset-path: path('M -50 260 C 200 60, 500 380, 850 120 S 1300 260, 1500 60');
  animation: flyPath 22s linear infinite;
}
@keyframes flyPath {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero-plane { animation: none; offset-distance: 40%; } }

.hero-inner { position: relative; z-index: 2;} /*max-width: 720px;*/
.hero .eyebrow { color: var(--gold-500); }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 700; }
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-search {
  display: flex; align-items: center; background: var(--white); border-radius: 999px;
  padding: 6px 6px 6px 22px; max-width: 480px; box-shadow: var(--shadow-soft);
}
.hero-search input {
  border: none; outline: none; flex: 1; font-family: var(--font-body); font-size: .95rem; padding: 10px 8px; color: var(--ink);
}
.hero-search button {
  border: none; background: var(--gradient-sunset); color: var(--white); border-radius: 999px;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}

.hero-stats { display: flex; gap: 34px; margin-top: 44px; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-500); }
.hero-stats div span { font-size: .8rem; color: rgba(255,255,255,.7); }

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section { padding: 70px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; flex-wrap: wrap; gap: 16px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--ink-soft); max-width: 520px; margin: 0; }

/* ==========================================================================
   POST CARD — "boarding pass" signature element
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -18px rgba(22,38,79,.3); }
.post-card .thumb {
  position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--sand-100);
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .thumb img { transform: scale(1.07); }
.post-card .thumb .no-image {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-sky); color: rgba(255,255,255,.5); font-size: 2rem;
}
.post-card .stamp {
  position: absolute; top: 14px; right: 14px;
  background: var(--white); color: var(--navy-800);
  font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.post-card .perforation {
  height: 0; border-top: 2px dashed var(--line); position: relative; margin: 0 18px;
}
.post-card .perforation::before, .post-card .perforation::after {
  content: ''; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--sand-50);
}
.post-card .perforation::before { left: -27px; }
.post-card .perforation::after { right: -27px; }
.post-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta-row {
  display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--ink-soft); margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 500;
}
.post-card .meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.post-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--gold-600); }
.post-card p.excerpt { color: var(--ink-soft); font-size: .9rem; margin: 0 0 16px; flex: 1; }
.post-card .read-more {
  font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--gold-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.post-card .read-more svg { transition: transform .2s ease; }
.post-card:hover .read-more svg { transform: translateX(4px); }

/* Featured / large card */
.post-card.featured { flex-direction: row; }
.post-card.featured .thumb { width: 42%; aspect-ratio: auto; }
.post-card.featured .body { width: 58%; }
@media (max-width: 720px) { .post-card.featured { flex-direction: column; } .post-card.featured .thumb, .post-card.featured .body { width: 100%; } }

/* Category badges */
.cat-badge {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .03em; text-transform: uppercase; color: var(--ocean-600); background: #EAF2F9;
  padding: 5px 12px; border-radius: 999px;
}

/* ==========================================================================
   CATEGORY STRIP
   ========================================================================== */
.category-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-strip .container { display: flex; gap: 12px; overflow-x: auto; padding-top: 18px; padding-bottom: 18px; }
.category-pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: .86rem;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--navy-800);
  white-space: nowrap; transition: all .18s ease;
}
.category-pill:hover, .category-pill.active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.category-pill .count { color: var(--ink-soft); font-size: .78rem; }
.category-pill:hover .count, .category-pill.active .count { color: rgba(255,255,255,.7); }

/* ==========================================================================
   NEWSLETTER / CTA STRIP
   ========================================================================== */
.cta-strip {
  background: var(--gradient-sunset); border-radius: 24px; padding: 50px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: var(--white); margin: 0 24px;
}
.cta-strip h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.cta-strip p { margin: 0; color: rgba(255,255,255,.9); }
.cta-strip form { display: flex; gap: 10px; }
.cta-strip input[type=email] {
  border: none; border-radius: 999px; padding: 13px 20px; min-width: 260px; font-family: var(--font-body);
}
.cta-strip .btn-primary { background: var(--navy-800); box-shadow: none; }

/* ==========================================================================
   BLOG LISTING PAGE
   ========================================================================== */
.page-header {
  background: var(--gradient-sky); color: var(--white); padding: 60px 0 50px; position: relative; overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--gold-500); }

.pagination-wrap { display: flex; justify-content: center; margin-top: 50px; }
.pagination { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.pagination li a, .pagination li span {
  display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  border-radius: 12px; font-family: var(--font-display); font-weight: 500; font-size: .88rem;
  color: var(--navy-800); background: var(--white); border: 1px solid var(--line);
}
.pagination li.active span { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pagination li a:hover { border-color: var(--gold-600); color: var(--gold-600); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-soft); }
.empty-state svg { margin-bottom: 16px; opacity: .6; }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.post-hero { position: relative; }
.post-hero .featured-img { width: 100%; max-height: 460px; object-fit: cover; }
.post-content-wrap { max-width: 780px; margin: -60px auto 0; position: relative; z-index: 3; padding: 0 20px; }
.post-content-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-soft); padding: 44px 48px 50px; }
@media (max-width: 600px) { .post-content-card { padding: 30px 22px; } }
.post-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 18px; }
.post-meta-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); font-family: var(--font-display);
}
.post-meta-bar .author-chip { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gradient-sky); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: .85rem;
}
.article-body { font-size: 1.05rem; color: #2B3245; }
.article-body h2 { margin-top: 2em; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.6em; font-size: 1.22rem; }
.article-body p { margin-bottom: 1.3em; }
.article-body img { border-radius: 14px; margin: 1.6em 0; }
.article-body a { color: var(--ocean-600); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 4px solid var(--gold-500); background: var(--sand-100); padding: 18px 24px; border-radius: 0 14px 14px 0;
  margin: 1.8em 0; font-style: italic; color: var(--navy-800);
}
.article-body ul, .article-body ol { margin-bottom: 1.3em; padding-left: 1.4em; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.tag-pill {
  font-family: var(--font-display); font-size: .78rem; font-weight: 500; padding: 6px 14px; border-radius: 999px;
  background: var(--sand-100); color: var(--navy-800); border: 1px solid var(--line);
}
.tag-pill:hover { background: var(--navy-800); color: var(--white); }

.share-rail { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.share-rail span { font-family: var(--font-display); font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--sand-100); color: var(--navy-800); transition: all .18s ease;
}
.share-btn:hover { background: var(--navy-800); color: var(--white); }

.related-section { max-width: 1000px; margin: 70px auto 0; padding: 0 20px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; }
.footer-brand img { height: 42px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; max-width: 280px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a:hover { color: var(--gold-500); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .18s ease;
}
.footer-social a:hover { background: var(--gold-600); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem;
}

/* ==========================================================================
   404 / ERROR
   ========================================================================== */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-page .code { font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: var(--gold-500); line-height: 1; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
}
