/* Blog (12 Oct 2026): the list of posts and a post. Uses page-info.css for the band and the text. */
/* the list (founder, 15 Nov 2026): small cards, title left, photo right; 1, 2 or 3 a row as the screen allows */
.blog-grid-wrap{ width:100%; max-width:calc(1200px + 2 * var(--gutter)); margin:0 auto; padding:0 var(--gutter); }
.blog-grid{ list-style:none; margin:0; padding:0; display:grid; gap:20px; }
@media (min-width:700px){ .blog-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (min-width:1100px){ .blog-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px; } }
.blog-card{ border-radius:6px; overflow:hidden; background:#fff; border:1px solid rgba(27,61,34,.10);
  box-shadow:0 1px 2px rgba(14,36,20,.06), 0 8px 18px -8px rgba(14,36,20,.18); transition:box-shadow .25s, transform .25s; }
.blog-card-link{ display:grid; grid-template-columns:minmax(0, 1fr) 42%; min-height:150px; height:100%; color:inherit; text-decoration:none; }
.blog-card.no-photo .blog-card-link{ grid-template-columns:1fr; }
.blog-card-text{ display:flex; flex-direction:column; justify-content:space-between; gap:12px; padding:16px 16px 14px 18px; }
.blog-card h2{ margin:0; font-size:19px; line-height:1.25; color:var(--deep); }
.blog-card-sub{ display:block; margin-top:5px; font:500 14px/1.35 var(--sans); color:var(--under); }
.blog-card .blog-meta{ margin:0; font-size:13px; }
.blog-card-photo{ position:relative; overflow:hidden; }   /* the photo fills the cell; the text sets the height */
.blog-card-img{ position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
@media (hover:hover){
  .blog-card:hover{ transform:translateY(-2px); box-shadow:0 1px 2px rgba(14,36,20,.06), 0 14px 28px -10px rgba(14,36,20,.26); }
  .blog-card-link:hover h2{ text-decoration:underline; text-decoration-color:var(--moss); text-decoration-thickness:1px; text-underline-offset:4px; }
}
.blog-card-link:focus-visible{ outline:2px solid var(--deep); outline-offset:3px; border-radius:6px; }
@media (prefers-reduced-motion:reduce){ .blog-card{ transition:none; } .blog-card:hover{ transform:none; } }
.blog-meta{ font-size:14px; color:var(--under) !important; }
.blog-cover{ margin:0 0 28px; }
.blog-cover img, .blog-photo img{ display:block; width:100%; height:auto; border-radius:16px; }
.blog-photo{ margin:24px 0; }
.blog-photo figcaption{ margin-top:8px; font-size:14px; color:var(--under); }
/* a photo in the text (founder, 15 Nov 2026): a little smaller and centred, so it looks crisp; slightly rounded
   corners, a fine edge and a soft layered shadow, like a framed print */
.blog-body .blog-photo{ max-width:620px; margin:32px auto; }
.blog-body .blog-photo img{ border-radius:4px; outline:1px solid rgba(27,61,34,.10); outline-offset:-1px;
  box-shadow:0 1px 2px rgba(14,36,20,.10), 0 8px 18px -6px rgba(14,36,20,.22), 0 24px 44px -18px rgba(14,36,20,.30); }
.blog-body .blog-photo figcaption{ margin-top:12px; }
.blog-body .blog-photos .blog-photo{ max-width:none; margin:0; }
/* the post's text in a white card like the destination pages' About card, headings in amber (founder, 24 Oct 2026) */
.blog-body{ padding:22px 20px; border-radius:16px; background:#fff;
  border:1px solid rgba(27,61,34,.12); box-shadow:0 1px 2px rgba(14,36,20,.04), 0 6px 18px -10px rgba(14,36,20,.18); }
@media (min-width:600px){ .blog-body{ padding:28px 32px; } }
@media (max-width:599px){ .blog-body{ margin:0 -12px; padding:20px 16px; border-radius:14px; } }
.blog-body h2{ margin-top:32px; color:var(--amber); }
/* ==name== in the post: amber, not bold, as the highlights in the destination About texts (founder, 15 Nov 2026) */
.blog-body .hl{ color:var(--amber); }
.blog-body h3{ margin:24px 0 8px; font-size:20px; color:var(--amber); }
.blog-body blockquote{ margin:20px 0; padding:4px 0 4px 18px; border-left:3px solid var(--moss); font-style:italic; }
.blog-body a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--moss); text-underline-offset:4px; }
.blog-dest{ margin:40px 0 0; padding:20px 22px; border-radius:16px; background:var(--parch); }
.blog-dest h2{ margin:0 0 8px; font-size:22px; }
.blog-dest ul{ margin:0; padding-left:20px; }
.blog-preview{ margin:0 0 20px; padding:10px 14px; border-radius:10px; border:1.5px dashed #E8850C; font-size:15px; }
.eyebrow a{ color:inherit; text-decoration:none; }
/* Photos written together, e.g. "{photo1} {photo2}": side by side on wider screens, one under another on phones */
.blog-photos{ display:grid; gap:12px; margin:24px 0; }
.blog-photos .blog-photo{ margin:0; }
.blog-photos .blog-photo img{ aspect-ratio:4/3; object-fit:cover; }
@media (min-width:600px){ .blog-photos{ grid-template-columns:1fr 1fr; } }

/* ============ A post opening with a portrait cover (28 Oct 2026, Dampa) ============
   The photo full screen high and uncropped on the right; the title on the forest night on the left. Phones: the photo
   first, the title under it. One bold element (the photo); the rest quiet. */
.post-hero{ position:relative; display:grid; background:var(--night); color:var(--cream); }
.post-hero-photo{ position:relative; margin:0; overflow:hidden; background:var(--deep); }
.post-hero-photo img{ display:block; width:100%; height:100%; object-fit:cover; object-position:42% 30%; }
.post-hero-photo::before{ content:""; position:absolute; inset:0 0 auto; height:120px; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(14,36,20,.55), rgba(14,36,20,0)); }          /* the header stays readable over the photo */
.post-hero-photo figcaption{ position:absolute; z-index:1; right:16px; bottom:14px; left:16px; text-align:left;
  font-size:12px; line-height:1.5; color:#cfd4d9; text-shadow:0 1px 4px rgba(0,0,0,.65); }
.post-hero-photo figcaption .credit{ display:block; }
.post-hero-text{ display:flex; flex-direction:column; justify-content:flex-end; padding:28px var(--gutter) 40px; }
.post-kicker{ margin:0 0 18px; font-size:15px; }
.post-kicker a{ color:var(--fern); text-decoration:none; border-bottom:1px solid rgba(143,191,90,.45); padding-bottom:2px; }
.post-kicker a:hover{ border-bottom-color:var(--fern); }
.post-hero h1{ margin:0; font:500 clamp(40px, 30px + 3vw, 72px)/1.02 var(--serif); letter-spacing:-.02em; color:var(--cream); }
.post-sub{ display:block; margin-top:14px; font:500 clamp(20px, 17px + .9vw, 28px)/1.25 var(--serif); letter-spacing:-.005em; color:var(--mist); }
.post-standfirst{ margin:24px 0 0; max-width:32em; font-size:clamp(17px, 16px + .3vw, 19px); line-height:1.6; color:rgba(251,248,236,.86); }
.post-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 0; margin:28px 0 0; font-size:14px; color:var(--mist); }
.post-meta > span::before{ content:""; display:inline-block; width:1px; height:12px; margin:0 12px; vertical-align:-1px; background:rgba(185,205,176,.5); }
.post-meta > span:first-child::before{ content:none; }
@media (max-width:899px){
  .post-hero-photo{ height:min(76svh, 640px); }
}
@media (min-width:900px){
  .post-hero{ grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr); min-height:100vh; min-height:100svh; }
  .post-hero-photo{ order:2; }
  /* the title starts high, like the full-screen opening, not pushed to the bottom (founder, 28 Oct 2026) */
  .post-hero-text{ order:1; justify-content:flex-start; padding:calc(88px + 9vh) clamp(40px, 5vw, 96px) clamp(48px, 8vh, 96px); }
  .post-hero-photo figcaption{ left:24px; right:96px; bottom:20px; }      /* bottom-left: the WhatsApp button sits bottom-right */
}

