@charset "UTF-8";
/*
Theme Name:   Astra CyberCloudAI
Theme URI:    https://www.cybercloudai.tech
Description:  Astra child theme. Matches the CyberCloudAI.tech homepage design system (navy/teal palette, Syne + DM Sans fonts, custom header and footer).
Author:       CyberCloudAI Consulting LLC
Author URI:   https://www.cybercloudai.tech
Template:     astra
Version:      1.0.6
Text Domain:  astra-cybercloudai
*/

/* == GOOGLE FONTS =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* == CSS VARIABLES ========================================================== */
:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2040;
  --navy-light: #1a3358;
  --teal:       #1d9e75;
  --teal-mid:   #5dcaa5;
  --teal-pale:  #e1f5ee;
  --amber:      #ef9f27;
  --amber-pale: #faeeda;
  --white:      #ffffff;
  --off-white:  #f7f9fb;
  --gray-light: #eef1f5;
  --gray:       #d0d8e4;
  --body-color: #1a2332;
  --muted:      #6b7a8d;
  --border:     #e2e8f0;
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

/* == GLOBAL ================================================================= */

/* Hide Astra's native header and footer shells — our nav/footer are injected
   via wp_body_open and wp_footer hooks in functions.php instead. Only target
   by ID so we never accidentally hide page content. */
#masthead,
#colophon {
  display: none !important;
}

/* Push page content below our injected sticky nav (~81px tall) */
.ast-container,
#content.site-content {
  padding-top: 0 !important;
}


body {
  font-family: var(--font-body) !important;
  font-weight: 400;
  color: var(--body-color) !important;
  background: #fff !important;
  margin: 0;
  padding: 0;
}

/* Remove Astra sticky-header padding */
body,
body.ast-header-break-point {
  padding-top: 0 !important;
}

/* ── CONTENT AREA OVERRIDES ─────────────────────────────────────────────────
   Force our font/color system onto Astra's content containers.
   Astra applies its own font stack to .ast-article-single and children,
   so we need to match that specificity. */
.ast-article-single,
.ast-article-single p,
.ast-article-single li,
.entry-content,
.entry-content p,
.entry-content li,
.wp-block-post-content,
.wp-block-post-content p,
.wp-block-post-content li {
  font-family: var(--font-body) !important;
  color: var(--body-color) !important;
  font-size: 16px;
  line-height: 1.75;
}

.ast-article-single h1,
.ast-article-single h2,
.ast-article-single h3,
.ast-article-single h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-head) !important;
  color: var(--navy) !important;
}

.ast-container,
.site-content,
#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head) !important;
  color: var(--navy);
  line-height: 1.15;
}

a { color: var(--teal); }
a:hover { color: #0f6e56; }

.ccai-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* == NAV ==================================================================== */

.ccai-nav {
  background: var(--navy) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.ccai-nav-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.ccai-nav-logo {
  display: flex !important;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ccai-nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.ccai-nav-logo .logo-text {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ccai-nav-logo .logo-text .ai {
  color: var(--teal-mid);
}

.ccai-nav-links {
  display: flex !important;
  gap: 32px;
  list-style: none !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.ccai-nav-links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.ccai-nav-links a {
  font-size: 13px !important;
  font-weight: 400;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none !important;
  transition: color .15s;
}

.ccai-nav-links a:hover {
  color: #fff !important;
}

.ccai-nav-links .nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 500;
  transition: background .15s;
}

.ccai-nav-links .nav-cta:hover {
  background: #0f6e56 !important;
}

.nav-badge {
  font-size: 10px;
  background: var(--teal);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: .04em;
}

.ccai-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.ccai-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all .2s;
}

/* == PAGE CONTENT =========================================================== */

.ccai-page-content {
  padding: 64px 32px;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}

.ccai-page-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--navy);
}

.ccai-page-content h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin-top: 14px;
}

.ccai-page-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.ccai-page-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 10px;
}

.ccai-page-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 18px;
}

.ccai-page-content ul,
.ccai-page-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.ccai-page-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 8px;
}

