/* ============================================
   BRAND STORIES CONTAINER - Side by side layout
   ============================================ */
.brand-stories-container .cmp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Each teaser takes its grid cell */
.brand-stories-container>.cmp-container>:first-child {
  max-width: 440px;
}
.brand-stories-container>.cmp-container>:last-child {
  min-width: 710px;
}

/* ============================================
   LEFT TEASER - Logo + Pretitle + Title
   ============================================ */
.brand-stories-container .teaser:first-child .cmp-teaser {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 440px;
}

.brand-stories-container .cmp-teaser__image {
  max-width: 240px;
}

.brand-stories-container .cmp-teaser__image img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-stories-container .cmp-teaser__pretitle {
font-family: Archivo;
font-weight: 500;
font-size: 24px;
line-height: 120%;
color: #232426;
margin-bottom: 20px;
}

.brand-stories-container .cmp-teaser__title {
font-family: Archivo;
font-weight: 300;
font-size: 18px;
line-height: 24px;
letter-spacing: 0%;
color: #4D4D4D;

}

/* ============================================
   RIGHT TEASER - Stats Grid
   ============================================ */
.brand-stories-container .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  position: relative;
}

/* Vertical divider between columns */
.brand-stories-container .stats-grid::before {
    content: "";
    position: absolute;
    left: 45%;
    top: 50%;
    bottom: 10%;
    width: 1px;
    background-color: #e0e0e0;
    height: 88%;
    transform: translate(-50%, -50%);
}

/* Horizontal divider between rows */
.brand-stories-container .stats-grid::after {
content: "";
    position: absolute;
    top: 50%;
    left: 45%;
    right: 5%;
    height: 1px;
    width: 93%;
    background-color: #e0e0e0;
    transform: translate(-50%, -50%);
}

.brand-stories-container .stat-item {
  padding: 55px 2rem;
}

.brand-stories-container .stat-item h2 {
font-family: Archivo;
font-weight: 200;
font-size: 50px;
line-height: 110%;
color: #0067B3;
}

.brand-stories-container .stat-item p {
font-family: Archivo;
font-weight: 300;
font-size: 18px;
line-height: 24px;
color: #0067B3;
margin-top: 5px;
}

/* ============================================
   MOBILE VIEW - Stack vertically
   ============================================ */
@media (max-width: 768px) {
  .brand-stories-container .cmp-container {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 2rem 1rem;
  }
.brand-stories-container>.cmp-container>:last-child{
  min-width: unset;
}
  .brand-stories-container .cmp-teaser__image {
    max-width: 180px;
  }

  .brand-stories-container .cmp-teaser__pretitle {
    font-size: 18px;
    margin-bottom: 12px;
  }
.brand-stories-container .cmp-teaser__title{
  font-size: 14px;
  line-height: 19px;
}
  .brand-stories-container .stat-item {
    padding: 1rem;
  }

  .brand-stories-container .stat-item h2 {
    font-size: 24px;
    line-height: 110%;
  }

  .brand-stories-container .stat-item p {
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
  }

  /* Adjust dividers for mobile */
  .brand-stories-container .stats-grid::before {
    top: 10%;;
    transform: unset;
    height: 82%;
    left: 49%;
  }
  .brand-stories-container .stats-grid::after{
    left: 50%;
    width: 100%;
  }
  .brand-stories-container .stats-grid > :nth-child(2n){
    position: relative;
  
    padding-left: 2rem;
    padding-right: 0;
  }
    .brand-stories-container .stats-grid > :nth-child(2n - 1){
  padding-left: 0;
  }
  .brand-stories-container .cmp-teaser__image img{
    max-width: 154px;
    max-height: 60px;
  }
}

