/* =========================================================================
   HORSEWOOD BLOG STYLESHEET
   Lives inside your /blog folder, alongside blog.html and every article
   page. Linked AFTER assets/mobirise/css/mbr-additional.css so these rules
   extend (not fight) the existing Mobirise/Bootstrap theme:

   <link rel="stylesheet" href="blog.css">
   ========================================================================= */
:root{
  --hw-ink:        #2B2620;   /* warm charcoal — page background (was near-black) */
  --hw-panel:      #38311F;   /* card / panel background, one step lighter */
  --hw-panel-2:    #453B27;   /* hover / raised panel */
  --hw-line:       #5C4F38;   /* hairline borders on dark panels */
  --hw-gold:       #D4AC4E;   /* primary brass/gold accent, brightened */
  --hw-gold-dim:   #A67F3A;   /* pressed / muted gold, brightened */
  --hw-rust:       #A97847;   /* secondary warm accent, brightened */
  --hw-paper:      #F3EEE1;   /* warm off-white body text on dark, brightened */
  --hw-paper-dim:  #BDB29C;   /* muted / secondary text on dark, brightened */
  --hw-dark-text:  #201A12;   /* text on light/gold surfaces — unchanged for contrast */
  --hw-font-display: 'Oswald', 'Source Sans 3', Arial, sans-serif;
  --hw-font-body:    'Source Sans 3', Arial, sans-serif;
  --hw-radius: 4px;
  --hw-container: 1140px;
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

/* -------------------------------------------------------------------------
   Base
   ---------------------------------------------------------------------- */
.hw-blog{
  background: var(--hw-ink);
  color: var(--hw-paper);
  font-family: var(--hw-font-body);
  -webkit-font-smoothing: antialiased;
}

.hw-blog a{ color: var(--hw-gold); text-decoration: none; }
.hw-blog a:hover{ color: #E0B65C; }

.hw-container{
  max-width: var(--hw-container);
  margin: 0 auto;
  padding: 0 24px;
}

.hw-eyebrow{
  font-family: var(--hw-font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hw-gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}

/* -------------------------------------------------------------------------
   Blog hero (used on blog.html hub page)
   ---------------------------------------------------------------------- */
.hw-hero{
  padding: 150px 0 90px;
  border-bottom: 1px solid var(--hw-line);
  background:
    radial-gradient(ellipse at top right, rgba(200,155,60,0.12), transparent 55%),
    var(--hw-ink);
}

.hw-hero h1{
  font-family: var(--hw-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: var(--hw-paper);
  margin: 0 0 18px;
  max-width: 780px;
}

.hw-hero p.hw-lede{
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--hw-paper-dim);
  max-width: 620px;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Signature element: the Vitality Dial — a horizontal gauge used as a
   section divider throughout the blog. Reused on every article page.
   ---------------------------------------------------------------------- */
.hw-dial{
  position: relative;
  margin: 56px 0;
  padding: 0;
}

.hw-dial-track{
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--hw-line) 0%, var(--hw-gold-dim) 55%, var(--hw-gold) 100%);
  border-radius: 2px;
  position: relative;
}

.hw-dial-track::after{
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hw-gold);
  box-shadow: 0 0 0 4px rgba(200,155,60,0.18);
}

.hw-dial-labels{
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--hw-font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hw-paper-dim);
}

.hw-dial-labels .hw-optimal{ color: var(--hw-gold); }

/* -------------------------------------------------------------------------
   Article grid on the hub page
   ---------------------------------------------------------------------- */
.hw-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 70px 0 100px;
}

@media (max-width: 991px){
  .hw-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .hw-grid{ grid-template-columns: 1fr; }
}

