/* ==========================================================
   泰国网站 Nook 新专题页面样式
   说明：
   1. 基于原 nook_new.css 整理，不重复定义同一套基础规则。
   2. 保留原字体、字号体系、1400px 容器和表单样式。
   3. PC 以 1400px 内容宽度为主，移动端统一 768px。
   4. 第4部分按设计稿使用 PC 固定叠层，底部蓝色背景为 100vw。
   5. 表单和 MDT 模板内部样式不做结构性修改。
========================================================== */

/* ==========================================================
   Banner / 面包屑
========================================================== */
.banner {
    width: 100%;
    height: 300px;
    background: url("https://img.asiancancer.com/images/newmoderncancerthai/images/nookxzt_banner.webp") no-repeat center center;
    background-size: cover;
}

.breadcrumb-box {
    width: 100%;
    background: #fff;
}

/* ==========================================================
   Nook 新专题基础样式
========================================================== */
.nook-new-page {
    --nook-blue: #2A78BA;
    --nook-blue-dark: #185f95;
    --nook-blue-light: #eef4f8;
    --nook-gold: #c89237;
    --nook-gold-dark: #a87522;
    --nook-text: #333;
    --nook-muted: #68727c;
    --nook-border: #dfe6ec;
    --nook-shadow: 0 12px 34px rgba(29, 66, 98, .12);

    width: 100%;
    overflow: hidden;
    color: #333;
    background: #fff;
    font-size: 16px;
    line-height: 1.75;
    font-family: Arial, "Tahoma", sans-serif;
}

.nook-new-page * {
    box-sizing: border-box;
}

.nook-new-page img {
    display: block;
    max-width: 100%;
}

.nook-new-page figure {
    margin: 0;
}

.nook-new-page ul,
.nook-new-page ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nook-new-page p,
.nook-new-page h2,
.nook-new-page h3,
.nook-new-page h4 {
    margin: 0;
}

.nook-new-page .page-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nook-new-page section {
    padding: 30px 0;
}

.nook-new-page section:not(.form-area) {
    padding: 70px 0;
}

.nook-new-page .light-bg {
    background: #f3f6fa;
}

.nook-new-page h3 {
    font-size: 25px;
    line-height: 1.35;
    font-weight: 700;
}

.nook-new-page h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}

.nook-new-page strong,
.nook-new-page .bold-text {
    font-size: 18px;
    font-weight: 700;
}

/* ==========================================================
   公共标题
========================================================== */
.nook-new-page .title-box {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 28px;
    padding: 0 15px;
    color: #2A78BA;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.nook-new-page .title-box::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 14px auto 0;
    background: #1e2d4f;
    border-radius: 3px;
}

.nook-new-page .section-heading {
    margin: 0 0 32px;
    color: var(--nook-blue);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
}

.nook-new-page .section-heading-left {
    text-align: left;
}

/* “คุณนุ๊ก:”与主标题在同一行，副标题/引语仍单独占一行 */
.nook-new-page .section-heading-inline-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
}

.nook-new-page .section-heading-inline-title .heading-kicker {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.nook-new-page .section-heading-inline-title .heading-main {
    flex: 0 1 auto;
}

.nook-new-page .section-heading-inline-title .heading-quote,
.nook-new-page .section-heading-inline-title .heading-sub {
    width: 100%;
    flex: 0 0 100%;
}

.nook-new-page .section-heading-center {
    text-align: center;
}

.nook-new-page .section-heading .heading-main,
.nook-new-page .section-heading .heading-sub,
.nook-new-page .section-heading .heading-kicker,
.nook-new-page .section-heading .heading-quote {
    display: block;
}

.nook-new-page .section-heading .heading-sub {
    margin-top: 8px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.nook-new-page .section-heading .heading-kicker {
    margin-bottom: 4px;
    font-size: 22px;
}

.nook-new-page .section-heading .heading-quote {
    margin-top: 10px;
    color: #263746;
    font-size: 19px;
    font-weight: 600;
}

.nook-new-page .article-copy p + p {
    margin-top: 14px;
}

/* ==========================================================
   视频公共样式
========================================================== */
.nook-new-page .video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f1f2e;
}

.nook-new-page .video-frame-landscape {
    padding-top: 56.25%;
}

.nook-new-page .video-frame-portrait {
    max-width: 430px;
    margin: 0 auto;
    padding-top: 145%;
}

.nook-new-page .video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================
   1. 一次治疗的信任 / Nook 治疗经历
   每段文字对应一个圆点，圆点垂直居中当前段落
========================================================== */
.nook-new-page .nook-intro-area {
    width: 100%;
    padding: 60px 0 65px;
    background: #fff;
}

.nook-new-page .nook-intro-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 80px;
    max-width: 1240px;
}

.nook-new-page .nook-intro-content {
    width: 100%;
    min-width: 0;
}

.nook-new-page .nook-intro-title {
    width: 100%;
    margin-bottom: 35px;
}

.nook-new-page .nook-intro-title h2 {
    margin: 0 0 12px;
    color: #2A78BA;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
}

