/* =====================================================================
   category-videos 视频中心 页面样式
   基于 change/riebo_blog_1696_layout_optimized_v12_minimal_riebo.html 模板
   所有类名以 rv- 为前缀，作用域限定在 .rv-page 内，避免与主题全局样式冲突
   ===================================================================== */
.rv-page{
  --rv-blue:#00429a;
  --rv-blue-dark:#003a86;
  --rv-blue-soft:#eef5ff;
  --rv-ink:#162033;
  --rv-text:#4a5a71;
  --rv-muted:#7e8ba0;
  --rv-line:#e4e9f0;
  --rv-bg:#f5f7fa;
  --rv-white:#ffffff;
  --rv-radius-lg:18px;
  --rv-radius-md:14px;
  --rv-radius-sm:10px;
  --rv-shadow:0 18px 44px rgba(18,42,77,.08);
  --rv-layout:1280px;
  box-sizing:border-box;
  background:linear-gradient(180deg,#f7f9fc 0%,#f3f6fa 100%);
  color:var(--rv-ink);
  font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  padding:75px 0 76px;
}
.rv-page *{box-sizing:border-box}
.rv-page a{text-decoration:none;color:inherit}
.rv-page button{font:inherit;cursor:pointer}
.rv-wrap{
  width:min(var(--rv-layout),calc(100% - 56px));
  margin:0 auto;
}
.rv-article-panel{
  background:var(--rv-white);
  border:1px solid var(--rv-line);
  border-radius:0 0 24px 24px;
  box-shadow:var(--rv-shadow);
  overflow:hidden;
}
.rv-hero{
  position:relative;
  padding:48px 52px 40px;
  background:
    radial-gradient(circle at right top, rgba(0,66,154,.10), rgba(0,66,154,0) 42%),
    linear-gradient(135deg,#ffffff 0%,#f7faff 55%,#f2f7fe 100%);
}
.rv-hero__content{position:relative;z-index:1}
.rv-hero__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  color:var(--rv-blue);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
}
.rv-hero__eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background:var(--rv-blue);
}
.rv-hero h1{
  margin:0 0 16px;
  font-size:clamp(34px,4.3vw,54px);
  line-height:1.16;
  letter-spacing:-.035em;
  color:var(--rv-ink);
}
.rv-hero__lead{
  max-width:920px;
  margin:0 0 26px;
  color:#5a6b82;
  font-size:16px;
  line-height:1.95;
}
.rv-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
}
.rv-hero__meta span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 12px;
  border:1px solid rgba(0,66,154,.12);
  border-radius:999px;
  background:rgba(255,255,255,.75);
  color:#65758a;
  font-size:12px;
}
.rv-hero__meta b{
  color:#253953;
  margin-left:6px;
}
.rv-tutorial-module{
  padding:38px 52px 52px;
}
.rv-video-box{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:var(--rv-radius-lg);
  overflow:hidden;
  background:
    linear-gradient(135deg,#102338 0%,#24384f 56%,#31455d 100%);
  box-shadow:0 18px 42px rgba(18,42,77,.12);
}
/*.rv-video-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0)),
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.07), rgba(255,255,255,0) 24%);
}*/
.rv-video-box>iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}
.rv-video-box__inner{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  color:#fff;
  text-align:center;
}
.rv-video-box__play{
  width:78px;
  height:78px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
}
.rv-video-box__play::before{
  content:"";
  margin-left:4px;
  border-top:11px solid transparent;
  border-bottom:11px solid transparent;
  border-left:18px solid #fff;
}
.rv-video-box__label{
  color:rgba(255,255,255,.92);
  font-size:15px;
  font-weight:700;
  letter-spacing:.04em;
}
.rv-video-box__note{
  color:rgba(255,255,255,.62);
  font-size:12px;
}
.rv-text-summary{margin-top:26px}
.rv-text-block{
  padding:24px 24px 22px;
  border:1px solid var(--rv-line);
  border-radius:var(--rv-radius-md);
  background:#fbfcfe;
}
.rv-text-block__kicker{
  display:block;
  margin-bottom:10px;
  color:var(--rv-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
}
.rv-text-block h2{
  margin:0 0 12px;
  color:var(--rv-ink);
  font-size:22px;
  line-height:1.35;
}
.rv-text-block p{
  margin:0;
  color:var(--rv-text);
  font-size:14px;
  line-height:1.95;
}
.rv-text-block p + p{margin-top:10px}
.rv-related{
  padding:0 52px 52px;
}
.rv-related__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.rv-related__title span{
  display:block;
  margin-bottom:8px;
  color:var(--rv-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
}
.rv-related__title h2{
  margin:0;
  color:var(--rv-ink);
  font-size:30px;
}
.rv-related__nav{display:flex;gap:10px}
.rv-related__nav button{
  width:40px;
  height:40px;
  border:1px solid #d7e1ec;
  border-radius:50%;
  background:#fff;
  color:var(--rv-blue);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.22s ease;
}
.rv-related__nav button:hover{
  background:var(--rv-blue);
  border-color:var(--rv-blue);
  color:#fff;
}
.rv-related__viewport{overflow:hidden}
.rv-related__track{
  display:flex;
  gap:16px;
  transition:transform .35s ease;
  will-change:transform;
}
.rv-related__card{
  flex:0 0 calc((100% - 48px)/4);
  border:1px solid var(--rv-line);
  border-radius:var(--rv-radius-md);
  overflow:hidden;
  background:#fff;
  transition:.22s ease;
}
.rv-related__card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,66,154,.28);
  box-shadow:0 16px 36px rgba(18,42,77,.08);
}
.rv-related__thumb{
  height:120px;
  background:
    linear-gradient(135deg,#edf3fa 0%,#dce7f4 100%);
  position:relative;
  overflow:hidden;
}
.rv-related__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.rv-related__content{
  padding:18px 18px 20px;
}
.rv-related__content h3{
  margin:0 0 10px;
  color:var(--rv-ink);
  font-size:16px;
  line-height:1.55;
}
.rv-related__content p{
  margin:0;
  color:#7a879a;
  font-size:13px;
  line-height:1.75;
}
@media (max-width:1080px){
  .rv-related__card{flex-basis:calc((100% - 16px)/2)}
}
@media (max-width:760px){
  .rv-wrap{width:calc(100% - 28px)}
  .rv-page{padding:22px 0 44px}
  .rv-hero{padding:30px 24px 24px}
  .rv-hero h1{font-size:32px}
  .rv-hero__lead{font-size:15px}
  .rv-tutorial-module,
  .rv-related{padding:24px 24px 28px}
  .rv-video-box__play{width:62px;height:62px}
  .rv-video-box__label{font-size:14px}
  .rv-text-block{padding:18px 18px 16px}
  .rv-text-block h2{font-size:20px}
  .rv-related__header{align-items:flex-end}
  .rv-related__title h2{font-size:24px}
  .rv-related__card{flex-basis:100%}
}
