/* === STYLE 1 — ARTICLE/GUIDE pages — restyled v6 === */

/* --- Article hero --- */
.article-hero{
  padding:48px 0 24px;
  text-align:center;
}
.article-hero h1{
  font-size:32px;
  font-weight:500;
  letter-spacing:-0.8px;
  line-height:1.15;
  color:var(--text-primary);
  margin-bottom:12px;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.article-hero .subtitle{
  color:var(--text-secondary);
  font-size:15px;
  max-width:680px;
  margin:0 auto;
  line-height:1.65;
}
.article-meta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-top:16px;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
  text-transform:uppercase;
  letter-spacing:1px;
  flex-wrap:wrap;
}
.article-meta span{
  display:flex;
  align-items:center;
  gap:5px;
}
.page-updated{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
  text-align:center;
  margin-top:6px;
  letter-spacing:0.5px;
}

/* --- Article body --- */
.article-body{
  max-width:740px;
  margin:32px auto;
}
.article-body h2{
  font-size:22px;
  font-weight:500;
  letter-spacing:-0.4px;
  color:var(--text-primary);
  margin:40px 0 14px;
  padding-top:8px;
}
.article-body h3{
  font-size:16px;
  font-weight:500;
  color:var(--text-primary);
  margin:24px 0 10px;
  letter-spacing:-0.2px;
}
.article-body p{
  color:var(--text-secondary);
  line-height:1.85;
  margin-bottom:14px;
  font-size:14.5px;
}
.article-body a{
  color:var(--accent-primary);
  text-decoration:none;
}
.article-body a:hover{text-decoration:underline;text-underline-offset:2px}
.article-body strong{color:var(--text-primary);font-weight:500}
.article-body em{color:var(--text-secondary);font-style:italic}
.article-body ul,.article-body ol{
  color:var(--text-secondary);
  font-size:14.5px;
  line-height:1.85;
  margin:8px 0 16px 24px;
}
.article-body li{margin-bottom:6px}
.article-body code{
  font-family:var(--font-mono);
  font-size:12.5px;
  background:var(--bg-tertiary);
  border:0.5px solid var(--border-color);
  padding:1px 6px;
  border-radius:4px;
  color:var(--accent-primary);
}

/* --- Key findings / TLDR box --- */
.key-findings,.tldr-box{
  background:var(--bg-card);
  border:none;
  border-left:2px solid var(--accent-primary);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
  padding:18px 22px;
  margin:28px 0;
}
.key-findings h3,.tldr-box h3{
  color:var(--accent-primary);
  margin:0 0 10px;
  font-size:11px;
  font-weight:500;
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:1.5px;
}
.key-findings p,.tldr-box p{
  font-size:14px;
  line-height:1.75;
  margin-bottom:8px;
  color:var(--text-secondary);
}
.key-findings p:last-child,.tldr-box p:last-child{margin-bottom:0}
.key-findings ul,.tldr-box ul{
  margin:6px 0 0 18px;
  font-size:14px;
  line-height:1.75;
}

/* --- Status table (used in OSINT graveyard, dorking ref) --- */
.status-table-wrap{
  overflow-x:auto;
  margin:24px 0;
  -webkit-overflow-scrolling:touch;
  border:0.5px solid var(--border-color);
  border-radius:var(--radius-md);
}
.status-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  min-width:640px;
}
.status-table thead{background:var(--bg-tertiary)}
.status-table th{
  padding:11px 14px;
  text-align:left;
  font-weight:500;
  color:var(--text-primary);
  border-bottom:0.5px solid var(--border-strong);
  white-space:nowrap;
  font-size:11px;
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:1px;
}
.status-table td{
  padding:11px 14px;
  border-bottom:0.5px solid var(--border-color);
  color:var(--text-secondary);
  vertical-align:top;
}
.status-table tr:hover td{background:rgba(234,169,64,0.03)}
.status-table tr:last-child td{border-bottom:none}
.status-table .tool-name{
  color:var(--text-primary);
  font-weight:500;
  white-space:nowrap;
}
.status-table code{
  background:var(--bg-tertiary);
  border:0.5px solid var(--border-color);
  padding:2px 6px;
  border-radius:4px;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--accent-primary);
}

