/*!
Theme Name: Reese Legacy Capital
Author: Radu
Version: 1.0.0
*/

/* CSS Variables Module */
:root {
  /* Legacy Colors */
  --gray: #7a7a7a;
  --dark_gray: #212121;
  --red: #eb1e00;
  --orange: #f08923;
  --white: #FAFAFA;
  --black: #050505;

  /* Reese Legacy Capital Theme Variables */
  --pine: #1B2A24;
  --parchment: #F4F1E9;
  --brass: #9C7A3C;
  --brass-light: #C9A768;
  --slate: #2E3B4E;
  --stone: #B7BBAE;
  --ink: #22201A;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 1280px;
}

/* Reset & Base Styles Module */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  background: var(--parchment);
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

*:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* Placeholder Styling Module */
::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--body);
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--body);
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--body);
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--body);
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--body);
}

::placeholder {
  /* Most modern browsers support this now. */
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--body);
}

/* Form Elements Module */
textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

/* ==== GRID SYSTEM ==== */
/* Grid System Module */
.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  float: left;
  margin: 0rem 2%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 33.75em) {
  /* 540px */
  .container {
    width: var(--max);
  }
}

@media only screen and (min-width: 45em) {
  /* 720px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 46%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 96%;
  }

  .hidden-sm {
    display: block;
  }
}

/* Flexbox Utilities Module */
.flex_it {
  display: flex;
}

.center_it {
  align-items: center;
}

.wrap_it {
  flex-wrap: wrap;
}

.flex_center {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.space_between {
  justify-content: space-between;
}

/* Alignments Module
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* ==== UTILITIES ==== */
/* Global Utilities Module */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1%;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}

.btn-primary {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  background: var(--brass);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 2px;
  display: inline-block;
  transition: background .15s ease, transform .15s ease;
}

.btn-primary:hover {
  background: var(--brass-light);
  transform: translateY(-1px);
}

/* ==== HEADER & NAV ==== */
/* Header & Navigation Module */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 233, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(34, 32, 26, 0.08);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg {
  width: 22px;
  height: 22px;
}

.brand img {
  max-height: 35px;
  min-height: 35px;
  width: auto;
}

.brand span {
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style-type: none;
}

.nav-links a {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color .15s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  color: var(--brass);
}

.nav-links .current-menu-item a {
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
}

.nav-links a.nav-cta {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  background: var(--pine);
  color: var(--parchment);
  padding: 10px 20px;
  border-radius: 2px;
  transition: background .15s ease;
  text-transform: none;
  letter-spacing: normal;
}

.nav-links a.nav-cta:hover {
  background: var(--slate);
}

/* ==== MOBILE MENU TOGGLE ==== */
/* Mobile Menu Toggle Module */
ul#mobile_menu {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  right: 32px;
  margin: 0;
  display: none;
  z-index: 99;
}

ul#mobile_menu li:before {
    display: none;
}

ul#mobile_menu li {
  list-style: none;
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  width: 90%;
  height: 2px;
  background: var(--pine);
  /* Changed from accent to pine to fit theme */
  border-radius: 20px;
  transition: .5s;
  opacity: 1;
}

ul#mobile_menu li:nth-of-type(1) {
  top: 20%;
}

ul#mobile_menu li:nth-of-type(2),
ul#mobile_menu li:nth-of-type(3) {
  top: 50%;
}

ul#mobile_menu li:nth-of-type(4) {
  top: 80%;
}

ul#mobile_menu.active li:nth-of-type(1) {
  top: -20%;
  opacity: 0;
}

ul#mobile_menu.active li:nth-of-type(2) {
  transform: translateY(-50%) rotate(45deg);
}

ul#mobile_menu.active li:nth-of-type(3) {
  transform: translateY(-50%) rotate(-45deg);
}

ul#mobile_menu.active li:nth-of-type(4) {
  top: 120%;
  opacity: 0;
}

@media (max-width: 1200px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--parchment);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(34, 32, 26, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  ul#mobile_menu {
    display: block;
  }
}

