/* Learning guides share the existing brand, with a quieter reading column. */
#xylea-site .guide-main { max-width: 860px; margin-inline: auto; }
#xylea-site .guide-header { padding: 32px 0 26px; border-bottom: 1px solid #c7d7cc; }
#xylea-site .guide-back { display: inline-block; margin-bottom: 38px; font-size: .92rem; }
#xylea-site .guide-header h1 { max-width: 800px; margin: 12px 0 20px; font-family: 'Oswald', sans-serif; font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.25rem); line-height: 1.13; letter-spacing: -.025em; text-wrap: balance; }
#xylea-site .guide-meta { font-size: .88rem; color: #405a49; }
#xylea-site .guide-lead { max-width: 760px; font-size: 1.18rem; line-height: 1.75; margin-top: 24px; }
#xylea-site .guide-toc { padding: 22px 26px; margin: 30px 0 42px; background: #f5f8f3; border: 1px solid #c7d7cc; border-radius: 16px; }
#xylea-site .guide-toc h2 { font-size: 1rem; margin: 0 0 12px; }
#xylea-site .guide-toc ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; font-size: .94rem; line-height: 1.55; }
#xylea-site .guide-body { font-size: 1.05rem; line-height: 1.85; }
#xylea-site .guide-body h2 { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.3; margin: 46px 0 18px; scroll-margin-top: 28px; text-wrap: balance; }
#xylea-site .guide-body p { margin: 16px 0; }
#xylea-site .guide-body li { margin-bottom: 12px; }
#xylea-site .guide-body ol, #xylea-site .guide-body ul { padding-left: 26px; }
#xylea-site .guide-body a, #xylea-site .guide-toc a, #xylea-site .guide-meta a, #xylea-site .guide-back { color: #264b37; text-decoration: underline; text-underline-offset: 3px; }
#xylea-site .guide-body a:hover, #xylea-site .guide-toc a:hover { color: #0e2a1b; }
#xylea-site .guide-body code { font-size: .9em; overflow-wrap: anywhere; }
#xylea-site .guide-body pre { padding: 20px; background: #f5f8f3; border: 1px solid #c7d7cc; border-radius: 12px; overflow-x: auto; line-height: 1.6; }
#xylea-site .guide-body pre code { overflow-wrap: normal; }
#xylea-site .guide-score { margin: 28px 0 16px; }
#xylea-site .guide-score-scroll { background: white; border: 1px solid #c7d7cc; border-radius: 12px; overflow-x: auto; }
#xylea-site .guide-score img { display: block; width: 100%; min-width: 640px; height: auto; padding: 14px; box-sizing: border-box; }
#xylea-site .guide-score figcaption { font-size: .87rem; line-height: 1.65; color: #405a49; padding: 10px 2px 0; }
#xylea-site .guide-downloads { padding: 12px 16px; background: #f5f8f3; border-radius: 8px; font-size: .9rem; line-height: 1.8; }
#xylea-site .guide-downloads span { font-weight: 700; }
#xylea-site .guide-table { overflow-x: auto; border: 1px solid #b5cbbb; border-radius: 12px; margin: 22px 0; }
#xylea-site .guide-table table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .94rem; line-height: 1.65; }
#xylea-site .guide-table th, #xylea-site .guide-table td { padding: 14px 18px; border-bottom: 1px solid #c7d7cc; text-align: left; vertical-align: top; }
#xylea-site .guide-table thead { background: #d3e3d6; }
#xylea-site .guide-table tr:last-child td, #xylea-site .guide-table tr:last-child th { border-bottom: none; }
#xylea-site .guide-table th:first-child { width: 23%; }
#xylea-site .guide-next { margin-top: 46px; padding: 24px 28px 30px; background: #d3e3d6; border-radius: 18px; }
#xylea-site .guide-next h2 { margin-top: 12px; }
#xylea-site .guide-body .guide-cta { display: inline-block; background: #244632; color: #fff; border-radius: 8px; padding: 10px 18px; margin-top: 10px; font-weight: 600; text-decoration: none; }
#xylea-site .guide-body .guide-cta:hover { background: #163522; color: #fff; }
#xylea-site .guide-sources { border-top: 1px solid #c7d7cc; margin-top: 40px; padding-top: 8px; font-size: .88rem; }
#xylea-site .guide-sources h2 { font-size: 1.3rem; margin-top: 22px; }
#xylea-site .guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
#xylea-site .guide-card { display: flex; flex-direction: column; border: 1px solid #b5cbbb; background: #f5f8f3; padding: 26px; border-radius: 16px; }
#xylea-site .guide-card h3 { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 1.65rem; line-height: 1.35; margin: 12px 0; }
#xylea-site .guide-card h3 a { text-decoration: none; }
#xylea-site .guide-card p { font-size: .97rem; line-height: 1.75; }
#xylea-site .guide-card .xy-kicker { font-size: .8rem; margin: 0; }
#xylea-site .guide-card-link { margin-top: auto; padding-top: 12px; font-weight: 600; }
@media (max-width: 600px) {
 #xylea-site .guide-header { padding-top: 20px; }
 #xylea-site .guide-back { margin-bottom: 28px; }
 #xylea-site .guide-lead { font-size: 1.08rem; }
 #xylea-site .guide-body { font-size: 1rem; }
 #xylea-site .guide-toc { padding: 20px; }
 #xylea-site .guide-cards { grid-template-columns: 1fr; }
 #xylea-site .guide-next { padding: 22px; }
 #xylea-site .guide-score img { min-width: 640px; }
}
@media print {
 #xylea-site .guide-toc, #xylea-site .guide-next, #xylea-site .guide-related, #xylea-site .guide-back { display: none; }
 #xylea-site .guide-main { max-width: none; }
 #xylea-site .guide-score img { min-width: 0; }
 #xylea-site .guide-score-scroll, #xylea-site .guide-table { overflow: visible; }
 #xylea-site .guide-table table { min-width: 0; }
 #xylea-site .guide-body h2 { break-after: avoid; }
 #xylea-site .guide-score { break-inside: avoid; }
}
