/* Family Cycling Journal 1.0.11: accent colour per article and journal panels
   (key numbers, Good to know, Best for). */
body.fcj{--acc:#B53F26;--acc-soft:#F8E1DA}
body.fcb-acc-water{--acc:#2D6A8E;--acc-soft:#DCEBF2}
body.fcb-acc-forest{--acc:#3F6E3A;--acc-soft:#E3EFD9}
body.fcb-acc-park{--acc:#9A4A12;--acc-soft:#FBE7CC}
body.fcb-acc-heritage{--acc:#6A4C80;--acc-soft:#ECE2F1}
body.fcb-acc-trail{--acc:#24635F;--acc-soft:#DCEFEC}
body.fcb-acc-coral{--acc:#B53F26;--acc-soft:#F8E1DA}

/* accent touches on articles */
body[class*="fcb-acc-"] .fcj-sec>.fcj-kick,body[class*="fcb-acc-"] .fcj-toc .fcj-toc-h{color:var(--acc)}
body[class*="fcb-acc-"] .fcj-glance .hd{background:var(--acc)}
body[class*="fcb-acc-"] .fcj-toc li::before{background:var(--acc-soft)}
body[class*="fcb-acc-"] .fcj-intro>p:first-child::first-letter{color:var(--acc)}
body[class*="fcb-acc-"] .fcj-statband{background:linear-gradient(var(--acc),var(--acc)) left top/100% 8px no-repeat,#fff;padding-top:8px}
body[class*="fcb-acc-"] .fcj-sec>h2::after{content:"";display:block;width:72px;height:6px;margin-top:10px;border-radius:6px;background:var(--acc);opacity:.85}
body[class*="fcb-acc-"] .fcj-glance .hd h2::after{display:none}

/* shared panel label */
.fcj .fcb-h,.fcj p.fcb-h{font:700 28px/1 var(--scrawl);color:var(--acc);margin:0 0 10px}

/* key numbers */
.fcj .fcb-keys{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:34px 0 38px}
.fcj .fcb-keys>.fcb-key,.fcj .fcb-keys>p{margin:0;background:#fff;border:var(--line);border-radius:18px;box-shadow:4px 4px 0 var(--ink);padding:14px 16px 16px;font:700 14.5px/1.4 var(--body);color:var(--ink)}
.fcj .fcb-keys>p:nth-child(even){transform:rotate(.6deg)}
.fcj .fcb-keys>p:nth-child(odd){transform:rotate(-.5deg)}
.fcj .fcb-keys strong{display:block;font:400 40px/1 var(--hand);color:var(--acc);margin:0 0 6px;letter-spacing:-.01em}

/* Good to know */
.fcj .fcb-tips{position:relative;background:var(--acc-soft);border:var(--line);border-radius:22px;padding:30px 24px 18px;margin:44px 0 36px;box-shadow:5px 5px 0 var(--ink)}
.fcj .fcb-tips>.fcb-h{position:absolute;top:-20px;left:18px;background:var(--acc);color:#fff;border:var(--line);border-radius:12px;padding:2px 14px;transform:rotate(-2deg);font-size:26px}
.fcj .fcb-tips ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.fcj .fcb-tips li{position:relative;margin:0;padding:2px 0 2px 38px;font:600 16px/1.5 var(--body)}
.fcj .fcb-tips li::before{content:"";position:absolute;left:0;top:2px;width:26px;height:26px;border-radius:50%;border:2px solid var(--ink);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232B2A33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;box-sizing:border-box}
.fcj .fcb-tips li strong{font-weight:800}

/* Best for: age strip */
.fcj .fcb-ages{margin:30px 0 36px}
.fcj .fcb-ages ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.fcj .fcb-ages li{margin:0;background:#fff;border:var(--line);border-radius:18px;padding:12px 14px 14px;font:600 14.5px/1.45 var(--body);box-shadow:3px 3px 0 var(--ink);position:relative;overflow:hidden}
.fcj .fcb-ages li::before{content:"";position:absolute;left:0;top:0;right:0;height:6px;background:var(--acc)}
.fcj .fcb-ages li strong{display:block;font:400 23px/1.1 var(--hand);color:var(--ink);margin:4px 0 4px}

@media (max-width:640px){
 .fcj .fcb-keys{grid-template-columns:1fr 1fr;gap:10px}
 .fcj .fcb-keys strong{font-size:32px}
 .fcj .fcb-tips{padding:28px 16px 14px}
 .fcj .fcb-ages ul{grid-template-columns:1fr}
}
@media print{.fcj .fcb-keys>p{transform:none;box-shadow:none}.fcj .fcb-tips{box-shadow:none}}
