:root{
  --v2-panel:#f4f7fb;
  --v2-card:#fff;
  --v2-ink:#203957;
}

/* Banner 使用固定高度，不再按屏高拉伸填充。 */
.wechat-v2-home .hero{
  height:280px;
}

.wechat-v2-home .hero-slide.jobs{
  background-image:linear-gradient(90deg,rgba(255,255,255,.68) 0%,rgba(251,254,255,.52) 32%,rgba(243,250,255,.14) 44%,rgba(240,248,255,.02) 56%,rgba(11,92,161,0) 70%),url("linyi-home-banner-option-c-v2-bright.jpg");
}

.v2-quick-panel{
  position:relative;
  z-index:5;
  margin:-34px 12px 0;
  padding:7px 5px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.94) 52%,#fff 100%);
  box-shadow:0 7px 20px rgba(33,99,154,.06);
  -webkit-backdrop-filter:blur(15px) saturate(118%);
  backdrop-filter:blur(15px) saturate(118%);
}

.v2-quick-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.v2-quick-item{
  display:flex;
  min-width:0;
  height:82px;
  padding:2px 1px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  color:#263a52;
  font-size:13.5px;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
}

.v2-quick-icon{
  display:grid;
  width:58px;
  height:58px;
  place-items:center;
  border:0;
  border-radius:0;
  background:transparent;
}

.v2-quick-icon img{
  display:block;
  width:58px;
  height:58px;
  object-fit:contain;
  filter:none;
}

.v2-home-services{
  display:grid;
  gap:8px;
  padding:2px 12px 6px;
}

.v2-secondary-nav{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  transition:border-color .22s ease,background-color .22s ease,box-shadow .22s ease;
}

.v2-secondary-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
}

.v2-secondary-item{
  display:flex;
  min-width:0;
  height:74px;
  padding:0;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  color:#263a52;
  font-size:13.5px;
  font-weight:400;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
}

.v2-secondary-icon,
.v2-secondary-icon img{
  display:block;
  width:50px;
  height:50px;
}

.v2-secondary-icon img{object-fit:contain}

/* PNG 图标上方透明留白偏多：整体光学上移，平衡金刚区可见内容的上下空隙。 */
.v2-quick-item,
.v2-secondary-item{transform:translateY(-6px)}

/* 两行金刚区始终共用一个白色容器。 */
.wechat-v2-home.v2-secondary-panel-demo .v2-quick-panel{overflow:hidden}

.wechat-v2-home.v2-secondary-panel-demo .v2-quick-panel .v2-secondary-nav{
  height:74px;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.wechat-v2-home.v2-secondary-panel-demo .v2-secondary-grid,
.wechat-v2-home.v2-secondary-panel-demo .v2-secondary-item{height:100%}

.wechat-v2-home.v2-secondary-panel-demo .v2-home-services{padding-top:8px}


.wechat-v2-home .v2-demo-toggle{cursor:pointer}
.wechat-v2-home .v2-demo-toggle:focus-visible{
  outline:2px solid rgba(18,109,215,.72);
  outline-offset:-3px;
}

.v2-feature-stack{
  display:grid;
  gap:8px;
}

.v2-feature-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.v2-feature-card{
  position:relative;
  display:block;
  min-width:0;
  height:102px;
  overflow:hidden;
  border:0;
  border-radius:12px;
  color:#fff;
  background:#dce9f4;
  box-shadow:none;
  isolation:isolate;
}

.v2-feature-card.v2-feature-wide{height:104px}

.v2-feature-card::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
}

.v2-feature-card.fair::before{
  background:linear-gradient(90deg,rgba(255,238,235,.98) 0%,rgba(255,240,236,.88) 35%,rgba(255,226,221,.58) 55%,rgba(255,225,218,.08) 82%,transparent 100%);
}

.v2-feature-card.groups::before{
  background:linear-gradient(90deg,rgba(228,242,255,.98) 0%,rgba(225,240,255,.88) 47%,rgba(201,228,255,.40) 68%,rgba(196,226,255,.06) 100%);
}

.v2-feature-card.hr::before{
  background:linear-gradient(90deg,rgba(224,249,246,.98) 0%,rgba(220,247,244,.88) 47%,rgba(191,239,234,.42) 68%,rgba(183,236,230,.06) 100%);
}

