/* ============================================================
   Enlightened Order: blog stylesheet (blog.html and every post)

   PART 1 is a copy of the shared page styles (nav, hero, buttons,
   CTA band, footer) that every other page carries inline.
   If you change those site-wide, make the same change here.
   PART 2 is blog-only.
   Always load eo-banner-theme.css AFTER this file, as on other pages.
   ============================================================ */

/* ---------- PART 1: shared page styles ---------- */
.has-dropdown.open .dropdown { display: grid; }

.dropdown-single.has-dropdown.open .dropdown,
.has-dropdown.open .dropdown.dropdown-single { display: grid; }

.dropdown { z-index: 200; }

:root {
  --sage: #A5A888;
  --sage-dark: #585A45;
  --sage-light: #DCDDC3;
  --terra: #B8706E;
  --terra-dark: #7E4A48;
  --gold: #E5CFBF;
  --cream: #E5CFBF;
  --cream-alt: #E5CFBF;
  --ink: #333333;
  --charcoal: #333333;
  --gray: rgba(51, 51, 51, 0.82);
  --light-gray: #DCDDC3;
  --off-white: #F3F3F3;
  --white: #FFFFFF;

  

  --bg-warm: #F3F3F3;

  --bg-sage: #DCDDC3;

  --bg-mineral: #F3F3F3;  
  --tan: #E5CFBF;
  --peach: #E5CFBF;
  --light-blue: #DCDDC3;
  --ice-blue: #F3F3F3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Comfortaa", "Nunito", "Quicksand", "Arial Rounded MT Bold", Arial, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

a { color: var(--sage-dark); text-decoration: none; transition: color 0.15s ease; }

a:hover { color: #7E4A48; }

nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-gray);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo img { height: 32px; width: auto; }

.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }

.nav-links > li { position: relative; }

.nav-links > li > a {
  font-size: 0.9rem; color: var(--ink); font-weight: 500;
  padding: 0.5rem 0; display: inline-block;
}

.nav-links > li > a:hover { color: var(--sage-dark); }

.nav-cta {
  background: var(--sage); color: var(--white) !important;
  padding: 0.55rem 1.1rem !important; border-radius: 4px;
  font-size: 0.88rem !important; font-weight: 600;
}

.nav-cta:hover { background: var(--sage-dark); }

.has-dropdown:hover .dropdown { display: grid; }

.dropdown {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 460px; background: var(--white);
  border: 1px solid var(--light-gray); border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 1.25rem; gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

.dropdown-col h4 {
  font-family: "Comfortaa", sans-serif; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 0.6rem; font-weight: 700;
}

.dropdown-col ul { list-style: none; }

.dropdown-col li { margin-bottom: 0.4rem; }

.dropdown-col a {
  font-size: 0.85rem; color: var(--ink); display: block;
  padding: 0.25rem 0; font-weight: 400;
}

.dropdown-col a:hover { color: #7E4A48; }

.dropdown.dropdown-single {
  min-width: 220px;
  grid-template-columns: 1fr;
  padding: 1rem 1.25rem;
}

.dropdown.dropdown-single .dropdown-col ul { margin: 0; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.3rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 1rem 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--light-gray);
  }
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 3rem 0; }

.hero {
  background: #181616;
  padding: 3.5rem 0 3rem;
  position: relative; overflow: hidden;
}

