:root {
  --bg-color: #fafafa;
  --font-family: "Inter", sans-serif;
  --max-width: 1440px;
  --gutter-desktop: 70px;
  --gutter-tablet: 35px;
  --gutter-mobile: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: #000000;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-family: var(--font-family);
  font-size: 16px;
}

body::-webkit-scrollbar {
  width: 0px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND */
.brand {
  min-width: 310px;
}

.brand-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0px;
  margin-bottom: 5px;
  color: #000000;
}

.brand-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

/* =========================================
   COMMON CONTAINER ALIGNMENT
========================================= */
.hero-section,
.ways-section,
.sb-inner,
.sb-beyond-inner,
.contact-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
  width: 100%;
}

/* Common Header Typography (Level 1 Font Size) */
.header-resize-font,
.hero-content h1,
.section-heading h2,
.sb-heading {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #000000;
}

/* =========================================
   HERO (SECTION 1)
========================================= */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-top: 108px;
  padding-bottom: 60px;
  align-items: start;
}

.accent-line {
  width: 65px;
  height: 3px;
  background-color: #000000;
  margin: 14px 0;
}

.hero-content {
  padding-bottom: 20px;
}

.hero-content h1 {
  font-size: 42px;
}

/* Level 2 Font Size */
.hero-description {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
  margin-bottom: 32px;
  max-width: 620px;
}

/* =========================================
   STORY TYPES
========================================= */

.story-types {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.story-types div {
  min-height: auto;
  display: inline;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  border: none;
  color: #000000;
}

.story-types div:not(:last-child)::after {
  content: " \2022 ";
  margin-left: 6px;
  font-weight: 400;
  color: #000000;
}

.story-types-option2 {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #000000;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.story-types-option2 div {
  min-height: auto;
  display: inline-block;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  border: none;
  color: #000000;
}

.hero-message {
  padding-top: 10px;
  max-width: 580px;
}

.hero-message p {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
}

.hero-video-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 22px;
  clip-path: inset(0 round 24px);   
  isolation: isolate;               
  transform: translateZ(0);    
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;  
}

/* =========================================
   SECOND SECTION (WAYS SECTION) - UPDATED
========================================= */
.ways-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-heading h2 {
  font-size: 42px;
  line-height: 1.12;
  color: #000000;
  font-weight: 500;
}

.product-cards {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  column-gap: 32px;
  row-gap: 0;
  grid-template-rows: auto 1fr auto auto;
  margin-top: 20px;
  max-width: 900px;
}

.product-card {
  --u: max(calc(100cqw / 790), 0.42px);
  container-type: inline-size;
  background-color: #fafafa;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 32px 32px 36px 32px;
  display: grid;
  grid-template-columns: 435fr 355fr;
  grid-template-rows: auto 1fr auto auto;
  align-items: start;
  height: 100%;
}

.product-card .card-title {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 calc(var(--u) * 25) 0;
  color: #000000;
}

.product-card .product-image-container {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: calc(var(--u) * 780);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-card .product-image-container.kids-image {
  height: auto;
}

.product-card .product-image {
  max-width: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.product-card .card-top-info {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  padding-left: calc(var(--u) * 20);
  margin-top: calc(var(--u) * 120);
}

.product-card .card-subtitle {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #000000;
  margin: 0 0 calc(var(--u) * 19) 0;
}

.product-card .bold-subtitle {
  font-weight: 600;
}

.product-card .card-lead {
  font-size: 13px;
  line-height: 1.3;
  color: black;
  margin: 0 0 calc(var(--u) * 60) 0;
}

.product-card .card-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: calc(var(--u) * 35);
}

.product-card .stat-number {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.product-card .stat-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin-top: calc(var(--u) * 7);
}

.product-card .card-languages {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
}

/* FIXED INCLUDES SPACING */
.product-card .card-includes {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

.product-card .includes-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #2a2a2a;
  margin: 0 0 4px 0;
}

.product-card .includes-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card .includes-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #2a2a2a;
}

.product-card .includes-item p {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: #444444;
  margin: 0;
}

.product-card .card-bottom {
  grid-column: 1 / -1;
  grid-row: 4;
  align-self: end;
  margin-top: 0;
  padding-top: 28px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #1f1f1f;
  text-align: left;
}

@supports (grid-template-rows: subgrid) {
  .product-card {
    grid-row: span 4;
    grid-template-rows: subgrid;
    height: auto;
  }
}

