/* Last-wins overlay: culture cards expand in-flow, never cover neighbors. */
.hexian-section { overflow: visible !important; }
.hexian-stage--panels { overflow: visible !important; }
.hexian-row {
  overflow: visible !important;
  justify-content: center !important;
}
.hexian-panel,
.hexian-panel.is-open,
.hexian-panel--east.is-open,
.hexian-panel--west.is-open {
  position: relative !important;
  z-index: 1 !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}
.hexian-panel--west { flex-direction: row-reverse !important; }
.hexian-panel__expand,
.hexian-panel--east .hexian-panel__expand,
.hexian-panel--west .hexian-panel__expand,
.hexian-panel--east.is-open .hexian-panel__expand,
.hexian-panel--west.is-open .hexian-panel__expand {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  background: #fff !important;
  height: 82% !important;
  align-self: flex-end !important;
  margin: 0 !important;
}
.hexian-panel__expand {
  flex: 0 0 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
}
.hexian-panel.is-open .hexian-panel__expand,
.hexian-panel--east.is-open .hexian-panel__expand,
.hexian-panel--west.is-open .hexian-panel__expand {
  flex: 0 0 min(460px, 38vw) !important;
  width: min(460px, 38vw) !important;
  opacity: 1 !important;
  padding: 22px 24px 18px !important;
}
.hexian-panel__copyblock {
  order: 1 !important;
  grid-area: auto !important;
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  padding: 0 !important;
}
.hexian-panel__big-img {
  width: 44px !important;
  margin: 0 0 12px !important;
}
.hexian-panel__expand p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  width: 100% !important;
  max-width: none !important;
}
.hexian-panel__pic {
  order: 2 !important;
  grid-area: auto !important;
  position: relative !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  flex: 0 1 auto !important;
  object-fit: cover !important;
  object-position: center !important;
  height: 200px !important;
  flex: 1 1 auto !important;
  min-height: 160px !important;
  margin: 8px 0 0 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
}
@media (max-width: 768px) {
  /* 一行一个。展开跟在当前卡片下面，不弹出、不跨列。 */
  .hexian-section { overflow: visible !important; }
  .hexian-stage--panels { overflow: visible !important; }
  .hexian-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    align-items: start !important;
    gap: 10px !important;
    overflow: visible !important;
    justify-content: stretch !important;
  }
  .hexian-panel,
  .hexian-panel.is-open,
  .hexian-panel--east.is-open,
  .hexian-panel--west.is-open {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .hexian-panel:not(.is-open) .hexian-panel__expand {
    display: none !important;
  }
  .hexian-panel.is-open .hexian-panel__expand,
  .hexian-panel--east.is-open .hexian-panel__expand,
  .hexian-panel--west.is-open .hexian-panel__expand,
  .hexian-panel:nth-child(1).is-open .hexian-panel__expand,
  .hexian-panel:nth-child(2).is-open .hexian-panel__expand,
  .hexian-panel:nth-child(3).is-open .hexian-panel__expand,
  .hexian-panel:nth-child(4).is-open .hexian-panel__expand {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: auto !important;
    display: flex !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    background: #fff !important;
  }
  .hexian-panel__pic {
    height: 160px !important;
    max-height: 160px !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }
  .hexian-panel__expand p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}