/* ==== REESE SECTIONS & MODULES ==== */
/* Heroes & Intros Module */
.hero {
  position: relative;
  padding: 96px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}


h1,
.intro h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  color: var(--pine);
  margin-bottom: 20px;
}

.sub,
.hero p.sub,
.intro p.sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 58ch;
  margin-top: 22px;
}

/* Stance & Capabilities Module (Merged from your grids) */
.stance {
  background: var(--slate);
  color: var(--parchment);
  padding: 56px 0;
  text-align: center;
}

.stance p.lead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.4;
  max-width: 720px;
  margin: 0 auto;
}

.stance .cap {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.capabilities,
.philosophy,
.featured {
  background: var(--pine);
  padding: 96px 0;
}


/* Grids (Boxes module mapping) Module */
.cap-grid,
.pillar-grid,
.insight-grid,
.steps,
.serve-grid,
.who-grid {
  display: grid;
  gap: 28px;
}

.cap-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(244, 241, 233, 0.15);
}

.cap-card {
  background: var(--pine);
  padding: 32px;
}

.insight-grid,
.serve-grid,
.who-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.pillar-grid {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(34, 32, 26, 0.12);
  gap: 0;
}

.pillar {
  padding: 44px 40px;
  border-right: 1px solid rgba(34, 32, 26, 0.12);
  border-bottom: 1px solid rgba(34, 32, 26, 0.12);
}

.pillar:last-child {
  border-right: none;
}

/* Typography Overrides Module for modules */
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--pine);
  margin-bottom: 20px;
  line-height: 1.4;
}

h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 14px;
}

h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
  font-weight: 400;
}

p {
  margin-bottom: 22px;
  font-size: 16px;
  color: var(--slate);
}


ul li{
  list-style-type: none;
  margin:0;
  padding:0;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

  ul li:before{
    content:"•";
    position: absolute;
    left: 0;
    color: var(--brass);
  }


hr{
  display: table;
  height: 1px;
  border: 0;
  border-top: 1px solid rgba(34,32,26,0.12);
  margin-top: 32px;
  padding-bottom: 32px;
  width: 70%;
}

.blue_bg hr, 
.green_bg hr{
  border-top: 1px solid rgba(244, 241, 233, 0.2);  
}


.blue_bg{
  background: var(--slate);
  color: var(--parchment);
}
.green_bg{
  background: var(--pine);
  color: var(--parchment);
}


.green_bg h1, .green_bg h2, .green_bg h3, .green_bg p,
.blue_bg h1, .blue_bg h2, .blue_bg h3, .blue_bg p{
  color: var(--parchment);
}

.green_bg h4,
.blue_bg h4{
  color: var(--brass-light);
}

/* Button Module */
.button_container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.button {
  white-space: nowrap;
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  background: var(--brass);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 2px;
  display: table;
  transition: background .15s ease, transform .15s ease;
}

.button:hover {
  background: var(--brass-light);
  transform: translateY(-1px);
}

/* Notes Module */
.hero-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* Full Text Module */
.full_text{
  padding: 96px 0;
}

  .full_text.center .button_container{
    justify-content: center;
  }

.full_text img{
	max-width:100%;
	display:table;
	margin:0 auto;
	height:auto;
}

  .full_text .small_container .text{
    max-width: 700px;
    display: table;
    margin: 0 auto;
  }
 
.full_text blockquote{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin-bottom: 36px;
}

  .full_text blockquote p{
    margin:0;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--stone);
  }

.full_text h2+h4{
  margin-bottom: 0;
}



