.yn-nav__item{position:relative;display:flex;align-items:center;}
.yn-nav__item>a{display:inline-flex;align-items:center;gap:7px;}
.yn-caret{width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-1px);opacity:.55;transition:transform .25s;flex:none;}
.yn-nav__item:hover .yn-caret,.yn-nav__item:focus-within .yn-caret{transform:rotate(225deg) translateY(-1px);}
.yn-nav__drop{position:absolute;top:calc(100% + 16px);left:50%;transform:translate(-50%,10px);width:310px;padding:8px;background:#0a1a14;border:1px solid rgba(255,255,255,.13);box-shadow:0 22px 50px rgba(0,0,0,.28);opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s;z-index:9991;}
.yn-nav__item:hover .yn-nav__drop,.yn-nav__item:focus-within .yn-nav__drop{opacity:1;visibility:visible;transform:translate(-50%,0);}
.yn-nav__drop a{display:block;padding:13px 15px!important;border-bottom:1px solid rgba(255,255,255,.08);text-decoration:none!important;letter-spacing:.01em!important;}
.yn-nav__drop a:last-child{border-bottom:0;}
.yn-nav__drop a::after{display:none!important;}
.yn-nav__drop a:hover{background:rgba(255,255,255,.06);}
.yn-nav__drop b{display:block;font-family:var(--serif);font-size:16px;font-weight:500;line-height:1.4;color:#fff;letter-spacing:.02em;}
.yn-nav__drop span{display:block;margin-top:3px;font-family:var(--sans);font-size:11.5px;line-height:1.6;color:rgba(255,255,255,.48);letter-spacing:.02em;}
.yn-mobile__quick{margin-top:26px;}
.yn-mobile__quick>p{margin:0 0 12px!important;font-size:10px;letter-spacing:.22em;color:var(--gold-light);}
.yn-mobile__quick>div{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.1);}
.yn-mobile__quick a{display:block;padding:11px 10px;background:#0a1a14;font-size:13px;line-height:1.5;color:rgba(255,255,255,.66)!important;text-decoration:none!important;}
.yn-mobile__quick a:hover{color:#fff!important;}
@media(max-width:820px){.yn-mobile__quick{margin-top:22px;}}
@media(max-width:1100px){
.yn-footer{padding-top:46px!important;}
.yn-footer__cta{display:none!important;}
.yn-footer__col:nth-child(2),.yn-footer__col:nth-child(3),.yn-footer__col:nth-child(4){display:none!important;}
.yn-footer__grid{grid-template-columns:minmax(0,1fr) auto!important;gap:20px 24px!important;align-items:start!important;padding:0 0 28px!important;}
.yn-footer__brand{display:block!important;padding:0 0 0 clamp(30px,5vw,56px)!important;border:0!important;min-width:0!important;}
.yn-footer__brand .yn-logo{margin:0!important;}
.yn-footer .yn-logo__img--footer{height:32px!important;width:auto!important;max-width:130px!important;object-fit:contain;}
.yn-footer__brand p{display:block!important;margin:12px 0 0!important;max-width:100%!important;font-size:11.5px!important;line-height:1.9!important;color:rgba(255,255,255,.45)!important;}
.yn-footer__col:last-child{justify-self:end;text-align:left;max-width:300px;padding:0!important;}
.yn-footer__col:last-child h4{font-size:14px!important;letter-spacing:.16em!important;margin-bottom:10px!important;color:#d8c094!important;}
.yn-footer address{font-size:12px!important;line-height:2!important;}
}
@media(max-width:560px){
.yn-footer__brand{padding-left:30px!important;}
.yn-footer .yn-logo__img--footer{height:28px!important;max-width:104px!important;}
.yn-footer__brand p{font-size:11px!important;line-height:1.88!important;margin-top:10px!important;}
.yn-footer__col:last-child{max-width:200px;}
.yn-footer__col:last-child h4{font-size:13px!important;margin-bottom:8px!important;}
.yn-footer address{font-size:11px!important;line-height:1.95!important;}
}
/* Longevity specialty areas v2 (native Elementor components) */
.yn-spec-sec{background:transparent;border-top:0;}
.yn-sec--approach{padding-top:56px!important;padding-bottom:44px!important;}
body.elementor-template-canvas .elementor-element.yn-spec-sec{padding:72px 48px 84px!important;}
body.elementor-template-canvas .elementor-element.yn-spec-card{padding:24px 22px 22px!important;}
.yn-spec-wrap{width:100%!important;max-width:1440px!important;margin:0 auto!important;}
body.elementor-template-canvas .elementor-element.yn-spec-wrap{margin:0 auto!important;}
body.elementor-template-canvas .elementor-element.yn-spec-head{margin:0 0 clamp(34px,4.4vw,58px)!important;}
body.elementor-template-canvas .elementor-element.yn-spec-actions{margin:18px 0 0!important;}
body.elementor-template-canvas .elementor-element.yn-spec-foot{margin:34px 0 0!important;}
.yn-spec-head{display:flex!important;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px 64px;margin-bottom:clamp(34px,4.4vw,58px);}
.yn-spec-head__left{flex:1 1 520px!important;min-width:0;max-width:none!important;}
.yn-spec-eyebrow .elementor-heading-title{display:flex;align-items:center;gap:14px;margin:0 0 18px;font-size:11px;letter-spacing:.28em;font-weight:500;color:var(--gold);text-transform:uppercase;line-height:1.6;}
.yn-spec-eyebrow .elementor-heading-title::before{content:'';width:38px;height:1px;background:currentColor;opacity:.85;flex:none;}
.yn-spec-title .elementor-heading-title{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(32px,3.4vw,54px);line-height:1.24;color:var(--ink);}
.yn-spec-note{flex:0 1 460px!important;max-width:460px;}
.yn-spec-note p{margin:0 0 8px;font-size:15px;line-height:2;color:#5f6b61;}
.yn-spec-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;align-items:stretch;}
.yn-spec-grid>.e-con{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;}
.yn-spec-card{position:relative;overflow:hidden;justify-content:flex-end!important;min-height:360px!important;background-color:var(--ink);border:1px solid rgba(18,38,31,.08);}
.yn-spec-card>.elementor-background-overlay{z-index:1;}
.yn-spec-card>*:not(.elementor-background-overlay){position:relative;z-index:2;}
.yn-spec-card .elementor-widget-heading,.yn-spec-card .elementor-widget-text-editor{margin:0;}
.yn-spec-no .elementor-heading-title{margin:0;font-family:var(--serif);font-size:12px;font-weight:400;letter-spacing:.18em;line-height:1.2;color:var(--gold-light);}
.yn-spec-card .yn-spec-name .elementor-heading-title{margin:9px 0 8px;font-family:var(--serif);font-size:21px;font-weight:500;line-height:1.45;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.25);}
.yn-spec-desc p{margin:0;font-size:12.5px;line-height:1.8;color:rgba(255,255,255,.76);font-weight:300;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.6em;}
.yn-spec-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:10px;width:100%;}
.yn-spec-actions>.e-con{width:auto!important;}
.yn-spec-card .elementor-widget-button{margin:0;}
.yn-spec-actions>.elementor-widget-button,.yn-spec-foot>.elementor-widget-button{width:auto!important;max-width:none!important;flex:0 0 auto!important;}
.yn-spec-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;border-radius:0;box-shadow:none;padding:9px 14px;font-size:11px;line-height:1.5;letter-spacing:.06em;transition:background .25s,border-color .25s,color .25s;}
.yn-spec-btn--more .elementor-button{background:transparent!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;}
.yn-spec-btn--more .elementor-button:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.65)!important;}
.yn-spec-btn--consult .elementor-button{background:var(--gold)!important;border:1px solid var(--gold)!important;color:var(--ink)!important;font-weight:500;letter-spacing:.08em;}
.yn-spec-btn--consult .elementor-button:hover{background:var(--gold-light)!important;border-color:var(--gold-light)!important;}
.yn-spec-foot{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 28px;margin-top:34px;}
.yn-spec-foot>.elementor-widget-text-editor{width:auto!important;max-width:640px!important;flex:1 1 520px!important;}
.yn-spec-foot__note p{margin:0;max-width:640px;font-size:12px;line-height:1.9;color:#7a857b;}
.yn-spec-cta .elementor-button{background:transparent!important;border:1px solid var(--ink)!important;color:var(--ink)!important;border-radius:0;padding:11px 18px;font-size:12px;letter-spacing:.06em;transition:background .25s,color .25s;}
.yn-spec-cta .elementor-button:hover{background:var(--ink)!important;color:var(--ivory)!important;}
@media(max-width:1200px){.yn-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:900px){.yn-spec-note{flex:1 1 100%!important;max-width:100%;}.yn-spec-head{align-items:flex-start;}}
@media(max-width:900px){body.elementor-template-canvas .elementor-element.yn-spec-sec{padding:60px 32px 68px!important;}.yn-sec--approach{padding-top:48px!important;padding-bottom:40px!important;}}
@media(max-width:560px){
body.elementor-template-canvas .elementor-element.yn-spec-sec{padding:52px 22px 60px!important;}
.yn-sec--approach{padding-top:40px!important;padding-bottom:36px!important;}
body.elementor-template-canvas .elementor-element.yn-spec-card{padding:22px 20px 20px!important;}
.yn-spec-card{min-height:320px!important;}
.yn-spec-grid{grid-template-columns:1fr;gap:12px!important;}
.yn-spec-card .yn-spec-name .elementor-heading-title{font-size:20px;}
.yn-spec-desc p{font-size:13px;}
.yn-spec-foot{margin-top:26px;}
}
/* Longevity program details gallery - all content visible */
.yn-detail-sec{padding:clamp(72px,7vw,104px) 0!important;}
.yn-detail-sec .yn-sec-head{margin-bottom:clamp(30px,3.8vw,48px)!important;}
.yn-detail-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:stretch;}
.yn-detail-card{position:relative;grid-column:span 4;display:flex;flex-direction:column;height:100%;background:#fffdf8;border:1px solid rgba(18,38,31,.11);overflow:hidden;scroll-margin-top:112px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.yn-detail-card::before{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:var(--gold);opacity:.58;z-index:2;}
.yn-detail-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(18,38,31,.09);border-color:rgba(18,38,31,.18);}
.yn-detail-card:target{border-color:rgba(185,154,98,.72);box-shadow:0 0 0 3px rgba(185,154,98,.13);}
.yn-detail-card--feature{grid-column:span 7;flex-direction:row;}
.yn-detail-card--side{grid-column:span 5;}
.yn-detail-card__media{position:relative;overflow:hidden;flex:none;background:#e8e2d6;min-height:160px;}
.yn-detail-card:not(.yn-detail-card--feature) .yn-detail-card__media{height:168px;}
.yn-detail-card--side .yn-detail-card__media{height:184px;}
.yn-detail-card--feature .yn-detail-card__media{width:46%;height:auto;min-height:0;align-self:stretch;}
.yn-detail-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1);}
.yn-detail-card:hover .yn-detail-card__media img{transform:scale(1.035);}
.yn-detail-card__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,20,14,0) 55%,rgba(8,20,14,.28));pointer-events:none;}
.yn-detail-card--feature .yn-detail-card__media::after{background:linear-gradient(90deg,rgba(8,20,14,.03),rgba(8,20,14,0) 48%);}
.yn-detail-card__tag{position:absolute;left:14px;top:14px;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:24px;padding:0 8px;background:rgba(246,241,231,.93);color:var(--ink);font-family:var(--serif);font-size:11px;letter-spacing:.08em;}
.yn-detail-card__body{display:flex;flex-direction:column;flex:1;padding:20px 20px 22px;}
.yn-detail-card--feature .yn-detail-card__body{width:54%;padding:28px 30px;justify-content:center;}
.yn-detail-card__eyebrow{margin:0 0 9px;font-size:10px;letter-spacing:.16em;line-height:1.5;color:var(--gold);text-transform:uppercase;}
.yn-detail-card h3{margin:0 0 9px;font-family:var(--serif);font-size:21px;line-height:1.4;font-weight:500;color:var(--ink);}
.yn-detail-card--feature h3{font-size:27px;line-height:1.3;}
.yn-detail-card__desc{margin:0;font-size:12.5px;line-height:1.85;color:#5f6b61;}
.yn-detail-card--feature .yn-detail-card__desc{font-size:13.5px;line-height:1.9;}
.yn-detail-card__points{list-style:none;margin:14px 0 0;padding:13px 0 0;border-top:1px solid rgba(18,38,31,.1);display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;}
.yn-detail-card__points li{position:relative;padding-left:11px;font-size:11px;line-height:1.65;color:#6b756c;}
.yn-detail-card__points li::before{content:"";position:absolute;left:0;top:.68em;width:4px;height:4px;border-radius:50%;background:var(--gold);}
@media(max-width:1200px){
.yn-detail-card--feature{grid-column:span 12;min-height:340px;}
.yn-detail-card--side{grid-column:span 6;}
.yn-detail-card:not(.yn-detail-card--feature){grid-column:span 6;}
.yn-detail-card:not(.yn-detail-card--feature) .yn-detail-card__media{height:190px;}
}
@media(max-width:820px){
.yn-detail-card--feature{flex-direction:column;min-height:0;}
.yn-detail-card--feature .yn-detail-card__media{width:100%;height:220px;min-height:0;align-self:auto;}
.yn-detail-card--feature .yn-detail-card__body{width:100%;padding:22px 20px 24px;justify-content:flex-start;}
.yn-detail-card--feature h3{font-size:23px;}
.yn-detail-card--feature .yn-detail-card__desc{font-size:13px;}
}
@media(max-width:640px){
.yn-detail-sec{padding:64px 0!important;}
.yn-detail-gallery{grid-template-columns:1fr;gap:14px;}
.yn-detail-card,.yn-detail-card:not(.yn-detail-card--feature),.yn-detail-card--feature,.yn-detail-card--side{grid-column:1/-1;width:100%;}
.yn-detail-card__media,.yn-detail-card--side .yn-detail-card__media,.yn-detail-card:not(.yn-detail-card--feature) .yn-detail-card__media{height:180px!important;}
.yn-detail-card--feature .yn-detail-card__media{height:200px!important;}
.yn-detail-card__points{grid-template-columns:1fr;}
}
/* Checkup screening modules (native) */
.yn-prog-sec{background:var(--ivory);}
.yn-prog-wrap{width:100%!important;max-width:1440px!important;}
body.elementor-template-canvas .elementor-element.yn-prog-sec{padding:110px 48px!important;}
body.elementor-template-canvas .elementor-element.yn-prog-wrap{margin:0 auto!important;}
body.elementor-template-canvas .elementor-element.yn-prog-head{margin:0 0 clamp(34px,4.4vw,58px)!important;}
body.elementor-template-canvas .elementor-element.yn-prog-card{padding:26px 24px 22px!important;}
.yn-prog-head{display:flex!important;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px 64px;}
.yn-prog-head__left{flex:1 1 520px!important;min-width:0;max-width:none!important;}
.yn-prog-eyebrow .elementor-heading-title{display:flex;align-items:center;gap:14px;margin:0 0 18px;font-size:11px;letter-spacing:.28em;font-weight:500;color:var(--gold);text-transform:uppercase;line-height:1.6;}
.yn-prog-eyebrow .elementor-heading-title::before{content:'';width:38px;height:1px;background:currentColor;opacity:.85;flex:none;}
.yn-prog-title .elementor-heading-title{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(32px,3.4vw,54px);line-height:1.24;color:var(--ink);}
.yn-prog-note{flex:0 1 460px!important;max-width:460px;}
.yn-prog-note p{margin:0;font-size:15px;line-height:2;color:#5f6b61;}
.yn-prog-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important;align-items:stretch;}
.yn-prog-grid>.e-con{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;}
.yn-prog-card{position:relative;overflow:hidden;justify-content:flex-end!important;min-height:320px!important;background-color:var(--ink);border:1px solid rgba(18,38,31,.08);}
.yn-prog-card>.elementor-background-overlay{z-index:1;}
.yn-prog-card>*:not(.elementor-background-overlay){position:relative;z-index:2;}
.yn-prog-card .elementor-widget-heading,.yn-prog-card .elementor-widget-text-editor,.yn-prog-card .elementor-widget-button{margin:0;}
.yn-prog-no .elementor-heading-title{margin:0;font-family:var(--serif);font-size:12px;font-weight:400;letter-spacing:.18em;line-height:1.2;color:var(--gold-light);}
.yn-prog-card .yn-prog-name .elementor-heading-title{margin:9px 0 8px;font-family:var(--serif);font-size:22px;font-weight:500;line-height:1.4;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.25);}
.yn-prog-desc p{margin:0;font-size:12.5px;line-height:1.85;color:rgba(255,255,255,.78);font-weight:300;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.7em;}
body.elementor-template-canvas .elementor-element.yn-prog-actions{margin:16px 0 0!important;display:flex!important;flex-direction:row!important;justify-content:flex-end!important;width:100%;}
.yn-prog-actions>.elementor-widget-button{width:auto!important;max-width:none!important;flex:0 0 auto!important;}
.yn-prog-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 0;background:transparent!important;border:0!important;border-radius:0;box-shadow:none;font-size:11.5px;letter-spacing:.08em;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.45)!important;transition:color .25s,border-color .25s;}
.yn-prog-btn .elementor-button:hover{color:var(--gold-light)!important;border-color:var(--gold-light)!important;}
@media(max-width:1100px){.yn-prog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:900px){
body.elementor-template-canvas .elementor-element.yn-prog-sec{padding:84px 32px!important;}
.yn-prog-note{flex:1 1 100%!important;max-width:100%;}
.yn-prog-head{align-items:flex-start;}
}
@media(max-width:560px){
body.elementor-template-canvas .elementor-element.yn-prog-sec{padding:64px 22px!important;}
body.elementor-template-canvas .elementor-element.yn-prog-card{padding:22px 20px 18px!important;}
.yn-prog-grid{grid-template-columns:1fr;gap:12px!important;}
.yn-prog-card .yn-prog-name .elementor-heading-title{font-size:20px;}
.yn-prog-desc p{font-size:13px;}
}
.yn-pk-intro{justify-self:end;max-width:440px;padding-bottom:4px;}
.yn-pk-from{display:flex;align-items:flex-end;gap:16px;padding-left:18px;border-left:2px solid var(--gold);margin-bottom:16px;}
.yn-pk-from span{font-size:10px;letter-spacing:.24em;color:var(--gold-light);padding-bottom:12px;white-space:nowrap;}
.yn-pk-from strong{font-family:var(--serif);font-size:clamp(44px,4vw,62px);font-weight:400;line-height:.9;color:#fff;letter-spacing:-.03em;}
.yn-pk-from em{font-style:normal;font-size:13px;letter-spacing:.08em;color:rgba(255,255,255,.68);padding-bottom:8px;}
.yn-pk-group{margin-top:36px;}
.yn-pk-group:first-of-type{margin-top:0;}
.yn-pk-group__head{display:flex;align-items:baseline;gap:18px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:16px;}
.yn-pk-group__head span{font-size:10px;letter-spacing:.2em;color:var(--gold-light);white-space:nowrap;}
.yn-pk-group__head h3{font-family:var(--serif);font-size:21px;font-weight:500;color:#fff;margin:0;}
.yn-pk-group__head p{margin-left:auto;font-size:12px;line-height:1.7;color:rgba(255,255,255,.58);text-align:right;}
.yn-pk-grid{display:grid;gap:14px;}
.yn-pk-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.yn-pk-grid--4{grid-template-columns:repeat(4,minmax(0,1fr));}
.yn-pk-grid--1{grid-template-columns:1fr;}
.yn-pk-card{position:relative;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);border:1px solid rgba(255,255,255,.12);padding:24px 22px;min-height:100%;}
.yn-pk-card--entry{border-top:2px solid var(--gold);}
.yn-pk-card--flagship{background:#0b1f16;border-color:rgba(255,255,255,.18);}
.yn-pk-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.yn-pk-card__brand{font-size:10px;letter-spacing:.14em;color:var(--gold);margin:0!important;line-height:1.6;}
.yn-pk-card__tag{font-size:9px;letter-spacing:.1em;line-height:1.6;padding:2px 7px;border:1px solid rgba(11,31,22,.18);color:#6a756c;white-space:nowrap;}
.yn-pk-card h3{font-size:22px;line-height:1.35;margin:13px 0 3px;}
.yn-pk-card__price{font-family:var(--serif);font-size:38px;line-height:1;letter-spacing:-.02em;margin:7px 0 12px!important;color:var(--ink);}
.yn-pk-card__price span{font-size:17px;vertical-align:top;margin-right:2px;}
.yn-pk-card__price small{font-family:var(--sans);font-size:10px;letter-spacing:.08em;color:#8a9086;margin-left:5px;font-weight:400;}
.yn-pk-card__desc{font-size:13.5px;line-height:1.88;color:#5f6b61;margin:0 0 16px!important;}
.yn-pk-card ul{margin-top:16px;padding-top:14px;border-top:1px solid rgba(11,31,22,.1);display:grid;gap:6px;}
.yn-pk-card li{position:relative;padding-left:14px;font-size:12.5px;line-height:1.7;color:#4a574d;}
.yn-pk-card li::before{content:'–';position:absolute;left:0;top:0;color:var(--gold);}
.yn-pk-card--flagship .yn-pk-card__brand{color:var(--gold-light);}
.yn-pk-card--flagship .yn-pk-card__tag{border-color:rgba(255,255,255,.26);color:rgba(255,255,255,.72);}
.yn-pk-card--flagship h3{color:#fff;}
.yn-pk-card--flagship .yn-pk-card__price{color:var(--gold-light);}
.yn-pk-card--flagship .yn-pk-card__price small{color:rgba(255,255,255,.55);}
.yn-pk-card--flagship .yn-pk-card__desc{color:rgba(255,255,255,.72);}
.yn-pk-card--flagship ul{border-top-color:rgba(255,255,255,.16);}
.yn-pk-card--flagship li{color:rgba(255,255,255,.74);}
.yn-pk-card--gastro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:8px 40px;align-items:start;}
.yn-pk-card--gastro .yn-pk-card__top,.yn-pk-card--gastro h3,.yn-pk-card--gastro .yn-pk-card__price,.yn-pk-card--gastro .yn-pk-card__desc{grid-column:1;}
.yn-pk-card--gastro ul{grid-column:2;grid-row:1 / span 4;margin-top:0;padding-top:0;border-top:0;align-self:center;}
.yn-pk-card__actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px;}
.yn-pk-card__more{display:inline-flex;align-items:center;gap:6px;padding-bottom:3px;border-bottom:1px solid rgba(11,31,22,.26);font-size:12px;letter-spacing:.04em;line-height:1.5;color:#4a574d;text-decoration:none!important;transition:color .25s,border-color .25s;}
.yn-pk-card__more span{transition:transform .25s;}
.yn-pk-card__more:hover{color:var(--gold);border-color:var(--gold);}
.yn-pk-card__more:hover span{transform:translateX(3px);}
.yn-pk-card__consult{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;background:var(--gold);color:#0b1a15!important;font-size:11px;letter-spacing:.06em;line-height:1.5;text-decoration:none!important;white-space:nowrap;transition:background .25s,transform .25s;}
.yn-pk-card__consult:hover{background:var(--gold-light);transform:translateY(-1px);}
.yn-pk-card--flagship .yn-pk-card__more{color:rgba(255,255,255,.72);border-bottom-color:rgba(255,255,255,.3);}
.yn-pk-card--flagship .yn-pk-card__more:hover{color:var(--gold-light);border-color:var(--gold-light);}
.yn-pk-card--gastro .yn-pk-card__actions{grid-column:1 / -1;margin-top:0;padding-top:10px;align-self:end;}
@media(max-width:1100px){
.yn-pk-grid--4{grid-template-columns:repeat(2,minmax(0,1fr));}
.yn-pk-intro{justify-self:start;max-width:100%;}
}
@media(max-width:820px){
.yn-pk-group__head{flex-wrap:wrap;gap:8px 16px;}
.yn-pk-group__head p{margin-left:0;width:100%;text-align:left;}
.yn-pk-card--gastro{grid-template-columns:1fr;gap:0;}
.yn-pk-card--gastro ul{grid-column:1;grid-row:auto;margin-top:14px;padding-top:14px;border-top:1px solid rgba(11,31,22,.1);}
}
@media(max-width:560px){
.yn-pk-grid--2,.yn-pk-grid--4{grid-template-columns:1fr;}
.yn-pk-from strong{font-size:44px;}
.yn-pk-card{padding:22px 20px;}
.yn-pk-group{margin-top:30px;}
.yn-pk-card__more{font-size:12px;}
.yn-pk-card__consult{padding:8px 12px;font-size:10.5px;}
}
.yn-gifts-head{text-align:center;margin-bottom:clamp(34px,4vw,54px);}
.yn-gifts-head h2{font-size:clamp(34px,3.6vw,56px);line-height:1.22;}
.yn-gifts-head p{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:14px!important;font-family:var(--sans);font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--gold);}
.yn-gifts-head p::before,.yn-gifts-head p::after{content:'';width:36px;height:1px;background:currentColor;opacity:.7;}
.yn-gifts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.yn-gift{position:relative;display:block;margin:0;overflow:hidden;background:var(--ivory-2);aspect-ratio:3/4;}
.yn-gift img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1);}
.yn-gift::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,18,13,0) 50%,rgba(5,18,13,.26) 100%);opacity:0;transition:opacity .35s;pointer-events:none;}
.yn-gift:hover img{transform:scale(1.045);}
.yn-gift:hover::after{opacity:1;}
.yn-gift__title{position:absolute;left:0;right:0;bottom:0;height:21%;min-height:52px;display:flex;align-items:center;justify-content:center;padding:0 12px;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-family:var(--sans);font-size:24px;font-weight:400;letter-spacing:.05em;line-height:1.3;text-align:center;transition:background .35s,color .35s;}
.yn-gift:hover .yn-gift__title{background:rgba(0,0,0,.66);color:var(--gold-light);}
.yn-gifts__note{max-width:720px;margin:28px auto 0!important;text-align:center;color:#68746a;font-size:13px!important;line-height:1.9;}
@media(max-width:1100px){.yn-gifts{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.yn-gifts{gap:12px;}.yn-gift__title{font-size:16px;min-height:44px;letter-spacing:.03em;}.yn-gifts__note{font-size:12px!important;}}
/* === YINIAN ELEMENTOR NATIVE TEMPLATE START === */
body.elementor-template-canvas .elementor-widget-text-editor,
body.elementor-template-canvas .elementor-widget-text-editor>.elementor-widget-container,
body.elementor-template-canvas .elementor-widget-text-editor .elementor-text-editor{font-family:inherit!important;font-size:inherit;line-height:inherit;color:inherit;text-align:inherit;}
body.elementor-template-canvas .elementor-widget-text-editor .elementor-text-editor>p:first-child{margin-top:0;}
body.elementor-template-canvas .elementor-widget-text-editor .elementor-text-editor>p:last-child{margin-bottom:0;}
.yn-header{width:100%!important;}
body.elementor-template-canvas .yn-header .yn-wrap{width:min(1440px,calc(100% - 96px))!important;margin:0 auto!important;padding:0!important;}
body.elementor-template-canvas .yn-header .yn-topbar__in{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;min-height:38px!important;}
body.elementor-template-canvas .yn-header .yn-topbar__note,
body.elementor-template-canvas .yn-header .yn-topbar__note>.elementor-widget-container{width:auto!important;flex:0 0 auto!important;}
body.elementor-template-canvas .yn-header .yn-topbar__right{width:auto!important;flex:0 0 auto!important;}
body.elementor-template-canvas .yn-header .yn-topbar__right>.elementor-element{width:auto!important;flex:0 0 auto!important;}
body.elementor-template-canvas .yn-header .yn-lang{width:auto!important;flex:0 0 auto!important;}
body.elementor-template-canvas .yn-header .yn-lang>.elementor-element,
body.elementor-template-canvas .yn-header .yn-lang .elementor-widget-shortcode,
body.elementor-template-canvas .yn-header .yn-lang .elementor-widget-container{width:auto!important;}
body.elementor-template-canvas .yn-header .yn-navbar__in{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:40px!important;min-height:88px!important;}
body.elementor-template-canvas .yn-header .yn-navbar__in>.elementor-element{flex:0 0 auto!important;width:auto!important;max-width:100%!important;}
body.elementor-template-canvas .yn-header .yn-nav{flex:0 1 auto!important;width:auto!important;}
body.elementor-template-canvas .yn-header .yn-nav>.elementor-element{flex:0 0 auto!important;width:auto!important;}
body.elementor-template-canvas .yn-header .yn-nav__item{flex:0 0 auto!important;width:auto!important;}
body.elementor-template-canvas .yn-header .yn-nav__item::after{content:'';position:absolute;left:-18px;right:-18px;top:calc(100% - 1px);height:20px;display:block;z-index:9990;}
body.elementor-template-canvas .yn-header .yn-nav__item.is-open .yn-nav__drop{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(-50%,0)!important;}
body.elementor-template-canvas .yn-header .yn-nav__item.is-open .elementor-button-icon{transform:rotate(180deg);}
body.elementor-template-canvas .yn-header .yn-navbar__cta{flex:0 0 auto!important;width:auto!important;}
body.elementor-template-canvas .yn-header.is-scrolled .yn-navbar__in{min-height:64px!important;}
.yn-header .elementor-widget-button{width:auto!important;flex:0 0 auto!important;margin:0!important;}
.yn-header .elementor-widget-button .elementor-button,
.yn-footer .yn-btn .elementor-button{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;color:inherit!important;font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;text-transform:none!important;text-decoration:none!important;}
.yn-header .elementor-widget-button .elementor-button:hover,
.yn-footer .yn-btn .elementor-button:hover{background:transparent!important;color:inherit!important;}
body.elementor-template-canvas .yn-header .yn-header-cta .elementor-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:10px 20px!important;border:1px solid rgba(255,255,255,.55)!important;background:transparent!important;color:#fff!important;font-family:var(--sans)!important;font-size:12px!important;font-weight:500!important;letter-spacing:.14em!important;line-height:1!important;text-decoration:none!important;transition:background .3s,color .3s,border-color .3s!important;}
body.elementor-template-canvas .yn-header .yn-header-cta .elementor-button:hover,
body.elementor-template-canvas .yn-header .yn-header-cta .elementor-button:focus{background:#fff!important;border-color:#fff!important;color:var(--ink)!important;}
.yn-header .elementor-widget-button .elementor-button-content-wrapper{gap:7px!important;}
.yn-header .yn-toplink-widget .elementor-button{color:rgba(255,255,255,.72)!important;font-size:inherit!important;white-space:nowrap;}
.yn-header .yn-toplink-widget .elementor-button:hover{color:#fff!important;}
.yn-header .yn-toplink-wa-widget .elementor-button::before{content:'';width:5px;height:5px;border-radius:50%;background:#67b98b;display:inline-block;margin-right:7px;vertical-align:1px;}
.yn-header .yn-lang .elementor-widget-container{width:auto;}
.yn-header .yn-lang .trp-language-switcher{display:flex;align-items:center;gap:2px;}
.yn-header .yn-lang .trp-ls-shortcode-current-language a,
.yn-header .yn-lang .trp-ls-shortcode-language a{font-size:11px;color:rgba(255,255,255,.5)!important;text-decoration:none;padding:2px 7px;transition:.25s;white-space:nowrap;}
.yn-header .yn-lang a:hover{color:var(--gold-light)!important;}
body.elementor-template-canvas .yn-header .trp-shortcode-switcher__wrapper{--bg:transparent!important;--bg-hover:rgba(255,255,255,.08)!important;--text:rgba(255,255,255,.72)!important;--text-hover:#fff!important;--border-color:rgba(255,255,255,.18)!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:11px!important;}
body.elementor-template-canvas .yn-header .trp-current-language-item__wrapper{gap:4px!important;padding:0!important;}
body.elementor-template-canvas .yn-header .trp-language-item{padding:2px!important;gap:6px!important;color:rgba(255,255,255,.72)!important;font-size:11px!important;line-height:1.4!important;}
body.elementor-template-canvas .yn-header .trp-language-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;}
body.elementor-template-canvas .yn-header .trp-language-item-name{display:none!important;}
body.elementor-template-canvas .yn-header .trp-flag-image{width:18px!important;height:13px!important;border-radius:1px!important;display:block!important;}
body.elementor-template-canvas .yn-header .trp-shortcode-arrow{width:11px!important;height:11px!important;}
body.elementor-template-canvas .yn-header .trp-switcher-dropdown-list{background:#0a1a14!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 18px 40px rgba(0,0,0,.35)!important;padding:6px!important;min-width:44px!important;}
.yn-header .yn-topbar__note .elementor-text-editor{display:flex;align-items:center;gap:9px;white-space:nowrap;}
.yn-header .yn-nav{width:auto!important;flex:0 1 auto!important;}
.yn-header .yn-nav>.elementor-element{width:auto!important;flex:0 0 auto!important;}
.yn-header .yn-nav__item{width:auto!important;flex:0 0 auto!important;}
body.elementor-template-canvas .yn-header .yn-nav__drop{width:310px!important;max-width:310px!important;}
.yn-header .yn-nav__drop .elementor-widget-container,
.yn-header .yn-nav__drop .elementor-text-editor{width:100%;}
.yn-header .yn-logo-widget{width:auto!important;flex:0 0 auto!important;}
.yn-header .yn-logo-widget .elementor-widget-container,
.yn-header .yn-logo-widget a{width:auto!important;}
.yn-header .yn-logo-widget img{height:46px;width:auto;max-width:230px;object-fit:contain;display:block;transition:height .35s ease;}
.yn-header.is-scrolled .yn-logo-widget img{height:34px;}
.yn-header .yn-navbar__cta{width:auto!important;flex:0 0 auto!important;}
.yn-header .yn-btn--ghost{background:transparent!important;}
.yn-header .yn-btn--ghost:hover{background:#fff!important;color:var(--ink)!important;}
.yn-header .yn-burger-widget{display:none;width:auto!important;flex:0 0 auto!important;}
.yn-header .yn-btn.elementor-widget-button{display:inline-flex;align-items:center;}
.yn-header .yn-btn.elementor-widget-button .elementor-button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
body.elementor-template-canvas .yn-mobile{z-index:10050!important;padding:26px 40px 40px!important;box-shadow:-30px 0 80px rgba(0,0,0,.32);}
.yn-mobile>.elementor-widget-container,.yn-mobile .elementor-text-editor{height:100%;}
.yn-mobile .elementor-text-editor{display:flex;flex-direction:column;justify-content:flex-start;overflow-y:auto;}
.yn-mobile .elementor-text-editor::-webkit-scrollbar{width:0;}
.yn-mobile__top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 22px;margin:0 0 12px;border-bottom:1px solid rgba(255,255,255,.12);flex:none;}
.yn-mobile__brand{font-family:var(--serif);font-size:20px;line-height:1;letter-spacing:.14em;color:#fff!important;text-decoration:none!important;white-space:nowrap;}
.yn-mobile__close{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.28);background:transparent;color:#fff;cursor:pointer;flex:none;}
.yn-mobile__close span{display:block;width:17px;height:1px;background:#fff;}
.yn-mobile__close span:first-child{transform:translateY(3.5px) rotate(45deg);}
.yn-mobile__close span:last-child{transform:translateY(-3.5px) rotate(-45deg);}
.yn-mobile__close:hover{background:rgba(255,255,255,.08);}
.yn-mobile__contact{margin-top:auto!important;padding-top:36px!important;}
body.elementor-template-canvas .trp-floating-switcher{display:none!important;}
.yn-band .yn-wrap{position:relative;z-index:2;}
.yn-native-section>.elementor-widget-container>.elementor-widget-text-editor,
.yn-native-section>.elementor-widget-text-editor{margin-bottom:0!important;}
.yn-tone-ivory-2{background:var(--ivory-2)!important;}
.yn-tone-paper{background:var(--paper)!important;}
.yn-tone-ink{background:var(--ink)!important;color:var(--ivory)!important;}
.yn-anchor{display:block;width:0;height:0;overflow:hidden;}
.yn-anchor-programs.yn-band{padding-top:clamp(76px,9vw,136px);}
body.elementor-template-canvas .yn-native-section.yn-sec{padding:clamp(76px,9vw,136px) 0!important;}
body.elementor-template-canvas .yn-native-section.yn-page-hero{padding:200px 0 76px!important;}
body.elementor-template-canvas .yn-native-section.yn-anchor-programs.yn-band{padding-top:clamp(76px,9vw,136px)!important;}
body.elementor-template-canvas .yn-native-section.yn-page-hero>.elementor-widget-text-editor{position:static!important;}
@media(max-width:900px){
body.elementor-template-canvas .yn-native-section.yn-page-hero{min-height:58vh!important;padding:170px 0 58px!important;}
}
@media(max-width:820px){
body.elementor-template-canvas .yn-native-section.yn-sec{padding:64px 0!important;}
}
@media(max-width:640px){
body.elementor-template-canvas .yn-native-section.yn-page-hero{min-height:560px!important;padding:150px 0 46px!important;}
}
body.page-id-12 .yn-health h2{font-family:var(--serif)!important;font-weight:500!important;font-size:clamp(32px,3.9vw,58px)!important;line-height:1.24!important;}
@media(max-width:820px){body.page-id-12 .yn-health h2{font-size:36px!important;}}
body.page-id-12 .yn-health--eight .yn-hitem h3{font-family:var(--serif)!important;font-weight:500!important;letter-spacing:.01em!important;}
.yn-footer .yn-footer-logo-widget .elementor-widget-container,
.yn-footer .yn-footer-logo-widget a{width:auto!important;}
.yn-footer .yn-footer-logo-widget img{height:40px;width:auto;max-width:210px;object-fit:contain;display:block;}
.yn-footer .yn-footer__actions{width:auto!important;flex:0 0 auto!important;}
.yn-footer .yn-footer__actions .elementor-widget-button{width:auto!important;flex:0 0 auto!important;}
.yn-footer .yn-btn{display:inline-flex;align-items:center;justify-content:center;}
.yn-footer .yn-btn .elementor-button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
body.elementor-template-canvas .yn-footer{padding:108px 0 30px!important;}
body.elementor-template-canvas .yn-footer .yn-wrap{width:min(1440px,calc(100% - 96px))!important;margin:0 auto!important;padding:0!important;}
body.elementor-template-canvas .yn-footer .yn-footer__cta{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-end!important;gap:40px!important;width:100%!important;padding:0 0 64px!important;}
body.elementor-template-canvas .yn-footer .yn-footer__grid{display:grid!important;grid-template-columns:1.5fr .9fr .9fr .9fr 1.1fr!important;gap:34px!important;padding:52px 0 44px!important;align-items:start!important;width:100%!important;}
body.elementor-template-canvas .yn-footer .yn-footer__grid>.elementor-element{width:auto!important;min-width:0!important;}
body.elementor-template-canvas .yn-footer .yn-footer__grid>.yn-footer__brand{align-self:center!important;}
body.elementor-template-canvas .yn-footer .yn-footer__col{min-width:0;}
.yn-footer .yn-footer__col h4{font-size:18px!important;line-height:1.5;letter-spacing:.12em;margin-bottom:24px;}
.yn-footer .yn-footer__col ul a{font-size:14px!important;line-height:1.75;}
.yn-footer .yn-footer__col address{font-size:18px!important;line-height:1.9;overflow-wrap:anywhere;}
.yn-footer .yn-footer__col li{margin-bottom:9px;}
body.elementor-template-canvas .yn-footer .yn-footer__bottom{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-start!important;gap:24px!important;padding:26px 0 0!important;width:100%!important;}
body.elementor-template-canvas .yn-footer .yn-footer__bottom>.elementor-element{width:auto!important;}
.yn-footer .yn-footer__bottom .elementor-widget-text-editor{width:auto!important;}
.yn-footer .yn-footer__bottom .yn-footer__legal{max-width:720px;}
@media(min-width:1101px){
.yn-footer .yn-footer-logo-widget img{height:56px;max-width:240px;margin-bottom:22px!important;}
}
@media(max-width:1279px){
.yn-header .yn-nav{gap:18px!important;}
.yn-header .yn-nav .elementor-button{font-size:12px!important;}
body.elementor-template-canvas .yn-footer .yn-footer__grid{grid-template-columns:1.3fr .8fr .85fr .8fr 1.35fr!important;gap:24px!important;padding-bottom:68px!important;}
}
@media(max-width:1100px){
.yn-header .yn-nav{display:none!important;}
.yn-header .yn-burger-widget{display:flex!important;width:auto!important;}
.yn-header .yn-navbar__cta .yn-btn{display:none!important;}
.yn-header .yn-topbar__note{display:none!important;}
.yn-header .yn-topbar__in>.e-con-inner{justify-content:flex-end!important;}
.yn-header .yn-burger{display:flex;}
body.elementor-template-canvas .yn-footer{padding-top:46px!important;}
.yn-footer .yn-footer__cta{display:none!important;}
body.elementor-template-canvas .yn-footer .yn-footer__cta{display:none!important;}
body.elementor-template-canvas .yn-footer .yn-footer__grid{grid-template-columns:minmax(0,1fr) auto!important;gap:20px 24px!important;align-items:start!important;padding:0 0 46px!important;}
.yn-footer .yn-footer__grid .yn-footer__col:nth-child(2),
.yn-footer .yn-footer__grid .yn-footer__col:nth-child(3),
.yn-footer .yn-footer__grid .yn-footer__col:nth-child(4){display:none!important;}
body.elementor-template-canvas .yn-footer .yn-footer__brand{padding:0 0 0 clamp(30px,5vw,56px)!important;min-width:0!important;}
.yn-footer .yn-footer__col:last-child{justify-self:end;text-align:left;max-width:300px;padding:0!important;}
.yn-footer .yn-footer__col:last-child h4{font-size:18px!important;margin-bottom:10px!important;color:#d8c094!important;}
.yn-footer .yn-footer__col:last-child address{font-size:18px!important;line-height:1.9!important;}
body.elementor-template-canvas .yn-footer .yn-footer__bottom{flex-direction:column!important;gap:12px!important;}
}
@media(max-width:820px){
body.elementor-template-canvas .yn-header .yn-wrap{width:calc(100% - 44px)!important;}
.yn-header .yn-navbar__in{min-height:72px;}
.yn-header .yn-logo-widget img{height:38px;}
.yn-header.is-scrolled .yn-logo-widget img{height:30px;}
.yn-header .yn-topbar__right{gap:16px!important;width:100%!important;}
.yn-header .yn-topbar__in>.e-con-inner{width:100%;}
}
@media(max-width:560px){
body.elementor-template-canvas .yn-header .yn-wrap,
body.elementor-template-canvas .yn-footer .yn-wrap{width:calc(100% - 32px)!important;}
body.elementor-template-canvas .yn-mobile{padding:22px 24px 32px!important;}
.yn-mobile__top{padding-bottom:18px;}
.yn-mobile nav a{font-size:26px;}
.yn-header .yn-topbar{font-size:10px;}
.yn-header .yn-topbar__right{gap:10px!important;}
.yn-header .yn-navbar__in{min-height:66px;}
.yn-header .yn-logo-widget img{height:34px;}
.yn-footer .yn-footer__brand{padding-left:30px!important;}
.yn-footer .yn-footer-logo-widget img{height:28px;max-width:104px;}
.yn-footer .yn-footer__col:last-child{max-width:200px;}
.yn-footer .yn-footer__col:last-child h4{font-size:18px!important;margin-bottom:8px!important;}
.yn-footer .yn-footer__col:last-child address{font-size:18px!important;line-height:1.85!important;}
.yn-footer .yn-footer__grid>.e-con-inner{padding-bottom:42px!important;}
}
/* === YINIAN ELEMENTOR NATIVE TEMPLATE END === */
/* YN NAV ICON RIGHT: dropdown chevrons follow their labels */
body.elementor-template-canvas .yn-header .yn-nav__item .elementor-widget-button .elementor-button-content-wrapper{
flex-direction:row-reverse!important;
}
body.elementor-template-canvas .yn-header .yn-nav__item .elementor-widget-button .elementor-button-icon{
margin-left:0!important;
margin-right:0!important;
}
/* CHECKUP MODULE SPACING START */
body.elementor-template-canvas.page-id-24 .elementor-element.yn-prog-sec{
padding-top:clamp(56px,5vw,72px)!important;
padding-bottom:clamp(56px,5vw,72px)!important;
}
@media(max-width:900px){
body.elementor-template-canvas.page-id-24 .elementor-element.yn-prog-sec{
padding-top:56px!important;
padding-bottom:56px!important;
}
}
@media(max-width:560px){
body.elementor-template-canvas.page-id-24 .elementor-element.yn-prog-sec{
padding-top:48px!important;
padding-bottom:48px!important;
}
}
/* CHECKUP MODULE SPACING END */
/* GIFT HEADING LEFT START */
body.elementor-template-canvas.page-id-24 .yn-gifts-head{
display:flex!important;
flex-direction:column!important;
align-items:flex-start!important;
text-align:left!important;
}
body.elementor-template-canvas.page-id-24 .yn-gifts-head p{
order:1!important;
justify-content:flex-start!important;
margin:0 0 18px!important;
color:var(--gold)!important;
text-align:left!important;
}
body.elementor-template-canvas.page-id-24 .yn-gifts-head p::before{
width:38px!important;
opacity:.85!important;
}
body.elementor-template-canvas.page-id-24 .yn-gifts-head p::after{
display:none!important;
}
body.elementor-template-canvas.page-id-24 .yn-gifts-head h2{
order:2!important;
color:var(--ink)!important;
text-align:left!important;
}
body.elementor-template-canvas.page-id-24 .yn-gifts__note{
margin-left:0!important;
margin-right:0!important;
text-align:left!important;
}
@media(max-width:560px){
body.elementor-template-canvas.page-id-24 .yn-gifts-head p{
margin-bottom:14px!important;
}
}
/* GIFT HEADING LEFT END */
/* PROG HEADING COLORS START */
body.elementor-template-canvas.page-id-24 .yn-prog-eyebrow .elementor-heading-title{
color:var(--gold)!important;
font-family:var(--sans)!important;
font-weight:500!important;
}
body.elementor-template-canvas.page-id-24 .yn-prog-title .elementor-heading-title{
color:var(--ink)!important;
font-family:var(--serif)!important;
font-weight:500!important;
letter-spacing:.01em!important;
}
/* PROG HEADING COLORS END */
/* YN mobile spec header gap fix start */
@media (max-width: 900px) {
body.elementor-template-canvas .elementor-element.yn-spec-head {
justify-content: flex-start !important;
}
body.elementor-template-canvas .elementor-element.yn-spec-head > .yn-spec-head__left {
flex: 0 0 auto !important;
width: 100% !important;
align-self: stretch !important;
}
}
/* YN mobile spec header gap fix end */
/* === YI NIAN SITE-WIDE QA POLISH START === */
/* Readability: small meta, links and card actions */
body.elementor-template-canvas .yn-program__link{font-size:12px!important;line-height:1.75!important;}
body.elementor-template-canvas .yn-tcard__link{font-size:12.5px!important;line-height:1.7!important;}
body.elementor-template-canvas .yn-pk-card__brand{font-size:11px!important;line-height:1.65!important;}
body.elementor-template-canvas .yn-pk-card__more{font-size:13px!important;line-height:1.5!important;min-height:32px;align-items:center;}
body.elementor-template-canvas .yn-pk-card__consult{font-size:12px!important;line-height:1.4!important;min-height:34px;padding:9px 14px!important;}
body.elementor-template-canvas .yn-art-toc__label{font-size:11.5px!important;}
body.elementor-template-canvas .yn-related-card__meta{font-size:11px!important;}
body.elementor-template-canvas .yn-svc__no,
body.elementor-template-canvas .yn-svc__all{font-size:11.5px!important;}
body.elementor-template-canvas .yn-voices__tag{font-size:11.5px!important;}
body.elementor-template-canvas .yn-team__hint{font-size:11px!important;}
body.elementor-template-canvas .yn-crumb{font-size:11.5px!important;}
body.elementor-template-canvas .yn-detail-card__eyebrow{font-size:11px!important;}
body.elementor-template-canvas .yn-detail-card__tag{font-size:11.5px!important;}
/* Header: clickable top-bar targets and tablet balance */
@media(max-width:560px){
html body.elementor-template-canvas .yn-header .yn-topbar__right{gap:8px!important;}
html body.elementor-template-canvas .yn-header .yn-topbar__right .elementor-button{min-height:28px!important;padding:4px 2px!important;font-size:11.5px!important;line-height:1.3!important;}
html body.elementor-template-canvas .yn-header .yn-topbar__right .elementor-button-text{font-size:11.5px!important;line-height:1.3!important;}
html body.elementor-template-canvas .yn-header .yn-lang{min-height:28px!important;}
html body.elementor-template-canvas .yn-header .yn-lang .trp-shortcode-switcher__wrapper{min-height:28px!important;padding:0 6px!important;font-size:11.5px!important;}
html body.elementor-template-canvas .yn-header .yn-lang .trp-language-item{font-size:11.5px!important;padding:3px 5px!important;}
}
/* TranslatePress renders the visible label through ::after; size that layer directly. */
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-language-item-name::after{font-size:12px!important;line-height:1.4!important;letter-spacing:.5px!important;}
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-language-item{min-height:24px!important;align-items:center!important;}
@media(max-width:560px){
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher__wrapper,
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{height:28px!important;min-height:28px!important;}
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{min-width:92px!important;padding:0 13px!important;}
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-language-item-name::after{font-size:12.5px!important;}
html body.elementor-template-canvas .elementor-158 .yn-header .yn-lang .trp-language-item{min-height:26px!important;}
}
@media(min-width:760px) and (max-width:1100px){
html body.elementor-template-canvas .yn-header .yn-topbar__note{display:flex!important;}
}
/* Footer: readable text and aligned left edge on tablet/mobile */
html body.elementor-template-canvas .yn-footer__legal{font-size:12px!important;line-height:1.85!important;color:rgba(255,255,255,.52)!important;}
html body.elementor-template-canvas .yn-footer__bottom .elementor-element-ynf3002,
html body.elementor-template-canvas .yn-footer__bottom .elementor-element-ynf3002 *{font-size:12px!important;line-height:1.8!important;}
@media(max-width:1100px){
html body.elementor-template-canvas .yn-footer .yn-footer__brand{padding-left:0!important;}
html body.elementor-template-canvas .yn-footer .yn-footer__brand p{font-size:13px!important;line-height:1.9!important;color:rgba(255,255,255,.56)!important;}
html body.elementor-template-canvas .yn-footer .yn-footer__col:last-child address{font-size:14px!important;line-height:1.9!important;}
html body.elementor-template-canvas .yn-footer .yn-footer__col:last-child address a{font-size:14px!important;line-height:1.9!important;}
html body.elementor-template-canvas .yn-footer__legal{font-size:12px!important;line-height:1.9!important;color:rgba(255,255,255,.54)!important;}
html body.elementor-template-canvas .yn-footer__bottom .elementor-element-ynf3002,
html body.elementor-template-canvas .yn-footer__bottom .elementor-element-ynf3002 *{font-size:12px!important;line-height:1.8!important;}
}
@media(max-width:560px){
html body.elementor-template-canvas .yn-footer__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;}
html body.elementor-template-canvas .yn-footer .yn-footer__brand p{font-size:12.5px!important;line-height:1.85!important;}
html body.elementor-template-canvas .yn-footer address,
html body.elementor-template-canvas .yn-footer .yn-footer__col:last-child address a{font-size:12.5px!important;line-height:1.85!important;}
html body.elementor-template-canvas .yn-footer__legal{font-size:11.5px!important;}
html body.elementor-template-canvas .yn-footer__bottom .elementor-element-ynf3002,
html body.elementor-template-canvas .yn-footer__bottom .elementor-element-ynf3002 *{font-size:11.5px!important;}
}
/* Weight-loss page: remove duplicated region label and improve tablet/mobile density */
body.page-id-90 .yn-wm-parts .yn-wm-parts-region__label{display:none!important;}
@media(max-width:1100px){
body.page-id-90 .yn-wm-parts .yn-wm-parts__reminders-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__reminder-text p{font-size:12.5px!important;line-height:1.75!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__footnote p{font-size:11.5px!important;line-height:1.85!important;}
}
@media(max-width:900px){
html body.page-id-90 .yn-wm-stats{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:760px){
body.page-id-90 .yn-wm-parts .yn-wm-parts-region__count .elementor-heading-title{font-size:10.5px!important;padding:5px 9px!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts-part__name .elementor-heading-title{font-size:15px!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts-part__projects p{font-size:11.5px!important;line-height:1.65!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts-part__note p{font-size:12px!important;line-height:1.7!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts-region__foot p{font-size:12px!important;line-height:1.8!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__reminder-text p{font-size:12.5px!important;line-height:1.75!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts-method__dt .elementor-heading-title{font-size:11px!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts-method__dd .elementor-heading-title{font-size:13px!important;line-height:1.8!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__method-note p{font-size:12px!important;line-height:1.85!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__safety-intro p{font-size:13px!important;line-height:1.9!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__safety-item-text p{font-size:12px!important;line-height:1.8!important;}
body.page-id-90 .yn-wm-parts .yn-wm-parts__footnote p{font-size:11.5px!important;}
}
/* Hotel pages: fix 1024 breakpoint squeeze in Suzhou mosaic and lifestyle cards */
@media(min-width:821px) and (max-width:1100px){
html body.elementor-template-canvas .elementor-element.yn-sz-space-mosaic{grid-template-columns:1fr 1fr!important;}
}
@media(min-width:901px) and (max-width:1100px){
html body.elementor-template-canvas .elementor-element.yn-hlc__move-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
/* Blog filters: wrap instead of hidden horizontal scroll on phones */
@media(max-width:700px){
html body.elementor-template-canvas .yn-blog-filters{flex-wrap:wrap!important;overflow:visible!important;padding-bottom:0!important;}
html body.elementor-template-canvas .yn-blog-filter{flex:0 0 auto!important;}
}
/* Cross-template readability: article pages are Astra singles without the canvas body class */
html body[class*="elementor-page"] .yn-blog-card__cat{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-blog-card__date{font-size:12px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-blog-card__more{font-size:12px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-blog-hero__meta span{font-size:11.5px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-tier__label{font-size:11px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-pk-card__tag{font-size:10.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-pk-card__brand{font-size:11.5px!important;line-height:1.65!important;}
html body[class*="elementor-page"] .yn-pk-card__price small{font-size:11px!important;}
html body[class*="elementor-page"] .yn-pk-from span{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-pk-group__head span{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-gifts-head p{font-size:12px!important;}
html body[class*="elementor-page"] .yn-intro__stats span{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-art-toc__label{font-size:11.5px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-related-card__meta{font-size:11px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-news__all{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-art-crumb a,
html body[class*="elementor-page"] .yn-art-crumb span{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-art-end span{font-size:12px!important;}
html body[class*="elementor-page"] .yn-detail-card__eyebrow{font-size:11px!important;}
html body[class*="elementor-page"] .yn-detail-card__tag{font-size:11.5px!important;}
/* Header language switcher also on Astra single-post templates */
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item-name::after{font-size:12px!important;line-height:1.4!important;letter-spacing:.5px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item{min-height:24px!important;align-items:center!important;}
@media(max-width:560px){
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher__wrapper,
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{height:28px!important;min-height:28px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{min-width:92px!important;padding:0 13px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item-name::after{font-size:12.5px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item{min-height:26px!important;}
}
/* Footer readability and two balanced columns on every template */
html body[class*="elementor-page"] .yn-footer__legal{font-size:12px!important;line-height:1.85!important;color:rgba(255,255,255,.52)!important;}
html body[class*="elementor-page"] .yn-footer__bottom .elementor-element-ynf3002,
html body[class*="elementor-page"] .yn-footer__bottom .elementor-element-ynf3002 *{font-size:12px!important;line-height:1.8!important;}
@media(max-width:1100px){
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__brand p{font-size:13px!important;line-height:1.9!important;}
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__col:last-child address,
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__col:last-child address a{font-size:14px!important;line-height:1.9!important;}
}
@media(max-width:560px){
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;}
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__brand p{font-size:12.5px!important;line-height:1.85!important;}
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__col:last-child address,
html body[class*="elementor-page"] .yn-footer.e-con .yn-footer__col:last-child address a{font-size:12.5px!important;line-height:1.85!important;}
html body[class*="elementor-page"] .yn-footer__legal{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-footer__bottom .elementor-element-ynf3002,
html body[class*="elementor-page"] .yn-footer__bottom .elementor-element-ynf3002 *{font-size:11.5px!important;}
}
/* Hotel lifestyle: fill the tablet media column with wide frames instead of narrow vertical crops */
@media(min-width:901px) and (max-width:1180px){
html body.elementor-template-canvas .elementor-element.yn-hlc__stay-media{grid-template-columns:1fr!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;}
}
/* Header actions and weight-page microcopy that use their own Elementor wrappers */
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button,
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button-text{font-size:12px!important;line-height:1.35!important;}
@media(max-width:560px){
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button,
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button-text{font-size:11.5px!important;}
}
body.elementor-template-canvas .yn-hero__rail button{font-size:11.5px!important;line-height:1.4!important;}
body.elementor-template-canvas .yn-post__meta span{font-size:11px!important;line-height:1.6!important;}
body.elementor-template-canvas .elementor-element-ynwt4c940a p,
body.elementor-template-canvas .elementor-element-ynwt4c940a a,
body.elementor-template-canvas .elementor-element-ynwtca8557 p,
body.elementor-template-canvas .elementor-element-ynwtca8557 a,
body.elementor-template-canvas .elementor-element-ynwt478a72 p,
body.elementor-template-canvas .elementor-element-ynwt478a72 a{font-size:11.5px!important;line-height:1.7!important;}
body.elementor-template-canvas .elementor-element-ynwt760b0b p,
body.elementor-template-canvas .elementor-element-ynwt92fcf9 p,
body.elementor-template-canvas .elementor-element-ynwt0d71f3 p{font-size:11.5px!important;line-height:1.7!important;}
/* Keep the language label from collapsing on Astra single-post headers */
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{min-width:100px!important;padding:0 16px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item{flex:0 0 auto!important;min-width:50px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item-name{width:auto!important;min-width:50px!important;overflow:visible!important;}
@media(max-width:560px){
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{min-width:96px!important;padding:0 13px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item{min-width:52px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item-name{min-width:52px!important;}
}
/* Tap targets and spacing on Astra single-post headers */
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button{min-height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:4px 2px!important;}
/* Very small phones: keep the three top-bar controls from overlapping */
@media(max-width:340px){
html body[class*="elementor-page"] .yn-header .yn-topbar__right{gap:6px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher__wrapper,
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{min-width:86px!important;height:28px!important;min-height:28px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-switcher{padding:0 10px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item{min-width:46px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item-name{min-width:46px!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-language-item-name::after{font-size:11.5px!important;}
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button,
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button-text{font-size:10.5px!important;}
html body[class*="elementor-page"] .yn-header .yn-topbar__right .elementor-button{padding:4px 1px!important;}
}
/* Suzhou and shared small notes */
body.elementor-template-canvas .elementor-element-ynht36658f p,
body.elementor-template-canvas .elementor-element-ynhtfb58b4 p,
body.elementor-template-canvas .elementor-element-ynht09ec30 p,
body.elementor-template-canvas .elementor-element-ynfcwx06 p{font-size:11.5px!important;line-height:1.7!important;}
/* Suzhou space card: stop the overlay caption from overflowing its right edge */
body.elementor-template-canvas .yn-sz-touch__tag{right:22px!important;width:auto!important;max-width:calc(100% - 44px)!important;}
body.elementor-template-canvas .yn-sz-touch__tag .elementor-heading-title{font-size:11.5px!important;line-height:1.6!important;}
body.elementor-template-canvas .yn-sz-touch__no .elementor-heading-title{font-size:11px!important;}
body.elementor-template-canvas .yn-sz-touch__en .elementor-heading-title{font-size:11px!important;line-height:1.6!important;}
/* === YI NIAN FINAL COMPONENT READABILITY START === */
html body[class*="elementor-page"] .yn-program__no{font-size:11.5px!important;line-height:1.5!important;letter-spacing:.04em!important;}
html body[class*="elementor-page"] .yn-network article > span,
html body[class*="elementor-page"] .yn-tour-grid article > span{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-team__chips span{font-size:11.5px!important;line-height:1.45!important;}
html body[class*="elementor-page"] .yn-team-card__media figcaption{font-size:11px!important;line-height:1.45!important;}
html body[class*="elementor-page"] .yn-team-card__body p{font-size:12px!important;line-height:1.75!important;}
html body[class*="elementor-page"] .yn-team__footnote{font-size:11.5px!important;line-height:1.75!important;}
html body[class*="elementor-page"] .yn-team__hint{font-size:11.5px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-team__count,
html body[class*="elementor-page"] .yn-team__count span{font-size:11px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-contact-item > span{font-size:11.5px!important;line-height:1.5!important;letter-spacing:.06em!important;}
html body[class*="elementor-page"] .yn-contact-item > small{font-size:12px!important;line-height:1.75!important;}
html body[class*="elementor-page"] .yn-voices__person small{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-voices__photo figcaption{font-size:11px!important;line-height:1.45!important;}
html body[class*="elementor-page"] .yn-voices__note{font-size:12px!important;line-height:1.8!important;}
html body[class*="elementor-page"] .yn-health__stat span{font-size:11px!important;line-height:1.45!important;}
html body[class*="elementor-page"] .yn-journey__contact span{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-hero__count span{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-svc__tab{font-size:11.5px!important;line-height:1.4!important;}
html body[class*="elementor-page"] .yn-about__media figcaption,
html body[class*="elementor-page"] .yn-about__media figcaption span{font-size:11px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-post__meta span{font-size:11.5px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-eternal__media span{font-size:11px!important;line-height:1.55!important;}
html body[class*="elementor-page"] .yn-hlc__tab em{font-size:11.5px!important;line-height:1.4!important;}
html body[class*="elementor-page"] .yn-hlc__counter span{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-hlc__mosaic-credit p{font-size:10.5px!important;line-height:1.45!important;}
html body[class*="elementor-page"] .yn-tier__label{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-pk-card__tag{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-pk-card__price small{font-size:11.5px!important;line-height:1.55!important;}
html body[class*="elementor-page"] .yn-detail-card__eyebrow{font-size:11.5px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .yn-related-card__meta{font-size:11.5px!important;line-height:1.6!important;}
html body[class*="elementor-page"] .yn-hp-card__link .elementor-button-text{font-size:12px!important;line-height:1.4!important;}
html body[class*="elementor-page"] .yn-spec-btn .elementor-button-text{font-size:12px!important;line-height:1.4!important;}
html body[class*="elementor-page"] .yn-formula__text{font-size:11.5px!important;line-height:1.55!important;}
html body[class*="elementor-page"] .yn-formula > span{font-size:12px!important;line-height:1.5!important;}
html body[class*="elementor-page"] .elementor-element-ynhtea29aa p{font-size:11.5px!important;line-height:1.7!important;}
html body[class*="elementor-page"] .elementor-element-ynwte1193e p,
html body[class*="elementor-page"] .elementor-element-ynwte1193e a{font-size:11.5px!important;line-height:1.7!important;}
html body[class*="elementor-page"] .elementor-element-ynwt1f17e3 p{font-size:11.5px!important;line-height:1.75!important;}
html body[class*="elementor-page"] .yn-mobile__quick > p{font-size:11.5px!important;line-height:1.5!important;letter-spacing:.16em!important;}
html body[class*="elementor-page"] .yn-mobile__contact p[style]{font-size:12.5px!important;line-height:1.8!important;}
/* Full language names on Astra single-post headers (base template uses short 簡/繁). */
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-anchor .trp-language-item__current .trp-language-item-name::after,
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-overlay .trp-language-item__current .trp-language-item-name::after{content:"简体中文"!important;}
html[lang^="zh-HK"] body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-anchor .trp-language-item__current .trp-language-item-name::after,
html[lang^="zh-HK"] body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-shortcode-overlay .trp-language-item__current .trp-language-item-name::after{content:"繁體中文"!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-switcher-dropdown-list .trp-language-item[title="Chinese (China)"] .trp-language-item-name::after,
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-switcher-dropdown-list .trp-language-item[title="简体中文"] .trp-language-item-name::after{content:"简体中文"!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-switcher-dropdown-list .trp-language-item[title="Chinese (Hong Kong)"] .trp-language-item-name::after,
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-switcher-dropdown-list .trp-language-item[title="繁體中文"] .trp-language-item-name::after{content:"繁體中文"!important;}
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-switcher-dropdown-list .trp-language-item[title="English"] .trp-language-item-name::after,
html body[class*="elementor-page"] .elementor-158 .yn-header .yn-lang .trp-switcher-dropdown-list .trp-language-item[title="英文"] .trp-language-item-name::after{content:"英文"!important;}
/* === YI NIAN FINAL COMPONENT READABILITY END === */
/* Checkup screening: in the stacked phone layout, the desktop 520px flex basis becomes height and leaves a large empty gap under the heading. */
@media(max-width:560px){
body.elementor-template-canvas .yn-prog-head .yn-prog-head__left{flex:0 0 auto!important;height:auto!important;min-height:0!important;}
}
/* Mobile overscroll: paint the canvas dark so the rubber-band area above the header and below the footer does not show the browser default white. */
html{background-color:#08150f!important;}
/* === YI NIAN SITE-WIDE QA POLISH END === */
/* === YI NIAN MOBILE H2 SCALE START === */
/* On phones, section H2s were still sitting at 36-40px. Keep the desktop
hierarchy intact and reduce only the large mobile section headings. */
@media (max-width: 767px) {
html body[class*="elementor-page"] .elementor .elementor-element .yn-sec-head h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-voices__head h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-team__head h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-team--v2 h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-health__intro h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-about__copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-spec-head__left h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-intro__copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-detail__title h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-fiv__copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-plan__head-copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-subfeature__copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-cpd-headcopy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-gifts-head h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-prog-head__left h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-hlc__head-left h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-hp__copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-hp__head-left h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-blog-head h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-wm-intro__copy h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-wm__head-left h2,
html body[class*="elementor-page"] .elementor .elementor-element .yn-goals .yn-sec-head h2 {
font-size: clamp(28px, 8.2vw, 32px) !important;
}
}
/* === YI NIAN MOBILE H2 SCALE END === */
/* === YI NIAN IVDRIP MEDIA START === */
/* Illustration blocks for the High-dose IV page. Kept page-scoped so the
shared section styles and the mobile H2 scale remain untouched. */
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media{
margin-top:clamp(30px,3.6vw,48px);
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__duo{
display:grid;
grid-template-columns:minmax(0,.58fr) minmax(0,1.42fr);
align-items:stretch;
background:var(--paper);
border:1px solid var(--line);
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__figure{
display:flex;
flex-direction:column;
min-width:0;
margin:0;
background:#0b1a15;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__media{
position:relative;
flex:1 1 auto;
min-height:0;
overflow:hidden;
aspect-ratio:4/5;
background:#0b1a15;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__media img{
display:block;
width:100%;
height:100%;
object-fit:cover;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__caption{
display:flex;
flex-wrap:wrap;
align-items:baseline;
gap:4px 12px;
padding:13px 18px;
border-top:1px solid var(--line);
background:var(--paper);
font-size:11.5px;
line-height:1.7;
color:#6f7b72;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__caption a,
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide a{
color:inherit;
text-decoration:none;
border-bottom:1px solid currentColor;
opacity:.72;
white-space:nowrap;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__caption a:hover,
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide a:hover{
opacity:1;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__aside{
display:flex;
flex-direction:column;
justify-content:center;
padding:clamp(30px,3.4vw,52px);
border-left:1px solid var(--line);
background:var(--paper);
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__aside h3{
margin:0 0 16px;
font-size:clamp(26px,2.2vw,38px);
line-height:1.42;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__copy{
max-width:560px;
margin:0;
font-size:15px;
line-height:2;
color:#5f6b61;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__fine{
margin:18px 0 0;
font-size:12px;
line-height:1.75;
color:#7b867e;
}
/* Photo card at the top of the assessment side rail. */
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card{
display:flex;
flex:0 0 auto;
flex-direction:column;
margin:0;
overflow:hidden;
border:1px solid rgba(255,255,255,.08);
background:rgba(8,21,15,.55);
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card .yn-ivdrip-media__media{
aspect-ratio:5/4;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card figcaption{
display:flex;
flex-wrap:wrap;
align-items:baseline;
gap:4px 10px;
padding:12px 18px;
border-top:1px solid rgba(255,255,255,.1);
font-size:11.5px;
line-height:1.65;
color:rgba(255,255,255,.58);
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card figcaption a{
color:var(--gold-light);
text-decoration:none;
border-bottom:1px solid currentColor;
white-space:nowrap;
}
/* Wide process image with a caption laid over a soft gradient. */
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide{
position:relative;
overflow:hidden;
margin-top:clamp(36px,4.2vw,56px);
background:#0b1a15;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide > img{
display:block;
width:100%;
height:auto;
aspect-ratio:16/9;
object-fit:cover;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide figcaption{
position:absolute;
right:0;
bottom:0;
left:0;
display:flex;
flex-wrap:wrap;
align-items:flex-end;
justify-content:space-between;
gap:6px 18px;
padding:clamp(44px,6vw,76px) clamp(20px,3.4vw,46px) clamp(18px,2.4vw,28px);
background:linear-gradient(to top,rgba(5,18,13,.88) 0%,rgba(5,18,13,.6) 46%,rgba(5,18,13,0) 100%);
color:rgba(255,255,255,.86);
font-size:12.5px;
line-height:1.7;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide figcaption span{
max-width:760px;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide figcaption a{
color:var(--gold-light);
}
@media (max-width:1279px){
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card .yn-ivdrip-media__media{
aspect-ratio:21/9;
}
}
@media (max-width:1100px){
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card .yn-ivdrip-media__media{
aspect-ratio:16/9;
}
}
@media (max-width:820px){
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__duo{
grid-template-columns:1fr;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__figure--tall .yn-ivdrip-media__media{
aspect-ratio:4/3;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__aside{
border-top:1px solid var(--line);
border-left:0;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card .yn-ivdrip-media__media{
aspect-ratio:16/10;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide > img{
aspect-ratio:3/2;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide figcaption{
position:static;
padding:15px 18px;
background:#0b1a15;
color:rgba(255,255,255,.76);
}
}
@media (max-width:480px){
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide > img{
aspect-ratio:4/3;
}
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__caption,
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media__side-card figcaption,
body.elementor-template-canvas.page-id-91 .yn-ivdrip-media--wide figcaption{
flex-direction:column;
align-items:flex-start;
}
}
/* === YI NIAN IVDRIP MEDIA END === */
Skip to content
12 個月長壽管理計劃怎樣安排?由基線評估、優先次序、干預執行到覆測,說明每月工作與適合人群。
先說結論
12 個月計劃不是把同一套檢查重複十二次,而是先用幾個月建立基線,再按風險高低安排干預,最後用可比較的數據覆核。計劃的價值在於順序清楚、有人跟進,而不是項目越多越好。
為什麼需要這樣理解
長壽醫學處理的是風險與機能隨時間變化的問題。血壓、血糖、血脂、肝腎功能、荷爾蒙、體組成與生活型態互相影響,單次檢查只能看到一個切面。把資料放進時間軸,才看得出哪些變化是真的,哪些只是偶發波動。因此,計劃通常分成評估、啟動、執行與覆測四個階段;每一階段都有明確的交付物,也允許按結果調整。
適合哪些人
- 40 歲以上,想系統整理代謝、心血管與家族病史風險的人。
- 長期疲勞、睡眠不佳、體重難以下降,但一般檢查未見明顯異常的人。
- 已有脂肪肝、血糖偏高、血脂異常或甲狀腺問題,希望把追蹤變得有秩序的人。
評估與追蹤重點
- 先確認目前最需要處理的風險,而不是一次把所有項目做完。
- 用同一套檢驗與量測方法建立基線,日後才有可比性。
- 把症狀、用藥、睡眠、飲食與運動記錄帶進面診,避免只看數字。
- 由主診醫生說明哪些結果需要轉介專科,哪些可以先從生活型態處理。
流程怎麼安排
- 第 0 至 1 個月:完成病史、體格檢查、基礎血液與必要影像,整理用藥及家族史。
- 第 2 至 3 個月:與醫生確認優先次序,設定三至五個可量度的目標。
- 第 4 至 9 個月:按計劃執行飲食、運動、睡眠或醫療干預,按月記錄執行情況。
- 第 10 至 12 個月:用相同方法覆測,檢視目標是否達成,再決定下一年度方向。
預約時可先問
- 這項評估或療程要回答什麼具體問題?
- 三個月後用哪些指標覆核?
- 若結果異常,誰負責轉介與跟進?
- 總費用包含哪些檢查、藥物與覆診?
常見誤解
- 把計劃理解成每個月都要做大量檢查。實際上,密集評估集中在前期,其後以追蹤與調整為主。
- 以為買了會員就等於有療效保證。會員解決的是連續性與協調,不代替診斷或治療。
- 只看單次報告的紅字。趨勢、症狀與用藥背景往往比一個孤立數值更重要。
何時應直接求醫
- 突然出現胸痛、呼吸困難、單側無力或說話不清,應立即求醫,不要等待下一次預約。
- 短期內體重明顯下降、持續發燒或夜間盜汗,需先排除感染、腫瘤等問題。
- 嚴重抑鬱、持續失眠或無法進食,應優先處理精神健康與基本營養。
預約前準備
- 帶齊近兩年的體檢、影像與專科報告,避免重複檢查。
- 列出所有處方藥、保健品與中藥,包括劑量與服用時間。
- 用簡單表格記錄一週睡眠、飲食、運動與症狀,方便面診時討論。
注意事項
- 計劃目標要具體,例如腰圍、步數、睡眠時數或血壓範圍,而不是「變健康」。
- 若預算有限,先做能改變決策的項目,不必追求完整套餐。
- 涉及處方藥、靜滴或再生醫療時,須由醫生確認適應症與禁忌症。
常見問題
是否一定要做滿十二個月?
不一定。有些人只需三至六個月的評估與調整;是否需要延長,取決於風險、目標與執行情況。
每月都要見醫生嗎?
多數情況不需要。前期面診較密,之後可按季度或以線上方式覆核;出現新症狀時應提前預約。
計劃能否只在香港完成?
部分評估與跟進可在香港或線上進行,但涉及深圳面診、影像或治療的環節,需按實際安排。
編者提醒
長壽醫學的價值在於長期追蹤與風險管理,不是一次療程。任何自費項目都應先確認適應症、風險、費用與替代方案,並保留病歷副本。
下一步
先從一份完整的基線開始,再決定未來十二個月做什麼、不做什麼。可按你的時間與預算,預約深圳面診或線上初步評估。
醫療免責聲明:本文僅供健康資訊參考,不能替代醫生的診斷、治療或個別建議。檢查、藥物、療程與旅居安排均須由合資格醫生按個人病歷、用藥與風險評估決定;如出現急性症狀,請立即在當地就醫。
(function () {
var root = document.getElementById('ynServicesTabs');
if (!root || root.getAttribute('data-svc-tabs-init') === '1') return;
root.setAttribute('data-svc-tabs-init', '1');
var track = root.querySelector('.yn-svc');
if (!track) return;
var tabs = Array.prototype.slice.call(root.querySelectorAll('.yn-svc__tab'));
var cards = Array.prototype.slice.call(track.querySelectorAll('.yn-svc__col'));
if (tabs.length !== cards.length || !tabs.length) return;
var mq = window.matchMedia('(max-width: 820px)');
var ticking = false;
var lastClickAt = 0;
function setActive(index) {
tabs.forEach(function (tab, i) {
var active = i === index;
tab.classList.toggle('is-active', active);
tab.setAttribute('aria-selected', active ? 'true' : 'false');
});
}
function updateActive() {
if (!mq.matches) return;
if (track.scrollLeft <= 2) {
setActive(0);
return;
}
var trackRect = track.getBoundingClientRect();
var center = trackRect.left + track.clientWidth / 2;
var best = 0;
var bestDistance = Infinity;
cards.forEach(function (card, index) {
var rect = card.getBoundingClientRect();
var distance = Math.abs(rect.left + rect.width / 2 - center);
if (distance =420){
lastMenuToggle=now;
setMenu(!mobile.classList.contains('is-open'));
}
}
burger.addEventListener('pointerup',function(e){ if(e.pointerType==='mouse') return; toggleMenu(); },{passive:true});
burger.addEventListener('click',function(e){ e.preventDefault(); toggleMenu(); });
mobile.querySelectorAll('a').forEach(function(a){a.addEventListener('click',function(){setMenu(false);});});
document.addEventListener('keydown',function(e){if(e.key==='Escape') setMenu(false);});
}
var hero=document.getElementById('ynHero');
if(hero){
var slides=Array.prototype.slice.call(hero.querySelectorAll('.yn-slide'));
var dots=Array.prototype.slice.call(hero.querySelectorAll('#ynDots button'));
var rails=Array.prototype.slice.call(hero.querySelectorAll('.yn-hero__rail button'));
var cur=document.getElementById('ynCur');
var idx=0,timer=null,paused=false;
var reduce=window.matchMedia&&window.matchMedia('(prefers-reduced-motion: reduce)').matches;
function restartLine(){
var line=hero.querySelector('.yn-hero__count i');
if(!line) return;
line.style.animation='none';
void line.offsetWidth;
line.style.animation='';
}
function go(n){
idx=(n+slides.length)%slides.length;
slides.forEach(function(s,i){s.classList.toggle('is-active',i===idx);});
dots.forEach(function(d,i){d.classList.toggle('is-active',i===idx);});
rails.forEach(function(r,i){r.classList.toggle('is-active',i===idx);});
if(cur) cur.textContent=('0'+(idx+1)).slice(-2);
restartLine();
}
function stop(){if(timer){clearInterval(timer);timer=null;}}
function start(){
if(reduce) return;
stop();
timer=setInterval(function(){
if(!paused) go(idx+1);
},8000);
}
dots.forEach(function(d,i){d.addEventListener('click',function(){go(i);start();});});
rails.forEach(function(r,i){r.addEventListener('click',function(){go(i);start();});});
var prev=document.getElementById('ynPrev');
var next=document.getElementById('ynNext');
if(prev) prev.addEventListener('click',function(){go(idx-1);start();});
if(next) next.addEventListener('click',function(){go(idx+1);start();});
hero.addEventListener('mouseenter',function(){paused=true;});
hero.addEventListener('mouseleave',function(){paused=false;});
var touchX=null;
hero.addEventListener('touchstart',function(e){touchX=e.touches[0].clientX;},{passive:true});
hero.addEventListener('touchend',function(e){
if(touchX===null) return;
var dx=e.changedTouches[0].clientX-touchX;
if(Math.abs(dx)>45){go(idx+(dx<0?1:-1));start();}
touchX=null;
},{passive:true});
document.addEventListener('keydown',function(e){
if(e.key==='ArrowLeft'){go(idx-1);start();}
if(e.key==='ArrowRight'){go(idx+1);start();}
});
document.addEventListener('visibilitychange',function(){if(document.hidden){stop();}else{start();}});
start();
}
var els=Array.prototype.slice.call(document.querySelectorAll('.yn-reveal'));
if('IntersectionObserver' in window){
var io=new IntersectionObserver(function(entries){
entries.forEach(function(en){
if(en.isIntersecting){en.target.classList.add('is-in');io.unobserve(en.target);}
});
},{threshold:.12,rootMargin:'0px 0px -8% 0px'});
els.forEach(function(el){io.observe(el);});
}else{
els.forEach(function(el){el.classList.add('is-in');});
}
var talked=document.getElementById('ynTalked');
if(talked){
var tPeople=Array.prototype.slice.call(talked.querySelectorAll('.yn-talked__person'));
var tPanels=Array.prototype.slice.call(talked.querySelectorAll('.yn-talked__panel'));
var tIdx=0,tTimer=null;
function tGo(n){
tIdx=(n+tPanels.length)%tPanels.length;
tPeople.forEach(function(b,i){b.classList.toggle('is-active',i===tIdx);b.setAttribute('aria-selected',i===tIdx?'true':'false');});
tPanels.forEach(function(p,i){p.classList.toggle('is-active',i===tIdx);});
}
function tStop(){if(tTimer){clearInterval(tTimer);tTimer=null;}}
function tStart(){tStop();tTimer=setInterval(function(){tGo(tIdx+1);},7000);}
tPeople.forEach(function(b,i){b.addEventListener('click',function(){tGo(i);tStart();});});
talked.addEventListener('mouseenter',tStop);
talked.addEventListener('mouseleave',tStart);
tStart();
}
var voices=document.getElementById('ynVoices');
if(voices){
var vTabs=Array.prototype.slice.call(document.querySelectorAll('.yn-voices__tab'));
var vGroups=Array.prototype.slice.call(voices.querySelectorAll('.yn-voices__group'));
function vShowPerson(g,i){
var grp=vGroups[g];
var people=Array.prototype.slice.call(grp.querySelectorAll('.yn-voices__person'));
var panels=Array.prototype.slice.call(grp.querySelectorAll('.yn-voices__panel'));
people.forEach(function(p,j){p.classList.toggle('is-active',j===i);p.setAttribute('aria-selected',j===i?'true':'false');});
panels.forEach(function(p,j){p.classList.toggle('is-active',j===i);});
}
function vShowGroup(g){
vTabs.forEach(function(t,i){t.classList.toggle('is-active',i===g);t.setAttribute('aria-selected',i===g?'true':'false');});
vGroups.forEach(function(grp,i){grp.classList.toggle('is-active',i===g);});
vShowPerson(g,0);
}
vTabs.forEach(function(t,i){t.addEventListener('click',function(){vShowGroup(i);});});
vGroups.forEach(function(grp,g){
var people=Array.prototype.slice.call(grp.querySelectorAll('.yn-voices__person'));
people.forEach(function(p,i){p.addEventListener('click',function(){vShowPerson(g,i);});});
});
}
})();
(function () {
var mobile = document.getElementById('ynMobile') || document.querySelector('.yn-mobile');
var burger = document.getElementById('ynBurger') || document.querySelector('.yn-burger');
if (!mobile || !burger) return;
function closeMenu() {
mobile.classList.remove('is-open');
mobile.setAttribute('aria-hidden', 'true');
burger.classList.remove('is-open');
burger.setAttribute('aria-expanded', 'false');
document.body.classList.remove('yn-menu-open');
}
var closeButton = mobile.querySelector('[data-yn-menu-close]');
if (closeButton) closeButton.addEventListener('click', closeMenu);
var brandLink = mobile.querySelector('.yn-mobile__brand');
if (brandLink) brandLink.addEventListener('click', closeMenu);
})();
/* YI NIAN header dropdown click */
(function () {
var items = Array.prototype.slice.call(document.querySelectorAll('.yn-nav__item'));
if (!items.length) return;
var desktop = window.matchMedia('(min-width:1101px)');
function closeAll(except) {
items.forEach(function (item) {
if (item === except) return;
item.classList.remove('is-open');
var trigger = item.querySelector('.elementor-widget-button a');
if (trigger) trigger.setAttribute('aria-expanded', 'false');
});
}
items.forEach(function (item) {
var trigger = item.querySelector('.elementor-widget-button a');
var drop = item.querySelector('.yn-nav__drop');
if (!trigger || !drop) return;
trigger.setAttribute('aria-haspopup', 'true');
trigger.setAttribute('aria-expanded', item.classList.contains('is-open') ? 'true' : 'false');
trigger.addEventListener('click', function (event) {
if (!desktop.matches) return;
/* Main label navigates; the chevron toggles the dropdown. */
if (!event.target.closest('.elementor-button-icon')) {
closeAll();
return;
}
event.preventDefault();
var willOpen = !item.classList.contains('is-open');
closeAll(item);
item.classList.toggle('is-open', willOpen);
trigger.setAttribute('aria-expanded', willOpen ? 'true' : 'false');
});
drop.querySelectorAll('a').forEach(function (link) {
link.addEventListener('click', function () { closeAll(); });
});
});
document.addEventListener('click', function (event) {
if (!event.target.closest('.yn-nav__item')) closeAll();
});
document.addEventListener('keydown', function (event) {
if (event.key === 'Escape') closeAll();
});
window.addEventListener('resize', function () {
if (!desktop.matches) closeAll();
}, { passive: true });
})();
/* YN LANGUAGE LABELS START */
(function(){
var labels={
"Chinese (China)":"简体中文",
"Chinese (Hong Kong)":"繁體中文",
"Chinese (Taiwan)":"繁體中文",
"English":"英文",
"English (United States)":"英文"
};
var scheduled=false;
function fix(){
document.querySelectorAll('.trp-language-item-name').forEach(function(el){
var t=el.textContent.trim();
if(labels[t]) el.textContent=labels[t];
});
document.querySelectorAll('.trp-language-item[title]').forEach(function(el){
var t=el.getAttribute('title');
if(labels[t]) el.setAttribute('title',labels[t]);
});
}
function schedule(){
if(scheduled) return;
scheduled=true;
requestAnimationFrame(function(){scheduled=false;fix();});
}
if(document.readyState==='loading') document.addEventListener('DOMContentLoaded',schedule); else schedule();
document.addEventListener('click',schedule,true);
window.addEventListener('load',schedule);
new MutationObserver(schedule).observe(document.documentElement,{childList:true,subtree:true});
})();
/* YN LANGUAGE LABELS END */
/* ABOUT TEAM SLIDER START */
(function () {
function initAboutTeamSlider() {
var root = document.querySelector('.yn-about-native .yn-team__slider');
if (!root || root.getAttribute('data-about-team-init') === '1') return;
var viewport = root.querySelector('.yn-team__viewport');
var track = root.querySelector('.yn-team__track');
var cards = track ? Array.prototype.slice.call(track.querySelectorAll('.yn-team-card')) : [];
var prev = root.querySelector('.yn-team__arrow--prev');
var next = root.querySelector('.yn-team__arrow--next');
var current = root.querySelector('.yn-team__count-current');
var total = root.querySelector('.yn-team__count-total');
if (!viewport || !track || !cards.length) return;
root.setAttribute('data-about-team-init', '1');
viewport.setAttribute('tabindex', '0');
viewport.setAttribute('role', 'region');
viewport.setAttribute('aria-label', '團隊與資質圖片,左右滑動查看');
if (prev) prev.setAttribute('aria-label', '上一組圖片');
if (next) next.setAttribute('aria-label', '下一組圖片');
function pad2(value) {
value = String(value);
return value.length < 2 ? '0' + value : value;
}
function gapSize() {
var styles = getComputedStyle(track);
var value = parseFloat(styles.columnGap || styles.gap);
return isNaN(value) ? 12 : value;
}
function perView() {
var width = viewport.clientWidth;
var cardWidth = cards[0].getBoundingClientRect().width;
return Math.max(1, Math.round((width + gapSize()) / (cardWidth + gapSize())));
}
function pageCount() {
return Math.max(1, Math.ceil(cards.length / perView()));
}
function currentPage() {
var step = cards[0].getBoundingClientRect().width + gapSize();
var index = Math.round(viewport.scrollLeft / step);
return Math.min(pageCount(), Math.floor(index / perView()) + 1);
}
function setDisabled(element, disabled) {
if (!element) return;
element.classList.toggle('is-disabled', disabled);
element.setAttribute('aria-disabled', disabled ? 'true' : 'false');
if (element.tagName === 'BUTTON') element.disabled = disabled;
}
function update() {
var max = viewport.scrollWidth - viewport.clientWidth;
if (current) current.textContent = pad2(currentPage());
if (total) total.textContent = pad2(pageCount());
setDisabled(prev, viewport.scrollLeft = max - 2);
}
function go(direction) {
var step = cards[0].getBoundingClientRect().width + gapSize();
var amount = step * perView();
if (viewport.scrollBy) {
viewport.scrollBy({ left: direction * amount, behavior: 'smooth' });
} else {
viewport.scrollLeft += direction * amount;
}
}
if (prev) prev.addEventListener('click', function (event) {
event.preventDefault();
if (!prev.classList.contains('is-disabled')) go(-1);
});
if (next) next.addEventListener('click', function (event) {
event.preventDefault();
if (!next.classList.contains('is-disabled')) go(1);
});
viewport.addEventListener('scroll', function () {
window.requestAnimationFrame(update);
}, { passive: true });
viewport.addEventListener('keydown', function (event) {
if (event.key === 'ArrowLeft') {
event.preventDefault();
go(-1);
}
if (event.key === 'ArrowRight') {
event.preventDefault();
go(1);
}
});
window.addEventListener('resize', update, { passive: true });
update();
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initAboutTeamSlider);
} else {
initAboutTeamSlider();
}
window.addEventListener('load', initAboutTeamSlider);
window.setTimeout(initAboutTeamSlider, 350);
})();
/* ABOUT TEAM SLIDER END */