.font-primary {
    font-family: "Poppins", system-ui !important;
}

.list-visi li::marker {
    color: #000000;
    font-size: 1.5em;
    content: "•";
}

.list-visi li {
    padding-left: 10px;
    text-align: left;
}

.read-more {
    border-radius: 5px;
    padding: 12px 20px;
    width: 130px;
    text-align: center;
}

.font-beranda {
    font-family: "Abhaya Libre", serif;
}

.box-galeri {
    box-shadow: 0 0 0 8px #fff, 0 10px 50px 0 rgba(61, 68, 240, 0.1);
    background-color: #f7fbfb;
    border-radius: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
.box-galeri:before {
    background-color: #f7fbfb;
    border-radius: 20px;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: 0;
    top: 0;
    border: 2px dashed #000;
}
.box-galeri-2 {
    padding: 10px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 20px;
    z-index: 1;
}
.box-galeri-2:before {
    content: "";
    position: absolute;
    background: rgba(9, 132, 134, 0.12);
    right: -60px;
    top: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: -5px;
    z-index: -1;
}
.box-galeri-2:hover .title-gallery {
    color: yellow;
}
.box-galeri-2:hover:before {
    background: #3498db;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.box-kepsek {
    background-color: #f7fbfb;
    border-radius: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    box-sizing: border-box;
    margin: 15px 15px;
    position: relative;
    z-index: 1;
}

.box-kepsek:before {
    background-color: #f7fbfb;
    border-radius: 30px;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: 0;
    top: 0;
    border: 2px dashed #000;
}

.deskripsi-kepsek:after {
    content: "\f10d";
    font-size: 50px;
    position: absolute;
    left: 0;
    color: #c4d0d3;
    font-family: FontAwesome;
    top: -14px;
}
.deskripsi-kepsek {
    position: relative;
    font-size: 15px;
    font-weight: 400;
}

.section-paralax {
    position: relative;
    z-index: 1;
    background-image: url("https://cdn.pixabay.com/photo/2017/03/27/13/03/book-2178586_1280.jpg");
    background-attachment: fixed;
    background-size: cover;
}
.section-paralax:after {
    content: "";
    height: 80px;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
    background-repeat: no-repeat;
    background-image: url("https://www.smkn2mojokerto.sch.id/assets/images/line-bg1.png");
    top: 0;
    background-size: 100%;
}
.section-paralax:before {
    content: "";
    height: 80px;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
    background-repeat: no-repeat;
    bottom: 0px;
    background-image: url("https://www.smkn2mojokerto.sch.id/assets/images/line-bg2.png");
}

.overlay-box {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #000;
    top: 0;
    left: 0;
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    z-index: -1;
}

.section-profile {
    background-image: url("/images/bg-line.png");
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 60px;
}

.box-profile {
    padding: 10px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
}

.box-profile ol li {
    margin-bottom: 10px;
}

.box-welcome {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.box-welcome:before {
    content: "";
    position: absolute;
    background: rgba(9, 132, 134, 0.12);
    right: -60px;
    top: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: -1;
}
.box-welcome:hover:before {
    background: #3498db;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}
.box-welcome:hover {
    color: white; /* Mengubah warna teks menjadi putih */
}

.box-welcome:hover i {
    color: white !important; /* Mengubah warna ikon menjadi putih */
}
.box-profile {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.box-profile:before {
    content: "";
    position: absolute;
    background: rgba(9, 132, 134, 0.12);
    right: -60px;
    top: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: -1;
}
.box-profile:hover:before {
    background: #3498db;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}
.box-profile:hover {
    color: white !important;
}
.box-profile:hover .text-header {
    color: white !important; /* Mengubah warna teks menjadi putih saat di-hover */
}

.box-profile:hover i {
    color: white !important; /* Mengubah warna ikon menjadi putih */
}

.title-news {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.title-news:hover {
    color: #098486;
}

.sub-sidebar li {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Styling untuk link */
.sub-sidebar li {
    color: inherit; /* Mempertahankan warna teks bawaan */
    position: relative; /* Untuk menempatkan elemen pseudo */
}

/* Animasi underline pada elemen <li> yang dihover */
.sub-sidebar li:after {
    content: "";
    position: absolute;
    left: 0;
    top: 36px; /* Mengatur posisi sejajar dengan border-bottom */
    width: 100%; /* Agar garis penuh sepanjang teks */
    border-bottom: solid 3px #098486;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 250ms ease-in-out;
    transition: -webkit-transform 250ms ease-in-out;
    transition: transform 250ms ease-in-out;
    transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
    -webkit-transform-origin: left;
    transform-origin: left;
}
/* Efek animasi saat hover */
.sub-sidebar li:hover:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.sub-sidebar li:hover a {
    color: #098486 !important;
}
.btn-sidebar:hover {
    margin-top: 6px;
    color: #098486;
}

/* .content p {
    padding-bottom: 20px;
} */

.content img {
    width: 100%;
}
.content iframe {
    width: 100%;
    height: 400px;
}

.dlab-post-text {
    margin-bottom: 20px;
    font-family: sans-serif;
}
.dlab-post-text p:last-child {
    margin: 0;
}

.dlab-post-text {
    margin-top: 20px;
}

.dlab-post-text > ol,
.dlab-post-text > ul {
    padding-left: 30px;
}
.dlab-post-text > ol li,
.dlab-post-text > ul li {
    padding: 5px 5px;
    color: #2b2d2e;
}
.dlab-post-text {
    padding: 0;
    list-style: none;
}
.dlab-post-text > li {
    padding: 0;
    list-style: none;
    margin: 10px;
}

.dlab-post-text h1,
.dlab-post-text h1 {
    font-size: 36px;
    line-height: 45px;
    margin-bottom: 10px;
    font-weight: 700;
}
.dlab-post-text h2,
.dlab-post-text h2 {
    font-size: 32px;
    line-height: 45px;
    margin-bottom: 5px;
    font-weight: 700;
}
.dlab-post-text h3,
.dlab-post-text h3 {
    font-size: 24px;
    line-height: 35px;
    margin-bottom: 8px;
    font-weight: 700;
}
.dlab-post-text h4,
.dlab-post-text h4 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 5px;
    font-weight: 600;
}
.dlab-post-text h5,
.dlab-post-text h5 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}
.dlab-post-text h6,
.dlab-post-text h6 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}
.dlab-post-text ol li,
.dlab-post-text p,
.dlab-post-text ul li {
    font-size: 16px;
    line-height: 28px;
}
.dlab-post-text p {
    margin-bottom: 28px;
}
/* .dlab-post-text p:has(img) {
    display: flex;
}
.dlab-post-text p strong:has(img) {
    display: flex;
} */

.dlab-post-text blockquote p {
    font-size: 24px;
    line-height: 34px;
    color: #2b2d2e;
    margin-bottom: 10px;
    font-weight: 500;
    text-align: left;
}
.dlab-post-text .wp-block-gallery {
    margin-left: calc(-190px - (10px / 2));
    margin-right: calc(-190px - (10px / 2));
    width: calc(100% + 380px + 10px);
    max-width: initial;
}
.dlab-post-text tr {
    border: 0.5px solid rgba(94, 94, 94, 0.404);
    padding: 10px;
}
.dlab-post-text td {
    border: 0.5px solid rgba(94, 94, 94, 0.404);
    padding: 10px;
}

.dlab-post-text .has-large-font-size {
    font-size: 36px;
    line-height: 50px;
    color: #000;
}

#sidebar {
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media only screen and (max-width: 1150px) {
    .dlab-post-text p:has(img),
    .dlab-post-text p strong:has(img) {
        display: block; /* Mengembalikan ke gaya default atau mengubah ke kolom */
    }
}
@media only screen and (max-width: 1024px) {
    .section-paralax {
        background-attachment: scroll !important;
    }
}

/* === Beranda card helpers (galeri jurusan & artikel berita) === */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aspect-ratio-16-10 {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
    background-color: #f3f4f6;
}
.aspect-ratio-16-10 > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}
.card-news {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(68, 88, 144, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-news:hover {
    box-shadow: 0 12px 28px rgba(68, 88, 144, 0.18);
}
.card-news:hover img {
    transform: scale(1.05);
}
.card-news-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-news-title {
    color: #313e5f;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.35;
    min-height: 46px;
}
.card-news-desc {
    color: #3f3f3f;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 14px;
}
.card-news-more {
    margin-top: auto;
    color: #555;
    font-style: italic;
    font-size: 14px;
}
.card-news:hover .card-news-more {
    color: #098486;
    text-decoration: underline;
}
.card-major {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(68, 88, 144, 0.12);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-major:hover {
    box-shadow: 0 12px 28px rgba(68, 88, 144, 0.2);
}
.card-major:hover img {
    transform: scale(1.05);
}
.card-major-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-major-title {
    color: #313e5f;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    min-height: 40px;
    margin-bottom: 12px;
}

/* === Sidebar Berita Terbaru === */
.sidebar-heading {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-heading::before {
    content: "";
    width: 4px;
    height: 18px;
    background: #098486;
    border-radius: 2px;
    display: inline-block;
}
.sidebar-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 12px 0 18px;
}
.news-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
    align-items: flex-start;
}
.news-item:hover {
    background-color: #f7fbfb;
}
.news-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.news-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.news-body .news-title {
    font-family: "Poppins", system-ui, sans-serif;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.2s ease;
}
.news-body .news-title:hover {
    color: #098486;
}
.news-meta {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 500;
}
.news-meta .news-meta-cat {
    color: #098486;
    font-weight: 600;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === Article / Program detail (premium look) === */
.article-detail {
    font-family: "Poppins", system-ui, sans-serif;
    color: #1f2937;
}
.article-hero {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 18px 45px -20px rgba(15, 23, 42, 0.45);
    aspect-ratio: 16 / 9;
    position: relative;
}
.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.article-body {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 28px 36px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
    box-shadow: 0 14px 40px -22px rgba(15, 23, 42, 0.25);
    border: 1px solid #eef2f7;
}
.article-head {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 18px;
    margin-bottom: 22px;
}
.article-tag {
    display: inline-block;
    background: rgba(9, 132, 134, 0.1);
    color: #098486;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.article-tag:hover {
    background: #098486;
    color: #fff;
}
.article-title {
    font-family: "Abhaya Libre", "Poppins", serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
    margin: 14px 0 12px;
    letter-spacing: -0.2px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}
.article-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
}
.article-meta li i {
    color: #098486;
    font-size: 12px;
}
.article-meta li a {
    color: #6b7280;
    transition: color 0.2s ease;
}
.article-meta li a:hover {
    color: #098486;
}
.article-content {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}
.article-content p {
    margin-bottom: 16px;
}
.article-content img {
    border-radius: 14px;
    margin: 18px 0;
    box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.35);
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #0f172a;
    font-family: "Abhaya Libre", "Poppins", serif;
    margin-top: 28px;
    margin-bottom: 12px;
}
.article-content blockquote {
    border-left: 4px solid #098486;
    background: #f7fbfb;
    padding: 14px 18px;
    border-radius: 8px;
    color: #334155;
    font-style: italic;
    margin: 18px 0;
}
.article-content a {
    color: #098486;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content ul,
.article-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
}
.article-content ul li,
.article-content ol li {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .article-body {
        padding: 22px 18px 28px;
        margin-top: -24px;
        border-radius: 16px;
    }
    .article-title {
        font-size: 22px;
    }
}

/* === Attachment block (read-module) === */
.attachment-block {
    margin-top: 28px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}
.attachment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f7fbfb;
    color: #098486;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #eef2f7;
}
.attachment-head i {
    font-size: 16px;
}
.attachment-list {
    display: flex;
    flex-direction: column;
}
.attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}
.attachment-item:last-child {
    border-bottom: none;
}
.attachment-item:hover {
    background: #f9fbfb;
}
.attachment-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.attachment-info > i {
    color: #098486;
    font-size: 18px;
    flex: 0 0 auto;
}
.attachment-name {
    font-size: 13.5px;
    color: #1f2937;
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}
.attachment-date {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0;
}
.attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #098486;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    flex: 0 0 auto;
}
.attachment-btn:hover {
    background: #066b6d;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .attachment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .attachment-btn {
        align-self: stretch;
        justify-content: center;
    }
}

