/* SJH Naukri Hub – only job-specific pieces; layout/cards come from the theme's .scheme-hub styles. */

.naukri-hub .scheme-hub-hero { margin-top: 28px; }
.nh-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 16px 0 -16px; color: var(--sjh-muted); font-size: 13px; }
.nh-breadcrumb a { color: var(--sjh-secondary); text-decoration: none; }
.nh-breadcrumb a:hover { text-decoration: underline; }

/* hero stats */
.nh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.nh-stats > * { background: #fff; border: 1px solid var(--sjh-border); border-radius: 12px; padding: 12px 10px; text-align: center; text-decoration: none; }
.nh-stats strong { display: block; font-size: 24px; line-height: 1.1; color: var(--sjh-primary); }
.nh-stats span { font-size: 12px; color: var(--sjh-muted); font-weight: 650; }
.nh-stats a:hover { border-color: var(--sjh-secondary); }
.nh-stats a strong { color: var(--sjh-alert); }

/* job-only search */
.nh-search { display: flex; gap: 8px; }
.nh-search input[type="search"] { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--sjh-border); border-radius: 10px; font-size: 15px; }
.nh-search button { padding: 12px 18px; border: 0; border-radius: 10px; background: var(--sjh-secondary); color: #fff; font-weight: 800; cursor: pointer; }
.nh-search button:hover { background: var(--sjh-secondary-dark); }

/* filter bar */
.nh-filters { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--sjh-border); border-radius: 14px; padding: 16px; margin: 22px 0 0; box-shadow: 0 3px 12px rgba(20, 43, 74, .035); }
.nh-filters label span { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sjh-muted); margin-bottom: 5px; }
.nh-filters select { width: 100%; padding: 10px 12px; border: 1px solid var(--sjh-border); border-radius: 9px; background: var(--sjh-bg); color: var(--sjh-text); font-size: 14px; }
.nh-filter-actions { display: flex; gap: 10px; align-items: center; }
.nh-filter-actions button { padding: 10px 18px; border: 0; border-radius: 9px; background: var(--sjh-primary); color: #fff; font-weight: 800; cursor: pointer; white-space: nowrap; }
.nh-filter-actions button:hover { background: var(--sjh-primary-dark); }
.nh-filter-actions a { color: var(--sjh-secondary); font-weight: 750; font-size: 13px; text-decoration: none; }

/* job list */
.nh-job-list { background: #fff; border: 1px solid var(--sjh-border); border-radius: 12px; overflow: hidden; }
.nh-job { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--sjh-border); }
.nh-job:last-child { border-bottom: 0; }
.nh-job:hover { background: #fbfdfe; }
.nh-job-main { min-width: 0; }
.nh-job h3 { font-size: 16px; line-height: 1.4; margin: 6px 0 6px; }
.nh-job h3 a { color: var(--sjh-primary); text-decoration: none; }
.nh-job h3 a:hover { color: var(--sjh-secondary); }
.nh-job-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.nh-badge { display: inline-block; font-size: 11px; font-weight: 750; padding: 3px 9px; border-radius: 999px; background: var(--sjh-bg); color: var(--sjh-muted); text-decoration: none; border: 1px solid var(--sjh-border); }
.nh-badge-state { background: var(--sjh-teal-soft); color: var(--sjh-secondary-dark); border-color: #cfe7e7; }
.nh-badge-new { background: var(--sjh-alert); color: #fff; border-color: var(--sjh-alert); animation: nh-pulse 2s ease-in-out infinite; }
@keyframes nh-pulse { 50% { opacity: .7; } }
.nh-job-dates { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 13px; color: var(--sjh-muted); }
.nh-urgent { color: var(--sjh-alert); font-weight: 750; }
.nh-job-actions { display: flex; gap: 8px; flex-shrink: 0; }
.nh-btn { display: inline-block; padding: 9px 14px; border-radius: 9px; background: var(--sjh-primary); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; border: 1px solid var(--sjh-primary); }
.nh-btn:hover { background: var(--sjh-secondary-dark); color: #fff; border-color: var(--sjh-secondary-dark); }
.nh-btn-ghost { background: #fff; color: var(--sjh-primary); border-color: var(--sjh-primary); }
.nh-btn-ghost:hover { background: var(--sjh-secondary-dark); color: #fff; border-color: var(--sjh-secondary-dark); }
.nh-empty { background: #fff; border: 1px dashed var(--sjh-border); border-radius: 12px; padding: 22px; font-size: 14px; }

/* closing soon cards */
.nh-closing-card { border-top: 3px solid var(--sjh-warning); }
.naukri-hub .nh-closing-card h3 { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.naukri-hub .nh-closing-card p { margin: 0; }
.nh-days { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--sjh-amber-soft); color: var(--sjh-warning); margin-bottom: 8px; }
.nh-days-hot { background: #fdecee; color: var(--sjh-alert); }

/* state grid counts */
.nh-state-grid a { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.nh-state-grid em { font-style: normal; font-size: 11px; font-weight: 800; background: #fff; color: var(--sjh-secondary); border-radius: 999px; padding: 1px 7px; }

/* quick links */
.nh-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.nh-quick-grid a { display: grid; gap: 2px; background: #fff; border: 1px solid var(--sjh-border); border-radius: 12px; padding: 16px; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.nh-quick-grid a:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(24, 49, 83, .08); border-color: #b8dfe0; }
.nh-quick-grid span { font-size: 24px; }
.nh-quick-grid strong { color: var(--sjh-primary); }
.nh-quick-grid small { color: var(--sjh-muted); }

/* pagination */
.nh-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.nh-pagination .page-numbers { padding: 8px 13px; border-radius: 8px; background: #fff; border: 1px solid var(--sjh-border); color: var(--sjh-primary); text-decoration: none; font-weight: 700; font-size: 13px; }
.nh-pagination .page-numbers.current { background: var(--sjh-primary); color: #fff; border-color: var(--sjh-primary); }

@media (max-width: 900px) {
	.nh-filters { grid-template-columns: repeat(2, 1fr); }
	.nh-filter-actions { grid-column: 1 / -1; }
	.nh-quick-grid { grid-template-columns: repeat(2, 1fr); }
	.nh-state-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.nh-stats { grid-template-columns: repeat(2, 1fr); }
	.nh-filters { grid-template-columns: 1fr; }
	.nh-job { flex-direction: column; align-items: flex-start; }
	.nh-job-actions { width: 100%; }
	.nh-job-actions .nh-btn { flex: 1; text-align: center; }
	.nh-job h3 { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.naukri-hub .scheme-content-grid { grid-template-columns: 1fr; }
	.nh-state-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- Single job page ---------------- */
.job-single { padding-bottom: 80px; }
.js-breadcrumb { font-size: 13px; color: var(--sjh-muted); margin: 22px 0 12px; }
.js-breadcrumb a { color: var(--sjh-secondary); text-decoration: none; }
.js-hero { background: linear-gradient(135deg, #fff 0%, #eef9f9 100%); border: 1px solid var(--sjh-border); border-radius: 16px; padding: 26px 28px; }
.js-hero h1 { font-size: 30px; line-height: 1.25; color: var(--sjh-primary); margin: 12px 0 10px; }
.js-banner { margin: 8px 0 16px; max-width: 860px; }
.js-banner img { width: 100%; height: auto; border-radius: 12px; display: block; }
.js-summary { color: var(--sjh-text); font-size: 16px; line-height: 1.65; margin: 0 0 12px; max-width: 860px; }
.js-countdown { margin: 0 0 14px; font-size: 14px; color: var(--sjh-muted); }
.js-status { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px; }
.js-status-open { background: #e7f6ee; color: var(--sjh-success); }
.js-status-closed { background: #fdecee; color: var(--sjh-alert); }
.js-status-info { background: var(--sjh-amber-soft); color: var(--sjh-warning); }
.js-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.js-btn-lg { padding: 12px 20px; font-size: 14px; }

.js-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 22px; align-items: start; }
.js-card { background: #fff; border: 1px solid var(--sjh-border); border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.js-card h2 { font-size: 20px; color: var(--sjh-primary); margin: 0 0 14px; }
.js-card h3 { font-size: 15px; color: var(--sjh-primary); margin: 14px 0 6px; }
.js-card h3:first-of-type { margin-top: 0; }
.js-card p { color: var(--sjh-text); line-height: 1.65; margin: 0 0 8px; }
.js-card [id], .js-card { scroll-margin-top: 90px; }

.js-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.js-fact { display: flex; gap: 11px; align-items: flex-start; background: var(--sjh-bg); border-radius: 10px; padding: 11px 12px; }
.js-fact-icon { font-size: 20px; line-height: 1.2; }
.js-fact small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--sjh-muted); }
.js-fact strong { display: block; color: var(--sjh-primary); font-size: 14px; line-height: 1.45; }

.js-table-wrap { overflow-x: auto; }
.js-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.js-table th, .js-table td { border: 1px solid var(--sjh-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.js-table tbody th { width: 45%; background: var(--sjh-bg); color: var(--sjh-primary); font-weight: 700; }
.js-table-cols thead th { background: var(--sjh-primary); color: #fff; }
.js-table-cols tbody th { width: auto; }
.js-table tfoot th { background: var(--sjh-teal-soft); color: var(--sjh-primary); }
.js-links a { color: var(--sjh-secondary); font-weight: 750; text-decoration: none; }

.js-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.js-steps li { counter-increment: s; position: relative; padding: 6px 0 6px 40px; line-height: 1.55; color: var(--sjh-text); }
.js-steps li::before { content: counter(s); position: absolute; left: 0; top: 4px; width: 27px; height: 27px; border-radius: 50%; background: var(--sjh-teal-soft); color: var(--sjh-secondary); font-weight: 850; font-size: 13px; display: grid; place-items: center; }

.js-side { position: sticky; top: 20px; }
.js-side-card h3 { margin: 0 0 12px; font-size: 16px; }
.js-block { display: block; text-align: center; margin-bottom: 9px; }
.js-toc { display: grid; gap: 2px; margin-top: 10px; border-top: 1px solid var(--sjh-border); padding-top: 10px; }
.js-toc a { color: var(--sjh-primary); text-decoration: none; font-size: 13px; font-weight: 650; padding: 6px 8px; border-radius: 7px; }
.js-toc a:hover { background: var(--sjh-bg); color: var(--sjh-secondary); }
.js-share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.js-share a { text-align: center; padding: 9px 4px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.js-share-wa { background: #25d366; } .js-share-tg { background: #229ed9; } .js-share-fb { background: #1877f2; }
.js-related { list-style: none; margin: 0; padding: 0; }
.js-related li { padding: 9px 0; border-bottom: 1px solid var(--sjh-border); }
.js-related li:last-child { border-bottom: 0; }
.js-related a { color: var(--sjh-primary); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.4; }
.js-related small { display: block; color: var(--sjh-muted); font-size: 12px; margin-top: 2px; }
.js-sticky-bar { display: none; }

@media (max-width: 960px) {
	.js-layout { grid-template-columns: 1fr; }
	.js-side { position: static; }
}
@media (max-width: 600px) {
	.js-hero { padding: 20px 18px; }
	.js-hero h1 { font-size: 23px; }
	.js-card { padding: 16px; }
	.js-facts { grid-template-columns: 1fr; }
	.js-table tbody th { width: 42%; }
	.js-sticky-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--sjh-border); padding: 10px 12px; box-shadow: 0 -4px 14px rgba(20, 43, 74, .08); }
	.js-sticky-bar .nh-btn { flex: 1; text-align: center; }
}
