/* =========================================================
   TourMeAway — Blog post article page (GYG-style design system)
   Shared across all /blog/<category>/<slug>.ejs article pages.
   Self-contained: header/drawer/footer + article + related-posts.
   ========================================================= */

:root{
  --tma-orange:#F37342;
  --tma-orange-dark:#d95c2c;
  --tma-pink:#F34269;
  --ink:#08243d;
  --navy:#0d2438;
  --navy-2:#12324c;
  --text:#3c4450;
  --muted:#6c7480;
  --line:#e4e7ea;
  --chip:#f2f3f5;
  --bg:#ffffff;
  --star:#F37342;
  --radius:14px;
  --shadow:0 6px 24px rgba(16,24,40,.10);
  --header-h:64px;
  --hdr-bg:#ffffff;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;padding-top:64px;
  font-family:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.25;letter-spacing:-.01em}
button{font-family:inherit;cursor:pointer}
body.nav-open{overflow:hidden}
.wrap{max-width:1150px;margin:0 auto;padding:0 20px}

/* ============ HEADER / DRAWER (shared navigation.ejs partial) ============ */
.site-header{position:fixed;top:0;left:0;width:100%;background:var(--hdr-bg);z-index:1000;border-bottom:1px solid var(--line);transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 2px 14px rgba(16,24,40,.08)}
.hdr-main{max-width:1150px;margin:0 auto;padding:0 20px;height:var(--header-h);display:flex;align-items:center;gap:16px}
.hdr-logo{flex:0 0 auto;display:flex;align-items:center;text-decoration:none}
.hdr-logo img{height:40px;width:auto}
.hdr-logo .logo-fallback{font-weight:800;color:var(--tma-orange);font-size:21px;letter-spacing:-.02em;white-space:nowrap}
.hdr-utils{margin-left:auto;display:flex;align-items:center;gap:4px}
.hdr-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);position:relative;text-decoration:none;background:none;border:0}
.hdr-icon:hover{background:var(--chip)}
.hdr-icon i{font-size:19px}
.cart-badge{position:absolute;top:3px;right:3px;background:var(--tma-pink);color:#fff;border-radius:50%;min-width:18px;height:18px;padding:0 4px;display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:800;border:2px solid #fff}
.hdr-burger{background:none;border:0;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);font-size:19px}
.hdr-burger:hover{background:var(--chip)}

.drawer{position:fixed;top:0;right:-320px;width:300px;max-width:86%;height:100vh;background:#fff;z-index:1200;box-shadow:-6px 0 24px rgba(0,0,0,.15);transition:right .28s ease;display:flex;flex-direction:column;padding:14px 0}
.drawer.open{right:0}
.drawer-close{align-self:flex-end;background:none;border:0;font-size:26px;color:var(--ink);padding:4px 20px;cursor:pointer}
.drawer nav{display:flex;flex-direction:column;padding:4px 0}
.drawer nav a{padding:14px 24px;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none}
.drawer nav a:hover{background:var(--chip)}
.drawer-foot{margin-top:auto;padding:18px 24px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.drawer-foot a{color:var(--tma-orange-dark);font-weight:700;text-decoration:none}
.drawer-overlay{position:fixed;inset:0;background:rgba(8,20,32,.45);z-index:1100;opacity:0;visibility:hidden;transition:.25s}
.drawer-overlay.open{opacity:1;visibility:visible}

/* ============ FOOTER (shared footer.ejs partial) ============ */
.site-footer{border-top:1px solid var(--line);padding:40px 0 30px}
.site-footer-inner{text-align:center}
.footer-brand{font-size:22px;font-weight:800;color:var(--tma-orange);letter-spacing:-.02em;margin-bottom:12px}
.footer-social{display:flex;gap:10px;margin-bottom:16px;justify-content:center}
.footer-social a{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--ink);font-size:16px;transition:.15s}
.footer-social a:hover{background:var(--chip);border-color:#d7dbe0}
.footer-meta{font-size:13.5px;color:var(--muted);line-height:1.8}
.footer-meta a{color:var(--tma-orange-dark);font-weight:600;text-decoration:none}
.footer-meta a:hover{text-decoration:underline}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;text-align:left;margin-bottom:28px;flex-wrap:wrap}
.footer-nav{display:flex;gap:48px}
.footer-nav-col h4{font-size:13px;font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.footer-nav-col a{display:block;font-size:14px;color:var(--muted);text-decoration:none;margin-bottom:9px}
.footer-nav-col a:hover{color:var(--tma-orange-dark)}
@media (max-width:575px){
  .footer-top{flex-direction:column;align-items:center;text-align:center;gap:28px}
  .footer-nav{gap:32px}
}

/* ============ SECTION SHELL ============ */
.section-wrap{max-width:1150px;margin:0 auto;padding:52px 20px 12px}
.section-head{text-align:center;max-width:700px;margin:0 auto 34px}
.section-head h2{font-size:30px;margin-bottom:8px}
.section-head p{color:var(--muted);font-size:15.5px;margin:0}
@media (max-width:575px){
  .section-wrap{padding:38px 18px 8px}
  .section-head{margin-bottom:24px}
  .section-head h2{font-size:24px}
}

/* ============ BACK LINK ============ */
.post-back{max-width:740px;margin:22px auto 0;padding:0 20px}
.post-back a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--muted);text-decoration:none}
.post-back a:hover{color:var(--tma-orange-dark)}
.post-back svg{width:16px;height:16px}

