/* ============================================================
   story.css — BO Story / Values Split widget
   Scoped under .bo-story-wrap. Base/default look — every color,
   font, and spacing value here is overridable from the Elementor
   "Style" tab (see class-story-widget.php).
   ============================================================ */

.bo-story-wrap .story-section {
  padding: 96px 0;
  background: var(--bg);
}

.bo-story-wrap .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.bo-story-wrap .story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Eyebrow — self-contained structural default */
.bo-story-wrap .story-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.bo-story-wrap .story-copy .eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--blue);
}

.bo-story-wrap .story-copy h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
}
.bo-story-wrap .story-copy > p {
  font-size: 15px;
  color: var(--slate);
  max-width: 460px;
  line-height: 1.65;
}

.bo-story-wrap .story-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bo-story-wrap .sval {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.bo-story-wrap .sval:first-child { border-top: 1px solid var(--line); }
.bo-story-wrap .sval-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s var(--ease-spring);
}
.bo-story-wrap .sval:hover .sval-icon {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.08) rotate(-4deg);
}
.bo-story-wrap .sval-icon svg { width: 17px; height: 17px; stroke: var(--navy); transition: stroke .3s; }
.bo-story-wrap .sval:hover .sval-icon svg { stroke: #fff; }
.bo-story-wrap .sval strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 5px; font-family: 'Roboto', sans-serif; }
.bo-story-wrap .sval span { font-size: 13.5px; color: var(--slate); line-height: 1.55; }

/* Story mosaic */
.bo-story-wrap .story-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  height: 480px;
}
.bo-story-wrap .mosaic-main {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}
.bo-story-wrap .mosaic-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}
.bo-story-wrap .story-mosaic:hover .mosaic-main img { transform: scale(1.04); }
.bo-story-wrap .mosaic-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bo-story-wrap .mosaic-card {
  border-radius: 14px;
  overflow: hidden;
  flex: 1;
}
.bo-story-wrap .mosaic-card--stat {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}
.bo-story-wrap .mosaic-card--stat::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,131,230,.25), transparent 70%);
}
.bo-story-wrap .mc-num {
  font-family: 'Roboto Slab', serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  position: relative;
}
.bo-story-wrap .mc-num sup { font-size: 16px; color: var(--blue); }
.bo-story-wrap .mc-lab { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 8px; line-height: 1.45; position: relative; }
.bo-story-wrap .mosaic-card--img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}
.bo-story-wrap .mosaic-card--img:hover img { transform: scale(1.06); }

@media (max-width: 980px) {
  .bo-story-wrap .wrap { padding-left: 28px; padding-right: 28px; }
  .bo-story-wrap .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .bo-story-wrap .story-mosaic { height: 380px; }
}

@media (max-width: 640px) {
  .bo-story-wrap .wrap { padding-left: 20px; padding-right: 20px; }
  .bo-story-wrap .story-mosaic { grid-template-columns: 1fr; height: auto; }
  .bo-story-wrap .mosaic-side { flex-direction: row; }
}