/* Texas MSSP Buyer's Guide — standalone resource page styles */
/* Uses the core theme system (theme.css) as base; additions below */

.bg-deep { background: #0d0d10; }
.bg-card  { background: #151518; border: 1px solid #2a2a30; border-radius: 8px; }

.border-amber { border-color: var(--amber, #d4a017) !important; }

.guide-hero {
  background: linear-gradient(135deg, #0d0d10 0%, #1a1510 60%, #0d0d10 100%);
  border-bottom: 1px solid #2a2a30;
  padding: 4rem 2rem;
}

.badge-new {
  display: inline-block;
  background: var(--amber, #d4a017);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.guide-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 3rem 0;
}

.guide-stat-card {
  background: #151518;
  border: 1px solid #2a2a30;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.guide-stat-card:hover { border-color: #d4a017; }

.guide-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #d4a017;
  display: block;
  line-height: 1.1;
}
.guide-stat-card .stat-label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.4rem;
  display: block;
}

.section-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e8e8e0;
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 2rem;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.framework-card {
  background: #151518;
  border: 1px solid #2a2a30;
  border-radius: 8px;
  padding: 1.25rem;
}
.framework-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #d4a017;
  margin-bottom: 0.4rem;
}
.framework-card p { font-size: 0.82rem; color: #888; line-height: 1.5; }
.framework-card .framework-badge {
  display: inline-block;
  font-size: 0.65rem;
  background: #1a1a22;
  color: #666;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-top: 0.5rem;
}

.threat-card {
  background: #151518;
  border: 1px solid #2a2a30;
  border-left: 3px solid #d4a017;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.threat-card .threat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4a017;
  margin-bottom: 0.3rem;
}
.threat-card h3 { font-size: 0.95rem; font-weight: 700; color: #e8e8e0; margin-bottom: 0.4rem; }
.threat-card p { font-size: 0.82rem; color: #888; line-height: 1.5; margin: 0; }

.threats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.diff-card {
  background: #151518;
  border: 1px solid #2a2a30;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.diff-card .diff-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1a1a22;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #d4a017;
  font-size: 1.2rem;
}
.diff-card h3 { font-size: 0.95rem; font-weight: 700; color: #e8e8e0; margin-bottom: 0.3rem; }
.diff-card p { font-size: 0.82rem; color: #888; line-height: 1.5; margin: 0; }

.cta-band {
  background: linear-gradient(90deg, #1a1510 0%, #0d0d10 100%);
  border: 1px solid #2a2a30;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-band h2 { font-size: 1.5rem; font-weight: 700; color: #e8e8e0; margin-bottom: 0.5rem; }
.cta-band p  { font-size: 0.9rem; color: #888; margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.btn-amber {
  display: inline-block;
  background: #d4a017;
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-amber:hover { background: #e8b820; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #d4a017;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #d4a017;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-outline:hover { background: #1a1510; }

.faq-accordion { margin-bottom: 3rem; }

.faq-item {
  background: #151518;
  border: 1px solid #2a2a30;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #e8e8e0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: #d4a017; font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.83rem;
  color: #888;
  line-height: 1.6;
}

.case-card {
  background: #151518;
  border: 1px solid #2a2a30;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.case-card .case-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4a017;
  margin-bottom: 0.5rem;
}
.case-card h3 { font-size: 1rem; font-weight: 700; color: #e8e8e0; margin-bottom: 0.5rem; }
.case-card p  { font-size: 0.82rem; color: #888; line-height: 1.5; margin: 0; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.ir-strip {
  background: linear-gradient(90deg, #1a0808, #0d0d10);
  border: 1px solid #3a1a1a;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ir-strip .ir-icon { font-size: 2rem; }
.ir-strip .ir-text h3 { font-size: 1rem; font-weight: 700; color: #e8e8e0; margin-bottom: 0.3rem; }
.ir-strip .ir-text p  { font-size: 0.82rem; color: #888; margin: 0; }

@media (max-width: 768px) {
  .guide-hero { padding: 2.5rem 1.5rem; }
  .guide-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ir-strip { flex-direction: column; text-align: center; }
}