.teacher-card-exact {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .02);
    transition: transform .2s ease, box-shadow .2s ease;
}
.teacher-card-exact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
}
.teacher-card-exact .teacher-img-box {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}
.teacher-card-exact .teacher-img-box a { display: block; height: 100%; }
.teacher-card-exact .teacher-img-box img { width: 100%; height: 100%; object-fit: contain; }
.teacher-card-exact .teacher-content { flex-grow: 1; padding: 10px 15px; min-width: 0; max-width: 100%; }
.teacher-card-exact .teacher-name { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 2px; overflow-wrap: anywhere; }
.teacher-card-exact .teacher-name a { color: inherit; text-decoration: none; }
.teacher-card-exact .teacher-name a:hover { color: #26a676; }
.teacher-card-exact .teacher-desig { font-size: 13px; color: #666; margin: 0 0 10px; overflow-wrap: anywhere; }
.teacher-card-exact .social-icons-row { display: flex; justify-content: flex-start; align-items: center; gap: 6px; margin: 10px 0; }
.teacher-card-exact .social-icon-btn {
    width: 28px;
    height: 28px;
    background: #25d366;
    color: #fff;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
}
.teacher-card-exact .social-icon-btn.envelope { background: #26a676; }
.teacher-card-exact .social-icon-btn.facebook { background: #1877f2; }
.teacher-card-exact .social-icon-btn.linkedin { background: #0a66c2; }
.teacher-card-exact .btn-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: #1b5e20;
    padding: 4px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}
.teacher-card-exact .btn-details:hover { background: #26a676; color: #fff; }
.teacher-card-exact a:focus-visible { outline: 2px solid #26a676; outline-offset: 3px; }
.teachers-list { margin-bottom: 35px; }
.teachers-list-heading { border-bottom: 2px solid #eee; padding-bottom: 12px; margin-bottom: 25px; }
.teachers-list-heading h1 { font-size: 26px; font-weight: 700; margin: 0; }
.teachers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.teachers-grid-item { min-width: 0; }
.teachers-grid-item .teacher-card-exact { height: 100%; }
@media (max-width: 991px) {
    .teachers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 599px) {
    .teachers-grid { grid-template-columns: minmax(0, 1fr); }
}