.hw-card{
  background: var(--hw-panel);
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hw-card:hover{
  transform: translateY(-4px);
  border-color: var(--hw-gold-dim);
  background: var(--hw-panel-2);
}

.hw-card .hw-tag{
  font-family: var(--hw-font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hw-gold);
  margin-bottom: 12px;
}

.hw-card h3{
  font-family: var(--hw-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--hw-paper);
  margin: 0 0 12px;
}

.hw-card p{
  color: var(--hw-paper-dim);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.hw-card .hw-readmore{
  font-family: var(--hw-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hw-paper);
}
.hw-card:hover .hw-readmore{ color: var(--hw-gold); }

/* -------------------------------------------------------------------------
   Article page
   ---------------------------------------------------------------------- */
.hw-article-hero{
  padding: 150px 0 60px;
  border-bottom: 1px solid var(--hw-line);
}

.hw-breadcrumb{
  font-family: var(--hw-font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hw-paper-dim);
  margin-bottom: 24px;
}
.hw-breadcrumb a{ color: var(--hw-paper-dim); }
.hw-breadcrumb a:hover{ color: var(--hw-gold); }
.hw-breadcrumb .hw-sep{ margin: 0 8px; opacity: .5; }
.hw-breadcrumb .hw-current{ color: var(--hw-paper); }

.hw-article-hero h1{
  font-family: var(--hw-font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  max-width: 820px;
  margin: 0 0 20px;
}

.hw-meta{
  color: var(--hw-paper-dim);
  font-size: 0.9rem;
}
.hw-meta strong{ color: var(--hw-paper); }

.hw-article-body{
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 0 30px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--hw-paper);
}

.hw-article-body h2{
  font-family: var(--hw-font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--hw-paper);
  margin: 50px 0 18px;
}

.hw-article-body h3{
  font-family: var(--hw-font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--hw-gold);
  margin: 34px 0 12px;
}

.hw-article-body p{ margin: 0 0 22px; color: #DCD3BE; }
.hw-article-body strong{ color: var(--hw-paper); }

.hw-article-body ul{ margin: 0 0 24px 22px; padding: 0; }
.hw-article-body li{ margin-bottom: 10px; color: #DCD3BE; }

.hw-pullquote{
  border-left: 3px solid var(--hw-gold);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
  font-family: var(--hw-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--hw-paper);
  line-height: 1.5;
}

.hw-disclaimer{
  background: var(--hw-panel);
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  padding: 20px 24px;
  font-size: 0.88rem;
  color: var(--hw-paper-dim);
  margin: 40px 0;
}

/* Inline CTA banner within articles, linking back to the product */
.hw-cta{
  max-width: 740px;
  margin: 50px auto;
  background: linear-gradient(135deg, var(--hw-panel-2), var(--hw-panel));
  border: 1px solid var(--hw-gold-dim);
  border-radius: var(--hw-radius);
  padding: 34px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hw-cta h4{
  font-family: var(--hw-font-display);
  font-size: 1.15rem;
  color: var(--hw-paper);
  margin: 0 0 6px;
}
.hw-cta p{ margin: 0; color: var(--hw-paper-dim); font-size: 0.92rem; }

.hw-btn{
  font-family: var(--hw-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--hw-gold);
  color: var(--hw-dark-text) !important;
  padding: 13px 26px;
  border-radius: 2px;
  white-space: nowrap;
  display: inline-block;
}
.hw-btn:hover{ background: #E0B65C; color: var(--hw-dark-text) !important; }

/* -------------------------------------------------------------------------
   Silo / related-article interlinking module
   ---------------------------------------------------------------------- */
.hw-related{
  border-top: 1px solid var(--hw-line);
  padding: 60px 0 90px;
}

.hw-related .hw-container > .hw-eyebrow{ display: block; text-align: center; }

.hw-related h2{
  font-family: var(--hw-font-display);
  text-align: center;
  font-size: 1.7rem;
  margin: 0 0 40px;
  color: var(--hw-paper);
}

.hw-related-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 640px){ .hw-related-grid{ grid-template-columns: 1fr; } }

.hw-related-grid a.hw-related-card{
  display: block;
  background: var(--hw-panel);
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  padding: 22px 24px;
  color: var(--hw-paper);
  transition: border-color .18s ease, background .18s ease;
}
.hw-related-grid a.hw-related-card:hover{
  border-color: var(--hw-gold-dim);
  background: var(--hw-panel-2);
}
.hw-related-grid .hw-tag{
  font-family: var(--hw-font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hw-gold);
  display: block;
  margin-bottom: 8px;
}
.hw-related-grid strong{ font-family: var(--hw-font-display); font-weight: 600; font-size: 1.02rem; }

/* -------------------------------------------------------------------------
   Nav dropdown additions (Blog / Articles) — visual polish only;
   behaviour is handled by blog-nav.js
   ---------------------------------------------------------------------- */
.nav-dropdown .dropdown-menu{
  background: var(--hw-ink) !important;
  border: 1px solid var(--hw-line) !important;
}
.nav-dropdown .dropdown-menu .dropdown-item{
  color: var(--hw-paper) !important;
  font-family: var(--hw-font-body);
}
.nav-dropdown .dropdown-menu .dropdown-item:hover{
  background: var(--hw-panel-2) !important;
  color: var(--hw-gold) !important;
}
.hw-article-hero {
    padding: 150px 0 60px;
    border-bottom: 1px solid var(--hw-line);
    background: #000;
}


.hw-article-hero {
    padding: 150px 0 60px;
    border-bottom: 1px solid var(--hw-line);
    background: #000;
}