/* =========================================
   CARD 2 OVERRIDES (HORIZONTAL STAT ALIGNMENT)
========================================= */
.product-card:nth-child(2) .product-image-container.kids-image {
  grid-column: 1 / -1;
  grid-row: 2;
  height: calc(var(--u) * 275);
  justify-content: center;
  align-items: flex-start;
}

.product-card:nth-child(2) .card-top-info {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-left: 0;
  margin-top: calc(var(--u) * 272); 
}

.product-card:nth-child(2) .card-subtitle {
  margin-bottom: calc(var(--u) * 17);
}

.product-card:nth-child(2) .card-lead {
  max-width: calc(var(--u) * 650);
  margin-bottom: calc(var(--u) * 32); 
}

.product-card:nth-child(2) .card-stat,
.product-card:nth-child(2) .card-languages {
  padding-left: 0;
}

.product-card:nth-child(2) .card-includes {
  margin-top: 24px;
}

/* =========================================
   SECTIONS GENERAL (3, 4, 5)
========================================= */
.sb-section {
  width: 100%;
  padding: 60px 0;
  background: var(--bg-color);
}

.sb-heading {
  font-size: 42px;
  line-height: 1.12;
}

.sb-intro {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
  margin-bottom: 32px;
}

/* =========================================
   SECTION 3
========================================= */
.sb-use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
}

.sb-use-card {
  min-height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.sb-use-card h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #000000;
}

.sb-use-card p {
  font-size: 13px;
  line-height: 1.4;
  color: #000000;
  margin: 0;
}

/* =========================================
   SECTION 4 (RESTRUCTURED LAYOUT)
========================================= */
.sb-own-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.sb-info-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: none;
  background: transparent;
  padding: 0;
}

.sb-option {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 20px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 100%;
}

.sb-option-image {
  height: 140px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.sb-option-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sb-option-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sb-option-copy h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  color: #000000;
}

.sb-option-copy p {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
}

.sb-price {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.sb-price small {
  font-size: 13px;
  font-weight: 400;
  color: #000000;
}

.sb-mini-line {
  width: 30px;
  height: 1px;
  background: #393e48;
  margin: 10px auto;
}

.sb-panel-divider {
  display: none;
}

.sb-four-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.sb-info-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.sb-info-card h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  color: #000000;
}

.sb-info-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
}

.full-width-banner {
  width: 100%;
  margin-top: 3rem;
  text-align: center;
}

.banner-content {
  max-width: 700px;
  margin: 0 auto;
}

.banner-content .heading-secondary {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
  color: #000000;
  letter-spacing: -0.025em;
}

/* =========================================
   SECTION 4.5: SELECT STORY BOX USERS
========================================= */
.sb-users-section {
  padding-top: 50px;
  padding-bottom: 70px;
}

.sb-users-section .sb-inner {
  display: flex;
  flex-direction: column;
}

.sb-users-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
}

.sb-users-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sb-users-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.sb-users-left-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.sb-user-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.sb-user-stat-item .stat-number {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #000000;
  white-space: nowrap;
}

.sb-user-stat-label {
  font-size: 14px;
  line-height: 1.35;
  color: #000000;
  margin-top: 6px;
}

.sb-users-divider {
  flex-shrink: 0;
}

.sb-users-divider.mini-divider {
  width: 1px;
  height: 70px;
  background: #232b37;
  margin: 0 10px;
}

.sb-users-divider.main-divider {
  width: 1.5px;
  height: 120px;
  background: #000000;
  margin: 0;
}

.sb-users-list-grid {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}

.sb-users-col p {
  font-size: 14px;
  line-height: 1.65;
  color: #000000;
  margin-bottom: 2px;
  text-align: center;
  white-space: nowrap;
}

.sb-users-col p:last-child {
  margin-bottom: 0;
}

/* =========================================
   SECTION 5 (SPACES SECTION - COMPACT HEIGHT)
========================================= */
.sb-beyond-section {
  padding-top: 60px;
  padding-bottom: 70px;
}

.sb-beyond-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.sb-beyond-copy {
  display: flex;
  flex-direction: column;
}

.sb-intro-5 {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
  margin-bottom: 24px;
}

.sb-talk-row {
  border-top: none;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 0;
}

.sb-talk-row p {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
}

.sb-beyond-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sb-beyond-image img {
  width: 100%;
  max-width: 540px;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  border-radius: 12px;
}

ul.sb-intro {
  padding-left: 18px;
  list-style-position: outside;
  margin-bottom: 24px;
}

ul.sb-intro li {
  margin-bottom: 8px;
}

ul.sb-intro li:last-child {
  margin-bottom: 0;
}

