/* ==========================================================================
   bm.css — BuildingMinds case-study page
   Responsive: mobile / tablet / desktop
========================================================================== */


/* ==========================================================================
   BASE
========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
}

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

img {
  height: auto;
}


/* ==========================================================================
   PAGE CONTAINER
========================================================================== */

.page-container {
  width: 100%;
  max-width: 1659px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .page-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  .page-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}


/* ==========================================================================
   HEADER
========================================================================== */

.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a {
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {

  .header-inner {
    height: 6rem;
  }

  .desktop-nav {
    display: flex !important;
  }

}

@media (min-width: 640px) {
  #menu-btn {
    display: none !important;
  }
}


/* ==========================================================================
   SHARED CASE-STUDY ATOMS
========================================================================== */

.cs-num {
  font-family: 'DM Sans', sans-serif;

  font-size: 0.7rem;
  font-weight: 600;

  color: #9ca3af;

  letter-spacing: 0.04em;

  margin-right: 0.6rem;
}

.cs-num-light {
  color: #9797c7;
}

.cs-section-label {
  font-size: 0.7rem;
  font-weight: 600;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #737373;
}

.cs-label-light {
  color: #b9b9dd;
}

.cs-numbered-section {
  display: flex;
  align-items: baseline;
}

.cs-rule {
  width: 2.5rem;
  height: 1px;

  background: #d4d4d4;

  margin-top: 1.5rem;
}

.cs-rule-short {
  width: 2.5rem;
  height: 1px;

  background: #d4d4d4;

  margin-top: 1rem;
}

.cs-body-text {
  font-size: 1rem;
  line-height: 1.75;

  color: #404040;

  margin-top: 0;

  max-width: 100%;

  overflow-wrap: break-word;
}

.cs-meta-value {
  font-size: 1.05rem;
  line-height: 1.6;

  color: #171717;

  margin-top: 0.4rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}


/* ==========================================================================
   HERO
========================================================================== */

.cs-hero-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.cs-hero {
  display: grid;

  grid-template-columns: 1fr;

  gap: 2rem;

  min-width: 0;
}

.cs-hero-logo-col,
.cs-hero-text {
  min-width: 0;
}

.cs-hero-logo {
  display: block;

  width: auto;
  height: 64px;

  max-width: 100%;

  margin-bottom: 0.5rem;
}

.cs-h1 {
  font-size: clamp(2rem, 7vw, 2.75rem);

  font-weight: 600;
  line-height: 1.15;

  letter-spacing: -0.01em;

  max-width: 100%;

  color: #171717;

  overflow-wrap: break-word;
}

@media (min-width: 1024px) {

  .cs-hero-section {
    padding-top: 4rem;
  }

  .cs-hero {
    grid-template-columns: 394px minmax(0, 1fr);
    gap: 4.5rem;
  }

  .cs-hero-logo {
    height: 88px;
  }

  .cs-h1 {
    font-size: clamp(1.9rem, 3.4vw, 3.5rem);
    max-width: 26ch;
  }

}


/* ==========================================================================
   HEADER IMAGE / OVERVIEW
========================================================================== */

.cs-header-section {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.cs-header-img-wrap {
  display: grid;

  grid-template-columns: 1fr;

  gap: 2.5rem;

  min-width: 0;
}

.cs-header-img-col,
.cs-header-text-col {
  min-width: 0;
}

.cs-header-img-col img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 4px;

  object-fit: cover;
}

.cs-overview-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {

  .cs-header-section {
    padding-top: 3rem;
  }

  .cs-header-img-wrap {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 5rem;

    align-items: start;
  }

  .cs-header-img-col img {
    max-height: 624px;
  }

}


/* ==========================================================================
   PULL QUOTE
========================================================================== */

.cs-quote-section {
  background: #E3EEF0;

  padding: 3.5rem 0;
}

.cs-quote-inner {
  width: 100%;
  max-width: 820px;

  margin: 0;
}

.cs-quote {
  margin: 0;

  font-family: 'Space Grotesk', sans-serif;

  font-size: clamp(1.6rem, 5vw, 2.5rem);

  font-weight: 600;
  line-height: 1.25;

  color: #171717;

  font-style: normal;
}

@media (min-width: 768px) {

  .cs-quote-section {
    padding: 4.5rem 0;
  }

}


/* ==========================================================================
   META
========================================================================== */

.cs-meta-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;

  border-bottom: 1px solid #e5e5e5;
}

.cs-meta-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 2rem;

  padding-top: 1.5rem;

  min-width: 0;
}

.cs-meta-left,
.cs-meta-right {
  min-width: 0;
}

.cs-meta-left {
  padding-right: 0;
}

