/* =========================================================
 *  v54 · 2026 首都科普好书 (Popular Science Book)
 *  公共样式表 —— 七级响应式断点
 *  lt400 · 400-767 · 768-1023 · 1024-1279 · 1280-1599 · 1600-1919 · 1920+
 * ========================================================= */

/* =========================================================
 *  0. CSS 变量 (默认：移动超小屏 < 400)
 * ========================================================= */
:root {
    /* ----- 字号 ----- */
    --fs-9xs: 10px;
    --fs-8xs: 11px;
    --fs-7xs: 12px;
    --fs-6xs: 13px;
    --fs-5xs: 14px;
    --fs-4xs: 15px;
    --fs-3xs: 16px;
    --fs-2xs: 17px;
    --fs-xs: 18px;
    --fs-sm: 20px;
    --fs-body: 15px;
    --fs-body-l: 17px;
    --fs-mark: 13px;
    --fs-s13: 12.22px;
    --fs-h2: 18px;
    --fs-h1: 24px;
    --fs-hero-mask: 5px;
    --fs-hero-btn: 6.25px;
    --fs-nav: 13px;
    --fs-btn: 13px;
    --fs-more: 12px;
    --fs-s2h2: 2.91vw;
    --fs-s21-t: 12px;
    --fs-s21-p: 10px;
    --fs-s22-t: 12px;
    --fs-s22-p: 9px;
    --fs-s31: 10px;
    --fs-s32: 13px;
    --fs-s33: 10px;
    --fs-s34: 10px;
    --fs-s35: 7px;
    --fs-s36: 11px;
    --fs-s37: 9px;
    --fs-l1: 8px;
    --fs-l2: 12px;
    --fs-l3: 9px;
    --fs-d1: 10px;
    --fs-d2: 16px;
    --fs-d3: 10px;
    --fs-d4: 12px;
    --fs-d5: 14px;
    --fs-d6: 14px;
    --fs-page-title: 26px;

    /* ----- 圆角 ----- */
    --r-xxs: 2px;
    --r-xs: 6px;
    --r-ss: 8px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-s1-bg: 8px;
    --r-s1-img: 4px;
    --r-s1-card: 4px;
    --r-s3-card: 8px;
    --r-s3-line: 4px;
    --r-lc: 6px;
    --r-dp: 8px;
    --r-pill: 999px;
    --r-hero-btn: 1.04vw;

    /* ----- 间距 ----- */
    --gap-text: 6px;
    --gap-card: 14px;
    --gap-s1: 4px;

    /* ----- 页面宽度 ----- */
    --page-pad: 14px;
    --container-w: 91.46%;

    /* ----- 颜色 (深空科技风) ----- */
    --c-bg-0: #03121e;
    /* 深空底色 */
    --c-bg-1: #021d2c;
    /* 背景上层 */
    --c-bg-2: #062135;
    /* 卡片底 */
    --c-bg-card: rgba(8, 38, 60, .55);
    --c-bg-bar: rgba(8, 38, 60, .85);
    --c-bg-btn: rgba(0, 92, 138, .55);
    --c-bg-text: rgba(8, 38, 60, .35);
    --c-bg-mark: rgba(8, 38, 60, .35);
    --c-surface: #0a2a3d;

    --c-text-light: #ffffff;
    --c-text: #cbe8ff;
    --c-text-sub: #9bb6c9;
    --c-text-mut: #6e89a0;
    --c-text-dark: #000000;

    --c-green: #4fffaa;
    /* 主品牌色 */
    --c-green-2: #00d68f;
    --c-green-3: #00ff9b;
    --c-blue: #2a64d8;
    --c-blue-2: #5080e8;
    --c-blue-3: #6c8bff;
    --c-blue-accent: #5080e8;
    --c-cyan: #4cd6e0;
    --c-violet: #6c8bff;
    --c-yellow: #ffdc6c;
    --c-orange: #ff9c4c;
    --c-red: #ff5a5a;
    --c-bg-tag: rgba(122, 255, 118, 0.1);
    --c-text-tag: rgba(82, 192, 175, 1);

    --c-bd: rgba(80, 128, 232, .22);
    --c-bd-light: rgba(255, 255, 255, .12);

    --c-glow: 0 0 20px rgba(79, 255, 170, .35);
    --c-glow-soft: 0 0 12px rgba(79, 255, 170, .12);
    --c-glow-blue: 0 0 20px rgba(80, 128, 232, .4);
    --shadow-card: 0 4px 20px rgba(0, 30, 60, .45), 0 0 1px rgba(80, 128, 232, .25);
    --shadow-card-l: 0 6px 30px rgba(0, 30, 60, .55), 0 0 0 1px rgba(80, 128, 232, .18);
    --shadow-deep: 0 16px 48px rgba(0, 30, 60, .6);

    /* ----- 杂项 ----- */
    --tr: all .3s ease;
    --tr-slow: all .6s ease;
    --tr-quik: all .15s ease;
    --w-bd: 1px;
    --w-bd-lg: 4px;
}

/* =========================================================
 *  0.1 七级响应变量 (按断点递增)
 * ========================================================= */
/* < 400 */
@media (min-width: 400px) {
    :root {
        --fs-body: 15.5px;
        --gap-card: 14px;
        --page-pad: 16px;
        --fs-hero-mask: 1.33vw;
        --fs-hero-btn: 1.66vw;
        --fs-nav: 3.73vw;
        --fs-more: 3.2vw;
        --fs-s13: 3.2vw;
        --fs-s2h2: 2.91vw;
        --fs-s21-t: 3.2vw;
        --fs-s21-p: 2.66vw;
        --fs-s22-t: 3.2vw;
        --fs-s22-p: 2.4vw;
        --fs-s31: 2.66vw;
        --fs-s32: 3.46vw;
        --fs-s33: 2.66vw;
        --fs-s34: 2.66vw;
        --fs-s35: 1.86vw;
        --fs-s36: 2.93vw;
        --fs-s37: 2.4vw;
        --fs-l1: 2.13vw;
        --fs-l2: 3.2vw;
        --fs-l3: 2.57vw;
        --fs-d1: 2.66vw;
        --fs-d2: 4.26vw;
        --fs-d3: 2.66vw;
        --fs-d4: 3.2vw;
        --fs-d5: 3.73vw;
        --fs-d6: 3.73vw;
        --container-w: 91.46%;
        --r-s1-bg: 8px;
        --r-s1-img: 1.06vw;
        --r-s1-card: 1.06vw;
        --r-s3-card: 2.13vw;
        --r-s3-line: 1.06vw;
        --r-lc: 1.6vw;
        --r-dp: 2.13vw;
        --gap-s1: 1.06vw;
    }
}

@media (min-width: 768px) {
    :root {
        --fs-9xs: 10px;
        --fs-8xs: 11px;
        --fs-7xs: 12px;
        --fs-6xs: 13px;
        --fs-5xs: 14px;
        --fs-4xs: 15px;
        --fs-3xs: 16px;
        --fs-2xs: 17px;
        --fs-xs: 18px;
        --fs-sm: 20px;
        --fs-body: 16px;
        --fs-body-l: 18px;
        --fs-mark: 14px;
        --fs-h2: 22px;
        --fs-h1: 28px;
        --fs-hero-mask: 16px;
        --fs-hero-btn: 19px;
        --fs-nav: 24px;
        --fs-btn: 14px;
        --fs-more: 14px;
        --fs-s2h2: 33px;
        --fs-s21-t: 13px;
        --fs-s21-p: 10px;
        --fs-s22-t: 14px;
        --fs-s22-p: 10px;
        --fs-s31: 13px;
        --fs-s32: 18px;
        --fs-s33: 12px;
        --fs-s34: 14px;
        --fs-s35: 8px;
        --fs-s36: 13px;
        --fs-s37: 11px;
        --fs-l1: 10px;
        --fs-l2: 14px;
        --fs-l3: 11px;
        --fs-d1: 14px;
        --fs-d2: 25px;
        --fs-d3: 14px;
        --fs-d4: 14px;
        --fs-d5: 14px;
        --fs-d6: 14px;
        --fs-page-title: 32px;
        --r-xxs: 5px;
        --r-xs: 7px;
        --r-ss: 10px;
        --r-sm: 12px;
        --r-md: 18px;
        --r-lg: 22px;
        --r-xl: 28px;
        --r-s1-bg: 8px;
        --r-s1-img: 10px;
        --r-s1-card: 5px;
        --r-s3-card: 10px;
        --r-s3-line: 5px;
        --r-lc: 7px;
        --r-dp: 19px;
        --gap-s1: 5px;
        --gap-text: 8px;
        --gap-card: 18px;
        --page-pad: 24px;
        --container-w: 720px;
    }
}

