/* The Vika Journal (blog). Loaded only on journal pages. Uses the shop's black and white tokens from vika.css. */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- List ---------- */
.jlist-head{max-width:760px;margin:6px 0 34px}
.jlist-head h1{font-size:clamp(34px,5vw,56px);margin:10px 0 14px}
.jlist-head .eyebrow a{text-decoration:underline;text-underline-offset:3px}
.jchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.jchips a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:999px;font-size:13.5px;letter-spacing:.02em}
.jchips a:hover{border-color:var(--ink)}
.jchips a[aria-current]{background:var(--ink);border-color:var(--ink);color:var(--ivory)}
.blist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px}
.bcard{display:grid;gap:10px;align-content:start;min-width:0}
.bcard-im{display:block;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:var(--linen)}
.bcard-im img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.bcard:hover .bcard-im img{transform:scale(1.03)}
.bcard .eyebrow{margin-top:6px}
.bcard h2{font-size:clamp(21px,2vw,25px);line-height:1.2}
.bcard h2 a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.bcard p{margin:0;color:#3F3F3F;font-size:15.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bcard-more{font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;text-decoration:underline;text-underline-offset:5px;justify-self:start;padding:8px 0}
.jpages{display:flex;gap:8px;justify-content:center;margin-top:44px}
.jpages .page-numbers{display:inline-flex;min-width:44px;height:44px;padding:0 14px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;font-size:14px}
.jpages .current{background:var(--ink);color:var(--ivory);border-color:var(--ink)}
.jpages:empty{display:none}

/* ---------- Post ---------- */
.jwrap{max-width:calc(780px + 2 * var(--gutter))}
.jcrumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);margin-bottom:26px}
.jcrumbs a{display:inline-block;padding:6px 0}
.jcrumbs a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.jhead h1{font-size:clamp(33px,5.2vw,54px);line-height:1.08;margin:12px 0 16px;letter-spacing:-.005em}
.jmeta{margin:0 0 26px;font-size:13.5px;color:var(--muted)}
.jcover{margin:0 0 30px}
.jcover img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r);background:var(--linen)}
.jtoc{border:1px solid var(--line);border-radius:var(--r);padding:4px 20px;margin:0 0 34px;background:var(--white)}
.jtoc summary{cursor:pointer;padding:14px 0;font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center}
.jtoc summary::-webkit-details-marker{display:none}
.jtoc summary::after{content:"+";font-size:20px;font-weight:400;letter-spacing:0;line-height:1}
.jtoc[open] summary::after{content:"\2212"}
.jtoc ol{margin:0;padding:4px 0 14px 1.3em;display:grid;gap:2px;font-size:15.5px}
.jtoc li::marker{color:var(--muted);font-size:13px}
.jtoc a{display:block;padding:7px 0;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
.jtoc a:hover{text-decoration-color:var(--ink)}

.jbody{font-size:17.5px;line-height:1.72;color:#2B2B2B;overflow-wrap:break-word}
.jbody>*:first-child{margin-top:0}
.jbody p{margin:0 0 1.2em}
.jbody h2{font-size:clamp(27px,3.2vw,36px);line-height:1.14;margin:2em 0 .6em;color:var(--ink);scroll-margin-top:calc(var(--head) + 16px)}
.jbody h3{font-size:clamp(21px,2.2vw,25px);line-height:1.22;margin:1.7em 0 .5em;color:var(--ink)}
.jbody ul,.jbody ol{margin:0 0 1.3em;padding-left:1.25em}
.jbody li{margin:.5em 0;padding-left:.15em}
.jbody li::marker{color:var(--ink)}
.jbody ol li::marker{font-weight:600}
.jbody strong{font-weight:600;color:var(--ink)}
.jbody a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.jbody a:hover{text-decoration-thickness:2px}
.jbody .card a,.jbody a.btn,.jbody .bshop a{text-decoration:none}
.jbody .card h3{margin:0;font-size:16px}
.jbody .card h3 a:hover{text-decoration:underline}
.jfig{margin:2em 0}
.jfig img{width:100%;height:auto;border-radius:var(--r);border:1px solid var(--line)}
.jfig figcaption{margin-top:10px;font-size:13.5px;color:var(--muted);line-height:1.5}
.jnote{background:var(--linen);border-radius:var(--r);padding:22px 24px;margin:1.9em 0}
.jnote>*:last-child{margin-bottom:0}
.jnote .eyebrow{margin:0 0 10px;color:var(--ink)}
.jnote ul,.jnote ol{margin-bottom:0}
.jtable{overflow-x:auto;margin:1.9em 0;-webkit-overflow-scrolling:touch}
.jtable table{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.45}
.jtable table:has(th:nth-child(3)){min-width:520px}
.jtable th{text-align:left;padding:12px 14px 12px 0;border-bottom:1px solid var(--ink);font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--ink);white-space:nowrap}
.jtable td{padding:13px 14px 13px 0;border-bottom:1px solid var(--line);vertical-align:top}
.jtable td:first-child{font-weight:600;color:var(--ink)}
.jsrc{font-size:14.5px;color:#4A4A4A}
.jsrc li{margin:.35em 0}

/* Product cards inside a post */
.bshop{margin:2.1em 0;padding:22px 0 6px;border-top:1px solid var(--ink)}
.bshop-h{margin:0 0 18px!important;font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;color:var(--ink)}
.jbody .bgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 16px;font-size:16px;line-height:1.5}
.jbody .bgrid-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}
.jbody .bgrid-1{grid-template-columns:minmax(0,260px)}

/* End of post */
.jend{margin:54px 0 0;padding:34px 30px;border-radius:var(--r);background:var(--ink);color:#D9D9D9;display:grid;gap:10px;justify-items:start}
.jend .eyebrow{color:#BDBDBD;margin:0}
.jend-h{font-family:var(--display);font-size:clamp(26px,3.4vw,36px);line-height:1.12;color:var(--ivory);margin:0}
.jend p{margin:0;font-size:16px;line-height:1.6;max-width:52ch}
.jend .btn{margin-top:10px}
.jrel{margin-top:clamp(54px,7vw,88px)}
.jrel>h2{margin-bottom:26px}

@media (max-width:900px){
  .blist{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 20px}
}
@media (max-width:620px){
  .blist{grid-template-columns:minmax(0,1fr);gap:34px}
  .jbody{font-size:17px}
  .jbody .bgrid,.jbody .bgrid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;max-width:none}
  .jend{padding:28px 22px}
  .jtoc{padding:2px 16px}
  .jcrumbs{margin-bottom:18px}
  .jtable table{font-size:15px}
  .jtable th{white-space:normal}
  .jtable{margin-right:calc(-1 * var(--gutter));padding-right:var(--gutter)}
}
