/* Legacy page CSS, restored. Source: pages:459:our-story1, pages:478:our-story-. Built by artifacts/migration/build-legacy-css.py; do not edit. */
.bh-history-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background:
      radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 26%),
      radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.10), transparent 24%),
      linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  }

  .bh-history-shell {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .bh-history-header {
    max-width: 920px;
    margin: 0 auto 34px;
    text-align: center;
  }

  .bh-history-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 15px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1d4f91;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
  }

  .bh-history-header h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #071533;
  }

  .bh-history-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
    color: #4e6072;
  }

  .bh-history-intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  .bh-history-intro-card {
    border-radius: 28px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2eaf2;
    box-shadow: 0 14px 38px rgba(7, 21, 51, 0.06);
  }

  .bh-history-intro-card-dark {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(10, 30, 58, 0.95) 0%, rgba(14, 45, 84, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 54px rgba(7, 21, 51, 0.18);
  }

  .bh-history-mini-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4f91;
  }

  .bh-history-intro-card-dark .bh-history-mini-label {
    color: rgba(255, 255, 255, 0.76);
  }

  .bh-history-intro-card h3 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #071533;
  }

  .bh-history-intro-card-dark h3 {
    color: #ffffff;
  }

  .bh-history-intro-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #55687b;
  }

  .bh-history-intro-card-dark p {
    color: rgba(255, 255, 255, 0.86);
  }

  .bh-history-timeline-wrap {
    position: relative;
  }

  .bh-history-scroll {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 390px);
    gap: 22px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 34px 6px 22px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .bh-history-scroll::-webkit-scrollbar {
    display: none;
  }

  .bh-history-line {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 60px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee 0%, #1d4f91 45%, #f97316 100%);
    opacity: 0.22;
    pointer-events: none;
  }

  .bh-history-card {
    position: relative;
    scroll-snap-align: start;
    min-height: 330px;
    padding: 52px 24px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #e2eaf2;
    box-shadow: 0 18px 40px rgba(7, 21, 51, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
  }

  .bh-history-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(7, 21, 51, 0.14);
    border-color: #cfddeb;
  }

  .bh-history-card-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 248, 255, 0.98) 100%);
  }

  .bh-history-dot {
    position: absolute;
    top: -6px;
    left: 22px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee 0%, #f97316 100%);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 18px rgba(7, 21, 51, 0.16);
    z-index: 3;
  }

  .bh-history-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: #1d4f91;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .bh-history-tag-pivot {
    background: #fff1e7;
    color: #b45309;
  }

  .bh-history-tag-breakthrough {
    background: #e9fbff;
    color: #0f766e;
  }

  .bh-history-tag-expansion {
    background: #eefbf1;
    color: #166534;
  }

  .bh-history-tag-training {
    background: #f3edff;
    color: #6d28d9;
  }

  .bh-history-tag-impact {
    background: #eef4ff;
    color: #1e40af;
  }

  .bh-history-tag-today {
    background: #071533;
    color: #ffffff;
  }

  .bh-history-year {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4f91;
  }

  .bh-history-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.06;
    letter-spacing: -0.034em;
    color: #071533;
  }

  .bh-history-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #56697c;
  }

  .bh-history-image-card {
    color: #ffffff;
    background: #0c2242;
    border-color: rgba(255, 255, 255, 0.08);
    min-height: 360px;
  }

  .bh-history-image-card .bh-history-dot {
    border-color: #ffffff;
  }

  .bh-history-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
  }

  .bh-history-image-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .bh-history-image-card .bh-history-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    backdrop-filter: blur(8px);
  }

  .bh-history-image-card .bh-history-year,
  .bh-history-image-card h3,
  .bh-history-image-card p {
    color: #ffffff;
  }

  .bh-history-image-card p {
    color: rgba(255, 255, 255, 0.88);
  }

  .bh-history-image-card-strong {
    min-height: 390px;
    box-shadow: 0 24px 58px rgba(7, 21, 51, 0.18);
  }

  .bh-history-card-stats {
    background: linear-gradient(135deg, #071533 0%, #123463 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .bh-history-card-stats .bh-history-dot {
    border-color: #0f2748;
  }

  .bh-history-card-stats .bh-history-year,
  .bh-history-card-stats h3,
  .bh-history-card-stats p {
    color: #ffffff;
  }

  .bh-history-card-stats p {
    color: rgba(255, 255, 255, 0.84);
  }

  .bh-history-accent-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .bh-history-accent-row-bottom {
    margin-top: 14px;
  }

  .bh-history-accent-pill {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    padding: 10px 14px;
    border-radius: 18px;
    background: #f4f8fc;
    border: 1px solid #dfe9f2;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  }

  .bh-history-accent-pill strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #071533;
  }

  .bh-history-accent-pill span {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5f7082;
  }

  .bh-history-accent-row-light .bh-history-accent-pill-light {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    box-shadow: none;
  }

  .bh-history-accent-row-light .bh-history-accent-pill-light strong {
    color: #ffffff;
  }

  .bh-history-accent-row-light .bh-history-accent-pill-light span {
    color: rgba(255, 255, 255, 0.78);
  }

  .bh-history-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .bh-history-stat-box {
    padding: 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
  }

  .bh-history-stat-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
  }

  .bh-history-stat-box span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .bh-history-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
  }

  .bh-history-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #d7e3ef;
    border-radius: 999px;
    background: #ffffff;
    color: #071533;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(7, 21, 51, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .bh-history-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(7, 21, 51, 0.12);
    border-color: #c9d9e9;
  }

  @media (max-width: 1100px) {
    .bh-history-intro-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767px) {
    .bh-history-section {
      padding: 72px 0;
    }

    .bh-history-shell {
      padding: 0 16px;
    }

    .bh-history-header {
      margin-bottom: 26px;
    }

    .bh-history-header p {
      font-size: 15px;
      line-height: 1.75;
    }

    .bh-history-intro-card {
      padding: 22px 20px;
      border-radius: 22px;
    }

    .bh-history-intro-card h3 {
      font-size: 24px;
    }

    .bh-history-scroll {
      grid-auto-columns: 86%;
      gap: 16px;
      padding-top: 28px;
    }

    .bh-history-line {
      left: 2px;
      right: 2px;
      top: 50px;
    }

    .bh-history-card {
      min-height: 300px;
      padding: 44px 20px 22px;
      border-radius: 22px;
    }

    .bh-history-card h3 {
      font-size: 23px;
    }

    .bh-history-card p {
      font-size: 14px;
      line-height: 1.72;
    }

    .bh-history-image-card,
    .bh-history-image-card-strong {
      min-height: 340px;
    }

    .bh-history-accent-pill {
      min-height: 54px;
      padding: 10px 12px;
      border-radius: 16px;
    }

    .bh-history-accent-pill strong {
      font-size: 14px;
    }

    .bh-history-accent-pill span {
      font-size: 10px;
    }

    .bh-history-stat-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bh-history-controls {
      display: none;
    }
  }