.cs-meta-right {
  padding-left: 0;
  padding-top: 2rem;

  border-left: 0;
  border-top: 1px solid #e5e5e5;
}

.cs-research-list {
  list-style: none;

  margin-top: 0.4rem;
  padding: 0;
}

.cs-research-list li {
  font-size: 1.05rem;
  line-height: 1.8;

  color: #171717;
}

@media (min-width: 1024px) {

  .cs-meta-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .cs-meta-grid {
    grid-template-columns: 1fr 1fr;

    gap: 0;

    padding-top: 2.5rem;
  }

  .cs-meta-left {
    padding-right: 3rem;
  }

  .cs-meta-right {
    padding-left: 3rem;
    padding-top: 0;

    border-top: 0;
    border-left: 1px solid #e5e5e5;
  }

}


/* ==========================================================================
   LONG SECTIONS
========================================================================== */

.cs-long-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.cs-long-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 2rem;

  min-width: 0;
}

.cs-long-label,
.cs-long-content,
.cs-long-body {
  width: 100%;
  max-width: 100%;

  min-width: 0;
}

@media (min-width: 1024px) {

  .cs-long-grid {
    grid-template-columns:
      480px
      minmax(0, 1fr);

    gap: 5rem;

    align-items: start;
  }

}


/* ==========================================================================
   USER INTERVIEWS
========================================================================== */

/* USER INTERVIEWS */
.cs-long-content {
  width: 100%;
  min-width: 0; /* Prevents grid items from overflowing flex/grid parents */
}

.cs-interview-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.5rem;
  width: 100%;
  margin-top: 2rem;
  min-width: 0;
}

.cs-interview-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tablet (640px to 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .cs-interview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .cs-interview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* ==========================================================================
   AFFINITY MAPPING
========================================================================== */

.cs-affinity-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}

.cs-affinity-text {
  min-width: 0;
  margin-bottom: 2.5rem;
}

.cs-diagram-section {
  background-color: #E3EEF0;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.cs-diagram-img-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0;
  border-radius: 8px;
  overflow: hidden;
}

.cs-diagram-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-diagram-narrow {
  max-width: 1200px;
}


/* ==========================================================================
   TABLET
========================================================================== */

@media (min-width: 640px) and (max-width: 1023px) {

  .cs-affinity-grid {
    grid-template-columns: 1fr;
  }

  .cs-affinity-text {
    margin-bottom: 1rem;
  }

  .cs-diagram-section {
  background-color: #E3EEF0;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

}


/* ==========================================================================
   DESKTOP
========================================================================== */

@media (min-width: 1024px) {


  .cs-affinity-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1.3fr);

    gap: 5rem;
    align-items: start;
  }

  .cs-affinity-text {
    margin-bottom: 0;
  }

  .cs-diagram-section {
  background-color: #E3EEF0;
  padding-top: 4rem;
  padding-bottom: 5rem;

}
}
/* ==========================================================================
   EMPATHY MAPPING
========================================================================== */

.cs-empathy-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 2.5rem;

  align-items: center;

  min-width: 0;
}

.cs-empathy-text {
  display: flex;
  flex-direction: column;

  gap: 1rem;

  min-width: 0;
}

.cs-empathy-grid .cs-diagram-img-wrap img{
  width: 60%;
}

.cs-diagram-img-wrap{
  display: flex;
  justify-content: center; /* Centers image horizontally */
  align-items: center;     /* Centers image vertically */
  width: 100%;
}

@media (min-width: 1024px) {

  .cs-empathy-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 5rem;
  }

}


/* ==========================================================================
   PERSONAS / DATA SOURCES
========================================================================== */

.cs-personas-data-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cs-personas-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-width: 0;
}

.cs-personas-column,
.cs-data-column {
  min-width: 0;
}

.cs-personas-intro {
  max-width: 60ch;
  margin-top: 0.75rem;
}

.cs-features-intro {
  max-width: 60ch;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.cs-features-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.5rem !important; /* Base gap */
  min-width: 0;
}

.cs-feature-card {
  padding: 0;
  min-width: 0;
}

.cs-feature-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 1.25rem;
  display: block;
}

/* Tablet (640px to 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .cs-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important; 
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .cs-personas-data-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .cs-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }
}

/* ==========================================================================
   USER STORIES
========================================================================== */

.cs-two-col-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 3rem;

  min-width: 0;
}

.cs-story-heading {
  border-bottom: 1px solid #e5e5e5;

  padding: 1.5rem 0;
}

.cs-story-heading p {
  margin: 0;
}

.cs-user-stories {
  list-style: none;

  display: flex;
  flex-direction: column;

  gap: 0;

  margin: 0;
  padding: 0;
}

