/*
 Theme Name:   Bristlecone IT Services
 Theme URI:    https://bristleconeit.com/
 Description:  GeneratePress child theme for Bristlecone IT Services (BITS).
 Author:       Bristlecone IT Services
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  bristleconeit-gp
*/

:root {
  --bits-ink: #0f172a;
  --bits-muted: #475569;
  --bits-border: #e2e8f0;
  --bits-surface: #f8fafc;
  --bits-accent: #1d4ed8;
  --bits-accent-2: #0f3d91;
  --bits-card: #ffffff;
  --bits-radius: 12px;
  --bits-max: 1080px;
}

body {
  color: var(--bits-ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.site-header {
  border-bottom: 1px solid var(--bits-border);
  background: #fff;
}

.main-navigation .main-nav ul li a {
  font-weight: 500;
  color: var(--bits-ink);
}

.bits-wrap {
  max-width: var(--bits-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.bits-hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f3d91 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
}

.bits-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.bits-hero p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem;
  opacity: 0.95;
}

.bits-section {
  padding: 3.25rem 0;
}

.bits-section + .bits-section {
  border-top: 1px solid var(--bits-border);
}

.bits-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.bits-lede {
  color: var(--bits-muted);
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.bits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.bits-card {
  background: var(--bits-card);
  border: 1px solid var(--bits-border);
  border-radius: var(--bits-radius);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bits-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.bits-card h3 a {
  color: var(--bits-ink);
  text-decoration: none;
}

.bits-card h3 a:hover {
  color: var(--bits-accent);
}

.bits-card p {
  margin: 0 0 1rem;
  color: var(--bits-muted);
  font-size: 0.98rem;
}

.bits-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bits-accent-2);
  background: #eff6ff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.65rem;
}

.bits-btn {
  display: inline-block;
  background: var(--bits-accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  border: none;
}

.bits-btn:hover {
  background: var(--bits-accent-2);
}

.bits-btn-secondary {
  background: #fff;
  color: var(--bits-ink) !important;
  border: 1px solid var(--bits-border);
}

.bits-btn-secondary:hover {
  background: var(--bits-surface);
}

.bits-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.bits-note {
  background: var(--bits-surface);
  border: 1px solid var(--bits-border);
  border-radius: var(--bits-radius);
  padding: 1rem 1.15rem;
  color: var(--bits-muted);
}

.bits-page {
  padding: 2.5rem 0 3.5rem;
}

.bits-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
}

.bits-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.bits-page p,
.bits-page li {
  color: var(--bits-muted);
}

.bits-page a {
  color: var(--bits-accent);
}

.site-footer {
  border-top: 1px solid var(--bits-border);
  background: #fff;
  color: var(--bits-muted);
  font-size: 0.92rem;
}

.site-info {
  max-width: var(--bits-max);
  margin: 0 auto;
  padding: 1.25rem;
}

/* Keep content readable without Divi */
.inside-article .entry-content {
  max-width: var(--bits-max);
}

.one-container .site-content {
  padding-top: 0;
}
