/* ── Career Fairs Page ────────────────────────────────────────────── */

/* ── Hero (split: text left, image right) ────────────────────────────── */
.cf-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 519px;
    overflow: hidden;
}
.cf-hero-left {
    background: linear-gradient(135deg, #0b1f3a 0%, #0f2d55 60%, #0d2340 100%);
    display: flex; align-items: center;
    padding: 48px 60px 48px max(calc((100vw - 1200px)/2 + 24px), 40px);
    position: relative; overflow: hidden;
}
.cf-hero-left::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 85% 40%, rgba(182,50,62,.22) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 80%, rgba(99,102,241,.15) 0%, transparent 50%);
    pointer-events: none;
}
.cf-hero-left::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cf-hero-right {
    position: relative; overflow: hidden; min-height: 386px;
}
.cf-hero-right img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    display: block;
}
.cf-hero-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(11,31,58,.4) 0%, transparent 50%);
}
.cf-hero-content { position: relative; z-index: 1; max-width: 540px; }

.cf-hero-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px; padding: 6px 16px;
    font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.88);
    letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px;
}
.cf-hero h1 {
    font-size: clamp(26px, 2.6vw, 40px); font-weight: 900;
    color: #fff; margin: 0 0 16px; line-height: 1.12; letter-spacing: -.3px;
}
.cf-hl { color: #f87171; }
.cf-hero p {
    font-size: clamp(14px, 1.3vw, 16px); color: rgba(255,255,255,.72);
    line-height: 1.7; margin: 0 0 28px;
}
.cf-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.cf-btn-primary {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 13px 26px; background: var(--vs-red); color: #fff;
    border-radius: 10px; font-weight: 800; font-size: 15px;
    text-decoration: none; transition: background .15s, transform .12s;
    box-shadow: 0 4px 16px rgba(182,50,62,.3);
}
.cf-btn-primary:hover { background: #c0392b; transform: translateY(-2px); color: #fff; }
.cf-btn-outline {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 24px; border: 2px solid rgba(255,255,255,.4);
    color: #fff; border-radius: 10px; font-weight: 700; font-size: 15px;
    text-decoration: none; transition: border-color .15s, background .15s;
}
.cf-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.cf-hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.cf-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px; padding: 7px 14px;
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82);
}

/* ── Common section ──────────────────────────────────────────────────── */
.cf-section { padding: 88px 0; }
.cf-section--soft { background: #f4f7fa; }

.cf-heading { max-width: 700px; margin-bottom: 52px; }
.cf-heading--center { text-align: center; margin: 0 auto 52px; }
.cf-heading h2 {
    font-size: clamp(28px, 3.2vw, 40px); font-weight: 900;
    color: var(--vs-navy); margin: 10px 0 14px; line-height: 1.2;
}
.cf-heading p { font-size: 17px; color: var(--vs-muted); line-height: 1.65; margin: 0; }

/* ── Organizations grid ──────────────────────────────────────────────── */
.cf-orgs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.cf-org-card {
    display: flex; align-items: flex-start; gap: 18px;
    background: #fff; border: 1.5px solid #e8ecf4; border-radius: 16px;
    padding: 24px; position: relative; overflow: hidden;
    transition: box-shadow .22s, border-color .2s, transform .18s;
}
.cf-org-card::before {
    content: '';
    position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--vs-red), rgba(182,50,62,.3));
    opacity: 0; transition: opacity .2s;
    border-radius: 3px 0 0 3px;
}
.cf-org-card:hover {
    box-shadow: 0 10px 32px rgba(11,31,58,.11);
    border-color: rgba(11,31,58,.18);
    transform: translateY(-3px);
}
.cf-org-card:hover::before { opacity: 1; }
.cf-org-icon {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.cf-org-body { flex: 1; min-width: 0; }
.cf-org-body h3 {
    font-size: 15.5px; font-weight: 800; color: var(--vs-navy); margin: 0 0 8px;
    line-height: 1.3;
}
.cf-org-body p { font-size: 13.5px; color: var(--vs-muted); line-height: 1.68; margin: 0; }

/* ── Tips grid ───────────────────────────────────────────────────────── */
.cf-tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cf-tip-card {
    background: #fff; border: 1.5px solid #e8ecf4; border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow .2s, transform .18s;
}
.cf-tip-card:hover { box-shadow: 0 10px 32px rgba(11,31,58,.09); transform: translateY(-3px); }
.cf-tip-icon {
    width: 48px; height: 48px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.cf-tip-card h3 { font-size: 15.5px; font-weight: 800; color: var(--vs-navy); margin: 0 0 10px; }
.cf-tip-card p { font-size: 14px; color: var(--vs-muted); line-height: 1.65; margin: 0; }

/* ── Employer split ──────────────────────────────────────────────────── */
.cf-employer-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.cf-employer-text h2 {
    font-size: clamp(26px, 3vw, 38px); font-weight: 900;
    color: var(--vs-navy); margin: 10px 0 18px; line-height: 1.2;
}
.cf-employer-text p {
    font-size: 16px; color: var(--vs-muted); line-height: 1.75; margin: 0 0 16px;
}
.cf-compliance-chips {
    display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 28px;
}
.cf-chip {
    padding: 5px 14px; background: #eff6ff; border: 1.5px solid #bfdbfe;
    border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #1d4ed8;
}
.cf-employer-img img {
    width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(11,31,58,.14);
}

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cf-cta {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a3a5c 100%);
    padding: 80px 0; text-align: center;
}
.cf-cta h2 {
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
    color: #fff; margin: 0 0 14px; letter-spacing: -.3px;
}
.cf-cta p { font-size: 17px; color: rgba(255,255,255,.68); margin: 0 0 36px; line-height: 1.6; }
.cf-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cf-btn-outline-dark {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 12px 26px; border: 2px solid rgba(255,255,255,.35);
    color: #fff; border-radius: 10px; font-weight: 700; font-size: 15px;
    text-decoration: none; transition: border-color .15s, background .15s;
}
.cf-btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .cf-employer-split { grid-template-columns: 1fr; gap: 40px; }
    .cf-tips-grid { grid-template-columns: 1fr; }
    .cf-orgs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .cf-hero { grid-template-columns: 1fr; height: auto; }
    .cf-hero-right { min-height: 414px; }
    .cf-hero-left { padding: 56px 40px; }
}
@media (max-width: 600px) {
    .cf-hero-left { padding: 48px 24px; }
    .cf-section { padding: 56px 0; }
    .cf-hero-badges { display: none; }
}
