/* Start-a-security-business guide cluster. Scoped to .guide so it cannot leak into other pages. */
.guide{--navy:#0a2342;--navy2:#0f326e;--gold:#c9a227;--ink:#1f2d3d;--muted:#4a5a6b;--line:#dbe3ee;--tint:#f4f7fb;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:var(--ink);background:#fff;line-height:1.7}
.guide *{box-sizing:border-box}
.guide a{color:#0b5cad}
.guide a:hover{color:#08427c}
.guide .guide-body p a,.guide .guide-body li a,.guide .guide-body td a{text-decoration:underline}
.guide .guide-card,.guide .guide-card:hover{text-decoration:none}
.guide .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.guide-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.guide-draft{background:#fff3cd;color:#5c4400;border-bottom:1px solid #e6c767;padding:10px 20px;font-size:.92rem;text-align:center}

/* Hero */
.guide-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);color:#fff;padding:32px 0 36px}
.guide-hero h1{font-size:clamp(1.7rem,4.2vw,2.5rem);line-height:1.2;font-weight:800;margin:14px 0 14px;max-width:24em;color:#fff}
.guide-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:0;padding:0;margin:0;font-size:.9rem}
.guide-crumbs li+li::before{content:"\203A";margin:0 8px;color:#b8c7dd}
.guide-crumbs a{color:#dbe7f8}
.guide-crumbs a:hover{color:#fff}
.guide-crumbs li[aria-current]{color:#fff}
.guide-meta{font-size:.92rem;color:#d3deee;margin:0 0 14px}
.guide-author{background:rgba(255,255,255,.08);border-left:3px solid var(--gold);padding:10px 14px;border-radius:0 6px 6px 0;font-size:.9rem;color:#e8eef8;max-width:46em}
.guide-author p{margin:2px 0}
.guide-intro{font-size:1.08rem;color:#e3ebf7;max-width:44em;margin:0}

/* Layout */
.guide-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;padding-top:28px;padding-bottom:48px;align-items:start}
.guide-aside{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}
.guide-body{min-width:0;max-width:760px}
.guide-feature{display:block;width:100%;height:auto;border-radius:10px;margin:0 0 26px;border:1px solid var(--line);aspect-ratio:1200/630}

/* TOC */
.guide-toc{border:1px solid var(--line);border-radius:10px;background:var(--tint);padding:0}
.guide-toc summary{cursor:pointer;font-weight:700;color:var(--navy);padding:12px 16px;list-style:none}
.guide-toc summary::-webkit-details-marker{display:none}
.guide-toc summary::after{content:"+";float:right;color:var(--gold);font-weight:800}
.guide-toc[open] summary::after{content:"\2212"}
.guide-toc ol{margin:0;padding:0 16px 14px 36px;font-size:.92rem;line-height:1.45}
.guide-toc li{margin:7px 0}

/* Short answer */
.guide-short{background:#fff9e6;border:1px solid #ecd68a;border-left:6px solid var(--gold);border-radius:8px;padding:18px 22px;margin:0 0 30px}
.guide-short h2{font-size:1.2rem;margin:0 0 8px;color:var(--navy)}
.guide-short p{margin:0 0 .7em;max-width:70ch}
.guide-short p:last-child{margin-bottom:0}

/* Sections and steps */
.guide-section{margin:0 0 34px;scroll-margin-top:16px}
.guide-section h2{font-size:clamp(1.3rem,2.6vw,1.65rem);line-height:1.3;color:var(--navy);margin:0 0 14px}
.guide-section h3{font-size:1.1rem;color:var(--navy);margin:22px 0 8px}
.guide-section p,.guide-section li{max-width:70ch}
.guide-section p{margin:0 0 1em}
.guide-section ul,.guide-section ol{padding-left:1.3em}
.guide-step{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px 24px 14px 82px;box-shadow:0 2px 10px rgba(10,35,66,.05)}
.step-badge{position:absolute;left:20px;top:22px;width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:1.25rem;display:flex;align-items:center;justify-content:center;border:2px solid var(--gold)}
.back-to-steps{text-align:right;font-size:.88rem;margin:6px 0 6px}
.back-to-steps a{color:#4a5a6b}

/* Callouts */
.sw-take{background:#eef4fc;border:1px solid #c3d6f0;border-left:5px solid #0b5cad;border-radius:8px;padding:14px 18px;margin:18px 0}
.sw-take h3{margin:0 0 6px;font-size:1rem;color:#0b3a73}
.sw-take h3::before{content:"\1F4A1";margin-right:8px}
.sw-take p{margin:0}
.sw-experience-pending{border:2px dashed #c0392b;background:#fff4f2;color:#8a1f12;padding:12px 16px;border-radius:8px;margin:18px 0}
.sw-experience-pending p{margin:0}
.sw-experience-pending::before{content:"DRAFT PLACEHOLDER (not shown when published). Fill in or delete:";display:block;font-weight:700;font-size:.82rem;margin-bottom:4px}

/* Tables */
.table-scroll{background:linear-gradient(to right,#fff 30%,rgba(255,255,255,0)),linear-gradient(to right,rgba(255,255,255,0),#fff 70%) 100% 0,radial-gradient(farthest-side at 0 50%,rgba(10,35,66,.25),rgba(10,35,66,0)),radial-gradient(farthest-side at 100% 50%,rgba(10,35,66,.25),rgba(10,35,66,0)) 100% 0;background-repeat:no-repeat;background-size:40px 100%,40px 100%,14px 100%,14px 100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;margin:14px 0 8px;border:1px solid var(--line);border-radius:8px;-webkit-overflow-scrolling:touch}
.table-scroll:focus{outline:3px solid #0b5cad}
.data-table{width:100%;border-collapse:collapse;font-size:.93rem;min-width:520px;margin:0}
.data-table th{background:var(--navy);color:#fff;text-align:left;padding:10px 12px;font-weight:600}
.data-table td{padding:10px 12px;border-top:1px solid var(--line);vertical-align:top}
.data-table tbody tr:nth-child(even){background:var(--tint)}
.table-note{font-size:.88rem;color:var(--muted)}

/* Checklist */
.checklist{list-style:none;padding:0!important;margin:0}
.checklist li{margin:0;border-bottom:1px solid var(--line);max-width:none}
.checklist label{display:flex;gap:12px;align-items:flex-start;padding:10px 4px;cursor:pointer;margin:0}
.checklist input{margin-top:.45em;width:18px;height:18px;flex:0 0 auto}
.checklist input:checked+span{color:#6b7a8a;text-decoration:line-through}
.checklist-tools{margin:0 0 10px}
.btn-print{background:var(--navy);color:#fff;border:0;border-radius:6px;padding:8px 16px;font-weight:600;cursor:pointer}
.btn-print:hover{background:var(--navy2)}
.btn-print:focus{outline:3px solid var(--gold);outline-offset:2px}

/* FAQ */
.faq-item{border:1px solid var(--line);border-radius:8px;margin:0 0 10px;background:#fff}
.faq-item summary{cursor:pointer;padding:14px 18px;list-style:none;display:flex;justify-content:space-between;gap:14px;align-items:center}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--gold);font-weight:800;font-size:1.3rem;line-height:1}
.faq-item[open] summary::after{content:"\2212"}
.faq-item summary h3{margin:0;font-size:1.02rem;color:var(--navy);font-weight:600}
.faq-item summary:focus{outline:3px solid #0b5cad;outline-offset:-3px}
.faq-a{padding:0 18px 6px}

/* Sources, notes */
.guide-sources,.guide-notes{font-size:.93rem;color:var(--muted)}
.guide-sources ul{padding-left:1.2em}
.guide-sources li{margin:4px 0}
.disclaimer{font-size:.88rem;background:var(--tint);border-radius:6px;padding:10px 14px}

/* Related and hub cards */
.guide-related h2{font-size:1.4rem;color:var(--navy)}
.guide-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.guide-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;text-decoration:none;color:var(--ink);transition:box-shadow .2s,transform .2s;height:100%}
.guide-card:hover{box-shadow:0 10px 24px rgba(10,35,66,.12);transform:translateY(-2px);color:var(--ink)}
.guide-card-title{font-weight:700;color:var(--navy);line-height:1.3}
.guide-card-text{font-size:.9rem;color:var(--muted);line-height:1.55;flex:1}
.guide-card-link{font-weight:600;color:#0b5cad;font-size:.9rem}
.guide-hub-link{margin-top:16px;font-size:.95rem}
.guide-cta{margin:30px 0 0;padding:16px 20px;background:var(--navy);color:#fff;border-radius:10px;font-weight:600}
.guide-cta a{color:#ffd166;text-decoration:underline}

/* Hub */
.hub-body{max-width:900px;padding-top:28px;padding-bottom:48px}
.hub-h2{font-size:1.5rem;color:var(--navy);margin:8px 0 16px}
.hub-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.hub-card{position:relative;padding-left:78px}
.hub-card .step-badge{left:18px;top:18px}

@media (max-width:991px){
  .guide-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .guide-aside{position:static;max-height:none;overflow:visible}
  .guide-cards{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .guide-step{padding:20px 16px 12px 16px}
  .guide-step .step-badge{position:static;margin-bottom:10px}
  .hub-card{padding-left:18px}
  .hub-card .step-badge{position:static;margin-bottom:6px}
}
@media print{
  body.print-checklist>*:not(main){display:none!important}
  body.print-checklist .gx,body.print-checklist .btn-print,body.print-checklist .checklist-tools{display:none!important}
  body.print-checklist .guide-grid{display:block}
  body.print-checklist .guide-aside{display:none}
}

/* Author bio + author page */
.author-bio{background:var(--tint);border:1px solid var(--line);border-left:5px solid var(--gold);border-radius:10px;padding:20px 24px;margin:0 0 34px}
.author-bio h2{font-size:1.25rem;color:var(--navy);margin:0 0 10px}
.author-bio p{margin:0 0 .8em;max-width:70ch}
.author-bio-links{display:flex;flex-wrap:wrap;gap:8px 12px;margin:0!important;font-weight:600}
.author-bio-links a{text-decoration:underline}
.guide-author a{color:#fff;text-decoration:underline}
.author-page-list{padding-left:1.3em}
.author-page-list li{margin:8px 0}
.guide .hub-body p a{text-decoration:underline}

/* Back to top */
.back-to-top{position:fixed;right:18px;bottom:18px;z-index:1000;width:46px;height:46px;border-radius:50%;border:2px solid var(--gold,#c9a227);background:#0a2342;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 14px rgba(10,35,66,.35)}
.back-to-top[hidden]{display:none}
.back-to-top:hover{background:#0f326e}
.back-to-top:focus-visible{outline:3px solid #ffd166;outline-offset:2px}
@media print{.back-to-top{display:none!important}}
