/*
Theme Name: Ngo Nghia FL Child
Version: 1.0.0
Theme URI: http://vgn.vn
Description: A basic
Author: nghia
Template: flatsome

*/
:root {
  --jd-green: #0d7b3f;
  --jd-red: #da251d;
  --jd-red-light: #fbebed;
  --jd-border: #eaeaea;
  --jd-text-main: #222;
  --jd-text-muted: #777;
}
.jd-board-wrapper {
  margin: 40px auto;
  max-width: 1100px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}
.jd-header-section {
  text-align: center;
  margin-bottom: 30px;
}
.jd-main-title {
  color: var(--jd-green);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 10px;
  text-transform: none;
}
.jd-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.jd-line {
  height: 2px;
  width: 50px;
  background-color: var(--jd-green);
}
.jd-dot {
  width: 10px;
  height: 10px;
  background-color: var(--jd-green);
  border-radius: 50%;
}
.jd-table-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--jd-border);
  overflow: hidden;
}
.jd-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 0;
}
.jd-table thead {
  background-color: var(--jd-green);
}
.jd-table th {
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.jd-table th:last-child {
  border-right: none;
}
.jd-table td {
  padding: 15px 5px;
  border-bottom: 1px solid var(--jd-border);
  border-right: 1px solid var(--jd-border);
  vertical-align: middle;
}
.jd-table td:first-child {
  padding-left: 15px;
}
.jd-table td:last-child {
  border-right: none;
}
.jd-table tr:last-child td {
  border-bottom: none;
}
.jd-col-center {
  text-align: center;
}
.jd-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.jd-row:hover {
  background-color: #eaffe8;
}
.jd-job-title {
  color: var(--jd-red);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.jd-job-meta {
  font-size: 14px;
  color: var(--jd-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.jd-job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.jd-meta-divider {
  color: #ccc;
  font-size: 12px;
}
.jd-salary-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.jd-salary-text {
  font-weight: 700;
  color: var(--jd-text-main);
  font-size: 16px;
}
.jd-deadline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--jd-red-light);
  color: var(--jd-red);
  font-weight: 600;
  font-size: 12px;
  padding: 8px;
  border-radius: 50px;
  width: 105px;
}
.jd-btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff;
  color: var(--jd-red) !important;
  border: 1px solid var(--jd-red);
  padding: 8px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 162px;
}
.jd-row:hover .jd-btn-apply,
.jd-btn-apply:hover {
  background: var(--jd-red);
  color: #fff !important;
}
@media (max-width: 800px) {
  .jd-table-container {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .jd-table,
  .jd-table tbody,
  .jd-table tr,
  .jd-table td {
    display: block;
    width: 100%;
    border-right: none;
  }
  .jd-table thead {
    display: none;
  }
  .jd-row {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--jd-border);
  }
  .jd-table td {
    text-align: right !important;
    border-bottom: 1px solid var(--jd-border);
    position: relative;
    padding: 15px 15px 15px 23%;
  }
  .jd-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--jd-text-muted);
    font-size: 13px;
    text-transform: uppercase;
  }
  .jd-table td:first-child {
    text-align: left !important;
    padding: 20px;
  }
  .jd-table td:first-child::before {
    display: none;
  }
  .jd-table td:last-child {
    border-bottom: none;
    text-align: center !important;
    padding: 20px 15px;
  }
  .jd-table td:last-child::before {
    display: none;
  }
  .jd-table td:last-child .jd-btn-apply {
    width: 100%;
    display: flex;
    padding: 12px 0;
  }
  .jd-salary-wrap,
  .jd-deadline-pill {
    justify-content: flex-end;
  }
}
/* ====================================================
   1. STYLING CHO PHẦN HEADER VĂN HÓA (Đã chèn ở bước 1)
   ==================================================== */
.edulife-culture-header {
    text-align: center;
    padding: 30px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.edulife-culture-header .culture-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #e32028; /* Màu đỏ theo logo Edulife */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edulife-culture-header .culture-divider {
    width: 60px;
    height: 3px;
    background: #008b4b; /* Màu xanh lá theo logo Edulife */
    margin: 0 auto 20px;
    border-radius: 5px;
}