.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyMTYnIGhlaWdodD0nMTI1Jz4KICA8ZyBmaWxsPSdub25lJyBzdHJva2U9J3JnYmEoMjU1LDI1NSwyNTUsLjA1NSknIHN0cm9rZS13aWR0aD0nMSc+CiAgICA8cG9seWdvbiBwb2ludHM9JzE4MC4wLDYyLjQgMTQ0LjAsMTI0LjcgNzIuMCwxMjQuNyAzNi4wLDYyLjQgNzIuMCwwLjAgMTQ0LjAsMC4wJy8+CiAgICA8cG9seWdvbiBwb2ludHM9Jy0zNi4wLDYyLjQgLTcyLjAsMTI0LjcgLTE0NC4wLDEyNC43IC0xODAuMCw2Mi40IC0xNDQuMCwwLjAgLTcyLjAsMC4wJy8+CiAgICA8cG9seWdvbiBwb2ludHM9JzM5Ni4wLDYyLjQgMzYwLjAsMTI0LjcgMjg4LjAsMTI0LjcgMjUyLjAsNjIuNCAyODguMCwwLjAgMzYwLjAsMC4wJy8+CiAgICA8cG9seWdvbiBwb2ludHM9JzcyLjAsLTYyLjQgMzYuMCwwLjAgLTM2LjAsMC4wIC03Mi4wLC02Mi40IC0zNi4wLC0xMjQuNyAzNi4wLC0xMjQuNycvPgogICAgPHBvbHlnb24gcG9pbnRzPScyODguMCwtNjIuNCAyNTIuMCwwLjAgMTgwLjAsMC4wIDE0NC4wLC02Mi40IDE4MC4wLC0xMjQuNyAyNTIuMCwtMTI0LjcnLz4KICAgIDxwb2x5Z29uIHBvaW50cz0nNzIuMCwxODcuMSAzNi4wLDI0OS40IC0zNi4wLDI0OS40IC03Mi4wLDE4Ny4xIC0zNi4wLDEyNC43IDM2LjAsMTI0LjcnLz4KICAgIDxwb2x5Z29uIHBvaW50cz0nMjg4LjAsMTg3LjEgMjUyLjAsMjQ5LjQgMTgwLjAsMjQ5LjQgMTQ0LjAsMTg3LjEgMTgwLjAsMTI0LjcgMjUyLjAsMTI0LjcnLz4KICA8L2c+Cjwvc3ZnPg==");
  background-size: 216px 125px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #7E4A48; font-weight: 600; margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12;
  margin-bottom: 1.5rem; max-width: 820px;
}

.hero h1 em { font-style: italic; color: var(--terra); font-weight: 500; }

.hero p.lead {
  font-size: 1.1rem; color: var(--gray); max-width: 680px;
  margin-bottom: 2.2rem; line-height: 1.6;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.btn {
  display: inline-block; padding: 0.85rem 1.6rem;
  border-radius: 4px; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; transition: all 0.15s ease;
  cursor: pointer; border: none; font-family: inherit;
}

.btn-primary { background: var(--sage); color: var(--white); }

.btn-primary:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-1px); }

.btn-arrow::after { content: " →"; }

.section-label {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terra); font-weight: 700; margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1rem; line-height: 1.2;
}

.section-title em { font-style: italic; color: var(--terra); font-weight: 500; }

.section-intro { font-size: 1rem; color: var(--gray); max-width: 700px; margin-bottom: 2.5rem; }

.cta-band {
  background: var(--charcoal); color: var(--white); text-align: center;
  padding: 5rem 1.5rem 5.25rem;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }

.cta-band p { color: rgba(255,255,255,0.88); max-width: 620px; margin: 0 auto 2rem; }

.cta-band .btn-primary { background: var(--white); color: var(--ink); }

.cta-band .btn-primary:hover { background: var(--sage-light); color: var(--ink); }

footer.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 5rem 1.5rem 2rem;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); display: block; }

.footer-brand p { font-size: 0.88rem; font-style: italic; margin-bottom: 1rem; }

.footer-brand .meta { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.footer-brand .meta a { color: rgba(255,255,255,0.75); }

.footer-col h3 {
  font-family: "Comfortaa", sans-serif; color: var(--white);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.86rem; }

.footer-col a:hover { color: var(--white); }

.footer-client-portal {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  background: var(--sage-dark);
  color: var(--white) !important;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-client-portal:hover { background: var(--sage-dark); color: var(--white) !important; }

.footer-bottom {
  max-width: 1100px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); margin-left: 1rem; }

.btn-row.centered,
.btn-row-centered,
section .btn-row.centered {
  justify-content: center !important;
}

.btn {
  border: 2px solid transparent !important;
  box-sizing: border-box !important;
}

.btn-primary { border-color: var(--sage) !important; }

.btn-primary:hover { border-color: var(--sage-dark) !important; }

section {
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184,112,110,0.20) 15%,
    rgba(184,112,110,0.55) 35%,
    rgba(165,168,136,0.55) 65%,
    rgba(165,168,136,0.20) 85%,
    transparent 100%
  );
  border: none;
  pointer-events: none;
  z-index: 2;
  transform: none;
  max-width: 100%;
}

section.anchor-dark::before,
section.cta-band::before,
.hero + section::before,
header + section::before,
nav.site-nav + section::before,
.sage-band + section::before,
.eo-hairline + section::before,
section.cta-band + section::before,
section.anchor-dark + section::before,
section.stats-section::before {
  display: none;
}

.btn {
  border: 2px solid transparent;
  box-sizing: border-box;
}

.btn-primary {
  border-color: var(--sage);
}

.btn-primary:hover {
  border-color: var(--sage-dark);
}

