/* ============================================================
   UP 内容页页面级组件库(独立文件,不走 grunt 编译)
   供 WHY U.P. / YOUR GOAL / PERSONAL TRAINING / 门店等复刻页共用
   类名前缀 .upf- ; 与 upchrome(框架件)/home(pg-/eq- 通用)互补
   色板: 品牌红 #e4002b / 墨黑 #161412 / 暖白 #f7f6f3 #efede9 / 灰 #888b8d
   字体: "Archivo Variablefont Wdth Wght"(正文/标题) + "Bebas Neue"(大数字/力量感标题)
   ============================================================ */

/* ---------------- 基础 --------------- */
.upf-btn-red {
    background: #e4002b;
    color: #fff;
    border-color: #e4002b;
}
.upf-btn-red:hover { background: #c60022; color: #fff; border-color: #c60022; }
.upf-btn-outline {
    background: transparent;
    color: #161412;
    border-color: #161412;
}
.upf-btn-outline:hover { background: #161412; color: #fff; }
.upf-btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.upf-btn-outline-white:hover { background: #fff; color: #161412; }

/* ---------------- 页头 hero --------------- */
.upf-hero { background: #fff; }
.upf-hero .up-container {
    padding-top: 84px;
    padding-bottom: 84px;
}
/* 全宽黑白横幅 hero(对齐目标站 header9: 首屏 = 横幅 flex:1 + 标题区, 合计正好占满白底导航以下的首屏) */
.upf-hero--banner {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 56px);
    min-height: calc(100svh - 56px);
    background: #fff;
}
.upf-hero--banner .upf-hero__banner {
    position: relative;
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: #161412;
}
.upf-hero--banner .upf-hero__banner img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(.85);
}
/* 胶片颗粒蒙版(对齐目标站: 其黑白摄影自带 film grain 颗粒, 目标站 CSS 的黑蒙版各页均隐藏未用, 故用 feTurbulence 噪点层等效复刻颗粒质感) */
.upf-hero__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 260px 260px;
}
.upf-hero--banner .up-container { flex: none; padding-top: 40px; padding-bottom: 40px; }
/* 短横幅变体(对齐目标站 div-block-65: 固定 70svh, 用于 /personal-training 与 /opt) */
.upf-hero--banner.upf-hero--banner-short { min-height: 0; }
.upf-hero--banner.upf-hero--banner-short .upf-hero__banner {
    flex: none;
    height: 70vh;
    height: 70svh;
}
/* 整屏横幅变体(对齐目标站 full-width-hero-image: 白底导航以下整屏图, 标题在图下一节, 用于 our-trainers) */
.upf-hero--banner.upf-hero--banner-full { min-height: 0; }
.upf-hero--banner.upf-hero--banner-full .upf-hero__banner {
    flex: none;
    height: calc(100vh - 56px);
    height: calc(100svh - 56px);
}
.upf-hero--dark {
    background: #161412;
    color: #fff;
}
.upf-hero--dark .upf-eyebrow { color: #fff; }
.upf-hero--dark .upf-h1 { color: #fff; }
.upf-hero--dark .upf-intro { color: rgba(255,255,255,.72); }
.upf-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #e4002b;
    margin: 0 0 16px;
}
.upf-h1 {
    font-family: "Archivo Variablefont Wdth Wght", Arial, sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.015em;
    color: #161412;
    margin: 0 0 20px;
    max-width: 760px;
}
.upf-h1 em {
    font-style: normal;
    color: #e4002b;
}
.upf-intro {
    font-size: 19px;
    line-height: 1.55;
    color: #5c5852;
    max-width: 600px;
    margin: 0 0 28px;
}
.upf-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- 通用区块 --------------- */
.upf-section { background: #fff; }
.upf-section--alt { background: #f7f6f3; }
.upf-section--dark { background: #161412; color: #fff; }
.upf-section .up-container { padding-top: 76px; padding-bottom: 76px; }
.upf-sec-head { margin-bottom: 44px; }
.upf-sec-head--center { text-align: center; }
.upf-sec-head--center .upf-sec-title,
.upf-sec-head--center .upf-sec-text { margin-left: auto; margin-right: auto; }
.upf-sec-title {
    font-family: "Archivo Variablefont Wdth Wght", Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #161412;
    margin: 0 0 16px;
    max-width: 720px;
}
.upf-sec-text {
    font-size: 17px;
    line-height: 1.6;
    color: #5c5852;
    max-width: 640px;
    margin: 0;
}
.upf-section--dark .upf-sec-title { color: #fff; }
.upf-section--dark .upf-sec-text { color: rgba(255,255,255,.72); }
.upf-section--alt .upf-sec-text { color: #5c5852; }
.upf-intro-copy { font-size: 17px; line-height: 1.7; color: #5c5852; max-width: 760px; }
.upf-intro-copy p { margin: 0 0 16px; }

/* ---------------- 统计墙 --------------- */
.upf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e8e6e2;
    border: 1px solid #e8e6e2;
    border-radius: 18px;
    overflow: hidden;
}
.upf-stat { background: #fff; padding: 38px 30px; }
.upf-stat--dark { background: #161412; }
.upf-stat__value {
    font-family: "Bebas Neue", "Archivo Variablefont Wdth Wght", sans-serif;
    font-size: 46px;
    line-height: 1;
    color: #e4002b;
    margin: 0 0 10px;
}
.upf-stat--dark .upf-stat__value { color: #fff; }
.upf-stat__label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.5;
    color: #5c5852;
    margin: 0;
}
.upf-stat--dark .upf-stat__label { color: rgba(255,255,255,.7); }

/* ---------------- 卡片网格 --------------- */
.upf-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.upf-card {
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 18px;
    padding: 34px 30px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.upf-card:hover { box-shadow: 0 16px 40px rgba(22,20,18,.08); transform: translateY(-3px); }
.upf-section--alt .upf-card { background: #fff; }
.upf-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f7f6f3;
    color: #e4002b;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}
.upf-card__title {
    font-size: 21px;
    font-weight: 700;
    color: #161412;
    margin: 0 0 10px;
    line-height: 1.3;
}
.upf-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #5c5852;
    margin: 0;
}

/* ---------------- 误区卡(目标站 myth 大卡+引语式标题) --------------- */
.upf-myths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.upf-myth {
    background: #fff;
    border: 1px solid #e8e6e2;
    border-left: 4px solid #e4002b;
    border-radius: 14px;
    padding: 30px 30px;
}
.upf-section--alt .upf-myth { background: #fff; }
.upf-myth__title {
    font-size: 19px;
    font-weight: 700;
    color: #161412;
    margin: 0 0 10px;
    line-height: 1.35;
}
.upf-myth__text {
    font-size: 15px;
    line-height: 1.6;
    color: #5c5852;
    margin: 0;
}

/* ---------------- FAQ 手风琴(对齐目标站 FinSweet accordion: 分隔线 + 加号旋转) --------------- */
.upf-faq { max-width: 860px; }
.upf-faq-item { border-bottom: 1px solid #e8e6e2; }
.upf-faq-item:first-child { border-top: 1px solid #e8e6e2; }
.upf-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    background: none;
    border: 0;
    padding: 22px 4px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #161412;
    text-align: left;
    cursor: pointer;
}
.upf-faq-q:hover { color: #e4002b; }
.upf-faq-icon {
    flex-shrink: 0;
    position: relative;
    width: 22px;
    height: 22px;
    display: block;
}
.upf-faq-icon::before,
.upf-faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #161412;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, background .25s ease;
}
.upf-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.upf-faq-q:hover .upf-faq-icon::before,
.upf-faq-q:hover .upf-faq-icon::after { background: #e4002b; }
.upf-faq-item.is-open .upf-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.upf-faq-a {
    display: none;
    padding: 0 40px 22px 4px;
    font-size: 15px;
    line-height: 1.65;
    color: #5c5852;
}
.upf-faq-item.is-open .upf-faq-a { display: block; }

/* ---------------- 深色 CTA --------------- */
.upf-cta { background: #161412; color: #fff; text-align: center; }
.upf-cta .up-container { padding-top: 84px; padding-bottom: 84px; }
.upf-cta__title {
    font-family: "Archivo Variablefont Wdth Wght", Arial, sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 auto 16px;
    max-width: 720px;
}
.upf-cta__text {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,.72);
    max-width: 560px;
    margin: 0 auto 30px;
}
.upf-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------------- 大引语 --------------- */
.upf-quote {
    background: #fff;
    text-align: center;
}
.upf-quote .up-container { padding-top: 72px; padding-bottom: 72px; }
.upf-quote__mark {
    font-family: "Bebas Neue", sans-serif;
    font-size: 64px;
    line-height: 1;
    color: #e4002b;
    display: block;
    margin-bottom: 8px;
}
.upf-quote__text {
    font-family: "Archivo Variablefont Wdth Wght", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: #161412;
    max-width: 900px;
    margin: 0 auto 18px;
}
.upf-quote__who {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e4002b;
    margin: 0;
}

/* ---------------- 视频(封面 + 灯箱/直插播放) --------------- */
.upf-video { position: relative; border-radius: 18px; overflow: hidden; }
.upf-video img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.upf-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: rgba(228, 0, 43, .92);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
    text-indent: 3px;
}
.upf-video__play:hover { transform: translate(-50%, -50%) scale(1.08); background: #e4002b; }
.upf-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
}

/* ---------------- 前后对比滑块 --------------- */
.upf-ba {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.upf-ba img {
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.upf-ba__after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
}
.upf-ba__after img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
}
.upf-ba-grid { display: grid; gap: 22px; }
.upf-ba-grid--multi { grid-template-columns: repeat(3, 1fr); }
.upf-ba__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-1px);
    z-index: 3;
}
.upf-ba__knob {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #161412;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: ew-resize;
    z-index: 4;
}
.upf-ba__tag {
    position: absolute;
    top: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    background: rgba(22,20,18,.72);
    color: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    z-index: 3;
}
.upf-ba__tag--before { left: 14px; }
.upf-ba__tag--after { right: 14px; }

/* ---------------- 时间线 --------------- */
.upf-timeline { position: relative; margin-top: 8px; }
.upf-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e8e6e2;
}
.upf-tl-item { position: relative; padding: 0 0 34px 40px; }
.upf-tl-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e4002b;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e4002b;
}
.upf-tl-item:last-child { padding-bottom: 0; }
.upf-tl-date {
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    letter-spacing: .06em;
    color: #e4002b;
    margin: 0 0 4px;
}
.upf-tl-title { font-size: 20px; font-weight: 700; color: #161412; margin: 0 0 8px; }
.upf-tl-text { font-size: 15px; line-height: 1.6; color: #5c5852; margin: 0; max-width: 640px; }

/* ---------------- 图文双列 --------------- */
.upf-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.upf-duo--reverse .upf-duo__media { order: 2; }
.upf-duo__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 18px;
}
.upf-duo__body .upf-eyebrow { margin-bottom: 12px; }
.upf-duo__title {
    font-family: "Archivo Variablefont Wdth Wght", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #161412;
    margin: 0 0 14px;
}
.upf-duo__text { font-size: 16px; line-height: 1.65; color: #5c5852; margin: 0 0 18px; }

/* ---------------- 定价卡(/opt + 门店价目) --------------- */
.upf-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}
/* 按组内卡片数收缩列数, 避免固定 3 列产生空列(store.html 按 count 加修饰类) */
.upf-price-grid--1 { max-width: 460px; grid-template-columns: 1fr; }
.upf-price-grid--2, .upf-price-grid--4 { grid-template-columns: repeat(2, 1fr); }
.upf-price {
    position: relative;
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 18px;
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
}
.upf-price--featured {
    border: 2px solid #161412;
    box-shadow: 0 20px 48px rgba(22,20,18,.1);
}
.upf-price__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #e4002b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    white-space: nowrap;
}
.upf-price__name {
    font-size: 18px;
    font-weight: 700;
    color: #161412;
    margin: 0 0 10px;
}
.upf-price__amount {
    font-family: "Bebas Neue", "Archivo Variablefont Wdth Wght", sans-serif;
    font-size: 52px;
    line-height: 1;
    color: #161412;
    margin: 0 0 4px;
}
.upf-price__cur { font-size: 26px; vertical-align: top; }
.upf-price__per { font-size: 18px; color: #888b8d; letter-spacing: .02em; }
.upf-price__note { font-size: 13px; color: #8a867f; margin: 0 0 18px; }
.upf-price__list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}
.upf-price__list li {
    position: relative;
    padding: 7px 0 7px 24px;
    font-size: 14.5px;
    color: #5c5852;
    line-height: 1.5;
}
.upf-price__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 7px;
    color: #e4002b;
    font-weight: 700;
}

/* ---------------- 数字编号卡(六阶段/招聘流程) --------------- */
.upf-num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.upf-num {
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 16px;
    padding: 30px 28px;
    position: relative;
}
.upf-num__index {
    font-family: "Bebas Neue", sans-serif;
    font-size: 34px;
    color: #e4002b;
    line-height: 1;
    margin: 0 0 14px;
}
.upf-num__title { font-size: 19px; font-weight: 700; color: #161412; margin: 0 0 10px; line-height: 1.3; }
.upf-num__text { font-size: 14.5px; line-height: 1.6; color: #5c5852; margin: 0; }

/* ---------------- 真实客户案例卡(YOUR GOAL 子页) --------------- */
.upf-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.upf-result {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e6e2;
    color: #161412;
    text-decoration: none;
    transition: box-shadow .25s ease, transform .25s ease;
}
.upf-result:hover { box-shadow: 0 16px 40px rgba(22,20,18,.08); transform: translateY(-3px); color: #161412; }
.upf-result__img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.upf-result__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.upf-result__meta { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #e4002b; margin: 0 0 6px; }
.upf-result__title { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 14px; }
.upf-result__link { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #161412; margin-top: auto; }
.upf-card { position: relative; }
.upf-card--link:hover { text-decoration: none; }
.upf-card--link .upf-card__title { color: #161412; }
.upf-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin: 0 0 6px;
}
.upf-card__body { display: flex; flex-direction: column; }

/* ---------------- 媒体 logo 墙(press) ---------------- */
.upf-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: center;
}
.upf-logo {
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upf-logo img {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .72;
}

/* ---------------- 门店地图嵌入(单店页) ---------------- */
.upf-map-embed {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8e6e2;
}
.upf-map-embed iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}
.upf-map-fallback {
    margin: 10px 0 0;
    font-size: 13px;
    color: #8a867f;
}
.upf-map-fallback a { color: #e4002b; text-decoration: underline; }

/* ---------------- 博客卡片与文章 ---------------- */
/* 卡片行改 flex 等高网格: 浮动布局下"行末短卡"会让下一张卡掉到它正下方,
   形成右侧孤卡 + 左侧整块空白(行序变 3,1,3,3,2)。flex 换行按宽度整行推进 */
.row.blog-row { display: flex; flex-wrap: wrap; }
.row.blog-row > .blog-card-col { display: flex; }
.blog-card.upf-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #161412;
    text-decoration: none;
    transition: box-shadow .25s ease, transform .25s ease;
}
.blog-card.upf-post:hover { box-shadow: 0 16px 40px rgba(22,20,18,.08); transform: translateY(-3px); color: #161412; }
.upf-post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.upf-post__meta { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a867f; margin: 0 0 8px; }
.upf-post__title { font-size: 19px; font-weight: 700; line-height: 1.35; color: #161412; margin: 0 0 10px; }
.upf-post__excerpt { font-size: 14px; line-height: 1.6; color: #5c5852; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.upf-post__link { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #161412; margin-top: auto; }
.upf-pagination { margin-top: 12px; text-align: center; }
.upf-search { display: flex; gap: 12px; max-width: 560px; margin: 0 0 44px; }
.upf-search__input {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #d8d5d0;
    border-radius: 100px;
    font-size: 15px;
    font-family: inherit;
    color: #161412;
    background: #fff;
}
.upf-search__input:focus { outline: none; border-color: #161412; }
.upf-pagination .pagination { display: inline-flex; gap: 6px; list-style: none; padding: 0; }
.upf-pagination .pagination li a, .upf-pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e8e6e2;
    border-radius: 8px;
    color: #161412;
    font-size: 14px;
    text-decoration: none;
    background: #fff;
}
.upf-pagination .pagination li.active span, .upf-pagination .pagination li.active a { background: #161412; color: #fff; border-color: #161412; }
.upf-article-hero {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 44px;
}
.upf-article { max-width: 780px; margin: 0 auto; }
.upf-article p img { max-width: 100%; height: auto; border-radius: 12px; }
.upf-article-meta { color: #8a867f; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------------- spotlight 视频卡 ---------------- */
.upf-vidcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 16px;
    overflow: hidden;
    color: #161412;
    text-decoration: none;
    transition: box-shadow .25s ease, transform .25s ease;
}
.upf-vidcard:hover { box-shadow: 0 16px 40px rgba(22,20,18,.08); transform: translateY(-3px); color: #161412; }
.upf-vidcard__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #161412;
}
.upf-vidcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.upf-vidcard__media--placeholder {
    background: linear-gradient(135deg, #2c2925 0%, #161412 60%, #e4002b 160%);
}
.upf-vidcard__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(228, 0, 43, .92);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 3px;
    transition: transform .2s ease;
}
.upf-vidcard:hover .upf-vidcard__play { transform: translate(-50%, -50%) scale(1.1); }
.upf-vidcard__body { padding: 18px 20px 20px; }
.upf-vidcard__title { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0; }
.upf-gym-details .upf-faq-a { max-width: 480px; }

/* ---------------- /press 专属(目标站 header13/header1/blog1 一比一) --------------- */
/* 视频灯箱 hero: min-height 80vh 媒体墙图 + 居中播放键 */
.upf-phero { background: #fff; }
.upf-phero__box {
    position: relative;
    display: block;
    min-height: 80vh;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}
.upf-phero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.upf-phero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 1, 1, .25);
    transition: background .3s ease;
}
.upf-phero__box:hover .upf-phero__overlay { background: rgba(1, 1, 1, .4); }
.upf-phero__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.upf-phero__play svg {
    width: 80px;
    height: 80px;
    padding: 22px;
    box-sizing: border-box;
    background: rgba(22, 20, 18, .55);
    border-radius: 50%;
    transition: transform .3s ease, background .3s ease;
}
.upf-phero__box:hover .upf-phero__play svg { transform: scale(1.08); background: rgba(228, 0, 43, .9); }

/* 视频弹层 */
.upf-plbx { position: fixed; inset: 0; z-index: 3000; }
.upf-plbx[hidden] { display: none; }
.upf-plbx__backdrop { position: absolute; inset: 0; background: rgba(1, 1, 1, .82); }
.upf-plbx__body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}
.upf-plbx__frame {
    position: relative;
    width: 100%;
    max-width: 1120px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.upf-plbx__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.upf-plbx__close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.upf-plbx__close:hover { background: rgba(255, 255, 255, .3); }

/* 图文双列(目标站 header1_content: 1fr 1fr, gap 5rem; 右图 aspect 1 圆角 24) */
.upf-pabout { background: #fff; }
.upf-pabout .up-container { padding-top: 96px; padding-bottom: 96px; }
.upf-pabout__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px 80px;
    align-items: center;
}
.upf-pabout .upf-h1 { font-size: 52px; margin-bottom: 24px; }
.upf-pabout__p { font-size: 18px; line-height: 1.55; color: #33302b; margin: 0 0 18px; }
.upf-pabout__mail { color: #e4002b; text-decoration: none; }
.upf-pabout__mail:hover { text-decoration: underline; }
.upf-pabout__media {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
}
.upf-pabout__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Latest news(目标站 blog1: 居中标题 + 3 列卡片, 日期米色胶囊) */
.upf-pnews { background: #fff; }
.upf-pnews .up-container { padding-top: 40px; padding-bottom: 120px; }
.upf-pnews__title {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #161412;
    text-align: center;
    margin: 0 0 72px;
}
.upf-pnews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 32px;
    max-width: 1280px;
    margin: 0 auto;
}
.upf-pnews__card { display: block; text-decoration: none; }
.upf-pnews__date {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 16px;
    background: #f7f6f3;
    font-size: 14px;
    color: #161412;
}
.upf-pnews__cardtitle {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.014em;
    color: #161412;
    margin: 14px 0 10px;
}
.upf-pnews__text { font-size: 16px; line-height: 1.5; color: #33302b; margin: 0; }
.upf-pnews__card:hover .upf-pnews__cardtitle { text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- 响应式 --------------- */
@media (max-width: 991px) {
    .upf-h1 { font-size: 46px; }
    /* /press 响应式(目标站: 2 列卡, 图文区改单列) */
    .upf-pabout__grid { grid-template-columns: 1fr; gap: 40px; }
    .upf-pabout .upf-h1 { font-size: 46px; }
    .upf-pnews__grid { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
    .upf-pnews__title { font-size: 42px; margin-bottom: 52px; }
    .upf-pabout .up-container { padding-top: 64px; padding-bottom: 64px; }
    .upf-duo { grid-template-columns: 1fr; gap: 32px; }
    .upf-duo--reverse .upf-duo__media { order: 0; }
    .upf-cards { grid-template-columns: repeat(2, 1fr); }
    .upf-logos { grid-template-columns: repeat(3, 1fr); }
    .upf-stats { grid-template-columns: repeat(3, 1fr); }
    .upf-ba-grid--multi { grid-template-columns: repeat(2, 1fr); }
    .upf-price-grid, .upf-price-grid--1, .upf-price-grid--2, .upf-price-grid--4 { grid-template-columns: 1fr; max-width: 460px; }
    .upf-price { padding: 32px 26px; }
    .upf-num-grid { grid-template-columns: repeat(2, 1fr); }
    .upf-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .upf-hero .up-container { padding-top: 48px; padding-bottom: 48px; }
    .upf-h1 { font-size: 36px; }
    /* /press 响应式(目标站: 单列卡) */
    .upf-phero__box { min-height: 0; height: 60vh; height: 60svh; }
    .upf-pnews__grid { grid-template-columns: 1fr; gap: 40px; }
    .upf-pnews__title { font-size: 34px; margin-bottom: 40px; }
    .upf-pabout .up-container { padding-top: 48px; padding-bottom: 48px; }
    .upf-plbx__body { padding: 16px; }
    /* 目标站 ≤767 取消满屏锁定, 横幅改 60svh(其平板区间横幅塌陷为 bug, 不复刻) */
    .upf-hero--banner { min-height: 0; }
    .upf-hero--banner .upf-hero__banner { flex: none; height: 60vh; height: 60svh; }
    .upf-hero--banner.upf-hero--banner-short .upf-hero__banner { height: 60vh; height: 60svh; }
    .upf-hero--banner .up-container { padding-top: 40px; padding-bottom: 40px; }
    .upf-intro { font-size: 17px; }
    .upf-sec-title { font-size: 28px; }
    .upf-section .up-container { padding-top: 52px; padding-bottom: 52px; }
    .upf-cards { grid-template-columns: 1fr; gap: 16px; }
    .upf-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .upf-logo { padding: 16px; }
    .upf-stats { grid-template-columns: 1fr; }
    .upf-myths { grid-template-columns: 1fr; }
    .upf-stat { padding: 26px 22px; }
    .upf-cta__title { font-size: 32px; }
    .upf-quote__text { font-size: 23px; }
    .upf-faq-q { font-size: 16px; padding: 18px 2px; }
    .upf-price-grid { gap: 18px; }
    .upf-num-grid { grid-template-columns: 1fr; gap: 14px; }
    .upf-results { grid-template-columns: 1fr; gap: 16px; }
}
/* ---------------- 目标站 Why U.P. 对齐: 要点列表 + 区块内动作按钮 --------------- */
.upf-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; max-width: 720px; }
.upf-points li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; color: #161412; }
.upf-points li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: #e60012; border-radius: 50%; }
.upf-section--dark .upf-points li { color: #f2f0ea; }
.upf-section--dark .upf-points li::before { background: #e60012; }
.upf-sec-actions { margin-top: 26px; }
.upf-sec-actions .up-btn, .upf-duo__actions .up-btn { margin-right: 10px; margin-bottom: 10px; }
@media (max-width: 767px) {
    .upf-points { gap: 12px; }
    .upf-points li { font-size: 15px; }
}

/* ---------------- 员工公示卡(quote 卡, careers 页) --------------- */
.upf-card--quote { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8e4dc; border-radius: 16px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.upf-card--quote:hover { box-shadow: 0 12px 32px rgba(22,20,18,.10); transform: translateY(-4px); }
.upf-card__photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #161412; }
.upf-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(100%); }
.upf-card--quote .upf-card__body { padding: 22px 22px 24px; }
.upf-card--quote .upf-card__title { font-size: 19px; margin: 0 0 2px; }
.upf-card__role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e60012; margin: 0 0 12px; }
.upf-card--quote .upf-card__text { font-size: 14px; line-height: 1.65; color: #4a4742; margin: 0 0 14px; }
.upf-card__quote { margin: 12px 0 0; padding: 14px 16px; background: #f7f6f3; border-left: 3px solid #e60012; border-radius: 0 8px 8px 0; font-size: 14.5px; line-height: 1.6; color: #161412; font-style: italic; }
@media (max-width: 767px) {
    .upf-card--quote .upf-card__photo { aspect-ratio: 4 / 3; }
}

/* ---------------- 障碍卡 + 客户故事(your-goal hub 对齐) --------------- */
.upf-myth__story { margin: 10px 0 0; padding: 14px 16px; background: #f7f6f3; border-left: 3px solid #e60012; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.6; color: #4a4742; }
.upf-myth__link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: #e60012; text-decoration: underline; text-underline-offset: 3px; }
.upf-myth__link:hover { color: #b0000d; }
.upf-myth__link .up-arrow { margin-left: 4px; }

/* ---------------- 博客详情页(对齐目标站: 全宽横幅 + 面包屑 + PUBLISHED) --------------- */
.upf-blog-hero .up-container { padding-top: 48px; padding-bottom: 56px; }
.upf-blog-hero__banner { width: 100%; border-radius: 0; overflow: hidden; margin-bottom: 40px; }
.upf-blog-hero__banner img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.upf-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13px; letter-spacing: .04em; color: #8a867f; }
.upf-crumb a { color: #161412; text-transform: uppercase; text-decoration: none; }
.upf-crumb a:hover { color: #e60012; }
.upf-crumb__sep { color: #c9c5bd; }
.upf-crumb__cur { color: #8a867f; text-transform: uppercase; }
.upf-blog-hero__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: #8a867f; font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; }
.upf-blog-hero__pub { font-weight: 600; color: #161412; }
.upf-blog-hero__author { color: #8a867f; }
@media (max-width: 767px) {
    .upf-blog-hero__banner { margin-bottom: 28px; }
    .upf-crumb { font-size: 12px; }
}

/* ---------------- 门店价目表(/personal-trainer/:city/:store, 数据 extra/storeprices.php) ---------------- */
/* 新客体验课高亮条 */
.upf-trialbar {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #e4002b;
    color: #fff;
    border-radius: 18px;
    padding: 22px 30px;
    margin-bottom: 34px;
}
.upf-trialbar__info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upf-trialbar__badge {
    background: #fff;
    color: #e4002b;
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}
.upf-trialbar__title { font-size: 20px; font-weight: 700; white-space: nowrap; }
.upf-trialbar__items { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.upf-trialbar__item {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 15.5px;
    font-weight: 600;
    white-space: nowrap;
}
.upf-trialbar__btn { margin-left: auto; white-space: nowrap; }

/* 分组定价卡(参考站 /opt 风格: 组标题 + upf-price 卡阵列) */
.upf-pricegroup { margin-top: 8px; }
.upf-pricegroup:first-of-type { margin-top: 0; }
.upf-pricegroup__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e6e2;
}
.upf-pricegroup:first-of-type .upf-pricegroup__head { margin-top: 0; }
.upf-pricegroup__title { font-size: 22px; font-weight: 700; color: #161412; margin: 0; }
.upf-pricegroup__en { font-size: 11px; color: #8a867f; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.upf-pricegroup__note {
    margin: 16px 0 0;
    color: #8a867f;
    font-size: 12.5px;
    line-height: 1.7;
}
.upf-pricing-disclaimer {
    margin: 30px 0 0;
    color: #8a867f;
    font-size: 12.5px;
    text-align: center;
}
/* 定价卡补充: 期限标签 / SAVE 角标 / 全宽按钮 */
.upf-price__term {
    font-size: 12px;
    font-weight: 700;
    color: #8a867f;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 10px;
}
.upf-price__save {
    display: inline-block;
    vertical-align: middle;
    background: #e4002b;
    color: #fff;
    border-radius: 100px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-left: 8px;
    transform: translateY(-6px);
}
.upf-price .up-btn { width: 100%; text-align: center; margin-top: 18px; }
.upf-price .upf-price__list { flex: 1; }

/* 门店优势: 小节标题 / 器械设施信息条 / 评价标签 */
.upf-subhead { font-size: 22px; font-weight: 700; color: #161412; margin: 44px 0 18px; }
.upf-storeinfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 26px;
}
.upf-storeinfo__item {
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 18px;
    padding: 26px 28px;
}
.upf-storeinfo__num {
    display: block;
    font-family: 'Bebas Neue', 'Archivo Variablefont Wdth Wght', sans-serif;
    font-size: 46px;
    line-height: 1;
    color: #e4002b;
    margin-bottom: 10px;
}
.upf-storeinfo__num--label {
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    color: #161412;
}
.upf-storeinfo__text { color: #5f5b55; font-size: 14.5px; line-height: 1.75; margin: 0; }
.upf-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.upf-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #161412;
}
.upf-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e4002b;
}

@media (max-width: 991px) {
    .upf-storeinfo { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .upf-trialbar { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
    .upf-trialbar__title { white-space: normal; }
    .upf-trialbar__btn { margin-left: 0; }
}