.nook-new-page .nook-intro-title h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    text-align: left;
}

.nook-new-page .nook-timeline {
    position: relative;
    width: 100%;
}

.nook-new-page .nook-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background: #4395ce;
}

.nook-new-page .nook-timeline-item {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding-left: 40px;
}

.nook-new-page .nook-timeline-item + .nook-timeline-item {
    margin-top: 24px;
}

.nook-new-page .nook-timeline-item .timeline-dot {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 16px;
    background: #2f85c4;
    border-radius: 50%;
    transform: translateY(-50%);
}

.nook-new-page .nook-timeline-item p {
    margin: 0;
    color: #333;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 400;
    text-align: left;
}

.nook-new-page .nook-intro-image {
    width: 500px;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
}

.nook-new-page .nook-intro-image picture {
    display: block;
    width: 100%;
}

.nook-new-page .nook-intro-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    transition: transform .55s ease;
}

/* ==========================================================
   2 / 10. 表单
   保留原表单结构和字段样式
========================================================== */
.nook-new-page .form-area {
    position: relative;
    width: 100%;
    min-height: 410px;
    padding: 30px 0;
    overflow: hidden;
}

.nook-new-page .form-area .title-box {
    color: #fff;
}

.nook-new-page .form-area .title-box::after {
    background: #fff;
}

.nook-new-page .form-area.form-bg-area {
    background-image: linear-gradient(rgba(8, 29, 54, .48), rgba(8, 29, 54, .48)),
    url("https://img.asiancancer.com/images/newmoderncancerthai/images/newyxa_formbg.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.nook-new-page .form-area .form-box {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.nook-new-page .form-box .form-explanation {
    width: 100%;
    margin-bottom: 15px;
    color: red;
}

.nook-new-page .form-area .form {
    width: 100%;
}

.nook-new-page .form-area .form-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 22px;
}

.nook-new-page .form-area .form-item {
    width: 100%;
    min-width: 0;
}

.nook-new-page .form-area .form-item.two-item {
    grid-column: 1 / -1;
}

.nook-new-page .form-area .form-item .label-text {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

.nook-new-page .form-area .form-item .required,
.nook-new-page .form-area .form-item .label-text span {
    color: #e60012;
}

.nook-new-page .form-area .form-item .input,
.nook-new-page .form-area .form-item .select,
.nook-new-page .form-area .form-item .textarea {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 20px;
    border: none;
    outline: none;
    background-color: #f1f1f1;
    color: #333;
    font-size: 16px;
    line-height: 46px;
    border-radius: 4px;
}

.nook-new-page .form-area .form-item .input::placeholder,
.nook-new-page .form-area .form-item .textarea::placeholder {
    color: #999;
}

.nook-new-page .form-area .form-item .select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    color: #999;
    background-image: linear-gradient(45deg, transparent 50%, #999 50%),
    linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 26px) 19px, calc(100% - 18px) 19px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.nook-new-page .form-area .form-item .textarea {
    height: 96px;
    padding-top: 12px;
    line-height: 1.6;
    resize: none;
}

.nook-new-page .form-area .submit-btn {
    width: 100%;
    margin-top: 32px;
    text-align: center;
}

.nook-new-page .form-area .submit-btn .btn-style {
    display: inline-block;
    width: 620px;
    max-width: 100%;
    height: 46px;
    border: none;
    outline: none;
    background: #2d7fbd;
    color: #fff;
    font-size: 16px;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
}

.nook-new-page .form-area .form-tips {
    margin: 12px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* ==========================================================
   3. 从自己治疗，到家人托付
   按设计图使用四层交错叠层：图片 / 蓝色文案 / 橙色文案 / 视频
========================================================== */
.nook-new-page .family-trust-area {
    position: relative;
    width: 100%;
    padding: 60px 0 70px;
    overflow: hidden;
    background: #f4f6f9;
}

/* 标题区域 */
.nook-new-page .family-trust-heading {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    margin: 0 auto 35px;
    text-align: center;
}

.nook-new-page .family-trust-heading h2 {
    margin: 0 0 10px;
    color: var(--nook-blue);
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

.nook-new-page .family-trust-heading p {
    margin: 0;
    color: #333;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
}

/* PC 叠层主体 */
.nook-new-page .family-trust-collage {
    position: relative;
    width: 100%;
    max-width: 1240px;
    height: 560px;
    margin: 0 auto;
}

/* 层级1：左上家庭图片 */
.nook-new-page .family-trust-photo {
    position: absolute;
    z-index: 1;
    top: 45px;
    left: 0;
    width: 48%;
    overflow: hidden;
}

.nook-new-page .family-trust-photo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: cover;
    transition: transform .45s ease;
}

/* 层级2：右上蓝色文案 */
.nook-new-page .family-trust-blue {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 58%;
    min-height: 350px;
    padding: 24px 34px 104px;
    background: #3282c1;
    color: #fff;
    border-radius: 6px;
}

.nook-new-page .family-trust-blue p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}

.nook-new-page .family-trust-blue p + p {
    margin-top: 12px;
}

/* 层级3：左下橙色文案 */
.nook-new-page .family-trust-orange {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 70px;
    width: 50%;
    min-height: 245px;
    padding: 34px 125px 28px 36px;
    background: #d39332;
    color: #fff;
    border-radius: 6px;
}

.nook-new-page .family-trust-orange p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}

