/*
Theme Name: Astra Child - 5G Network Architecture
Theme URI: https://5gnetworkarchitecture.com/
Description: Custom child theme for 5gnetworkarchitecture.com. Dark-navy / cyan tech aesthetic for a telecom & networking blog with paid course access. Preserves all existing posts and media — this is a presentation-layer theme only.
Author: Custom Build
Template: astra
Version: 1.0.0
Text Domain: astra-child-5gnetwork
*/

/* ======================================================
   1. BRAND COLORS & TYPOGRAPHY (CSS variables)
   ====================================================== */
:root {
  --brand-navy: #0b1220;
  --brand-navy-light: #121a2b;
  --brand-cyan: #22d3ee;
  --brand-cyan-dark: #0891b2;
  --brand-accent: #7c3aed;
  --text-light: #e5e9f0;
  --text-muted: #9aa5b8;
  --card-bg: #141b2d;
  --border-subtle: rgba(255,255,255,0.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ======================================================
   2. GLOBAL DARK THEME
   ====================================================== */
body,
.ast-separate-container,
.site-content,
.ast-single-post .entry-content {
  background-color: var(--brand-navy) !important;
  color: var(--text-light);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

a { color: var(--brand-cyan); }
a:hover { color: var(--brand-cyan-dark); }

p, li, .entry-content, .entry-summary {
  color: var(--text-light);
}

.entry-meta, .ast-comment-meta, .widget-title-text, .site-description {
  color: var(--text-muted) !important;
}

/* ======================================================
   3. HEADER
   ====================================================== */
.ast-primary-header-bar,
#masthead {
  background-color: var(--brand-navy-light) !important;
  border-bottom: 1px solid var(--border-subtle);
}

.main-header-menu > .menu-item > .menu-link,
.site-title a {
  color: var(--text-light) !important;
  font-weight: 600;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
  color: var(--brand-cyan) !important;
}

/* CTA button in the menu (add a menu item labeled "Get Started" or "Courses") */
.ast-header-button .ast-button {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-cyan-dark));
  color: #04121a !important;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 22px;
  border: none;
}
.ast-header-button .ast-button:hover {
  opacity: 0.9;
}

/* ======================================================
   4. BLOG / ARCHIVE GRID (card style for existing posts)
   ====================================================== */
.ast-separate-container .ast-article-post {
  padding: 24px;
  margin-bottom: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ast-separate-container .ast-article-post:hover {
  transform: translateY(-4px);
  border-color: var(--brand-cyan);
}

.post-thumb-img-content img,
.ast-featured-img img {
  border-radius: 8px;
}

.entry-title a {
  color: var(--text-light);
}
.entry-title a:hover {
  color: var(--brand-cyan);
}

.ast-taxonomy-container a,
.ast-terms-link a {
  background: rgba(34, 211, 238, 0.12);
  color: var(--brand-cyan);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  text-decoration: none;
}

/* ======================================================
   5. CODE BLOCKS (your content has a lot of technical/config text)
   ====================================================== */
pre, code {
  background-color: #0d1420 !important;
  color: #7ee6e6 !important;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-family: 'Fira Code', 'Courier New', monospace;
}
pre {
  padding: 16px;
  overflow-x: auto;
}

/* ======================================================
   6. SIDEBAR WIDGETS
   ====================================================== */
.widget {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}
.widget-title {
  color: var(--text-light);
  border-bottom: 2px solid var(--brand-cyan);
  padding-bottom: 8px;
  display: inline-block;
}

/* ======================================================
   7. COURSE / LMS AREAS (Tutor LMS)
   ====================================================== */
.tutor-course-card,
.tutor-card {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 12px !important;
  color: var(--text-light) !important;
}

.tutor-btn-primary,
.tutor-btn.tutor-btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-cyan-dark)) !important;
  border: none !important;
  color: #04121a !important;
  font-weight: 700 !important;
}

.tutor-course-price,
.tutor-price {
  color: var(--brand-cyan) !important;
  font-weight: 700;
}

/* Locked lesson / content-restricted areas */
.tutor-access-label,
.tutor-course-lead-message {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--brand-accent);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-light);
}

/* ======================================================
   8. LOGIN / REGISTRATION FORMS
   ====================================================== */
.tutor-form-control,
input[type="text"], input[type="email"], input[type="password"] {
  background-color: #0d1420 !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-light) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
}

/* ======================================================
   9. FOOTER
   ====================================================== */
#footer,
.ast-footer-overlay {
  background-color: var(--brand-navy-light) !important;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--border-subtle);
}
#footer a { color: var(--brand-cyan); }

/* ======================================================
   10. RESPONSIVE TWEAKS
   ====================================================== */
@media (max-width: 768px) {
  .ast-separate-container .ast-article-post {
    padding: 16px;
  }
}