.contact-section {
  padding: 60px 0 80px 0;
  background-color: var(--bg-color);
  border-top: 1px solid #E5E5E5;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.contact-block h3 {
  margin-bottom: 0.75rem;
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  line-height: 1.25;
}

.contact-block p {
  font-size: 13px;
  line-height: 1.45;
  color: #000000;
  text-align: left;
  margin: 0 0 1.5rem 0;
  max-width: 620px;
  display: block;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  line-height: 1.25;
}

.contact-info {
  font-size: 13px;
  line-height: 1.5;
  color: #000000;
}

.contact-info a {
  color: #000000;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.catalogue-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 680px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0000FF;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.download-link:hover {
  opacity: 0.7;
}

/* =========================================
   RESPONSIVE LAYOUT (TABLET & MOBILE)
========================================= */
@media (max-height: 800px) and (min-width: 1101px) {
  .sb-beyond-image img {
    max-height: 440px;
  }
}

@media (max-width: 1200px) {
  .sb-own-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sb-users-container {
    gap: 20px;
  }

  .sb-users-list-grid {
    gap: 30px;
    width: auto;
  }
}

@media (max-width: 1100px) {
  .sb-beyond-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sb-beyond-image {
    order: -1;
    justify-content: center;
  }

  .sb-beyond-image img {
    max-width: 500px;
  }

  .hero-section,
  .ways-section,
  .sb-inner,
  .sb-beyond-inner,
  .contact-section .container {
    padding-left: var(--gutter-tablet);
    padding-right: var(--gutter-tablet);
  }

  .product-card {
    padding: 28px 24px;
  }

  .card-top-grid {
    grid-template-columns: 150px 1fr;
    gap: 16px;
  }

  .sb-network-divider {
    display: none;
  }
}

@media screen and (max-width: 1024px) {

  .header-resize-font,
  .hero-content h1,
  .section-heading h2,
  .sb-heading {
    font-size: 42px;
  }

  .hero-description,
  .hero-message p,
  .sb-intro,
  .sb-use-card p,
  .sb-option-copy p,
  .sb-info-card p,
  .sb-intro-5,
  .sb-fit-description,
  .sb-fit-list li,
  .sb-talk-row p,
  .contact-block p,
  .contact-info,
  .sb-user-stat-label,
  .sb-users-col p {
    font-size: 13px;
  }

  .sb-use-card h3,
  .sb-option-copy h4,
  .sb-info-card h4,
  .sb-content-fit h3,
  .sb-talk-row h3,
  .contact-block h3,
  .contact-label {
    font-size: 14px;
  }

  .sb-users-heading {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .sb-users-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .sb-users-right-panel {
    display: contents;
  }

  .sb-users-left-group {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .sb-users-heading {
    order: 2;
    margin-bottom: 0;
  }

  .sb-users-list-grid {
    order: 3;
    flex-direction: column;
    gap: 12px;
  }

  .sb-user-stat-item {
    align-items: center;
    text-align: center;
  }

  .sb-users-divider.mini-divider,
  .sb-users-divider.main-divider {
    display: none;
  }

  .sb-users-col p {
    white-space: normal;
  }
}

@media (max-width: 850px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 90px;
  }

  .product-cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
  }

  .product-card {
    grid-row: auto;
    grid-template-rows: auto auto 1fr auto;
  }

  .sb-use-grid {
    grid-template-columns: 1fr;
  }

  .accent-line {
    width: 65px;
    height: 3px;
    margin: 14px 0;
  }
}

@media screen and (max-width: 768px) {

  .header-resize-font,
  .hero-content h1,
  .section-heading h2,
  .sb-heading {
    font-size: 36px;
  }

  .sb-info-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .sb-four-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 80px;
  }

  .hero-section,
  .ways-section,
  .sb-inner,
  .sb-beyond-inner,
  .contact-section .container {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }

  .sb-use-card,
  .sb-content-fit,
  .sb-talk-row {
    grid-template-columns: 1fr;
  }

  .accent-line {
    width: 65px;
    height: 3px;
    margin: 14px 0;
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    padding-top: 108px;
  }

  .hero-content h1 {
    font-size: 27px;
    letter-spacing: -0.04em;
    line-height: 1.2;
  }

  .header-resize-font,
  .section-heading h2,
  .sb-heading {
    font-size: 27px;
    line-height: 1.2;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 16px;
  }

  .sb-users-heading {
    font-size: 20px;
  }
}

@media (max-width: 500px) {
  .card-top-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .accent-line {
    width: 65px;
    height: 3px;
    margin: 14px 0;
  }
}