@media (min-width: 1024px) {

    /*0.8166*/
    :root {
        --fs-body: 16px;
        --fs-body-l: 18px;
        --fs-mark: 14px;
        --fs-h2: 24px;
        --fs-h1: 30px;
        --fs-hero-btn: 26px;
        --fs-hero-mask: 21px;
        --fs-nav: 32px;
        --fs-btn: 15px;
        --fs-more: 20px;
        --fs-s2h2: 46px;
        --fs-s21-t: 18px;
        --fs-s21-p: 13px;
        --fs-s22-t: 19px;
        --fs-s22-p: 13px;
        --fs-s31: 18px;
        --fs-s32: 24px;
        --fs-s33: 16px;
        --fs-s34: 20px;
        --fs-s35: 11px;
        --fs-s36: 18px;
        --fs-s37: 15px;
        --fs-l1: 13px;
        --fs-l2: 19px;
        --fs-l3: 15px;
        --fs-d1: 19px;
        --fs-d2: 34px;
        --fs-d3: 19px;
        --fs-d4: 19px;
        --fs-d5: 19px;
        --fs-d6: 19px;
        --fs-page-title: 36px;
        --r-md: 18px;
        --r-lg: 22px;
        --r-xl: 30px;
        --r-s1-bg: 8px;
        --r-s1-img: 13px;
        --r-s1-card: 6px;
        --r-s3-card: 13px;
        --r-s3-line: 6px;
        --r-lc: 10px;
        --r-dp: 26px;
        --gap-card: 20px;
        --gap-s1: 6px;
        --page-pad: 32px;
        --container-w: 980px;
    }
}

@media (min-width: 1280px) {
    :root {
        --fs-body: 16px;
        --fs-h1: 32px;
        --fs-hero-btn: 32px;
        --fs-hero-mask: 26px;
        --fs-nav: 40px;
        --fs-more: 24px;
        --fs-s2h2: 56px;
        --fs-s21-t: 22px;
        --fs-s21-p: 16px;
        --fs-s22-t: 24px;
        --fs-s22-p: 16px;
        --fs-s31: 22px;
        --fs-s32: 30px;
        --fs-s33: 20px;
        --fs-s34: 24px;
        --fs-s35: 14px;
        --fs-s36: 22px;
        --fs-s37: 18px;
        --fs-l1: 16px;
        --fs-l2: 24px;
        --fs-l3: 18px;
        --fs-d1: 24px;
        --fs-d2: 42px;
        --fs-d3: 24px;
        --fs-d4: 24px;
        --fs-d5: 24px;
        --fs-d6: 24px;
        --fs-page-title: 38px;
        --gap-card: 22px;
        --gap-s1: 8px;
        --page-pad: 36px;
        --r-s1-bg: 8px;
        --r-s1-img: 16px;
        --r-s1-card: 8px;
        --r-s3-card: 16px;
        --r-s3-line: 8px;
        --r-lc: 10px;
        --r-dp: 32px;
        --container-w: 1200px;
    }
}

@media (min-width: 1600px) {
    :root {
        --fs-body: 17px;
        --fs-body-l: 19px;
        --fs-mark: 15px;
        --fs-h2: 26px;
        --fs-h1: 34px;
        --fs-hero-btn: 32px;
        --fs-hero-mask: 26px;
        --fs-nav: 40px;
        --fs-more: 24px;
        --fs-s2h2: 56px;
        --fs-s21-t: 22px;
        --fs-s21-p: 16px;
        --fs-s22-t: 24px;
        --fs-s22-p: 16px;
        --fs-s31: 22px;
        --fs-s32: 30px;
        --fs-s33: 20px;
        --fs-s34: 24px;
        --fs-s35: 14px;
        --fs-s36: 22px;
        --fs-s37: 18px;
        --fs-l1: 16px;
        --fs-l2: 24px;
        --fs-l3: 18px;
        --fs-d1: 24px;
        --fs-d2: 42px;
        --fs-d3: 24px;
        --fs-d4: 24px;
        --fs-d5: 24px;
        --fs-d6: 24px;
        --fs-page-title: 42px;
        --r-md: 20px;
        --r-lg: 24px;
        --r-xl: 32px;
        --r-s1-bg: 8px;
        --r-s1-img: 16px;
        --r-s1-card: 8px;
        --r-s3-card: 16px;
        --r-s3-line: 8px;
        --r-lc: 10px;
        --r-dp: 32px;
        --gap-card: 24px;
        --gap-s1: 8px;
        --page-pad: 48px;
        --container-w: 1200px;
    }
}

@media (min-width: 1920px) {
    :root {
        --fs-body: 18px;
        --fs-body-l: 20px;
        --fs-mark: 16px;
        --fs-h2: 28px;
        --fs-h1: 38px;
        --fs-hero-btn: 32px;
        --fs-hero-mask: 26px;
        --fs-nav: 40px;
        --fs-btn: 16px;
        --fs-more: 24px;
        --fs-s2h2: 56px;
        --fs-s21-t: 22px;
        --fs-s21-p: 16px;
        --fs-s22-t: 24px;
        --fs-s22-p: 16px;
        --fs-s31: 22px;
        --fs-s32: 30px;
        --fs-s33: 20px;
        --fs-s34: 24px;
        --fs-s35: 14px;
        --fs-s36: 22px;
        --fs-s37: 18px;
        --fs-l1: 16px;
        --fs-l2: 24px;
        --fs-l3: 18px;
        --fs-d1: 24px;
        --fs-d2: 42px;
        --fs-d3: 24px;
        --fs-d4: 24px;
        --fs-d5: 24px;
        --fs-d6: 24px;
        --fs-page-title: 48px;
        --r-md: 22px;
        --r-lg: 26px;
        --r-xl: 36px;
        --r-s1-bg: 8px;
        --r-s1-img: 16px;
        --r-s1-card: 8px;
        --r-s3-card: 16px;
        --r-s3-line: 8px;
        --r-dp: 32px;
        --gap-card: 28px;
        --gap-s1: 8px;
        --page-pad: 64px;
        --container-w: 1200px;
    }
}

/* =========================================================
 *  1. Reset & 基础排版
 * ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
    font-size: var(--fs-body);
    color: var(--c-text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--c-bg-0);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 255, 170, .12), transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(80, 128, 232, .12), transparent 70%),
        linear-gradient(180deg, #021d2c 0%, #031e2e 30%, #021826 70%, #03121e 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    /* 星辰 */
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, .8), transparent 60%),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, .55), transparent 60%),
        radial-gradient(1px 1px at 80% 20%, rgba(120, 220, 200, .55), transparent 60%),
        radial-gradient(1.5px 1.5px at 35% 80%, rgba(255, 255, 255, .7), transparent 60%),
        radial-gradient(1px 1px at 90% 90%, rgba(180, 200, 255, .5), transparent 60%),
        radial-gradient(1.5px 1.5px at 10% 60%, rgba(255, 255, 255, .6), transparent 60%),
        radial-gradient(1px 1px at 50% 40%, rgba(150, 230, 200, .45), transparent 60%),
        radial-gradient(1.5px 1.5px at 75% 55%, rgba(255, 255, 255, .7), transparent 60%);
    background-size: 800px 600px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
    opacity: .6;
    animation: starTwinkle 6s ease-in-out infinite;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: .8;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--tr-quik);
}

a:hover {
    /*color: var(--c-green);*/
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}

::selection {
    background: rgba(79, 255, 170, .35);
    color: #fff;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(80, 128, 232, .25);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(80, 128, 232, .45);
}

/* =========================================================
 *  2. 工具类
 * ========================================================= */
.container {
    width: var(--container-w);
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
}