.edulife-culture-header .culture-description {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ====================================================
   2. LÀM MỚI GIAO DIỆN BLOG FLATSOME (HIỆN ĐẠI, TINH TẾ)
   ==================================================== */

/* Bo góc và đổ bóng cho từng bài viết */
.blog-wrapper .box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
    overflow: hidden;
}

/* Hiệu ứng nổi lên khi hover chuột */
.blog-wrapper .box:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Hiệu ứng zoom ảnh nhẹ nhàng */
.blog-wrapper .box-image {
    overflow: hidden;
}
.blog-wrapper .box-image img {
    transition: transform 0.5s ease;
}
.blog-wrapper .box:hover .box-image img {
    transform: scale(1.05);
}


/* Làm đẹp tiêu đề bài viết */
.blog-wrapper .post-title a {
    color: #333333;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-wrapper .post-title a:hover {
    color: #e32028; /* Chuyển màu đỏ Edulife khi hover */
}

/* Làm đẹp nội dung tóm tắt (Excerpt) */
.blog-wrapper .box-text-inner p {
    color: #666666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-top: 10px;
}

/* Tút tát lại thẻ Ngày tháng (Badge) */
.blog-wrapper .post-date {
    background-color: rgba(0, 139, 75, 0.95) !important; /* Xanh lá Edulife */
    border-radius: 50% !important; /* Bo tròn hoàn toàn */
    border: 3px solid #ffffff; /* Viền trắng để tách biệt khỏi ảnh */
    box-shadow: 0 4px 10px rgba(0, 139, 75, 0.3);
    padding: 10px;
    min-width: 55px;
    min-height: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/**footer**/
.absolute-footer {
    display: none;
}

#footer {
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

#footer .footer-top .footer-title {
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 20px;
    font-size: 14px;
    color: rgb(143, 146, 161);
    text-transform: uppercase;
    border-bottom: 1px solid rgb(80, 84, 96);
    padding-bottom: 10px;
}

#footer .footer-top .footer-address p {
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    color: rgb(255, 255, 255);
    margin: 0 0 8px 0;
}

#footer .footer-top .footer-address a {
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

#footer .footer-top .footer-address a:hover {
    color: var(--primary-color)
}

#footer .footer-menu a {
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    color: rgb(255, 255, 255);
    padding: 0;
    margin: 0 0 8px 0 !important;
    min-height: unset;
}

