/* =========================================================
   Trang DANH SÁCH tuyển dụng  (/tuyen-dung)
   Tự nạp qua AppHelper::autoload() theo controller/action.
   ========================================================= */

/* Hero */
#top { margin-top: 140px; text-align: center; }
#top .hi { color: #47535D; font-size: 44px; }
#top .hi span { color: #39B683; }
#top .talk {
    color: #818C9D; max-width: 80%; margin: 40px auto 30px;
    font-size: 16px; font-weight: 400; line-height: 30px;
}

.btn-green {
    color: #fff; background-color: #39B683; border-radius: 30px;
    padding: 10px 30px; font-weight: 600; font-size: 14px;
    display: inline-block; transition: background .2s;
}
.btn-green:hover, .btn-green:focus { background-color: #2d9e70; color: #fff; text-decoration: none; }

/* Danh sách vị trí */
.job-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.job-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; background: #fff; border-radius: 8px;
    border-left: 3px solid #39B683; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
}
.job-card:hover { box-shadow: 0 6px 20px rgba(57,182,131,.15); transform: translateX(4px); }
.job-card .job-title { font-size: 16px; font-weight: 700; color: #47535D; }
.job-tag {
    display: inline-block; background: #e8faf3; color: #39B683;
    font-size: 11px; font-weight: 600; padding: 2px 8px;
    border-radius: 8px; margin-left: 8px; vertical-align: middle;
}
.job-card .job-meta { font-size: 13px; color: #9EA8B5; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 14px; }
.job-link { font-size: 13px; color: #39B683; font-weight: 600; white-space: nowrap; flex-shrink: 0; margin-left: 20px; }
.job-link::after { content: ' →'; }

/* Empty state when no positions are published */
.job-empty {
    margin-top: 10px;
    padding: 40px 20px;
    text-align: center;
    color: #9EA8B5;
    font-size: 15px;
    background: #fff;
    border: 1px dashed #DDE3EA;
    border-radius: 12px;
}

/* 2 cột: ảnh + checklist (giống pattern #service trang chủ) */
.row-flex { display: flex; align-items: stretch; flex-wrap: wrap; }
.row-flex > [class*="col-"] { display: flex; flex-direction: column; }
.img-wrap { flex: 1; min-height: 280px; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.1); display: block; }
.section-description { padding: 10px 0 10px 10px; }
.section-description h3 {
    font-size: 22px; font-weight: 700; color: #47535D;
    margin-bottom: 20px; margin-top: 0;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative; padding: 11px 0 11px 30px;
    font-size: 15px; color: #000000; line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '';
    position: absolute; left: 0; top: 15px;
    width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2339B683'/%3E%3Cpath d='M5.5 10.5l3 3 6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
.check-list li strong { color: #000000; font-weight: 600; }

/* Vì sao chọn Paraline — 4 icon grid */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-item img { height: 52px; width: 52px; margin: 0 auto 16px; display: block; }
.why-item .why-icon, .why-item svg { width: 52px; height: 52px; margin: 0 auto 16px; display: block; color: #39B683; stroke: #39B683; stroke-width: 1.5; }
.why-item h4 { font-size: 15px; font-weight: 700; color: #47535D; margin-bottom: 8px; margin-top: 0; }
.why-item p  { font-size: 13px; color: #818C9D; line-height: 1.7; margin: 0; }

/* CTA */
.btn-white {
    display: inline-block; background: #fff; color: #39B683;
    font-size: 14px; font-weight: 700; padding: 12px 34px; border-radius: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,.15); transition: transform .2s, box-shadow .2s;
}
.btn-white:hover, .btn-white:focus {
    color: #2d9e70; text-decoration: none;
    transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