.center-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
 *  3. 公共头部 (Hero)
 * ========================================================= */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 1080;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url(../images/topic-capital-science-books-v11-hero-full.png);
    background-size: 100% 100%;
}

.hero__logo {
    position: absolute;
    top: 2.08vw;
    left: 4.16vw;
    z-index: 6;
    display: flex;
    align-items: center;
}

.hero__logo img {
    width: 16.82vw;
    aspect-ratio: 323 / 68;
}

.hero__logo-text {
    font-size: var(--fs-mark);
    color: var(--c-text-sub);
    letter-spacing: .1em;
}

.hero__cta-bottom {
    position: absolute;
    left: 8.33vw;
    top: 26.30vw;
    width: 15.41%;
    aspect-ratio: 296 / 360;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2.39vw, 12px);
    align-items: flex-start;
    justify-content: space-between;
}

.hero__org-bottom {
    position: absolute;
    left: 8.33vw;
    bottom: 2.91vw;
    z-index: 6;
    font-size: var(--fs-hero-mask);
    color: var(--c-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 24px);
    line-height: 1.4;
    max-width: 60%;
}

.hero__org-bottom b {
    color: var(--c-text-light);
    font-weight: 500;
    margin-right: 6px;
}


.hero__cta {
    display: none;
}

.hero__org {
    display: none;
}

.hero__btn {
    width: 100%;
    aspect-ratio: 296 / 88;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10%;
    font-size: var(--fs-hero-btn);
    color: #D7F1D3;
    border: 1px solid #36A089;
    border-radius: var(--r-hero-btn);
    backdrop-filter: blur(6px);
    transition: var(--tr);
    letter-spacing: .1em;
    position: relative;
    overflow: hidden;
}

.hero__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 255, 170, .2), transparent);
    opacity: 0;
    transition: var(--tr);
}

/*
.hero__btn:hover {
    transform: translateY(-2px);
    color: var(--c-green);
    border-color: var(--c-green);
    box-shadow: var(--c-glow);
}

.hero__btn:hover::before {
    opacity: 1;
}
*/
.hero__btn img {
    height: 54.54%;
    aspect-ratio: 1 / 1;
}

/* 紧凑型 hero (列表页 / 详情页) */
.hero--mini {
    min-height: auto;
}

.hero--mini .hero__title-wrap {
    min-height: 200px;
    padding: clamp(30px, 7vw, 70px) clamp(16px, 5vw, 56px);
}

.hero--mini .hero__year {
    font-size: clamp(28px, 6vw, 56px);
    margin-bottom: 6px;
}

.hero--mini .hero__title-cn {
    font-size: clamp(22px, 4vw, 40px);
}

/* =========================================================
 *  4. 主导航 Tab (首页不显示)
 * ========================================================= */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #1c5b4a 0%, #2d8167 50%, #1c5b4a 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    border-top: 1px solid rgba(76, 217, 100, .25);
    border-bottom: 1px solid rgba(76, 217, 100, .25);
}

.index-body .nav-wrap {
    display: none;
}

.nav {
    width: var(--container-w);
    max-width: 100%;
    margin: 0 auto;
}

.nav__inner {
    aspect-ratio: 1200 / 116;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2vw, 18px) 0;
    position: relative;
    color: var(--c-text-light);
    font-size: var(--fs-nav);
    /*letter-spacing: .25em;*/
    font-weight: 500;
    transition: var(--tr);
}

.nav__item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c-green), var(--c-blue-2));
    transition: var(--tr);
    transform: translateX(-50%);
}

.nav__item:hover {
    color: var(--c-text-light);
}

.nav__item.active {
    color: var(--c-text-light);
}

.nav__item.active::after {
    width: 100%;
}

.nav__sub {
    font-size: var(--fs-7xs);
    font-weight: 400;
    color: var(--c-text-mut);
    letter-spacing: .15em;
    margin-top: 4px;
}

.nav__item.active .nav__sub,
.nav__item:hover .nav__sub {
    color: var(--c-green);
}

/* =========================================================
 *  5. 章节通用 (section)
 * ========================================================= */
.section {
    position: relative;
    z-index: 1;
}


.section__inner {
    width: var(--container-w);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.section__inner__s1 {
    aspect-ratio: 1200 / 760;
    /*margin-bottom: 6.16%;
    margin-top: 8.33%;*/
}

.sec-title {
    position: relative;
    width: 35.5%;
    aspect-ratio: 426 / 144;
    margin: 0 auto;
    margin-bottom: 4.66%;
}

.sec-title__inner {
    width: 100%;
    height: 100%;
}

.sec-title__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 255, 170, .5), transparent);
    max-width: 120px;
}

.sec-title::before,
.sec-title::after {
    display: none;
}

/* 章节之间的细线分隔 */
.section--bordered {
    border-top: 1px solid rgba(80, 128, 232, .12);
}

/* =========================================================
 *  6. 首页 S1 - 好书动态 (左信息列表 + 右大图)
 * ========================================================= */
.dynamics__wrap {
    width: 100%;
    aspect-ratio: 1200 / 560;
    display: flex;
    flex-direction: column;
}

.dynamics {
    width: 100%;
    aspect-ratio: 1200 / 452;
    /*overflow: hidden;*/
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2vw, 24px);
    align-items: stretch;
}
.dynamics__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    position: relative;
    padding-left: 2.66%;
    padding-right: 2.66%;
    padding-bottom: 4.66%;
}

.dynamics__inner::before {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 86.50%;
    bottom: 0;
    left: 0;
    border-radius: var(--r-s1-bg);
    border: 1px solid #36A089;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), transparent 60%);
}

.dynamics__list {
    width: 35.21%;;
    aspect-ratio: 400 / 303;
    position: relative;
    backdrop-filter: blur(8px);
    overflow: visible;
}


.dynamics__list ul {
    position: relative;
    display: flex;
    flex-direction: column;
}

.dynamics__list li {
    width: 100%;
    aspect-ratio: 400 / 100;
    position: relative;
    padding: 0 4%;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--tr);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--gap-s1);
    overflow: visible;
    color: var(--c-text-light);
}

.dynamics__list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 0.9375vw;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #9feb62, #84e162);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    opacity: 0;
    /*transition: var(--tr);*/
    transform: translateX(99%) translateY(-50%);
}

.dynamics__list li:hover {
    background: rgba(79, 255, 170, .08);
    transform: translateX(4px);
    color: var(--c-text-dark);
}

.dynamics__list li:hover::before {
    opacity: 1;
}

.dynamics__list li.is-active {
    background: linear-gradient(to bottom,  rgba(218, 255, 96, 1),rgba(74, 206, 100, 1));
    box-shadow: 0 0 12px rgba(76, 217, 100, .15);
    color: var(--c-text-dark);
}

.dynamics__list li.is-active::before {
    opacity: 1;
}

.dynamics__list .item__title {
    font-size: var(--fs-body);

    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dynamics__list .item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-mark);
}

.dynamics__list .item__meta img,
.dynamics__list .item__meta svg,
.dynamics__list .item__meta .item__dot {
    width: 10px;
    height: 10px;
    opacity: .8;
    display: none;
}

.dynamics__list .item__meta .item__dot {
    border-radius: 50%;
    background: #4cd964;
    box-shadow: 0 0 6px rgba(76, 217, 100, .6);
}

/* 右大图卡 */
.dynamics__main {
    width: 61.97%;
    aspect-ratio: 704 / 396;
    position: relative;
    background: linear-gradient(160deg, rgba(8, 60, 96, .5), rgba(8, 38, 60, .35));
    border: 2px solid var(--c-bd);
    border-radius: var(--r-s1-img);
    overflow: hidden;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

.dynamics__main-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.dynamics__main-media img,
.dynamics__main-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dynamics__main-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(3, 24, 38, .9) 100%);
}

.dynamics__main-tag {
    position: absolute;
    top: clamp(10px, 1.4vw, 16px);
    left: clamp(10px, 1.4vw, 16px);
    z-index: 2;
    padding: 4px 12px;
    font-size: var(--fs-mark);
    font-weight: 600;
    color: var(--c-text-light);
    background: rgba(255, 156, 76, .85);
    border-radius: var(--r-xs);
    letter-spacing: .04em;
}

