/* Joint Care 02: four photographic ingredient research cards. */
.joint02-composition{display:none}html[data-product="joint"] #inside .joint02-composition{display:block}html[data-product="joint"] #inside .joint02-standard{display:none}html[data-product="joint"] #inside .copy-right{padding-bottom:0;width:52%;max-width:620px;margin-right:24px}
.joint02-composition{--card-height:clamp(210px,29svh,300px);--card-gap:16px}.joint02-composition h2{font-size:clamp(26px,2.3vw,32px)!important;line-height:1.25!important;letter-spacing:-.035em;margin-top:12px}.joint02-intro{display:none}.joint02-window{position:relative;height:calc(var(--card-height)*2 + var(--card-gap) + 24px);padding-top:24px;margin-top:12px;pointer-events:auto;outline-offset:5px;overflow:visible}.joint02-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--card-gap);width:100%;will-change:transform}
.joint02-card{position:relative;height:var(--card-height);border-radius:19px;overflow:hidden;background:#14252b;isolation:isolate;opacity:1;pointer-events:auto;outline:1px solid #ffffff20;outline-offset:-1px;transition:outline-color .25s}.joint02-card.is-highlighted{outline-color:#ddcba780}.joint02-card img{width:100%;height:100%;object-fit:cover;object-position:center 32%;transition:transform .4s ease}.joint02-card:after{content:"";position:absolute;inset:0;background:linear-gradient(#0b131d40,transparent 26%,#07121b10 40%,#07121b85 61%,#0c1017e8 100%);pointer-events:none}.joint02-card:hover img{transform:scale(1.045)}
.joint02-card-top{position:absolute;z-index:1;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;gap:8px;color:#fff9ee;font-size:9px;font-weight:550;letter-spacing:.09em;text-shadow:0 1px 9px #0008}.joint02-card-copy{position:absolute;z-index:1;bottom:119px;left:20px;right:16px;pointer-events:none;text-shadow:0 2px 15px #0005}.joint02-card .joint02-kind{font-size:10px;line-height:1.5;color:#fff8e4d9;margin:0 0 5px}.joint02-card h3{font-family:Georgia,"Songti TC","Noto Serif TC",serif;font-size:30px;line-height:1.12;font-weight:650;letter-spacing:-.04em;color:#fffaf0;margin:0}.joint02-card .joint02-latin{font-size:9px;line-height:1.5;font-style:italic;color:#fff4d5c4;margin:6px 0 0;overflow-wrap:anywhere}
.joint02-card-action{position:absolute;inset:0;z-index:3;width:100%;height:100%;padding:0;text-align:left;border:0;background:transparent;color:#fff8ec;cursor:pointer}.joint02-card-action:focus-visible{outline:2px solid #e5cca3;outline-offset:-3px;border-radius:19px}.joint02-card-footer{position:absolute;bottom:18px;left:20px;right:20px;border-top:1px solid #ffffff45;padding-top:10px;display:block}.joint02-study-stat{display:flex;flex-direction:column;gap:4px}.joint02-study-stat>strong{font-family:Arial,sans-serif;font-size:42px;line-height:1.05;font-weight:750;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.joint02-study-stat>strong small{font-size:15px;margin-left:3px;letter-spacing:0}.joint02-study-stat sup{font-size:13px;vertical-align:super;margin-left:4px}.joint02-study-stat>span{font-size:11px;line-height:1.5}.joint02-study-stat>small{font-size:9px;color:#fff8e4b5}.joint02-study-link{position:absolute;right:0;bottom:0;display:flex;gap:7px;font-size:10px;line-height:1.5}.joint02-study-link>span{font-size:14px}
.joint02-scroll-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:2px;font-size:9px;letter-spacing:.02em;color:#e3efe0a8}.joint02-progress{height:1px;width:26%;background:#ffffff29;overflow:hidden}.joint02-progress i{display:block;width:100%;height:100%;background:#e8f3dc;transform:scaleX(0);transform-origin:left}.joint02-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:4px}.joint02-note{font-size:9px;line-height:1.7;color:#e2eee1b0}.joint02-bottom .text-link{display:flex;max-width:max-content;min-height:36px;margin:0;font-size:10px;white-space:nowrap}
html[data-product="joint"].joint02-scroll-linked #inside{height:calc(max(800px,100svh)*3)}html[data-product="joint"].joint02-scroll-linked #inside .chapter-wrap{position:sticky;top:0;height:max(800px,100svh);min-height:0}
#study-dialog{width:min(640px,calc(100vw - 32px));max-height:85svh;padding:30px;color:#f2eee4;background:#14232a;border:1px solid #c0b79445;border-radius:20px;overflow:auto;overscroll-behavior:contain}#study-dialog::backdrop{background:#050d16bd;backdrop-filter:blur(10px)}#study-dialog h2{font-size:28px;margin:7px 0 0}#close-study{min-width:44px;min-height:44px;flex-shrink:0;background:transparent;border:1px solid #ffffff30;border-radius:50%;color:inherit;font-size:18px;cursor:pointer}.study-context{font-size:12px;line-height:1.85;color:#c5cec6;margin:22px 0}.study-hero{display:flex;flex-direction:column;gap:8px;padding:20px 0;border-block:1px solid #ffffff25}.study-hero strong{font-size:56px;letter-spacing:-.05em;line-height:1.1}.study-hero span{font-size:15px}.study-hero small{font-size:12px;color:#c8d1c6}.study-details{margin:24px 0}.study-details>div{display:grid;grid-template-columns:76px 1fr;gap:12px;margin:18px 0;font-size:13px;line-height:1.9}.study-details dt{color:#bfceb8}.study-details dd{margin:0}.study-citation{font-size:11px;line-height:1.8;color:#c8ccbf;overflow-wrap:anywhere}.study-source{display:inline-flex;min-height:44px;align-items:center;margin-top:6px;color:#f4e6b9;text-underline-offset:5px;font-size:13px}
@media(min-width:641px) and (max-height:780px){.joint02-composition{--card-height:clamp(200px,27svh,240px);--card-gap:12px}.joint02-window{padding-top:18px;height:calc(var(--card-height)*2 + var(--card-gap) + 18px);margin-top:10px}.joint02-card{border-radius:15px}.joint02-card-top{top:13px;left:16px;right:16px;font-size:8px}.joint02-card-copy{bottom:101px;left:16px;right:13px}.joint02-card h3{font-size:26px}.joint02-card .joint02-kind{font-size:9px}.joint02-card .joint02-latin{display:none}.joint02-card-footer{left:16px;right:16px;bottom:13px;padding-top:8px}.joint02-study-stat>strong{font-size:33px}.joint02-study-stat>span{font-size:9px}.joint02-study-stat>small{font-size:8px}.joint02-study-link{font-size:8px}}
@media(min-width:641px) and (max-width:1000px){html[data-product="joint"] #inside .copy-right{width:52%;margin-right:10px}.joint02-card h3{font-size:24px}.joint02-card-copy,.joint02-card-footer{left:14px;right:14px}.joint02-study-stat>strong{font-size:33px}.joint02-study-link{font-size:8px}}
@media(max-width:640px){html[data-product="joint"] #inside .copy-right{width:100%;max-width:none;margin:0}.joint02-composition{--card-height:160px;--card-gap:10px}.joint02-composition>.eyebrow{font-size:8px}.joint02-composition h2{font-size:22px!important;margin-top:7px}.joint02-window{padding-top:12px;height:342px;margin-top:5px}.joint02-card{border-radius:12px}.joint02-card img{object-position:center 20%}.joint02-card-top{top:10px;left:11px;right:11px;font-size:7px;letter-spacing:.02em}.joint02-card-copy{bottom:79px;left:11px;right:9px}.joint02-card h3{font-size:20px}.joint02-card .joint02-kind,.joint02-card .joint02-latin{display:none}.joint02-card-footer{bottom:11px;left:11px;right:11px;padding-top:7px}.joint02-study-stat{gap:3px}.joint02-study-stat>strong{font-size:27px}.joint02-study-stat>strong small{font-size:10px}.joint02-study-stat sup{font-size:9px;margin-left:2px}.joint02-study-stat>span{font-size:8px;line-height:1.3}.joint02-study-stat>small{font-size:7px}.joint02-study-link{font-size:7px;gap:3px}.joint02-study-link>span{font-size:10px}.joint02-scroll-guide,.joint02-bottom .text-link{display:none}.joint02-bottom{margin-top:3px}.joint02-note{font-size:7px}#study-dialog{padding:20px}.study-hero strong{font-size:45px}.study-details>div{grid-template-columns:1fr;gap:4px}.study-context{font-size:12px}}
@media(prefers-reduced-motion:reduce){.joint02-card,.joint02-card img{transition:none}}

@media(max-width:640px){.joint02-card[data-study-card="turmeric"] .joint02-kind{display:block;font-size:7px;margin:0 0 3px}.joint02-study-link{font-size:8px}}

/* Scroll focus: a distinct frame and reading badge; all four photos stay visible. */
.joint02-card{transition:outline-color .25s ease,box-shadow .25s ease}.joint02-card.is-highlighted{outline:2px solid #f6ddb0;box-shadow:0 0 0 4px #f6ddb023,0 0 26px #e9c38d30}.joint02-card:before{content:"";position:absolute;inset:2px;z-index:4;border:2px solid transparent;border-radius:17px;pointer-events:none;transition:border-color .25s ease}.joint02-card.is-highlighted:before{border-color:#f6ddb0}.joint02-card-top>span:first-child{transition:background .25s,color .25s;line-height:1.4}.joint02-card.is-highlighted .joint02-card-top>span:first-child{display:inline-flex;align-items:center;gap:5px;background:#f6ddb0;color:#14252b;padding:4px 8px;margin:-4px 0 -4px -5px;border-radius:20px;font-weight:700;letter-spacing:.03em;text-shadow:none}.joint02-card.is-highlighted .joint02-card-top>span:first-child:before{content:"";width:5px;height:5px;background:#356b58;border-radius:50%}.joint02-scroll-guide{color:#fff2d9;font-size:10px}.joint02-progress{height:3px;background:#ffffff40;border-radius:3px}.joint02-progress i{background:#f6ddb0}
@media(max-width:640px){.joint02-card:before{border-radius:10px}.joint02-card.is-highlighted{box-shadow:0 0 0 3px #f6ddb030,0 0 16px #e9c38d35}.joint02-card.is-highlighted .joint02-card-top>span:first-child{padding:3px 6px;margin:-3px 0 -3px -3px;gap:4px}.joint02-card.is-highlighted .joint02-card-top>span:first-child:before{width:4px;height:4px}}
@media(prefers-reduced-motion:reduce){.joint02-card,.joint02-card:before,.joint02-card-top>span:first-child{transition:none}}

.joint02-card[data-study-card="ovomet"] .joint02-study-stat>small{padding-bottom:15px;line-height:1.4}.joint02-card[data-study-card="ovomet"] .joint02-card-copy{bottom:137px}@media(max-width:640px){.joint02-card[data-study-card="ovomet"] .joint02-card-copy{bottom:94px}.joint02-card[data-study-card="ovomet"] .joint02-study-stat>span{font-size:8px}.joint02-card[data-study-card="ovomet"] .joint02-study-stat>small{font-size:7px;padding-bottom:11px}}

/* Deeper photographic grade keeps card copy legible over natural imagery. */
.joint02-card:after{background:linear-gradient(#06121d9c 0%,#06121d48 30%,#06121d54 54%,#07121ba8 72%,#0c1017ec 100%)}

/* Plain-language study descriptions share room with their numeric basis. */
.joint02-study-stat>small{line-height:1.4;padding-bottom:15px}.joint02-card-copy{bottom:137px}
@media(min-width:641px) and (max-height:780px){.joint02-card-copy{bottom:119px}}
@media(max-width:640px){.joint02-card-copy{bottom:94px}.joint02-study-stat>small{padding-bottom:11px}}