#footer .footer-menu a:hover {
    color: var(--primary-color) !important;
}

    .custom-single-job .entry-title { color: #111; font-weight: 800; margin-bottom: 30px; font-size: 2rem; line-height: 1.3; }
    .job-sidebar { padding-left: 15px; }

    /* Box 1: Thẻ thông tin */
    .job-summary-card { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); margin-bottom: 25px; border: 1px solid #f2f2f2; }
    .card-heading { font-size: 1.25rem; font-weight: 800; color: #111; margin-bottom: 25px; border-left: 4px solid #107a32; padding-left: 15px; line-height: 1.2; }
    .job-info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .info-item { display: flex; align-items: center; gap: 15px; }
    .info-icon { background: #eef7f0; color: #107a32; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 18px; flex-shrink: 0; transition: all 0.3s; }
    .job-summary-card:hover .info-icon { background: #107a32; color: #fff; }
    .info-text { display: flex; flex-direction: column; }
    .info-label { font-size: 0.85rem; color: #888; margin-bottom: 3px; font-weight: 500; }
    .info-value { font-size: 1rem; font-weight: 700; color: #222; }
    
    /* Nút ứng tuyển Đỏ gradient */
    .btn-apply-full { display: block; text-align: center; background: linear-gradient(135deg, #e31b23 0%, #ff4b4b 100%); color: #fff !important; padding: 16px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 20px rgba(227, 27, 35, 0.3); transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
    .btn-apply-full:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(227, 27, 35, 0.45); }

    /* Box 2: Thẻ Phúc lợi Xanh gradient */
    .job-culture-card { background: linear-gradient(135deg, #107a32 0%, #159b40 100%); padding: 30px; border-radius: 16px; color: #fff; box-shadow: 0 10px 30px rgba(16, 122, 50, 0.2); }
    
    /* Ép ghi đè CSS để xử lý lỗi chữ bị mờ/chìm màu */
    .job-culture-card .culture-title { color: #ffffff !important; font-weight: 800 !important; font-size: 1.25rem !important; margin-top: 0 !important; margin-bottom: 20px !important; display: block !important; }
    
    .job-culture-card ul { list-style: none; padding: 0; margin-bottom: 25px; }
    .job-culture-card li { font-size: 0.95rem; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.95) !important; font-weight: 500; }
    .job-culture-card li::before { content: "✓"; color: #107a32; font-weight: bold; background: #fff; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; flex-shrink: 0; margin-top: 2px;}
    
    .btn-culture-apply {WIDTH: 100%; TEXT-ALIGN: CENTER; display: inline-block; background: #fff; color: #107a32 !important; padding: 12px 28px; border-radius: 10px; font-weight: 800; font-size: 0.95rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-transform: uppercase; }
    .btn-culture-apply:hover { background: #f8f9fa; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }


    @media (max-width: 850px) { .job-sidebar { padding-left: 0; margin-top: 30px; } }

        .edulife-v2-wrapper {
            font-family: Arial, Helvetica, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 15px;
            box-sizing: border-box;
        }
        .edulife-v2-title {
            color: var(--primary-color);
            font-size: 36px;
            font-weight: 800;
            text-align: center;
            margin-bottom: 200px;
            text-transform: uppercase;
        }
        .timeline-track {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            position: relative;
            align-items: center;
            margin-top: 20px;
        }
        /* Đường kẻ ngang gradient */
        .timeline-track::before {
            content: '';
            position: absolute;
            top: 50%; left: 0; right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color) 0%, #ed1c24 100%);
            transform: translateY(-50%);
            border-radius: 4px;
            z-index: 1;
        }
        .timeline-item {
            position: relative;
            height: 380px; 
            box-sizing: border-box;
        }
        
        /* Box Nội Dung */
        .timeline-card {
            background: #fff;
            border-radius: 12px;
            padding: 20px 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
            position: absolute;
            width: 138%;
            left: 5%;
            transition: all 0.3s ease;
            z-index: 3;
        }
        .timeline-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 51, 102, 0.15);
        }

        /* Định vị Top / Bottom */
        .timeline-item.top .timeline-card {
            bottom: 50%;
            margin-bottom: 35px;
            border-bottom: 4px solid #ed1c24;
        }
        .timeline-item.bottom .timeline-card {
            top: 50%;
            margin-top: 35px;
            border-top: 4px solid var(--primary-color);
        }

        /* Đường nhánh nối thẻ với trục chính */
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 50%;
            width: 2px;
            height: 35px;
            background: #ccc;
            transform: translateX(-50%);
            z-index: 2;
        }
        .timeline-item.top::after {
            bottom: 50%;
            background: rgba(237, 28, 36, 0.4);
        }
        .timeline-item.bottom::after {
            top: 50%;
            background: rgba(0, 51, 102, 0.4);
        }

        /* Chấm Node */
        .timeline-dot {
            position: absolute;
            top: 50%; left: 50%;
            width: 22px; height: 22px;
            background: #fff;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: 4;
            transition: all 0.3s ease;
        }
        .timeline-item.top .timeline-dot {
            border: 5px solid #ed1c24;
        }
        .timeline-item.bottom .timeline-dot {
            border: 5px solid var(--primary-color);
        }
        .timeline-item:hover .timeline-dot {
            background: yellow;
            transform: translate(-50%, -50%) scale(1.2);
        }

        /* Typography trong Card */
        .timeline-year {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 800;
            font-size: 14px;
            margin-bottom: 12px;
        }
        .timeline-item.top .timeline-year {
            background: #fde8e8;
            color: #ed1c24;
        }
        .timeline-item.bottom .timeline-year {
            background: #e6ecf2;
            color: var(--primary-color);
        }
        .timeline-card h3 {
            font-size: 15px;
            font-weight: 700;
            color: #222;
            margin: 0 0 10px 0;
            line-height: 1.4;
        }
        .timeline-card p {
            font-size: 13px;
            color: #555;
            line-height: 1.6;
            margin: 0;
        }

        /* Responsive Mobile (Chuyển thành trục dọc) */
        @media (max-width: 992px) {
            .timeline-track {
                grid-template-columns: 1fr;
                padding-left: 30px;
            }
            .timeline-track::before {
                width: 4px; height: 100%;
                left: 30px; top: 0;
                background: linear-gradient(180deg, var(--primary-color) 0%, #ed1c24 100%);
                transform: none;
            }
            .timeline-item {
                height: auto;
                margin-bottom: 40px;
            }
            .timeline-item.top .timeline-card,
            .timeline-item.bottom .timeline-card {
                position: relative;
                width: calc(100% - 60px);
                left: 60px;
                top: auto; bottom: auto;
                margin: 0;
            }
            .timeline-dot {
                left: 30px; top: 30px;
                transform: translate(-50%, -50%);
            }
            .timeline-item:hover .timeline-dot {
                transform: translate(-50%, -50%) scale(1.2);
            }
            .timeline-item::after { display: none; }
        }

/* ==========================================================================
   Footer Liên Việt (đồng bộ giao diện với lienviet.edu.vn)
   ========================================================================== */
.lv-footer {
  --lv-bg: #f1f1f1;
  --lv-text: #53585c;
  --lv-green: #00aa5d;
  --lv-green-alt: #339966;
  --lv-icon: #ea222a;
  --lv-btn-bg: #d8382b;
  --lv-btn-bg-hover: #b82a1f;
  background: var(--lv-bg);
  color: var(--lv-text);
  padding: 50px 20px 40px;
  font-size: 14px;
  line-height: 1.6;
}

.lv-footer__row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}

.lv-footer__title {
  color: var(--lv-green);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
}

.lv-footer__title--brand {
  color: var(--lv-green-alt);
}

.lv-footer__list,
.lv-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lv-footer__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.lv-footer__list li:last-child {
  margin-bottom: 0;
}

.lv-footer__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--lv-icon);
}

.lv-footer__icon svg {
  width: 100%;
  height: 100%;
}

.lv-footer__list a,
.lv-footer__links a {
  color: var(--lv-text);
  text-decoration: none;
}

.lv-footer__list a:hover,
.lv-footer__links a:hover {
  color: var(--lv-green);
  text-decoration: underline;
}

.lv-footer__links li {
  margin-bottom: 10px;
}

.lv-footer__links li:last-child {
  margin-bottom: 0;
}

.lv-footer__links a {
  display: inline-block;
}

.lv-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lv-btn-bg);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  padding: 14px 30px;
  border-radius: 32px;
  text-decoration: none;
  margin-bottom: 22px;
  transition: background .2s ease, transform .2s ease;
}

.lv-footer__btn:hover {
  background: var(--lv-btn-bg-hover);
  color: #fff;
  transform: translateY(-1px);
}

.lv-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lv-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  transition: transform .2s ease, opacity .2s ease;
}

.lv-footer__social svg {
  width: 18px;
  height: 18px;
}

.lv-footer__social:hover {
  transform: scale(1.08);
  opacity: .9;
  color: #fff;
}

.lv-footer__social--fb {
  background: #1877f2;
}

.lv-footer__social--mess {
  background: #0084ff;
}

.lv-footer__social--zalo {
  background: #0068ff;
}

@media (max-width: 991px) {
  .lv-footer__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .lv-footer {
    padding: 40px 20px 30px;
  }
  .lv-footer__row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
