/**
 * HEF Event Speaker - Archive Speaker Styles
 * Archive page layout for speakers using card design
 *
 * PHIÊN BẢN ĐÃ CHỈNH SANG BỐ CỤC LƯỚI 4 CỘT (DẠNG CLEAN)
 * - Chỉ hiển thị Ảnh, Tên, Chức vụ
 * - Ẩn mô tả, trích dẫn, và sự kiện
 * - Căn giữa nội dung, font chữ nhỏ hơn
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Main archive container */
.hef-speakers-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Archive header */
.hef-archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
}

.hef-archive-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c218b;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hef-archive-description {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Speakers grid container (ĐÃ CHỈNH SỬA) */
.hef-speakers-archive-container .hef-speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột */
    gap: 20px; /* Giảm khoảng cách một chút */
    margin-bottom: 40px;
}

/* Speaker card link wrapper */
.hef-speakers-archive-container .hef-speaker-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
}

.hef-speakers-archive-container .hef-speaker-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.hef-speakers-archive-container .hef-speaker-card-link:focus {
    outline: 2px solid #1c218b;
    outline-offset: 2px;
    border-radius: 16px;
}

/* Individual speaker card (ĐÃ CHỈNH SỬA) */
.hef-speakers-archive-container .hef-speaker-card {
    background: white;
    border-radius: 16px;
    padding: 20px; /* Giảm padding */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column; /* Xếp dọc */
    height: 100%;
    align-items: center; /* Căn giữa theo chiều ngang */
    text-align: center; /* Căn giữa chữ */
    gap: 15px; /* Giảm gap */
}

.hef-speakers-archive-container .hef-speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Left section - Avatar only (ĐÃ CHỈNH SỬA) */
.hef-speakers-archive-container .hef-speaker-left {
    flex-shrink: 0;
    width: auto;
}

/* (ĐÃ CHỈNH SỬA) - Làm ảnh tròn */
.hef-speakers-archive-container .hef-speaker-avatar {
    width: 120px; /* Kích thước cố định */
    height: 120px; /* Kích thước cố định */
    border-radius: 50%; /* Làm ảnh tròn */
    object-fit: cover;
    margin-bottom: 0;
    transition: border-color 0.3s ease;
}

.hef-speakers-archive-container .hef-speaker-card:hover .hef-speaker-avatar {
    border-color: #1c218b;
}

/* Right section - Content with speaker info (ĐÃ CHỈNH SỬA) */
.hef-speakers-archive-container .hef-speaker-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0; /* Xóa gap, để con tự xử lý */
    width: 100%;
    align-items: center; /* Căn giữa nội dung */
}

/* Speaker info section (Giữ nguyên) */
.hef-speakers-archive-container .hef-speaker-info {
    padding: 0;
}

/* (ĐÃ CHỈNH SỬA) - Font nhỏ hơn */
.hef-speakers-archive-container .hef-speaker-name {
    font-size: 20px; /* Giảm font */
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: #1c218b;
}

.hef-speakers-archive-container .hef-speaker-card-link:hover .hef-speaker-name {
    color: #007cba;
}

/* (ĐÃ CHỈNH SỬA) - Xếp dọc chức vụ/tổ chức */
.hef-speakers-archive-container .hef-speaker-title-org {
    display: flex;
    flex-direction: column; /* Xếp dọc */
    align-items: center;
    gap: 4px; /* Khoảng cách nhỏ */
    margin: 0 0 5px 0;
    line-height: 1.3;
}

/* (ĐÃ CHỈNH SỬA) - Font nhỏ hơn */
.hef-speakers-archive-container .hef-speaker-title {
    font-size: 14px; /* Giảm font */
    color: #555;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

/* (ĐÃ CHỈNH SỬA) - Font nhỏ hơn */
.hef-speakers-archive-container .hef-speaker-organization {
    font-size: 14px; /* Giảm font */
    color: #555;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

/* (ĐÃ CHỈNH SỬA) - Ẩn dấu gạch */
.hef-speakers-archive-container .hef-speaker-separator {
    display: none;
}


/* * ========================================
 * (MỚI) ẨN CÁC THÔNG TIN CHI TIẾT
 * ========================================
 */
.hef-speakers-archive-container .hef-speaker-quote,
.hef-speakers-archive-container .hef-speaker-description,
.hef-speakers-archive-container .hef-speaker-sessions {
    display: none;
}


/* * ========================================
 * CÁC PHẦN KHÔNG CẦN HIỂN THỊ (GIỮ NGUYÊN HOẶC BỎ QUA)
 * ========================================
 */

/* Quote section (Đã bị ẩn) */
.hef-speakers-archive-container .hef-speaker-quote:before {
    display: none;
}
.hef-speakers-archive-container .hef-speaker-quote-text {
    display: none;
}
/* Tags and metadata section (Giữ nguyên) */
.hef-speakers-archive-container .hef-speaker-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
/* ... (Các style này không còn dùng nhưng để lại không ảnh hưởng) ... */

/* * ========================================
 * CÁC PHẦN CÒN LẠI (GIỮ NGUYÊN)
 * ========================================
 */

/* No speakers message (Giữ nguyên) */
.hef-speakers-archive-container .hef-no-speakers {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}
.hef-speakers-archive-container .hef-no-speakers-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Pagination (Giữ nguyên) */
.hef-speakers-archive-container .hef-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e1e5e9;
}
.hef-speakers-archive-container .hef-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.hef-speakers-archive-container .hef-pagination .page-numbers:hover {
    background-color: #f8f9fa;
    border-color: #1c218b;
    color: #1c218b;
    text-decoration: none;
}
.hef-speakers-archive-container .hef-pagination .page-numbers.current {
    background-color: #1c218b;
    border-color: #1c218b;
    color: white;
}
.hef-speakers-archive-container .hef-pagination .page-numbers.prev,
.hef-speakers-archive-container .hef-pagination .page-numbers.next {
    padding: 8px 16px;
}

/* Search and filters section (Giữ nguyên) */
.hef-speakers-archive-container .hef-speakers-filters {
    margin-bottom: 30px;
}
.hef-speakers-archive-container .hef-search-bar {
    position: relative;
    margin-bottom: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hef-speakers-archive-container .hef-search-input.expert_search {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 44px;
    will-change: border-color, box-shadow, background-color;
}
.hef-speakers-archive-container #hef-speakers-archive-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 44px;
    will-change: border-color, box-shadow, background-color;
}
.hef-speakers-archive-container #hef-speakers-archive-search-input:focus {
    outline: none;
    border-color: #1c218b;
    box-shadow: 0 0 0 4px rgba(28, 33, 139, 0.1);
    transform: translateY(-1px);
}
.hef-speakers-archive-container #hef-speakers-archive-search-input.searching {
    border-color: #1c218b;
    background-color: #f8f9ff;
    box-shadow: 0 0 0 3px rgba(28, 33, 139, 0.1);
}
.hef-speakers-archive-container .hef-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;charset=utf-8