.th-home{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;background:#f4ead6;border:1px solid #e8d9b9;border-radius:14px;margin:28px 0}.th-home h2{font-size:28px;margin:12px 0}.th-home p{color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:0}.th-home .btn{flex-shrink:0}.th-home .route-pills{margin:15px 0 0;gap:8px}.th-home .route-pills span{font-size:11px;background:#fffaf0;border:1px solid #e7d9bb;border-radius:18px;padding:5px 10px;color:#816633}.th-hero{background:#eee3cc;border:1px solid #e4d5b6;border-radius:15px;padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0}.th-hero h2{font-size:33px;line-height:1.2;margin:14px 0}.th-hero p{font-size:15px;line-height:1.9;color:#655d49}.th-hero .math.block{background:#faf5e8;font-size:25px}.th-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.th-topic-grid .mx-feature:last-child{grid-column:1/-1}.th-topic-links{display:flex;flex-direction:column;gap:11px;margin-top:19px}.th-topic-links a{font-size:14px;line-height:1.6}.th-actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.th-subject-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0}.th-subject-tabs a{font-size:13px;border:1px solid var(--line);border-radius:9px;padding:9px 15px;background:var(--card);color:var(--muted)}.th-subject-tabs a.active{background:var(--teal);color:white;border-color:var(--teal)}.th-topic-grid .mx-feature h3{line-height:1.4}
@media(max-width:1100px){.th-home{flex-direction:column;align-items:flex-start;gap:18px}.th-hero{grid-template-columns:1fr}.th-hero br{display:none}.th-hero .math.block{font-size:23px}}
@media(max-width:760px){.th-home{padding:23px}.th-home h2{font-size:25px}.th-hero{padding:23px;gap:10px}.th-hero h2{font-size:29px}.th-hero .math.block{font-size:22px}.th-topic-grid{grid-template-columns:1fr}.th-topic-grid .mx-feature:last-child{grid-column:auto}.th-subject-tabs{gap:7px}.th-subject-tabs a{padding:8px 12px;font-size:12px}.th-actions{gap:9px}.th-actions .btn{font-size:13px}}
