/* =========================
   QSYJ 青山之声页面
   page-voice.php
========================= */

.qsyj-voice-page{
  background:#faf8f2;
  padding-bottom:120px;
}

/* Hero */
.voice-hero{
  max-width:1440px;
  margin:0 auto;
  min-height:520px;
  display:grid;
  grid-template-columns:42% 58%;
  background:#edf5ee;
  overflow:hidden;
}

.voice-hero-copy{
  padding:88px 72px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:2;
}

.voice-hero-copy h1{
  font-size:68px;
  line-height:1.15;
  color:#063f32;
  margin:0 0 22px;
  font-weight:800;
  letter-spacing:.04em;
}

.voice-hero-copy p{
  font-size:24px;
  color:#334155;
  margin:0 0 34px;
  line-height:1.8;
}

.voice-hero-image img{
  width:100%;
  height:520px;
  object-fit:cover;
}

/* 分类导航 */
.voice-category-bar{
  max-width:1360px;
  margin:-48px auto 42px;
  position:relative;
  z-index:5;
  background:#fff;
  border-radius:24px;
  box-shadow:0 18px 48px rgba(15,107,61,.10);
  display:grid;
  grid-template-columns:repeat(8,1fr);
  overflow:hidden;
  border:1px solid #eef2ef;
}

.voice-category-bar a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:96px;
  padding:18px 10px;
  color:#111827;
  font-size:16px;
  font-weight:700;
  text-align:center;
  border-right:1px solid #eee7dc;
  text-decoration:none;
  transition:.25s ease;
}

.voice-category-bar a:last-child{
  border-right:none;
}

.voice-category-bar a:hover{
  color:#0f6b3d;
  background:#f3faf6;
}

/* 通用区块 */
.voice-section{
  max-width:1360px;
  margin:36px auto;
  background:#fff;
  border-radius:24px;
  padding:32px;
  box-shadow:0 8px 28px rgba(15,107,61,.05);
}

.voice-section .section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}

.voice-section .section-head h2{
  font-size:32px;
  color:#063f32;
  margin:0;
  font-weight:800;
}

.voice-section .section-head a{
  color:#6b7280;
  font-size:16px;
}

/* 今日推荐 */
.voice-featured-grid{
  display:grid;
  grid-template-columns:1.45fr .9fr;
  gap:28px;
}

.voice-main-card{
  min-height:420px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  background:#123;
}

.voice-main-card img{
  width:100%;
  height:420px;
  object-fit:cover;
}

.voice-main-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.58),
    rgba(0,0,0,.12)
  );
}

.voice-main-content{
  position:absolute;
  left:42px;
  bottom:42px;
  max-width:520px;
  color:#fff;
  z-index:2;
}

.voice-main-content span{
  display:inline-block;
  background:#0f6b3d;
  color:#fff;
  padding:5px 14px;
  border-radius:999px;
  font-size:15px;
  font-weight:700;
  margin-bottom:16px;
}

.voice-main-content h3{
  font-size:42px;
  line-height:1.25;
  margin:0 0 16px;
  font-weight:800;
}

.voice-main-content p{
  font-size:19px;
  line-height:1.75;
  margin:0 0 24px;
  color:rgba(255,255,255,.92);
}

.voice-play-btn{
  border:0;
  background:#fff;
  color:#0f6b3d;
  padding:13px 24px;
  border-radius:999px;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}

/* 右侧音频列表 */
.voice-side-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.voice-side-list article{
  display:grid;
  grid-template-columns:92px 1fr 42px;
  gap:16px;
  align-items:center;
  padding:14px;
  border-radius:18px;
  background:#faf8f2;
  border:1px solid #eee7dc;
}

.voice-side-list img{
  width:92px;
  height:74px;
  object-fit:cover;
  border-radius:14px;
}

.voice-side-list h4{
  font-size:18px;
  line-height:1.45;
  margin:0 0 6px;
  color:#111827;
}

.voice-side-list p{
  margin:0;
  color:#6b7280;
  font-size:14px;
}

.voice-side-list button,
.voice-audio-card button{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #d8b976;
  background:#fff;
  color:#b37b27;
  cursor:pointer;
}

/* 最新音频 */
.voice-card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.voice-audio-card{
  position:relative;
  display:grid;
  grid-template-columns:118px 1fr 42px;
  gap:16px;
  align-items:center;
  background:#faf8f2;
  border:1px solid #eee7dc;
  border-radius:20px;
  padding:14px;
  transition:.25s ease;
}

.voice-audio-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(15,107,61,.08);
}

.voice-audio-card a{
  display:contents;
  color:inherit;
}