.nook-new-page .family-trust-orange p + p {
    margin-top: 12px;
}

/* 层级4：右下 YouTube 视频 */
.nook-new-page .family-trust-video {
    position: absolute;
    z-index: 4;
    right: 70px;
    bottom: 48px;
    width: 46%;
}

.nook-new-page .youtube-video-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}

.nook-new-page .youtube-video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== VERIFIED: 第4部分最新布局（100vw蓝色通栏 + 右侧视频跨白/蓝区域） ===== */
/* ==========================================================
   4. 为什么选择广州现代肿瘤医院
   设计稿结构：
   - 左上：标题 / 引语 / 说明 / 4 个 SVG 问题卡片
   - 右侧：竖版视频跨越白色区域与底部蓝色区域
   - 底部：蓝色背景使用 100vw 铺满浏览器宽度
   - 蓝底左侧：白色说明文字
========================================================== */
.nook-new-page .hospital-choice-area {
    position: relative;
    width: 100%;
    padding: 70px 0 0;
    overflow: hidden;
    background: #fff;
}

/* 底部 100% 全宽蓝色背景 */
.nook-new-page .hospital-choice-area::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    /* PC 端 section 统一保留 30px 底部内边距，蓝色背景需与内容区/视频底部对齐 */
    bottom: 30px;
    width: 100vw;
    height: 300px;
    background: #2f80bd;
    transform: translateX(-50%);
}

/* PC 使用固定相对定位画布，避免竖版视频参与普通文档流撑高 */
.nook-new-page .choice-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    height: 630px;
    margin: 0 auto;
}

/* 左上白色主体 */
.nook-new-page .choice-main {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 820px;
    max-width: calc(100% - 400px);
}

.nook-new-page .choice-main .section-heading {
    margin: 0 0 32px;
    text-align: left;
}

.nook-new-page .choice-main .heading-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--nook-blue);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.nook-new-page .choice-main .heading-main {
    display: block;
    width: max-content;
    max-width: none;
    color: var(--nook-blue);
    font-size: clamp(27px, 2.15vw, 34px);
    line-height: 1.35;
    font-weight: 700;
    white-space: nowrap;
}

.nook-new-page .choice-main .section-heading-inline-title .heading-kicker,
.nook-new-page .choice-main .section-heading-inline-title .heading-main {
    font-size: clamp(27px, 2.15vw, 34px);
}

.nook-new-page .choice-main .heading-quote {
    display: block;
    margin-top: 12px;
    color: #333;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 700;
}

.nook-new-page .choice-lead {
    margin: 0 0 24px;
    color: #444;
    font-size: 16px;
    line-height: 1.75;
}

/* 四个问题卡片 */
.nook-new-page .choice-question-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.nook-new-page .question-card {
    display: flex;
    min-width: 0;
    min-height: 138px;
    padding: 18px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eef4f8;
    color: #404b55;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

/* 直接显示 4 个 SVG，不再使用 CSS 字符图标 */
.nook-new-page .question-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    flex: 0 0 48px;
    border: 0;
    background: none;
    object-fit: contain;
}

.nook-new-page .question-card span {
    display: block;
    width: 100%;
}

/* 蓝色通栏左侧文案，自身透明，背景由 hospital-choice-area::before 提供 */
.nook-new-page .choice-summary {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    display: grid;
    width: 820px;
    max-width: calc(100% - 400px);
    height: 300px;
    margin: 0;
    padding: 0 55px 0 0;
    align-content: center;
    justify-items: start;
    box-sizing: border-box;
    background: transparent;
    color: #fff;
    text-align: left;
}

.nook-new-page .choice-summary p {
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
}

.nook-new-page .choice-summary p + p {
    margin-top: 10px;
}

/* 右侧竖版视频：底部与蓝色区域底部齐平 */
.nook-new-page .choice-video {
    position: absolute;
    z-index: 4;
    inset: auto 0 0 auto;
    width: 355px;
    height: 510px;
    margin: 0;
}

.nook-new-page .choice-video .video-frame,
.nook-new-page .choice-video .video-frame-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    box-shadow: none;
}

.nook-new-page .choice-video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================
   5. 微创技术
========================================================== */
.nook-new-page .technology-area {
    background: #fff;
}

.nook-new-page .technology-area .page-container {
    max-width: 1240px;
}

.nook-new-page .technology-intro {
    max-width: 1120px;
    margin: 0 auto 35px;
    color: #47525c;
    text-align: center;
}

.nook-new-page .technology-intro p + p {
    margin-top: 10px;
}

.nook-new-page .technology-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.nook-new-page .technology-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--nook-border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(30, 66, 95, .07);
    transition: transform .35s ease, box-shadow .35s ease;
}

.nook-new-page .technology-image {
    overflow: hidden;
    border-radius: 11px 11px 0 0;
}

