/* Subject detail pages only. Shared v03/v14 header/footer styles stay unchanged. */
.subject-page .subject-intro{padding-block:28px 32px}
.subject-page .subject-product-logo{width:min(620px,100%);height:auto}
.subject-page .subject-intro h1{font-size:32px;line-height:1.45;margin-top:21px}
.subject-page .subject-navigation{display:flex;flex-wrap:wrap;gap:8px 22px;border-block:1px solid var(--line);padding-block:16px;font-size:14px;font-weight:700;line-height:1.65}
.subject-page .subject-navigation a{padding:4px 0;color:var(--muted)}
.subject-page .subject-navigation a[aria-current="page"]{color:var(--blue);box-shadow:inset 0 -2px 0 var(--blue)}
.subject-page .subject-navigation a:hover{color:var(--blue)}
.subject-page .subject-books{padding-block:12px 52px}
.subject-page .subject-book{display:grid;grid-template-columns:280px minmax(0,1fr);gap:66px;padding-block:45px;border-bottom:1px solid var(--line);align-items:start}
.subject-page .subject-cover{min-width:0;display:flex;align-items:center;flex-direction:column;gap:20px}
.subject-page .subject-cover-link{display:block;width:220px;max-width:100%;transition:opacity .2s}
.subject-page .subject-cover-link:hover{opacity:.88}
.subject-page .subject-cover-link img,.subject-page .subject-cover-link svg{display:block;width:100%;height:auto;max-height:350px;object-fit:contain;box-shadow:8px 12px 23px -14px #7a8896}
.subject-page .subject-cover figcaption{width:100%;max-width:260px}
.subject-page .subject-cover .btn{width:100%;font-size:13px;gap:12px;min-height:48px}
.subject-page .subject-content{min-width:0}
.subject-page .subject-content h2{font-size:27px;line-height:1.5;margin-bottom:14px}
.subject-page .subject-content .eyebrow{margin-bottom:12px}
.subject-page .chapter-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;color:var(--ink);font-size:15px;line-height:1.8}
.subject-page .chapter-list li{overflow-wrap:anywhere}
.subject-page .chapter-list .chapter-heading{font-weight:700;margin-top:15px;color:var(--ink)}
.subject-page .chapter-list .chapter-heading:first-child{margin-top:0}
.subject-page--english .chapter-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 25px}
.subject-page .subject-spec{padding-block:0 58px}
.subject-page .subject-spec h2{font-size:27px;margin-bottom:23px}
.subject-page .subject-spec dl{margin:0;border-top:1px solid var(--line)}
.subject-page .subject-spec dl>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;border-bottom:1px solid var(--line);padding:18px 8px;font-size:15px;line-height:1.9}
.subject-page .subject-spec dt{color:var(--muted);font-weight:500}
.subject-page .subject-spec dd{margin:0;min-width:0;overflow-wrap:anywhere}
.subject-page .subject-related{margin-top:24px;display:flex;flex-wrap:wrap;gap:13px 25px;font-size:13px;color:var(--blue)}
@media(max-width:1100px){.subject-page .subject-book{grid-template-columns:240px minmax(0,1fr);gap:40px}.subject-page--english .chapter-list{grid-template-columns:1fr}}
@media(max-width:760px){
.subject-page .breadcrumb{flex-wrap:wrap;row-gap:2px}
.subject-page .subject-intro{padding-block:22px 25px}
.subject-page .subject-product-logo{width:100%;max-width:450px}
.subject-page .subject-intro h1{font-size:27px;margin-top:17px}
.subject-page .subject-navigation{font-size:13px;gap:6px 20px;padding-block:13px}
.subject-page .subject-navigation a:first-child{flex-basis:100%}
.subject-page .subject-books{padding-block:0 35px}
.subject-page .subject-book{grid-template-columns:1fr;gap:28px;padding-block:32px}
.subject-page .subject-cover{gap:18px}
.subject-page .subject-cover-link{width:180px}
.subject-page .subject-cover-link img,.subject-page .subject-cover-link svg{max-height:290px}
.subject-page .subject-cover figcaption{max-width:300px}
.subject-page .subject-cover .btn{font-size:14px}
.subject-page .subject-content h2{font-size:24px;margin-bottom:12px}
.subject-page .subject-content .eyebrow{margin-bottom:9px}
.subject-page .chapter-list,.subject-page--english .chapter-list{grid-template-columns:1fr;font-size:14px;gap:8px}
.subject-page .chapter-list .chapter-heading{margin-top:12px}
.subject-page .subject-spec{padding-block:0 38px}
.subject-page .subject-spec h2{font-size:24px;margin-bottom:18px}
.subject-page .subject-spec dl>div{grid-template-columns:1fr;gap:6px;padding:16px 2px;font-size:14px}
.subject-page .subject-spec dt{font-size:13px}
.subject-page .subject-related{display:grid;gap:11px;margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.subject-page .subject-cover-link{transition:none}}