.boxes{
  padding: 96px 0;
}

  .boxes.blue_bg .box{
    border-top: 1px solid rgba(244,241,233,0.25);
        padding-top: 20px;
  }

  .boxes.boxes_border .box_container{
    gap: 0;
  }

  .boxes.boxes_border .box{
    padding: 44px 40px;
    border-top: 1px solid rgba(34, 32, 26, 0.12);
    border-right: 1px solid rgba(34, 32, 26, 0.12);
    border-bottom: 1px solid rgba(34, 32, 26, 0.12);
  }


  .boxes .box p:last-child{margin-bottom: 0;}

  .boxes.boxes_border .box_container a{
    display: inline-block;
    font-family: var(--mono); 
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--brass);
    border-bottom: 1px solid var(--brass);
    padding-bottom: 2px;
  }

  .boxes.green_bg.boxes_border .box_container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: rgba(244, 241, 233, 0.15);
      margin-top: 50px;
  }

  .boxes.green_bg.boxes_border .box{
    background: var(--pine);
    padding: 32px;
  }


  .boxes .box_container{
    display: flex;
    margin-top: 50px;
    gap: 36px;
  }

    .boxes .box_container h4{
      margin-bottom: 10px;
    }

    .boxes .items{
      display: flex;
      justify-content: center;
      gap: 36px;
      text-align: center;
    }

.filters .col-12{
  display: flex;
}


.insights {
    background: #EDE9DD;
    padding: 30px 0;
}

  .insights .insight-mod .col-12{
    display: flex;
    gap: 28px;
    margin-top: 0px;
    flex-wrap: wrap;
  }

    .insights .insight-mod .col-12 .post-item{
      width: calc(33.3% - 19px);
    }

  .featured+.insights{
    margin-top: 0;
  }


.insight-thumb{
  background-size: cover;
  background-position: center;
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.post-item {
  background: var(--parchment);
  border: 1px solid rgba(34, 32, 26, 0.1);
  width: 100%;
}

.post-item .body{
  padding: 20px 22px 24px;
}

.post-item h4{
  margin-bottom: 10px;
}

.post-item .body h3{
  font-family: var(--display);
    font-weight: 500;
    font-size: 17px;
    color: var(--pine);
    margin-top: 10px;
    line-height: 1.35;
}

.featured-inner{
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

  .featured-inner > div{
    width: 100%;
  }

  .featured-inner .featured-thumb {
    position: relative;
    height: 400px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-size: contain!important;
    background-repeat: no-repeat!important;
  }

/* Left/Right Module */
.left_right {
  padding: 96px 0;
}

.left_right.switch .row{
  display: flex;
  flex-direction: row-reverse;
}

.left_right .top_text {
  margin-bottom: 96px;
}


.left_right .row {
  display: flex;
  align-items: center;
}

.left_right.left_title_right_text .row {
  align-items: start;
}

.left_right .image-note {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.4;
  color: var(--pine);
  border-left: 2px solid var(--brass);
  padding-left: 24px;
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 16px;
  display: table;
  margin-top: 24px;
}

/* FAQ Module */
.faq {
  padding: 100px 0;
}

.faq-item {
  border-top: 1px solid rgba(34, 32, 26, 0.12);
  padding: 26px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(34, 32, 26, 0.12);
}

/* Closing CTA Module */
.closing {
  background: var(--pine);
  color: var(--parchment);
  padding: 90px 0;
  text-align: center;
}

.closing h2 {
  color: var(--parchment);
  font-size: clamp(26px, 3.4vw, 36px);
  max-width: 24ch;
  margin: 0 auto 28px;
}

/* ==== FOOTER ==== */
/* Footer Module */
footer {
  background: var(--pine);
  color: var(--stone);
  padding: 64px 0 40px;
  border-top: 1px solid rgba(244, 241, 233, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244, 241, 233, 0.12);
}

.footer-brand span {
  font-family: var(--display);
  font-size: 17px;
  color: var(--parchment);
  white-space: nowrap;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 9px;
}

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

.disclosure {
  font-size: 12.5px;
  line-height: 1.7;
  color: #8B9188;
  max-width: 840px;
  margin-top: 14px;
}

.footer-links {
  display: flex;
  gap: 48px;
  width: 100%;
}

  .footer-links .footer-col{
    width: 100%;
  }

.footer-brand {
  display: flex;
}

.footer-brand img {
  max-width: 30px;
  height:auto;
}

.footer-address {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
  margin-top: 3px;
  line-height: 1.6;
}

/* Arch Animation Module */
.arch-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.arch-wrap svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.tick {
  stroke: var(--stone);
  stroke-width: 2.5;
  opacity: 0;
  animation: tick-in .5s ease forwards;
}

.arc-base {
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.5;
  opacity: 0.55;
}

.keystone {
  fill: var(--brass);
  opacity: 0;
  transform: translateY(-26px);
  animation: keystone-in .7s cubic-bezier(.2, .9, .3, 1.3) forwards;
  animation-delay: 1.05s;
  transform-origin: 200px 60px;
}

@keyframes tick-in {
  to {
    opacity: 1;
  }
}

@keyframes keystone-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* ==== PAGINATION ==== */
.rlc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 64px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rlc-pagination a.page-numbers,
.rlc-pagination span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 12px;
    color: var(--slate);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.rlc-pagination a.page-numbers:hover {
    color: var(--brass);
    background: rgba(34,32,26,0.04);
}

.rlc-pagination span.current {
    color: var(--parchment);
    background: var(--pine);
    font-weight: 500;
}

.rlc-pagination span.dots {
    color: var(--stone);
    min-width: auto;
    padding: 0 4px;
}

.rlc-pagination .prev,
.rlc-pagination .next {
    font-family: var(--body);
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--pine);
}

.rlc-pagination .prev:hover,
.rlc-pagination .next:hover {
    color: var(--brass);
    background: transparent;
}




/* =========================================
   SINGLE POST & VIDEO STYLES
   ========================================= */

.single-article-wrap {
    padding-bottom: 100px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 30px 0;
    border-bottom: 1px solid rgba(34,32,26,0.06);
    margin-bottom: 30px;
    font-family: var(--body);
    font-size: 13px;
    color: var(--stone);
}
.breadcrumbs .container .col-12{
  display: flex;
  align-items: center;
}

.breadcrumbs a {
    color: var(--slate);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}
.breadcrumbs a:hover {
    color: var(--brass);
}
.breadcrumbs .sep {
    margin: 0 10px;
    color: var(--stone);
    font-size: 10px;
}
.breadcrumbs .current {
    color: var(--brass);
    font-weight: 500;
}

/* Main Header */
.single-header {
    margin-bottom: 30px;
}
.single-header h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.15;
    color: var(--pine);
}