:root {
  --cream: #E5CFBF;
}

.btn {
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cta-band {
  border-top: none !important;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage) 30%, var(--terra) 70%, transparent);
  z-index: 2;
}

.cta-band h2 em,
.cta-band p em {
  color: var(--gold) !important;
}

/* ---------- PART 2: blog only ---------- */
/* ============================================================
   BLOG-SPECIFIC STYLES
   Colors below use only the seven approved palette values:
   #181616  #333333  #B8706E  #A5A888  #DCDDC3  #E5CFBF  #F3F3F3
   ============================================================ */

.blog-section { background: #F3F3F3; padding: 4rem 0 5rem; }

/* Blog index */
.blog-intro { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.blog-intro p { font-size: 1.05rem; line-height: 1.8; color: #333333; }

.coming-soon {
  background: #181616;
  border-radius: 8px;
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.coming-soon h2 { font-size: 1.8rem; color: #F3F3F3; margin-bottom: 1rem; }
.coming-soon p { max-width: 600px; margin: 0 auto; line-height: 1.7; color: #DCDDC3; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #181616;
  border-top: 4px solid #A5A888;
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.15s ease;
}
.blog-card:hover { border-top-color: #B8706E; }
.blog-card:focus-within { outline: 3px solid #B8706E; outline-offset: 3px; }
.blog-card-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A5A888;
  margin-bottom: 0.9rem;
}
.blog-card-title { font-size: 1.3rem; line-height: 1.3; color: #F3F3F3; margin-bottom: 0.75rem; }
.blog-card-title a, .blog-card-title a:hover { color: #F3F3F3; text-decoration: none; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.blog-card-excerpt { flex: 1; font-size: 0.92rem; line-height: 1.7; color: #DCDDC3; margin-bottom: 1.25rem; }
.blog-card-more { font-size: 0.85rem; font-weight: 700; color: #E5CFBF; }
.blog-card:hover .blog-card-more { text-decoration: underline; }

/* Post */
.hero .post-meta { font-size: 0.85rem; line-height: 1.6; color: #DCDDC3; margin: 0; }
.hero .post-meta > * + *::before { content: "\00B7"; margin: 0 0.6rem; }
.post-wrap { max-width: 768px; padding-top: 3rem; }   /* 720px text column + 1.5rem side padding, so the back link, article, and note all share one left edge */
.post-back {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333333;
  text-decoration: underline;
  text-decoration-color: #B8706E;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  margin-bottom: 2rem;
}
.post-back:hover { color: #181616; }
.post-body { font-size: 1.05rem; line-height: 1.9; color: #333333; }
.post-body p { margin-bottom: 1.4em; }
.post-body h2 { font-size: 1.9rem; line-height: 1.25; color: #181616; margin: 2em 0 0.6em; }
.post-body h3 { font-size: 1.35rem; line-height: 1.3; color: #181616; margin: 1.6em 0 0.5em; }
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.4em; }
.post-body li { margin-bottom: 0.5em; }
.post-body a, .post-sources a {
  color: #333333;
  text-decoration: underline;
  text-decoration-color: #B8706E;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.post-body a:hover { color: #181616; }
.post-body strong { font-weight: 700; color: #181616; }
.post-body blockquote {
  border-left: 4px solid #B8706E;
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 1.8em 0;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #181616;
}
.post-body .post-note { border-left: 4px solid #B8706E; padding: 0.25rem 0 0.25rem 1.25rem; margin: 1.8em 0; font-size: 1rem; }
.post-body .post-note p { margin-bottom: 0.6em; }
.post-body .post-note p:last-child { margin-bottom: 0; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.post-body figure { margin: 1.8em 0; }
.post-body figcaption { font-size: 0.82rem; line-height: 1.6; margin-top: 0.5rem; color: #333333; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.6; }
.post-body th { background: #181616; color: #F3F3F3; text-align: left; font-weight: 700; padding: 0.75rem 0.9rem; }
.post-body td { padding: 0.75rem 0.9rem; border-bottom: 1px solid #DCDDC3; vertical-align: top; }
.post-sources { margin-top: 2.4em; font-size: 0.9rem; line-height: 1.7; }
.post-sources h2 { font-size: 1.35rem; margin-top: 0; }
.post-disclaimer {
  margin: 3rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #DCDDC3;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #333333;
}

@media (max-width: 600px) {
  .blog-section { padding: 3rem 0 3.5rem; }
  .coming-soon { padding: 3rem 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-body { font-size: 1rem; }
  .post-body h2 { font-size: 1.6rem; }
}
