/****************************
STRATEGY HUB — OPTIMIZED GRID
****************************/

/* Force banner title to stay white in all themes */
#banner.style6 .major h1 {
  color: #ffffff !important;
}

/* Force banner title, description, AND separator line to white */
#banner.style6 .major h1,
#banner.style6 .content,
#banner.style6 .content p {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Force the separator line between title and description */
#banner.style6 .major > :first-child:after {
  background-color: #ffffff !important;
}

.strategy-hub-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 3fr;
  gap: 2.5rem;
  width: 100%;
  align-items: start;
  margin-bottom: 2rem;
}

/* LEFT COLUMN — Insight / Framing column */
.strategy-hub-left {
  background-color: var(--border);
  padding: 1.5rem;
  border-radius: 12px 0px 12px 12px;

  /* Sticky for desktop */
  position: sticky;
  top: 80px;
  align-self: flex-start;
  height: fit-content;
  max-width: 480px;
}

/* RIGHT COLUMN — Execution / Content column */
.strategy-hub-right {
  display: grid;
  gap: 2rem;
}

/* Each imported section */
.strategy-section {
  width: 100%;
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 900px) {

  /* Stack columns for mobile */
  .strategy-hub-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Remove sticky and fix spacing */
  .strategy-hub-left {
    margin: 0 0 1.5rem 0; /* small bottom margin to separate content */
    padding: 1rem;        /* slightly smaller padding */
    position: relative !important;  /* cancel sticky */
    top: auto !important;           /* reset top offset */
    height: auto !important;        /* natural height */
    max-width: 100% !important;     /* full width */
  }

  .strategy-hub-right {
    gap: 1.5rem;
  }
}


/* ================================= */
/* ========== TITLE BAR ========== */
.title-bar {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start; /* corrected */
  padding: 1rem;
  margin-top: 0;
  background: var(--border);
  border-radius: 0 10px 0 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 4px solid var(--highlight);
}

.title-bar h4 {
  margin: 0;
  line-height: 1;
}

@media (max-width: 900px) {
  .title-bar {
    position: relative; /* disable sticky */
    max-width: 100%;    /* full width */
    border-radius: 0;   /* simpler for small screens */
  }
}


/****************************
CASESTUDY.HTML STYLES (MAIN)
****************************/

/* STRATEGY BLOCK OPEN */
.strategy-block {
  padding: 1rem;
  margin-top: 1rem;
  border-left: 2px solid var(--highlight);
}

/* Custom gap between paragraphs */
.strategy-block p {
  margin-bottom: 1.6rem; /* adjust this to your preference */
}

.strategy-block p:last-child {
  margin-bottom: 0; /* keeps the block clean at the bottom */
}

/* LEARN MORE CONTAINER *******************************************************************/

/* IMG */
.learnmore-sh-thumb {
  flex: 0 0 15%;
  max-width: 480px;
  align-self: flex-start;
  height: fit-content;
  margin-top: 2rem;
  margin-bottom: -1rem;
}

/* Thumbnail */
.learnmore-sh-thumb img {
  width: 20%;
  border-radius: 8px;
}

/* CONTENT */
.learnmore-sh-container {
  display: flex;
  grid-template-columns: 10% 90%;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: start;
  flex-wrap: wrap;           /* fallback + mobile friendly */
  padding: 0rem;
}

/* Learn More Toggle area */
.learnmore-sh-content {
  padding: 01rem 01rem 01rem 1.5rem; /* top . right . bottom . left */
  flex: 1 1 0;               /* grow + don't shrink below content */
  min-width: 320px;          /* prevent squashing on narrow views */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;                 /* space between steps */
  border-left: 4px solid var(--highlight);
  background: var(--bg);       /* solid bg helps debug visibility */
  border-radius: 0px 0px 8px 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  opacity: 1;                /* override any animation hiding it initially */
  transform: none;           /* skip animation for debug */
  /* animation: slide-up 0.8s ease forwards; */   /* comment out temporarily */
}

/* Force visibility & debug outline (remove later) */
.learnmore-sh-content * {
  min-height: 20px;          /* tiny safeguard */
}

.learnmore-sh-toggle summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 0rem;
  transition: color 0.25s ease;
}

