/* 业务流程内页（办理流程 / 常见问题 / 流程图） */
.bx-process-page {
  padding-top: 8px;
  padding-bottom: 56px;
}

.bx-process-page__cta {
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

#faq {
  scroll-margin-top: 96px;
}

/* ═══════════════════════════════════════
   办理流程 Tab
   ═══════════════════════════════════════ */
.bx-proc-flow__lead {
  margin: 0 auto 20px;
  max-width: 680px;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bx-muted, #666);
}

.bx-proc-flow__shell {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(200, 16, 46, 0.1);
  background: #fff;
  box-shadow:
    0 20px 50px rgba(26, 26, 26, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.bx-proc-flow__feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, #fff 0%, #fdfbf8 100%);
}

.bx-proc-flow__feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.04);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

.bx-proc-flow__feat:hover,
.bx-proc-flow__feat:focus-visible {
  border-color: rgba(200, 16, 46, 0.22);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.1);
  transform: translateY(-3px);
  outline: none;
}

.bx-proc-flow__feat.is-linked {
  border-color: rgba(200, 16, 46, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.bx-proc-flow__feat-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--bx-red, #c8102e);
  background:
    radial-gradient(circle at 30% 20%, #fff 0%, transparent 55%),
    linear-gradient(145deg, #fff0f2 0%, #f5ebe3 100%);
  border: 1px solid rgba(200, 16, 46, 0.14);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.08);
}

.bx-proc-flow__feat-ico svg {
  width: 24px;
  height: 24px;
}

.bx-proc-flow__feat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--bx-red, #c8102e);
  line-height: 1.35;
}

.bx-proc-flow__feat-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--bx-muted, #666);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 14em;
}

.bx-proc-flow__band {
  position: relative;
  color: #fff;
  background: linear-gradient(118deg, #d4183a 0%, #c8102e 42%, #9e0c24 100%);
}

.bx-proc-flow__band-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(0, 0, 0, 0.18), transparent 50%);
  pointer-events: none;
}

.bx-proc-flow__band-inner {
  position: relative;
  padding: 22px 24px 26px;
}

.bx-proc-flow__band-head {
  text-align: center;
  margin-bottom: 18px;
}

.bx-proc-flow__band-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.bx-proc-flow__band-title {
  margin: 0;
  font-family: var(--bx-font-serif, serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}

.bx-proc-flow__track-wrap {
  position: relative;
  padding: 8px 0 4px;
}

.bx-proc-flow__track {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.bx-proc-flow__track-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe4e8, #fff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bx-proc-flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--proc-step-count, 4), minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
}

.bx-proc-flow__step-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 100%;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.bx-proc-flow__step-ring {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.bx-proc-flow__step.is-active .bx-proc-flow__step-ring {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: scale(1.06);
}

.bx-proc-flow__step-num {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  transition: opacity 0.25s ease;
}

.bx-proc-flow__step-ico {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--bx-red, #c8102e);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bx-proc-flow__step-ico svg {
  width: 26px;
  height: 26px;
}

.bx-proc-flow__step.is-active .bx-proc-flow__step-num {
  opacity: 0;
}

.bx-proc-flow__step.is-active .bx-proc-flow__step-ico {
  opacity: 1;
  transform: scale(1);
}

.bx-proc-flow__step-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.88;
  max-width: 8.5em;
}

.bx-proc-flow__step.is-active .bx-proc-flow__step-label {
  opacity: 1;
  font-weight: 700;
}

.bx-proc-flow__detail {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  transition: opacity 0.28s ease;
}

.bx-proc-flow__detail.is-switching {
  opacity: 0.55;
}

.bx-proc-flow__detail-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.95;
}

.bx-proc-flow__detail-time {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 600;
}

.bx-proc-flow__section-head {
  text-align: center;
  margin: 40px 0 20px;
}

.bx-proc-flow__section-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--bx-red, #c8102e);
  font-weight: 600;
}

.bx-proc-flow__section-title {
  margin: 0;
  font-family: var(--bx-font-serif, serif);
  font-size: 24px;
  color: var(--bx-title, #1a1a1a);
}

.bx-proc-flow__media-list {
  display: grid;
  gap: 20px;
}

.bx-proc-flow__media-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.06);
}