/* --- Badges (status indicators in tables) --- */
.badge{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  font-size:9.5px;
  font-weight:500;
  letter-spacing:1px;
  text-transform:uppercase;
  white-space:nowrap;
  font-family:var(--font-mono);
  border:0.5px solid;
}
.badge-dead{
  background:rgba(255,68,102,0.06);
  color:var(--accent-danger);
  border-color:rgba(255,68,102,0.25);
}
.badge-new{
  background:rgba(234,169,64,0.06);
  color:var(--accent-primary);
  border-color:rgba(234,169,64,0.25);
}
.badge-growing{
  background:rgba(240,189,106,0.06);
  color:var(--accent-secondary);
  border-color:rgba(240,189,106,0.25);
}
.badge-declining{
  background:rgba(255,170,0,0.06);
  color:var(--accent-warning);
  border-color:rgba(255,170,0,0.25);
}
.badge-stable{
  background:transparent;
  color:var(--text-muted);
  border-color:var(--border-strong);
}

.article-summary{margin-bottom:0}

/* --- Code/dork example block --- */
.dork-example{
  background:var(--bg-tertiary);
  border:0.5px solid var(--border-color);
  border-radius:var(--radius-md);
  padding:14px 16px;
  margin:14px 0 16px;
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--accent-primary);
  overflow-x:auto;
  line-height:1.6;
}

/* --- FAQ accordion (modernized for articles) --- */
.faq-section{
  margin-top:44px;
  padding-top:36px;
  border-top:0.5px solid var(--border-color);
}
.faq-section h2{
  font-size:22px;
  font-weight:500;
  letter-spacing:-0.4px;
  color:var(--text-primary);
  margin-bottom:18px;
}
.faq-item{
  border:none;
  border-bottom:0.5px solid var(--border-color);
  border-radius:0;
  margin-bottom:0;
  overflow:hidden;
  background:transparent;
}
.faq-item:first-of-type{border-top:0.5px solid var(--border-color)}
.faq-item summary{
  padding:16px 4px;
  font-weight:500;
  font-size:14px;
  color:var(--text-primary);
  cursor:pointer;
  background:transparent;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  transition:color .15s ease;
}
.faq-item summary:hover{color:var(--accent-primary)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";
  font-family:var(--font-mono);
  font-size:16px;
  font-weight:400;
  color:var(--text-muted);
  transition:transform .2s ease,color .15s ease;
  flex-shrink:0;
  margin-left:12px;
  line-height:1;
}
.faq-item[open] summary::after{
  transform:rotate(45deg);
  color:var(--accent-primary);
}
.faq-item .faq-answer{
  padding:0 4px 18px;
  font-size:13.5px;
  line-height:1.75;
  color:var(--text-secondary);
  background:transparent;
  max-width:680px;
}
.faq-item .faq-answer a{color:var(--accent-primary);text-decoration:none}
.faq-item .faq-answer a:hover{text-decoration:underline}

/* --- Related tools card grid --- */
.related-tools{
  margin-top:44px;
  padding-top:36px;
  border-top:0.5px solid var(--border-color);
}
.related-tools h2{
  font-size:18px;
  font-weight:500;
  letter-spacing:-0.3px;
  color:var(--text-primary);
  margin-bottom:18px;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1px;
  background:var(--border-color);
  border:0.5px solid var(--border-color);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.related-grid > a{
  display:block;
  padding:16px;
  background:var(--bg-card);
  border:none !important;
  border-radius:0 !important;
  text-decoration:none;
  transition:background .15s ease;
}
.related-grid > a:hover{background:var(--bg-elevated);border:none !important}
.related-grid .rt-name{
  font-weight:500;
  font-size:13px;
  color:var(--text-primary);
  margin-bottom:4px;
  letter-spacing:-0.2px;
}
.related-grid .rt-desc{
  font-size:11.5px;
  color:var(--text-muted);
  line-height:1.55;
}

/* --- Breadcrumb (article variant) --- */
.breadcrumb{
  padding:14px 0 0;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-faint);
}
.breadcrumb ol{
  list-style:none;
  display:flex;
  gap:8px;
  margin:0;padding:0;
  flex-wrap:wrap;
}
.breadcrumb li{color:var(--text-muted)}
.breadcrumb li.active{color:var(--text-secondary)}
.breadcrumb li:not(:last-child)::after{
  content:"/";
  margin-left:8px;
  color:var(--text-faint);
}
.breadcrumb a{color:var(--text-muted);text-decoration:none;transition:color .15s ease}
.breadcrumb a:hover{color:var(--accent-primary)}

/* --- Responsive --- */
@media(max-width:600px){
  .article-hero h1{font-size:26px}
  .article-body{margin:24px auto}
  .article-body h2{font-size:19px;margin-top:32px}
  .status-table{font-size:12px}
  .key-findings,.tldr-box{padding:14px 18px;margin:20px 0}
}