.dynamics__main-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(48px, 6vw, 72px);
    height: clamp(48px, 6vw, 72px);
    transform: translate(-50%, -50%);
    background: rgba(8, 38, 60, .55);
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: var(--tr);
    backdrop-filter: blur(4px);
}

.dynamics__main-play::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.dynamics__main-play:hover {
    background: rgba(79, 255, 170, .5);
    transform: translate(-50%, -50%) scale(1.08);
}

.dynamics__main-body {
    display: none;
    flex-direction: column;
    gap: clamp(10px, 1.4vw, 14px);
    flex: 1;
}

.dynamics__main-title {
    font-size: var(--fs-s13);
    font-weight: bold;
    color: var(--c-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dynamics__main-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1vw, 14px);
    font-size: var(--fs-mark);
    color: var(--c-text-sub);
}

.dynamics__main-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dynamics__main-desc {
    font-size: var(--fs-body);
    color: var(--c-text-sub);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dynamics__main-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: clamp(8px, 1vw, 12px);
    border-top: 1px dashed var(--c-bd-light);
}

.dynamics__main-tip {
    font-size: var(--fs-mark);
    color: var(--c-green);
    font-weight: 500;
}

.dynamics__main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    font-size: var(--fs-mark);
    color: var(--c-text-light);
    background: linear-gradient(135deg, var(--c-blue), var(--c-blue-3));
    border-radius: var(--r-sm);
    font-weight: 500;
    letter-spacing: .1em;
    transition: var(--tr);
}

.dynamics__main-btn:hover {
    transform: translateX(2px);
    box-shadow: var(--c-glow-blue);
}

/* =========================================================
 *  7. 首页 S2 - 作品展映 (两个轮播组)
 * ========================================================= */
.showcase {
    display: flex;
    flex-direction: column;
}
.section__inner__s2 {
    /*margin-top: 6.16%;
    margin-bottom: 6.16%;*/
    aspect-ratio: 1200 / 1366;
    
}
.showcase-1 {
    width: 100%;
    aspect-ratio: 1200 / 542;
    margin-bottom: 4.66%;
}

.showcase-2 {
    width: 100%;
    aspect-ratio: 1200 / 568;
    /*margin-top: 4.66%;*/
}

.showcase__group {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.showcase__group-title {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 76;
    overflow: hidden;
    font-size: var(--fs-s2h2);
    font-weight: 700;
    color: var(--c-text-light);
    margin-bottom: 3.33%;
}
.showcase__title_inner{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.showcase__title_inner h3{
    flex: 1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-left: 2%;
    font-size: var(--fs-s2h2);
    line-height: 1;
    transform: skewX(-10deg);
    background: linear-gradient(180deg, rgba(199, 255, 115, 1) 0%, rgba(14, 155, 210, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.04em;
    color: transparent;
}
.showcase__title_inner::after {
    content: '';
    position: absolute;
    display: block;
    width: 96.83%;
    height: 2px;
    bottom: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(1, 211, 255, 1) 0%, rgba(32, 166, 198, 1) 100%);
}
.showcase__title_inner img {
    height: 100%;
}
.showcase__title_inner img:nth-child(2) {
    height: 85.52%;
}
.showcase__group-title::before {
    content: "";
    width: 4px;
    height: clamp(18px, 2vw, 24px);
    background: linear-gradient(180deg, var(--c-green), var(--c-blue-2));
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(79, 255, 170, .55);
}

.carousel {
    position: relative;
    width: 100%;
}

.showcase-1 .carousel {
    width: 100%;
    aspect-ratio: 1200 / 426;
    display: flex;
    flex-direction: column;
}

.carousel__viewport {
    position: relative;
    width: 100%;
    overflow: visible;
}
.showcase-1 .carousel__viewport{
    aspect-ratio: 1200 / 318;
}
.showcase-2 .carousel__viewport{
    aspect-ratio: 1200 / 344;
}
/* 轨道：相对定位容器，卡片由 JS 绝对定位（参照 v41 createDualCarousel） */
.carousel__track {
    position: relative;
    width: calc(100% + 1.25vw);
    transform: translateX(-0.625vw);
    height: 100%;
    margin: 0;
    /*overflow: hidden;*/
}

/* 幻灯片：绝对定位由 JS 控制；宽度 = 100/visible%（4 卡平分容器）
   卡片间隔通过 padding 实现：相邻 slide 各 0.625vw，合计 1.25vw */
.carousel__slide {
    display: block;
    box-sizing: border-box;
    padding: 0 0.625vw;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    width: clamp(16px, 2.66%, 32px);
    aspect-ratio: 32 / 50;
    transform: translateY(-50%) translateX(-120%);
    background-image: url(../images/topic-capital-science-books-v11-icon-arrow-l.png);
    background-size: 100% 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    color: var(--c-text-light);
}
.carousel__btn img {
    width: 100%;
    height: 100%;
    transition: var(--tr);
}

.carousel__btn--prev {
    left: 0;
}

.carousel__btn--next {
    right: 0;
    transform: translateY(-50%) translateX(120%) rotateY(180deg);
}

.carousel__btn--next img{
    /*transform: rotateY(180deg);*/
}


.carousel__btn:hover {
    /*background: rgba(79, 255, 170, .25);*/
    border-color: var(--c-green);
    /*box-shadow: var(--c-glow);*/
    /* 彩色箭头 PNG 过滤为白色高亮：brightness(0) 先变黑，invert(1) 再反相为纯白 */
    /*filter: brightness(0) invert(1);*/
}
.carousel__btn:hover img{
    filter: brightness(0) invert(1);
    transform: scale(1.12);
}

.carousel__btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.carousel__btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.carousel__more {
    width: 100%;
    aspect-ratio: 1200 / 84;
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

/* 卡片：作品展映 */
.book-card {
    position: relative;
    width: 100%;
    /*background: linear-gradient(160deg, rgba(8, 60, 96, .45), rgba(8, 38, 60, .4));*/
    border-radius: var(--r-s1-card);
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: var(--tr);
    cursor: pointer;
    /*box-shadow: 0 0 12px rgba(79, 255, 170, .12);*/
}
.showcase-1 .book-card {
    aspect-ratio: 282 / 318;
    justify-content: space-between;
    background: rgba(8, 38, 60, .35);
}
.showcase-2 .book-card {
    aspect-ratio: 282 / 344;
    position: relative;
    padding-left: 5.67%;
    padding-top: 30.82%;
}
.showcase-2 .book-card__title {
    font-size: var(--fs-s22-t);
    display: flex;
    align-items: center;
    width: 100%;
    aspect-ratio: 266 / 60;
    position: absolute;
    top: 0;
    right: 0;
    padding-left: 12.1%;
    border-radius: var(--r-s1-card);
    background-image: url(../images/topic-capital-science-books-v11-bg-s2-c1.png);
    background-size: 100% 100%;
    transform: translateX(-1%) translateY(33.33%);
}
.showcase-2 .book-card__desc {
    font-size: var(--fs-s22-p);
}
.showcase-2 .book-card__title span {
    transform: translateY(-15%);
}
.showcase-2 .book-card::before {
    content: '';
    display: block;
    width: 94.32%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: var(--r-s1-card);
    background-color: rgba(8, 38, 60, .35);
    border: 1px solid rgba(171, 207, 137, 1);
    z-index: -1;
    pointer-events: none;
}
.showcase-2 .book-card_::after{
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 266 / 60;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: var(--r-s1-card);
    background-image: url(../images/topic-capital-science-books-v11-bg-s2-c1.png);
    background-size: 100% 100%;
    transform: translateX(-1%);
}
.book-card:hover {
    transform: translateY(-4px);
    border-color: var(--c-green-3);
    box-shadow: 0 12px 30px rgba(0, 30, 60, .55), 0 0 22px rgba(79, 255, 170, .55);
}


.book-card__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #1e3a5f, #0f2236);
    overflow: hidden;
}
.showcase-1 .book-card__cover {
    aspect-ratio: 282 / 160;
}
.showcase-2 .book-card__cover {
    width: 87.96%;
    aspect-ratio: 234 / 131;
}

.book-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(3, 24, 38, .75) 100%);
}

.book-card__title-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    font-size: var(--fs-body);
    font-weight: 700;
    color: #fff;
    letter-spacing: .12em;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .65);
    text-align: center;
}