.learnmore-sh-toggle h4 {
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.learnmore-sh-text {
  margin-top: 0rem;
  font-size: .8rem;
}

/* Read More Block */
.lessons-sh-wrapper {
  margin-bottom: 1.5rem;      /* same spacing as paragraph */
  padding: 0rem 1rem 0rem 1rem; /* top . right . bottom . left */
}

/* Read More Toggle area */
.readmore-sh-toggle {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0rem;
}

.readmore-sh-toggle h4 {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

/*===================*/
/* PARKER CONTENT */
.lesson-sh-block {
  flex: 0 0 15%;
  align-self: flex-start;
  height: fit-content;
  margin-top: 1rem;
  padding: 2rem;
  background: var(--border);
  border-radius: 0px 16px 16px 16px;
}

/* Read more img */
.lesson-sh-block img {
  width: 100%;
  border-radius: 0 16px 0 0;
  margin-bottom: 1rem;
  border: 1px solid var(--highlight); /* width, style, color */
}

.lesson-sh-block p {
  margin-top: 0;
  margin-bottom: 0.8rem; /* add consistent spacing */
  font-size: 0.8rem;
  line-height: 1.6;       /* adjust for readability */
  font-weight: 400;       /* ensure consistency */
  color: inherit;
}

/* Make UL & LI follow paragraph styles */
.lesson-sh-block ul,
.lesson-sh-block ol {
  margin: 0;                  /* remove default top/bottom margin */
  padding-left: 1.2rem;       /* indent bullets */
  font-size: 0.8rem;          /* match paragraph size */
  line-height: 1.5;           /* match paragraph spacing */
  font-weight: 400;           /* match paragraph weight */
  color: inherit;
}

.lesson-sh-block ul li,
.lesson-sh-block ol li {
  margin-bottom: 0.8rem;      /* same spacing as paragraph */
}

/*===================*/
/* SALLY/JEFF CONTENT */
.lesson-sh-block2 {
  position: relative;
  min-height: 250px;            /* ensures the block is visible */
  padding: 3rem;
  border-radius: 0 16px 16px 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* ::before = faded background from left img */
.lesson-sh-block2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img); /* set dynamically via JS */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.18;        /* adjust faded effect */
  z-index: 0;
}

/* keep all content above background */
.lesson-sh-grid,
.lesson-sh-left,
.lesson-sh-right {
  position: relative;
  z-index: 1;
}

/* Grid layout: 30% left image, 70% right content */
.lesson-sh-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: start;   /* top align */
  gap: 2rem;
}

/* Left column image */
.lesson-sh-left img {
  width: 100%;
  height: 100%;          /* fill column fully */
  object-fit: cover;
  border-radius: 0px 16px 16px 16px;
  border: 1px solid var(--highlight);
}

/* Right column content */
.lesson-sh-right {
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 400;
  color: inherit;
  padding-right: 2rem;
}

/* ===== MOBILE FIX (max 767px) ===== */
@media (max-width: 767px) {

  .lesson-sh-block2 {
    padding: 1.5rem;      /* lighter spacing */
    min-height: 160px;
  }

  .lesson-sh-grid {
    grid-template-columns: 1fr; /* stack image + text */
    gap: 1rem;
  }

  .lesson-sh-left img {
    height: 180px;        /* controlled height */
  }

  .lesson-sh-right {
    padding-right: 0;     /* prevent text squeeze */
    font-size: 0.85rem;   /* more readable */
  }
}

/* ===== TABLET FIX (768–1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {

  .lesson-sh-grid {
    grid-template-columns: 35% 65%;
    gap: 1.5rem;
  }

  .lesson-sh-right {
    padding-right: 1rem;
  }
}


/* ===============================
   STRATEGY HUB – SIDEBAR
================================ */

.strategy-hub-left {
  padding-right: 1.5rem;
}

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Toggle styling (strategic, not bloggy) */
.sidebar-toggle {
  border: 1px solid rgba(151, 151, 151, 0.12);
  border-radius: 10px 10px 10px 10px;
  padding: 0.75rem 0.9rem;
  background: var(--border);
}

.sidebar-toggle summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
  position: relative;
}

.sidebar-toggle summary::-webkit-details-marker {
  display: none;
}

.sidebar-toggle summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-weight: 400;
  opacity: 0.6;
}

.sidebar-toggle[open] summary::after {
  content: "–";
}

/* Content spacing & readability */
.sidebar-toggle p {
  margin-top: 0.6rem;
  opacity: 0.85;
}

.sidebar-toggle em {
  font-style: italic;
  opacity: 0.7;
}

.sidebar-toggle ul {
  margin-top: 0.6rem;
  padding-left: 1.1rem;
}

.sidebar-toggle li {
  margin-bottom: 0.4rem;
}

.separator-line {
  border: none;
  border-top: 1px solid rgba(151, 151, 151, 0.12);
  width: 100%;
  margin: var(--separator-spacing, 2rem) auto;
}




