/* CareerPulse homepage + footer refresh. Loaded after main.css.
   Homepage rules are scoped under .cp-home; footer rules under .wiko-footer. */

.cp-home{--cp-navy:#0d1b2e;--cp-wa:#1fa855;padding:0;background:var(--wiko-paper,#faf6ec)}
[data-theme="dark"] .cp-home{background:var(--wiko-bg)}
.cp-home a{text-decoration:none}
.cp-home svg{width:20px;height:20px;flex:none}
.cp-wrap{max-width:720px;margin:0 auto;padding:0 18px}
.cp-home h1,.cp-home h2{font-family:var(--wiko-display-font,Georgia,serif);letter-spacing:-.01em}

/* hero */
.cp-hero{padding:26px 0 8px}
.cp-live{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--wiko-primary);margin-bottom:12px}
.cp-live i{width:8px;height:8px;border-radius:50%;background:var(--wiko-urgent,#b3261e);box-shadow:0 0 0 4px var(--wiko-urgent-bg,#fbe9e7)}
.cp-hero h1{font-size:clamp(30px,8.4vw,46px);line-height:1.08;margin:0 0 10px;font-weight:700;color:var(--wiko-text)}
.cp-lede{color:var(--wiko-text-muted);margin:0 0 18px}
.cp-search{display:flex;background:var(--wiko-surface);border:1.5px solid var(--wiko-border);border-radius:14px;overflow:hidden}
.cp-search:focus-within{border-color:var(--wiko-primary)}
.cp-search input{flex:1;min-width:0;border:0;background:none;padding:15px 14px;font:inherit;color:var(--wiko-text);outline:none}
.cp-search button{width:54px;border:0;background:var(--wiko-primary);color:#fff;display:grid;place-items:center;cursor:pointer}
.cp-search button:hover{background:var(--wiko-primary-hover)}

/* feed */
.cp-sec{padding:30px 0 6px}
.cp-h2{font-size:24px;margin:0 0 12px;color:var(--wiko-text)}
.cp-tabs{display:flex;gap:4px;padding:4px;background:var(--wiko-green-bg,#e7f3ef);border-radius:12px;margin-bottom:14px}
[data-theme="dark"] .cp-tabs{background:var(--wiko-code-bg)}
.cp-tab{flex:1;border:0;background:none;padding:10px;border-radius:9px;font:600 14px Inter,sans-serif;color:var(--wiko-text-muted);cursor:pointer}
.cp-tab[aria-selected="true"]{background:var(--wiko-surface);color:var(--wiko-text);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.cp-list{background:var(--wiko-surface);border:1px solid var(--wiko-border);border-radius:16px;overflow:hidden}
.cp-list[hidden]{display:none}
.cp-item{display:block;padding:16px;border-bottom:1px solid var(--wiko-border);color:var(--wiko-text)}
.cp-item:last-child{border-bottom:0}
.cp-item:hover,.cp-item:active{background:var(--wiko-green-bg,#e7f3ef)}
[data-theme="dark"] .cp-item:hover{background:var(--wiko-code-bg)}
.cp-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;color:var(--wiko-text-muted);margin-bottom:6px}
.cp-tag{padding:2px 9px;border-radius:999px;font-weight:600;background:var(--wiko-green-bg,#e7f3ef);color:var(--wiko-primary)}
.cp-tag--sl{background:var(--wiko-urgent-bg,#fbe9e7);color:var(--wiko-urgent,#b3261e)}
.cp-new{font-weight:700;color:var(--wiko-urgent,#b3261e)}
.cp-item h3{margin:0;font-size:16.5px;line-height:1.35;font-weight:600;font-family:inherit}
.cp-dl{margin-top:8px;font-size:13px;font-weight:600}
.cp-dl--hot{color:var(--wiko-urgent,#b3261e)}
.cp-dl--ok{color:var(--wiko-primary)}
.cp-dl--closed{color:var(--wiko-text-muted);font-weight:500}
.cp-empty{padding:18px;margin:0;color:var(--wiko-text-muted)}
.cp-more{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:14px;padding:14px;border:1.5px solid var(--wiko-primary);border-radius:12px;color:var(--wiko-primary);font-weight:600}
.cp-more:hover,.cp-more:focus-visible{background:var(--wiko-primary);color:#fff}

/* whatsapp */
.cp-wa{margin:30px 0 0;background:var(--cp-navy);color:#fff;border-radius:18px;padding:22px;display:grid;gap:12px}
.cp-wa h2{font-size:23px;margin:0;line-height:1.2;color:#fff}
.cp-wa p{margin:0;color:#b8c4d8;font-size:15px}
.cp-wa a{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--cp-wa);color:#fff;font-weight:700;padding:14px;border-radius:12px}
.cp-wa a:hover{filter:brightness(1.08);color:#fff}

/* trust */
.cp-trust{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px;padding:22px 0;border-top:1px solid var(--wiko-border);border-bottom:1px solid var(--wiko-border)}
.cp-trust strong{display:block;font-size:15px;color:var(--wiko-text)}
.cp-trust span{display:block;margin-top:2px;font-size:13.5px;line-height:1.45;color:var(--wiko-text-muted)}
.cp-stats{display:flex;justify-content:space-between;margin-top:20px;padding-bottom:8px;text-align:center}
.cp-stats b{display:block;font:700 28px var(--wiko-display-font,Georgia,serif);color:var(--wiko-primary)}
.cp-stats span{font-size:12.5px;color:var(--wiko-text-muted)}

@media (min-width:760px){
	.cp-wrap{max-width:960px}
	.cp-hero{padding:56px 0 16px}
	.cp-lede{max-width:520px}
	.cp-trust{grid-template-columns:repeat(4,1fr)}
}

/* ── Desktop ──────────────────────────────────────────────────── */
.cp-item:nth-child(n+6){display:none}
.cp-aside{margin-top:30px}
.cp-aside .cp-wa{margin-top:0}

@media (min-width:900px){
	.cp-wrap{max-width:1120px;padding:0 28px}
	.cp-hero{padding:72px 0 28px}
	.cp-hero h1{font-size:56px;max-width:14em;margin-bottom:14px}
	.cp-lede{font-size:18px;max-width:560px;margin-bottom:26px}
	.cp-search{max-width:640px}
	.cp-search input{padding:18px 18px;font-size:17px}
	.cp-search button{width:64px}

	.cp-sec{padding:40px 0 10px}
	.cp-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
	.cp-aside{margin-top:0;position:sticky;top:96px;display:grid;gap:22px}
	.cp-tabs{max-width:360px}

	.cp-item{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center;padding:20px 22px}
	.cp-item:nth-child(n+6){display:grid}
	.cp-item .cp-meta,.cp-item h3{grid-column:1}
	.cp-item .cp-dl{grid-column:2;grid-row:1 / span 2;margin:0;white-space:nowrap;align-self:center}
	.cp-item h3{font-size:18px}
	.cp-item:hover h3{color:var(--wiko-primary)}

	.cp-wa{padding:24px}
	.cp-trust{grid-template-columns:1fr;gap:14px;padding:20px 0}
	.cp-stats{margin-top:6px}
}

/* ── Footer (all pages) ───────────────────────────────────────── */
footer.wiko-footer{background:#000 !important;border-top:0 !important;color:#b8c4d8;margin-top:2.5rem}
footer.wiko-footer .wiko-footer__inner{padding:2.2rem 1.2rem 5.5rem !important}
footer.wiko-footer a{color:#b8c4d8;text-decoration:none}
footer.wiko-footer a:hover,footer.wiko-footer a:focus-visible{color:#fff}
footer.wiko-footer h2,footer.wiko-footer h3,footer.wiko-footer h4,footer.wiko-footer .widget-title{color:#fff;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase}
.wiko-footer__brand{display:flex;align-items:center;gap:8px;margin-bottom:.6rem;font:700 22px var(--wiko-display-font,Georgia,serif);color:#fff}
.wiko-footer__brand svg{width:34px;height:24px;stroke:#4fd1ad;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.wiko-footer__brand b{color:#4fd1ad}
.wiko-footer__blurb{margin:0 0 1.4rem;font-size:.9rem;max-width:380px;color:#b8c4d8}
footer.wiko-footer .wiko-footer__meta{border-top:1px solid #2a2a2a;padding-top:1.1rem}
footer.wiko-footer .wiko-footer__menu{justify-content:flex-start;gap:.2rem 1.4rem}
footer.wiko-footer .wiko-footer__menu a{display:block;padding:.35rem 0;font-size:.95rem}
footer.wiko-footer .wiko-footer__copyright{margin:1rem 0 0;font-size:.8rem;line-height:1.6;text-align:left;color:#b8c4d8}
footer.wiko-footer .wiko-footer__disclaimer{margin:.4rem 0 0;font-size:.78rem;line-height:1.6;color:#8d97a6}
.wiko-back-to-top{bottom:calc(1.2rem + env(safe-area-inset-bottom,0px))}
