/* EveDashboard AdSense Content Quality V1.0.2 — native faction-theme presentation
   Content remains unchanged; this stylesheet makes the new guide/trust/content surfaces
   use the same EveDashboard visual language as the existing Dashboard and tools. */

/* Keep all content-quality surfaces on the live EveDashboard faction palette. */
.quality-section,
.resource-hero,
.resource-article,
.resource-side-card,
.guide-card,
.trust-card{
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* Homepage authority/context block — same window language as the dashboard. */
.quality-section{
  margin-top:14px;
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:0;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.25);
  backdrop-filter:blur(10px);
}
.quality-section .quality-head{
  padding:16px 18px;
  border-bottom:1px solid var(--line);
  display:block;
  background:linear-gradient(90deg,var(--accent-soft),rgba(255,255,255,.01));
}
.quality-section .quality-head small,
.resource-kicker{
  display:block;
  color:var(--accent);
  font:700 10px var(--theme-font);
  letter-spacing:.14em;
  text-transform:uppercase;
}
.quality-section h2{
  margin:4px 0 6px;
  color:var(--text);
  font:700 27px/1.05 var(--theme-font);
  letter-spacing:-.01em;
}
.quality-section .quality-intro{
  max-width:860px;
  margin:0;
  color:var(--body);
  font-size:13px;
  line-height:1.55;
}
.quality-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  padding:0;
}
.quality-card{
  min-width:0;
  padding:16px 17px;
  border:0;
  border-right:1px solid var(--line-soft);
  background:transparent;
  border-radius:0;
}
.quality-card:last-child{border-right:0}
.quality-card:hover{background:linear-gradient(90deg,var(--accent-soft),transparent)}
.quality-card h3{
  margin:0 0 5px;
  color:var(--text);
  font:700 18px/1.1 var(--theme-font);
}
.quality-card p{margin:0;color:var(--body);line-height:1.5;font-size:12px}
.quality-card a,.resource-link{color:var(--accent-strong);font-weight:700;text-decoration:none}
.quality-card a:hover,.resource-link:hover{text-decoration:underline}
.quality-list{padding:0 18px 18px;margin:0;display:grid;gap:8px;list-style:none}
.quality-list li{border-left:2px solid var(--accent);padding:2px 0 2px 11px;color:var(--body);line-height:1.5;font-size:12px}
.quality-list strong{color:var(--text)}

/* Resource pages — mirror the Dashboard titlebar instead of the generic blue/CMS card. */
.resource-page{max-width:1180px;margin:0 auto;padding-bottom:30px}
.resource-hero{
  min-height:156px;
  margin:0 0 14px;
  padding:24px 26px;
  border:1px solid var(--line);
  border-radius:0;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(105deg,var(--panel2),rgba(8,8,8,.48)),
    radial-gradient(circle at 80% 20%,var(--accent-glow),transparent 36%);
  box-shadow:none;
}
.resource-hero::after{
  content:"";
  position:absolute;
  right:-35px;
  bottom:-75px;
  width:260px;
  height:260px;
  border:1px solid var(--line);
  transform:rotate(45deg);
  opacity:.17;
  pointer-events:none;
}
.resource-hero>*{position:relative;z-index:1}
.resource-hero h1{
  margin:7px 0 9px;
  max-width:900px;
  color:var(--text);
  font:700 clamp(32px,4vw,50px)/.98 var(--theme-font);
  letter-spacing:-.02em;
}
.resource-hero p{margin:0;max-width:820px;color:var(--body);line-height:1.55;font-size:14px}
.resource-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.resource-meta span{
  border:1px solid var(--line-soft);
  border-radius:0;
  padding:5px 8px;
  color:var(--body);
  background:var(--accent-soft);
  font:700 10px var(--theme-font);
  letter-spacing:.02em;
}