/* the article under it: a calmer reading rhythm for long posts (larger type, more leading, ~68 characters a line) */
.post-read{ padding-top:clamp(40px, 6vw, 72px); }
.post-read .blog-body{ font-size:clamp(17px, 16px + .35vw, 19px); line-height:1.75; }
.post-read .blog-body > p:first-child{ font-size:1.12em; line-height:1.65; color:var(--deep); }
.post-read .blog-body p{ margin:0 0 1.1em; max-width:68ch; }
.post-read .blog-body h2{ margin:2.2em 0 .6em; font:500 clamp(24px, 21px + .8vw, 30px)/1.2 var(--serif); }
.post-read .blog-body h3{ margin:1.8em 0 .5em; font:600 1em/1.3 var(--sans); letter-spacing:.01em; color:var(--under); }
.post-read .blog-body li{ margin:0 0 .5em; }
.post-read .blog-body strong{ color:var(--deep); font-weight:600; }
.post-read .blog-body em{ font-style:italic; }

/* Beside the text on wide screens (28 Oct 2026): "In this post" and the key facts, staying in view. The text keeps its
   ~68-character lines; the panel uses the side space for something a reader can use. Narrower screens: the text alone. */
.post-side{ display:none; }
.blog-body h2[id]{ scroll-margin-top:96px; }
@media (min-width:1100px){
  .info-wrap.post-wrap{ max-width:calc(1120px + 2 * var(--gutter)); }
  .post-layout{ display:grid; grid-template-columns:minmax(0, 760px) 300px; gap:48px; justify-content:center; align-items:start; }
  .post-wrap > :not(.post-layout){ max-width:760px; }       /* the travel box and links line up with the text column */
  .post-side{ display:block; position:sticky; top:96px; max-height:calc(100vh - 112px); overflow-y:auto; overscroll-behavior:contain; font-size:15px; color:var(--deep);
    scrollbar-width:thin; scrollbar-color:transparent transparent; transition:scrollbar-color .3s; }   /* taller than the window: it scrolls on its own */
  /* the scrollbar shows only while the pointer is on the panel, thin and soft (founder, 28 Oct 2026) */
  .post-side:hover, .post-side:focus-within{ scrollbar-color:rgba(47,93,52,.35) transparent; }
  .post-side::-webkit-scrollbar{ width:6px; }
  .post-side::-webkit-scrollbar-thumb{ border-radius:6px; background:transparent; }
  .post-side:hover::-webkit-scrollbar-thumb, .post-side:focus-within::-webkit-scrollbar-thumb{ background:rgba(47,93,52,.35); }
  /* more below: the panel's lower edge fades out (set by page-blog.js), gone at the end */
  .post-side.more{ -webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent); mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent); }
  .post-side-title{ margin:0 0 10px; font:500 19px/1.25 var(--serif); color:var(--deep); }
  .post-toc{ margin:0 0 28px; }
  .post-toc ol{ margin:0; padding:0; list-style:none; border-left:2px solid rgba(111,148,96,.3); }
  .post-toc a{ display:block; margin-left:-2px; padding:6px 0 6px 14px; border-left:2px solid transparent; color:var(--under); text-decoration:none; line-height:1.35; }
  .post-toc a:hover{ color:var(--deep); border-left-color:var(--moss); }
  .post-toc a.on{ color:var(--amber); border-left-color:var(--amber); font-weight:600; }
  .post-glance{ padding:18px 20px; border-radius:14px; background:var(--parch); }
  .post-glance dl{ margin:0; }
  .post-glance dl > div{ display:grid; grid-template-columns:7.5em 1fr; gap:10px; padding:7px 0; border-top:1px solid rgba(27,61,34,.1); }
  .post-glance dl > div:first-child{ border-top:0; padding-top:0; }
  .post-glance dt{ color:var(--under); }
  .post-glance dd{ margin:0; font-weight:600; }
}

