/* 舒瑞文化 — 全屏背景 + 四栏悬停切换 */
.culture-fullscreen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
}

.culture-fullscreen__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.55s ease;
}

.culture-fullscreen__bg--fade {
  opacity: 0;
}

.culture-fullscreen__bg--front {
  opacity: 1;
}

.culture-fullscreen__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.culture-fullscreen__head {
  position: relative;
  z-index: 3;
  margin-left: auto;
  pointer-events: none;
  margin-right: 0;
  padding: var(--space-8) var(--space-7) var(--space-6);
  max-width: min(960px, 58vw);
  text-align: right;
}

.culture-fullscreen__badge {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 10px 20px;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
}

.culture-fullscreen__headline {
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.culture-fullscreen__panels {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
}

.culture-panel {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-6) var(--space-4);
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: flex-grow 0.35s ease;
}

/* Pageset：背景图编辑入口，不影响前台视觉 */
.culture-panel__bg-edit {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  object-fit: cover;
  opacity: 0.35;
  z-index: 2;
  pointer-events: auto;
}

.culture-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 124, 211, 0);
  transition: background 0.35s ease;
  pointer-events: none;
}

.culture-panel:hover::before,
.culture-panel:focus-visible::before {
  background: rgba(43, 124, 211, 0.72);
}

.culture-panel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  padding: var(--space-5) var(--space-4);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.culture-panel:hover .culture-panel__overlay,
.culture-panel:focus-visible .culture-panel__overlay {
  opacity: 1;
  transform: translateY(0);
}

.culture-panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.culture-panel__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.culture-panel__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: 0.08em;
  max-width: 320px;
}

.culture-panel__desc {
  font-size: var(--text-base);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
  max-width: 320px;
}

.culture-panel__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-6);
  z-index: 1;
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.12em;
  padding-bottom: var(--space-2);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.culture-panel:hover .culture-panel__label,
.culture-panel:focus-visible .culture-panel__label {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.culture-panel + .culture-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
  .culture-fullscreen__head {
    padding: var(--space-6) var(--space-5);
    max-width: 100%;
    text-align: left;
  }

  .culture-fullscreen__headline {
    white-space: normal;
    font-size: clamp(22px, 4.2vw, 32px);
  }

  .culture-panel__title {
    font-size: var(--text-xl);
  }

  .culture-panel__desc {
    font-size: var(--text-sm);
  }

  .culture-panel__label {
    font-size: var(--text-lg);
  }

  .culture-fullscreen__panels {
    position: relative;
    inset: auto;
    flex: 1;
    flex-direction: column;
    margin-top: auto;
    min-height: auto;
  }

  .culture-panel {
    min-height: 72px;
    flex: none;
    padding: var(--space-4);
    padding-bottom: var(--space-4);
    justify-content: flex-end;
  }

  .culture-panel__label {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .culture-panel + .culture-panel {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .culture-panel__overlay {
    display: none;
  }

  .culture-panel.is-active::before {
    background: rgba(43, 124, 211, 0.72);
  }

  .culture-panel.is-active .culture-panel__overlay {
    position: relative;
    inset: auto;
    display: flex;
    opacity: 1;
    transform: none;
    padding: var(--space-4) 0;
  }

  .culture-panel.is-active {
    min-height: 200px;
  }

  .culture-panel.is-active .culture-panel__label {
    display: none;
  }

  .culture-panel:not(.is-active) .culture-panel__label {
    opacity: 1;
    height: auto;
  }
}

@media (max-width: 767px) {
  .culture-fullscreen__badge {
    font-size: var(--text-base);
    padding: 8px 16px;
  }

  .culture-fullscreen__headline {
    font-size: var(--text-xl);
  }
}
