/* 舒瑞文化 â€?全屏背景 + 四栏悬停切换 */
.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);
}

/*
 * 平板/手机：一张背æ™?+ 四栏横排切换（避免竖叠成 4 张图），
 * 选中栏仍展示中间图标/标题/描述（此å‰?display:none 导致「标签没了、字只在底部」）ã€? */
@media (max-width: 991px) {
  .culture-fullscreen {
    min-height: 420px;
    min-height: min(420px, 70vh);
  }

  .culture-fullscreen__head {
    padding: var(--space-5) var(--space-4) var(--space-3);
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }

  .culture-fullscreen__headline {
    white-space: normal;
    font-size: clamp(18px, 4vw, 26px);
  }

  .culture-fullscreen__panels {
    position: absolute;
    inset: 0;
    flex-direction: row;
    align-items: stretch;
  }

  .culture-panel {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 10px 4px 12px;
    justify-content: flex-end;
    overflow: visible;
  }

  .culture-panel__bg-edit {
    width: 28px;
    height: 28px;
    top: 0.5rem;
    right: 0.35rem;
  }

  .culture-panel__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 5;
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 0 2px;
    line-height: 1.3;
  }

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

  .culture-panel__overlay {
    display: none;
    opacity: 0;
  }

  /* 选中态：内容铺满整块 panels，避免挤åœ?1/4 栏宽é‡?*/
  .culture-panel.is-active .culture-panel__overlay {
    display: flex !important;
    opacity: 1;
    transform: none;
    position: absolute;
    top: 14%;
    bottom: 2.75rem;
    width: 400%;
    z-index: 4;
    padding: 10px 16px;
    box-sizing: border-box;
    pointer-events: none;
  }

  .culture-panel:nth-child(1).is-active .culture-panel__overlay {
    left: 0;
  }

  .culture-panel:nth-child(2).is-active .culture-panel__overlay {
    left: -100%;
  }

  .culture-panel:nth-child(3).is-active .culture-panel__overlay {
    left: -200%;
  }

  .culture-panel:nth-child(4).is-active .culture-panel__overlay {
    left: -300%;
  }

  .culture-panel:nth-child(5).is-active .culture-panel__overlay {
    left: -400%;
    width: 500%;
  }

  .culture-panel:nth-child(6).is-active .culture-panel__overlay {
    left: -500%;
    width: 600%;
  }

  .culture-panel__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }

  .culture-panel__icon svg {
    width: 22px;
    height: 22px;
  }

  .culture-panel__title {
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
    max-width: min(320px, 88%);
  }

  .culture-panel__desc {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    max-width: min(320px, 88%);
  }

  /* 选中时底栏标签仍保留，便于切换；与桌面悬停隐藏区åˆ?*/
  .culture-panel:hover .culture-panel__label,
  .culture-panel:focus-visible .culture-panel__label,
  .culture-panel.is-active .culture-panel__label {
    opacity: 1;
    height: auto;
    padding: 0 2px;
    overflow: visible;
  }

  .culture-panel.is-active .culture-panel__label {
    font-weight: 600;
  }

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

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

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

@media (max-width: 768px) {
  .culture-fullscreen {
    min-height: 300px;
    min-height: min(300px, 58vh);
  }

  .culture-fullscreen__head {
    padding: 12px 12px 8px;
  }

  .culture-fullscreen__badge {
    margin-bottom: 6px;
    font-size: 11px;
    padding: 4px 8px;
    letter-spacing: 0.04em;
  }

  .culture-fullscreen__headline {
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  .culture-panel {
    padding: 8px 2px 10px;
  }

  .culture-panel__label {
    bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .culture-panel.is-active .culture-panel__overlay {
    top: 12%;
    bottom: 2.4rem;
    padding: 8px 12px;
  }

  .culture-panel__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .culture-panel__icon svg {
    width: 18px;
    height: 18px;
  }

  .culture-panel__title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .culture-panel__desc {
    font-size: 11px;
    line-height: 1.5;
  }

  .culture-panel__bg-edit {
    width: 22px;
    height: 22px;
  }
}
