﻿/* ================================================
   SIDEBAR RIGHT - TUYỂN DỤNG & LIÊN HỆ
   ================================================ */

.sidebar-right {
    width: 100%;
    max-width: 100%;
}

/* ⭐ TITLE - GIỐNG SIDEBAR LEFT */
.sidebar-right__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--ashico-blue, #034ea2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-right__title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--ashico-blue, #034ea2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================
   TUYỂN DỤNG - GIỐNG HỆT TIN TỨC
   ================================================ */

.sidebar-right__recruitment-section {
    margin-bottom: 30px;
}

.sidebar-right__recruitment-list {
    /* Container */
}

/* RECRUITMENT ITEM - COPY TỪ NEWS ITEM */
.sidebar-recruitment-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
}

.sidebar-recruitment-item:last-child {
    border-bottom: none;
}

/* Thumbnail */
.sidebar-recruitment-item__img {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sidebar-recruitment-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-recruitment-item:hover .sidebar-recruitment-item__img img {
    transform: scale(1.05);
}

/* Content */
.sidebar-recruitment-item__content {
    flex: 1;
    min-width: 0;
}

.sidebar-recruitment-item__content h5 {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.sidebar-recruitment-item__content h5 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sidebar-recruitment-item:hover .sidebar-recruitment-item__content h5 a {
    color: var(--ashico-blue, #034ea2);
}

/* ⭐ META - CHỨA DATE + LOCATION - SÁT NHAU */
.sidebar-recruitment-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    margin-top: 2px;
}

.sidebar-recruitment-item__meta .date,
.sidebar-recruitment-item__meta .location {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #888;
    line-height: 1.2;
}

.sidebar-recruitment-item__meta .date i {
    font-size: 9px;
    color: var(--ashico-red, #ec2028);
}

.sidebar-recruitment-item__meta .location i {
    font-size: 9px;
    color: var(--ashico-blue, #034ea2);
}

/* ⭐ NÚT XEM THÊM - MÀU XANH, HOVER ĐỎ */
.sidebar-right__more-wrap {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    margin-top: 5px;
    border-top: 1px dashed #ddd;
}

.sidebar-right__more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ashico-blue, #034ea2);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.sidebar-right__more-link:hover {
    color: var(--ashico-red, #ec2028);
}

.sidebar-right__more-link i {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.sidebar-right__more-link:hover i {
    transform: translateX(3px);
}

/* ================================================
   LIÊN HỆ SECTION
   ================================================ */

.sidebar-right__contact-section {
    margin-bottom: 30px;
}

/* ⭐ TRỤ SỞ CHÍNH */
.sidebar-right__headquarters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(var(--ashico-blue-rgb, 3, 78, 162), 0.08);
    border-radius: 6px;
    margin-bottom: 12px;
}

.sidebar-right__headquarters i {
    font-size: 14px;
    color: var(--ashico-red, #ec2028);
}

.sidebar-right__headquarters span {
    font-size: 12px;
    font-weight: 700;
    color: var(--ashico-blue, #034ea2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-right__contact-list {
    /* Container */
}

/* Contact Item - Giống News Item */
.sidebar-contact-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.sidebar-contact-item:last-child {
    border-bottom: none;
}

/* Icon thay thumbnail */
.sidebar-contact-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--ashico-blue-rgb, 3, 78, 162), 0.1);
    color: var(--ashico-blue, #034ea2);
    font-size: 16px;
    transition: all 0.3s ease;
}

.sidebar-contact-item:hover .sidebar-contact-item__icon {
    background: var(--ashico-blue, #034ea2);
    color: #fff;
}

/* Content */
.sidebar-contact-item__content {
    flex: 1;
    min-width: 0;
}

.sidebar-contact-item__content .label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.sidebar-contact-item__content .value {
    display: block;
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    word-break: break-word;
}

.sidebar-contact-item__content .value--link {
    color: var(--ashico-blue, #034ea2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-contact-item__content .value--link:hover {
    color: var(--ashico-red, #ec2028);
}

/* ⭐ SOCIAL LINKS */
.sidebar-right__social {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    margin-top: 5px;
    border-top: 1px dashed #ddd;
}

.sidebar-right__social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--ashico-blue-rgb, 3, 78, 162), 0.1);
    color: var(--ashico-blue, #034ea2);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-right__social a:hover {
    background: var(--ashico-blue, #034ea2);
    color: #fff;
    transform: translateY(-2px);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 991px) {
    .sidebar-right {
        max-width: 100%;
        display: flex;
        gap: 20px;
    }
    
    .sidebar-right__recruitment-section,
    .sidebar-right__contact-section {
        flex: 1;
        margin-bottom: 0;
    }
    
    .sidebar-right__title h4 {
        font-size: 16px;
    }
    
    /* Recruitment - Scroll ngang như tin tức */
    .sidebar-right__recruitment-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .sidebar-right__recruitment-list::-webkit-scrollbar {
        display: none;
    }
    
    .sidebar-recruitment-item {
        flex: 0 0 220px;
        flex-direction: row;
        border-bottom: none;
        background: #f9f9f9;
        border-radius: 8px;
        padding: 10px;
        scroll-snap-align: start;
    }
    
    .sidebar-recruitment-item__img {
        width: 70px;
        height: 55px;
    }
    
    .sidebar-right__more-wrap {
        justify-content: center;
        border-top: none;
        padding-top: 15px;
    }
    
    .sidebar-right__headquarters {
        padding: 6px 10px;
    }
    
    .sidebar-right__headquarters span {
        font-size: 11px;
    }
    
    .sidebar-recruitment-item__meta {
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 767px) {
    .sidebar-right {
        flex-direction: column;
    }
    
    .sidebar-right__recruitment-section,
    .sidebar-right__contact-section {
        margin-bottom: 20px;
    }
    
    .sidebar-right__title h4 {
        font-size: 16px;
    }
    
    .sidebar-recruitment-item {
        flex: 0 0 200px;
    }
    
    .sidebar-recruitment-item__img {
        width: 65px;
        height: 50px;
    }
    
    .sidebar-recruitment-item__content h5 {
        font-size: 11px;
    }
    
    .sidebar-contact-item__icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}