.book-card__body {
    padding: clamp(8px, 1.2vw, 12px);
    display: flex;
    flex-direction: column;
    gap: 2px;
    /*background: rgba(8, 38, 60, .35);*/
}

.showcase-1 .book-card__body {
    /*aspect-ratio: 282 / 126;*/
    width: 100%;
    flex: 1;
    margin-top: 5.67%;
    padding: 0 5.67% 5.67% 5.67%;
    overflow: hidden;
}
.showcase-1 .card-title {
    position: relative;
    width: 100%;
    aspect-ratio: 250 / 46;
    color: #ECFCA7;
    font-size: var(--fs-s21-t);
    padding-left: 5.6%;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap; 
    text-overflow: ellipsis;
    background-image: linear-gradient(to right, rgba(1, 8, 20, 1), rgba(1, 8, 20, 0));
}
.showcase-1 .card-title::before {
    content: "";
    position: absolute;
    left: 0.4em;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1.2em;
    background-color: #33D0AB;
}
.showcase-1 .book-card__desc {
    color: var(--c-text-light);
    font-size: var(--fs-s21-p);
    opacity: 0.8;
}
.showcase-2 .book-card__body {
    margin-top: 9.2%;
    width: 87.96%;
    /*aspect-ratio: 234 / 72;*/
    flex: 1;
    overflow: hidden;
}
.book-card__title {
    font-size: var(--fs-body);
    color: var(--c-text-light);
    font-weight: 600;
    display: none;
}

.book-card__desc {
    font-size: var(--fs-7xs);
    color: var(--c-text-sub);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
 *  8. 首页 S3 - 新媒体联动 (视频 + 右侧文章列表)
 * ========================================================= */
.media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 504;
    padding: 3.33% 3.33%;;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*
    border-radius: var(--r-s3-card);
    border: 2px solid #36A089;
    box-sizing: border-box;
    background-image: linear-gradient(to right, rgba(7, 35, 74, 1), rgba(2, 10, 24, 0.4));
    */
}
.media-wrap::before {
    content: '';
    position: absolute;
    display: block;
    inset: 0;
    border-radius: var(--r-s3-card);
    border: 2px solid #36A089;
    background-image: linear-gradient(to right, rgba(7, 35, 74, 1), rgba(2, 10, 24, 0.4));
    z-index: -1;
    pointer-events: none;
}
.section__inner__s3{
    width: 100%;
    aspect-ratio: 1200 / 812;
}
.sec-wrap-s3{
    width: 100%;
    aspect-ratio: 1200 / 612;
    display: flex;
    flex-direction: column;
}

.media-wrap__video {
    position: relative;
    width: 62.14%;
    aspect-ratio: 696 / 416;
    border-radius: var(--r-s3-card);
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f, #0f2236);
    /*border: 1px solid var(--c-bd);*/
}
.media-wrap__cover {
    position: absolute;
    width: 65.22%;
    /*aspect-ratio: 454 / 416;*/
    left: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
    background-image: linear-gradient(to right, rgba(0, 16, 38, 1), rgba(0, 16, 38, 0));
    display: flex;
    align-items: center;
    padding-left: 5.74%;
}
.media__cover__inner {
    width: 67.1%;
    aspect-ratio: 264 / 334;
    display: flex;
    flex-direction: column;
    position: relative;
}
.media-wrap__video iframe,
.media-wrap__video video,
.media-wrap__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-wrap__video-tag {
    position: relative;
    width: 45.45%;
    aspect-ratio: 120 / 48;
    font-size: var(--fs-s31);
    font-weight: bold;
    color: #52C0AF;
    background: rgba(122, 255, 118, 0.1);
    border-radius: var(--r-xxs);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-wrap__video-mask{
    margin-top: 13.6%;
    font-size: var(--fs-s33);
}
.media-wrap__video-btn{
    width: 76.89%;
    aspect-ratio: 203 / 58;
    font-size: var(--fs-s34);
    font-weight: 500;
    border-radius: 100px;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-text-light);
    color: #0E2C7C;
}
.media-wrap__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11.66%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    /*background: rgba(0, 0, 0, .35);*/
    /*border: 2px solid #fff;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr);
    z-index: 3;
}

.media-wrap__video-play::before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/topic-capital-science-books-v11-d1-play-140.png);
    background-size: 100% 100%;
}

.media-wrap__video-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(79, 255, 170, .35);
}

.media-wrap__video-title {
    position: relative;
    width:100%;
    aspect-ratio: 264 / 90;
    font-size: var(--fs-s32);
    font-weight: bold;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
    margin-top: 13.6%;
}

.media-wrap__list {
    width: 36.42%;
    aspect-ratio: 408 / 424;
    /*background: linear-gradient(160deg, rgba(8, 60, 96, .4), rgba(8, 38, 60, .35));*/
    /*border: 1px solid var(--c-bd);*/
    overflow: hidden;
}


.media-wrap__list-head::before {
    content: "";
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--c-green), var(--c-blue-2));
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(79, 255, 170, .55);
}

.media-wrap__list ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.media-wrap__list li {
    width: 100%;
    aspect-ratio: 408 / 100;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 0 5.88%;
    border-bottom: 1px solid rgba(80, 128, 232, .08);
    transition: var(--tr);
    cursor: pointer;
    gap: 0.2em;
    border: 1px solid rgba(22, 77, 101, 0.7);
    border-radius: var(--r-s3-line);
    
    overflow: hidden;
}


.media-wrap__list li:hover {
    background: rgba(163, 255, 96, 0.2);
}

/* 激活项（当前选中 / 默认最后一项），与 hover 视觉保持一致 */
.media-wrap__list li.is-active {
    background: rgba(163, 255, 96, 0.2);
}

.media-wrap__list li .badge {
    width: 20%;
    aspect-ratio: 72 / 30;
    font-size: var(--fs-s35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--c-blue), var(--c-blue-3));
    border-radius: var(--r-xxs);
    letter-spacing: .02em;
    margin-right: 1em;
}

.media-wrap__list li .badge--red {
    background: linear-gradient(135deg, #F85914, #F85914);
}

.media-wrap__list li .badge--orange {
    background: linear-gradient(135deg, #ff8b3a, #ffac5f);
}

.media-wrap__list li .badge--green {
    background: rgba(82, 192, 175, 0.1);
    color: #52C0AF;
}

.media-wrap__list li .badge--blue {
    background: linear-gradient(135deg, #5080e8, #6c8bff);
}

.media-wrap__list li .body {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.media-wrap__list li .title {
    font-size: var(--fs-s36);
    color: var(--c-text-light);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.media-wrap__list .title .title-s3 {
    flex: 1;
    overflow: hidden;
    line-height: 1;
}
.title-s3 span {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.media-wrap__list li .meta {
    font-size: var(--fs-s37);
    color: var(--c-text-mut);
}

/* =========================================================
 *  9. 列表页 (3列视频卡片网格)
 * ========================================================= */
.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(4px, 2%, 24px);
    row-gap: clamp(6px, 2.0vw, 40px);
}


.list-card {
    position: relative;
    aspect-ratio: 384 / 437;
    border-radius: var(--r-lc);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--tr);
}
.list-card::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(21, 33, 48, 0.8);
    border: 1px solid rgba(171, 207, 137, 1);
    border-radius: var(--r-lc);
}

.list-card:hover {
    transform: translateY(-4px);
    border-color: var(--c-green);
    box-shadow: 0 10px 26px rgba(0, 30, 60, .55), 0 0 16px rgba(79, 255, 170, .35);
}

.list-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 384 / 218;
    background: linear-gradient(135deg, #1e3a5f, #0f2236);
    overflow: hidden;
}

.list-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(3, 24, 38, .7) 100%);
}

.list-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background: rgba(8, 38, 60, .5);
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr);
    z-index: 3;
    backdrop-filter: blur(4px);
}

.list-card__play::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.list-card:hover .list-card__play {
    background: rgba(79, 255, 170, .55);
    transform: translate(-50%, -50%) scale(1.05);
}

