/* Insight page (and the admin preview, which reuses these styles) */
.insight-main{flex:1;padding-bottom:var(--space-12)}
.insight-intro{padding:var(--space-12) 0 var(--space-5);display:flex;flex-direction:column;gap:20px;max-width:820px}
.insight-intro h1{font-size:64px;line-height:1.02;font-weight:700;letter-spacing:-0.02em;margin:0;text-wrap:balance;color:var(--black-pure)}
.insight-intro p{font-size:18px;line-height:1.5;color:var(--text-secondary);margin:0}

.insight-filters{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0 32px;border-bottom:1px solid var(--hairline);margin-bottom:40px}
.insight-chip{
  font:inherit;font-size:13.5px;font-weight:500;cursor:pointer;color:var(--black);
  background:var(--white);border:1px solid var(--hairline);border-radius:999px;padding:9px 16px;
  transition:border-color .2s ease,background-color .2s ease,color .2s ease;
}
.insight-chip:hover{border-color:var(--accent)}
.insight-chip[aria-pressed="true"]{background:var(--black-pure);border-color:var(--black-pure);color:var(--white)}

.insight-status{color:var(--muted);font-size:15px}
.insight-feed{display:flex;flex-direction:column}
.insight-cols{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:32px;align-items:start}
.insight-feed[data-cols="2"] .insight-cols{--cols:2}
.insight-feed[data-cols="1"] .insight-cols{--cols:1}
.insight-col{display:flex;flex-direction:column;gap:112px;min-width:0}
/* thin rule centred in the gap so each post is clearly separate from the next */
.insight-col > .post-card + .post-card::before{content:"";position:absolute;left:0;right:0;top:-56px;border-top:1px solid #CFCEC8;pointer-events:none}
.insight-related .insight-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;align-items:start}
.insight-empty{grid-column:1/-1;padding:56px 0;max-width:60ch}
.insight-empty h2{font-size:28px;font-weight:600;letter-spacing:-0.02em;margin:0 0 10px}
.insight-empty p{font-size:16px;line-height:1.5;color:var(--text-secondary);margin:0}
.insight-empty a{text-decoration:underline;text-underline-offset:3px}

