/* /guides/guide.css?v=2
   Clickoz Guide Article – match Guides directory styling (guides.css)
   Uses the same --g-* variables so sizes/colors match perfectly.
*/

:root{
  /* fallback (if guides.css not loaded somewhere) */
  --g-radius: 22px;
  --g-radius-sm: 16px;
  --g-border: rgba(255,255,255,.10);
  --g-border-2: rgba(255,255,255,.14);
  --g-shadow: 0 22px 60px rgba(0,0,0,.45);
  --g-shadow-soft: 0 16px 40px rgba(0,0,0,.32);
  --g-dim: rgba(242,242,255,.74);
  --g-dimmer: rgba(242,242,255,.60);
  --g-title: rgba(255,255,255,.94);
  --g-glow1: rgba(34,211,238,.18);
  --g-glow2: rgba(99,102,241,.16);
}

/* Safety: prevent horizontal shift */
html, body{ max-width:100%; overflow-x:hidden; }

/* Page shell */
.guides-article main.section.container{ max-width:100%; }

/* Breadcrumbs (subtle, consistent) */
.crumbs{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(242,242,255,.64);
}
.crumbs a{ color: rgba(242,242,255,.82); text-decoration:none; }
.crumbs a:hover{ text-decoration: underline; }
.crumbs .sep{ opacity:.55; }

/* HERO BOX = SAME as Guides directory hero-box */
.guides-article .hero-box{
  border: 1px solid var(--g-border);
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--g-radius);
  box-shadow: var(--g-shadow-soft);
  padding: 22px 18px 18px;
}

/* Primary hero (top box) add glow like guides-hero but lighter */
.guides-article .guide-hero{
  position: relative;
  overflow:hidden;
}
.guides-article .guide-hero::before{
  content:"";
  position:absolute; inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(1200px 720px at 15% -10%, var(--g-glow1), transparent 55%),
    radial-gradient(900px 620px at 105% 10%, var(--g-glow2), transparent 55%),
    radial-gradient(800px 420px at 50% 0%, rgba(255,255,255,.08), transparent 60%);
  opacity:.55;
}
.guides-article .guide-hero > *{ position: relative; }

.guide-kicker{
  margin: 0;
  font-size: 12.5px;
  font-weight: 1000;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
}

/* Meta chips = same chip feel */
.guide-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:center;
  margin-top: 10px;
  margin-bottom: 12px;
}

.guide-meta .chip{
  border: 1px solid var(--g-border);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.86);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  user-select:none;
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

/* Actions row (2 buttons) – centered, under hero */
.guide-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin-top: 10px;
}

/* Buttons – keep consistent */
.btn-guide{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--g-border);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  font-weight: 1000;
  font-size: 13px;
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-guide:hover{
  transform: translateY(-1px);
  border-color: var(--g-border-2);
  box-shadow: 0 16px 34px rgba(0,0,0,.30);
}
.btn-guide.primary{
  border-color: rgba(255,255,255,.20);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

/* Reading bar */
.readingbar{
  position: relative;
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}
.readingbar i{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34,211,238,.70), rgba(99,102,241,.70));
}

/* Layout */
.guide-grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 14px;
  margin-top: 14px;
  align-items:start;
}
@media (max-width: 980px){
  .guide-grid{ grid-template-columns: 1fr; }
}

/* Panels */
.panel{
  border: 1px solid var(--g-border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--g-radius-sm);
  box-shadow: var(--g-shadow-soft);
}

/* Article */
.guide-content{
  min-width: 0;
  padding: 18px 16px 16px;
}
.guide-content h2{
  margin-top: 18px;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.guide-content h3{
  margin-top: 14px;
  margin-bottom: 8px;
}
.guide-content p, .guide-content li{
  color: rgba(242,242,255,.76);
  line-height: 1.75;
  font-size: 15px;
}
.guide-content strong{ color: rgba(255,255,255,.92); }

/* “Workflow box” (second hero-box content) */
.workflow-box{
  margin-top: 14px;
}
.workflow-box .wf-lead{
  margin-top: 2px;
  margin-bottom: 10px;
  color: var(--g-dim);
  line-height: 1.7;
}
.workflow-box .wf-list{
  margin: 10px auto 0;
  padding-left: 18px;
}
.workflow-box .wf-list li{
  margin: 6px 0;
}

/* Figure */
.guide-figure{ margin: 0 0 14px; }
.guide-figure img{
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--g-border);
  display:block;
}
.guide-figure figcaption{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(242,242,255,.58);
}

/* Code blocks */
pre{
  margin: 10px 0 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  overflow:auto;
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13.5px;
  color: rgba(255,255,255,.92);
}
p code, li code{
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

/* Callouts */
.callout{
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--g-radius-sm);
  padding: 14px 14px 12px;
  margin: 12px 0;
  background: radial-gradient(900px 420px at 25% 0%, rgba(255,255,255,.10), transparent 60%),
              rgba(0,0,0,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.callout .title{
  font-weight: 1000;
  margin-bottom: 6px;
  color: rgba(255,255,255,.94);
}
.callout.tip{ border-color: rgba(34,211,238,.18); }
.callout.warn{ border-color: rgba(245,158,11,.18); }

/* Table */
.table-wrap{
  overflow:auto;
  border-radius: var(--g-radius-sm);
  border: 1px solid rgba(255,255,255,.10);
}
table{ border-collapse: collapse; width: 100%; min-width: 520px; }
th, td{
  text-align:left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  color: rgba(242,242,255,.78);
}
th{
  color: rgba(255,255,255,.90);
  font-weight: 1000;
  background: rgba(0,0,0,.12);
}

/* FAQ */
details{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(0,0,0,.14);
  margin: 10px 0;
}
summary{
  cursor:pointer;
  font-weight: 1000;
  color: rgba(255,255,255,.92);
}
details p{ margin: 8px 0 0; }

/* Aside */
.guide-aside{
  min-width: 0;
  padding: 14px 12px;
  position: sticky;
  top: 92px;
  height: fit-content;
}
@media (max-width: 980px){
  .guide-aside{ position: static; top:auto; }
}

/* TOC cards like chips */
.toc-title{
  font-weight: 1000;
  color: rgba(255,255,255,.92);
  margin-bottom: 6px;
}
.toc a{
  display:block;
  text-decoration:none;
  color: rgba(242,242,255,.78);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
  padding: 9px 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}
.toc a:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
}
.toc a.active{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

.aside-cta{
  margin-top: 12px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.guide-updated{
  margin-top: 16px;
  color: rgba(242,242,255,.62);
  font-size: 13px;
}
.guide-updated a{ color: rgba(255,255,255,.86); text-decoration:none; }
.guide-updated a:hover{ text-decoration: underline; }

/* Mobile spacing */
@media (max-width: 920px){
  .guides-article .hero-box{ padding: 20px 14px 16px; }
}
