/* Blog redesign (v1). Loaded AFTER style.css; uses its colour variables and fonts. Nothing in style.css is changed. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- toolbar: search + topic chips ---- */
.blog-tools{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;justify-content:space-between;margin:0 auto 36px;max-width:1100px}
.blog-search{flex:1 1 260px;max-width:380px;border:1px solid #d9d4c6;background:#fff;border-radius:999px;padding:12px 20px;font:inherit;font-size:15px;color:var(--text-dark)}
.blog-search:focus-visible{outline:2px solid var(--green-deep);outline-offset:2px}
.blog-tags{display:flex;flex-wrap:wrap;gap:8px}
.blog-chip{border:1px solid #cfd8c6;background:transparent;color:var(--green-deep);border-radius:999px;padding:8px 16px;font:inherit;font-size:13px;font-weight:600;letter-spacing:.03em;cursor:pointer;min-height:40px}
.blog-chip:hover{background:#fff}
.blog-chip[aria-pressed="true"]{background:var(--green-deep);border-color:var(--green-deep);color:#fff}

/* ---- featured (newest) story ---- */
.blog-featured{display:grid;grid-template-columns:1.15fr 1fr;background:#fff;border-radius:22px;overflow:hidden;max-width:1100px;margin:0 auto 40px;box-shadow:0 18px 50px -28px rgba(34,54,31,.35);position:relative}
.blog-featured-media{position:relative;min-height:340px;background:linear-gradient(150deg,#7AA66C,#355E3B)}
.blog-featured-media img,.blog-featured-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.blog-featured-body{padding:clamp(24px,4vw,48px);display:flex;flex-direction:column;justify-content:center;gap:14px}
.blog-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--green-sage);font-weight:700}
.blog-featured h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(30px,3.6vw,46px);line-height:1.1;margin:0;color:var(--text-dark)}
.blog-featured p{margin:0;color:var(--text-body);line-height:1.7;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.blog-meta{font-size:12px;letter-spacing:.05em;color:var(--text-muted);font-weight:600}
.blog-link{color:inherit;text-decoration:none}
.blog-link::after{content:"";position:absolute;inset:0}   /* whole card is clickable */
.blog-link:focus-visible{outline:2px solid var(--green-deep);outline-offset:4px}
.blog-readmore{align-self:flex-start;color:var(--green-deep);font-weight:700;font-size:14px;letter-spacing:.04em}

/* ---- grid cards (re-use .journal-card from style.css) ---- */
#blogGrid.journal-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));max-width:1100px;margin:0 auto}
#blogGrid .journal-card{position:relative}
#blogGrid .journal-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-more{text-align:center;margin:36px 0 8px}
.blog-empty{text-align:center;color:var(--text-body);padding:40px 12px}
.blog-empty button{margin-left:8px}

/* ---- single story page ---- */
.post{max-width:740px;margin:0 auto;padding:clamp(110px,14vw,150px) 20px 40px}
.post-back{display:inline-block;margin-bottom:22px;color:var(--green-deep);text-decoration:none;font-weight:600;font-size:14px}
.post-back:hover{text-decoration:underline}
.post h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(36px,6vw,60px);line-height:1.08;margin:8px 0 14px;color:var(--text-dark)}
.post-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;margin:22px 0 30px;background:linear-gradient(150deg,#7AA66C,#355E3B)}
.post-body{font-size:18px;line-height:1.85;color:var(--text-body)}
.post-body h2,.post-body h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;color:var(--text-dark);line-height:1.2;margin:1.8em 0 .5em}
.post-body h2{font-size:34px}.post-body h3{font-size:26px}
.post-body p{margin:0 0 1.2em}
.post-body blockquote{border-left:3px solid var(--green-sage);margin:1.6em 0;padding:.2em 0 .2em 1.2em;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:24px;color:var(--text-dark)}
.post-body img{max-width:100%;height:auto;border-radius:14px;margin:1em 0}
.post-body a{color:var(--green-deep)}
.post-body ul,.post-body ol{padding-left:1.4em;margin:0 0 1.2em}
.post-skeleton .sk-line{height:16px;margin:14px 0}
.related{max-width:1100px;margin:60px auto 0;padding:0 20px}
.related h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:34px;color:var(--text-dark);text-align:center;margin:0 0 24px}

/* ---- unsubscribe page ---- */
.unsub{max-width:520px;margin:0 auto;padding:clamp(120px,16vw,170px) 20px 60px;text-align:center}
.unsub h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:42px;color:var(--text-dark);margin:0 0 12px}
.unsub p{color:var(--text-body);line-height:1.7}
.unsub button{margin-top:18px}

@media (max-width:820px){
  .blog-featured{grid-template-columns:1fr}
  .blog-featured-media{min-height:240px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