/* Left Column: Meta Bar */
.post-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    object-fit: cover;
}
.author-name {
    font-family: var(--body);
    font-weight: 600;
    font-size: 15px;
    color: var(--pine);
}
.meta-details {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--stone);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.category-tag {
    color: var(--brass);
    font-weight: 500;
}
.category-tag:hover {
    color: var(--brass-light);
}

/* Left Column: Media & Content */
.post-media {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}
.featured-image {
    width: 100%;
    height: auto;
    display: block;
}
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.post-content {
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--slate);
}
.post-content h2, .post-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--pine);
}
.post-content p {
    margin-bottom: 24px;
    color: inherit;
    font-size: inherit;
}

.post-content ol {
  margin-bottom: 10px;
  display: table;
  list-style-type: none;
  counter-reset: custom-counter; /* 1. Initialize the counter */
}

/* Use the direct child selector (>) so it only targets the main OL list items, not nested ones */
.post-content ol > li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  counter-increment: custom-counter; /* 2. Increment the counter for each li */
}

/* 3. Add the numbers using :before */
.post-content ol > li:before {
  content: counter(custom-counter) "."; /* Outputs "1.", "2.", etc. */
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: bold; /* Optional: makes the numbers stand out */
}

/* Your existing nested UL bullet style */
.post-content ol ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brass);
}

.post-content ul{
  margin-bottom: 10px;
  display: table;
}

.post-content img{
  max-width: 100%!important;
  display: table;
  margin:0 auto;
  border-radius: 8px;
  margin-bottom: 24px;
  height: auto;
}

.wp-caption{
	max-width: 100%!important;
}

.wp-caption-text{
	font-style:italic;
}