/* Cards */
.post-card{position:relative;display:flex;flex-direction:column;gap:16px;min-width:0}
/* Photos always show in full: natural shape, capped height, letterboxed on a light ground */
.post-cover{display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--paper);position:relative}
.post-cover img{display:block;max-width:100%;width:auto;height:auto;max-height:440px;object-fit:contain;transition:transform .6s ease}
.post-card:hover .post-cover img{transform:scale(1.03)}
.post-cover.is-book{padding:18px}
.post-cover.is-book img{max-height:300px;box-shadow:0 6px 18px rgba(0,0,0,.15)}
.post-card-head{display:flex;flex-direction:column;gap:10px}
.post-card-body{display:flex;flex-direction:column;gap:10px}
.post-kicker{display:flex;gap:12px;align-items:center;font-size:12px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted)}
.post-type{color:var(--accent-deep);font-weight:600}
.post-card h3{font-size:21px;line-height:1.3;font-weight:600;letter-spacing:-0.01em;margin:0}
.post-card h3 a{color:var(--black-pure)}
.post-card h3 a::after{content:"";position:absolute;inset:0}
.post-card:hover h3 a{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:4px}
.post-meta{font-size:13px;font-weight:500;color:var(--text-secondary)}
.post-card p{font-size:15px;line-height:1.55;color:var(--text-secondary);margin:0}
.post-more{font-size:13.5px;font-weight:600;color:var(--black-pure)}
.post-pin{font-size:10.5px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--accent-deep);background:var(--white);border:1px solid #BFE5DA;padding:2px 7px;border-radius:2px}
.post-play{
  position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;
  background:rgba(0,0,0,.65);
}
.post-play::after{content:"";position:absolute;left:23px;top:18px;border-left:18px solid #fff;border-top:11px solid transparent;border-bottom:11px solid transparent}

/* Featured (lead) card spans the row */
.post-card.is-featured{display:grid;grid-template-columns:1.35fr 1fr;grid-template-areas:"cover head" "cover body";column-gap:40px;row-gap:14px;padding-bottom:56px;margin-bottom:56px;border-bottom:1px solid #CFCEC8}
.post-card.is-featured .post-cover{grid-area:cover}
.post-card.is-featured .post-card-head{grid-area:head;align-self:end}
.post-card.is-featured .post-card-body{grid-area:body;align-self:start}
.post-card.is-featured .post-cover img{max-height:560px}
.post-card.is-featured h3{font-size:34px;line-height:1.15;letter-spacing:-0.02em}
.post-card.is-featured p{font-size:16px}

/* Thought cards: text-first, shown in full */
.post-card-thought{background:var(--accent-tint);padding:26px 26px 24px;gap:12px}
.post-card-thought h3{font-size:19px}
.post-card-thought h3 a::after{content:none}
.post-card-thought .post-prose{font-size:16px}
.post-card-thought .post-prose p{font-size:16px;color:var(--black);margin:0 0 .8em}
.post-card-thought .post-prose > :last-child{margin-bottom:0}
.post-card-thought .post-more{color:var(--accent-deep)}

/* Single post */
.insight-post{max-width:780px;margin:0 auto;padding:var(--space-8) 0 0}
.insight-back{display:inline-block;font-size:14px;font-weight:500;color:var(--text-secondary);padding:8px 0;margin-bottom:24px}
.insight-back:hover{color:var(--accent)}
.post-full{display:flex;flex-direction:column;gap:28px}
.post-full-head{display:flex;flex-direction:column;gap:16px}
.post-full h1{font-size:48px;line-height:1.08;font-weight:700;letter-spacing:-0.02em;margin:0;text-wrap:balance;color:var(--black-pure)}
.post-standfirst{font-size:21px;line-height:1.5;color:var(--black);margin:0;letter-spacing:-0.01em}
.post-hero{margin:0}
.post-hero{background:var(--paper);display:flex;flex-direction:column;align-items:center}
.post-hero img{display:block;max-width:100%;width:auto;height:auto;max-height:80vh;object-fit:contain}
.post-hero figcaption{align-self:stretch;background:var(--white);margin-top:0;padding-top:8px}
.post-hero.is-book{background:var(--paper);padding:32px;display:flex;justify-content:center}
.post-hero.is-book img{width:auto;max-width:100%;max-height:460px;box-shadow:0 10px 28px rgba(0,0,0,.15)}
.post-hero figcaption,.post-photos figcaption{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.4}
.post-embed{position:relative;aspect-ratio:16/9;background:#000}
.post-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.post-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px 24px;margin:0;padding:20px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline)}
.post-facts dt{font-size:11.5px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.post-facts dd{margin:0;font-size:15px;font-weight:500;color:var(--black)}
.post-quote{margin:0;font-size:24px;line-height:1.45;letter-spacing:-0.01em;color:var(--black-pure);border-left:3px solid var(--accent);padding-left:22px}

.post-prose{font-size:18px;line-height:1.7;color:var(--black)}
.post-prose p{margin:0 0 1.1em}
.post-prose h2{font-size:28px;line-height:1.25;letter-spacing:-0.02em;margin:1.6em 0 .6em}
.post-prose h3{font-size:21px;line-height:1.3;margin:1.4em 0 .5em}
.post-prose blockquote{margin:1.4em 0;padding-left:20px;border-left:3px solid var(--accent);font-size:1.1em;color:var(--black-pure)}
.post-prose ul,.post-prose ol{margin:0 0 1.1em;padding-left:1.3em}
.post-prose li{margin-bottom:.4em}
.post-prose a{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
.post-prose img{max-width:100%;display:block;margin:1.4em 0}
.post-prose > :first-child{margin-top:0}

.post-photos{display:grid;gap:8px;grid-template-columns:repeat(2,1fr)}
.post-photos.n1{grid-template-columns:1fr}
.post-photos figure{margin:0}
.post-photos img{width:100%;aspect-ratio:4/3;object-fit:contain;display:block;background:var(--paper)}
.post-photos.n1 img{aspect-ratio:auto;max-height:80vh}
.post-full .post-photos{gap:20px 12px}

.post-actions{display:flex;gap:12px;flex-wrap:wrap}
.post-tags{display:flex;gap:8px;flex-wrap:wrap}
.post-tags span{font-size:12.5px;font-weight:500;color:var(--text-secondary);border:1px solid var(--hairline);padding:5px 10px}

.post-share{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:40px;padding:20px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);font-size:14px;font-weight:500}
.post-share span{color:var(--muted);font-size:12px;letter-spacing:0.08em;text-transform:uppercase;font-weight:600}
.post-share a:hover,.post-copy:hover{color:var(--accent)}
.post-copy{font:inherit;font-size:14px;font-weight:500;background:none;border:none;padding:0;cursor:pointer;color:var(--black)}

.insight-related{margin-top:var(--space-8)}
.insight-related h2{font-size:26px;font-weight:600;letter-spacing:-0.02em;margin:0 0 24px}
.insight-related .insight-feed{grid-template-columns:repeat(3,1fr)}
.insight-post .insight-related{width:min(1344px,100vw - 96px);margin-left:50%;transform:translateX(-50%)}

@media (max-width: 900px){
  .insight-related .insight-feed{grid-template-columns:repeat(2,1fr)}
  .post-card.is-featured{display:flex;gap:16px}
  .insight-intro h1{font-size:48px}
  .insight-post .insight-related{width:auto;margin-left:0;transform:none}
}
@media (max-width: 600px){
  .insight-intro{padding:40px 0 24px}
  .insight-intro h1{font-size:34px;line-height:1.1}
  .insight-intro p{font-size:16px}
  .insight-filters{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px 28px;padding:4px 20px 20px;scrollbar-width:none}
  .insight-filters::-webkit-scrollbar{display:none}
  .insight-chip{flex:0 0 auto}
  .insight-related .insight-feed{grid-template-columns:1fr;gap:36px}
  .insight-col{gap:88px}
  .insight-col > .post-card + .post-card::before{top:-44px}
  .post-card.is-featured{margin-bottom:44px}
  .post-card.is-featured h3{font-size:24px}
  .post-cover img,.post-card.is-featured .post-cover img{max-height:420px}
  .post-card.is-featured{padding-bottom:44px}
  .insight-post{padding-top:24px}
  .post-full h1{font-size:32px}
  .post-standfirst{font-size:18px}
  .post-prose{font-size:17px}
  .post-prose h2{font-size:23px}
  .post-quote{font-size:20px}
  .post-hero.is-book{padding:20px}
  .post-full .post-photos{grid-template-columns:1fr;gap:20px}
  .post-full .post-photos img{aspect-ratio:auto;max-height:75vh}
  .post-actions .btn{flex:1 1 auto;text-align:center}
}