/* ============ A wide cover full screen behind the title (28 Oct 2026, Similipal's black tiger) ============
   Wide screens: the photo edge to edge, the title over its darker left side. Phones: the photo at its own shape, the
   title under it (like the portrait opening). */
@media (max-width:899px){
  .post-full .post-hero-photo{ height:auto; overflow:visible; background:var(--night); }
  /* the photo starts below the see-through header, so nothing in it hides under the logo and menu (founder, 15 Nov
     2026: Lava's tragopan head was under the header) */
  .post-full .post-hero-photo{ padding-top:56px; }
  .post-full .post-hero-photo img{ height:auto; aspect-ratio:3/2; }
  .post-full .post-hero-photo figcaption{ position:static; padding:8px var(--gutter) 0; text-align:left; text-shadow:none; }  /* under the photo, the tiger left clear */
}
@media (min-width:768px) and (max-width:899px){ .post-full .post-hero-photo{ padding-top:88px; } }   /* the taller tablet header */
@media (min-width:900px){
  .post-hero.post-full{ display:block; min-height:100vh; min-height:100svh; }
  .post-full .post-hero-photo{ position:absolute; inset:0; }
  .post-full .post-hero-photo img{ object-position:62% 70%; }
  .post-full .post-hero-photo::after{ content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(90deg, rgba(14,36,20,.78) 0, rgba(14,36,20,.45) 30%, rgba(14,36,20,0) 50%),
               linear-gradient(0deg, rgba(14,36,20,.45) 0, rgba(14,36,20,0) 22%); }
  /* the title sits high, over the dark trees; the tiger walks along the bottom of the photo */
  .post-full .post-hero-text{ position:relative; z-index:2; min-height:100vh; min-height:100svh; justify-content:flex-start;
    padding-top:calc(88px + 9vh); max-width:calc(560px + 2 * clamp(40px, 5vw, 96px)); text-shadow:0 1px 12px rgba(0,0,0,.45); }
  .post-full .post-hero-photo figcaption{ left:auto; right:96px; bottom:20px; max-width:420px; text-align:right; }
}

/* Aritra's channels beside his name (28 Oct 2026): the footer's icons, small and quiet; each with a 32 px tap area */
.post-author{ display:inline-flex; align-items:center; }
.author-links{ display:inline-flex; align-items:center; gap:0; margin-left:6px; vertical-align:middle; }
.author-links a{ display:grid; place-items:center; width:30px; height:30px; margin:-7px 0; border-radius:50%; color:inherit; opacity:.92;
  transition:color var(--quick), opacity var(--quick), background var(--quick); }
.author-links a:hover, .author-links a:focus-visible{ opacity:1; background:rgba(255,255,255,.1); }   /* keeps each app's colour (site2.css) */
.author-links svg{ width:17px; height:17px; }
