/* ==========================================================================
   MediaNet Master Blog Stylesheet (Clean Baseline)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. UNIVERSAL DARK BLUE CANVAS & WHITE READING CARD
   -------------------------------------------------------------------------- */
body.hs-blog-post,
body.blog-post-page,
body.hs-content-type-blog-post,
html body .blog-post-wrapper,
html body article.blog-post-wrapper,
html body.hs-blog-post .body-container-wrapper,
html body.hs-blog-post .content-wrapper,
html body.hs-blog-post .row-fluid-wrapper {
  background-color: #121733 !important; /* Dark Blue Canvas */
}

/* Blog Listing Page Canvas */
body.hs-blog-listing,
body.hs-blog-index,
body.hs-blog-listing .body-container-wrapper {
  background-color: #ffffff !important;
}

/* White Reading Card Container */
html body .hs-blog-post article.blog-post,
html body article.blog-post {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3.5rem 4rem !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  margin-top: 1.5rem !important;
  margin-bottom: 3.5rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {
  html body article.blog-post {
    padding: 1.5rem !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* --------------------------------------------------------------------------
   1. HERO SPLIT (TITLE LEFT | FEATURED IMAGE RIGHT & AUTHOR BYLINE)
   -------------------------------------------------------------------------- */
html body a.back-to-blog,
html body .button_back,
html body .blog-post__header a,
html body .content-wrapper a.back-to-blog {
  display: inline-block !important;
  margin-bottom: 1.5rem !important;
}

html body article.blog-post .blog-post__header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 2.5rem !important;
  margin-bottom: 2.5rem !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Article Title (H1) */
html body .blog-post__header h1,
html body .blog-post__title h1,
html body h1.blog-post_title,
html body article.blog-post h1 {
  font-size: 2.5rem !important;
  line-height: 1.15 !important;
  color: #121733 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
}

/* Author Byline Container & "By " Prefix */
html body .blog-post__header .blog-post__author,
html body article.blog-post .blog-post__author,
html body article.blog-post .blog-post__title .blog-post__author,
html body div.blog-post__author,
html body .blog-post__title .blog-post__publish-date,
html body div.blog-post__publish-date {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  color: #64748b !important;
  font-weight: 500 !important;
  margin-bottom: 1.5rem !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Author Name Link Override */
html body .blog-post__header .blog-post__author a,
html body .blog-post__header .blog-post__author span,
html body article.blog-post .blog-post__author a,
html body article.blog-post .blog-post__author span,
html body div.blog-post__author a,
html body div.blog-post__author span,
html body a[href*="author"] {
  color: #bf1f2e !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body article.blog-post .blog-post__header img,
html body article.blog-post .blog-post__header .hs-featured-image {
  max-width: 420px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

/* --------------------------------------------------------------------------
   2. 2-COLUMN ARTICLE BODY & SINGLE-BOX STICKY TOC
   -------------------------------------------------------------------------- */
html body .blog-post__body,
html body article.blog-post .blog-post__body {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

html body .blog-post__body::after,
html body article.blog-post .blog-post__body::after {
  content: "" !important;