/**
 * Module Tuyển Sinh (list-v3)
 * Header synchronized exactly with list-v2
 * Scope: .school-tuyensinh-v3
 */

.school-tuyensinh-v3 {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 24px 0;
    font-family: inherit;
}

.school-tuyensinh-v3 *,
.school-tuyensinh-v3 *::before,
.school-tuyensinh-v3 *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   HEADER MODULE (ĐỒNG BỘ CHÍNH XÁC TỪ LIST-V2)
   ========================================================================== */
.school-tuyensinh-v3__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #047857 0%, #008751 55%, #059669 100%);
    border-radius: 16px;
    padding: 14px 24px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 135, 81, 0.15);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.school-tuyensinh-v3__header::after {
    content: "";
    position: absolute;
    right: -10px;
    top: -20px;
    width: 150px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 10%, transparent 70%);
    pointer-events: none;
}

.school-tuyensinh-v3__header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.school-tuyensinh-v3__header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.school-tuyensinh-v3__header-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.school-tuyensinh-v3__title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.6px;
    line-height: 1.2;
    text-transform: uppercase;
}

.school-tuyensinh-v3__title a {
    color: #ffffff;
    text-decoration: none;
}

.school-tuyensinh-v3__see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e6f4ea;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.school-tuyensinh-v3__see-all:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* ==========================================================================
   CARD CHỨA DANH SÁCH BÀI VIẾT
   ========================================================================== */
.school-tuyensinh-v3__card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* ==========================================================================
   LIST & HORIZONTAL NEWS ITEMS
   ========================================================================== */
.school-tuyensinh-v3__list {
    display: flex;
    flex-direction: column;
}

.school-tuyensinh-v3__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    transition: background-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.school-tuyensinh-v3__item:last-child {
    border-bottom: none;
}

/* ==========================================================================
   THUMBNAIL
   ========================================================================== */
.school-tuyensinh-v3__thumb {
    width: 190px;
    height: 105px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.school-tuyensinh-v3__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.school-tuyensinh-v3__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

/* ==========================================================================
   CONTENT / BODY
   ========================================================================== */
.school-tuyensinh-v3__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.school-tuyensinh-v3__item-title {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.school-tuyensinh-v3__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 6px;
    line-height: 1.2;
}

.school-tuyensinh-v3__date svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.school-tuyensinh-v3__excerpt {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   ACTION ARROW
   ========================================================================== */
.school-tuyensinh-v3__arrow {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    margin-left: 10px;
    border-radius: 50%;
    background: #eaf8ef;
    color: #0f8a4c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.school-tuyensinh-v3__arrow svg {
    display: block;
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

/* ==========================================================================
   HOVER EFFECTS
   ========================================================================== */
.school-tuyensinh-v3__item:hover {
    background: #f4fbf7;
}

.school-tuyensinh-v3__item:hover .school-tuyensinh-v3__item-title {
    color: #0f8a4c;
}

.school-tuyensinh-v3__item:hover .school-tuyensinh-v3__img {
    transform: scale(1.03);
}

.school-tuyensinh-v3__item:hover .school-tuyensinh-v3__arrow {
    background: #0f8a4c;
    color: #ffffff;
    transform: translateX(2px);
}

/* ==========================================================================
   EMPTY STATE & PAGINATION
   ========================================================================== */
.school-tuyensinh-v3__empty {
    padding: 24px;
    text-align: center;
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

.school-tuyensinh-v3__pagination {
    padding: 16px 20px 20px;
    display: flex;
    justify-content: center;
}

.school-tuyensinh-v3__pagination .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.school-tuyensinh-v3__pagination .page-numbers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.school-tuyensinh-v3__pagination .page-numbers a,
.school-tuyensinh-v3__pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.school-tuyensinh-v3__pagination .page-numbers a:hover {
    background: #0f8a4c;
    border-color: #0f8a4c;
    color: #ffffff;
}

.school-tuyensinh-v3__pagination .page-numbers span.current {
    background: #0f8a4c;
    border-color: #0f8a4c;
    color: #ffffff;
    font-weight: 600;
    cursor: default;
}

.school-tuyensinh-v3__empty input#s {
    padding: 14px 10px 14px 28px;
    font-size: 18px;
}