/* brand-ranking */
/* ============ 榜单页（对照图6） ============ */
.rank-hero{
  background:linear-gradient(180deg,#c0272d 0%,#8c171d 55%,#8c171d 100%);
  color:#fff;padding:30px 0 0;position:relative;overflow:hidden;
}
.rank-hero::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at 18% 10%,rgba(255,255,255,.22),transparent 42%),
    radial-gradient(circle at 82% 0%,rgba(255,255,255,.18),transparent 38%);
  pointer-events:none;
}
.rank-hero .container{position:relative;z-index:2;}
.rank-title{text-align:center;font-size:40px;font-weight:800;letter-spacing:2px;line-height:1.3;}
.rank-desc{
  text-align:center;font-size:13px;line-height:1.9;color:rgba(255,255,255,.86);
  max-width:760px;margin:12px auto 0;
}
.rank-tabs{display:flex;justify-content:center;gap:70px;margin:24px 0 0;border-bottom:0;}
@media(max-width:992px){.rank-tabs{gap:34px;}}
@media(max-width:576px){
  .rank-tabs{gap:10px;margin:16px 0 0;}
  .rank-tabs button{font-size:13.5px;padding:4px 10px 9px;white-space:nowrap;}
}
.rank-tabs button{
  background:transparent;color:#fff;font-size:16px;cursor:pointer;padding:6px 4px 12px;
  opacity:.8;border:0;
}
.rank-tabs button[aria-selected="true"]{opacity:1;font-weight:700;}
.rank-tabs button[aria-selected="true"]::after{
  content:"";display:block;width:100%;height:2px;background:#c0272d;margin-top:8px;
}