.nook-new-page .technology-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 11px 11px 0 0;
    object-fit: cover;
    transition: transform .55s ease;
}

.nook-new-page .technology-content {
    display: flex;
    flex: 1;
    padding: 22px 20px 26px;
    flex-direction: column;
}

.nook-new-page .technology-content h3 {
    margin-bottom: 10px;
    color: #1f3445;
    font-size: 19px;
    line-height: 1.45;
}

.nook-new-page .technology-content p {
    color: var(--nook-muted);
    font-size: 15px;
    line-height: 1.75;
}

.nook-new-page .technology-more {
    display: block;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    color: var(--nook-blue);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    text-align: right;
    text-decoration: none;
}

.nook-new-page .technology-more:hover {
    color: var(--nook-blue-dark);
    text-decoration: underline;
}

.nook-new-page .technology-more::after {
    content: " >";
    display: inline-block;
    margin-left: 4px;
    transition: transform .25s ease;
}

.nook-new-page .technology-more:hover::after {
    transform: translateX(3px);
}

/* ==========================================================
   6 / 7. Nook 想告诉患者的话 / 四标签页
========================================================== */
.nook-new-page .patient-message-area .page-container {
    max-width: 1240px;
}

.nook-new-page .message-tabs {
    width: 100%;
}

.nook-new-page .message-tab-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    margin-bottom: 32px;
    border-bottom: 1px solid #ccd7df;
}

.nook-new-page .message-tab {
    position: relative;
    min-height: 54px;
    padding: 12px 16px;
    border: 0;
    outline: none;
    background: transparent;
    color: #999;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    font-weight: bold;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease;
}

.nook-new-page .message-tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 3px;
    background: var(--nook-gold);
    transform: translateX(-50%);
    transition: width .25s ease;
}

.nook-new-page .message-tab.is-active {
    background: var(--nook-gold);
    color: #fff;
}

.nook-new-page .message-tab.is-active::after {
    width: 100%;
}

.nook-new-page .message-tab:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(35, 120, 184, .35);
}

.nook-new-page .message-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(480px, 1.25fr);
    align-items: center;
    gap: 48px;
    animation: nookTabFade .35s ease both;
}

.nook-new-page .message-panel[hidden] {
    display: none;
}

.nook-new-page .message-panel-copy h3 {
    margin-bottom: 16px;
    /*color: var(--nook-blue);*/
    color: #333;
    font-size: 27px;
}

.nook-new-page .message-panel-copy p + p {
    margin-top: 14px;
}

.nook-new-page .message-panel-media {
    overflow: hidden;
    background: #dfe7ed;
    box-shadow: var(--nook-shadow);
}

.nook-new-page .message-panel-media > img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@keyframes nookTabFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   8. 从接受帮助，到传递希望
========================================================== */
.nook-new-page .hope-area {
    padding-bottom: 55px;
}

.nook-new-page .hope-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr);
    align-items: center;
    gap: 70px;
    max-width: 1240px;
}

.nook-new-page .hope-copy .heading-main {
    display: block;
    width: max-content;
    max-width: none;
    font-size: clamp(24px, 2vw, 32px);
    white-space: nowrap;
}

.nook-new-page .hope-copy .section-heading-inline-title .heading-kicker,
.nook-new-page .hope-copy .section-heading-inline-title .heading-main {
    font-size: clamp(24px, 2vw, 32px);
}

.nook-new-page .hope-video {
    box-shadow: var(--nook-shadow);
}

.nook-new-page .hope-conclusion {
    max-width: 1000px;
    margin-top: 42px;
    padding: 30px 36px;
    border-left: 5px solid var(--nook-gold);
    background: #f5f8fb;
    text-align: left;
}

.nook-new-page .hope-conclusion h3 {
    margin-bottom: 14px;
    color: var(--nook-blue);
    font-size: 25px;
}

.nook-new-page .hope-conclusion p + p {
    margin-top: 8px;
}

/* ==========================================================
   9. MDT 外层
   仅控制专题区域背景，不修改 MDT 模板内部结构
========================================================== */
.nook-new-page .mdt-team-area {
    background: #f3f6fa;
}

/* ==========================================================
   页面滚动进入动画
   默认显示内容；只有 JS 正常执行并添加 reveal-ready 后才隐藏。
   可避免 JS 异常时整块页面 opacity:0 导致白屏。
========================================================== */
.nook-new-page .reveal-up,
.nook-new-page .reveal-left,
.nook-new-page .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity .75s ease, transform .75s cubic-bezier(.22, .61, .36, 1);
}

.nook-new-page.reveal-ready .reveal-up,
.nook-new-page.reveal-ready .reveal-left,
.nook-new-page.reveal-ready .reveal-right {
    opacity: 0;
}

.nook-new-page.reveal-ready .reveal-up {
    transform: translateY(36px);
}

.nook-new-page.reveal-ready .reveal-left {
    transform: translateX(-42px);
}

.nook-new-page.reveal-ready .reveal-right {
    transform: translateX(42px);
}