@media (max-width: 850px) {

  .section-heading h2 br,
  .sb-heading br,
  .sb-intro br,
  .banner-content br,
  .hero-content h1 br {
    display: none;
  }
}

/* =========================================
   STORY BOX USERS — REFERENCE LAYOUT
========================================= */

#story-box-users {
  padding-top: 50px;
  padding-bottom: 50px;
}

#story-box-users .sb-inner {
  display: block;
}

#story-box-users .sb-users-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 1px minmax(0, 1.65fr);
  align-items: center;
  justify-content: stretch;
  gap: 30px;
  width: 100%;
}

#story-box-users .sb-users-left-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 0.85fr);
  grid-template-rows: auto auto auto;
  align-items: start;
  column-gap: 20px;
  row-gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}

#story-box-users .sb-users-left-group > .sb-users-heading {
  grid-column: 1 / -1;
  text-align: left;
  margin: 0;
  white-space: nowrap;
}

#story-box-users .sb-user-stat-item {
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

#story-box-users .sb-user-stat-item .stat-number {
  white-space: nowrap;
}

#story-box-users .sb-user-stat-label {
  margin-top: 6px;
}

#story-box-users .sb-users-divider.mini-divider {
  display: block;
  grid-column: 2;
  grid-row: 2;
  width: 1px;
  height: 60px;
  margin: 0;
  background: black;
}

#story-box-users .sb-users-left-group > div:last-child {
  grid-column: 1 / -1;
  margin-top: 4px;
}

#story-box-users .sb-users-left-group > div:last-child p {
  line-height: 1.45;
  margin: 0;
  color: black;
  font-size: 14px;
}

#story-box-users .sb-users-divider.main-divider {
  display: block;
  width: 1.5px;
  height: 120px;
  margin: 0;
  background: #232b37;
}

#story-box-users .sb-users-right-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
}

#story-box-users .sb-users-right-panel > .sb-users-heading {
  text-align: center;
  margin-bottom: 18px;
}

#story-box-users .sb-users-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  justify-content: stretch;
  gap: 22px;
  width: 100%;
  min-width: 0;
}

#story-box-users .sb-users-col {
  min-width: 0;
}

#story-box-users .sb-users-col p {
  white-space: normal;
  text-align: center;
  line-height: 1.65;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

/* Tablet: keep the heading and two-column user list, stack the stats above. */
@media (max-width: 1200px) {
  #story-box-users .sb-users-container {
    grid-template-columns: minmax(0, 0.9fr) 1px minmax(0, 1.35fr);
    gap: 22px;
  }

  #story-box-users .sb-users-left-group {
    column-gap: 12px;
  }

  #story-box-users .sb-users-list-grid {
    gap: 14px;
  }

  #story-box-users .sb-users-left-group > .sb-users-heading {
    white-space: normal;
  }
}

/* Mobile responsive fixes */
@media (max-width: 900px) {
  #story-box-users .sb-users-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  #story-box-users .sb-users-left-group {
    order: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    justify-items: center;
    column-gap: 16px;
    row-gap: 14px;
  }

  #story-box-users .sb-users-left-group > .sb-users-heading {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
    white-space: normal;
    width: 100%;
    margin-bottom: 4px;
  }

  #story-box-users .sb-user-stat-item {
    align-items: center;
    text-align: center;
  }

  #story-box-users .sb-users-divider.mini-divider {
    display: block;
    grid-column: 2;
    grid-row: 2;
    width: 1px;
    height: 60px;
    margin: 0 auto;
    background: #000000;
  }

  #story-box-users .sb-users-left-group > div:last-child {
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: center;
    width: 100%;
  }

  #story-box-users .sb-users-divider.main-divider {
    display: block;
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
  }

  #story-box-users .sb-users-right-panel {
    display: flex;
    flex-direction: column;
    order: 2;
    width: 100%;
    align-items: center;
  }

  #story-box-users .sb-users-right-panel > .sb-users-heading {
    order: 0;
    text-align: center;
    margin-bottom: 18px;
  }

  #story-box-users .sb-users-list-grid {
    order: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    width: 100%;
  }

  #story-box-users .sb-users-col p {
    white-space: normal;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  #story-box-users .sb-users-container {
    gap: 20px;
  }

  #story-box-users .sb-users-left-group {
    column-gap: 10px;
  }

  #story-box-users .sb-users-list-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #story-box-users .sb-users-right-panel > .sb-users-heading {
    margin-bottom: 12px;
  }
}

@media (min-width: 901px) {
  #story-box-users .sb-users-left-group {
    grid-template-columns: max-content 1px minmax(0, 0.85fr);
    column-gap: 20px;
  }
}