.resource-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px;margin-top:14px}
.resource-article{
  border:1px solid var(--line);
  border-radius:0;
  background:var(--panel);
  padding:20px;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  backdrop-filter:blur(10px);
}
.resource-article section+section{margin-top:22px;padding-top:20px;border-top:1px solid var(--line-soft)}
.resource-article h2{margin:0 0 8px;color:var(--text);font:700 24px/1.08 var(--theme-font)}
.resource-article h3{color:var(--text);font:700 18px/1.1 var(--theme-font);margin:16px 0 7px}
.resource-article p,.resource-article li{color:var(--body);line-height:1.68;font-size:14px}
.resource-article p{margin:0 0 12px}
.resource-article ul,.resource-article ol{padding-left:20px}
.resource-article a{color:var(--accent-strong);font-weight:700}
.resource-callout{
  margin:14px 0;
  border:1px solid var(--line-soft);
  border-left:3px solid var(--accent);
  background:var(--accent-soft);
  border-radius:0;
  padding:12px 13px;
  color:var(--body);
  line-height:1.55;
}
.resource-side{display:grid;gap:10px;align-content:start}
.resource-side-card{
  border:1px solid var(--line);
  border-radius:0;
  background:var(--panel);
  padding:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.resource-side-card h2,.resource-side-card h3{margin:0 0 7px;color:var(--text);font:700 17px var(--theme-font)}
.resource-side-card p,.resource-side-card li{color:var(--body);font-size:12px;line-height:1.5}
.resource-side-card ul{padding-left:17px;margin:7px 0 0}
.resource-side-card a{color:var(--accent-strong);font-weight:700}

/* Guide library cards now use the existing EveDashboard tool/window aesthetic. */
.guides-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.guide-card{
  display:block;
  min-width:0;
  padding:15px 16px;
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:0;
  background:var(--panel);
  box-shadow:0 12px 34px rgba(0,0,0,.18);
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.guide-card:hover{
  transform:translateY(-1px);
  background:linear-gradient(100deg,var(--accent-soft),var(--panel));
  border-color:var(--accent);
}
.guide-card small{color:var(--accent);font:700 9px var(--theme-font);letter-spacing:.12em}
.guide-card h2{color:var(--text);font:700 20px/1.08 var(--theme-font);margin:5px 0 7px}
.guide-card p{color:var(--body);font-size:12px;line-height:1.5;margin:0}

.trust-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.trust-card{
  border:1px solid var(--line);
  border-radius:0;
  background:var(--panel);
  padding:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.trust-card h2{color:var(--text);margin:0 0 7px;font:700 21px var(--theme-font)}
.trust-card p{color:var(--body);line-height:1.55;margin:0;font-size:13px}
.trust-card a{color:var(--accent-strong);font-weight:700}

/* Footer follows the fixed faction shell instead of looking like a separate CMS footer. */
.site-footer{
  margin:20px 0 0 var(--sidebar-w);
  padding:18px 24px 22px;
  border-top:1px solid var(--line);
  background:var(--sidebar);
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
}
.site-footer-inner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:18px;max-width:1180px;margin:0 auto}
.site-footer strong{color:var(--text);font:700 14px var(--theme-font)}
.site-footer-links{display:flex;flex-wrap:wrap;gap:7px 13px;align-content:start}
.site-footer a{color:var(--accent-strong);text-decoration:none;font-weight:700}
.site-footer a:hover{text-decoration:underline}
.site-footer-legal{margin-top:8px;color:var(--muted)}

@media(max-width:980px){
  .quality-grid,.guides-grid{grid-template-columns:1fr 1fr}
  .quality-card:nth-child(2){border-right:0}
  .quality-card:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}
  .resource-layout{grid-template-columns:1fr}
  .site-footer-inner{grid-template-columns:1fr}
}
@media(max-width:700px){
  .resource-page{max-width:none}
  .site-footer{margin-left:0;padding:18px 12px 20px}
}
@media(max-width:620px){
  .quality-grid,.guides-grid,.trust-grid{grid-template-columns:1fr}
  .quality-card{border-right:0;border-bottom:1px solid var(--line-soft)}
  .quality-card:last-child{border-bottom:0}
  .resource-hero{padding:20px 18px;min-height:0}
  .resource-hero h1{font-size:34px}
  .resource-article{padding:17px}
}
