
/* Additional teaching-material previews. All selectors are scoped. */
.material-page { background:#f6f8fb; }
.material-wrap { width:min(1160px,calc(100% - 40px)); margin-inline:auto; }
.material-hero { padding:64px 0 34px; background:linear-gradient(135deg,#eaf2ff,#f5f5e8 70%,#fff3e4); }
.material-eyebrow { margin:0 0 10px; font-weight:800; color:#315b96; letter-spacing:.06em; }
.material-hero h1 { margin:0; font-size:clamp(30px,4.6vw,54px); line-height:1.35; letter-spacing:-.025em; }
.material-lead { max-width:820px; margin:20px 0; color:#3b5068; font-size:clamp(16px,1.6vw,19px); line-height:1.9; }
.material-note { margin:14px 0 0; color:#5c6876; font-size:13px; line-height:1.8; }
.material-nav { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; }
.material-nav a { display:block; border:1px solid #d4dfed; border-radius:999px; background:#fff; padding:11px 18px; color:#204f86; font-weight:800; text-decoration:none; }
.material-nav a:hover { background:#eaf3ff; }
.material-section { padding:44px 0; scroll-margin-top:100px; }
.material-section h2 { margin:0 0 14px; font-size:clamp(26px,3vw,36px); line-height:1.5; }
.material-section-lead { max-width:780px; margin:0 0 26px; color:#526478; line-height:1.85; }
.material-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; align-items:start; }
.material-card { background:#fff; border:1px solid #dae4ed; border-radius:22px; overflow:hidden; box-shadow:0 7px 25px #264a7010; scroll-margin-top:100px; }
.material-card-head { padding:24px 26px 18px; }
.material-card h3 { margin:6px 0 8px; font-size:25px; line-height:1.5; }
.material-kind { display:inline-block; padding:5px 11px; border-radius:8px; background:#eaf2fe; color:#2e6098; font-size:12px; font-weight:800; }
.material-topic { margin:0; color:#526478; font-size:15px; line-height:1.75; }
.material-figure { margin:0; }
.material-visual { display:block; padding:12px; background:#edf1f6; }
.material-visual img { display:block; width:100%; height:auto; border-radius:10px; background:#fff; }
.material-figure figcaption { padding:12px 26px 0; font-size:12px; color:#5c6876; line-height:1.75; }
.material-stem { margin:17px 0; font-size:16px; line-height:1.85; color:#253f59; overflow-wrap:anywhere; }
.material-card-body { padding:0 26px 26px; }
.material-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:18px; }
.material-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 17px; border:1px solid #c4d6eb; border-radius:11px; background:#fff; color:#245d9f; font-weight:800; text-decoration:none; line-height:1.5; }
.material-link.primary { background:#225da1; border-color:#225da1; color:#fff; }
.material-link:hover { filter:brightness(.96); }
.material-art-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.material-art-card { border:1px solid #d9e2ee; border-radius:22px; overflow:hidden; background:#fff; box-shadow:0 6px 24px #264a700d; }
.material-art-card picture { display:block; aspect-ratio:3/2; background:#eef3f8; }
.material-art-card img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.material-art-copy { padding:23px; }
.material-art-copy h3 { font-size:25px; margin:0 0 10px; }
.material-art-copy p { color:#4b6179; line-height:1.8; margin:0 0 12px; }
.material-art-copy a { display:block; margin-top:12px; font-weight:800; color:#245d9f; line-height:1.65; }
.material-entry { background:#f5f8fc; border-block:1px solid #e1e8f0; }
.material-band { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:34px; align-items:center; padding:28px; border:1px solid #d8e2ee; border-radius:22px; background:#fff; }
.material-band img { display:block; width:100%; height:auto; aspect-ratio:3/2; border-radius:16px; }
.material-band h2 { font-size:30px; }
.material-mini-preview { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:32px; align-items:center; }
.material-mini-preview img { display:block; width:100%; height:auto; border:1px solid #d7e1ec; border-radius:16px; background:#fff; }
.material-inline-note { max-width:820px; line-height:1.9; color:#4d647c; }
.material-breadcrumb { font-size:13px; display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px; color:#5a6b7c; }
.material-breadcrumb a { color:#42658a; }
.material-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.material-guide-card { padding:24px; border:1px solid #dae4ed; border-radius:18px; background:#fff; }
.material-guide-card h3 { font-size:21px; line-height:1.65; margin:0 0 10px; }
.material-guide-card p { color:#526478; line-height:1.85; margin:0 0 16px; }
.material-faq { max-width:900px; }
.material-faq details { padding:18px 22px; border:1px solid #d5dfeb; border-radius:14px; margin-bottom:12px; background:#fff; }
.material-faq summary { cursor:pointer; font-weight:800; line-height:1.7; }
.material-faq p { line-height:1.9; color:#486078; margin:16px 0 0; }
.material-sample { max-width:900px; margin:24px auto; padding:28px; border:1px solid #d8e2ee; border-radius:22px; background:#fff; scroll-margin-top:100px; }
.material-sample h2 { font-size:25px; line-height:1.6; }
.material-sample .sample-image { width:100%; height:auto; display:block; margin:20px 0; border-radius:12px; border:1px solid #dee6ef; }
.material-sample-question { font-size:19px; font-weight:700; line-height:1.9; white-space:pre-line; }
.material-options { padding-left:28px; line-height:1.9; }
.material-options li { padding:8px 10px; margin-bottom:8px; border-radius:10px; background:#f3f7fc; }
.material-answer { border-top:1px solid #d9e5f0; margin-top:22px; padding-top:20px; }
.material-answer summary { cursor:pointer; font-weight:800; color:#205b9f; min-height:44px; }
.material-answer p { line-height:1.95; white-space:pre-line; }
.material-answer .correct { font-weight:800; color:#156345; }
.material-learning-steps { max-width:900px; display:grid; gap:18px; }
.material-learning-steps article { background:#fff; border:1px solid #dae3ef; border-radius:16px; padding:24px; }
.material-learning-steps h3 { font-size:20px; margin:0 0 10px; }
.material-learning-steps p { color:#496078; line-height:1.9; margin:0; }
@media(max-width:800px) {
 .material-art-grid,.material-guide-grid { grid-template-columns:1fr; }
 .material-art-card { display:grid; grid-template-columns:1fr 1fr; align-items:center; }
 .material-art-copy { padding:20px; }
 .material-band,.material-mini-preview { grid-template-columns:1fr; }
 .material-art-card picture { width:100%; }
}
@media(max-width:640px) {
 .material-wrap { width:calc(100% - 28px); }
 .material-hero { padding:38px 0 24px; }
 .material-grid { grid-template-columns:1fr; gap:24px; }
 .material-card-head { padding:22px 20px 17px; }
 .material-card h3 { font-size:24px; }
 .material-card-body { padding:0 20px 23px; }
 .material-figure figcaption { padding-inline:20px; }
 .material-section { padding:34px 0; }
 .material-art-card { display:block; }
 .material-art-copy { padding:22px; }
 .material-band { padding:18px; gap:24px; }
 .material-band h2 { font-size:26px; }
 .material-sample { padding:22px 18px; }
 .material-sample-question { font-size:17px; }
 .material-nav { gap:8px; }
 .material-nav a { padding:10px 14px; font-size:14px; }
 .material-actions .material-link { flex:1 1 auto; }
}

.material-extra { margin-top:18px; border-top:1px solid #dae4ed; padding-top:16px; }
.material-extra summary { min-height:44px; cursor:pointer; color:#245d9f; font-weight:800; line-height:1.7; }
.material-extra .material-visual { padding:8px; border-radius:12px; }
.material-extra figcaption { padding:12px 0; }
.material-catalog-img img { object-fit:contain!important; object-position:center; background:#eef3f8; }
.material-catalog-count { font-weight:800; color:#11796d; }
.material-sample h3 { font-size:25px; line-height:1.6; margin:0 0 18px; }
.material-learning-steps p+p { margin-top:14px; }
.material-practice-list { max-width:900px; padding-left:30px; line-height:1.9; }
.material-practice-list li { margin:14px 0; padding-left:8px; }
.material-reference-list { max-width:900px; line-height:1.9; padding-left:23px; }
.material-reference-list li { margin:15px 0; }
.material-reference-list p { color:#526478; margin:5px 0; font-size:14px; }
.material-comparison { margin-top:24px; max-width:900px; }
.material-comparison table { width:100%; border-collapse:collapse; background:#fff; line-height:1.8; }
.material-comparison caption { text-align:left; font-size:20px; font-weight:800; padding:12px 0; }
.material-comparison th,.material-comparison td { padding:16px; border:1px solid #d6e0ec; text-align:left; vertical-align:top; }
.material-comparison thead th { background:#e7effa; }
@media(max-width:640px) {
 .material-sample h3 { font-size:23px; }
 .material-comparison table,.material-comparison tbody { display:block; }
 .material-comparison thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .material-comparison tr { display:block; border:1px solid #d6e0ec; border-radius:14px; margin-bottom:14px; overflow:hidden; }
 .material-comparison th,.material-comparison td { display:block; border:0; padding:13px 16px; }
 .material-comparison th { background:#e7effa; }
 .material-comparison td:before { content:attr(data-label); display:block; font-size:12px; color:#526478; font-weight:700; }
}
