#card-study{scroll-margin-top:120px}
#card-study .study-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
#card-study .study-card{min-width:0;perspective:1100px}
#card-study .study-inner{display:grid;grid-template-columns:minmax(0,1fr);height:100%;transform-style:preserve-3d;transition:transform .46s cubic-bezier(.2,.65,.3,1)}
#card-study .study-card.is-open .study-inner{transform:rotateY(180deg)}
#card-study .study-front,#card-study .study-back{grid-area:1 / 1;min-width:0;border:1px solid #d0dbe2;border-radius:17px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
#card-study .study-front{display:flex;align-items:center;justify-content:center;width:100%;min-height:410px;padding:20px 12px;background:#e9eef2;color:#384f60;font-family:inherit;font-size:clamp(16px,1.6vw,23px);font-weight:800;letter-spacing:.01em;text-transform:uppercase;cursor:pointer;transform:translateZ(1px)}
#card-study .study-back{position:relative;display:flex;flex-direction:column;gap:16px;background:#e9eef2;padding:19px 18px 18px;transform:rotateY(180deg) translateZ(1px);visibility:hidden;transition:visibility 0s linear .18s}
#card-study .study-card.is-open .study-back{visibility:visible;transition-delay:0s}
#card-study .study-card.is-open .study-front{visibility:hidden;transition:visibility 0s linear .18s}
#card-study .study-card-header{display:flex;align-items:center;justify-content:space-between;gap:6px}
#card-study .study-card-header h3{font-size:18px;font-weight:600;letter-spacing:0;text-transform:uppercase;line-height:1.35;color:#384f60}
#card-study .study-close{border:0;border-radius:7px;padding:0;width:28px;min-height:28px;flex-shrink:0;background:transparent;color:#637b8c;font-size:21px;line-height:1;cursor:pointer}
#card-study .study-close:hover{background:#15284008}
#card-study .study-intro{font-size:15px;line-height:1.65;color:#63717c;margin:0;flex:1}
#card-study .study-specs{position:relative;isolation:isolate;display:grid;margin:0;padding:0;border-top:1px solid #d0dbe2}
#card-study .study-specs>.study-spec-row{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:8px;align-items:center;padding:12px 7px;border-bottom:1px solid #d0dbe2;min-height:48px;transition:transform .22s cubic-bezier(.2,.8,.2,1)}