.voice-audio-card img{
  width:118px;
  height:88px;
  object-fit:cover;
  border-radius:16px;
}

.voice-audio-card h3{
  font-size:18px;
  line-height:1.45;
  margin:0 0 8px;
  color:#111827;
}

.voice-audio-card p{
  margin:0;
  color:#6b7280;
  font-size:14px;
}

/* 分类导航卡片 */
.voice-category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.voice-category-grid a{
  min-height:150px;
  padding:28px;
  border-radius:20px;
  background:linear-gradient(135deg,#fff,#f5efe4);
  border:1px solid #eee7dc;
  text-decoration:none;
  color:#111827;
  transition:.25s ease;
}

.voice-category-grid a:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(15,107,61,.08);
}

.voice-category-grid strong{
  display:block;
  color:#063f32;
  font-size:24px;
  margin-bottom:12px;
}

.voice-category-grid span{
  color:#6b7280;
  font-size:16px;
}

/* 播客专题 */
.voice-topic-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.voice-topic-grid article{
  min-height:190px;
  padding:30px;
  border-radius:22px;
  background:linear-gradient(135deg,#0f6b3d,#063f32);
  color:#fff;
  position:relative;
  overflow:hidden;
}

.voice-topic-grid article:nth-child(2){
  background:linear-gradient(135deg,#397f82,#1e4f52);
}

.voice-topic-grid article:nth-child(3){
  background:linear-gradient(135deg,#b37b27,#6b4e2e);
}

.voice-topic-grid article:nth-child(4){
  background:linear-gradient(135deg,#6b5b95,#3f3562);
}

.voice-topic-grid h3{
  font-size:28px;
  margin:0 0 12px;
}

.voice-topic-grid p{
  font-size:18px;
  margin:0 0 22px;
  opacity:.9;
}

.voice-topic-grid span{
  font-size:16px;
  opacity:.85;
}

/* 底部播放器 */
.voice-player-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1000;
  min-height:82px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(16px);
  border-top:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:12px 28px;
  box-shadow:0 -8px 28px rgba(0,0,0,.08);
}

.voice-player-bar div{
  min-width:280px;
}

.voice-player-bar strong{
  display:block;
  color:#111827;
  font-size:17px;
}

.voice-player-bar span{
  color:#6b7280;
  font-size:14px;
}

.voice-player-bar button{
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  background:#f3faf6;
  color:#0f6b3d;
  font-weight:800;
  cursor:pointer;
}

.voice-player-bar .main-play{
  width:54px;
  height:54px;
  background:#0f6b3d;
  color:#fff;
}

/* =========================
   Mobile
========================= */

@media(max-width:768px){

  .qsyj-voice-page{
    padding-bottom:150px;
  }

  .voice-hero{
    grid-template-columns:1fr;
    min-height:auto;
    margin:0 14px;
    border-radius:22px;
  }

  .voice-hero-copy{
    padding:34px 24px;
  }

  .voice-hero-copy h1{
    font-size:40px;
  }

  .voice-hero-copy p{
    font-size:19px;
  }

  .voice-hero-image img{
    height:240px;
  }

  .voice-category-bar{
    margin:18px 14px 24px;
    grid-template-columns:repeat(4,1fr);
    border-radius:18px;
  }

  .voice-category-bar a{
    min-height:76px;
    font-size:14px;
    padding:12px 6px;
  }

  .voice-section{
    margin:22px 14px;
    padding:20px;
    border-radius:20px;
  }

  .voice-section .section-head h2{
    font-size:24px;
  }

  .voice-featured-grid{
    grid-template-columns:1fr;
  }

  .voice-main-card,
  .voice-main-card img{
    height:320px;
    min-height:320px;
  }

  .voice-main-content{
    left:22px;
    right:22px;
    bottom:22px;
  }

  .voice-main-content h3{
    font-size:28px;
  }

  .voice-main-content p{
    font-size:16px;
  }

  .voice-side-list article{
    grid-template-columns:88px 1fr 38px;
  }

  .voice-card-grid{
    grid-template-columns:1fr;
  }

  .voice-category-grid{
    grid-template-columns:1fr;
  }

  .voice-topic-grid{
    grid-template-columns:1fr;
  }

  .voice-player-bar{
    bottom:64px;
    min-height:76px;
    justify-content:space-between;
    gap:10px;
    padding:10px 14px;
  }

  .voice-player-bar div{
    min-width:0;
    flex:1;
  }

  .voice-player-bar strong{
    font-size:14px;
  }

  .voice-player-bar span{
    font-size:12px;
  }

  .voice-player-bar button{
    width:36px;
    height:36px;
  }

  .voice-player-bar .main-play{
    width:44px;
    height:44px;
  }
}