.nook-new-page.reveal-ready .reveal-up.is-visible,
.nook-new-page.reveal-ready .reveal-left.is-visible,
.nook-new-page.reveal-ready .reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================
   PC Hover
========================================================== */
@media (any-hover: hover) {
    .nook-new-page .nook-intro-image:hover img,
    .nook-new-page .technology-card:hover .technology-image img {
        transform: scale(1.055);
    }

    .nook-new-page .technology-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 38px rgba(28, 70, 105, .15);
    }

    .nook-new-page .question-card:hover {
        z-index: 1;
        background: #fff;
        box-shadow: 0 12px 28px rgba(30, 70, 105, .13);
        transform: translateY(-6px);
    }

    .nook-new-page .family-trust-photo:hover img {
        transform: scale(1.025);
    }

    .nook-new-page .family-trust-blue,
    .nook-new-page .family-trust-orange,
    .nook-new-page .family-trust-video {
        transition: transform .35s ease, box-shadow .35s ease;
    }

    .nook-new-page .family-trust-blue:hover,
    .nook-new-page .family-trust-orange:hover,
    .nook-new-page .family-trust-video:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    }

    .nook-new-page .message-tab:not(.is-active):hover {
        color: var(--nook-blue);
        background: rgba(35, 120, 184, .07);
    }
}

/* PC 端所有页面区块统一使用 30px 上下内边距 */
@media screen and (min-width: 769px) {
    .nook-new-page .page-container,
    .nook-new-page .nook-intro-box,
    .nook-new-page .family-trust-heading,
    .nook-new-page .family-trust-collage,
    .nook-new-page .choice-layout,
    .nook-new-page .technology-area .page-container,
    .nook-new-page .patient-message-area .page-container,
    .nook-new-page .hope-layout,
    .nook-new-page .hope-conclusion,
    .nook-new-page .form-area .form-box {
        max-width: 1400px !important;
    }

    .nook-new-page section,
    .nook-new-page section:not(.form-area) {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .nook-new-page .hope-conclusion {
        width: 100%;
        max-width: 1400px;
    }
}

/* ==========================================================
   小屏 PC / 平板
========================================================== */
@media screen and (max-width: 1440px) {
    .nook-new-page .page-container {
        width: calc(100% - 60px);
    }

    .nook-new-page .nook-intro-box,
    .nook-new-page .technology-area .page-container,
    .nook-new-page .patient-message-area .page-container,
    .nook-new-page .hope-layout {
        max-width: 1180px;
    }

    .nook-new-page .hope-conclusion {
        max-width: 1180px;
    }

    .nook-new-page .nook-intro-box {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 55px;
    }

    .nook-new-page .nook-intro-image {
        width: 440px;
    }

    .nook-new-page .nook-intro-title h2 {
        font-size: 30px;
    }

    .nook-new-page .nook-intro-title h3 {
        font-size: 21px;
    }

    .nook-new-page .nook-timeline-item p {
        font-size: 16px;
    }

    /* 3. 家庭托付 */
    .nook-new-page .family-trust-heading,
    .nook-new-page .family-trust-collage {
        width: calc(100% - 60px);
    }

    .nook-new-page .family-trust-collage {
        height: 530px;
    }

    .nook-new-page .family-trust-heading h2 {
        font-size: 30px;
    }

    .nook-new-page .family-trust-heading p {
        font-size: 19px;
    }

    .nook-new-page .family-trust-blue {
        width: 58%;
        min-height: 350px;
        padding: 22px 30px 94px;
    }

    .nook-new-page .family-trust-orange {
        left: 50px;
        width: 50%;
        min-height: 230px;
        padding: 30px 105px 24px 32px;
    }

    .nook-new-page .family-trust-video {
        right: 50px;
        bottom: 45px;
        width: 46%;
    }

    .nook-new-page .family-trust-blue p,
    .nook-new-page .family-trust-orange p {
        font-size: 16px;
        line-height: 1.55;
    }

    /* 4. 医院选择 */
    .nook-new-page .choice-layout {
        width: calc(100% - 60px);
        max-width: 1180px;
        height: 600px;
    }

    .nook-new-page .choice-main {
        width: calc(100% - 380px);
        max-width: none;
    }

    .nook-new-page .choice-main .heading-main {
        font-size: 31px;
    }

    .nook-new-page .choice-main .heading-kicker {
        font-size: 21px;
    }

    .nook-new-page .choice-main .heading-quote {
        font-size: 18px;
    }

    .nook-new-page .question-card {
        min-height: 130px;
        padding: 16px 10px;
        font-size: 14px;
    }

    .nook-new-page .question-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        margin-bottom: 10px;
    }

    .nook-new-page .hospital-choice-area::before {
        height: 280px;
    }

    .nook-new-page .choice-summary {
        width: calc(100% - 380px);
        max-width: none;
        height: 280px;
        padding: 0 45px 0 0;
    }

    .nook-new-page .choice-summary p {
        font-size: 15px;
        line-height: 1.75;
    }

    .nook-new-page .choice-video {
        width: 335px;
        height: 485px;
    }

    .nook-new-page .form-area .form-box {
        width: calc(100% - 40px);
    }
}

