.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: "Poppins", system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    color: #0f172a;
    margin: 14px 0 12px;
    letter-spacing: -0.1px;
    word-break: break-word;
}
@media (min-width: 1024px) {
    .article-title {
        font-size: 24px;
        line-height: 1.3;
    }
}
.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: 19px;
        line-height: 1.4;
    }
}

/* === 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;
    }
}

/* === Footer (horizontal, premium) === */
.site-footer .footer-top .container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.8fr 1fr 1.1fr;
        gap: 32px;
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.1fr;
        gap: 48px;
    }
}
.footer-logo {
    width: 160px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.footer-tagline {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.7;
    margin-top: 18px;
    max-width: 380px;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f7c948, #f0a500);
    color: #1f2a26;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 8px 18px -10px rgba(240, 165, 0, 0.6);
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}
.footer-social li a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social li a:hover {
    background: #098486;
    color: #ffffff;
    transform: translateY(-2px);
    border-color: #098486;
}
.footer-heading {
    color: #ffffff;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #098486;
}
.site-footer .list-menu-footer {
    padding: 0;
    list-style: none;
    margin: 0;
}
.site-footer .list-menu-footer li {
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 13.5px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer .list-menu-footer li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer .list-menu-footer li:hover {
    padding-left: 6px;
    color: #ffffff;
    text-decoration: none;
}
.site-footer .list-menu-footer li a:hover {
    color: #ffffff;
}
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.footer-partners a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 10px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-partners a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -16px rgba(0, 0, 0, 0.4);
}
.footer-partners img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-partners-note {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}
.footer-partners-note .block {
    display: block;
}

.footer-bottom {
    background: #16201d !important;
    padding: 0 !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.footer-bottom .container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.footer-copy {
    color: #94a3b8;
    font-size: 12.5px;
    margin: 0;
}
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.footer-legal li a {
    color: #94a3b8;
    font-size: 12.5px;
    transition: color 0.2s ease;
}
.footer-legal li a:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 24px;
    }
    .footer-tagline {
        max-width: 100%;
    }
    .footer-bottom .flex {
        align-items: flex-start;
    }
}

/* Footer bottom row layout (replace md:flex Tailwind utility) */
.footer-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
}
@media (min-width: 768px) {
    .footer-bottom-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
}

/* === Guru pages === */
.teacher-page-kicker {
    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-page-title {
    margin: 14px 0 0;
    color: #1f2937;
    font-family: "Abhaya Libre", serif;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 700;
}

.teacher-page-desc {
    margin-top: 10px;
    max-width: 720px;
    color: #52606d;
    font-size: 16px;
    line-height: 1.7;
}

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

.teacher-back-link:hover {
    color: #ffffff;
    background: #066b6d;
    transform: translateY(-1px);
    box-shadow: 0 15px 24px rgba(9, 132, 134, 0.2);
}

.teacher-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 260px;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(9, 132, 134, 0.08), rgba(255, 255, 255, 0.92)),
        #ffffff;
    border: 1px solid rgba(9, 132, 134, 0.12);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.teacher-search-panel,
.teacher-stats-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5eff0;
    border-radius: 20px;
    padding: 16px;
}

.teacher-search-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teacher-search-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.teacher-search-head h2 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
}

.teacher-search-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
}

.teacher-search-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e3f8fa;
    color: #098486;
    font-size: 12px;
    font-weight: 800;
}

.teacher-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dbe9ea;
}

.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: 12px;
    background: #098486;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.teacher-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.teacher-stat-box {
    padding: 10px 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #edf3f4;
}

.teacher-stat-box span {
    display: block;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.teacher-stat-box strong {
    display: block;
    margin-top: 4px;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.2;
}

.teacher-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e7f0f1;
    box-shadow: 0 12px 24px 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 30px rgba(15, 23, 42, 0.09);
}

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

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

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

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

.teacher-profile-head h3 {
    margin: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

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

.teacher-profile-major {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 6px 0 0;
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
}

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

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

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

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

.teacher-empty {
    padding: 34px 20px;
    border-radius: 20px;
    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;
}

.teacher-detail-card {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    border: 1px solid #e7f0f1;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.teacher-detail-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f8fa 0%, #f6fbfb 100%);
    border: 1px solid rgba(9, 132, 134, 0.12);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.teacher-detail-avatar i {
    color: #098486;
    font-size: 72px;
    line-height: 1;
}

.teacher-detail-meta {
    margin-top: 16px;
}

.teacher-detail-role {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(9, 132, 134, 0.12);
    color: #098486;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.teacher-detail-meta h1 {
    margin: 12px 0 0;
    color: #1f2937;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.teacher-detail-major {
    margin: 8px 0 0;
    color: #52606d;
    font-size: 14px;
    font-weight: 600;
}

.teacher-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.teacher-detail-chips span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 12px;
    background: #f7fbfb;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    word-break: break-word;
}

.teacher-detail-content {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    border: 1px solid #e7f0f1;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.teacher-detail-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fcfc;
    border: 1px solid #e6f1f2;
}

.teacher-detail-note {
    margin: 0;
    color: #52606d;
    font-size: 14px;
    line-height: 1.7;
}

.teacher-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.teacher-social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #098486;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.teacher-social-row a:hover {
    background: #066b6d;
    transform: translateY(-1px);
}