.bx-proc-flow__media-card.is-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.bx-proc-flow__media-card.is-reverse .bx-proc-flow__media-visual {
  order: 2;
}

.bx-proc-flow__media-card.is-reverse .bx-proc-flow__media-body {
  order: 1;
}

.bx-proc-flow__media-visual {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, #f8f6f3, #f1ece6);
}

.bx-proc-flow__media-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.bx-proc-flow__media-ph {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #9ca3af;
  font-size: 13px;
}

.bx-proc-flow__media-index {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bx-proc-flow__media-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bx-proc-flow__media-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--bx-title, #1a1a1a);
}

.bx-proc-flow__media-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--bx-muted, #666);
}

.bx-proc-flow__media-link {
  margin-top: 14px !important;
}

.bx-proc-flow__tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-top: 36px;
}

.bx-proc-flow__tabs-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(200, 16, 46, 0.12);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bx-proc-flow__tabs-link:hover {
  border-color: rgba(200, 16, 46, 0.35);
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.1);
  transform: translateY(-2px);
}

.bx-proc-flow__tabs-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bx-red, #c8102e);
  text-transform: uppercase;
}

.bx-proc-flow__tabs-link strong {
  font-size: 16px;
  color: var(--bx-title, #1a1a1a);
}

.bx-proc-flow__tabs-meta {
  font-size: 12px;
  color: var(--bx-muted, #666);
}

/* ═══════════════════════════════════════
   常见问题 Tab
   ═══════════════════════════════════════ */
.bx-proc-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.bx-proc-faq__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bx-proc-faq__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--bx-red, #c8102e);
}

.bx-proc-faq__title {
  margin: 0;
  font-family: var(--bx-font-serif, serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--bx-title, #1a1a1a);
}

.bx-proc-faq__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--bx-muted, #666);
  line-height: 1.6;
}

.bx-proc-faq__search {
  flex: 1 1 240px;
  max-width: 320px;
  margin: 0;
}

.bx-proc-faq__search-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bx-muted, #666);
}

.bx-proc-faq__search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='5'/%3E%3Cpath d='M13 13l3 3'/%3E%3C/svg%3E") 12px center no-repeat;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bx-proc-faq__search-input:focus {
  outline: none;
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.bx-proc-faq__count {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--bx-muted, #666);
}

.bx-proc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bx-proc-faq__item {
  border: 1px solid #e8eaed;
  border-radius: 12px;
  background: #fafbfc;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.bx-proc-faq__item:hover,
.bx-proc-faq__item:focus-within {
  border-color: rgba(200, 16, 46, 0.3);
  background: #fff;
}

.bx-proc-faq__item[open] {
  border-color: rgba(200, 16, 46, 0.42);
  background: #fff;
  box-shadow: 0 10px 28px rgba(200, 16, 46, 0.1);
}

.bx-proc-faq__item.is-hidden {
  display: none;
}

.bx-proc-faq__item summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: start;
  padding: 16px 16px;
  font-weight: 600;
  color: var(--bx-title, #1a1a1a);
}

.bx-proc-faq__item summary::-webkit-details-marker {
  display: none;
}

.bx-proc-faq__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff1f2;
  color: var(--bx-red, #c8102e);
  font-size: 11px;
  font-weight: 700;
}

.bx-proc-faq__item[open] .bx-proc-faq__idx,
.bx-proc-faq__item:hover .bx-proc-faq__idx {
  background: var(--bx-red, #c8102e);
  color: #fff;
}

.bx-proc-faq__q {
  line-height: 1.55;
  font-size: 15px;
  padding-top: 6px;
}

.bx-proc-faq__item[open] .bx-proc-faq__q {
  color: var(--bx-red, #c8102e);
}

.bx-proc-faq__toggle {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 8px;
}

.bx-proc-faq__toggle::before,
.bx-proc-faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #9ca3af;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background 0.25s ease;
}

.bx-proc-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.bx-proc-faq__item[open] .bx-proc-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.bx-proc-faq__a {
  padding: 0 16px 16px 68px;
}

.bx-proc-faq__a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--bx-muted, #666);
}

.bx-proc-faq__no-match {
  margin: 16px 0 0;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--bx-muted, #666);
  font-size: 14px;
}

.bx-proc-faq__empty {
  padding: 32px 20px;
  text-align: center;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #e5e7eb;
}

.bx-proc-faq__aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bx-proc-faq__help {
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(165deg, #fff5f6 0%, #fff 55%, #fdfbf8 100%);
  border: 1px solid rgba(200, 16, 46, 0.12);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.08);
}

.bx-proc-faq__help-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bx-red, #c8102e);
  text-transform: uppercase;
}

