/* ============================================================
   湖北省科学技术馆官网改版 2026-11  redesign2026.css
   需求1：banner 全屏 + 顶部覆盖式导航
   需求2：第二屏重设计（资讯卡片化 + 开馆须知强化）
   本文件为增量覆盖层，原站样式文件保持不动，便于对接回退
   ============================================================ */

:root{
  --hz-blue:   #0a449b;   /* 主蓝（与原站渐变一致） */
  --hz-blue-l: #33c3ff;   /* 亮蓝 */
  --hz-orange: #f97b1f;   /* 开馆须知橙 */
  --hz-ink:    #22303f;   /* 正文色 */
  --hz-gray:   #8a97a8;   /* 次级文字 */
}

/* ============================================================
   需求 1：banner 全屏 + 顶部适配
   ============================================================ */

/* 顶部三段整体覆盖在 banner 上，顶部深色渐变保证白色文字可读；
   始终 fixed，滚动时不随页面移走（改版 2026 · 吸顶导航） */
.site-head{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg,
    rgba(8,24,48,.60) 0%,
    rgba(8,24,48,.30) 55%,
    rgba(8,24,48,0) 100%);
  transition: background .3s ease, box-shadow .3s ease;
}

/* —— 滚动后吸顶态：白色毛玻璃实底，文字转深色 —— */
.site-head.head-solid{
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 22px rgba(15,40,90,.10);
}
.head-solid .topbar{ display: none; }          /* 收起访问人数细条，导航更紧凑 */
.head-solid .navcl-bar{
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: none;
}
.head-solid .navL a img{ filter: none; }        /* logo 恢复品牌蓝 */
.head-solid .navcl .layui-nav .layui-nav-item a{ color: #334155; }
.head-solid .navcl .layui-nav .layui-nav-item a:hover{
  background: rgba(10,68,155,.08);
  color: var(--hz-blue);
}
.head-solid .site-switch{
  border-color: rgba(15,60,130,.22);
  background: rgba(15,60,130,.05);
}
.head-solid .navL .site-tab-link{ color: #334155; }
.head-solid .navL .site-tab-link:hover{
  background: rgba(10,68,155,.10);
  color: var(--hz-blue);
}
.head-solid .navR .sousuoinput{
  background: rgba(15,60,130,.06);
  border-color: rgba(15,60,130,.18);
}
.head-solid .navR .sousuoinput .layui-input{ color: #334155; }
.head-solid .navR .sousuoinput .layui-input::placeholder{ color: #8d9bad; }

/* —— 顶栏（访问人数/登录） —— */
.topbar{
  background: rgba(8,20,40,.28);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
/* 顶栏容器与下方导航同宽对齐（覆盖 layui 默认容器宽度） */
.topbar .layui-container{
  width: 1400px; max-width: 1400px;
  margin: 0 auto; box-sizing: border-box;
}
.topbar a{ color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover{ color: #fff; }
.topbar .f_heise{ color: rgba(255,255,255,.85); }

/* —— 一行式导航：logo(含版本切换) | 菜单均分 | 搜索 —— */
.nav{ background: transparent; height: auto; }
.navcl{
  display: flex;
  align-items: center;
  gap: 18px;
  width: 1400px;
  max-width: 1400px;
  margin: 0 auto;
  height: 72px;
}

/* logo 直接融入导航条：蓝色 logo 转纯白，去掉底托 */
.navL{
  width: auto; height: auto; float: none; flex: 0 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.navL a{ display: block; background: none; line-height: 0; }
.navL a img{
  width: 200px;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,.4));
  opacity: .95;
  transition: opacity .2s;
}
.navL a:hover img{ opacity: 1; }

/* —— 版本切换器：一体式分段胶囊 [政务版 | ⇄ 数字版] —— */
.site-switch{
  display: flex; align-items: center;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 3px;
  line-height: 1.4;      /* 重置原站 .navcl 的 60px 行高，防止胶囊被撑成圆形 */
}
.site-tab-flag{
  font-size: 12px; color: #fff; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--hz-blue-l), var(--hz-blue));
  border-radius: 999px; padding: 5px 13px 5px 15px;
  white-space: nowrap;
}
.navL .site-tab-link{
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: rgba(255,255,255,.85);
  border: none; background: none;
  border-radius: 999px; padding: 5px 13px;
  white-space: nowrap; line-height: 1.4;
  transition: background .25s, color .25s;
}
.navL .site-tab-link:hover{
  background: rgba(255,255,255,.18);
  color: #fff;
}
.site-tab-arrow{ display: inline-block; transition: transform .3s; }
.navL .site-tab-link:hover .site-tab-arrow{ transform: translateX(-3px); }

/* 菜单占据中间弹性区，项与项均分空间，不再挤成一团 */
.navcl .layui-nav{
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  float: none;
}
.navcl .layui-nav .layui-nav-item{
  width: auto; flex: 0 0 auto;
  padding: 0;
  line-height: 72px;
}
.navcl .layui-nav .layui-nav-item a{
  font-size: 16px;
  height: 72px;
  line-height: 72px;
  padding: 0 11px;      /* 11 项菜单，间距收紧但不拥挤 */
  display: flex; align-items: center;
}
/* 隐藏 layui 自动注入的小三角（绝对定位 right:3px，会压住文字）；
   自绘箭头也已取消：下拉仅靠 hover 展开，菜单文字更干净 */
.navcl .layui-nav .layui-nav-more{ display: none; }

/* 搜索：默认收纳为一个圆形放大镜按钮，悬停/聚焦时向左展开输入框（纯 CSS） */
.navR{ flex: 0 0 auto; width: auto; float: none; padding-top: 0; }
.navR .sousuoinput{
  display: flex;
  align-items: center;
  flex-direction: row-reverse;      /* 按钮在右固定，输入框向左展开 */
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: width .35s cubic-bezier(.4,0,.2,1), background .25s, border-color .25s;
}
.navR:hover .sousuoinput,
.navR .sousuoinput:focus-within{
  width: 216px;
  background: rgba(11,36,74,.94);          /* 展开时深色实底，隔断底下透出的菜单文字 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 6px 18px rgba(5,20,45,.35);
}
.navR .sousuoinput .layui-input{
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 36px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff;
  font-size: 13px;
  padding: 0 0 0 16px;
  opacity: 0;
  cursor: text;
  transition: opacity .25s .08s;
}
.navR:hover .sousuoinput .layui-input,
.navR .sousuoinput:focus-within .layui-input{ opacity: 1; }
.navR .sousuoinput .layui-input::placeholder{ color: rgba(255,255,255,.62); }
/* 吸顶态展开：白色实底 + 深色文字（需在深色展开规则之后声明以覆盖） */
.head-solid .navR:hover .sousuoinput,
.head-solid .navR .sousuoinput:focus-within{
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(10,68,155,.35);
  box-shadow: 0 6px 18px rgba(23,58,110,.18);
}
.head-solid .navR .sousuoinput .layui-btn{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a449b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E");
}
.navR .sousuoinput .layui-btn{
  flex: 0 0 40px;
  width: 40px; height: 38px;
  padding: 0; margin: 0;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E");
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
  transition: transform .2s;
}
.navR .sousuoinput .layui-btn:hover{ transform: scale(1.12); }

/* —— 顶栏搜索（访问人数细条内）：默认展开、高度匹配顶栏（约30px） ——
   顶栏里的搜索框不再需要 hover 展开，常显完整输入框；导航区的搜索行为不受影响 */
.topbar .navR{ padding: 0; display: flex; align-items: center; }
.topbar .navR .sousuoinput{
  width: 216px;
  height: 26px;
  margin: 1px 0 1px;           /* 顶栏上留 1px、下留 2px 空隙 */
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.32);
  cursor: text;
  overflow: hidden;
}
.topbar .navR:hover .sousuoinput,
.topbar .navR .sousuoinput:focus-within{
  width: 216px;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
  box-shadow: none;
}
.topbar .navR .sousuoinput .layui-input{
  opacity: 1;
  height: 24px;
  font-size: 12px;
  padding: 0 0 0 12px;
}
.topbar .navR .sousuoinput .layui-btn{
  flex: 0 0 28px;
  width: 28px; height: 24px;
  background-size: 14px 14px;
}
.topbar .navR .sousuoinput .layui-btn:hover{ transform: none; }

/* —— 菜单条：原实心渐变改为半透明玻璃条 —— */
.navcl-bar{
  background: rgba(12,42,92,.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.navcl .layui-nav .layui-nav-item a{ transition: background .25s; }
.navcl .layui-nav .layui-nav-item a:hover{
  background: rgba(255,255,255,.16);
  color: #fff;
}
.navcl .layui-nav .layui-nav-child{ border-radius: 0 0 10px 10px; overflow: hidden; }
/* 下拉子项：浅蓝底，hover 加深，不受顶条"白透"规则影响 */
.navcl .layui-nav .layui-nav-child dd a{
  height: auto; line-height: 42px;
  padding: 0 16px;
  color: #34495e;
}
.navcl .layui-nav .layui-nav-child dd a:hover{
  background: rgba(10,68,155,.10);
  color: var(--hz-blue);
}

/* —— banner：全屏 —— */
.banner{
  height: 100vh;
  height: 100svh;   /* 移动端安全区兜底 */
  min-height: 620px;
  background: var(--hz-blue);
}

/* —— banner → 内容区过渡 ①：底部渐变白纱，融入下方页面底色 —— */
.banner::before{
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 190px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 62%, #fff 100%);
  z-index: 4;
  pointer-events: none;
}

/* banner 底部滚动提示箭头（深蓝：落在渐变白纱上必须可见） */
.banner::after{
  content: '';
  position: absolute;
  left: 50%; bottom: 48px;
  width: 14px; height: 14px;
  border-right: 3px solid rgba(10,68,155,.6);
  border-bottom: 3px solid rgba(10,68,155,.6);
  transform: translateX(-50%) rotate(45deg);
  z-index: 6;
  animation: hzScrollHint 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hzScrollHint{
  0%,100%{ transform: translateX(-50%) translateY(0) rotate(45deg); opacity: .9; }
  50%    { transform: translateX(-50%) translateY(8px) rotate(45deg); opacity: .35; }
}

/* —— 轮播指示点：右下角贴角 + 极简计数器「当前/总数」（CSS 计数器生成，无需改 HTML） —— */
.banner .layui-carousel-ind{
  position: absolute;
  top: auto; left: auto;
  right: 26px;
  bottom: 26px;                  /* 贴住 banner 右下角；1400 内容卡右侧的空白区 */
  width: auto;
  text-align: right;
  z-index: 20;
}
.banner .layui-carousel-ind ul{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 74px;                   /* 固定宽高：切换瞬间即使出现无激活项的空帧也不会塌缩闪动 */
  height: 40px;
  padding: 0;
  box-sizing: border-box;
  background: rgba(8,24,48,.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(5,20,45,.28);
  transition: background .3s;
  counter-reset: hzslide;        /* 每个 li 自增，总数由 ul::after 读取终值 */
  font-family: Consolas, "SF Mono", Menlo, monospace;
}
.banner .layui-carousel-ind ul:hover{
  background: rgba(8,24,48,.55);
}
/* 非当前页：宽度归零隐藏，但保留在计数流中（display:none 会让总数统计失效） */
.banner .layui-carousel-ind li{
  width: 0; height: 0; margin: 0;
  overflow: hidden; visibility: hidden;
  font-size: 0;
  background: none;
  counter-increment: hzslide;
}
/* 当前页：大号数字 */
.banner .layui-carousel-ind li.layui-this{
  width: auto; height: auto;
  overflow: visible; visibility: visible;
  font-size: 24px; font-weight: bold;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.banner .layui-carousel-ind li.layui-this::before{ content: counter(hzslide); }
/* 斜杠 + 总张数 */
.banner .layui-carousel-ind ul::after{
  content: '/' counter(hzslide);
  margin-left: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
}

/* —— banner → 内容区过渡 ②：随滚动渐暗（redesign2026.js 驱动） ——
   原视差方案对图片 scale(1.2) 放大导致画面被裁切放大，已按需求去除：
   图片恢复 1:1 原比例铺满（width/height 100% + cover），仅保留滚动渐暗 */
.banner .layui-carousel img{
  transform: none;
}
.banner .layui-carousel::after{
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,24,60,var(--hz-dim,0));
  pointer-events: none;
  z-index: 5;
}

/* —— 内容区上浮入场（JS 加类，无 JS 时保持原样不隐藏） —— */
.hz-reveal{
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.16,1,.3,1);
}
.hz-reveal.hz-in{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .hz-reveal{ opacity: 1; transform: none; transition: none; }
  .banner .layui-carousel img{ transform: none; }
  .banner::after{ animation: none; }
  .hz-vis-flag{ animation: none; }
}

/* ============================================================
   需求 2A：第二屏资讯区 —— 卡片化
   ============================================================ */

.diyipin{ width: 1400px; height: auto; margin-top: -72px; display: flex; align-items: stretch; z-index: 10; }   /* ③ 卡片上浮叠入 banner 底部，与导航同宽对齐 */

.diyipinL,.diyipinR{
  float: none;                /* 原站 float 改为 flex 等高卡片，容器不再塌陷 */
  height: auto; min-height: 290px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(23,58,110,.09);
  padding: 20px 26px 14px;
  box-sizing: border-box;
  border-right: none;
}
.diyipinL{ width: 885px; display: flex; flex-direction: column; }
.diyipinR{ width: 500px; margin-left: 15px; display: flex; flex-direction: column; }

/* —— 标题 tab：浅底轨道 + 渐变胶囊分段控件（激活白字，更多收进轨道右端） —— */
.zixunbt{ height: auto; line-height: normal; border-bottom: none; margin-bottom: 18px; }
.zixunbt h3{
  display: flex; align-items: center; gap: 4px;
  background: #f0f4fa;
  border-radius: 14px;
  padding: 5px;
}
.zixunbt h3 span{
  float: none; display: block;
  font-size: 15px; font-weight: bold; color: #7a8aa0;
  height: auto; line-height: 1.4;
  padding: 8px 22px; border-radius: 10px;
  position: relative; cursor: pointer;
  transition: color .25s, background .25s, box-shadow .25s;
}
.zixunbt h3 span:hover{ color: var(--hz-blue); background: rgba(255,255,255,.7); }
.zixunbt h3 span.active{
  color: #fff;
  background: linear-gradient(90deg, var(--hz-blue-l), var(--hz-blue));
  box-shadow: 0 4px 12px rgba(10,68,155,.3);
  border-bottom: none;
}
.zixunbt h3 span.active::after{ content: none; }   /* 去掉旧下划线 */
.zixunbt h3 a{
  float: none; margin-left: auto; margin-right: 0;
  padding: 0 14px;
  color: #8a97a8; font-size: 13px; transition: color .2s;
}
.zixunbt h3 a:hover{ color: var(--hz-blue); }

/* —— 左图：圆角 + hover 缓慢放大 —— */
.diyipinimg{ border-radius: 12px; overflow: hidden; }
.diyipinimg img{ transition: transform .55s ease; }
.diyipinimg:hover img{ transform: scale(1.06); }

/* —— 列表：虚线分隔 + hover 变色 —— */
.diyipinlist ul li{ border-bottom: 1px dashed #edf1f7; }
.diyipinlist ul li:last-child{ border-bottom: none; }
.diyipinlist ul li a{ color: var(--hz-ink); transition: color .2s; }
.diyipinlist ul li a:hover{ color: var(--hz-blue); }
.diyipinlist ul li span{ color: #a9b4c2; font-family: Consolas, monospace; }

/* —— 右卡内容容器：包裹浮动（左卡已改手风琴，不再使用固定宽度浮动规则） —— */
.diyiptabcontentdiv{ overflow: hidden; }
.diyipinR .diyipinlist{ float: none; width: 100%; min-width: 0; }
/* 右卡列表随卡片高度均分填满，消除底部空白 */
.diyipinR .diyiptabcontent{ flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.diyipinR .diyiptabcontentdiv{ flex: 1 1 auto; }
.diyipinR .diyipinlist{ height: 100%; display: flex; flex-direction: column; }
.diyipinR .diyipinlist ul{ flex: 1; display: flex; flex-direction: column; }
.diyipinR .diyipinlist ul li{ flex: 1; }

/* 列表行改 flex：标题自适应省略号，日期固定右对齐（替代原固定 440/340px） */
.diyipinlist ul li{ display: flex; align-items: center; }
.diyipinlist ul li a{ float: none; flex: 1 1 auto; width: auto !important; min-width: 0; }
.diyipinlist ul li span{ float: none; flex: 0 0 auto; margin-left: 14px; }
.diyipinlist ul li a:hover{ transform: translateX(3px); }
.diyipinlist ul li a{ transition: color .2s, transform .25s; }

/* —— 左卡竖排手风琴：激活面板展开，其余收成竖条标题 —— */
.hz-acc{ display: flex; gap: 12px; flex: 1 1 auto; min-height: 236px; }   /* 随卡片高度自适应，消除底部空白 */
.hz-acc-panel{
  display: flex; flex: 0 0 56px; min-width: 0;
  border-radius: 12px; overflow: hidden;
  background: #eef2f9;
  transition: flex-grow .45s cubic-bezier(.4,0,.2,1), background .3s;
}
.hz-acc-panel.active{ flex-grow: 1; background: #fff; }
.hz-acc-tab{
  flex: 0 0 56px; width: 56px;
  display: flex; flex-direction: column; align-items: center;
  padding: 13px 0;
  cursor: pointer; user-select: none;
  background: linear-gradient(180deg, #eef3fb, #e2eaf6);
  transition: background .3s;
}
/* 顶部序号 */
.hz-acc-num{
  font-family: Consolas, 'Courier New', monospace;
  font-size: 11px; font-style: normal; letter-spacing: 1px;
  color: #9aabc6;
  border-bottom: 1px solid #d5dfef;
  padding-bottom: 5px;
  transition: color .3s, border-color .3s;
}
.hz-acc-tab span{
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  font-size: 16px; font-weight: bold; letter-spacing: 6px;
  color: #5a6b84; transition: color .3s;
}
/* 底部小圆点指示器（仅折叠态可见，激活态让位给"更多"） */
.hz-acc-tab::after{
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #c3d0e4;
  transition: background .3s, transform .3s;
}
.hz-acc-panel.active .hz-acc-tab::after{ display: none; }
.hz-acc-panel:not(.active) .hz-acc-tab:hover{ background: linear-gradient(180deg, #e2ebf9, #d3e0f2); }
.hz-acc-panel:not(.active) .hz-acc-tab:hover span{ color: var(--hz-blue); }
.hz-acc-panel:not(.active) .hz-acc-tab:hover .hz-acc-num{ color: var(--hz-blue); border-color: var(--hz-blue); }
.hz-acc-panel:not(.active) .hz-acc-tab:hover::after{ background: var(--hz-blue); transform: scale(1.5); }
.hz-acc-panel.active .hz-acc-tab{
  background: linear-gradient(165deg, var(--hz-blue-l), var(--hz-blue) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset -1px 0 0 rgba(255,255,255,.12);
  cursor: default;
}
.hz-acc-panel.active .hz-acc-tab span{ color: #fff; }
.hz-acc-panel.active .hz-acc-num{ color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35); }
/* 竖排"更多"，仅激活面板显示 */
.hz-acc-more{
  writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: 2px;
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4); border-radius: 10px;
  padding: 8px 2px;
  display: none;
  transition: background .25s;
}
.hz-acc-panel.active .hz-acc-more{ display: block; }
.hz-acc-more:hover{ background: #fff; color: var(--hz-blue); }
/* 展开内容区：配图保持 4:3 并放大至撑满面板高度（宽度自适应），列表相应收窄 */
.hz-acc-body{ display: none; min-width: 0; flex: 1; padding-left: 18px; align-items: center; gap: 20px; }
.hz-acc-panel.active .hz-acc-body{ display: flex; }
.hz-acc-body .diyipinimg{
  float: none; flex: 0 0 auto;
  height: 100%; width: auto; max-width: 46%;
  aspect-ratio: 4 / 3; box-sizing: border-box;
  align-self: center; position: relative;
  border: 5px solid #fff;                 /* 白框装饰，提升精致感 */
  box-shadow: 0 0 0 1px rgba(15,60,130,.14),   /* 外圈浅色描边：白框不再隐形 */
              0 12px 28px rgba(23,58,110,.20);
}
.hz-acc-body .diyipinimg a{ display: block; height: 100%; }
.hz-acc-body .diyipinimg img{ width: 100%; height: 100%; object-fit: cover; display: block; }
/* 「焦点」角标：填充感 + 强调图片新闻属性 */
.hz-acc-body .diyipinimg::before{
  content: '焦点';
  position: absolute; top: 0; left: 0; z-index: 2;
  background: linear-gradient(135deg, #ffb35c, #f97b1f);
  color: #fff; font-size: 11px; letter-spacing: 2px;
  padding: 4px 11px 4px 9px;
  border-radius: 7px 0 10px 0;
  box-shadow: 0 2px 8px rgba(249,123,31,.4);
}
.hz-acc-body .diyipinlist{ float: none; flex: 1 1 auto; width: auto; min-width: 0; display: flex; flex-direction: column; }
.hz-acc-body .diyipinlist ul{ flex: 1; display: flex; flex-direction: column; }
.hz-acc-body .diyipinlist ul li{ flex: 1; }

/* ============================================================
   需求 2B：开馆须知 + 门票预约 —— 重设计
   ============================================================ */

.kgxzmpyy{ height: auto; min-height: 0; margin-top: 26px; position: relative; background: none; }  /* 取消原站插画背景，突出卡片本体 */
.kgxzmpyy::before{ display: none; }  /* 取消叠加轻纱 */

/* 左右分卡 → 上下一体式通栏大卡（参考图版式）：统一圆角与阴影 */
.kgxzmpyyN{
  width: 1400px;   /* 与导航/资讯区同宽对齐 */
  display: flex; flex-direction: column; gap: 0;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 46px rgba(70,58,184,.32);
  position: relative; z-index: 1;
}
/* 参考图式角部框线装饰（白色细角标，贴橙色区两上角） */
.kgxzmpyyN::before,
.kgxzmpyyN::after{
  content: '';
  position: absolute; top: 16px;
  width: 26px; height: 26px;
  z-index: 2; pointer-events: none;
}
.kgxzmpyyN::before{
  left: 16px;
  border-left: 2px solid rgba(255,255,255,.55);
  border-top: 2px solid rgba(255,255,255,.55);
  border-top-left-radius: 8px;
}
.kgxzmpyyN::after{
  right: 16px;
  border-right: 2px solid rgba(255,255,255,.55);
  border-top: 2px solid rgba(255,255,255,.55);
  border-top-right-radius: 8px;
}

/* —— 上半：开馆须知通栏（橙色渐变；左信息栏 + 右时刻面板双栏网格，消除空旷感） —— */
.kgxzmpyyL{
  width: 100%; height: auto; min-height: 0; margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas:
    "title times"
    "date  times"
    "note  times"
    "addr  times";
  column-gap: 36px;
  text-align: left;
  border-radius: 0;
  background:
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.6px),
    linear-gradient(120deg, #9a8cf8 0%, #6a5fd8 52%, #463ab8 100%);
  background-size: 20px 20px, auto;
  box-shadow: none;
  padding: 22px 40px 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
/* 卡内左右装饰圆 */
.kgxzmpyyL::before{
  content: '';
  position: absolute; left: -60px; top: -60px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,.13);
}
.kgxzmpyyL::after{
  content: '';
  position: absolute; right: -40px; bottom: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}

/* 标题：开馆须知 + 「今日开馆」徽标左对齐并排，英文小字下沉 */
.kgxzmpyyLtitle{
  grid-area: title;
  writing-mode: horizontal-tb;
  width: 100%; height: auto; padding: 0;
  background: none;
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  font-size: 21px; letter-spacing: 3px;
  text-shadow: 0 2px 6px rgba(35,25,95,.35);
  position: relative; z-index: 1;
}
.kgxzmpyyLtitle::after{
  content: 'OPENING NOTICE';
  position: absolute; left: 0; bottom: -15px;
  font-size: 11px; font-weight: normal; letter-spacing: 3px;
  color: rgba(255,255,255,.78);
  white-space: nowrap;
}
/* 标题前菱形装饰符 */
.kgxzmpyyLtitle::before{
  content: '';
  width: 9px; height: 9px;
  background: #ffe27a;
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(122,58,0,.35);
  flex: none;
}
/* 「今日开馆」高亮徽标：亮黄底 + 深棕字，轻微呼吸脉冲吸引注意 */
.hz-vis-flag{
  font-size: 12px; font-weight: bold; letter-spacing: 2px;
  color: #7c3a00;
  background: linear-gradient(135deg, #ffe27a, #ffc93c);
  border-radius: 999px;
  padding: 4px 13px;
  box-shadow: 0 4px 14px rgba(122,58,0,.30), inset 0 1px 0 rgba(255,255,255,.7);
  animation: hzVisPulse 2.4s ease-in-out infinite;
}
@keyframes hzVisPulse{
  0%,100%{ box-shadow: 0 4px 14px rgba(122,58,0,.30), inset 0 1px 0 rgba(255,255,255,.7); }
  50%{ box-shadow: 0 4px 22px rgba(255,226,122,.75), inset 0 1px 0 rgba(255,255,255,.7); }
}

/* —— 超大日期：左栏信息锚点（对接：换模板当日开馆日期） —— */
.hz-vis-date{
  grid-area: date;
  font-family: 'DIN Alternate', 'Arial Narrow', Arial, sans-serif;
  font-size: 44px; font-weight: bold; letter-spacing: 3px;
  color: #fff; line-height: 1.1;
  margin: 14px 0 2px;
  text-shadow: 0 3px 14px rgba(30,22,85,.45);
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
}
/* 日期旁「开馆日」描边小标签 */
.hz-vis-date_o{
  
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px; font-weight: normal; letter-spacing: 2px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  padding: 2px 10px;
  white-space: nowrap;
}

/* body 透明化：子元素直接参与外层 grid 布局 */
.kgxzmpyyLbody{ display: contents; }

/* 提示行：说明文案左对齐，预约须知/交通指南按钮另起一行 */
.kaiguanps{ grid-area: note; height: auto; line-height: 1.7; margin: 6px 0 0; color: rgba(255,255,255,.96); font-size: 13.5px; text-align: left; overflow: visible; }
.kaiguanps span{ float: none; display: flex; gap: 8px; margin: 8px 0 0; }
.kaiguanps span em{
  background: #fff; color: #463ab8; font-weight: bold; font-size: 12.5px;
  padding: 5px 14px; border-radius: 18px;
  box-shadow: 0 4px 14px rgba(50,40,140,.3);
  transition: transform .2s, box-shadow .2s;
}
.kaiguanps span em a{ color: inherit; font-style: normal; }
.kaiguanps span em:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(50,40,140,.38); }
.kaiguanps span i{
  background: rgba(40,30,105,.28); color: #fff; font-size: 12.5px;
  border: 1px solid rgba(255,255,255,.85);
  padding: 4px 13px; border-radius: 18px; margin-left: 0;
  box-sizing: border-box;
  transition: background .2s;
}
.kaiguanps span i:hover{ background: rgba(40,30,105,.42); }

/* —— 右侧「今日开放时刻」面板：半透明白玻卡，三段时间竖排大数字 + 细竖线 —— */
.kaiguansjzs{
  grid-area: times;
  align-self: center;
  display: flex; flex-wrap: wrap;
  width: 100%;
  margin: 0; padding: 14px 18px 16px;
  align-items: center; justify-content: space-evenly;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 24px rgba(35,25,95,.3);
  box-sizing: border-box;
  position: relative; z-index: 1;
}
/* 面板小标题 */
.kaiguansjzs::before{
  content: '今日开放时刻 · OPENING HOURS';
  width: 100%;
  text-align: center;
  font-size: 12px; letter-spacing: 3px;
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
}
.kaiguankuang{ width: auto; text-align: center; }
.kaiguankuang span{ color: rgba(255,255,255,.92); font-size: 12.5px; font-weight: normal; margin: 0 0 4px; letter-spacing: 2px; }
.kaiguankuang em{
  width: auto; height: auto;
  border: none; border-radius: 0;
  background: none; box-shadow: none;
}
.kaiguankuang em i{
  color: #fff; font-size: 34px; font-weight: bold;
  font-family: 'DIN Alternate', 'Arial Narrow', Arial, sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(30,22,85,.4);
}
/* 分隔细竖线 */
.fengexian{ padding: 0 6px; }
.fengexian i{
  width: 1px; height: 42px; margin-top: 2px;
  background: rgba(255,255,255,.5);
  border: none;
}

/* 左栏底部预约方式/地址 */
.kgxzmpyyLbody .yyfszxdh{ grid-area: addr; text-align: left; margin-top: 10px; }
.kgxzmpyyLbody .yyfszxdh p{
  display: block; margin: 0;
  color: rgba(255,255,255,.94); font-size: 12.5px; line-height: 21px;
}

/* —— 下半：门票预约服务带（深蓝分隔条 + 参考图式彩色格通铺） —— */
.kgxzmpyyR{
  width: 100%; height: auto; min-height: 0; margin: 0;
  flex-direction: column;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}
/* 分隔条：蓝色渐变横带（与蓝卡同系，深浅拉开层次） */
.kgxzmpyyRtitle{
  writing-mode: horizontal-tb;
  width: 100%; height: auto; padding: 8px 26px;
  box-sizing: border-box;
  background: linear-gradient(90deg, #463ab8 0%, #5b50d0 50%, #463ab8 100%);
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  font-size: 15px; letter-spacing: 3px;
  text-shadow: none;
  position: relative;
}
/* 右侧"快速入口"小标签 */
.kgxzmpyyRtitle::before{
  content: '快速入口';
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-size: 12px; font-weight: normal; letter-spacing: 2px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 14px;
  padding: 2px 12px;
}
.kgxzmpyyRtitle::after{
  content: 'TICKET & SERVICE';
  font-size: 11px; font-weight: normal; letter-spacing: 3px;
  color: rgba(255,255,255,.72);
}
.kgxzmpyyRbody{ flex: none; padding: 0; margin-top: 0; background: none; }

/* 8 格通铺一排：白底 + 彩色图标徽章（清爽配色，图标可视性最佳） */
.mpyyul{ display: flex; flex-wrap: nowrap; gap: 0; width: 100%; }
.mpyyul li{
  --c: #1f6fc9;                 /* 图标主色（按格子分组着色） */
  --cl: rgba(31,111,201,.10);   /* 图标徽章浅底 */
  flex: 1 1 0; width: auto; height: 104px;
  border: none; border-radius: 0;
  border-right: 1px solid #eef2f7;
  background: #fff;
  transition: background .25s;
}
.mpyyul li:last-child{ border-right: none; }
/* 分组色：前 2 暖橙预约组，后 6 青→蓝→靛递进 */
.mpyyul li:nth-child(1){ --c: #f0730f; --cl: rgba(240,115,15,.10); }
.mpyyul li:nth-child(2){ --c: #e89a12; --cl: rgba(232,154,18,.12); }
.mpyyul li:nth-child(3){ --c: #14a0a5; --cl: rgba(20,160,165,.10); }
.mpyyul li:nth-child(4){ --c: #1289c4; --cl: rgba(18,137,196,.10); }
.mpyyul li:nth-child(5){ --c: #1f6fc9; --cl: rgba(31,111,201,.10); }
.mpyyul li:nth-child(6){ --c: #2a5cc9; --cl: rgba(42,92,201,.10); }
.mpyyul li:nth-child(7){ --c: #3547bd; --cl: rgba(53,71,189,.10); }
.mpyyul li:nth-child(8){ --c: #5244c0; --cl: rgba(82,68,192,.10); }
/* 图标徽章：浅色圆底 + 彩色图标，hover 反白 */
.mpyyul li a{ display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* span 中间层也做纵向 flex 居中，保证图标与文字水平对齐（文字比图标宽时不错位） */
.mpyyul li a span{ display: flex; flex-direction: column; align-items: center; }
.mpyyul li a i{
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cl); color: var(--c);
  font-size: 23px; margin-top: 0;
  transition: transform .25s, background .25s, color .25s;
}
.mpyyul li a em{
  color: #334155; font-size: 13px; margin-top: 8px;
  letter-spacing: 1px; transition: color .25s;
}
.mpyyul li:hover{ background: #f8fafc; }
.mpyyul li:hover a i{ background: var(--c); color: #fff; transform: scale(1.1); }
.mpyyul li:hover a em{ color: var(--c); font-weight: bold; }

/* ============================================================
   响应式兜底
   ============================================================ */
@media screen and (max-width: 1440px){
  .navcl{ width: 1200px; gap: 14px; }
  .topbar .layui-container{ width: 1200px; max-width: 1200px; }
  .navL a img{ width: 180px; }
  .navL{ gap: 12px; }
  .navcl .layui-nav .layui-nav-item a{ padding: 0 8px; font-size: 14px; }
  .diyipin{ width: 1200px; }
  .diyipinL{ width: 795px; }
  .diyipinR{ width: 390px; }
  .kgxzmpyyN{ width: 1200px; }
  .hz-acc-body{ gap: 14px; padding-left: 14px; }
  .hz-acc-body .diyipinimg{ height: 210px; max-width: 42%; }
  .kgxzmpyyL{ padding: 18px 28px 16px; column-gap: 24px; }
  .hz-vis-date{ font-size: 38px; margin-top: 10px; }
  .kaiguankuang em i{ font-size: 29px; }
  .kaiguansjzs{ padding: 11px 12px 12px; }
  .mpyyul li{ height: 94px; }
  .mpyyul li a i{ width: 40px; height: 40px; font-size: 20px; }
  .mpyyul li a em{ font-size: 12.5px; }
}
@media screen and (max-width: 1520px){
  .banner .layui-carousel-ind{ bottom: 84px; }   /* 卡片右缘逼近屏边，指示点上移到卡片顶边上方避让 */
}
@media screen and (max-width: 1100px){
  .navcl{
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    gap: 10px;
    overflow-x: auto;
  }
  .topbar .layui-container{ width: 100%; max-width: 100%; }
  .diyipin{ width: 100%; padding: 0 10px; box-sizing: border-box; }
  .kgxzmpyyN{ width: 100%; }
  .navcl .layui-nav{ justify-content: flex-start; }
  .navcl .layui-nav .layui-nav-item a{ padding: 0 8px; font-size: 14px; }
  .navL a img{ width: 180px; }
  .navR:hover .sousuoinput,
  .navR .sousuoinput:focus-within{ width: 170px; }
  .diyipin{ flex-direction: column; }
  .diyipinL,.diyipinR{ width: 100%; }
  /* 双栏网格 → 单栏堆叠 */
  .kgxzmpyyL{
    grid-template-columns: 1fr;
    grid-template-areas: "title" "date" "note" "times" "addr";
    text-align: center;
    padding: 16px 20px 14px;
  }
  .kgxzmpyyLtitle{ justify-content: center; }
  .kgxzmpyyLtitle::after{ left: 50%; transform: translateX(-50%); }
  .hz-vis-date{ font-size: 34px; }
  .kaiguanps{ text-align: center; }
  .kaiguanps span{ justify-content: center; margin: 10px 0 0; }
  .kaiguansjzs{ padding: 10px 8px 12px; margin-top: 12px; }
  .kaiguankuang em i{ font-size: 26px; }
  .kgxzmpyyLbody .yyfszxdh{ text-align: center; }
  /* 服务格 8→4×2 折行 */
  .mpyyul{ flex-wrap: wrap; }
  .mpyyul li{ flex: 1 1 25%; height: 92px; border-bottom: 1px solid #eef2f7; }
  .mpyyul li:nth-child(4n){ border-right: none; }
  .mpyyul li:nth-child(n+5){ border-bottom: none; }
  .mpyyul li a i{ width: 38px; height: 38px; font-size: 19px; }
  .banner .layui-carousel-ind{ right: 14px; bottom: 78px; }
}