#card-study .study-specs .study-key{font-size:12px;line-height:1.5;color:#637b8c;min-width:0}
#card-study .study-specs .study-value{font-size:14px;line-height:1.5;color:#384f60;min-width:0;margin:0;font-weight:500}
#card-study .study-specs small{display:block;font-size:11px;font-weight:400;color:#637b8c}
#card-study .study-track{position:absolute;top:0;left:0;right:0;z-index:0;background:#ffffff60;box-shadow:inset 2px 0 #c51f45;border-radius:5px;opacity:0;pointer-events:none;transition:transform .23s cubic-bezier(.2,.8,.2,1),height .23s cubic-bezier(.2,.8,.2,1),opacity .16s ease}
#card-study .study-specs.has-hover .study-track{opacity:1}
#card-study .study-more{align-self:flex-start;font-size:13px;font-weight:600;color:#c51f45;line-height:1.5;padding:3px 0}
#card-study .study-more:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){#card-study .study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#card-study .study-front{font-size:22px}}
@media(max-width:620px){#card-study .study-grid{grid-template-columns:1fr;gap:14px}#card-study .study-front{min-height:370px;font-size:23px}#card-study .study-back{padding:21px}#card-study .study-close{width:44px;min-height:44px}#card-study .study-specs>.study-spec-row{padding:11px 8px}#card-study .study-specs .study-value{font-size:16px}#card-study .study-specs .study-key{font-size:14px}}
@media(prefers-reduced-motion:reduce){#card-study .study-inner,#card-study .study-track,#card-study .study-specs>.study-spec-row{transition:none}#card-study .study-front,#card-study .study-back{transition:none}}
/* Preserve the existing home-card geometry: only the reverse-face content changes. */
#card-study .study-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#card-study .study-card,#card-study .study-inner{height:190px;min-height:190px}
#card-study .study-front,#card-study .study-back{height:190px;min-height:190px;max-height:190px;border-radius:18px;box-sizing:border-box}
#card-study .study-front{font-size:clamp(16px,2vw,28px);padding:20px 12px}
#card-study .study-back{padding:11px 12px;gap:6px;overflow:hidden}
#card-study .study-card-header{position:absolute;top:2px;right:3px}
#card-study .study-card-header h3{display:none}
#card-study .study-close{width:18px;min-height:18px;font-size:15px}
#card-study .study-intro{font-size:16px;line-height:1.3;flex:0 0 auto;padding-right:5px;color:#63717c}
#card-study .study-specs{margin-top:auto}
#card-study .study-specs>.study-spec-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:6px;padding:4px 5px;min-height:25px}
#card-study .study-specs .study-key{font-size:11px;line-height:1.25}
#card-study .study-specs .study-value{font-size:12px;line-height:1.25}
#card-study .study-specs small{display:inline;font-size:10px;line-height:1.2}
#card-study .study-more{display:none}
@media(max-width:850px){#card-study .study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#card-study .study-card,#card-study .study-inner,#card-study .study-front,#card-study .study-back{height:205px;min-height:205px;max-height:205px}}
@media(max-width:620px){#card-study .study-grid{gap:10px}#card-study .study-front{font-size:clamp(16px,4.1vw,23px)}#card-study .study-back{padding:9px;gap:5px}#card-study .study-intro{font-size:12.5px;line-height:1.3}#card-study .study-specs>.study-spec-row{padding:4px 3px;gap:4px}#card-study .study-specs .study-value{font-size:11px}#card-study .study-specs .study-key{font-size:10.5px}}
#card-study .study-back{overflow:auto;scrollbar-width:thin;scrollbar-color:#b7c8d3 transparent}
/* On a phone the same card opens into a larger, legible reading view. */
#card-study .study-mobile-dialog{width:calc(100% - 32px);max-width:440px;max-height:calc(100dvh - 56px);margin:auto;padding:22px;border:1px solid #d0dbe2;border-radius:18px;background:#e9eef2;color:#303e49;box-shadow:0 20px 65px #15284030;overflow:auto}
#card-study .study-mobile-dialog::backdrop{background:#15284055;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#card-study .study-mobile-dialog[open]{animation:none;transform-origin:center center}
#card-study .study-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
#card-study .study-mobile-header h2{margin:0;padding:0;background:transparent;font-size:22px;line-height:1.3;letter-spacing:0;text-transform:uppercase;color:#384f60}
#card-study .study-mobile-close{width:44px;min-height:44px;flex-shrink:0;border:1px solid #c5d3dd;border-radius:10px;background:transparent;color:#384f60;font-size:27px;line-height:1;cursor:pointer}
#card-study .study-mobile-dialog .study-intro{font-size:17px;line-height:1.65;padding:0;margin:0 0 20px}
#card-study .study-mobile-dialog .study-specs>.study-spec-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);padding:13px 4px;gap:12px;min-height:48px}
#card-study .study-mobile-dialog .study-specs .study-key{font-size:14px;line-height:1.45}
#card-study .study-mobile-dialog .study-specs .study-value{font-size:16px;line-height:1.45}
#card-study .study-mobile-dialog .study-specs small{display:block;font-size:12px;line-height:1.5}
#card-study .study-mobile-dialog .study-more{display:inline-flex;margin-top:20px;font-size:15px;padding:8px 0}
@keyframes study-expand{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
#card-study .study-mobile-dialog[open]::backdrop{animation:study-backdrop .32s ease both}
@keyframes study-backdrop{from{opacity:0}to{opacity:1}}

@media(prefers-reduced-motion:reduce){#card-study .study-mobile-dialog[open],#card-study .study-mobile-dialog[open]::backdrop{animation:none}}

#card-study .study-back{cursor:pointer}
#card-study .study-spec-row{cursor:inherit;transform:none}
#card-study .study-mobile-dialog .study-spec-row{cursor:default}
/* Desktop returns to a plain introduction; data is only in the mobile reading view. */
#card-study .study-back{align-items:center;justify-content:center;padding:14px 16px;overflow:hidden;text-align:center}
#card-study .study-back>.study-intro{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;max-height:153px;padding:0;width:100%;font-size:17px;line-height:1.5;flex:0 0 auto}
@media(max-width:850px) and (hover:none){#card-study .study-card,#card-study .study-inner,#card-study .study-front,#card-study .study-back{height:108px;min-height:108px;max-height:108px}#card-study .study-front{font-size:clamp(13px,3.8vw,20px);padding:10px 8px}}
/* Let the page language guide hyphenation instead of forcing wide word gaps. */
#card-study .study-back>.study-intro{text-align:justify;text-align-last:left;text-justify:inter-word;word-spacing:normal;word-break:normal;overflow-wrap:normal;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:6 3 3}
/* Restore the earlier centered alignment on desktop cards. */
#card-study .study-back>.study-intro{text-align:center;text-align-last:auto;-webkit-hyphens:manual;hyphens:manual;text-justify:auto;word-spacing:normal}
#card-study .study-front>span{display:block;max-width:100%;text-align:center}
#card-study.is-navigating .study-inner,#card-study.is-resetting .study-inner{transition:none!important}
#card-study.is-navigating .study-card{pointer-events:none}
#card-study .study-front>span{width:100%;white-space:nowrap}
html[lang="en"] #card-study .study-card:last-child .study-front>span{white-space:normal}
