/* Blog index and articles on option G (see DESIGN.md). Loaded after styles.css and home.css.
   Reading mode: the article column stays calm (body font, generous measure); the brand shows in the header,
   the pull quotes, the trainer's note and the closing card. */

/* ---------- index ---------- */
.blog-page .blog-hero{background:var(--tan);padding:84px 0 52px;text-align:left}
.blog-page .blog-hero .eyebrow{display:none}
.blog-page .blog-hero h1{font-family:var(--disp);font-weight:400;text-transform:uppercase;letter-spacing:.03em;font-size:clamp(46px,6vw,88px);line-height:.92;color:var(--ink);max-width:14ch;text-wrap:balance}
.blog-page .blog-hero p{font-size:19px;line-height:1.55;color:var(--ink-2);max-width:52ch;margin-top:20px}
.blog-page .blog-controls{margin-top:32px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.blog-page .blog-search input{font:400 16px/1.2 var(--sans);color:var(--ink);background:var(--paper);border:1px solid var(--line-2);border-radius:999px;padding:12px 18px;min-width:280px;box-shadow:none}
.blog-page .blog-search input:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 4px rgba(244,162,97,.25)}
.blog-page .blog-tags button,.blog-page .blog-tags [role="button"]{font:400 14.5px/1 var(--sans);color:var(--ink);background:var(--paper);border:1px solid var(--line-2);border-radius:999px;padding:10px 14px;cursor:pointer;box-shadow:none}
.blog-page .blog-tags button:hover{border-color:var(--ink)}
.blog-page .blog-tags button[aria-pressed="true"],.blog-page .blog-tags button.active,.blog-page .blog-tags button.is-active{background:var(--orange);border-color:var(--orange);color:var(--ink)}
.blog-page > main.container{padding-top:48px;padding-bottom:120px}
.blog-page .blog-count{font-size:14.5px;color:var(--ink-3)}
.blog-page .blog-grid{gap:44px 32px}
.blog-page .blog-card{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.blog-page .blog-card:hover{transform:none;box-shadow:none}
.blog-page .blog-card-image{border-radius:14px;aspect-ratio:16/9;object-fit:cover}
.blog-page .blog-card-body{padding:16px 0 0}
.blog-page .blog-card-meta{font-size:13.5px;color:var(--ink-3)}
.blog-page .blog-card-title{font-family:var(--sans);font-weight:500;font-size:21px;line-height:1.25;letter-spacing:-.01em;text-transform:none;margin-top:6px}
.blog-page .blog-card-title a{color:var(--ink);text-decoration:none;background:linear-gradient(var(--orange),var(--orange)) 0 100%/0 2px no-repeat;transition:background-size .3s}
.blog-page .blog-card:hover .blog-card-title a{background-size:100% 2px}
.blog-page .blog-card-excerpt{font-size:15.5px;line-height:1.55;color:var(--ink-2);margin-top:8px}
.blog-page .blog-card-tags span{font-size:12.5px;font-weight:500;background:var(--orange-wash);color:var(--orange-ink);border-radius:999px;padding:4px 10px;border:0}

/* ---------- article ---------- */
.blog-page .post{padding:56px 0 110px}
.blog-page .post .container-narrow{max-width:760px}
.blog-page .post-breadcrumb{font-size:14px;color:var(--ink-3)}
.blog-page .post-breadcrumb a{color:var(--ink-2);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.blog-page .post-header h1{font-family:var(--disp);font-weight:400;text-transform:uppercase;letter-spacing:.03em;font-size:clamp(40px,5.4vw,66px);line-height:.95;color:var(--ink);text-wrap:balance}
.blog-page .post-meta{font-size:14.5px;color:var(--ink-3)}
.blog-page .post-hero-image{border-radius:18px;box-shadow:none}
.blog-page .post-body{font-family:var(--sans);font-size:18px;line-height:1.7;color:var(--ink-2)}
.blog-page .post-body p,.blog-page .post-body li{max-width:68ch}
.blog-page .post-body h2{font-family:var(--sans);font-weight:500;font-size:28px;line-height:1.2;letter-spacing:-.01em;text-transform:none;color:var(--ink);margin-top:56px}
.blog-page .post-body h3{font-family:var(--sans);font-weight:500;font-size:21px;line-height:1.3;color:var(--ink)}
.blog-page .post-body strong{font-weight:500;color:var(--ink)}
.blog-page .post-body a{color:var(--orange-ink);text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px}
.blog-page .post-body img{border-radius:14px;box-shadow:none}

/* pull quote: no box, no stripe; a large quote mark and the line set big */
.blog-page .post-body blockquote{position:relative;border:0;background:none;border-radius:0;margin:44px 0;padding:46px 0 0;font-style:normal;font-size:clamp(22px,2.4vw,27px);line-height:1.35;color:var(--ink);max-width:30ch}
.blog-page .post-body blockquote::before{content:"\201C";position:absolute;top:0;left:-2px;font-family:var(--disp);font-size:120px;line-height:.8;color:var(--orange)}

/* a trainer's words: a taped paper note, like the home page's reviews */
.blog-page .testimonial{position:relative;margin:52px 0;padding:34px 30px 24px;background:var(--paper);border-radius:4px 7px 3px 6px;box-shadow:0 1px 1px rgba(9,24,32,.08),0 24px 44px -26px rgba(9,24,32,.45)}
.blog-page .testimonial::before{content:"";position:absolute;top:-12px;left:32px;width:92px;height:26px;background:#F6CC8F;opacity:.85;transform:rotate(-3deg);border-radius:2px}
.blog-page .testimonial-label{font-size:13.5px;font-weight:500;color:var(--orange-ink);margin:0 0 10px}
.blog-page .testimonial blockquote{margin:0;padding:0;max-width:none;font-size:19px;line-height:1.55;color:var(--ink)}
.blog-page .testimonial blockquote::before{content:none}
.blog-page .testimonial figcaption{margin-top:14px;font-size:14.5px;font-weight:500;color:var(--ink-2)}

/* the closing card: pink, Druk headline, one primary action, Fetch the dog looking over the edge */
.blog-page .post-cta{position:relative;margin-top:88px;padding:52px 44px 40px;text-align:left;background:#FFDBE9;border-radius:22px;color:var(--ink)}
.blog-page .post-cta::before{content:"";position:absolute;top:-58px;right:36px;width:112px;height:76px;background:url(/assets/dogs/fetch.png) center bottom/contain no-repeat}
.blog-page .post-cta h2{font-family:var(--disp);font-weight:400;text-transform:uppercase;letter-spacing:.03em;font-size:clamp(34px,4.2vw,50px);line-height:.95;color:var(--ink);max-width:16ch;text-wrap:balance}
.blog-page .post-cta p{font-size:17px;line-height:1.6;color:#4A3540;max-width:56ch;margin:16px 0 0}
.blog-page .post-cta .post-cta-note{font-size:14.5px;color:#6A5560;margin-top:10px}
.blog-page .post-cta .btn-primary{margin-top:24px;background:var(--orange);color:var(--ink);border:0}
.blog-page .post-cta .btn-primary:hover{background:var(--orange-2)}
.blog-page .post-cta br{display:none}
.blog-page .post-cta .post-cta-secondary{display:inline-block;margin:24px 0 0 18px;color:var(--ink);font-size:15.5px;text-decoration:underline;text-decoration-color:var(--ink);text-underline-offset:4px}

@media (max-width:640px){
  .blog-page .blog-hero{padding:56px 0 36px}
  .blog-page .blog-search input{min-width:0;width:100%}
  .blog-page .blog-search{width:100%}
  .blog-page .post-cta{padding:44px 22px 28px}
  .blog-page .post-cta::before{width:86px;height:58px;top:-44px;right:18px}
  .blog-page .post-cta .post-cta-secondary{display:block;margin:16px 0 0}
  .blog-page .testimonial{padding:30px 20px 20px}
}

/* the index's intro, search and count line up with the headline (they were centred blocks) */
.blog-page .blog-hero .container > *,.blog-page .blog-hero p,.blog-page .blog-controls,.blog-page .blog-count{margin-left:0;margin-right:auto}
.blog-page .blog-controls{justify-content:flex-start}

/* search: a drawn icon (Lucide "search"), never an emoji, with room for it in the field */
.blog-page .blog-search{position:relative}
.blog-page .blog-search::before{content:"";left:16px;width:18px;height:18px;opacity:1;font-size:0;background:var(--ink-3);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat}
.blog-page .blog-search input{padding-left:44px}