.bx-proc-faq__help-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--bx-title, #1a1a1a);
}

.bx-proc-faq__help-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--bx-muted, #666);
}

.bx-proc-faq__phone {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--bx-red, #c8102e);
  text-decoration: none;
}

.bx-proc-faq__help-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bx-proc-faq__back {
  font-size: 13px;
  color: var(--bx-muted, #666);
  text-decoration: none;
  padding: 8px 4px;
}

.bx-proc-faq__back:hover {
  color: var(--bx-red, #c8102e);
}

@media (max-width: 960px) {
  .bx-proc-faq__layout {
    grid-template-columns: 1fr;
  }

  .bx-proc-faq__aside {
    position: static;
    order: -1;
  }

  .bx-proc-faq__help-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .bx-proc-flow__feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bx-proc-flow__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .bx-proc-flow__track {
    display: none;
  }

  .bx-proc-flow__media-card,
  .bx-proc-flow__media-card.is-reverse {
    grid-template-columns: 1fr;
  }

  .bx-proc-flow__media-card.is-reverse .bx-proc-flow__media-visual,
  .bx-proc-flow__media-card.is-reverse .bx-proc-flow__media-body {
    order: unset;
  }
}

@media (max-width: 560px) {
  .bx-proc-flow__feats {
    grid-template-columns: 1fr;
  }

  .bx-proc-flow__steps {
    grid-template-columns: 1fr;
  }

  .bx-proc-faq__a {
    padding-left: 16px;
  }
}

/* ── 业务流程图并排 + 放大预览 ── */
#process-diagrams {
  scroll-margin-top: 88px;
}

.bx-process-diagrams__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.bx-process-diagrams__grid[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

.bx-process-diagrams__grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .bx-process-diagrams__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bx-process-diagrams__grid[data-count="1"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bx-process-diagrams__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bx-process-diagrams__caption {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--bx-title, #1a1a1a);
  line-height: 1.4;
}

.bx-process-diagrams__desc {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--bx-muted, #666);
  line-height: 1.5;
}

.bx-process-diagrams__viewer {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  cursor: zoom-in;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bx-process-diagrams__viewer:hover {
  border-color: rgba(200, 16, 46, 0.35);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.12);
  transform: translateY(-2px);
}

.bx-process-diagrams__viewer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  background: #fff;
}

.bx-process-diagrams__viewer-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

body.bx-diag-lightbox-open {
  overflow: hidden;
}

.bx-diag-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.bx-diag-lightbox[hidden] {
  display: none !important;
}

.bx-diag-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(4px);
}

.bx-diag-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.bx-diag-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.bx-diag-lightbox__hint {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bx-diag-lightbox__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bx-diag-lightbox__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.bx-diag-lightbox__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bx-diag-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.bx-diag-lightbox__btn--close {
  font-size: 22px;
  line-height: 1;
}

.bx-diag-lightbox__stage {
  flex: 1;
  min-height: 240px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0a0a0a;
  touch-action: none;
  cursor: grab;
}

.bx-diag-lightbox__stage.is-dragging {
  cursor: grabbing;
}

.bx-diag-lightbox__img {
  max-width: 100%;
  max-height: min(72vh, 760px);
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

@media (max-width: 720px) {
  .bx-process-diagrams__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bx-diag-lightbox {
    padding: 0;
  }

  .bx-diag-lightbox__dialog {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
}