.post-content iframe{
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}


.text a,
.widget-share a,
.widget-tags a,
.post-content a{
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
}


/* Right Column: Sidebar Widgets */
.sidebar {
    position: sticky;
    top: 100px;
}
.widget {
    background: #ffffff;
    border: 1px solid rgba(34,32,26,0.08);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.widget-title {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pine);
    border-left: 3px solid var(--brass);
    padding-left: 12px;
    margin-bottom: 24px;
}

/* Widget: Recent Posts */
.widget-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recent-post-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.recent-post-item:hover {
    opacity: 0.7;
}
.r-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.r-thumb.fallback {
    background-color: var(--pine);
}
.r-content h5 {
    font-family: var(--body);
    font-size: 14px;
    font-weight: 600;
    color: var(--pine);
    margin-bottom: 6px;
    line-height: 1.3;
}
.r-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--stone);
}

/* Widget: Categories */
.widget-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-categories li {
    border-bottom: 1px solid rgba(34,32,26,0.06);
    position: relative;
}
.widget-categories li:before{
  top:20%;
}
.widget-categories li:last-child {
    border-bottom: none;
}
.widget-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-family: var(--body);
    font-weight: 500;
    font-size: 14px;
    color: var(--slate);
    transition: color 0.2s ease;
}
.widget-categories a span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--stone);
}
.widget-categories a:hover {
    color: var(--brass);
}

/* Widget: Popular Tags */
.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.widget-tags a {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--slate);
    background: rgba(34,32,26,0.04);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.widget-tags a:hover {
    background: var(--pine);
    color: var(--parchment);
}

/* Widget: Share */
.widget-share {
    display: flex;
    gap: 12px;
}
.widget-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(34,32,26,0.04);
    color: var(--slate);
    border-radius: 50%;
    transition: all 0.2s ease;
}
.widget-share a:hover {
    background: var(--brass);
    color: var(--pine);
}


.filters a{
  padding:5px 10px;
  border:1px solid var(--pine);
  border-radius: 20px;
  margin-right: 10px;
}



/* ==== CONTACT FORM ==== */
.rlc-form .form-group {
    margin-bottom: 20px;
}
.rlc-form input[type="text"],
.rlc-form input[type="email"],
.rlc-form input[type="tel"],
.rlc-form select,
.rlc-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid rgba(34,32,26,0.15);
    border-radius: 2px;
    font-family: var(--body);
    font-size: 15px;
    color: var(--pine);
    transition: all 0.2s ease;
    appearance: none; /* Removes native OS styling for selects */
}
.rlc-form select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232E3B4E%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 10px auto;
}
.rlc-form input:focus,
.rlc-form select:focus,
.rlc-form textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 2px rgba(156, 122, 60, 0.1);
}
.rlc-form input::placeholder,
.rlc-form textarea::placeholder {
    color: var(--stone);
    opacity: 1;
}

@media (max-width: 900px) {
    .contact-section .col-6 {
        width: 96%;
        margin-bottom: 40px;
    }
    .form-row {
        flex-direction: column;
        gap: 0 !important;
    }
}


