/* Make the header sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999; /* keep it on top of other elements */
  background-color: #fff; /* ensure header has a background */
  transition: all 0.3s ease; /* optional smooth effect */
}

/* ================================
   ONLY THE BLOG / POSTS INDEX PAGE
   GeneratePress + NJWebForge dark cards
   ================================ */

body.blog {
    background: #0f172a; /* matches your dark sections */
}

/* Grid for the posts */
body.blog .inside-article {
    background: #1e293b !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.35s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    margin-bottom: 2rem !important;
}

body.blog .inside-article:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7) !important;
}

/* Featured image */
body.blog .post-image img,
body.blog .featured-image img {
    width: 100% !important;
    height: 13rem !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
    border-radius: 16px 16px 0 0 !important;
}

body.blog .inside-article:hover img {
    transform: scale(1.08) !important;
}

/* Category */
body.blog .cat-links a {
    color: #06b6d4 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
}

/* Title */
body.blog .entry-title a {
    color: #f97316 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease !important;
}

body.blog .entry-title a:hover {
    color: #06b6d4 !important;
}

/* Date & meta */
body.blog .posted-on,
body.blog .byline {
    color: #94a3b8 !important;
    font-size: 0.875rem !important;
}

/* Optional: make the whole card clickable */
body.blog .entry-summary {
    display: none !important; /* hides the default excerpt if you don’t want it */
}

.entry-summary p {
    color: #f97316;
}

.sidebar .widget {
    background-color: black;
}