.list-card__tag {
    width: 26.19%;
    aspect-ratio: 88 / 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0;
    font-size: var(--fs-l1);
    font-weight: 400;
    color: var(--c-text-tag);
    background: var(--c-bg-tag);
    border-radius: var(--r-xxs);
    /*letter-spacing: .04em;*/
    /*box-shadow: 0 0 10px rgba(76, 217, 100, .4);*/
}

.list-card__body {
    position: relative;
    width: 100%;
    aspect-ratio: 384 / 171;
    padding: 6.25% 6.25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    flex: 1;
}

.list-card__title {
    font-size: var(--fs-l2);
    color: var(--c-text-light);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fs-l3);
    color: #999999;
    font-weight: 500;
}

.list-card__meta img,
.list-card__meta svg {
    width: 1em;
    height: 1em;
    opacity: .9;
}

/* =========================================================
 *  10. 详情页
 * ========================================================= */
.breadcrumb {
    width: 100%;
    aspect-ratio: 1200 / 60;
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    gap: 6px;
    font-size: var(--fs-d1);
    color: var(--c-text-light);
    opacity: .8;
}

.breadcrumb a {
    transition: var(--tr);
}

.breadcrumb a:hover {
    color: var(--c-green);
}

.breadcrumb .sep {
    margin: 0 2px;
}

.breadcrumb .cur {
}

.detail {
    position: relative;
    background: linear-gradient(160deg, rgba(8, 60, 96, .35), rgba(8, 38, 60, .35));
    border: 1px solid var(--c-bd);
    border-radius: var(--r-dp);
    padding: 8.3% 8.3%;
    backdrop-filter: blur(8px);
    margin-bottom: clamp(40px, 5vw, 60px);
   /* max-width: 980px;*/
    margin-left: auto;
    margin-right: auto;
}

.detail::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 255, 170, .35), transparent 40%, rgba(80, 128, 232, .35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.detail__title {
    text-align: center;
    font-size: var(--fs-d2);
    font-weight: 700;
    color: var(--c-text-light);
    line-height: 1.4;
    margin-bottom: clamp(16px, 2vw, 24px);
    letter-spacing: .02em;
}

.detail__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(12px, 4%, 48px);
    font-size: var(--fs-d3);
    color: var(--c-text-light);
    opacity: 0.6;
    padding-bottom: clamp(16px, 2vw, 24px);
    border-bottom: 1px solid rgba(184, 201, 233, 0.3);
    margin-bottom: clamp(20px, 2.4vw, 32px);
}

.detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail__meta img,
.detail__meta svg {
    width: 14px;
    height: 14px;
    opacity: .85;
}

.detail__video {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f, #0f2236);
    margin-bottom: 10px;
}

.detail__video video,
.detail__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail__caption {
    text-align: center;
    color: var(--c-text-light);
    font-size: var(--fs-d4);
    padding: 3.33% 0;
    opacity: 0.4;
}

.detail__body h2 {
    text-align: center;
    font-size: var(--fs-d5);
    font-weight: bold;
    color: var(--c-text-light);
    margin: clamp(24px, 3vw, 36px) 0 clamp(14px, 1.6vw, 20px);
    letter-spacing: .1em;
    opacity: 0.8;
}

.detail__body p {
    font-size: var(--fs-d6);
    color: var(--c-text-light);
    line-height: 1.9;
    margin-bottom: clamp(14px, 1.6vw, 20px);
    text-indent: 2em;
    opacity: 0.8;
}

.detail__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(30px, 4vw, 48px);
    padding-top: clamp(20px, 2vw, 32px);
    border-top: 1px solid var(--c-bd-light);
}

.detail__nav .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: var(--fs-body);
    color: var(--c-text-light);
    background: rgba(80, 128, 232, .15);
    border: 1px solid var(--c-bd);
    border-radius: var(--r-sm);
    transition: var(--tr);
}

.detail__nav .btn:hover {
    background: rgba(79, 255, 170, .2);
    border-color: var(--c-green);
    color: var(--c-green);
}

.topic-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 20px;
    border: 1px solid rgba(79, 255, 170, .52);
    border-radius: var(--r-sm);
    color: var(--c-text-light);
    background: linear-gradient(135deg, rgba(79, 255, 170, .16), rgba(80, 128, 232, .12));
    box-shadow: 0 8px 22px rgba(1, 8, 20, .24);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: var(--tr);
}

.detail-back-link span {
    font-size: 1.2em;
    line-height: 1;
    transition: transform var(--tr);
}

.detail-back-link:hover {
    color: #03121e;
    border-color: var(--c-green);
    background: var(--c-green);
    box-shadow: 0 10px 26px rgba(79, 255, 170, .24);
    transform: translateY(-2px);
}

.detail-back-link:hover span {
    transform: translateX(-3px);
}

.detail-back-link:focus-visible {
    outline: 2px solid var(--c-text-light);
    outline-offset: 3px;
}

.detail-back-link:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .detail-back-link {
        width: 100%;
        max-width: 260px;
    }
}

/* =========================================================
 *  11. 公共页脚 (Footer)
 * ========================================================= */
.footer {
    position: relative;
    padding: clamp(30px, 4vw, 50px) 0 clamp(20px, 2vw, 30px);
    /*margin-top: clamp(40px, 5vw, 60px);*/
    border-top: 1px solid var(--c-bd-light);
    background: linear-gradient(180deg, transparent, rgba(2, 17, 28, .8));
}

.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 255, 170, .6), transparent);
}

.footer__inner {
    width: var(--container-w);
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 1.6vw, 20px);
}

.footer__logo {
    height: clamp(36px, 4vw, 50px);
    width: auto;
    opacity: .9;
    filter: drop-shadow(0 0 8px rgba(79, 255, 170, .35));
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 1.2vw, 14px);
    font-size: var(--fs-mark);
    color: var(--c-text-mut);
}

.footer__links a {
    color: var(--c-text-mut);
    transition: var(--tr);
}

.footer__links a:hover {
    color: var(--c-green);
}

.footer__links span {
    /*color: rgba(80, 128, 232, .35);*/
}

.footer__copy {
    font-size: var(--fs-7xs);
    color: var(--c-text-mut);
    letter-spacing: .04em;
    padding-top: clamp(8px, 1vw, 14px);
    border-top: 1px dashed var(--c-bd-light);
    width: 100%;
    max-width: 600px;
}

/* =========================================================
 *  12. 工具：更多按钮
 * ========================================================= */
.btn-more {
    width: 18.16%;
    aspect-ratio: 218 / 84;
    display: inline-flex;
    align-items: start;
    justify-content: center;
    padding-top: 1.16%;
    font-size: var(--fs-more);
    color: var(--c-text-light);
    background-image: url(../images/topic-capital-science-books-v11-bg-btn-more.png);
    background-size: 100% 100%;
    letter-spacing: .15em;
    position: relative;
    transition: var(--tr);
    overflow: hidden;
}


.btn-more:hover {
    transform: translateX(4px);
}

/* =========================================================
 *  13. 入场动画
 * ========================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
 *  14. 装饰光斑 (角落装饰)
 * ========================================================= */
.deco-spot {
    position: absolute;
    width: var(--container-w);
    aspect-ratio: 1200 / 3400;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    display: none;
}

.deco_s11{
    width: 61.66%;
    aspect-ratio: 1 / 1;
    background-image: url(../images/topic-capital-science-books-v11-bg-s1-i2.png);
    background-size: 100% 100%;
    position: absolute;
    left: -30%;
}
.deco_s1_1{
    width: 38.5vw;
    aspect-ratio: 1 / 1;
    background-image: url(../images/topic-capital-science-books-v11-bg-s1-i2.png);
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: 0;
}

main {
    position: relative;
    overflow: hidden;
    background-image: url(../images/topic-capital-science-books-v11-bg-main.png);
    background-size: 100% auto;  
    background-position: center top;
    background-repeat: repeat-y;
}

.index-body main {
    position: relative;
    overflow: hidden;
    background-image: url(../images/topic-capital-science-books-v11-bg-main.png);
    background-size: 100% 100%;
    
}