/* Responsive Overrides */
@media (max-width: 860px) {
    .single-body .col-8,
    .single-body .col-4 {
        width: 100%;
        float: none;
        margin: 0 0 40px 0;
    }
    .post-meta-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (prefers-reduced-motion: reduce) {
  .tick,
  .keystone {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Global Responsive Adjustments Module */
@media (max-width: 860px) {
  .hero-inner,
  .pillar-grid,
  .insight-grid,
  .steps,
  .cap-grid,
  .serve-grid,
  .who-grid {
    grid-template-columns: 1fr;
  }
 
  .pillar,
  .who-card {
    border-right: none;
    padding-left: 0;
  }
}

#masthead .wrap{
  padding: 10px 1%;
}


.contact-section{
  padding: 100px 0; background: var(--parchment);
}




.author-intro{
  margin-bottom: 30px;
  width: 100%;
  display: table;
}

  .author-intro img{
    border-radius: 100%;
  }


.filters{
  padding-bottom: 30px;
}






/* =========================================
   404 PAGE STYLES
   ========================================= */

.error-404-wrap {
    background: var(--pine);
    color: var(--parchment);
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
}

.e404-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* WYSIWYG Formatting */
.e404-wysiwyg .eyebrow {
    color: var(--brass-light);
    justify-content: center;
    display: flex;
    margin-bottom: 20px;
}

.e404-wysiwyg h1 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(80px, 15vw, 180px);
    line-height: 1;
    color: var(--parchment);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.e404-wysiwyg h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(24px, 3.4vw, 36px);
    color: var(--parchment);
    margin-bottom: 24px;
}

.e404-wysiwyg p {
    color: #D7D3C6;
    font-size: 17px;
    max-width: 50ch;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Button & Links Formatting */
.e404-btn {
    margin: 0 auto 60px;
    display: table;
}

.e404-links-wrap {
    padding-top: 40px;
    border-top: 1px solid rgba(244, 241, 233, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.e404-links-title {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 20px;
}

.e404-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.e404-links a {
    color: var(--brass-light);
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.e404-links a:hover {
    opacity: 0.7;
}


@media only screen and (max-width: 1300px) {
    .container {
        width: 1000px;
    }
}

@media only screen and (max-width: 1200px) {
    .nav-links li{
      float:left;
      width:  100%;
    }
    .nav-links li a{
        border-bottom: 1px solid var(--pine);
      float:left;
      width:  100%;
      margin-bottom: 10px;
      padding-bottom: 10px;
    }

    .nav-cta{
        display: table;
        margin: 0 auto;
    }

    .nav-links li:last-child{
      margin-bottom: 20px;
    }

    #masthead .wrap {
      border-bottom: 1px solid rgba(34, 32, 26, 0.08);
    }

    .nav-links{
      top: calc(100% + 2px);
    }
}

@media only screen and (max-width: 1100px) {
    .container {
        width: 800px;
    }
}

@media only screen and (max-width: 1000px) {
  .col-6{
    width: 96%;
  } 

  .disclosure,
  .footer-top{
    flex-wrap: wrap;
    width: 88%;
    margin: 0 auto;
  }

  .disclosure{
      margin-top: 24px;
  }

  .left_right .row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0px;
      flex-direction: column-reverse;
  }
  .left_right .row svg,
  .left_right .row img{
      margin-bottom: 36px;
  }

  .left_right .button_container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 34px;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

  .insights .insight-mod .col-12,
  .boxes .box_container,
  .boxes.boxes_border .box_container{
    flex-wrap: wrap;    
    margin-top: 36px;
  }
    
    .insights .insight-mod .col-12 .post-item {
        width: calc(50% - 14px);
    }

 

  .boxes.boxes_border .box {
    padding: 24px 20px;
    padding-left: 0;
  }

  .contact-section,
  .insights,
  .boxes,
  .full_text,
  .left_right{
    padding:36px 0;
  }

  .left_right .top_text{
    margin-bottom:0px;
  }
  .boxes.green_bg.boxes_border .box_container {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 1px;
      background: rgba(244, 241, 233, 0.15);
      margin-top: 26px;
  }

  .boxes.green_bg.boxes_border .box {
      background: var(--pine);
      padding: 24px 0px;
  }

  .boxes.green_bg.boxes_border .box:first-child{
        border-top: 1px solid rgb(255 255 255 / 12%);
  }
}

@media only screen and (max-width: 900px) {
    .container {
        width: 90%;
    }

    

  .footer-links{
    gap: 24px;
  }

    .featured-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    .featured-inner .featured-thumb{
      height: 300px;
    }

    .single-header{
      margin-bottom: 24px;
    }

    .single-article-wrap{
      padding-bottom: 36px;
    }
}

@media only screen and (max-width: 768px) {
    .footer-links{
      flex-wrap: wrap;
    }

     .insights .insight-mod .col-12 .post-item{
    width:  100%;
  }
}