.teacher-section-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:30px 32px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(115deg,#edf3f3,#f7f3e9);margin-bottom:18px}
.teacher-section-heading h1{font-size:46px;margin-bottom:12px}.teacher-section-heading p{font-size:17px;color:var(--muted);margin:0;max-width:650px}.teacher-section-heading .eyebrow{margin-bottom:10px}
.teacher-section-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:350px;flex-shrink:0}.teacher-section-actions .button{white-space:normal;text-align:center}
.teacher-section-nav{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 18px;margin-bottom:30px}.teacher-section-nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 19px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:15px;font-weight:600;text-decoration:none}.teacher-section-nav a[aria-current=page]{background:var(--deep);border-color:var(--deep);color:#fff}.teacher-section-nav a:hover:not([aria-current]){background:#edf3f2}
.teacher-opportunities .sectionhead h2,.teacher-contest-preview .sectionhead h2,.teacher-catalog-heading h2{font-size:30px}.teacher-opportunity-cards .card{margin:0;display:flex;flex-direction:column}.teacher-opportunity-cards h3{margin-top:20px;font-size:23px}.teacher-opportunity-cards p{font-size:16px;color:var(--muted)}.teacher-opportunity-cards a{font-size:15px;font-weight:600;margin-top:auto}.teacher-contest-count{font-size:15px;margin-bottom:20px}.teacher-contest-preview .sectionhead{margin-bottom:16px}.teacher-catalog-heading{margin:0 0 28px}.teacher-catalog-heading p{max-width:800px;font-size:17px;color:var(--muted);margin-bottom:0}
@media(max-width:900px){.teacher-section-heading{align-items:flex-start;flex-direction:column}.teacher-section-actions{max-width:none;justify-content:flex-start}.teacher-opportunity-cards{grid-template-columns:1fr}}
@media(max-width:600px){.teacher-section-heading{padding:23px 20px;gap:20px}.teacher-section-heading h1{font-size:36px}.teacher-section-heading p{font-size:16px}.teacher-section-actions{width:100%}.teacher-section-actions .button{flex:1 1 150px;min-width:0}.teacher-section-nav{gap:8px}.teacher-section-nav a{flex:1 1 130px;justify-content:center}.teacher-contest-preview .sectionhead{align-items:flex-start;flex-direction:column;gap:12px}.teacher-opportunities .sectionhead h2,.teacher-contest-preview .sectionhead h2,.teacher-catalog-heading h2{font-size:27px}}
/* Resource library and expert journey */
.material-filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin:24px 0}
.material-filters p{flex:1;min-width:210px;margin:0}.material-filters button{margin-bottom:0}
.material-cards .card{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.material-cards .text-arrow{margin-top:auto}.material-author{font-size:.9rem;color:var(--muted)}
.material-detail{max-width:960px;margin:24px auto}.material-detail h2{overflow-wrap:anywhere}
.material-description{margin:28px 0;overflow-wrap:anywhere}.material-description p{white-space:normal}
.expert-steps{margin:28px 0}.expert-status{margin:32px 0;max-width:900px}
.expert-assignments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.teacher-section-nav{flex-wrap:wrap}.teacher-opportunity-cards .card>a+a{margin-top:12px}
@media(max-width:600px){.material-filters{display:block}.material-filters p{margin-bottom:16px;min-width:0}.material-filters button{margin-right:12px}.expert-assignments{grid-template-columns:1fr}.teacher-section-nav a{flex:1;text-align:center}}