.cs-user-stories li {
  display: flex;

  gap: 0.9rem;

  font-size: 0.95rem;
  line-height: 1.6;

  color: #404040;

  padding: 1.25rem 0;

  border-bottom: 1px solid #e5e5e5;

  min-width: 0;

  overflow-wrap: break-word;
}

.cs-story-num {
  font-family: 'Space Grotesk', sans-serif;

  font-weight: 600;
  font-size: 0.85rem;

  color: #a3a3a3;

  flex-shrink: 0;
}

@media (min-width: 1024px) {

  .cs-two-col-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 5rem;

    align-items: start;
  }

  .cs-user-stories li {
    padding: 1.5rem;
  }

}


/* ==========================================================================
/* LEVELS */
.cs-levels-section {
  background: #E3EEF0;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.cs-levels-intro {
  max-width: 60ch;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.cs-levels-grid {
  display: grid !important;
  grid-template-columns: 1fr !important; /* Forces 1 column on mobile */
  gap: 1.5rem;
  min-width: 0;
  width: 100%;
}

.cs-level-card {
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  min-width: 0;
}

.cs-level-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  display: block;
}

.cs-level-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #171717;
  margin-bottom: 0.5rem;
}

.cs-level-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #525252;
  max-width: 35ch;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet (640px to 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .cs-levels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .cs-levels-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .cs-levels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* ==========================================================================
   USER FLOWS / WIREFRAMES
========================================================================== */

.cs-flows-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important; /* Adjust this value if needed */
  min-width: 0;
  width: 100%;
}

.cs-flow-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Controls space between the heading block and the paragraph inside each column */
}

/* Optional: remove default bottom margins from inner elements if they conflict */
.cs-flow-column > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .cs-flows-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4rem !important;
  }
}
/* ==========================================================================
   FLOWCHART
========================================================================== */

.cs-flowchart-section {
  background: #E3EEF0;

  padding-top: 3rem;
  padding-bottom: 3rem;
}

.cs-flowchart-intro {
  max-width: 70ch;

  margin-top: 0.75rem;
}

.cs-flowchart-image {
  width: 100%;

  max-width: 750px;

  margin-top: 2rem;

  min-width: 0;
}

.cs-flowchart-image img {
  width: 100%;
  height: auto;

  display: block;
}

@media (min-width: 1024px) {
.cs-flowchart-image {
  width: 50%;

  max-width: 750px;

  margin-top: 2rem;

  min-width: 0;
}
  

}


/* ==========================================================================
   PROTOTYPE STACK
========================================================================== */

.cs-protostack-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cs-protostack-item {
  display: grid;

  grid-template-columns: 1fr;

  gap: 2rem;

  align-items: center;

  min-width: 0;
}

.cs-protostack-item + .cs-protostack-item {
  margin-top: 4rem;
}

.cs-protostack-copy,
.cs-protostack-img {
  min-width: 0;
}

.cs-protostack-img {
  width: 100%;

  border-radius: 8px;

  overflow: hidden;
}

.cs-protostack-img img {
  width: 100%;
  height: auto;

  display: block;
}

.cs-protostack-num {
  font-family: 'Space Grotesk', sans-serif;

  font-weight: 600;
  font-size: 0.85rem;

  color: #a3a3a3;

  margin-bottom: 0.75rem;

  display: block;
}

@media (min-width: 1024px) {

  .cs-protostack-item {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 4rem;
  }

}


/* ==========================================================================
   REFLECTION
========================================================================== */

.cs-reflection-section {
  background-color: #00323B;

  padding: 3.5rem 0;
}

.cs-reflection-inner {
  width: 100%;

  max-width: 900px;

  margin: 0;
}

.cs-reflection-inner span {
  color: #F4F2EB;
  opacity: 50%;
}

.cs-reflection-text {
  font-size: 0.98rem;
  line-height: 1.7;

  color: #F4F2EB;

  margin: 0;

  overflow-wrap: break-word;
}

@media (min-width: 768px) {

  .cs-reflection-section {
    padding: 4.5rem 0;
  }

  .cs-reflection-text {
    font-size: 1.05rem;
    line-height: 1.8;
  }

}


/* ==========================================================================
   NEXT PROJECT
========================================================================== */