.section:nth-child(n+1) .section__inner::after {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 74;
}
.section:nth-child(n+2) .section__inner::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 74;
}
.section:nth-child(n+2) .section__inner::after {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 74;
}
@media (max-width: 768px) {
    .hero__logo {
        top: 2.08vw;
    }

    .hero__cta-bottom {
        aspect-ratio: 58 / 71;
    }

    .hero__btn {
        aspect-ratio: 58 / 18;
    }

    .hero__btn img {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .section__inner__s1 {
        aspect-ratio: 343 / 512;
    }
    .breadcrumb{
        aspect-ratio: 343 / 27;
    }
    .list-grid{
        grid-template-columns: repeat(2, 1fr);
        column-gap: clamp(4px, 3.49%, 12px);
        row-gap: clamp(6px, 5.7vw, 20px);
    }
    .list-card {
        aspect-ratio: 165.5 / 204;
    }
    .list-card__media {
        aspect-ratio: 165.5 / 94;
    }
    .sec-title {
        width: 44.89%;
        aspect-ratio: 154/ 52;
        margin-bottom: 6.99%;
    }
    .dynamics__wrap {
        aspect-ratio: 343 / 436;
    }
    .dynamics{
        aspect-ratio: 343 / 378;
        padding: 4.66% 4.66%;
        border-radius: var(--r-s1-bg);
        border: 1px solid #36A089;
    }
    .dynamics__inner{
        flex-direction: column;
        padding: 0 0;
    }
    .dynamics__list {
        width: 100%;
        aspect-ratio: 311 / 156;
        overflow: hidden;
    }
    .dynamics__list li{
        aspect-ratio: 311 / 51;
        background-color: rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .dynamics__main{
        width: 100%;
        aspect-ratio: 311 / 174;
    }
    .dynamics__inner::before{
        border-color: transparent;
    }
    .dynamics__main-body {
        display: flex;
        position: absolute;
        bottom: 0;
        font-size: var(--fs-s13);
        width: 100%;
        left: 0;
        aspect-ratio: 311 / 40;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .btn-more{
        width: 31.77%;
        aspect-ratio: 109 / 42;
        padding-top: 2.10%;
    }
    .section:nth-child(n+1) .section__inner::after {
        aspect-ratio: 343 / 20;
    }
    .section:nth-child(n+2) .section__inner::after {
        aspect-ratio: 343 / 20;
    }
    .section:nth-child(n+2) .section__inner::before {
        aspect-ratio: 343 / 20;
    }
    .section__inner__s2 {
        aspect-ratio: 343 / 1043;
    }
    .showcase-1{
        aspect-ratio: 343 / 471;
    }
    .showcase-2{
        aspect-ratio: 343 / 472;
    }
    .showcase__group-title {
        aspect-ratio: 343 / 22;
        margin-bottom: 4.66%
    }
    .showcase-1 .carousel{
        aspect-ratio: 343 / 434;
    }
    .showcase-1 .carousel__viewport{
        aspect-ratio: 343 / 376;
    }
    .carousel__btn {
        transform: translateY(-50%) translateX(50%);
    }
    .carousel__btn--next {
        transform: translateY(-50%) translateX(-50%) rotateY(180deg);
    }

    /* --- carousel-1 网格批量切换 (2 行 2 列) --- */
    /* 容器尺寸保持不变，卡片尺寸由 JS 依据容器宽高按百分比计算 */
    /* 网格模式下压缩卡片间隔 */
    .showcase-1 .carousel__slide {
        /*padding: 4px;*/
        padding: 1.6vw 1.6vw;
    }
    .carousel__track {
        width: calc(100% + 3.2vw);
        /*height: calc(100% + 3.2vw);*/
        transform: translateX(-1.6vw)  translateY(-1.6vw);
    }
    .showcase-2 .carousel__track {
        width: calc(100% + 3.2vw);
        height: calc(100% + 3.2vw);
        transform: translateX(-1.6vw)  translateY(-1.6vw);
    }
    /* 网格模式下 book-card 填满 slide，封面与文字按 flex 分配 */
    .showcase-1 .book-card {
        aspect-ratio: auto;
        height: 100%;
        justify-content: flex-start;
    }
    .showcase-1 .book-card__cover {
        aspect-ratio: auto;
        flex: 1;
        min-height: 0;
    }
    .showcase-1 .book-card__body {
        flex: none;
    }
    .showcase-2 .carousel__viewport {
        aspect-ratio: 343 / 376;
    }
    .section__inner__s3{
        aspect-ratio: 343 / 579;
    }

    /* --- carousel-2 网格批量切换 (2 行 2 列) --- */
    /* 容器尺寸保持不变，卡片尺寸由 JS 依据容器宽高按百分比计算 */
    .showcase-2 .carousel__slide {
        padding: 1.6vw 1.6vw;
    }
    /* book-card 填满 slide，去掉桌面端的 padding 与绝对定位标题预留 */
    .showcase-2 .book-card {
        aspect-ratio: 165 / 182;
        height: 100%;
        /*padding-left: 0;*/
        padding-top: 30%;
        justify-content: flex-start;
    }
    /* 标题横幅改为流式顶部 */
    .showcase-2 .book-card__title {
        position: absolute;
        width: 80%;
        aspect-ratio: auto;
        height: 20%;
        left: 0;
        transform: translateX(-1%) translateY(30.33%);
        padding-left: 8%;
        flex: none;
    }
    .showcase-2 .book-card__title span {
        transform: translateY(-15%);;
    }
    /* 封面占剩余空间 */
    .showcase-2 .book-card__cover {
        /*width: 100%;*/
        aspect-ratio: auto;
        flex: 1;
        min-height: 0;
    }
    /* 正文固定底部 */
    .showcase-2 .book-card__body {
        margin-top: 0;
        /*width: 100%;*/
        flex: none;
        padding: 4px 6px;
    }
    .showcase-2 .book-card::before {
        /*width: 100%;*/
    }
    .index-body main {
        background-image: url(../images/topic-capital-science-books-v11-bg-main-sm.png);
    }
    .carousel__more{
        aspect-ratio: 343 / 42;
    }
    .sec-wrap-s3 {
        aspect-ratio: 343 / 503;
    }
    .media-wrap {
        aspect-ratio: 343 / 455;
        flex-direction: column;
        padding: 5.83% 5.83%
    }
    .media-wrap__video{
        width: 100%;
        aspect-ratio: 303 / 181;
    }
    .media-wrap__list {
        width: 100%;
        aspect-ratio: 303 / 216;
    }
    .media-wrap__list li{
        aspect-ratio: 303 / 51;
    }
    .carousel__btn {
        width: 4.8vw;
    }
}

/* =========================================================
 * 16. 左右箭头按钮 (90 度直角 + 伪元素 clip-path 裁剪 + hover 发光)
 *    - 等腰三角形箭头，clip-path polygon 裁剪
 *    - 伪元素 ::before 承载形状，悬停时变绿 + 双重 drop-shadow 发光
 * ========================================================= */
.arrow-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    aspect-ratio: 32 / 50;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform var(--tr);
}

/* 伪元素绘制箭头形状：左箭头（尖端朝左） */
.arrow-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--c-text-light);
    /* clip-path 裁剪成等腰三角形箭头（左：直角在右上下两端、尖端左中） */
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    transition: background var(--tr), filter var(--tr);
}

/* 右箭头：镜像（尖端朝右） */
.arrow-btn--right::before {
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* hover：颜色变绿 + 双重 drop-shadow 发光 */
.arrow-btn:hover::before {
    background: var(--c-green);
    filter:
        drop-shadow(0 0 6px rgba(79, 255, 170, 0.9))
        drop-shadow(0 0 14px rgba(79, 255, 170, 0.5));
}

.arrow-btn:hover {
    transform: scale(1.1);
}

.arrow-btn:disabled,
.arrow-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}