/* 领奖台 */
.podium{
  display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:20px;align-items:end;
  padding:26px 0 34px;
}
.podium-card{
  position:relative;text-align:center;padding:20px 16px 22px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.4);
  border-radius:8px;backdrop-filter:blur(2px);
}
.podium-card.center{
  background:rgba(255,255,255,.22);padding:26px 16px 28px;
  border-color:rgba(255,225,150,.9);
  box-shadow:0 0 0 1px rgba(255,225,150,.35),0 12px 30px rgba(192,39,45,.35);
}
.podium-card .cup{width:46px;height:46px;margin:0 auto 6px;}
.podium-card .no-badge{
  display:inline-block;font-size:12px;color:#a11821;background:#c0272d;
  border-radius:10px;padding:0 8px;line-height:18px;margin-bottom:10px;
}
.podium-card .p-logo{
  width:230px;height:118px;margin:0 auto 12px;background:#fff;border-radius:4px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:10px;
}
.podium-card .p-logo .pl-cat{
  font-size:10.5px;color:#8e8e88;background:#f5f5f3;border-radius:9px;
  line-height:17px;padding:0 9px;letter-spacing:1px;
}
.podium-card .p-name{font-size:17px;font-weight:700;margin-bottom:6px;}
.podium-card .p-desc{font-size:12px;color:rgba(255,255,255,.85);line-height:1.8;min-height:44px;}
.podium-card .p-acts{display:flex;justify-content:center;gap:8px;margin-top:12px;}
.podium-card .p-acts a{
  height:28px;padding:0 14px;border-radius:14px;font-size:12px;display:inline-flex;align-items:center;
}
.podium-card .vote{background:#fff;color:#c0272d;font-weight:600;}
.podium-card .detail{border:1px solid rgba(255,255,255,.8);color:#fff;}

/* 排名列表 */
.rk-wrap{padding:26px 0 10px;}
.rk-row{
  display:grid;grid-template-columns:56px 96px 1fr 108px;gap:18px;align-items:center;
  background:#fff;border:1px solid #eaeae9;border-radius:4px;
  padding:18px 20px;margin-bottom:14px;transition:.25s;
}
.rk-row:hover{box-shadow:0 8px 22px rgba(192,39,45,.10);border-color:#e7e7e4;}
.rk-no{font-size:28px;font-weight:800;color:#c0272d;text-align:center;line-height:1;}
.rk-logo{
  width:136px;height:96px;border:1px solid #f0f1f0;border-radius:3px;background:#fcfcfb;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;
}
.rk-info h3{font-size:17px;font-weight:700;color:#c0272d;margin-bottom:3px;}
.rk-info h3 a{color:#c0272d;}
.rk-info .co{font-size:12px;color:#a09f99;margin-bottom:6px;}
.rk-info .desc{font-size:13px;color:#6b6b65;line-height:1.8;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.rk-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:#a09f99;}
.rk-meta span{display:inline-flex;align-items:center;gap:4px;}
.rk-meta i{width:12px;height:12px;border-radius:50%;background:#eaeae8;display:inline-block;}
.rk-acts{text-align:center;}
.rk-acts .btn{margin-bottom:6px;width:92px;height:32px;}

/* 榜单横幅 */
.rank-banner{
  margin:16px 0 0;padding:26px 30px;border-radius:6px;color:#fff;text-align:center;
  background:
    linear-gradient(90deg,rgba(192,39,45,.92),rgba(192,39,45,.72) 40%,rgba(192,39,45,.92)),
    url("../img/hero-expo.jpg") center/cover no-repeat;
}
.rank-banner h3{font-size:28px;font-weight:800;letter-spacing:2px;margin-bottom:6px;}
.rank-banner p{font-size:13px;color:rgba(255,255,255,.8);margin-bottom:14px;}
.rank-note{font-size:12px;color:#a09f99;line-height:2;padding:18px 4px 6px;border-bottom:1px solid #e8e8e6;}
.rank-note strong{color:#6b6b65;}

/* 知名品牌推荐 */
.fame-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:26px 0 30px;}
.fame-item{text-align:center;}
.fame-item .logo-card{
  display:flex;align-items:center;justify-content:center;gap:24px;
  height:142px;margin-bottom:0;border-color:#e8e8e6;background:#fff;padding:0 24px;
}
.fame-item .logo-card img{width:104px;height:104px;object-fit:contain;flex:none;display:block;}
.fame-item .logo-card .lc-txt{text-align:left;min-width:0;}
.fame-item .logo-card .lc-tag{display:block;font-size:10px;color:#a09f99;letter-spacing:2px;line-height:1;margin-bottom:10px;}
.fame-item .logo-card b{
  display:block;font-size:27px;color:#c0272d;letter-spacing:4px;line-height:1.15;
  font-family:"STKaiti","KaiTi",serif;
}
.fame-item .logo-card .lc-sub{display:block;margin-top:9px;font-size:12px;color:#8e8e88;letter-spacing:.3px;line-height:1.6;}
.fame-item .logo-card .lc-sub i{font-style:normal;}
.fame-item .logo-card .sub-p{display:inline;}
.fame-item p{font-size:13px;color:#6b6b65;}
.rank-banner h3{text-wrap:balance;}

/* 更多行业榜单 */
.more-rank{
  background:#c0272d;color:#fff;padding:26px 0 30px;
  background-image:radial-gradient(circle at 10% 10%,rgba(255,255,255,.15),transparent 40%),
                    radial-gradient(circle at 90% 80%,rgba(255,255,255,.12),transparent 40%);
}
.more-rank h3{text-align:center;font-size:22px;font-weight:700;margin-bottom:18px;}
.more-rank ul{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;max-width:1020px;margin:0 auto;}
.more-rank li a{
  display:inline-flex;align-items:center;height:32px;padding:0 18px;border-radius:16px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.4);font-size:13px;color:#fff;
}
.more-rank li a:hover{background:#fff;color:#c0272d;}

/* 新闻资讯 */
.news-sec{padding:30px 0 10px;}
.news-two{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
.news-two h3{font-size:17px;font-weight:700;padding-bottom:10px;border-bottom:1px solid #e8e8e6;margin-bottom:6px;}
.news-two .more{float:right;font-size:12px;color:#a09f99;font-weight:400;}
.news-li{display:flex;gap:12px;padding:12px 0;border-bottom:1px dashed #e8e8e6;}
.news-li img{width:92px;height:62px;object-fit:cover;flex-shrink:0;border-radius:3px;}
.news-li .t{font-size:13px;color:#474744;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.news-li .d{font-size:12px;color:#c2c2be;margin-top:4px;}
@media (max-width:992px){
  .rank-title{font-size:32px;}
  .podium{grid-template-columns:1fr;}
  .podium-card.center{order:-1;}
  .rk-row{grid-template-columns:44px 96px 1fr;gap:12px;}
  .rk-acts{grid-column:2 / -1;text-align:left;}
  .news-two{grid-template-columns:1fr;gap:20px;}
}
@media (max-width:576px){
  .rank-title{font-size:26px;}
  .podium{padding:18px 0 24px;gap:14px;}
  .podium-card{padding:16px 14px 18px;}
  .podium-card.center{padding:18px 14px 20px;}
  .podium-card .p-logo{width:112px;height:112px;}
  .podium-card .p-name{font-size:15px;}
  .podium-card .p-desc{font-size:12px;min-height:0;}
  .fame-grid{grid-template-columns:1fr;gap:16px;padding:20px 0 22px;}
  .fame-item .logo-card{height:124px;gap:14px;padding:0 15px;justify-content:flex-start;}
  .fame-item .logo-card img{width:68px;height:68px;}
  .fame-item .logo-card .sub-p{display:none;}
  .fame-item .logo-card .lc-tag{font-size:9px;letter-spacing:1.2px;margin-bottom:7px;}
  .fame-item .logo-card b{font-size:21px;letter-spacing:2.5px;}
  .fame-item .logo-card .lc-sub{font-size:11px;margin-top:7px;line-height:1.5;}
  .fame-item p{font-size:12px;line-height:1.7;}
  .rank-banner h3{font-size:19px;letter-spacing:1px;}
  .rank-banner p{font-size:12px;}
  .rank-note{font-size:12px;line-height:1.9;}
  .rk-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 11px;padding:14px 13px;}
  .rk-no{width:24px;flex:none;font-size:20px;text-align:left;padding-top:3px;}
  .rk-logo{width:70px;height:70px;flex:none;padding:3px;}
  .rk-info{flex:1 1 0;min-width:0;}
  .rk-info h3{font-size:15px;margin-bottom:2px;}
  .rk-info .co{font-size:11.5px;margin-bottom:5px;}
  .rk-info .desc{font-size:12.5px;line-height:1.75;margin-bottom:7px;-webkit-line-clamp:3;}
  .rk-meta{gap:6px 12px;font-size:11.5px;}
  .rk-meta i{display:none;}
  .rk-acts{width:100%;display:flex;gap:8px;justify-content:flex-start;text-align:left;}
  .rk-acts .btn{width:auto;padding:0 16px;}
}

/* 榜单口味图标识（方框 + 透明叠图） */
.podium-card .p-logo{
  width:132px;height:132px;margin:0 auto 12px;background:#fff;border-radius:4px;
  display:flex;align-items:center;justify-content:center;padding:6px;
}
.podium-card .p-logo img{width:100%;height:100%;object-fit:contain;display:block;}
.rk-logo{
  width:96px;height:96px;border:1px solid #f0f1f0;border-radius:3px;background:#fff;
  display:flex;align-items:center;justify-content:center;padding:5px;
}
.rk-logo img{width:100%;height:100%;object-fit:contain;display:block;}

.podium-card .ico-i{filter:none;opacity:1;}

.cat-head{margin:30px 0 14px;text-align:center;}
.cat-head h2{font-size:19px;font-weight:700;color:#302f2d;margin-bottom:6px;letter-spacing:.5px;}
.cat-head p{font-size:12.5px;color:#a09f99;line-height:1.8;}
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;}
.cat-item{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#fff;border:1px solid #eaeae9;border-radius:4px;padding:15px 10px 13px;
  text-align:center;text-decoration:none;transition:.22s;
}
.cat-item b{display:block;font-size:14px;font-weight:700;color:#302f2d;transition:.22s;}
.cat-item span{display:block;margin-top:5px;font-size:12px;color:#c0272d;}
.cat-item::after{
  content:"›";position:absolute;right:9px;top:50%;transform:translateY(-50%);
  font-size:15px;color:#d8d7d3;line-height:1;transition:.22s;
}
.cat-item:hover{border-color:#c0272d;box-shadow:0 8px 20px rgba(192,39,45,.12);transform:translateY(-2px);}
.cat-item:hover b{color:#c0272d;}
.cat-item:hover::after{color:#c0272d;right:7px;}
@media(max-width:992px){.cat-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:576px){.cat-grid{grid-template-columns:repeat(2,1fr);gap:8px;}
  .cat-item{padding:11px 8px;}.cat-item b{font-size:13px;}.cat-item span{font-size:11.5px;}
  .cat-head h2{font-size:16px;}.cat-head p{font-size:12px;}}
img.ico-i{display:inline-block;vertical-align:middle;border:0;object-fit:contain;max-width:none}
/* ============ v2 配色：白底 + 红点缀（与大页统一） ============ */
.rank-hero{background:#fbfaf8;color:#1a1a18;border-bottom:1px solid #efece7;padding:34px 0 0;}
.rank-hero::before{display:none;}
.rank-kick{text-align:center;font-size:11.5px;letter-spacing:3px;color:#a09f99;margin-bottom:10px;}
.rank-title{color:#1a1a18;}
.rank-title::after{content:"";display:block;width:44px;height:3px;background:#c0272d;margin:16px auto 0;}
.rank-desc{color:#6b6b65;}
.rank-tabs button{color:#6b6b65;opacity:1;}
.rank-tabs button:hover{color:#c0272d;}
.rank-tabs button[aria-selected="true"]{color:#c0272d;}
.rank-tabs button[aria-selected="true"]::after{background:#c0272d;}
.podium-card{background:#fff;border:1px solid #e9e5df;backdrop-filter:none;box-shadow:0 2px 12px rgba(26,26,24,.04);}
.podium-card.center{background:#fff;border:1px solid #f0e2dc;box-shadow:0 14px 34px rgba(192,39,45,.12);}
.podium-card.center::after{content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:3px;background:#c0272d;border-radius:8px 8px 0 0;}
.podium-card .p-logo{background:#fbfaf8;border:1px solid #f1eee8;border-radius:6px;}
.podium-card .no-badge{background:#c0272d;color:#fff;font-weight:600;}
.podium-card .p-name{color:#1a1a18;}
.podium-card .p-desc{color:#6b6b65;}
.podium-card .vote{background:#c0272d;color:#fff;font-weight:600;}
.podium-card .vote:hover{background:#9e1b21;}
.podium-card .detail{border:1px solid #ded7cc;color:#575752;background:#fff;}
.podium-card .detail:hover{border-color:#c0272d;color:#c0272d;}
.rank-banner{background:linear-gradient(90deg,rgba(26,26,24,.84),rgba(26,26,24,.62) 45%,rgba(26,26,24,.84)),url("../img/hero-expo.jpg") center/cover no-repeat;}
.more-rank{background:#fbfaf8;background-image:none;color:#1a1a18;border-top:1px solid #efece7;padding:28px 0 32px;}
.more-rank h3{color:#1a1a18;}
.more-rank li a{background:#fff;border:1px solid #e4e0d9;color:#575752;}
.more-rank li a:hover{background:#fff;border-color:#c0272d;color:#c0272d;}

/* ---- v3 收尾：白底 + 浅暖转化条 ---- */
body{background:#fff;}
.rank-banner{margin:18px 0 0;padding:32px 30px;border:1px solid #efece7;border-radius:6px;background:#fbfaf8;color:#1a1a18;}
.rank-banner h3{color:#1a1a18;}
.rank-banner h3::after{content:"";display:block;width:36px;height:3px;background:#c0272d;margin:12px auto 0;}
.rank-banner p{color:#6b6b65;}
.podium-card .ico-i{display:inline-block;vertical-align:-12px;margin:0 6px 0 0;}

.rk-row{border-color:#e8e3db;}
.rk-row:hover{border-color:#e3ddd3;}

/* ---- v4 实景底图：标题白区 + 领奖台浮在果酒陈列台上 ---- */
.rank-hero{
  background-color:#fbfaf8;
  background-image:
    linear-gradient(180deg,#fbfaf8 0%,rgba(251,250,248,.94) 18%,rgba(251,250,248,.70) 40%,rgba(251,250,248,.50) 66%,rgba(251,250,248,.88) 93%,#fbfaf8 100%),
    url(../img/rank-hero-bg.jpg);
  background-position:center top, center bottom;
  background-size:100% 100%, cover;
  background-repeat:no-repeat,no-repeat;
  padding:40px 0 0;
}
@media(max-width:900px){
  .rank-hero{
    background-image:
      linear-gradient(180deg,#fbfaf8 0%,rgba(251,250,248,.96) 26%,rgba(251,250,248,.86) 60%,rgba(251,250,248,.96) 100%),
      url(../img/rank-hero-bg.jpg);
    background-position:center top, 62% bottom;
  }
}

/* ---- v5 底图分区：上半白区放文字，下半实景放领奖台 ---- */
.rank-hero{
  background-color:#fbfaf8;
  background-image:
    linear-gradient(0deg,#fbfaf8 0%,rgba(251,250,248,.55) 3%,rgba(251,250,248,0) 9%),
    linear-gradient(180deg,#fbfaf8 0%,#fbfaf8 40%,rgba(251,250,248,.55) 47%,rgba(251,250,248,0) 54%),
    url(../img/rank-hero-bg.jpg);
  background-position:center bottom,center top,center bottom;
  background-size:100% 100%,100% 100%,100% auto;
  background-repeat:no-repeat,no-repeat;
  padding:40px 0 30px;
}
.podium-card{box-shadow:0 10px 30px rgba(26,26,24,.10);}
.podium-card.center{box-shadow:0 16px 38px rgba(192,39,45,.16);}
@media(max-width:900px){
  .rank-hero{
    background-image:
      linear-gradient(180deg,#fbfaf8 0%,#fbfaf8 58%,rgba(251,250,248,.90) 70%,rgba(251,250,248,.42) 100%),
      url(../img/rank-hero-bg.jpg);
    background-position:center top,center bottom;
    background-size:100% 100%,auto 420px;
  }
}

/* ---- v7 整块一张底图：通铺实景，上淡下浓 ---- */
.rank-hero{
  background-color:#fbfaf8;
  background-image:
    linear-gradient(0deg,#fbfaf8 0,rgba(251,250,248,.28) 26px,rgba(251,250,248,0) 62px),
    linear-gradient(180deg,rgba(251,250,248,.97) 0,rgba(251,250,248,.94) 30%,rgba(251,250,248,.86) 54%,rgba(251,250,248,.60) 100%),
    url(../img/rank-hero-bg.jpg);
  background-position:center bottom,center top,center bottom;
  background-size:100% 100%,100% 100%,cover;
  background-repeat:no-repeat,no-repeat,no-repeat;
  padding:40px 0 0;border-bottom:0;
}
.podium-band{background:none;border-bottom:1px solid #efece7;}
.podium{padding:48px 0 42px;}
.podium-card{box-shadow:0 12px 32px rgba(26,26,24,.12);}
.podium-card.center{box-shadow:0 18px 42px rgba(192,39,45,.18);}
@media(max-width:900px){
  .rank-hero{background-image:none;background-color:#fbfaf8;}
  .podium-band{background:#fbfaf8;border-bottom:1px solid #efece7;}
  .podium{padding:32px 0 30px;}
}

/* ---- v8 四个榜单可切换 ---- */
[data-panel][hidden]{display:none !important;}
.podium-card .p-desc{min-height:3.5em;}
.rk-panel .rk-info .desc{min-height:1.9em;}
.rank-tabs button{transition:color .18s ease;}

/* ---- v9 标签状态显式化（避免旧规则/过渡残留） ---- */
.rank-tabs button{color:#6b6b65 !important;font-weight:400 !important;opacity:1 !important;transition:none !important;}
.rank-tabs button[aria-selected="true"]{color:#c0272d !important;font-weight:700 !important;}
.rank-tabs button[aria-selected="true"]::after{content:"";display:block !important;width:100%;height:2px;background:#c0272d !important;margin-top:8px;}
.rank-tabs button[aria-selected="false"]::after{content:none !important;}