/* ============ POST HERO ============ */
.post-hero{position:relative;overflow:hidden;background:#0d2438;margin-top:14px}
.post-hero img{width:100%;height:42vh;min-height:260px;max-height:440px;object-fit:cover;opacity:.72}
.post-hero-copy{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  color:#fff;padding:0 20px;
}
.post-tag{display:inline-block;background:var(--tma-orange);color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:6px 14px;border-radius:999px;margin-bottom:16px}
.post-hero-copy h1{color:#fff;font-size:34px;font-weight:800;letter-spacing:-.02em;max-width:820px;text-shadow:0 2px 10px rgba(0,0,0,.35)}
@media (max-width:575px){
  .post-hero img{height:34vh;min-height:200px}
  .post-hero-copy h1{font-size:23px}
}

/* ============ BYLINE ============ */
.post-byline{
  max-width:740px;margin:22px auto 0;padding:0 20px 22px;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.post-byline .author{font-size:14.5px;font-weight:700;color:var(--ink)}
.post-share{width:38px;height:38px;border-radius:50%;background:var(--chip);display:grid;place-items:center;color:var(--ink);text-decoration:none;font-size:16px;transition:.15s}
.post-share:hover{background:#1877F2;color:#fff}

/* ============ ARTICLE BODY ============ */
.post-body{max-width:740px;margin:0 auto;padding:30px 20px 20px;font-size:16.5px;line-height:1.8;color:var(--text)}
.post-body p{margin:0 0 22px}
.post-body img{width:100%;border-radius:12px;margin:8px 0 26px;box-shadow:var(--shadow)}
.post-body a{color:var(--tma-orange-dark);font-weight:600;text-decoration:underline}
.post-body h2{font-size:22px;margin:34px 0 16px}
.post-body h3{font-size:18px;margin:28px 0 12px}
.post-body ul,.post-body ol{margin:0 0 22px;padding-left:22px}
.post-body li{margin-bottom:8px}
@media (max-width:575px){
  .post-body{font-size:15.5px;padding:24px 18px 12px}
}

/* ============ RELATED POSTS (reuses the blog index card pattern) ============ */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.blog-card{text-decoration:none;color:inherit;display:block}
.blog-card-media{position:relative;width:100%;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--chip)}
.blog-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.blog-card:hover .blog-card-media img{transform:scale(1.06)}
.blog-card-tag{position:absolute;top:10px;left:10px;background:rgba(255,255,255,.95);color:var(--tma-orange-dark);font-size:11px;font-weight:800;padding:5px 11px;border-radius:999px}
.blog-card h3{font-size:15px;font-weight:700;line-height:1.4;margin-top:12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.blog-card:hover h3{color:var(--tma-orange-dark)}
@media (max-width:700px){
  .blog-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .blog-card h3{font-size:13.5px;margin-top:8px}
}
