/* ==========================================================================
   mobile-culture.css — 企业文化页移动端专属样式
   --------------------------------------------------------------------------
   仅包含该页特有的结构；公共组件一律复用 css/mobile-template.css。
   所有规则均位于 @media (max-width: 789px) 内，
   因此桌面端（≥790px）的 Figma 画布保持原样，零影响。
   ========================================================================== */
@media (max-width: 789px) {
  /* -------------------------------------------------------- 隐藏桌面画布
     本页桌面端不是 .page-stage 结构，而是 .culture-hero-frame /
     .culture-import / .culture-footer-frame 三段式，
     因此这里显式隐藏它们，≤789px 只保留下面的 .mobile-view。 */
  .corporate-culture-page > .culture-hero-frame,
  .corporate-culture-page > .culture-import,
  .corporate-culture-page > .culture-footer-frame {
    display: none;
  }

  /* ---------------------------------------------------------------- 首屏
     桌面端首屏为 1920×667 的仓储中心大图，窄屏裁切到中部并叠暗色蒙版。 */
  .m-culture-hero .m-hero__bg {
    object-position: 50% 42%;
    opacity: 0.74;
  }

  .m-culture-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.36) 62%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .m-culture-hero .m-hero__inner {
    z-index: 1;
  }

  /* ------------------------------------------------------------ 企业文化
     桌面端为四列竖向图片卡（428×643），移动端改为两列并缩小标题字号，
     保证「使命」等长文案仍能完整落在卡片内。 */
  .m-culture-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-culture-cards .m-card--overlay {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }

  .m-culture-cards .m-card__overlay-body {
    padding: 12px;
  }

  .m-culture-cards .m-card__overlay-body h3 {
    font-size: 17px;
  }

  .m-culture-cards .m-card__overlay-body p {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .m-culture-cards .m-card__overlay-copy {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.6;
  }

  /* 模板默认把 <br> 隐藏以便单行展示，这里恢复桌面端的逐行排版 */
  .m-card--overlay .m-card__overlay-copy br {
    display: inline;
  }

  /* ------------------------------------------------------------ 荣誉资质
     与荣誉资质页保持一致的浅灰证书卡 + 金色分隔线。 */
  .m-culture-honours .m-scroll__item {
    background: #eff0f3;
    border-color: transparent;
  }

  .m-culture-honours .m-scroll__item img {
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 5;
    object-fit: contain;
    background: #fff;
  }

  .m-culture-honours .m-scroll__item figcaption {
    margin-top: 10px;
    padding-top: 10px;
    color: #111;
    font-weight: 700;
    border-top: 2px solid #efbd34;
  }

  .m-culture-honours .m-scroll__hint {
    margin-bottom: 0;
  }

  /* ------------------------------------------------------------ 集团新闻
     桌面端新闻详情默认收起（悬停/点击展开），移动端改为可展开区块，
     内容完整保留又不拉长页面。 */
  .m-news-more {
    margin-top: 10px;
  }

  .m-news-more summary {
    color: var(--m-gold);
    font-size: 13px;
    cursor: pointer;
    list-style: none;
  }

  .m-news-more summary::-webkit-details-marker {
    display: none;
  }

  .m-news-more summary::after {
    content: " ▾";
  }

  .m-news-more[open] summary::after {
    content: " ▴";
  }

  .m-news-more .m-news__extra {
    margin-top: 8px;
    padding-top: 8px;
  }

  /* ------------------------------------------------------------ 关于盛丰 */
  .m-about-links .m-list__value a {
    color: var(--m-gold);
    text-decoration: none;
  }

  .m-about-links .m-list__value a:active {
    color: var(--m-orange);
  }
}
