/* Cyber Forge journal pages — a sheet of white-hot paper on the dark forge background */
.jr-wrap { max-width: 800px; margin: 0 auto; padding: 32px 16px 70px; }
.jr-sheet { background: #fffaf2; color: #241c16; border-radius: 16px; overflow: hidden;
            box-shadow: 0 0 0 1px rgba(255,154,46,.35), 0 8px 30px rgba(0,0,0,.45); }
.jr-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
           padding: 16px 24px; background: linear-gradient(160deg, #241a14 0%, #14100d 100%); border-bottom: 4px solid #ff7a2f; }
.jr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.jr-brand img { width: 52px; height: 52px; object-fit: contain; }
.jr-brand span { font-weight: 900; font-size: 21px; letter-spacing: .5px;
                 background: linear-gradient(180deg, #fff6c9 0%, #ffd24a 30%, #ff9a1e 60%, #ff4d00 100%);
                 -webkit-background-clip: text; background-clip: text; color: transparent; }
.jr-tag { margin: 0; color: #ffd9b0; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; text-align: right; line-height: 1.6; }
.jr-tag b { display: block; color: #fff; font-size: 13px; letter-spacing: 1.8px; }
.jr-body { padding: 26px 32px 34px; }
.jr-crumbs { font-size: 13px; color: #8a7466; margin: 0 0 14px; }
.jr-crumbs a { color: #a1170f; }
.jr-body h1 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; color: #1c140f; text-wrap: balance; }
.jr-intro { font-size: 18px; line-height: 1.55; color: #4a3a2e; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid #ecdcc6; }
.jr-body h2 { font-size: 21px; margin: 26px 0 8px; color: #8a1a10; text-wrap: balance; }
.jr-body p, .jr-body li { font-size: 16px; line-height: 1.65; max-width: 66ch; }
.jr-body ul { padding-left: 22px; margin: 6px 0 14px; }
.jr-body li { margin: 4px 0; }
.jr-body a { color: #a1170f; }
.jr-tip { background: #fff1de; border-left: 4px solid #ff7a2f; padding: 12px 16px; border-radius: 0 10px 10px 0; }
.jr-cta { margin: 30px 0 8px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(160deg, #241a14, #14100d); color: #fff3e2; }
.jr-cta p { margin: 0 0 12px; color: #fff3e2; }
.jr-cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.jr-btn { display: inline-block; padding: 11px 18px; border-radius: 10px; font-weight: 800; text-decoration: none; background: #ff7a2f; color: #141414 !important; }
.jr-btn-alt { background: transparent; color: #ffd9b0 !important; border: 2px solid #ff9a2e; }
.jr-btn:hover, .jr-btn:focus-visible { filter: brightness(1.1); }
.jr-related h2, .jr-hub-section h2 { margin-top: 30px; }
.jr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.jr-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid #ecd2b0; border-radius: 12px;
           background: #fff; text-decoration: none; color: #241c16 !important; min-width: 0; }
.jr-card:hover, .jr-card:focus-visible { border-color: #ff7a2f; box-shadow: 0 2px 10px rgba(255,122,47,.25); }
.jr-card b { font-size: 16px; color: #8a1a10; line-height: 1.3; }
.jr-card span { font-size: 14px; line-height: 1.45; color: #5c4b3e; }
.jr-card .jr-card-group { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #c2410c; }
.jr-back { display: inline-block; margin-top: 26px; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; background: #ff7a2f; color: #141414 !important; }
.jr-footnav { margin-top: 18px; font-size: 14px; color: #6b5a4c; line-height: 1.8; }
.jr-meta { font-size: 13px; color: #8a7466; margin: -10px 0 18px; }
.jr-toc { background: #fff4e6; border: 1px solid #f3d3a8; border-radius: 12px; padding: 12px 18px; margin: 0 0 18px; }
.jr-toc-title { margin: 0 0 4px !important; font-size: 12px !important; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #a1170f; }
.jr-toc ol { margin: 0; padding-left: 20px; }
.jr-toc li { font-size: 15px !important; margin: 2px 0; }
.jr-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.jr-steps li { counter-increment: step; position: relative; padding-left: 40px; margin: 10px 0; }
.jr-steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  background: #ff7a2f; color: #141414; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.jr-callout { margin: 20px 0; padding: 16px 18px; border-radius: 12px; background: linear-gradient(160deg, #fff1de, #ffe4c2); border: 1px solid #f3c99a; }
.jr-callout p { margin: 0; }
.jr-callout-title { font-weight: 800; font-size: 13px !important; letter-spacing: 1.4px; text-transform: uppercase; color: #a1170f; margin-bottom: 6px !important; }
.jr-table { overflow-x: auto; margin: 14px 0 18px; border: 1px solid #ecd2b0; border-radius: 12px; }
.jr-table table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; }
.jr-table th { background: #241a14; color: #ffd9b0; text-align: left; padding: 10px 12px; font-size: 13px; letter-spacing: .5px; }
.jr-table td { padding: 10px 12px; border-top: 1px solid #f0e0ca; vertical-align: top; line-height: 1.5; }
.jr-table tr:nth-child(even) td { background: #fff6ea; }
.jr-faq details { border: 1px solid #ecd2b0; border-radius: 10px; margin: 8px 0; background: #fff; }
.jr-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: #3a2a1e; }
.jr-faq summary:focus-visible { outline: 2px solid #ff7a2f; outline-offset: 2px; }
.jr-faq details p { padding: 0 16px 12px; margin: 0; }
@media (max-width: 560px) {
  .jr-head { padding: 14px 16px; }
  .jr-tag { text-align: left; }
  .jr-body { padding: 22px 18px 28px; }
}