@media screen and (max-width: 1100px) {
    .nook-new-page .nook-intro-box {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 35px;
    }

    .nook-new-page .nook-intro-image {
        width: 360px;
    }

    /* 3. 家庭托付 */
    .nook-new-page .family-trust-collage {
        height: 500px;
    }

    .nook-new-page .family-trust-photo {
        top: 55px;
        width: 49%;
    }

    .nook-new-page .family-trust-blue {
        width: 59%;
        min-height: 350px;
        padding: 18px 24px 84px;
    }

    .nook-new-page .family-trust-orange {
        left: 30px;
        width: 52%;
        min-height: 215px;
        padding: 26px 82px 20px 26px;
    }

    .nook-new-page .family-trust-video {
        right: 30px;
        width: 47%;
    }

    .nook-new-page .family-trust-blue p,
    .nook-new-page .family-trust-orange p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* 4. 医院选择：小屏 PC 仍保持四卡片横排 */
    .nook-new-page .hospital-choice-area {
        padding-top: 55px;
    }

    .nook-new-page .choice-layout {
        width: calc(100% - 40px);
        height: 560px;
    }

    .nook-new-page .choice-main {
        width: calc(100% - 320px);
        max-width: none;
    }

    .nook-new-page .choice-main .heading-main {
        font-size: 27px;
    }

    .nook-new-page .choice-main .heading-kicker {
        font-size: 19px;
    }

    .nook-new-page .choice-main .heading-quote {
        margin-top: 8px;
        font-size: 16px;
    }

    .nook-new-page .choice-lead {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .nook-new-page .choice-question-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .nook-new-page .question-card {
        min-height: 120px;
        padding: 12px 7px;
        font-size: 12px;
    }

    .nook-new-page .question-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        margin-bottom: 8px;
    }

    .nook-new-page .hospital-choice-area::before {
        height: 270px;
    }

    .nook-new-page .choice-summary {
        width: calc(100% - 320px);
        max-width: none;
        height: 270px;
        padding: 0 30px 0 0;
    }

    .nook-new-page .choice-summary p {
        font-size: 13px;
        line-height: 1.7;
    }

    .nook-new-page .choice-summary p + p {
        margin-top: 7px;
    }

    .nook-new-page .choice-video {
        width: 285px;
        height: 430px;
    }

    .nook-new-page .technology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nook-new-page .message-panel {
        grid-template-columns: minmax(0, .85fr) minmax(400px, 1.15fr);
        gap: 30px;
    }
}

