/* ============================================================
   הבלוג של מאסטר פיס — /blog
   נשען על site.css (טוקנים, כפתורים, .prod, .subscribe). כאן רק מה שייחודי לבלוג.
   ============================================================ */

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* ---------- category colors ---------- */
.c0{--cc:#C02860;}      /* הגשמת חלומות */
.c1{--cc:#C4365F;}       /* אהבה עצמית */
.c2{--cc:#8A6212;}       /* כסף שמח */
.c3{--cc:var(--wine);}       /* מיגנוט */
.c4{--cc:#B9472F;}      /* זוגיות ומשפחה */
.c5{--cc:#7A559E;}      /* זמן ואנרגיה */
.c6{--cc:var(--plum);}       /* אימון ושיטת מאסטר פיס */
.c7{--cc:var(--berry-deep);} /* השראה */
.chip-s{display:inline-flex;align-items:center;font-size:13.5px;font-weight:700;line-height:1;color:var(--cc,var(--berry-deep));
  background:#fff;border:1.5px solid color-mix(in srgb,var(--cc,var(--berry)) 45%,#fff);border-radius:999px;padding:5px 11px;white-space:nowrap;}

/* ---------- index hero ---------- */
.bhero{padding:40px 0 6px;text-align:center;}
.bhero h1{color:var(--berry);font-size:clamp(40px,7vw,68px);text-shadow:0 3px 0 #fff,0 14px 30px rgba(212,47,106,.22);margin:0 0 10px;}
.bhero .sub{max-width:620px;margin:0 auto;font-size:clamp(17px,2.2vw,20px);color:var(--ink-soft);}

/* ---------- tools ---------- */
.blist{padding-top:22px;}
.btools{display:flex;flex-direction:column;gap:14px;align-items:stretch;max-width:900px;margin:0 auto 10px;}
.bsearch input{width:100%;font:inherit;font-size:18px;min-height:54px;padding:12px 48px 12px 18px;border:1.5px solid var(--line);border-radius:999px;color:var(--ink);
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23A81D50' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat right 16px center;
  box-shadow:0 10px 24px -18px rgba(90,20,48,.5);-webkit-appearance:none;appearance:none;}
.bsearch input:focus{outline:none;border-color:var(--berry);box-shadow:0 0 0 4px rgba(212,47,106,.14);}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;}
.chip{font:inherit;font-weight:700;font-size:15.5px;min-height:44px;padding:8px 16px;border-radius:999px;cursor:pointer;touch-action:manipulation;
  color:var(--cc,var(--berry-deep));background:rgba(255,255,255,.75);border:1.5px solid color-mix(in srgb,var(--cc,var(--berry)) 40%,#fff);transition:transform .12s,background .12s;}
.chip span{font-weight:600;font-size:13px;}
.chip:active{transform:scale(.96);}
.chip.on{background:var(--cc,var(--berry));color:#fff;border-color:transparent;}
.chip:not([class*=" c"]){--cc:#C02860;}
.bcount{text-align:center;color:var(--ink-faint);font-size:15px;margin:6px 0 16px;min-height:22px;}
.bempty{text-align:center;font-size:18px;color:var(--ink-soft);padding:20px 0;}

/* ---------- cards ---------- */
.bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.bcard{position:relative;display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--ink);background:var(--paper);
  border-radius:22px;padding:18px 20px 18px;box-shadow:0 16px 34px -24px rgba(90,20,48,.6);border-top:4px solid var(--gold-mid);
  transition:transform .16s,box-shadow .16s;touch-action:manipulation;min-width:0;}
.bcard:hover{transform:translateY(-3px);box-shadow:0 22px 40px -24px rgba(90,20,48,.7);}
.bcard:active{transform:scale(.985);}
.bc-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;}
.bc-top time{font-size:14px;color:var(--ink-faint);}
.bc-t{font-family:var(--font-serif);font-weight:700;font-size:21px;line-height:1.3;color:var(--wine);overflow-wrap:anywhere;}
.bc-x{font-size:16px;line-height:1.55;color:var(--ink-soft);flex:1;overflow-wrap:anywhere;}
.bc-go{font-family:var(--font-display);font-weight:700;font-size:15px;color:var(--berry);display:inline-flex;gap:6px;align-items:center;}
.bc-go:after{content:"←";transition:transform .15s;}
.bcard:hover .bc-go:after{transform:translateX(-4px);}
html.js .bcard.hide{display:none;}

/* ---------- post ---------- */
.post{padding:30px 0 10px;}
.post-wrap{max-width:var(--narrow);margin:0 auto;padding:0 18px;}
.crumbs{font-size:15px;color:var(--ink-faint);margin:0 0 14px;}
.crumbs a{color:var(--berry-deep);text-decoration:none;font-weight:600;}
.crumbs a:hover{text-decoration:underline;}
.post-t{font-family:var(--font-serif);font-weight:700;color:var(--wine);font-size:clamp(30px,5.2vw,44px);line-height:1.2;margin:0 0 14px;overflow-wrap:anywhere;}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:15px;color:var(--ink-faint);margin:0 0 22px;
  padding-bottom:18px;border-bottom:1px solid var(--line);}
.plead{font-family:var(--font-serif);font-size:21px;line-height:1.55;color:var(--berry-deep);font-weight:500;
  border-inline-start:4px solid var(--gold-mid);padding:2px 16px 2px 0;margin:0 0 22px;}
.post-body{font-size:19px;line-height:1.75;color:var(--ink);overflow-wrap:anywhere;}
.post-body p{margin:0 0 1.05em;}
.post-body strong{color:var(--wine);}
.pimg{margin:22px auto;max-width:520px;}
.pimg img{width:100%;border-radius:18px;box-shadow:0 18px 40px -26px rgba(90,20,48,.7);}
.pyt{position:relative;display:block;margin:22px auto;max-width:560px;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px -26px rgba(90,20,48,.7);}
.pyt img{width:100%;aspect-ratio:16/9;object-fit:cover;}
.pyt-play{position:absolute;inset:0;margin:auto;width:72px;height:72px;border-radius:50%;background:rgba(212,47,106,.92);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:28px;padding-inline-start:4px;}
.psig{font-family:var(--font-serif);font-size:21px;line-height:1.5;color:var(--wine);font-weight:700;margin:26px 0 8px;}
.psig-mp{display:block;font-family:var(--font-body);font-size:15px;font-weight:600;color:#8A6212;letter-spacing:.06em;margin-top:2px;}
.pps{font-size:17px;color:var(--ink-soft);}

/* CTA box after the post (reuses .prod colors from site.css) */
.post-cta{margin:34px 0 10px;min-height:0;}
.post-cta:hover{transform:none;}
.post-cta .top{padding:16px 14px 26px;}
.pc-in{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:14px 20px 22px;}
.pc-eyebrow{font-size:13px;letter-spacing:.14em;font-weight:700;color:var(--ink-faint);}
.post-cta .ln{padding:0 0 10px;font-size:17px;flex:none;}

/* more posts */
.more{padding-top:30px;}
.bgrid.three{margin-bottom:20px;}

.subscribe .sub-note{margin:-8px 0 16px;opacity:.95;}

@media(max-width:900px){
  .bgrid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .bhero{padding-top:28px;}
  .bgrid,.bgrid.three{grid-template-columns:1fr;gap:14px;}
  .chips{justify-content:center;flex-wrap:wrap;gap:6px;}
  .chips::-webkit-scrollbar{display:none;}
  .chip{flex:none;font-size:14px;min-height:40px;padding:6px 12px;}
  .bc-t{font-size:20px;}
  .post-wrap{padding:0 16px;}
}

#more{margin-top:34px;}

/* ---------- chips as links + topic pages (/blog/topic/<slug>) ---------- */
a.chip{display:inline-flex;align-items:center;gap:5px;text-decoration:none;}
a.chip-s{text-decoration:none;}
a.chip-s:hover,a.chip-s:focus-visible{background:color-mix(in srgb,var(--cc,var(--berry)) 10%,#fff);}
.bhero .crumbs{justify-content:center;margin-bottom:10px;}
.topic-h{text-align:center;font-size:clamp(22px,3.2vw,28px);margin:6px 0 18px;}
.topic-cta{max-width:var(--narrow);margin:34px auto 30px;}
