.subject-page{background:#070b12;min-height:60vh;padding:35px 20px 20px}
.subject-container{width:90%;max-width:1200px;margin:0 auto}
.subject-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:28px;color:#9ea8bc;font-size:.95rem}
.subject-breadcrumb a{color:#cfd7ff;text-decoration:none}.subject-breadcrumb a:hover{color:white}
.subject-hero{background:var(--panel);border:1px solid var(--border);border-radius:20px;padding:38px 42px;box-shadow:0 0 30px rgba(156,167,255,.08)}
.subject-kicker{font-family:'Cinzel',serif;color:#cfd5e6;font-size:.82rem;letter-spacing:2px;text-transform:uppercase;margin-bottom:14px}
.subject-heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.subject-hero h2{font-family:'Cinzel',serif;font-size:2.8rem;line-height:1.2;color:var(--accent);margin-bottom:8px}
.subject-type{color:#cfd5e6;font-size:1.05rem}
.subject-acs{flex:0 0 auto;min-width:125px;padding:14px 18px;text-align:center;background:rgba(8,12,22,.65);border:1px solid rgba(190,210,255,.18);border-radius:12px}
.subject-acs span{display:block;font-family:'Cinzel',serif;font-size:.75rem;letter-spacing:2px;color:#9ea8bc}.subject-acs strong{display:block;margin-top:4px;font-family:'Cinzel',serif;font-size:1.35rem;color:#e6dcc6}
.subject-section{margin-top:32px}.subject-section-heading{font-family:'Cinzel',serif;color:var(--accent);font-size:1.25rem;letter-spacing:1px;margin-bottom:14px;padding-bottom:9px;border-bottom:1px solid rgba(190,210,255,.15)}
.subject-description,.classification-card,.subject-list,.subject-books,.subject-empty{background:var(--panel);border:1px solid var(--border);border-radius:16px}
.subject-description{padding:25px;line-height:1.8;font-size:1.08rem}.classification-card,.subject-list,.subject-books{overflow:hidden}
.classification-row{display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:18px;padding:18px 22px}.classification-label{color:#9ea8bc;font-size:.95rem}.classification-row a{color:#cfd7ff;text-decoration:none;font-size:1.08rem}.classification-row a:hover{color:white}.classification-acs{color:#cfd5e6;font-size:.95rem}
.subject-list-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;color:var(--text);text-decoration:none;border-bottom:1px solid rgba(190,210,255,.12);transition:background .2s ease,border-color .2s ease}.subject-list-item:last-child{border-bottom:none}.subject-list-item:hover{background:rgba(20,28,44,.65);border-color:rgba(190,210,255,.25)}
.subject-list-name{font-family:'Cinzel',serif;color:#cfd7ff;font-size:1.05rem}.subject-list-meta{color:#9ea8bc;font-size:.92rem;white-space:nowrap}
.subject-book-card{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:20px 22px;border-bottom:1px solid rgba(190,210,255,.12)}.subject-book-card:last-child{border-bottom:none}.subject-book-card h3{margin-bottom:5px;font-size:1.2rem}.subject-book-card h3 a{color:#cfd7ff;text-decoration:none}.subject-book-card h3 a:hover{color:white}.subject-book-author{color:#9ea8bc}.subject-book-type{flex:0 0 auto;color:#cfd5e6;font-size:.9rem}.subject-empty{padding:22px;color:#9ea8bc}
@media(max-width:768px){.subject-page{padding:25px 15px 15px}.subject-container{width:100%}.subject-hero{padding:28px 24px}.subject-heading-row{align-items:flex-start;flex-direction:column}.subject-hero h2{font-size:2.15rem}.subject-acs{min-width:115px}.classification-row{grid-template-columns:1fr;gap:7px}.classification-acs{margin-top:3px}.subject-list-item,.subject-book-card{align-items:flex-start;flex-direction:column;gap:8px}.subject-list-meta{white-space:normal}}