/* TRS topic integration */
.nav-m { display: none; }
.topic-empty { text-align: center; padding: 48px 16px; color: var(--c-text-sub); }
.topic-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px auto 0; }
.topic-pagination a, .topic-pagination span { min-width: 34px; padding: 7px 11px; text-align: center; border: 1px solid var(--c-bd); color: var(--c-text-sub); text-decoration: none; }
.topic-pagination .is-active { color: var(--c-green); border-color: var(--c-green); }
.topic-pagination .is-disabled { opacity: .45; }
.topic-detail-actions { display: flex; justify-content: center; margin-top: 32px; }
.detail__trs-body { color: inherit; font: inherit; line-height: 1.9; }
.detail__trs-body img, .detail__trs-body video, .detail__trs-body iframe { max-width: 100%; height: auto; }
.trs-css-background-asset-preload { display: none !important; }
[data-topic-channel="kedo_create_books_past"] [data-topic-cover],
[data-topic-channel="kedo_create_books_2026"] [data-topic-cover] { display: none !important; }
.book-card--link { color: inherit; text-decoration: none; }
.book-card--link:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }
.showcase-2 .book-card__title {
  font-size: clamp(13px, 1.1vw, 18px);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  padding: 6px 9% 6px 12.1%;
}
.showcase-subnav { display: none; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
[data-topic-channel="kedo_create_books_past"] .showcase-subnav,
[data-topic-channel="kedo_create_books_2026"] .showcase-subnav { display: flex; }
.showcase-subnav__item { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; border: 1px solid rgba(79, 255, 170, .36); color: var(--c-text-sub); font-size: var(--fs-body); line-height: 1.35; text-align: center; text-decoration: none; }
.showcase-subnav__item:hover,
.showcase-subnav__item:focus-visible,
.showcase-subnav__item.is-active,
[data-topic-channel="kedo_create_books_past"] .showcase-subnav__item[data-showcase-channel="kedo_create_books_past"],
[data-topic-channel="kedo_create_books_2026"] .showcase-subnav__item[data-showcase-channel="kedo_create_books_2026"] { border-color: var(--c-green); color: #03121e; background: var(--c-green); outline: 0; }
@media (min-width: 600px) and (max-width: 768px) {
  .hero__cta-bottom { top: 21vw; }
}
@media (max-width: 768px) {
  .nav-wrap { display: none; }
  .nav-m { display: block; position: sticky; top: 0; z-index: 30; background: rgba(3, 18, 30, .96); border-bottom: 1px solid rgba(79, 255, 170, .28); }
  .nav-m__toggle { display: block; width: 44px; height: 44px; margin-left: auto; border: 0; color: #fff; background: transparent; font-size: 24px; }
  .nav-m__panel { display: none; padding: 0 14px 14px; }
  .nav-m.is-open .nav-m__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nav-m__item { min-height: 40px; display: flex; align-items: center; justify-content: center; color: var(--c-text); border: 1px solid rgba(79, 255, 170, .22); text-decoration: none; }
  .nav-m__item.active { color: #03121e; background: var(--c-green); }
  .showcase-2 .book-card__title { font-size: 12px; line-height: 1.2; padding: 2px 5px 2px 8%; }
  .showcase-subnav { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
  [data-topic-channel="kedo_create_books_past"] .showcase-subnav,
  [data-topic-channel="kedo_create_books_2026"] .showcase-subnav { display: grid; }
  .showcase-subnav__item { min-height: 44px; padding: 7px 8px; font-size: 13px; }
}

.auto-video-section .video-player { margin: 0 auto; background: #050b10; overflow: hidden; }
.auto-video-section .video-el { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.auto-video-section .video-detail-body { margin-top: 28px; }
.video-detail-body:empty { display: none; }
.video-unavailable { padding: 32px 16px; text-align: center; color: var(--c-text-sub); background: rgba(var(--primary-rgb), .06); }
.auto-video-section .detail__body video, .auto-video-section .detail__body iframe { max-width: 100%; height: auto; }
.showcase[hidden] { display: none !important; }
@media (max-width: 700px) { .auto-video-section .video-detail-body { margin-top: 20px; } }
.topic-source { display: inline-flex; align-items: center; gap: 4px; }
.detail-back-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 20px; border: 1px solid rgba(79, 255, 170, .52); border-radius: var(--r-sm); color: var(--c-text-light); background: linear-gradient(135deg, rgba(79, 255, 170, .16), rgba(80, 128, 232, .12)); box-shadow: 0 8px 22px rgba(1, 8, 20, .24); font-size: var(--fs-body); font-weight: 600; line-height: 1.2; text-decoration: none; transition: var(--tr); }
.detail-back-link span { font-size: 1.2em; line-height: 1; transition: transform var(--tr); }
.detail-back-link:hover { color: #03121e; border-color: var(--c-green); background: var(--c-green); box-shadow: 0 10px 26px rgba(79, 255, 170, .24); transform: translateY(-2px); }
.detail-back-link:hover span { transform: translateX(-3px); }
.detail-back-link:focus-visible { outline: 2px solid var(--c-text-light); outline-offset: 3px; }
.detail-back-link:active { transform: translateY(0); }
@media (max-width: 480px) { .detail-back-link { width: 100%; max-width: 260px; } }


/* TRS rewrites a literal copyright glyph; draw the mark in CSS instead. */
.footer__copyright-mark {
  display: inline-block;
  min-width: 0.72em;
}
.footer__copyright-mark::before {
  content: "\00a9";
}

/* Reuse the 2026 finalist card treatment for past cards. */
.showcase-1 {
  aspect-ratio: 1200 / 568;
}
.showcase-1 .carousel {
  aspect-ratio: 1200 / 452;
}
.showcase-1 .carousel__viewport {
  aspect-ratio: 1200 / 344;
}
.showcase-1 .book-card {
  aspect-ratio: 282 / 344;
  position: relative;
  padding-left: 5.67%;
  padding-top: 30.82%;
  justify-content: flex-start;
  background: transparent;
}
.showcase-1 .book-card__title {
  font-size: clamp(13px, 1.1vw, 18px);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  align-items: center;
  width: 100%;
  aspect-ratio: 266 / 60;
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 9% 6px 12.1%;
  border-radius: var(--r-s1-card);
  background-image: url(../images/topic-capital-science-books-v11-bg-s2-c1.png);
  background-size: 100% 100%;
  transform: translateX(-1%) translateY(33.33%);
}
.showcase-1 .book-card__title span {
  transform: translateY(-15%);
}
.showcase-1 .book-card::before {
  content: '';
  display: block;
  width: 94.32%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: var(--r-s1-card);
  background-color: rgba(8, 38, 60, .35);
  border: 1px solid rgba(171, 207, 137, 1);
  z-index: -1;
  pointer-events: none;
}
.showcase-1 .book-card__cover {
  width: 87.96%;
  aspect-ratio: 234 / 131;
}
.showcase-1 .book-card__body {
  margin-top: 9.2%;
  width: 87.96%;
  flex: 1;
  overflow: hidden;
  padding: clamp(8px, 1.2vw, 12px);
}
.showcase-1 .book-card__desc {
  color: var(--c-text-sub);
  font-size: var(--fs-s22-p);
  opacity: 1;
}
@media (max-width: 768px) {
  .showcase-1 {
    aspect-ratio: 343 / 472;
  }
  .showcase-1 .carousel {
    aspect-ratio: 343 / 434;
  }
  .showcase-1 .carousel__viewport {
    aspect-ratio: 343 / 376;
  }
  .showcase-1 .book-card {
    aspect-ratio: 165 / 182;
    height: 100%;
    padding-top: 30%;
    justify-content: flex-start;
  }
  .showcase-1 .book-card__title {
    position: absolute;
    width: 80%;
    aspect-ratio: auto;
    height: 20%;
    left: 0;
    transform: translateX(-1%) translateY(30.33%);
    padding: 2px 5px 2px 8%;
    flex: none;
    font-size: 12px;
    line-height: 1.2;
  }
  .showcase-1 .book-card__cover {
    aspect-ratio: auto;
    flex: 1;
    min-height: 0;
  }
  .showcase-1 .book-card__body {
    margin-top: 0;
    flex: none;
    padding: 4px 6px;
  }
}

/* Center every showcase title while retaining the two-line clamp. */
.showcase-1 .book-card__title,
.showcase-2 .book-card__title {
  display: flex;
  align-items: center;
}
.showcase-1 .book-card__title > .book-card__title-text,
.showcase-2 .book-card__title > .book-card__title-text {
  display: -webkit-box;
  width: 100%;
  max-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transform: none;
}
@media (max-width: 768px) {
  .showcase-1 .book-card__title > .book-card__title-text,
  .showcase-2 .book-card__title > .book-card__title-text {
    max-height: 2.4em;
  }
}
