/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ============================================
   STYLES CHO TRANG TUYỂN DỤNG
   ============================================ */

/* Container cho trang tuyển dụng */

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
    font-weight: 600 !important;
    font-style: normal !important;
    font-family: 'SVN2 poppins', sans-serif !important;
}


.page-tuyen-dung {
    padding: 40px 0;
    background-color: #f5f5f5;
    min-height: 60vh;
}

.page-tuyen-dung .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tuyen-dung .page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

/* Danh sách tuyển dụng */
.tuyen-dung-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Item tuyển dụng - Design mới */
.frame-65,
.frame-65 * {
    box-sizing: border-box;
}

.frame-65 {
    background: var(--neutral-white, #ffffff);
    border-radius: 16px;
    border-style: solid;
    border-color: var(--neutral-08, #ebeced);
    border-width: 1px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.frame-65:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tuyen-dung-link {
    display: block;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.frame-67 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.frame-3086 {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.product-marketing {
    color: var(--neutral-01, #34404b);
    text-align: left;
    font-size: var(--title-20-font-size, 20px);
    line-height: var(--title-20-line-height, 30px);
    font-weight: var(--title-20-font-weight, 600);
    position: relative;
    flex: 1;
}

.ic-right {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
}

.frame-65:hover .ic-right {
    transform: translateX(4px);
}

.frame-3085 {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    flex-wrap: wrap;
}

.frame-3081,
.frame-3082,
.frame-3083,
.frame-3084 {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    min-width: 0;
}

.briefcase-01,
.user-02,
.marker-pin-01,
.briefcase-012 {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
}

.marketing,
.junior-senior,
.h-n-i-vi-t-nam,
._15-05-2025 {
    color: var(--neutral-01, #34404b);
    text-align: left;
    font-size: var(--body-16-regular-font-size, 16px);
    line-height: var(--body-16-regular-line-height, 24px);
    font-weight: var(--body-16-regular-font-weight, 400);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-23,
.line-22,
.line-21 {
    flex: none;
    width: 1px;
    height: 24px;
    background-color: var(--neutral-07, #d6d9db);
    align-self: center;
    flex-shrink: 0;
    position: relative;
}

/* No posts message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Pagination */
.page-tuyen-dung .pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-tuyen-dung .pagination a,
.page-tuyen-dung .pagination span {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.page-tuyen-dung .pagination a:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.page-tuyen-dung .pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Shortcode Styles */
.tuyen-dung-list-shortcode {
    margin: 0 !important;
    display: grid !important;
    gap: 24px;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    position: relative;
}

/* Columns layout */
.tuyen-dung-list-shortcode.tuyen-dung-col-1 {
    grid-template-columns: 1fr;
}

.tuyen-dung-list-shortcode.tuyen-dung-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tuyen-dung-list-shortcode.tuyen-dung-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tuyen-dung-list-shortcode.tuyen-dung-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Đảm bảo container cha không giới hạn width */
.tuyen-dung-list-shortcode * {
    max-width: 100%;
}

@media only screen and (max-width: 1200px) {
    .tuyen-dung-list-shortcode {
        padding: 60px 40px;
    }
}

@media only screen and (max-width: 1024px) {

    .tuyen-dung-list-shortcode.tuyen-dung-col-3,
    .tuyen-dung-list-shortcode.tuyen-dung-col-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .tuyen-dung-list-shortcode {
        padding: 40px 20px;
        gap: 20px;
    }

    .tuyen-dung-list-shortcode.tuyen-dung-col-2,
    .tuyen-dung-list-shortcode.tuyen-dung-col-3,
    .tuyen-dung-list-shortcode.tuyen-dung-col-4 {
        grid-template-columns: 1fr;
    }
}

.tuyen-dung-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.tuyen-dung-pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.tuyen-dung-pagination .page-numbers li {
    margin: 0;
}

.tuyen-dung-pagination .page-numbers a,
.tuyen-dung-pagination .page-numbers span {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: block;
}

.tuyen-dung-pagination .page-numbers a:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.tuyen-dung-pagination .page-numbers .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* ============================================
   STYLES CHO TRANG CHI TIẾT TUYỂN DỤNG
   ============================================ */

.page-tuyen-dung-single {
    padding: 40px 0;
    background-color: #f5f5f5;
    min-height: 60vh;
}

.tuyen-dung-single {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tuyen-dung-single .entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.tuyen-dung-single .entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.tuyen-dung-meta-single {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tuyen-dung-meta-single .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.tuyen-dung-meta-single .meta-label {
    font-weight: 600;
    color: #666;
}

.tuyen-dung-meta-single .meta-text {
    color: #333;
}

.tuyen-dung-single .entry-content {
    margin-top: 30px;
    line-height: 1.8;
    color: #444;
}

.tuyen-dung-single .entry-content p {
    margin-bottom: 16px;
}

.tuyen-dung-single .entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0073aa;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .page-tuyen-dung {
        padding: 20px 0;
    }

    .page-tuyen-dung .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .frame-65 {
        padding: 20px;
        gap: 24px;
    }

    .frame-67 {
        gap: 12px;
    }

    .product-marketing {
        font-size: 18px;
        line-height: 26px;
    }

    .frame-3085 {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .frame-3081,
    .frame-3082,
    .frame-3083,
    .frame-3084 {
        flex: none;
        width: 100%;
    }

    .line-23,
    .line-22,
    .line-21 {
        display: none;
    }

    .marketing,
    .junior-senior,
    .h-n-i-vi-t-nam,
    ._15-05-2025 {
        font-size: 14px;
        line-height: 20px;
        white-space: normal;
    }

    .tuyen-dung-single {
        padding: 24px 20px;
        margin: 0 10px;
    }

    .tuyen-dung-single .entry-title {
        font-size: 24px;
    }

    .tuyen-dung-meta-single {
        gap: 10px;
    }

    .tuyen-dung-meta-single .meta-item {
        font-size: 14px;
        flex-wrap: wrap;
    }

}

/* ============================================
   BLOG POSTS GRID - Design mới từ Figma
   ============================================ */

.buff-blog-posts-grid {
    display: grid;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.buff-blog-posts-grid.buff-blog-col-1 {
    grid-template-columns: 1fr;
}

.buff-blog-posts-grid.buff-blog-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.buff-blog-posts-grid.buff-blog-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.buff-blog-posts-grid.buff-blog-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.buff-blog-post-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 32px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.buff-blog-post-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.buff-blog-post-image {
    aspect-ratio: 300 / 150;
    margin-bottom: -32px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.buff-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.buff-blog-post-content {
    background: #ffffff;
    border: 1px solid #f2f2f3;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: -32px;
    position: relative;
    z-index: 2;
    width: 96%;
    margin: auto;
    box-sizing: border-box;
}

.buff-blog-tag {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #3079ff;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.buff-blog-post-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.buff-blog-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #34404b;
    margin: 0;
    width: 100%;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buff-blog-title-uppercase {
    text-transform: uppercase;
}

.buff-blog-excerpt {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #717981;
    margin: 0;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
}

.buff-blog-post-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.buff-blog-read-more {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.buff-blog-read-more-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #3079ff;
}

.buff-blog-arrow-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.buff-blog-date {
    display: flex;
    gap: 8px;
    align-items: center;
}

.buff-blog-clock-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.buff-blog-date-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #9aa0a5;
    text-align: center;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .buff-blog-posts-grid {
        gap: 20px;
    }

    /* Mobile columns - mặc định 1 cột */
    .buff-blog-posts-grid.buff-blog-mobile-col-1 {
        grid-template-columns: 1fr !important;
    }

    .buff-blog-posts-grid.buff-blog-mobile-col-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}

/* ============================================
   BLOG POSTS SLIDER - Design từ Figma
   ============================================ */

.buff-blog-slider-wrapper {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.buff-blog-slider-container {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.buff-blog-slider-track {
    display: flex !important;
    flex-direction: row !important;
    transition: transform 0.5s ease-in-out !important;
    will-change: transform;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
}

.buff-blog-slide {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

.buff-blog-slide-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.buff-blog-slide-content {
    position: relative !important;
    width: 100% !important;
    height: 520px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    isolation: isolate !important;
}

.buff-blog-slide-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(15, 51, 121, 0) 0%, rgba(15, 51, 121, 0) 30.4%, rgba(15, 51, 121, 0.9) 69.6%, rgba(15, 51, 121, 0.9) 100%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
    border-radius: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transform: translateZ(0) !important;
}

.buff-blog-slide-inner {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

.buff-blog-slide-tag {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

.buff-blog-slide-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.buff-blog-slide-title {
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    width: 100%;
}

.buff-blog-slide-excerpt {
    font-size: 16px;
    line-height: 24px;
    color: #EBECED;
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buff-blog-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.buff-blog-slide-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D6D9DB;
    font-size: 16px;
    line-height: 24px;
}

.buff-blog-slide-date svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.buff-blog-slide-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #3079ff;
    border-radius: 800px;
    padding: 12px 24px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #0F3379;
    transition: all 0.3s ease;
}

.buff-blog-slide-button:hover {
    background-color: #f0f4ff;
}

.buff-blog-slide-button svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* Navigation */
.buff-blog-slider-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 24px !important;
    padding: 0 !important;
    list-style: none !important;
}

.buff-blog-slider-prev,
.buff-blog-slider-next {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    transition: opacity 0.3s ease !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.buff-blog-slider-prev:hover,
.buff-blog-slider-next:hover {
    opacity: 0.7 !important;
}

.buff-blog-slider-prev:active,
.buff-blog-slider-next:active {
    opacity: 0.5 !important;
}

.buff-blog-slider-prev svg,
.buff-blog-slider-next svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.buff-blog-slider-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    list-style: none !important;
}

.buff-blog-slider-dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
    border-radius: 50% !important;
    border: none !important;
    background-color: #d1d5db !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
    outline: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.buff-blog-slider-dot:hover {
    background-color: #9ca3af !important;
}

.buff-blog-slider-dot.active {
    width: 48px !important;
    height: 8px !important;
    min-width: 48px !important;
    min-height: 8px !important;
    max-width: 48px !important;
    max-height: 8px !important;
    border-radius: 800px !important;
    background-color: #34404B !important;
}

.buff-blog-slider-no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .buff-blog-slide-content {
        height: 400px;
        padding: 20px;
    }

    .buff-blog-slide-title {
        font-size: 20px;
        line-height: 28px;
    }

    .buff-blog-slide-excerpt {
        font-size: 14px;
        line-height: 20px;
    }

    .buff-blog-slide-button {
        padding: 10px 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .buff-blog-slide-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}