/* ==========================================================
   移动端：统一 768px
========================================================== */
@media screen and (max-width: 768px) {
    .banner {
        display: none;
    }

    .nook-new-page {
        font-size: 14px;
        line-height: 1.75;
        background: #fff;
    }

    .nook-new-page section,
    .nook-new-page section:not(.form-area) {
        padding: 15px;
    }

    .nook-new-page .page-container {
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    /* 公共标题 */
    .nook-new-page .title-box {
        margin-bottom: 18px;
        padding: 0;
        font-size: 25px;
    }

    .nook-new-page .title-box::after {
        width: 44px;
        height: 3px;
        margin-top: 10px;
    }

    .nook-new-page h3 {
        font-size: 20px;
    }

    .nook-new-page h4 {
        font-size: 18px;
    }

    .nook-new-page .section-heading {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.42;
    }

    .nook-new-page .section-heading .heading-sub {
        margin-top: 6px;
        font-size: 15px;
        line-height: 1.55;
    }

    .nook-new-page .section-heading .heading-kicker {
        font-size: 17px;
    }

    .nook-new-page .section-heading .heading-quote {
        margin-top: 8px;
        font-size: 15px;
        line-height: 1.6;
    }

    .nook-new-page .article-copy p + p {
        margin-top: 11px;
    }

    /* 1. Nook介绍 */
    .nook-new-page .nook-intro-area {
        padding: 25px 15px 30px;
    }

    .nook-new-page .nook-intro-box {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 25px;
    }

    .nook-new-page .nook-intro-title {
        margin-bottom: 22px;
    }

    .nook-new-page .nook-intro-title h2 {
        margin-bottom: 6px;
        font-size: 23px;
        line-height: 1.35;
    }

    .nook-new-page .nook-intro-title h3 {
        font-size: 17px;
        line-height: 1.5;
    }

    .nook-new-page .nook-timeline::before {
        left: 5px;
        width: 1px;
    }

    .nook-new-page .nook-timeline-item {
        min-height: 45px;
        padding-left: 25px;
    }

    .nook-new-page .nook-timeline-item + .nook-timeline-item {
        margin-top: 18px;
    }

    .nook-new-page .nook-timeline-item .timeline-dot {
        left: 0;
        width: 11px;
        height: 11px;
    }

    .nook-new-page .nook-timeline-item p {
        font-size: 14px;
        line-height: 1.75;
    }

    .nook-new-page .nook-intro-image {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .nook-new-page .nook-intro-image picture {
        display: block;
        width: 100%;
    }

    .nook-new-page .nook-intro-image img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        object-fit: contain;
    }

    /* 表单 */
    .nook-new-page .form-area {
        padding: 15px;
    }

    .nook-new-page .form-area .form-box {
        width: 100%;
        padding: 15px;
    }

    .nook-new-page .form-area .form-grid {
        display: block;
    }

    .nook-new-page .form-area .form-item + .form-item {
        margin-top: 12px;
    }

    .nook-new-page .form-area .form-item .label-text,
    .nook-new-page .form-area .form-item .input,
    .nook-new-page .form-area .form-item .select,
    .nook-new-page .form-area .form-item .textarea,
    .nook-new-page .form-area .submit-btn .btn-style,
    .nook-new-page .form-area .form-tips {
        font-size: 14px;
    }

    .nook-new-page .form-area .form-item .input,
    .nook-new-page .form-area .form-item .select {
        height: 40px;
        padding: 0 12px;
        line-height: 40px;
    }

    .nook-new-page .form-area .form-item .textarea {
        height: 84px;
        padding: 10px 12px;
    }

    .nook-new-page .form-area .submit-btn {
        margin-top: 16px;
    }

    .nook-new-page .form-area .submit-btn .btn-style {
        width: 100%;
        height: 40px;
        line-height: 40px;
    }

    .nook-new-page .form-area .form-tips {
        line-height: 1.65;
    }

    /* 3. 家庭托付 */
    .nook-new-page .family-trust-area {
        padding: 28px 15px 32px;
    }

    .nook-new-page .family-trust-heading {
        width: 100%;
        margin-bottom: 22px;
    }

    .nook-new-page .family-trust-heading h2 {
        margin-bottom: 7px;
        font-size: 23px;
        line-height: 1.4;
    }

    .nook-new-page .family-trust-heading p {
        font-size: 16px;
        line-height: 1.55;
    }

    .nook-new-page .family-trust-collage {
        display: grid;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .nook-new-page .family-trust-photo {
        position: relative;
        z-index: 1;
        top: auto;
        left: auto;
        width: 100%;
        grid-column: 1 / -1;
    }

    .nook-new-page .family-trust-photo img {
        width: 100%;
        height: auto;
    }

    .nook-new-page .family-trust-blue {
        position: relative;
        z-index: 2;
        top: auto;
        right: auto;
        width: 100%;
        min-height: 0;
        padding: 20px;
        grid-column: 1 / -1;
        border-radius: 0;
    }

    .nook-new-page .family-trust-blue p {
        font-size: 14px;
        line-height: 1.7;
    }

    .nook-new-page .family-trust-blue p + p {
        margin-top: 12px;
    }

    .nook-new-page .family-trust-orange {
        position: relative;
        z-index: 3;
        bottom: auto;
        left: auto;
        width: 100%;
        min-height: 100%;
        padding: 18px;
        grid-column: 1;
        border-radius: 0;
    }

    .nook-new-page .family-trust-orange p {
        font-size: 13px;
        line-height: 1.65;
    }

    .nook-new-page .family-trust-orange p + p {
        margin-top: 10px;
    }

    .nook-new-page .family-trust-video {
        position: relative;
        z-index: 4;
        right: auto;
        bottom: auto;
        width: 100%;
        align-self: stretch;
        grid-column: 2;
    }

    .nook-new-page .youtube-video-box {
        width: 100%;
        height: 100%;
        min-height: 100%;
        padding-top: 0;
        border-radius: 0;
    }

    .nook-new-page .youtube-video-box iframe {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    /* 4. 医院选择：移动端恢复正常文档流 */
    .nook-new-page .hospital-choice-area {
        padding: 28px 15px 0 !important;
        overflow: hidden;
    }

    .nook-new-page .hospital-choice-area::before {
        display: none;
    }

    .nook-new-page .choice-layout {
        display: grid;
        width: 100%;
        max-width: none;
        height: auto;
        margin: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .nook-new-page .choice-main {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        padding-bottom: 0;
        grid-column: 1 / -1;
    }

    .nook-new-page .choice-main .section-heading {
        margin-bottom: 18px;
    }

    .nook-new-page .choice-main .heading-kicker {
        font-size: 17px;
    }

    .nook-new-page .choice-main .heading-main {
        width: auto;
        max-width: 100%;
        min-width: 0;
        flex: 1 1 0;
        font-size: 23px;
        line-height: 1.4;
        white-space: normal;
    }

    .nook-new-page .choice-main .heading-quote {
        margin-top: 7px;
        font-size: 15px;
        line-height: 1.55;
    }

    .nook-new-page .choice-lead {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.65;
    }

    .nook-new-page .choice-question-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .nook-new-page .question-card {
        min-height: 104px;
        padding: 12px 7px 10px;
        font-size: 12px;
        line-height: 1.4;
    }

    .nook-new-page .question-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        margin-bottom: 7px;
    }

    /* 移动端：蓝色文案与视频并排，并由同一 Grid 行统一高度 */
    .nook-new-page .choice-video {
        position: relative;
        inset: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 14px 0 0;
        grid-column: 2;
        grid-row: 2;
        align-self: stretch;
    }

    .nook-new-page .choice-main .section-heading-inline-title .heading-kicker,
    .nook-new-page .choice-main .section-heading-inline-title .heading-main {
        font-size: 23px;
    }

    .nook-new-page .choice-video .video-frame,
    .nook-new-page .choice-video .video-frame-portrait {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 100%;
        padding: 0;
    }

    .nook-new-page .choice-video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    /* 移动端蓝色说明文字位于视频左侧 */
    .nook-new-page .choice-summary {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        margin: 14px 0 0;
        padding: 16px 12px;
        grid-column: 1;
        grid-row: 2;
        align-self: stretch;
        display: block;
        background: #2f80bd;
        transform: none;
    }

    .nook-new-page .choice-summary p {
        margin: 0;
        color: #fff;
        font-size: 12px;
        line-height: 1.62;
    }

    .nook-new-page .choice-summary p + p {
        margin-top: 10px;
    }

    .nook-new-page .hope-layout {
        display: block;
    }

    .nook-new-page .hope-copy .heading-main {
        width: auto;
        max-width: 100%;
        min-width: 0;
        flex: 1 1 0;
        font-size: 23px;
        white-space: normal;
    }

    .nook-new-page .hope-copy .section-heading-inline-title .heading-kicker,
    .nook-new-page .hope-copy .section-heading-inline-title .heading-main {
        font-size: 23px;
    }

    .nook-new-page .hope-video {
        margin-top: 24px;
    }

    /* 5. 技术 */
    .nook-new-page .technology-intro {
        margin-bottom: 22px;
        text-align: left;
    }

    .nook-new-page .technology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nook-new-page .technology-card {
        border-radius: 6px;
    }

    .nook-new-page .technology-image,
    .nook-new-page .technology-image img {
        border-radius: 5px 5px 0 0;
    }

    .nook-new-page .technology-content {
        padding: 14px 12px 16px;
    }

    .nook-new-page .technology-content h3 {
        margin-bottom: 7px;
        font-size: 15px;
        line-height: 1.45;
    }

    .nook-new-page .technology-content p {
        font-size: 12px;
        line-height: 1.65;
    }

    /* 6 / 7. 标签页 */
    .nook-new-page .message-tab-list {
        display: flex;
        margin: 0 -15px 22px;
        padding: 0 15px 5px;
        overflow-x: auto;
        border-bottom: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nook-new-page .message-tab-list::-webkit-scrollbar {
        display: none;
    }

    .nook-new-page .message-tab {
        flex: 0 0 auto;
        min-width: 155px;
        min-height: 40px;
        margin-right: 10px;
        padding: 5px 12px;
        border: 1px solid #d9e1e7;
        border-radius: 999px;
        background: #fff;
        font-size: 13px;
        overflow: hidden;
        outline: none;
        box-shadow: none;
        -webkit-tap-highlight-color: transparent;
        transition: background-color .25s ease, color .25s ease,
        border-color .25s ease, transform .2s ease;
    }

    .nook-new-page .message-tab::after {
        display: none;
    }

    .nook-new-page .message-tab:focus,
    .nook-new-page .message-tab:focus-visible {
        outline: none;
        box-shadow: none;
    }

    .nook-new-page .message-tab.is-active {
        border-color: var(--nook-gold);
        background: var(--nook-gold);
        color: #fff;
        box-shadow: none;
        transform: translateY(-1px);
    }

    .nook-new-page .message-tab:active {
        transform: scale(.98);
    }

    .nook-new-page .message-panel {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .nook-new-page .message-panel-copy h3 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .nook-new-page .message-panel-media {
        width: 100%;
        box-shadow: none;
    }

    /* 8. 希望 */
    .nook-new-page .hope-conclusion {
        margin-top: 26px;
        padding: 20px 16px;
        border-left-width: 4px;
        text-align: left;
    }

    .nook-new-page .hope-conclusion h3 {
        font-size: 19px;
        line-height: 1.55;
    }

    /* 移动端滚动动画位移缩小 */
    .nook-new-page.reveal-ready .reveal-left {
        transform: translateX(-18px);
    }

    .nook-new-page.reveal-ready .reveal-right {
        transform: translateX(18px);
    }

    .nook-new-page.reveal-ready .reveal-up {
        transform: translateY(22px);
    }

    .nook-new-page.reveal-ready .reveal-up.is-visible,
    .nook-new-page.reveal-ready .reveal-left.is-visible,
    .nook-new-page.reveal-ready .reveal-right.is-visible {
        transform: translate(0, 0);
    }
}

/* ==========================================================
   减少动态效果
========================================================== */
@media (prefers-reduced-motion: reduce) {
    .nook-new-page *,
    .nook-new-page *::before,
    .nook-new-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .nook-new-page .reveal-up,
    .nook-new-page .reveal-left,
    .nook-new-page .reveal-right,
    .nook-new-page.reveal-ready .reveal-up,
    .nook-new-page.reveal-ready .reveal-left,
    .nook-new-page.reveal-ready .reveal-right {
        opacity: 1;
        transform: none;
    }
}
