body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: #0b0b0b;
  color: #fff;
}

/* HEADER */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 50;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 18px;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: #ddd;
  text-decoration: none;
}

.nav-menu a:hover {
  color: gold;
}

.login-btn {
  border: 1px solid gold;
  padding: 8px 16px;
  border-radius: 6px;
  color: gold;
  text-decoration: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 80px;
  background:
    linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.9)),
    url('../images/hero.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
}

.hero p {
  color: #ccc;
  font-size: 18px;
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 26px;
  background: linear-gradient(135deg, gold, #caa43d);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin-top: 28px;
}

.hero-points li {
  margin-bottom: 10px;
  color: #ddd;
}

/* WHAT WE OFFER */
.offerings {
  padding: 80px 20px;
  text-align: center;
}

.offer-sub {
  color: #bbb;
  margin-bottom: 40px;
}

.offer-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.offer-card {
  background: linear-gradient(135deg, #1a1a1a, #0e0e0e);
  border: 1px solid #222;
  padding: 30px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: gold;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255,215,0,0.15);
}

/* BLOG */
.blog-preview {
  padding: 80px 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #121212;
  padding: 20px;
  border-radius: 12px;
}

.site-footer {
  text-align: center;
  padding: 40px;
  color: #aaa;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .nav-menu {
    display: none;
  }
}
/* PAGE CONTENT */
.page-content {
  max-width: 900px;
  margin: auto;
  padding: 140px 20px 80px;
}

.page-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.page-body {
  color: #ddd;
  line-height: 1.7;
}

.page-body h2,
.page-body h3 {
  margin-top: 40px;
  color: #fff;
}
/* BLOG PAGE */
.blog-page {
  max-width: 1200px;
  margin: auto;
  padding: 140px 20px 80px;
}

.blog-title {
  font-size: 42px;
  margin-bottom: 40px;
}

.blog-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.blog-page .blog-card h2 a {
  color: #fff;
  text-decoration: none;
}

.read-more {
  color: gold;
  text-decoration: none;
  font-weight: 500;
}
/* BLOG FIX */
.blog-page {
  max-width: 1200px;
  margin: auto;
  padding: 140px 20px 80px;
}

.blog-title {
  font-size: 42px;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  background: #121212;
  padding: 20px;
  border-radius: 12px;
}

.blog-card h2 a {
  color: #fff;
  text-decoration: none;
}

.read-more {
  color: gold;
  text-decoration: none;
}
/* FOOTER */
.site-footer {
  background: #0a0a0a;
  padding: 80px 20px 30px;
  border-top: 1px solid #1a1a1a;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: gold;
}

.footer-bottom {
  margin-top: 60px;
  text-align: center;
  color: #777;
  font-size: 14px;
}
/* =========================
   SINGLE BLOG POST
   ========================= */

.single-post {
  background: #0b0b0b;
}

/* HERO */
.post-hero {
  padding: 160px 20px 80px;
  text-align: center;
}

.post-hero-inner {
  max-width: 900px;
  margin: auto;
}

.post-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.post-meta {
  color: #aaa;
  font-size: 14px;
}

/* FEATURED IMAGE */
.post-featured {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.post-featured img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* CONTENT */
.post-content-wrapper {
  padding: 0 20px 140px;
}

.post-content {
  max-width: 760px;
  margin: auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #d0d0d0;
}

/* HEADINGS */
.post-content h2 {
  font-size: 1.8rem;
  margin: 70px 0 18px;
  color: #ffffff;
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 50px 0 14px;
  color: #ffffff;
}

/* PARAGRAPHS */
.post-content p {
  margin-bottom: 26px;
}

/* LISTS */
.post-content ul,
.post-content ol {
  margin: 30px 0 30px 20px;
}

.post-content li {
  margin-bottom: 12px;
}

/* LINKS */
.post-content a {
  color: gold;
  text-decoration: underline;
}

.post-content a:hover {
  opacity: 0.85;
}

/* IMAGES INSIDE CONTENT */
.post-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 50px 0;
}

/* BLOCKQUOTES */
.post-content blockquote {
  margin: 60px 0;
  padding-left: 20px;
  border-left: 3px solid gold;
  color: #ccc;
  font-style: italic;
}
/* AI Overview Section */
.ai-overview {
  background: #0b0b0b;
  padding: 100px 20px;
  text-align: center;
}

.ai-overview h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.ai-overview p {
  max-width: 760px;
  margin: 0 auto 40px;
  color: #cfcfcf;
  line-height: 1.8;
}

.ai-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.ai-links a {
  padding: 12px 20px;
  border: 1px solid #222;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ai-links a:hover {
  background: var(--color-accent);
  color: #000;
}

.ai-overview .btn-primary {
  margin-top: 10px;
}
/* ==================================================
   CUSTOM HTML PAGE CONTAINMENT (SAFE FIX)
   Does NOT affect hero, blog, or single posts
================================================== */

/* General containment for pages using Custom HTML */
.entry-content {
  max-width: 100%;
  overflow-x: hidden;
}

/* Custom HTML blocks */
.wp-block-html,
.wp-block-group {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Wrapper you should use in HTML pages */
.kylescope-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Ensure sections behave correctly */
.kylescope-page section,
.kylescope-page div {
  box-sizing: border-box;
}

/* Images & media safety */
.kylescope-page img,
.kylescope-page video,
.kylescope-page iframe {
  max-width: 100%;
  height: auto;
}

/* Fix buttons stretching */
.kylescope-page a,
.kylescope-page button {
  max-width: 100%;
}

/* Improve text readability */
.kylescope-page h1,
.kylescope-page h2,
.kylescope-page h3 {
  line-height: 1.2;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .kylescope-page {
    padding: 0 16px;
  }

  .kylescope-page h1 {
    font-size: 32px;
  }
}
/* ==================================================
   GLOBAL DARK BACKGROUND FIX
   Ensures all posts & pages stay dark
================================================== */

/* Core page/post containers */
body,
.site,
.site-content,
.content-area,
.entry-content,
.page,
.post,
.single,
.archive {
  background-color: #0b0b0b;
}

/* Gutenberg block wrappers */
.wp-site-blocks,
.wp-block-group,
.wp-block-post-content,
.wp-block-cover,
.wp-block {
  background-color: transparent;
}

/* Page & post content areas */
.page-content,
.blog-page,
.single-post,
.post-content-wrapper,
.post-content {
  background-color: #0b0b0b;
}

/* Ensure readable text */
.entry-content,
.page-body,
.post-content {
  color: #ddd;
}

/* Headings stay bright */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.page-title,
.post-title {
  color: #ffffff;
}

/* Prevent white gaps caused by margins */
html,
body {
  margin: 0;
  padding: 0;
}