.v2-feature-photo{
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .28s ease;
}

.v2-feature-card.fair .v2-feature-photo{object-position:60% center}
.v2-feature-card.groups .v2-feature-photo{object-position:62% center}
.v2-feature-card.hr .v2-feature-photo{object-position:66% center}
.v2-feature-card:active .v2-feature-photo{transform:scale(1.025)}

.v2-feature-copy{
  position:relative;
  z-index:2;
  display:flex;
  width:78%;
  height:100%;
  padding:13px 13px 11px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:5px;
  text-align:left;
}

.v2-feature-pair .v2-feature-copy{
  width:86%;
  padding:12px 10px;
  gap:4px;
  justify-content:flex-start;
}

/* 招聘会名称与状态同排，窄屏仍保持完整显示。 */
.v2-feature-card.fair .v2-feature-copy{
  width:100%;
  transform:translateY(-4px);
}

.v2-fair-info{
  display:flex;
  min-width:0;
  max-width:100%;
  align-items:center;
  gap:8px;
}

.v2-fair-info .v2-feature-subtitle{
  min-width:0;
  flex:0 1 auto;
}

.v2-fair-info .v2-feature-status{
  flex:0 0 auto;
}

.v2-feature-heading{
  display:flex;
  max-width:100%;
  align-items:center;
  gap:7px;
}

.v2-feature-title{
  display:block;
  margin:0;
  font-size:18px;
  font-weight:780;
  line-height:1.16;
  letter-spacing:.2px;
  white-space:nowrap;
}

.v2-feature-pair .v2-feature-title{font-size:16px}
.v2-feature-card.fair .v2-feature-title{color:#a91922}
.v2-feature-card.groups .v2-feature-title{color:#1553a9}
.v2-feature-card.hr .v2-feature-title{color:#087a77}

.v2-feature-status{
  display:inline-grid;
  height:18px;
  padding:1px 7px 0;
  place-items:center;
  border-radius:999px;
  color:#fff;
  font-size:11px;
  font-weight:650;
  line-height:1;
  white-space:nowrap;
  background:#f05d51;
}

.v2-feature-line{
  display:block;
  width:24px;
  height:2px;
  border-radius:999px;
}

.v2-feature-card.fair .v2-feature-line{background:#c81f28}
.v2-feature-card.groups .v2-feature-line{background:#1d72db}
.v2-feature-card.hr .v2-feature-line{background:#0da18f}

.v2-feature-subtitle{
  display:block;
  max-width:100%;
  overflow:hidden;
  font-size:12.5px;
  font-style:normal;
  font-weight:520;
  line-height:1.22;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v2-feature-card.fair .v2-feature-subtitle{color:#a9595d}
.v2-feature-card.groups .v2-feature-subtitle{color:#4774a5}
.v2-feature-card.hr .v2-feature-subtitle{color:#3b7f7b}

.wechat-v2-home .bottom-nav{z-index:70}

@media(max-width:340px){
  .v2-quick-icon,
  .v2-quick-icon img{width:54px;height:54px}
  .v2-quick-item{height:78px;font-size:13px}
  .v2-secondary-icon,
  .v2-secondary-icon img{width:46px;height:46px}
  .v2-secondary-item{height:70px;font-size:13px}
  .v2-quick-item,
  .v2-secondary-item{transform:translateY(-5px)}
  .wechat-v2-home.v2-secondary-panel-demo .v2-quick-panel .v2-secondary-nav{height:70px}
  .v2-feature-pair{gap:8px}
  .v2-feature-pair .v2-feature-title{font-size:15px}
  .v2-feature-subtitle{font-size:11.5px}
}

@media(max-height:640px){
  .wechat-v2-home .hero-copy{
    top:40px;
    bottom:8px;
    gap:5px;
  }
  .wechat-v2-home .hero h1,
  .wechat-v2-home .hero h1.long-title{font-size:20px}
}

@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .v2-quick-panel{background:#fff}
}

@media(prefers-reduced-motion:reduce){
  .v2-feature-photo,.v2-secondary-nav{transition:none}
}