.cs-next-section {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.cs-next-link {
  display: block;

  font-size: clamp(1.5rem, 7vw, 2.2rem);

  line-height: 1.25;

  max-width: 100%;

  color: #171717;

  text-decoration: underline;

  transition: opacity 150ms ease;

  overflow-wrap: break-word;
}


@media (min-width: 768px) {

  .cs-next-section {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .cs-next-link {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);

    max-width: 22ch;
  }

}


/* ==========================================================================
   FOOTER
========================================================================== */

.footer-inner {
  display: flex;

  flex-direction: column;

  gap: 0.75rem;
}

.footer-links {
  display: flex;

  align-items: center;

  gap: 0.5rem;

  font-size: 0.75rem;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.footer-links a {
  color: inherit;

  text-decoration: none;
}

@media (min-width: 640px) {

  .footer-inner {
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 0.75rem;
  }

}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 639px) {

  .page-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }


  .cs-hero-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }


  .cs-hero {
    gap: 2rem;
  }


  .cs-hero-logo {
    height: 56px;
  }


  .cs-h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }


  .cs-header-section {
    padding-top: 1rem;
    padding-bottom: 3rem;
  }


  .cs-header-img-wrap {
    gap: 2rem;
  }


  .cs-body-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }


  .cs-meta-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }


  .cs-meta-grid {
    gap: 2rem;
  }


  .cs-meta-right {
    padding-top: 2rem;
  }


  .cs-long-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }


  .cs-long-grid {
    gap: 2rem;
  }


  .cs-interview-grid {
    grid-template-columns: 1fr;
  }


  .cs-diagram-section {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }


  .cs-affinity-grid {
    gap: 2rem;
  }


  .cs-empathy-grid {
    gap: 2rem;
  }


  .cs-personas-data-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }


  .cs-personas-data-grid {
    gap: 3rem;
  }


  .cs-features-intro {
    margin-bottom: 2rem;
  }


  .cs-feature-card img {
    max-width: 180px;
  }


  .cs-two-col-grid {
    gap: 2.5rem;
  }


  .cs-user-stories li {
    font-size: 0.92rem;

    padding: 1.25rem 0;
  }


  .cs-levels-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }


  .cs-level-card {
    padding: 1.5rem 1rem;
  }


  .cs-flows-grid {
    gap: 2.5rem;
  }


  .cs-flowchart-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }


  .cs-protostack-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }


  .cs-protostack-item {
    gap: 1.5rem;
  }


  .cs-protostack-item + .cs-protostack-item {
    margin-top: 3.5rem;
  }


  .cs-reflection-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }


  .cs-next-section {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

}


/* ==========================================================================
   TABLET
   640px–1023px
   Main content deliberately remains stacked.
========================================================================== */

@media (min-width: 640px) and (max-width: 1023px) {

  .cs-hero-section {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }


  .cs-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }


  .cs-hero-logo {
    height: 70px;
  }


  .cs-h1 {
    font-size: clamp(2.4rem, 5vw, 3.25rem);

    max-width: 26ch;
  }


  .cs-header-section {
    padding-top: 3rem;
  }


  .cs-header-img-wrap {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  .cs-header-img-col img {
    max-height: 500px;
  }


  .cs-meta-grid {
    grid-template-columns: 1fr;

    gap: 2rem;
  }


  .cs-meta-right {
    padding-left: 0;
    padding-top: 2rem;

    border-left: 0;
    border-top: 1px solid #e5e5e5;
  }


  .cs-long-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }


  .cs-long-grid {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }


  .cs-affinity-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  .cs-empathy-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  .cs-personas-data-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  .cs-two-col-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  .cs-levels-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }


  .cs-levels-grid {
    grid-template-columns: 1fr;

    gap: 2rem;
  }


  .cs-flows-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  .cs-protostack-item {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }

}


/* ==========================================================================
   DESKTOP
   1024px+
========================================================================== */

@media (min-width: 1024px) {

  .cs-hero,
  .cs-header-img-wrap,
  .cs-meta-grid,
  .cs-long-grid,
  .cs-affinity-grid,
  .cs-empathy-grid,
  .cs-personas-data-grid,
  .cs-two-col-grid,
  .cs-flows-grid,
  .cs-protostack-item {
    min-width: 0;
  }

}


/* ==========================================================================
   OVERFLOW PROTECTION
========================================================================== */

.cs-hero > *,
.cs-header-img-wrap > *,
.cs-meta-grid > *,
.cs-long-grid > *,
.cs-affinity-grid > *,
.cs-empathy-grid > *,
.cs-personas-data-grid > *,
.cs-two-col-grid > *,
.cs-flows-grid > *,
.cs-protostack-item > * {
  min-width: 0;
}


.cs-body-text,
.cs-meta-value,
.cs-reflection-text,
.cs-user-stories li,
.cs-next-link {
  overflow-wrap: break-word;
  word-break: normal;
}


.cs-long-body {
  width: 100%;
  max-width: 100%;
}


.cs-diagram-img-wrap,
.cs-flowchart-image,
.cs-protostack-img {
  max-width: 100%;
  min-width: 0;
}


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

/* ==========================================================================
   RESPONSIVE IMAGE SCALING
========================================================================== */

img,
svg {
  max-width: 100%;
  height: auto;
}

