/* Only the About Us introduction uses a uniform reading size. */
.about-top > .about-top-des {
    font-size: 28px !important;
    line-height: 1.65 !important;
    overflow-wrap: break-word;
}
.about-top > .about-top-des :where(p, div, span, strong, b, em, i, u, s, a, li, ul, ol, blockquote, h1, h2, h3, h4, h5, h6, font) {
    font-size: inherit !important;
    line-height: inherit !important;
}
/* Keep the existing responsive reading size on tablets and phones. */
@media (max-width: 1024px) {
    .about-top > .about-top-des { font-size: 16px !important; line-height: 1.8 !important; }
}
/* Controls sit below the thumbnails so they never cover a portrait. */
.teacher-box .teacher-carousel { padding-bottom: 0 !important; }
.teacher-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin-top: 16px;
}
.teacher-controls .teacher-pagination {
    position: static !important;
    width: auto;
    flex: 1;
    min-width: 0;
    line-height: 12px;
}
.teacher-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #82202b;
    border-radius: 4px;
    background: #fff;
    color: #82202b;
    font: 400 16px/1.5 Arial, sans-serif;
    cursor: pointer;
    flex-shrink: 0;
}
.teacher-control[hidden] { display: none; }
.teacher-control:hover { background: #82202b; color: #fff; }
.teacher-control:focus-visible { outline: 2px solid #82202b; outline-offset: 3px; }
.teacher-arrow { width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.teacher-arrow-prev { transform: rotate(-135deg); }
.teacher-arrow-next { transform: rotate(45deg); }