/* === Guru page / teacher preview === */
.section-teachers {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(9, 132, 134, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(9, 132, 134, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.teacher-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.teacher-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(9, 132, 134, 0.12);
    color: #098486;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.teacher-home-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: #098486;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(9, 132, 134, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.teacher-home-link:hover {
    color: #ffffff;
    background: #066b6d;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(9, 132, 134, 0.25);
}

.teacher-home-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e6f1f2;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.teacher-home-card:hover {
    transform: translateY(-2px);
    border-color: rgba(9, 132, 134, 0.22);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.teacher-home-card__avatar,
.teacher-profile-avatar {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f8fa 0%, #f6fbfb 100%);
    border: 1px solid rgba(9, 132, 134, 0.12);
    padding: 4px;
}

.teacher-home-card__avatar img,
.teacher-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.teacher-home-card__body {
    min-width: 0;
}

.teacher-home-card__body h3,
.teacher-profile-head h3 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.teacher-home-card__body p,
.teacher-profile-major {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.teacher-home-card__body span,
.teacher-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #098486;
    font-size: 12px;
    font-weight: 700;
}

.teacher-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(9, 132, 134, 0.08), rgba(255, 255, 255, 0.9)),
        #ffffff;
    border: 1px solid rgba(9, 132, 134, 0.12);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.teacher-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dbe9ea;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.teacher-search-form i {
    color: #098486;
    font-size: 15px;
}

.teacher-search-form input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #1f2937;
    font-size: 14px;
}

.teacher-search-form input::placeholder {
    color: #94a3b8;
}

.teacher-search-form button {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: none;
    border-radius: 14px;
    background: #098486;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.teacher-search-form button:hover {
    background: #066b6d;
    transform: translateY(-1px);
}

.teacher-hero-stats {
    display: grid;
    gap: 12px;
    min-width: 220px;
}

.teacher-hero-stats > div {
    padding: 14px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #edf3f4;
}

.teacher-hero-stats span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.teacher-hero-stats strong {
    display: block;
    margin-top: 4px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.2;
}

.teacher-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e7f0f1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.teacher-profile-card:hover {
    transform: translateY(-2px);
    border-color: rgba(9, 132, 134, 0.2);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.teacher-profile-body {
    flex: 1 1 auto;
    min-width: 0;
}

.teacher-profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.teacher-profile-head span {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(9, 132, 134, 0.1);
    color: #098486;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.teacher-profile-major {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #374151;
}

.teacher-profile-major i {
    margin-top: 3px;
    color: #098486;
}

.teacher-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.teacher-profile-meta span {
    padding: 7px 10px;
    border-radius: 12px;
    background: #f7fbfb;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    word-break: break-word;
}

.teacher-empty {
    padding: 40px 24px;
    border-radius: 24px;
    border: 1px dashed #b9d9da;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    text-align: center;
}

.teacher-empty h3 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
}

.teacher-empty p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pagination li {
    list-style: none;
}

.pagination li > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #dbe9ea;
    background: #ffffff;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination li > *:hover {
    border-color: rgba(9, 132, 134, 0.22);
    color: #098486;
}

.pagination .active span {
    background: #098486;
    border-color: #098486;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .teacher-hero-card {
        grid-template-columns: 1fr;
    }

    .teacher-home-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .teacher-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .section-teachers {
        padding: 20px;
        border-radius: 22px;
    }

    .teacher-home-card,
    .teacher-profile-card {
        padding: 14px;
        border-radius: 18px;
    }

    .teacher-home-card__avatar,
    .teacher-profile-avatar {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .teacher-home-card__avatar img,
    .teacher-profile-avatar img {
        border-radius: 12px;
    }

    .teacher-profile-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .teacher-profile-meta {
        flex-direction: column;
    }

    .teacher-hero-stats {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .teacher-search-form {
        flex-wrap: wrap;
    }

    .teacher-search-form button {
        width: 100%;
    }
}
