/* ==========================================================================
   VACANCY.NG - PRODUCTION NATIVE HOMEPAGE STYLES
   Extracted directly from D:\BHNG\vacancy.ng\index.php lines 107-246
   ========================================================================== */

/* Keep the homepage layout independent from the shared page cards and grids. */
body:has(.home-page) .main-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.home-page, .home-page * { box-sizing: border-box; }
.home-page { width: 100%; overflow: hidden; background: #fff; color: #10284c; }
.home-page section { display: block; width: 100%; margin: 0; }
.home-page a { text-decoration: none; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { margin-top: 0; }
.home-wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.home-hero { position: relative; min-height: 392px; isolation: isolate; background: #f5f9fd; }
.home-hero-bg, .home-hero:after { position: absolute; inset: 0; pointer-events: none; }
.home-hero-bg { z-index: -2; background: url('/assets/images/vacancy hero-1.jpg') 72% center / cover no-repeat; opacity: 1; }
.home-hero:after { content: ''; z-index: -1; background: linear-gradient(90deg, #f5f9fdf5 0%, #f5f9fdf0 38%, #f5f9fd6b 65%, #f5f9fd00 100%); }
.home-hero-content { width: 56%; padding: 62px 0 48px; }
.home-eyebrow { display: none; }
.home-hero h1 { margin-bottom: 12px; color: #10284c; font-size: clamp(2.1rem, 4vw, 3.55rem); line-height: 1.13; letter-spacing: .01em; text-transform: uppercase; }
.home-hero h1 span { color: #146bd0; }
.home-hero p { max-width: 390px; margin-bottom: 20px; color: #182f50; font-size: 1rem; line-height: 1.45; }

.home-search { display: grid; grid-template-columns: 1.25fr 1fr auto; max-width: 558px; overflow: hidden; padding: 0; border: 1px solid #dce5ef; border-radius: 4px; background: #fff; box-shadow: 0 2px 9px #10284c14; }
.home-search label { display: flex; align-items: center; min-width: 0; min-height: 43px; padding: 0 13px; border-right: 1px solid #e1e7ef; }
.home-search label span { display: flex; align-items: center; color: #7d8998; }
.home-search label span svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-search input { width: 100%; min-width: 0; padding: 0 8px; border: 0; outline: 0; color: #182f50; background: transparent; font: inherit; font-size: .72rem; }
.home-search button { min-height: 43px; padding: 0 20px; border: 0; border-radius: 4px; color: #fff; background: #126bd3; font: inherit; font-size: .74rem; font-weight: 800; cursor: pointer; }
.home-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 12px; color: #182f50; font-size: .74rem; }
.home-popular a, .home-link { color: #1266c2; font-weight: 700; }

/* The exact Post a Job button requested */
.home-hero-post {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 16px;
    border: 1px solid #116bd2;
    border-radius: 4px;
    color: #1166c2;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 800;
    background: #fff;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-hero-post:hover {
    background: #eaf3ff;
    border-color: #0d5bb6;
    color: #0d5bb6;
    box-shadow: 0 4px 12px rgba(17, 107, 210, 0.15);
}
.home-hero-post svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.home-section { padding: 24px 0 0; }
.home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.home-section-head h2 { margin-bottom: 4px; color: #10284c; font-size: 1rem; line-height: 1.2; text-transform: uppercase; }
.home-section-head p { margin-bottom: 0; color: #68788c; font-size: .72rem; }
.home-link { white-space: nowrap; font-size: .72rem; }
.home-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.home-category { min-height: 150px; padding: 16px 10px 12px; border: 1px solid #e5eaf0; border-radius: 6px; text-align: center; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.home-category:hover { border-color: #9fc3ee; box-shadow: 0 8px 18px #10284c12; transform: translateY(-2px); }
.home-category-icon { display: grid; place-items: center; height: 34px; margin-bottom: 8px; color: #126bd3; }
.home-category-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-category h3 { margin-bottom: 7px; color: #182f50; font-size: .71rem; line-height: 1.25; }
.home-category p { margin: 0; color: #68788c; font-size: .66rem; line-height: 1.35; }

.home-jobs { padding-top: 26px; }
.home-job-list { display: grid; gap: 8px; }
.home-job { display: grid; grid-template-columns: 52px minmax(0, 1.35fr) minmax(180px, 1fr) 74px 24px; align-items: center; gap: 14px; width: 100%; padding: 12px 20px; border: 1px solid #e5eaf0; border-radius: 7px; color: #182f50; background: #fff; }
.home-job:hover { border-color: #9fc3ee; box-shadow: 0 5px 14px #10284c10; }
.home-company-mark { display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border: 1px solid #edf0f4; border-radius: 6px; background: #fff; }
.home-company-mark img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.home-job h3 { margin-bottom: 4px; color: #182f50; font-size: .78rem; line-height: 1.25; }
.home-job small { color: #1266c2; font-size: .7rem; }
.home-job-meta { color: #4e5f73; font-size: .7rem; line-height: 1.7; }
.home-job-meta span { display: inline-flex; align-items: center; gap: 7px; }
.home-job-meta svg, .home-job-save svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-job-time { color: #718197; font-size: .68rem; white-space: nowrap; }
.home-job-save { display: grid; place-items: center; color: #718197; }

.home-tools { margin-top: 10px; padding-bottom: 25px; background: #f4f8ff; }
.home-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-tool { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-right: 1px solid #dce5f1; }
.home-tool:last-child { border-right: 0; }
.home-tool-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; color: #126bd3; background: #e7f0ff; font-size: 1.1rem; font-weight: 800; }
.home-tool h3 { margin-bottom: 4px; color: #182f50; font-size: .75rem; }
.home-tool p { margin: 0; color: #68788c; font-size: .66rem; line-height: 1.4; }
.home-tools-cta { text-align: center; }
.home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 18px; border: 1px solid #126bd3; border-radius: 4px; color: #fff; background: #126bd3; font-size: .72rem; font-weight: 800; }
.home-employer { padding: 0 0 28px; }
.home-employer-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 28px; border-radius: 7px; background: #edf4ff; }
.home-employer-card h2 { margin-bottom: 7px; color: #10284c; font-size: 1.35rem; text-transform: uppercase; }
.home-employer-card p { margin: 0; color: #52647a; font-size: .74rem; }
.home-employer-actions { display: grid; gap: 8px; min-width: 130px; }
.home-btn-outline { color: #1266c2; background: #fff; }

@media (max-width: 800px) {
  .home-wrap { width: min(100% - 28px, 600px); }
  .home-hero { min-height: 440px; }
  .home-hero-bg { background-image: url('/assets/images/vacancy hero-1.jpg'); background-position: right center; opacity: .35; }
  .home-hero:after { background: linear-gradient(90deg, #f5f9fdf4, #f5f9fdb8); }
  .home-hero-content { width: 100%; padding: 50px 0; }
  .home-hero + .home-section { padding-top: 14px; }
  .home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-job { grid-template-columns: 44px minmax(0, 1fr) 64px 20px; gap: 10px; padding: 11px 12px; }
  .home-job-meta { grid-column: 2 / 4; grid-row: 2; }
  .home-job-time { grid-column: 3; grid-row: 1; text-align: right; }
  .home-job-save { grid-column: 4; grid-row: 1; }
  .home-company-mark { width: 40px; height: 40px; }
  .home-tools-grid { grid-template-columns: 1fr; gap: 6px; }
  .home-tool { border-right: 0; border-bottom: 1px solid #dce5f1; }
  .home-tool:last-child { border-bottom: 0; }
  .home-employer-card { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home-employer-actions { width: 100%; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .home-wrap { width: calc(100% - 24px); }
  .home-hero h1 { font-size: 2.15rem; }
  .home-search { grid-template-columns: 1fr; }
  .home-search label { border-right: 0; border-bottom: 1px solid #e1e7ef; }
  .home-search button { width: 100%; }
  .home-popular { gap: 9px 12px; }
  .home-section-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .home-categories { gap: 6px; }
  .home-category { min-height: 140px; padding: 13px 6px 9px; }
  .home-category h3 { font-size: .65rem; }
  .home-category p { font-size: .6rem; }
  .home-job { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .home-job-meta { grid-column: 2 / 4; }
  .home-job-time { grid-column: 2; grid-row: 3; text-align: left; }
  .home-job-save { grid-column: 3; grid-row: 1; }
  .home-company-mark { width: 36px; height: 36px; }
  .home-employer-actions { grid-template-columns: 1fr; }
}
.home-blog-section { padding: 0 0 28px; }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-blog-card { display: block; overflow: hidden; border: 1px solid #e5eaf0; border-radius: 7px; color: #182f50; background: #fff; }
.home-blog-card:hover { border-color: #9fc3ee; box-shadow: 0 6px 16px #10284c10; }
.home-blog-image { display: block; width: 100%; height: 96px; object-fit: cover; background: #edf4ff; }
.home-blog-copy { padding: 11px 12px 12px; }
.home-blog-copy h3 { display: -webkit-box; overflow: hidden; margin: 0 0 5px; font-size: .76rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-blog-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: #718197; font-size: .66rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 800px) {
  .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-blog-card:nth-child(n + 3) { display: none; }
  .home-blog-image { height: 76px; }
  .home-blog-copy { padding: 9px; }
  .home-blog-copy h3 { font-size: .68rem; }
}