/* == BLOG ARCHIVE =========================================================== */

.ccai-blog-header {
  background: var(--navy);
  padding: 64px 32px 56px;
  text-align: center;
}

.ccai-blog-header .section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 12px;
}

.ccai-blog-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.ccai-posts-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ccai-post-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.ccai-post-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.ccai-post-card .post-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-light);
}

.ccai-post-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.ccai-post-card:hover .post-thumb img {
  transform: scale(1.03);
}

.ccai-post-card .post-body {
  padding: 24px;
}

.ccai-post-card .post-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ccai-post-card .post-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--teal-pale);
  color: var(--teal);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
}

.ccai-post-card .post-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
}

.ccai-post-card .post-title a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}

.ccai-post-card .post-title a:hover {
  color: var(--teal);
}

.ccai-post-card .post-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}

.ccai-post-card .post-date {
  font-size: 11px;
  color: var(--muted);
}

/* == SINGLE POST ============================================================ */

.ccai-single-header {
  background: var(--navy);
  padding: 72px 32px 56px;
  text-align: center;
}

.ccai-single-header .post-cats {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ccai-single-header .post-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(29,158,117,0.2);
  color: var(--teal-mid);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
}

.ccai-single-header h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.ccai-single-header .post-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.ccai-single-featured-img {
  max-width: 860px;
  margin: -32px auto 0;
  padding: 0 32px;
}

.ccai-single-featured-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.ccai-single-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.ccai-single-body p,
.ccai-single-body li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--body-color);
}

.ccai-single-body h2 { font-size: 26px; margin: 40px 0 14px; }
.ccai-single-body h3 { font-size: 21px; margin: 32px 0 12px; }
.ccai-single-body a { color: var(--teal); }

.ccai-single-body blockquote {
  border-left: 4px solid var(--teal);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--teal-pale);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--muted);
}

/* == FOOTER ================================================================= */

.ccai-footer {
  background: #060e1b !important;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.ccai-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ccai-footer .footer-brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}

.ccai-footer .footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  line-height: 1.65;
  margin-bottom: 20px;
}

.ccai-footer .footer-cert-badges {
  display: flex;
  gap: 12px;
}

.ccai-footer .footer-cert {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.3);
}

.ccai-footer .footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
  font-family: var(--font-body);
}

.ccai-footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ccai-footer .footer-col li { margin-bottom: 10px; }

.ccai-footer .footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .15s;
}

.ccai-footer .footer-col a:hover { color: var(--teal-mid); }

.ccai-footer .footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
}

.ccai-footer .footer-contact a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
}

.ccai-footer .footer-contact a:hover { color: var(--teal-mid); }

.ccai-footer .footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ccai-footer .footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,.2);
}

.ccai-footer .footer-ids {
  font-size: 10px;
  color: rgba(255,255,255,.18);
  text-align: right;
  line-height: 1.8;
}

/* == RESPONSIVE ============================================================= */

@media (max-width: 900px) {
  .ccai-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .ccai-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .ccai-nav-links {
    display: none !important;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
  }
  .ccai-nav-links.open { display: flex !important; }
  .ccai-nav-links li { width: 100%; }
  .ccai-nav-links a { display: block; padding: 12px 32px; font-size: 15px !important; }
  .ccai-nav-links .nav-cta { margin: 8px 32px; border-radius: 6px; text-align: center; padding: 12px 18px !important; }
  .ccai-nav-toggle { display: flex; }
  .ccai-nav { position: relative; }
  .ccai-posts-grid { grid-template-columns: 1fr; }
  .ccai-footer .footer-grid { grid-template-columns: 1fr; }
  .ccai-footer .footer-bottom { flex-direction: column; text-align: center; }
  .ccai-footer .footer-ids { text-align: center; }
  .ccai-blog-header h1,
  .ccai-single-header h1 { font-size: 28px; }
  .ccai-page-content,
  .ccai-single-body { padding: 40px 20px 60px; }
  .ccai-nav-inner { padding: 14px 20px; }
}