.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: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #dbe9ea;
    background: #ffffff;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}

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

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

    .teacher-detail-content {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .teacher-page-desc {
        font-size: 15px;
    }

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

    .teacher-profile-avatar {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

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

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

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

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

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

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

    .teacher-detail-card {
        padding: 14px;
        border-radius: 18px;
    }

    .teacher-detail-content {
        padding: 16px;
    }

    .teacher-detail-meta h1 {
        font-size: 24px;
    }
}

/* Detail guru override: avatar jangan dominan */
.teacher-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.teacher-detail-avatar {
    width: 190px;
    height: 190px;
    aspect-ratio: auto;
    flex: 0 0 auto;
}

.teacher-detail-meta h1 {
    font-size: 24px;
}

.teacher-detail-major {
    font-size: 13px;
}

@media (max-width: 768px) {
    .teacher-detail-avatar {
        width: 150px;
        height: 150px;
    }
}

/* Compact row override for guru index */
.teacher-hero-card {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
}

.teacher-search-panel {
    align-self: start;
    padding: 14px;
}

.teacher-search-head {
    margin-bottom: 0;
}

.teacher-search-form {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
}

.teacher-search-form button {
    padding: 10px 14px;
    border-radius: 12px;
}

.teacher-stats-panel {
    gap: 8px;
}

.teacher-stat-box {
    padding: 12px 14px;
}

@media (max-width: 768px) {
    .teacher-search-form {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .teacher-search-form button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* === Guru page / teacher preview === */
.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;
}

.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;
}

.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-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-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.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 h3 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.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;
    margin: 6px 0 0;
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
}

.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-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #098486;
    font-size: 12px;
    font-weight: 700;
}

.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;
}

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

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

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

@media (max-width: 768px) {
    .teacher-profile-card {
        padding: 14px;
        border-radius: 18px;
    }

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

    .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%;
    }
}

/* Pagination premium override */
.pagination {
    gap: 10px;
}

.pagination li > * {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #d7e7e8;
    background: rgba(255, 255, 255, 0.96);
    color: #3a4955;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pagination li > *:hover {
    transform: translateY(-1px);
    border-color: rgba(9, 132, 134, 0.28);
    color: #098486;
    box-shadow: 0 10px 22px rgba(9, 132, 134, 0.12);
}

.pagination .active span {
    background: linear-gradient(135deg, #098486, #3f9a9d);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(9, 132, 134, 0.2);
}

.pagination span[aria-disabled="true"] {
    background: #f3f7f8;
    color: #a0aec0;
    box-shadow: none;
}

.pagination a[rel="prev"],
.pagination a[rel="next"] {
    background: #ffffff;
    color: #24323f;
}

.pagination a[rel="prev"]::before,
.pagination span[aria-label*="Previous"]::before {
    content: "←";
    margin-right: 8px;
    font-size: 14px;
}

.pagination a[rel="next"]::after,
.pagination span[aria-label*="Next"]::after {
    content: "→";
    margin-left: 8px;
    font-size: 14px;
}

/* Guru pagination custom */
.teacher-pagination-shell {
    width: 100%;
    display: flex;
    justify-content: center;
}

.teacher-pagination-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e6f1f2;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

.teacher-pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.teacher-pagination-btn,
.teacher-pagination-page,
.teacher-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.teacher-pagination-btn {
    gap: 8px;
    color: #425260;
    background: #f7fbfb;
    border: 1px solid #dfecee;
}

.teacher-pagination-btn--link {
    color: #1f2937;
    background: #ffffff;
    border-color: #dbe9ea;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.teacher-pagination-btn--link:hover {
    transform: translateY(-1px);
    border-color: rgba(9, 132, 134, 0.22);
    color: #098486;
    box-shadow: 0 10px 20px rgba(9, 132, 134, 0.12);
}

.teacher-pagination-btn--disabled {
    color: #a3afbb;
    cursor: not-allowed;
    opacity: 0.75;
}

.teacher-pagination-page {
    color: #52606d;
    background: #ffffff;
    border: 1px solid #dbe9ea;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.teacher-pagination-page:hover {
    transform: translateY(-1px);
    border-color: rgba(9, 132, 134, 0.22);
    color: #098486;
    box-shadow: 0 8px 16px rgba(9, 132, 134, 0.1);
}

.teacher-pagination-page--active {
    color: #ffffff;
    background: linear-gradient(135deg, #098486, #3f9a9d);
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(9, 132, 134, 0.2);
}

.teacher-pagination-ellipsis {
    color: #94a3b8;
    background: transparent;
    min-width: 24px;
    padding: 0 4px;
}

@media (max-width: 640px) {
    .teacher-pagination-bar {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .teacher-pagination-pages {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    .teacher-pagination-btn {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
    }
}
