/* ============================================
   ARTICLE CUSTOM BASE SPACING
   Applies ONLY when body has article-custom
   ============================================ */
body.article-custom main.wrap {
  padding-top: 90px;   /* move the whole article DOWN */
  padding-bottom: 80px;
}

/* ============================================
   ARTICLE CONTENT WRAPPER
   (Your guide-article block)
   ============================================ */
body.article-custom .guide-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
  line-height: 1.65;
}

/* Title styling override (optional) */
body.article-custom .guide-article h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 12px;
  font-weight: 700;
}

/* Intro paragraph */
body.article-custom .guide-article p.muted {
  opacity: 0.85;
  margin-bottom: 20px;
}

/* Optional HERO IMAGE inside article body */
body.article-custom .guide-article > img.article-hero {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 40px;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

/* Other images inside article */
body.article-custom .guide-article img {
  border-radius: 18px;
  margin: 24px 0;
}

/* ------------------------------------------
   FULL-WIDTH ARTICLE HERO (touches both edges)
------------------------------------------- */
.article-hero-header {
  position: relative;
  width: 100%;         /* full width */
  margin: 0;           /* no side space */
  height: 799px;       /* adjust to taste */
  
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 0;    /* remove rounded corners if you want */
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for readability */
.article-hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.15)
  );
}

/* Content inside hero */
.article-hero-header .page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
}

.article-hero-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
  color: var(--fg);
}

.article-hero-header p {
  color: var(--muted);
  font-size: 1rem;
}

/* ARTICLE PAGE BACKGROUND */
body.article-custom {
  position: relative;
  overflow-x: hidden;
  background: var(--article-bg, #0b1116);
}
/* Hero meta line color */
.article-hero-header .art-head {
  color: #d2d4d3;   /* your gold color */
  font-weight: 700;
  margin-right: 6px;
}


/* =========================================
   GOLD RAILS ATTACHED TO THE ARTICLE ITSELF
   ========================================= */

body.article-custom .guide-article {
  max-width: 820px;     /* keep your reading width */
  margin: 0 auto;
  padding: 0 16px;
  line-height: 1.65;
  position: relative;   /* 👈 important so rails anchor here */
}

/* Gold columns */
body.article-custom .guide-article::before,
body.article-custom .guide-article::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;            /* make it thicker for testing */
  background: #c8a33e;   /* your gold */
  opacity: 0.9;
  
}

/* Left column – outside text */
body.article-custom .guide-article::before {
  left: -120px;           /* move further with -60px, closer with -20px */
}

/* Right column – outside text */
body.article-custom .guide-article::after {
  right: -120px;
}

.guide-img {
  margin: 2rem 0;
  text-align: center;
}

.guide-img img {
  width: 60%;
  max-width: 900px;
  border-radius: 10px;
}
.gold-num {
  color: #f1d06f;   /* your gold color */
  font-weight: 700;
  margin-right: 6px;
  
}


/* Tablets */
@media (max-width:768px){
  
  /* ------------------------------------------
     FULL-WIDTH ARTICLE HERO (touches both edges)
  ------------------------------------------- */
  .article-hero-header {
    position: relative;
    width: 100%;
    margin: 0;
    height: 799px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0;
    overflow: hidden;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: 70% center; /* shift image so right side shows more */
  }

} /* <-- This was missing */

 @media (max-width: 723px) {
  header .menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  header .menu.is-open {
    display: flex;
  }
}
/* Move hero image RIGHT on mobile */
@media (max-width: 768px) {
  .article-hero-header {
    background-position: 8% center !important;
  }
}
 


/* Hide rails on small screens */
@media (max-width: 900px) {
  body.article-custom .guide-article::before,
  body.article-custom .guide-article::after {
    display: none;
  }
}


