/* ============================================================
   Travel Earth — inner pages (packages listing, legal, about, contact)
   ============================================================ */

/* page band header */
.page-band { background: linear-gradient(180deg, var(--brand-tint), var(--bg-soft)); border-bottom: 1px solid var(--line); padding: 52px 0 48px; }
.page-band .crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.page-band .crumb a:hover { color: var(--brand); }
.page-band .crumb .ic { width: 15px; height: 15px; }
.page-band h1 { font-size: clamp(30px, 4.4vw, 48px); }
.page-band p { color: var(--ink-2); margin-top: 12px; max-width: 60ch; font-size: 16.5px; }

/* packages listing controls */
.pkg-controls { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.pkg-search { background: #fff; border: 1px solid var(--line); border-radius: 44px; padding: 7px 7px 7px 20px; display: flex; align-items: center; gap: 12px; max-width: 560px; box-shadow: var(--shadow-sm); }
.pkg-search .ic { color: var(--muted); }
.pkg-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 15.5px; background: transparent; min-width: 0; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 8px 18px; border-radius: 30px; cursor: pointer; font-weight: 600; font-size: 13.5px; transition: all .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.pkg-list-section { padding: 54px 0 90px; }
.result-count { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

/* ============================================================ Legal / article pages */
.legal { padding: 56px 0 90px; }
.legal-wrap { max-width: 840px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }
.legal h2 { font-size: 23px; margin: 34px 0 12px; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p { color: var(--ink-2); margin-bottom: 14px; font-size: 15.5px; line-height: 1.75; }
.legal ul { list-style: none; display: grid; gap: 10px; margin: 6px 0 18px; }
.legal ul li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.legal ul li .ic { position: absolute; left: 0; top: 3px; width: 17px; height: 17px; color: var(--brand); }
.legal a { color: var(--brand); font-weight: 600; }
.legal .callout { background: var(--cream); border-radius: var(--r); padding: 18px 22px; margin: 18px 0; font-size: 15px; color: #6b5a3c; }

/* ============================================================ About */
.about-hero-img { border-radius: var(--r-lg); overflow: hidden; margin-top: 8px; }
.about-hero-img img { width: 100%; height: 380px; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; text-align: center; }
.about-stat .n { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--brand); }
.about-stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }
.about-two { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.about-two img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.about-two h2 { font-size: clamp(26px, 3.4vw, 40px); }
.about-two p { color: var(--ink-2); margin-top: 16px; font-size: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; }
.value-card .v-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

@media (max-width: 900px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-two, .values-grid { grid-template-columns: 1fr; }
  .about-two img { min-height: 240px; }
}

/* ============================================================ Blog listing */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .b-media { height: 210px; overflow: hidden; }
.blog-card .b-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .b-media img { transform: scale(1.06); }
.blog-card .b-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .b-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.blog-card .b-tags span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: 4px 10px; border-radius: 20px; }
.blog-card h3 { font-size: 20px; letter-spacing: -.01em; }
.blog-card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; flex: 1; }
.blog-card .b-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.blog-card .b-date { font-size: 12.5px; color: var(--muted); }
.blog-card .b-read { font-weight: 600; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.blog-card .b-read .ic { width: 16px; height: 16px; }
@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================ Single post */
.post-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: 150px 0 50px; color: #fff; overflow: hidden; }
.post-hero .ph-bg { position: absolute; inset: 0; z-index: -2; }
.post-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,14,.35), rgba(8,20,14,.85)); }
.post-hero .b-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.post-hero .b-tags span { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 20px; }
.post-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); max-width: 20ch; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(6,15,10,.4); }
.post-hero .p-meta { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.9); display: flex; gap: 18px; }
.post-body { padding: 56px 0 90px; }
.post-wrap { max-width: 760px; margin: 0 auto; }
.post-content { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.post-content h2 { font-size: 25px; margin: 34px 0 12px; color: var(--ink); }
.post-content h3 { font-size: 19px; margin: 26px 0 10px; color: var(--ink); }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 22px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--brand); font-weight: 600; }
.post-content img { border-radius: var(--r); margin: 20px 0; }
.post-content blockquote { border-left: 3px solid var(--brand); padding: 6px 20px; margin: 20px 0; color: var(--ink); background: var(--bg-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.post-back { margin-top: 44px; }
