/* ========================================
   Operations Overview 页面专用样式
   全局导航 / 页脚样式见 css/styles.css
   ======================================== */

.operations-page {
  padding-top: var(--header-height);
  background: var(--color-white);
}

.operations-banner {
  width: 100%;
  height: 550px;
  background-image: url('../assets/images/operations/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.operations-banner .container {
  width: 100%;
  max-width: var(--container-width);
}

.operations-banner-title {
  margin: 0;
  max-width: 720px;
  font-size: 46px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  text-align: left;
}

/* ========== AHI by the numbers ========== */
.ops-numbers {
  box-sizing: border-box;
  height: 852px;
  background: #eeeef3;
  padding: 0;
  display: flex;
  align-items: center;
}

.ops-numbers .container {
  width: 100%;
}

.ops-numbers-header {
  text-align: center;
  margin-bottom: 56px;
}

.ops-numbers-title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 400;
  color: #222;
  line-height: 1.25;
}

.ops-numbers-accent {
  width: 80px;
  height: 2px;
  margin: 0 auto;
  background: #0982e5;
}

.ops-numbers-featured {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 48px;
}

.ops-numbers-compact {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.ops-stat {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.ops-stat--large {
  width: 486px;
  height: 268px;
}

.ops-stat--compact {
  width: 390px;
  height: 200px;
}

.ops-stat-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.ops-stat-body {
  min-width: 0;
  flex: 1;
}

.ops-stat--large .ops-stat-icon {
  width: 120px;
  height: 120px;
}

.ops-stat--large .ops-stat-value {
  margin: 0 0 10px;
  font-size: 54px;
  font-weight: 700;
  color: #0153b7;
  line-height: 1.1;
}

.ops-stat--large .ops-stat-label {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 400;
  color: #444;
  line-height: 1.45;
}

.ops-stat--compact .ops-stat-icon {
  width: 83px;
  height: 83px;
}

.ops-stat--compact .ops-stat-value {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #0153b7;
  line-height: 1.2;
}

.ops-stat--compact .ops-stat-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.5;
}

.ops-stat-date {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #656d78;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========== Where We Mine Bitcoin ========== */
.ops-mine-map {
  box-sizing: border-box;
  height: 936px;
  background: var(--color-white);
  padding: 0;
  display: flex;
  align-items: center;
}

.ops-mine-map .container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ops-mine-map-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1409px;
  height: 734px;
  max-width: 100%;
  flex-shrink: 0;
}

.ops-mine-map-header {
  flex-shrink: 0;
  text-align: center;
  margin: 0;
}

.ops-mine-map-title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 400;
  color: #222;
  line-height: 1.25;
}

.ops-mine-map-accent {
  width: 80px;
  height: 2px;
  margin: 0 auto;
  background: #0982e5;
}

.ops-mine-map-figure {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.ops-mine-map-figure img {
  display: block;
  width: 1220px;
  height: 440px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .operations-banner {
    height: 360px;
  }

  .operations-banner-title {
    font-size: 32px;
  }

  .ops-numbers {
    height: auto;
    padding: 72px 0;
    display: block;
  }

  .ops-numbers-header {
    margin-bottom: 48px;
  }

  .ops-numbers-title {
    font-size: 32px;
  }

  .ops-numbers-featured,
  .ops-numbers-compact {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .ops-numbers-featured {
    margin-bottom: 48px;
  }

  .ops-stat--large,
  .ops-stat--compact {
    width: 100%;
    max-width: 486px;
    height: auto;
    min-height: 0;
    align-items: flex-start;
  }

  .ops-stat--large .ops-stat-value {
    font-size: 42px;
  }

  .ops-stat--large .ops-stat-label {
    font-size: 18px;
  }

  .ops-mine-map {
    height: auto;
    min-height: 0;
    padding: 72px 0;
    display: block;
  }

  .ops-mine-map-panel {
    width: 100%;
    height: auto;
    gap: 40px;
  }

  .ops-mine-map-header {
    margin-bottom: 0;
  }

  .ops-mine-map-title {
    font-size: 32px;
  }

  .ops-mine-map-figure {
    flex: none;
  }

  .ops-mine-map-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 1220 / 440;
  }
}

@media (max-width: 1320px) and (min-width: 769px) {
  .ops-numbers {
    height: auto;
    min-height: 852px;
    padding: 80px 0;
    display: block;
  }

  .ops-numbers-featured,
  .ops-numbers-compact {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ops-mine-map {
    height: auto;
    min-height: 936px;
    padding: 80px 0;
    display: block;
  }
}
