/* ==========================================================================
   SarkariChakri24 — editorial "news portal" design layer (2026-10-10)

   Loaded LAST (after style.css + mobile.css). Remove its <link> in
   views/layouts/partials/stylesheets.php to roll the redesign back.

   Direction (chosen by the site owner): a clean news portal — white pages,
   near-black type, one red accent, ruled section headers, flat cards with
   hairline dividers, a "সর্বশেষ" ticker and a lead-story homepage. Status
   colours are kept only for deadlines (green open · amber ≤5 days · grey
   closed) because that is information, not decoration.

   Every dark masthead band on the site is re-skinned light here, so the
   whole site — not just the homepage — reads as one publication.
   ========================================================================== */

:root {
    --np-ink: #111111;
    --np-ink-2: #333333;
    --np-ink-3: #666666;
    --np-ink-4: #8a8a8a;
    --np-red: #c4161c;
    --np-red-dark: #9e1015;
    --np-red-50: #fdf1f1;
    --np-rule: #e3e3e3;
    --np-rule-2: #efefef;
    --np-paper: #ffffff;
    --np-wash: #f7f7f5;
    --np-open: #0a7a4f;
    --np-open-50: #e9f6ef;
    --np-soon: #b45309;
    --np-soon-50: #fdf3e3;
    --np-closed: #6b6b6b;
    --np-closed-50: #f1f1f1;

    /* Retune base tokens so untouched components follow */
    --primary: var(--np-red);
    --primary-dark: var(--np-red-dark);
    --primary-light: #e0393f;
    --primary-50: var(--np-red-50);
    --primary-100: #f9dcdc;
    --bg-body: var(--np-paper);
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-hover: #f5f5f3;
    --text-primary: var(--np-ink);
    --text-secondary: var(--np-ink-2);
    --text-muted: var(--np-ink-4);
    --border: var(--np-rule);
    --border-light: var(--np-rule-2);
    --shadow-sm: none;
    --shadow: none;
    --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: none;
    --shadow-glow: none;
    --gradient-primary: linear-gradient(0deg, var(--np-red), var(--np-red));
    --sc-surface-gradient: var(--np-paper);
    --gradient-hero: var(--np-paper);
}

body {
    background: var(--np-paper);
    color: var(--np-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: #fbd5d6;
    color: var(--np-ink);
}

a {
    color: inherit;
}

/* ==========================================================================
   1. Masthead of the publication: utility bar, nav with red rule
   ========================================================================== */
.top-bar {
    background: var(--np-ink);
    border: 0;
    font-size: 0.78rem;
}

.navbar {
    background: #fff;
    border-bottom: 3px solid var(--np-red);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.nav-links a,
.nav-links .nav-item > a {
    color: var(--np-ink);
    font-weight: 600;
    background: transparent;
    border-radius: 0;
}

.nav-links a i,
.nav-links a[class*="nav-link--"] i {
    color: var(--np-ink-4);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--np-red);
    background: transparent;
}

.nav-links a:hover i,
.nav-links a.active i,
.nav-links a[class*="nav-link--"]:hover i,
.nav-links a[class*="nav-link--"].active i {
    color: var(--np-red);
}

.nav-links a.active::after {
    background: var(--np-red);
    width: 100%;
    height: 3px;
    bottom: -14px;
    border-radius: 0;
}

.nav-links a.nav-link--trending {
    background: transparent;
    color: var(--np-ink);
    border: 0;
    box-shadow: none;
}

.nav-links a.nav-link--trending i {
    color: var(--np-red);
}

.navbar .btn-primary,
.nav-auth .btn-primary,
.nav-links-auth .btn-primary {
    border-radius: 4px;
}

/* ==========================================================================
   2. "সর্বশেষ" ticker
   ========================================================================== */
.sc-ticker {
    background: #fff;
    border-bottom: 1px solid var(--np-rule);
}

.sc-ticker__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 42px;
}

.sc-ticker__label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--np-red);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    position: relative;
}

.sc-ticker__label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(135deg, var(--np-red) 50%, transparent 50%);
}

.sc-ticker__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.sc-ticker__track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: sc-ticker 60s linear infinite;
    padding-left: 22px;
}

.sc-ticker:hover .sc-ticker__track,
.sc-ticker:focus-within .sc-ticker__track {
    animation-play-state: paused;
}

.sc-ticker__item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--np-ink);
    padding: 0 22px 0 0;
    text-decoration: none;
}

.sc-ticker__item::before {
    content: '■';
    color: var(--np-red);
    font-size: 0.55rem;
    margin-right: 10px;
    vertical-align: 2px;
}

.sc-ticker__item:hover {
    color: var(--np-red);
}

@keyframes sc-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .sc-ticker__track {
        animation: none;
    }
}

/* ==========================================================================
   3. Light page headers — every masthead variant
   ========================================================================== */
.sc-masthead,
.sc-masthead--home,
.sc-page-masthead,
.sc-job-masthead,
.sc-static-masthead,
.sc-org-masthead,
.sc-cat-masthead,
.sc-accent-band {
    background: var(--np-paper);
    color: var(--np-ink);
    border-bottom: 1px solid var(--np-rule);
    min-height: 0;
}

.sc-masthead::before,
.sc-masthead::after,
.sc-masthead--home::before,
.sc-masthead--home::after,
.sc-page-masthead::before,
.sc-page-masthead::after,
.sc-job-masthead::before,
.sc-job-masthead::after,
.sc-static-masthead::before,
.sc-static-masthead::after,
.sc-org-masthead::before,
.sc-org-masthead::after,
.sc-cat-masthead::before,
.sc-cat-masthead::after,
.sc-accent-band::before,
.sc-accent-band::after,
.sc-masthead__body::before,
.sc-static-masthead__glow {
    display: none;
}

/* Every text node inside a masthead: dark ink */
:is(.sc-masthead, .sc-page-masthead, .sc-job-masthead, .sc-static-masthead, .sc-org-masthead, .sc-cat-masthead, .sc-accent-band)
    :is(h1, h2, h3, p, span, li, small, strong, dt, dd, div, a:not(.btn):not([class*="btn"])) {
    color: inherit;
    text-shadow: none;
}

:is(.sc-masthead, .sc-page-masthead, .sc-job-masthead, .sc-static-masthead, .sc-org-masthead, .sc-cat-masthead, .sc-accent-band) :is(h1, .sc-page-masthead__title, .sc-masthead__headline) {
    color: var(--np-ink);
    letter-spacing: -0.015em;
    -webkit-text-fill-color: currentColor;
    background: none;
}

/* Breadcrumbs */
.jd-breadcrumb,
.jd-breadcrumb a,
.sc-page-masthead .jd-breadcrumb a,
.sc-job-masthead .jd-breadcrumb a {
    color: var(--np-ink-3);
}

.jd-breadcrumb a:hover {
    color: var(--np-red);
}

.jd-breadcrumb .current {
    color: var(--np-ink);
}

.jd-breadcrumb .sep {
    color: #bdbdbd;
}

.jd-breadcrumb i {
    color: var(--np-ink-4);
}

/* Chips / glass pills inside headers → plain bordered tags */
:is(.sc-page-masthead__chip, .sc-cat-masthead__stats > *, .sc-org-masthead__stats > *, .sc-static-masthead__badges > *, .job-detail-meta span) {
    background: #fff;
    border: 1px solid var(--np-rule);
    color: var(--np-ink-2);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

:is(.sc-page-masthead, .sc-job-masthead, .sc-static-masthead, .sc-org-masthead, .sc-cat-masthead) i {
    color: var(--np-red);
}

.sc-page-masthead {
    padding: 26px 0 22px;
}

.sc-page-masthead__sub,
.sc-page-masthead__sub-en,
.sc-page-masthead__lead,
.sc-page-masthead__intro {
    color: var(--np-ink-3);
}

/* Org standing-status box */
:is(.sc-page-masthead, .sc-org-masthead) [class*="org-status"] {
    background: var(--np-wash);
    border: 1px solid var(--np-rule);
    color: var(--np-ink-2);
}

/* ==========================================================================
   4. Homepage: compact search head + lead story + latest list
   ========================================================================== */
.sc-news-masthead.sc-masthead {
    padding: 26px 0 22px;
    text-align: left;
    display: block;
}

.sc-news-masthead .sc-masthead__main {
    max-width: none;
    margin: 0;
    text-align: left;
}

.sc-news-masthead .sc-masthead__eyebrow {
    display: inline-block;
    background: none;
    border: 0;
    border-left: 4px solid var(--np-red);
    border-radius: 0;
    padding: 0 0 0 10px;
    margin: 0 0 10px;
    color: var(--np-red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.sc-news-masthead .sc-masthead__headline {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.22;
    font-weight: 800;
    margin: 0 0 8px;
    text-align: left;
}

.sc-news-masthead .sc-masthead__lede {
    font-size: 0.98rem;
    color: var(--np-ink-3);
    margin: 0 0 18px;
    text-align: left;
}

.sc-news-masthead .sc-masthead__lede strong {
    color: var(--np-ink);
    font-size: 1em;
}

.sc-news-masthead .sc-masthead__finder {
    max-width: none;
    margin: 0;
}

.sc-news-masthead .sc-finder-form.search-box {
    border-radius: 4px;
    border: 2px solid var(--np-ink);
    box-shadow: none;
    padding: 4px;
    background: #fff;
}

.sc-news-masthead .sc-finder-submit,
.sc-news-masthead .btn-search {
    border-radius: 2px;
    background: var(--np-red);
    background-image: none;
    box-shadow: none;
    color: #fff;
}

.sc-news-masthead .sc-finder-submit:hover {
    background: var(--np-red-dark);
}

.sc-news-masthead .sc-masthead__trending {
    margin-top: 14px;
    justify-content: flex-start;
}

.sc-news-masthead .sc-trending__head {
    display: none;
}

.sc-news-masthead .sc-trending__list {
    justify-content: flex-start;
    gap: 0;
}

.sc-news-masthead .sc-trending__list a {
    background: none;
    border: 0;
    border-right: 1px solid var(--np-rule);
    border-radius: 0;
    padding: 2px 14px;
    color: var(--np-ink-2);
    font-weight: 600;
    box-shadow: none;
}

.sc-news-masthead .sc-trending__list a:first-child {
    padding-left: 0;
}

.sc-news-masthead .sc-trending__list a:last-child {
    border-right: 0;
}

.sc-news-masthead .sc-trending__list a:hover {
    color: var(--np-red);
    background: none;
}

.sc-news-masthead .sc-trending__list a i {
    color: var(--np-red);
}

/* Lead story + latest list */
.sc-news-lead {
    padding: 26px 0 30px;
    border-bottom: 1px solid var(--np-rule);
}

.sc-news-lead__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 36px;
}

.sc-kicker {
    margin: 0 0 10px;
    color: var(--np-red);
    font-size: 0.82rem;
    font-weight: 700;
}

.sc-lead-story__media {
    display: block;
    overflow: hidden;
    background: var(--np-wash);
    aspect-ratio: 16 / 8.4;
}

.sc-lead-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sc-lead-story:hover .sc-lead-story__media img {
    transform: scale(1.02);
}

.sc-lead-story__title {
    margin: 16px 0 8px;
    font-size: clamp(1.4rem, 2.3vw, 1.95rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.sc-lead-story__title a {
    color: var(--np-ink);
    text-decoration: none;
}

.sc-lead-story__title a:hover {
    color: var(--np-red);
}

.sc-lead-story__dek {
    margin: 0 0 12px;
    color: var(--np-ink-2);
    font-size: 1rem;
    line-height: 1.6;
}

.sc-lead-story__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    font-size: 0.86rem;
    color: var(--np-ink-3);
}

.sc-tag {
    display: inline-block;
    padding: 3px 9px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 2px;
}

.sc-tag--open {
    color: var(--np-open);
    background: var(--np-open-50);
}

/* Rule-headed column title (newspaper section header) */
.sc-rule-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-top: 3px solid var(--np-ink);
    padding-top: 8px;
    margin-bottom: 6px;
}

.sc-rule-head h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--np-ink);
}

.sc-rule-head a {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--np-red);
    text-decoration: none;
}

.sc-latest-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-latest-list li {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--np-rule);
}

.sc-latest-list li:last-child {
    border-bottom: 0;
}

.sc-latest-list__num {
    flex: 0 0 auto;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    color: #d6d6d6;
    min-width: 24px;
}

.sc-latest-list__link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    text-decoration: none;
}

.sc-latest-list__org {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--np-ink);
}

.sc-latest-list__link:hover .sc-latest-list__org {
    color: var(--np-red);
}

.sc-latest-list__meta {
    font-size: 0.84rem;
    color: var(--np-ink-3);
}

.sc-latest-list__meta em {
    font-style: normal;
    font-weight: 700;
    color: var(--np-open);
}

.sc-latest-list__meta em.is-urgent {
    color: var(--np-soon);
}

/* "In numbers" strip */
.stats-bar {
    background: var(--np-wash);
    border-bottom: 1px solid var(--np-rule);
    padding: 0;
}

.stats-grid {
    gap: 0;
}

.stats-grid .stat-item {
    background: transparent;
    background-image: none;
    border: 0;
    border-right: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.stats-grid .stat-item:last-child {
    border-right: 0;
}

.stats-grid .stat-item::before,
.stats-grid .stat-item::after,
.stats-grid .stat-live-dot {
    display: none;
}

.stats-grid .stat-item:hover {
    background: #fff;
    transform: none;
    box-shadow: none;
}

.stats-grid .stat-icon-wrap {
    display: none;
}

.stats-grid .stat-number {
    color: var(--np-ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stats-grid .stat-label {
    color: var(--np-ink-3);
    letter-spacing: 0.02em;
}

.stats-grid .stat-item--urgent .stat-number {
    color: var(--np-soon);
}

.stats-grid .stat-item--live .stat-number {
    color: var(--np-open);
}

/* ==========================================================================
   5. Section headers: newspaper rule style, left aligned
   ========================================================================== */
.section-title,
.section-title--compact {
    text-align: left;
    border-top: 3px solid var(--np-ink);
    padding-top: 10px;
    margin-bottom: 20px;
}

.section-title h2,
.section-title .title-bn2,
.section-title--compact h2 {
    color: var(--np-ink);
    text-align: left;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.section-title h2 i,
.section-title .title-bn2 i {
    color: var(--np-red);
}

.section-title .title-line {
    display: none;
}

.section {
    background: transparent;
}

/* ==========================================================================
   6. Cards: flat, ruled, red hover
   ========================================================================== */
.job-card--listing,
.jobs-listing-grid > .job-card-wrap .job-card--listing,
.job-card {
    --listing-accent: var(--np-red);
    --listing-border: var(--np-rule);
    background: #fff;
    border: 1px solid var(--np-rule);
    border-left: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
    border-radius: 0;
    box-shadow: none;
    padding: 14px 14px 12px;
}

.job-card--listing::before,
.job-card::before {
    display: none;
}

.job-card-wrap:hover .job-card--listing,
.job-card:hover {
    transform: none;
    border-top-color: var(--np-red);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.job-card--listing .job-org-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 1px solid var(--np-rule);
    background: #fff;
    box-shadow: none;
}

.job-card__title {
    color: var(--np-ink);
    font-weight: 800;
    line-height: 1.35;
}

.job-card-wrap:hover .job-card__title {
    color: var(--np-red);
}

.job-card__subtitle,
.job-card__org,
.job-card__org a {
    color: var(--np-ink-3);
}

.job-card__org i,
.job-meta--compact span i {
    color: var(--np-ink-4);
}

.job-meta--compact span {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--np-ink-3);
}

.job-meta--compact .job-meta__vacancy {
    color: var(--np-ink);
    font-weight: 700;
    background: none;
}

.job-card--listing .job-card-footer {
    border-top: 1px solid var(--np-rule-2);
}

.job-card-footer .deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: 700;
    color: var(--np-open);
    background: var(--np-open-50);
}

.job-card-footer .deadline i {
    color: inherit;
}

.job-card-footer .deadline.urgent {
    color: var(--np-soon);
    background: var(--np-soon-50);
}

.job-card-footer .deadline.expired {
    color: var(--np-closed);
    background: var(--np-closed-50);
}

.job-card-view-btn {
    background: var(--np-ink);
    border-radius: 2px;
    box-shadow: none;
}

.job-card-view-btn:hover {
    background: var(--np-red);
    transform: none;
    box-shadow: none;
}

.job-save-btn {
    background: #fff;
    color: var(--np-ink-3);
    border: 1px solid var(--np-rule);
    border-radius: 2px;
    box-shadow: none;
}

.job-save-btn:hover {
    color: var(--np-red);
    border-color: var(--np-red);
    background: #fff;
}

.featured-badge,
.trending-rank-badge,
[class*="trending-rank-badge"] {
    background: var(--np-red);
    background-image: none;
    color: #fff;
    border-radius: 2px;
    box-shadow: none;
    border: 0;
}

/* Organization / post cards */
.org-list-card,
.org-list-card[data-tone] {
    --ol-accent: var(--np-red);
    --ol-accent-soft: var(--np-red-50);
    --ol-border: var(--np-rule);
    --ol-gradient: linear-gradient(0deg, var(--np-red), var(--np-red));
    --ol-orb: transparent;
    border-radius: 0;
    border: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
    box-shadow: none;
}

.org-list-card:hover {
    transform: none;
    border-top-color: var(--np-red);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.org-list-card__orb,
.org-list-card__edge {
    display: none;
}

.org-list-card__logo {
    border-radius: 0;
}

.org-list-card__chip {
    border-radius: 2px;
}

.org-list-card__chip--deadline.is-active { color: var(--np-open); background: var(--np-open-50); }
.org-list-card__chip--deadline.is-urgent { color: var(--np-soon); background: var(--np-soon-50); }
.org-list-card__chip--deadline.is-expired { color: var(--np-closed); background: var(--np-closed-50); }

/* Category tiles → ruled index list */
.cat-home-card,
.cat-home-card[data-tone] {
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
}

.cat-home-card:hover {
    transform: none;
    background: var(--np-wash);
}

.cat-home-accent {
    display: none;
}

.cat-home-icon {
    background: none;
    color: var(--np-red);
    box-shadow: none;
}

.cat-home-icon i {
    color: var(--np-red);
}

.cat-home-en {
    color: var(--np-ink);
}

.cat-home-count-num {
    color: var(--np-ink);
}

.cat-card,
.guide-card,
.trust-strip,
.sidebar-card,
.job-sidebar-card {
    border-radius: 0;
    border: 1px solid var(--np-rule);
    box-shadow: none;
}

/* Generic rounded cards in content areas */
.card,
.notice-strip,
.home-about-section .container > div {
    border-radius: 0;
    box-shadow: none;
}

/* ==========================================================================
   7. Job page
   ========================================================================== */
.sc-job-masthead {
    padding: 22px 0 0;
}

.sc-job-masthead__logo {
    border-radius: 0;
    border: 1px solid var(--np-rule);
    background: #fff;
    padding: 4px;
    box-shadow: none;
}

.sc-job-masthead h1.jd-title-bn {
    color: var(--np-ink);
    font-weight: 800;
}

.sc-job-masthead .jd-title-sub {
    color: var(--np-red);
}

.sc-job-masthead .jd-title,
.sc-job-masthead .org-name {
    color: var(--np-ink-3);
}

.sc-job-masthead .job-byline {
    background: var(--np-wash);
    border: 0;
    border-left: 3px solid var(--np-red);
    border-radius: 0;
    box-shadow: none;
}

.sc-job-masthead .job-byline a {
    color: var(--np-ink);
}

.jd-keyfacts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 20px 0 0;
    border-top: 3px solid var(--np-ink);
    border-bottom: 1px solid var(--np-rule);
}

.jd-keyfacts__item {
    margin: 0;
    padding: 12px 16px 12px 0;
    min-width: 0;
}

.jd-keyfacts__item + .jd-keyfacts__item {
    padding-left: 16px;
    border-left: 1px solid var(--np-rule);
}

.jd-keyfacts dt {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--np-ink-3);
}

.jd-keyfacts dd {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jd-keyfacts dd > span {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--np-ink);
    overflow-wrap: anywhere;
}

.jd-keyfacts dd small {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--np-ink-3);
}

.jd-keyfacts__item--deadline.is-open dd small { color: var(--np-open); }
.jd-keyfacts__item--deadline.is-urgent dd small,
.jd-keyfacts__item--deadline.is-urgent dd > span { color: var(--np-soon); }
.jd-keyfacts__item--deadline.is-expired dd small { color: var(--np-closed); }

.sc-job-masthead .job-detail-meta {
    margin-top: 14px;
    padding-bottom: 18px;
}

.save-job-btn--masthead,
.sc-job-masthead [class*="save-job"] {
    border-radius: 2px;
}

.job-detail-content {
    padding-top: 24px;
}

.job-detail-main,
.job-detail-sidebar > * {
    border-radius: 0;
    box-shadow: none;
}

.job-editorial-intro {
    border-radius: 0;
    border-left: 3px solid var(--np-red);
    background: var(--np-wash);
}

/* Article typography inside the circular */
.job-detail-main h2 {
    border-top: 2px solid var(--np-ink);
    padding-top: 10px;
    color: var(--np-ink);
}

.job-detail-main h3 {
    color: var(--np-ink);
}

.job-detail-main table th {
    background: var(--np-ink);
    color: #fff;
}

.job-detail-main .highlight,
.job-detail-main .highlight-date {
    color: var(--np-red);
    background: var(--np-red-50);
}

/* ==========================================================================
   8. Buttons, forms, misc
   ========================================================================== */
.btn-primary,
.btn.btn-primary {
    background: var(--np-red);
    background-image: none;
    border-color: var(--np-red);
    color: #fff;
    border-radius: 3px;
    box-shadow: none;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--np-red-dark);
    border-color: var(--np-red-dark);
    box-shadow: none;
    transform: none;
}

.btn-outline,
.btn-secondary {
    border-radius: 3px;
}

.sc-ad-unit {
    background: var(--np-wash);
    border: 0;
    border-top: 1px solid var(--np-rule);
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
}

.pagination a,
.pagination span {
    border-radius: 2px;
}

.cta-section {
    background: var(--np-ink);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.footer {
    background: var(--np-ink);
    border-top: 4px solid var(--np-red);
}

.footer::before,
.footer::after {
    display: none;
}

.footer-col__title {
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.footer-links a {
    color: #b5b5b5;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--np-red);
    outline-offset: 2px;
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .sc-news-lead__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .jd-keyfacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jd-keyfacts__item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .jd-keyfacts__item:nth-child(n + 3) {
        border-top: 1px solid var(--np-rule);
    }

    .stats-grid .stat-item {
        border-bottom: 1px solid var(--np-rule);
    }

    .nav-links a.active::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .sc-news-masthead.sc-masthead {
        padding: 18px 0 16px;
    }

    .sc-news-masthead .sc-masthead__headline {
        font-size: 1.4rem;
    }

    .sc-ticker__label {
        padding: 0 10px;
        font-size: 0.84rem;
    }

    .sc-ticker__item {
        font-size: 0.84rem;
    }

    .sc-lead-story__title {
        font-size: 1.3rem;
    }

    .sc-news-masthead .sc-trending__list {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .jd-keyfacts dd > span {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   11. Specificity fixes — base rules that out-rank or !important the above
   ========================================================================== */
.sc-news-masthead .search-box .sc-finder-submit.btn-search {
    background: var(--np-red);
    box-shadow: none;
    border-radius: 2px;
}

.sc-news-masthead .search-box .sc-finder-submit.btn-search:hover {
    background: var(--np-red-dark);
}

.sc-news-masthead .sc-trending__list a.sc-trending__featured,
.sc-news-masthead .sc-trending__list a.sc-trending__latest,
.sc-news-masthead .sc-trending__list a.sc-trending__more {
    background: none !important;
    color: var(--np-ink-2) !important;
    box-shadow: none !important;
}

.sc-news-masthead .sc-trending__list a.sc-trending__featured {
    color: var(--np-red) !important;
}

.sc-news-masthead .sc-trending__list a:hover {
    color: var(--np-red) !important;
}

.sc-job-masthead .job-detail-meta span {
    background: #fff;
    color: var(--np-ink-2);
    border: 1px solid var(--np-rule);
    border-radius: 2px;
    box-shadow: none;
}

.sc-job-masthead .job-detail-meta span i {
    color: var(--np-red);
}

.jd-title-row .trending-rank-badge,
.job-card .trending-rank-badge {
    background: var(--np-red);
    box-shadow: none;
    border-radius: 2px;
}

.jd-title-row .trending-rank-badge,
.jd-title-row .trending-rank-badge * {
    color: #fff !important;
}

.sc-job-masthead .job-save-btn.job-save-btn--masthead {
    background: #fff;
    color: var(--np-red);
    border: 1px solid var(--np-red);
    border-radius: 2px;
    box-shadow: none;
}

.sc-job-masthead .job-save-btn.job-save-btn--masthead * {
    color: var(--np-red);
}

/* Sidebar + content cards on the job page: flat, ruled */
.job-detail-sidebar .card,
.job-detail-sidebar > div,
.official-apply-card,
.job-summary-card {
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    border: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
}

.sc-news-masthead .sc-masthead__trending,
.sc-news-masthead .sc-masthead__trending .sc-trending__list {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
}

/* No lead story (no banner on disk): the list takes the full width, two columns */
.sc-news-lead__grid:not(:has(.sc-lead-story)) {
    grid-template-columns: minmax(0, 1fr);
}

.sc-news-lead__grid:not(:has(.sc-lead-story)) .sc-latest-list ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
}

.sc-news-lead__grid:not(:has(.sc-lead-story)) .sc-latest-list li:nth-last-child(2) {
    border-bottom: 0;
}

@media (max-width: 760px) {
    .sc-news-lead__grid:not(:has(.sc-lead-story)) .sc-latest-list ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .sc-news-lead__grid:not(:has(.sc-lead-story)) .sc-latest-list li:nth-last-child(2) {
        border-bottom: 1px solid var(--np-rule);
    }
}

/* ==========================================================================
   12. Homepage body sections — news-portal treatment
   White sections separated by hairlines; trending + top posts sit on a warm
   wash for rhythm; every section ends in a small outlined "see all" button.
   ========================================================================== */
#categories,
#latest-organizations,
#trending-jobs,
#featured-jobs,
#top-job-posts,
#latest-jobs,
.home-about-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--np-rule);
    background: #fff;
}

#trending-jobs,
#top-job-posts {
    background: var(--np-wash);
}

.section-title__sub {
    color: var(--np-ink-3);
    text-align: left;
    margin-top: 2px;
}

.section-cta-btn,
.btn.section-cta-btn,
.btn-primary.section-cta-btn,
.section-cta-btn--warm {
    background: #fff;
    background-image: none;
    color: var(--np-ink) !important;
    border: 1.5px solid var(--np-ink);
    border-radius: 2px;
    box-shadow: none;
    font-weight: 700;
    padding: 9px 20px;
}

.section-cta-btn i {
    color: var(--np-red);
}

.section-cta-btn:hover,
.btn.section-cta-btn:hover {
    background: var(--np-ink);
    color: #fff !important;
    border-color: var(--np-ink);
    transform: none;
    box-shadow: none;
}

.section-cta-btn:hover i {
    color: #fff;
}

/* Trust strip */
.trust-strip,
.trust-strip--premium {
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    padding: 0;
    margin: 0;
}

.trust-strip__panel {
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 14px 0;
}

.trust-strip__item {
    background: none;
    border: 0;
    box-shadow: none;
}

.trust-strip__icon,
.trust-strip__icon[class*="--"] {
    background: var(--np-red-50);
    color: var(--np-red);
    box-shadow: none;
    border-radius: 0;
}

.trust-strip__icon i {
    color: var(--np-red);
}

.trust-strip__text strong {
    color: var(--np-ink);
}

.trust-strip__text span {
    color: var(--np-ink-3);
}

/* Pinned notice strip */
.notice-strip,
.notice-strip--premium {
    background: #fff;
    border-top: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
}

.notice-strip__badge {
    background: var(--np-ink);
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.notice-strip__pulse {
    background: var(--np-red);
}

.notice-ticker__link {
    color: var(--np-ink);
    font-weight: 600;
}

.notice-ticker__link:hover {
    color: var(--np-red);
}

/* Categories: ruled directory */
.cat-home-grid {
    gap: 0 28px;
}

.cat-home-card,
.cat-home-card[data-tone] {
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transform: none;
}

.cat-home-card::before,
.cat-home-card::after {
    display: none;
}

.cat-home-card:hover {
    background: #fff;
    transform: none;
    box-shadow: none;
}

.cat-home-body {
    padding: 12px 2px;
    gap: 12px;
}

.cat-home-icon,
.cat-home-card[data-tone] .cat-home-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: var(--np-red-50);
    color: var(--np-red);
    box-shadow: none;
}

.cat-home-en {
    font-weight: 700;
    color: var(--np-ink);
}

.cat-home-card:hover .cat-home-en {
    color: var(--np-red);
}

.cat-home-bn {
    color: var(--np-ink-3);
}

.cat-home-meta {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.cat-home-count-num {
    color: var(--np-ink);
    font-weight: 800;
}

.cat-home-count-label {
    color: var(--np-ink-4);
}

.cat-home-arrow {
    color: var(--np-ink-4);
    background: none;
    box-shadow: none;
}

.cat-home-card:hover .cat-home-arrow {
    color: var(--np-red);
}

.cat-home-card--empty {
    opacity: 0.55;
}

/* Organization cards */
.org-list-card__logo,
.org-list-card__logo img {
    border-radius: 0;
}

.org-list-card__logo {
    border: 1px solid var(--np-rule);
    background: #fff;
    box-shadow: none;
}

.org-list-card__bn {
    color: var(--np-ink);
    font-weight: 800;
}

.org-list-card:hover .org-list-card__bn {
    color: var(--np-red);
}

.org-list-card__en {
    color: var(--np-ink-3);
}

.org-list-card__chip--jobs.is-active {
    color: var(--np-ink);
    background: var(--np-wash);
}

.org-list-card__cta {
    color: var(--np-red);
    background: none;
}

.org-list-card__cta i {
    color: var(--np-red);
}

#trending-jobs .job-card--listing {
    background: #fff;
}

.trending-section .section-title--compact h2.title-bn2 i {
    color: var(--np-red);
}

/* Top posts: "most read" ranked list */
.top-posts-grid {
    gap: 0 28px;
}

.top-post-card {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    padding: 14px 0;
    transform: none;
}

.top-post-card::before,
.top-post-card::after {
    display: none;
}

.top-post-card:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.top-post-rank,
.top-post-rank[data-rank] {
    background: none;
    box-shadow: none;
    border: 0;
    color: #c9c9c9;
    font-size: 1.8rem;
    font-weight: 800;
    min-width: 54px;
    width: auto;
    height: auto;
    -webkit-text-fill-color: currentColor;
}

.top-post-rank[data-rank] {
    color: var(--np-red);
}

.top-post-info h3 {
    color: var(--np-ink);
    font-weight: 800;
}

.top-post-card:hover .top-post-info h3 {
    color: var(--np-red);
}

.top-post-title-en {
    color: var(--np-ink-3);
}

.top-post-count {
    background: none;
    border: 0;
    box-shadow: none;
    color: var(--np-ink-3);
}

.top-post-count i {
    color: var(--np-ink-4);
}

.top-post-count__num {
    color: var(--np-ink);
    font-weight: 800;
}

.top-post-count--active .top-post-count__num,
.top-post-count--active i {
    color: var(--np-open);
}

/* Latest circulars: dense news list */
.latest-jobs-list {
    background: #fff;
    border: 0;
    border-top: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    gap: 0;
}

.job-list-item {
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    padding: 14px 4px;
    transform: none;
}

.job-list-item::before {
    display: none;
}

.job-list-item:hover {
    background: var(--np-wash);
    transform: none;
    box-shadow: none;
}

.job-list-icon {
    border-radius: 0;
    border: 1px solid var(--np-rule);
    background: #fff;
    box-shadow: none;
}

.job-list-icon img {
    border-radius: 0;
}

.job-list-info h4 {
    color: var(--np-ink);
    font-weight: 800;
}

.job-list-item:hover .job-list-info h4 {
    color: var(--np-red);
}

.job-list-meta span {
    color: var(--np-ink-3);
    background: none;
    border: 0;
    padding: 0;
}

.job-list-meta i {
    color: var(--np-ink-4);
}

.job-list-deadline .days-left {
    background: var(--np-open-50);
    color: var(--np-open);
    border-radius: 2px;
    box-shadow: none;
    font-weight: 800;
}

.job-list-deadline .days-left.urgent {
    background: var(--np-soon-50);
    color: var(--np-soon);
}

.job-list-deadline small {
    color: var(--np-ink-4);
}

/* About */
.home-about-premium {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.home-about-premium::before,
.home-about-premium::after {
    display: none;
}

.home-about-copy h2 {
    color: var(--np-ink);
    font-weight: 800;
    letter-spacing: -0.015em;
}

.home-about-copy p {
    color: var(--np-ink-2);
}

.section-eyebrow {
    background: none;
    border: 0;
    border-left: 4px solid var(--np-red);
    border-radius: 0;
    padding: 0 0 0 10px;
    color: var(--np-red);
    font-weight: 700;
    box-shadow: none;
}

.home-about-features {
    background: var(--np-wash);
    border: 0;
    border-top: 3px solid var(--np-ink);
    border-radius: 0;
    box-shadow: none;
}

.home-about-feature {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    color: var(--np-ink);
}

.home-about-feature:last-child {
    border-bottom: 0;
}

.home-about-feature i {
    color: var(--np-red);
    background: none;
    box-shadow: none;
}

.home-about-actions .btn-outline {
    border: 1.5px solid var(--np-ink);
    color: var(--np-ink);
    border-radius: 2px;
    background: #fff;
}

.home-about-actions .btn-outline:hover {
    background: var(--np-ink);
    color: #fff;
}

/* Closing call-to-action */
.cta-section {
    background: var(--np-ink);
    border-top: 4px solid var(--np-red);
}

.cta-orb,
.cta-section::before,
.cta-section::after {
    display: none;
}

.cta-icon-wrap {
    background: var(--np-red);
    box-shadow: none;
    border-radius: 0;
}

.cta-title {
    color: #fff;
    letter-spacing: -0.015em;
}

.cta-subtitle {
    color: #bdbdbd;
}

.cta-actions .btn-white,
.cta-actions .btn.btn-white {
    background: var(--np-red);
    color: #fff !important;
    border: 1.5px solid var(--np-red);
    border-radius: 2px;
    box-shadow: none;
}

.cta-actions .btn-white:hover {
    background: var(--np-red-dark);
    border-color: var(--np-red-dark);
}

.cta-actions .btn-outline-light {
    border: 1.5px solid #fff;
    color: #fff !important;
    border-radius: 2px;
    background: transparent;
}

.cta-actions .btn-outline-light:hover {
    background: #fff;
    color: var(--np-ink) !important;
}

@media (max-width: 992px) {
    #categories,
    #latest-organizations,
    #trending-jobs,
    #featured-jobs,
    #top-job-posts,
    #latest-jobs,
    .home-about-section {
        padding: 28px 0;
    }
}

/* 12b. Section-scoped overrides (beat the base sheet's per-tone/per-section rules) */
#latest-organizations .org-list-card,
#latest-organizations .org-list-card[data-tone] {
    --ol-accent: var(--np-red);
    --ol-accent-soft: var(--np-red-50);
    --ol-border: var(--np-rule);
    --ol-gradient: linear-gradient(0deg, var(--np-ink), var(--np-ink));
    --ol-orb: transparent;
    background: #fff;
    border: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
    border-radius: 0;
    box-shadow: none;
}

#latest-organizations .org-list-card:hover {
    border-top-color: var(--np-red);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transform: none;
}

#latest-organizations .org-list-card__logo {
    border: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

#latest-organizations .org-list-card__chip {
    background: var(--np-wash);
    color: var(--np-ink-2);
    border: 0;
    border-radius: 2px;
}

#latest-organizations .org-list-card__chip--deadline.is-active {
    background: var(--np-open-50);
    color: var(--np-open);
}

#latest-organizations .org-list-card__cta,
#latest-organizations .org-list-card__cta i,
#latest-organizations [class*="__go"] {
    background: none;
    color: var(--np-red);
    box-shadow: none;
    border-radius: 0;
}

#latest-jobs .latest-jobs-list {
    border-top: 0;
    column-gap: 32px;
}

#latest-jobs .job-list-item {
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
}

#latest-jobs .job-list-item:hover {
    background: var(--np-wash);
}

#latest-jobs .job-list-icon {
    border-radius: 0;
    border: 1px solid var(--np-rule);
    box-shadow: none;
    background: #fff;
}

#latest-jobs .job-list-meta span,
#latest-jobs .job-list-meta i {
    color: var(--np-ink-3);
}

#latest-jobs .job-list-meta i {
    color: var(--np-ink-4);
}

#latest-jobs .days-left {
    background: var(--np-open-50);
    color: var(--np-open);
    border-radius: 2px;
}

#latest-jobs .days-left.urgent {
    background: var(--np-soon-50);
    color: var(--np-soon);
}

#scrollTop,
.scroll-top {
    background: var(--np-ink);
    border-radius: 2px;
    box-shadow: none;
}

.scroll-top:hover {
    background: var(--np-red);
}

/* 12c. Homepage organization card variant (.org-home-card) */
.org-home-card,
.org-home-card[data-tone] {
    --oh-accent: var(--np-red);
    --oh-gradient: linear-gradient(0deg, #fff, #fff);
    --oh-border: var(--np-rule);
    background: #fff;
    border: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
    border-radius: 0;
    box-shadow: none;
}

.org-home-card:hover {
    border-top-color: var(--np-red);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transform: none;
}

.org-home-card__bar,
.org-home-card__glow,
.org-home-card::before,
.org-home-card::after {
    display: none;
}

.org-home-card__logo {
    background: #fff;
    border: 1px solid var(--np-rule);
    border-radius: 0;
    box-shadow: none;
    padding: 2px;
}

.org-home-card__logo img {
    border-radius: 0;
}

.org-home-card__bn {
    color: var(--np-ink);
    font-weight: 800;
}

.org-home-card:hover .org-home-card__bn {
    color: var(--np-red);
}

.org-home-card__en {
    color: var(--np-ink-3);
}

.org-home-card__foot {
    border-top: 1px solid var(--np-rule-2);
}

.org-home-card__chip {
    background: var(--np-wash);
    color: var(--np-ink-2);
    border: 0;
    border-radius: 2px;
    box-shadow: none;
}

.org-home-card__chip--jobs.is-active {
    color: var(--np-ink);
}

.org-home-card__chip--deadline.is-active {
    background: var(--np-open-50);
    color: var(--np-open);
}

.org-home-card__chip--deadline.is-expired {
    background: var(--np-closed-50);
    color: var(--np-closed);
}

.org-home-card__go {
    background: none;
    color: var(--np-red);
    box-shadow: none;
    border-radius: 0;
}

/* ==========================================================================
   13. Mobile-first polish (≤ 600px is the primary audience)
   ========================================================================== */
#trending-jobs .job-card--listing,
#featured-jobs .job-card--listing,
.trending-section .job-card--listing {
    border: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.job-save-btn i,
.job-save-btn .fa-heart {
    color: var(--np-red);
}

@media (max-width: 600px) {
    /* Card sections become swipeable rows: a peek of the next card signals
       there is more, and the page stays short instead of 12 stacked cards. */
    .org-home-grid,
    #trending-jobs .jobs-grid,
    #featured-jobs .jobs-grid {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -16px;
        padding: 2px 16px 12px;
    }

    .org-home-grid::-webkit-scrollbar,
    #trending-jobs .jobs-grid::-webkit-scrollbar,
    #featured-jobs .jobs-grid::-webkit-scrollbar {
        display: none;
    }

    .org-home-grid > *,
    #trending-jobs .jobs-grid > *,
    #featured-jobs .jobs-grid > * {
        flex: 0 0 84%;
        max-width: 84%;
        scroll-snap-align: start;
    }

    /* Ad slots inside a swipe row would be squeezed — drop them there */
    #trending-jobs .jobs-grid > .sc-ad-unit,
    #featured-jobs .jobs-grid > .sc-ad-unit {
        display: none;
    }

    /* Section rhythm */
    #categories,
    #latest-organizations,
    #trending-jobs,
    #featured-jobs,
    #top-job-posts,
    #latest-jobs,
    .home-about-section {
        padding: 22px 0;
    }

    .section-title,
    .section-title--compact {
        margin-bottom: 14px;
        padding-top: 8px;
    }

    .section-title h2,
    .section-title .title-bn2 {
        font-size: 1.22rem;
    }

    .section-cta-btn,
    .btn.section-cta-btn {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    /* Categories: two-column compact directory */
    .cat-home-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px;
    }

    .cat-home-body {
        padding: 10px 0;
        gap: 8px;
    }

    .cat-home-icon,
    .cat-home-card[data-tone] .cat-home-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .cat-home-bn,
    .cat-home-arrow,
    .cat-home-count-label {
        display: none;
    }

    .cat-home-en {
        font-size: 0.86rem;
    }

    /* Top posts: one column, tighter */
    .top-post-rank,
    .top-post-rank[data-rank] {
        font-size: 1.35rem;
        min-width: 40px;
    }

    /* Latest list rows: comfortable tap height */
    .job-list-item {
        padding: 12px 0;
    }

    .job-list-meta span:nth-child(n + 2) {
        display: none;
    }

    /* Stats: 2-up, compact */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid .stat-item {
        padding: 12px 14px;
    }

    .stats-grid .stat-item:nth-child(2n) {
        border-right: 0;
    }

    .stats-grid .stat-number {
        font-size: 1.25rem;
    }

    /* Trust strip: 2x2 */
    .trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* About + CTA */
    .home-about-copy h2 {
        font-size: 1.3rem;
    }

    .cta-title {
        font-size: 1.35rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Job cards: bigger touch targets */
    .job-card-view-btn,
    .job-save-btn {
        min-height: 40px;
    }

    /* Job page key facts readable on a phone */
    .jd-keyfacts__item {
        padding: 10px 10px 10px 0;
    }

    .jd-keyfacts__item + .jd-keyfacts__item {
        padding-left: 10px;
    }
}

/* 14. Leftover accent colours */
.trending-section .section-title--compact h2.title-bn2,
#trending-jobs .section-title h2 {
    color: var(--np-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-col__title::after,
.footer-col__title::before {
    background: var(--np-red);
}

.footer-links a i,
.footer-links__more i,
.footer-contact__icon,
.footer-contact__icon i {
    color: var(--np-red);
}

.footer-contact__icon {
    background: #1d1d1d;
    border-radius: 2px;
}

.footer-social__link {
    border-radius: 2px;
    background: #1d1d1d;
}

.footer-social__link--facebook {
    background: #1877f2;
}

.footer-contact-btn {
    border-radius: 2px;
}

.footer-brand .logo,
.footer-brand img {
    border-radius: 4px;
}

/* ==========================================================================
   15. Leftovers spotted in review (2026-10-10)
   ========================================================================== */
.section-title,
.section-title--compact {
    display: block;
}

.section-title--compact p,
.section-title .section-title__sub {
    text-align: left;
    margin: 4px 0 0;
    color: var(--np-ink-3);
    font-weight: 500;
}

.section-title--compact h2 i,
.trending-section .section-title--compact h2.title-bn2 i {
    color: var(--np-red);
    -webkit-text-fill-color: var(--np-red);
}

/* FEATURED badge: quiet outlined label, not an orange pill */
.job-card .featured-badge,
.featured-badge {
    background: #fff;
    color: var(--np-red);
    border: 1px solid var(--np-red);
    box-shadow: none;
    border-radius: 2px;
}

.job-card .featured-badge i {
    color: var(--np-red);
}

/* Deadline + vacancy tags everywhere (featured section had its own grey) */
.featured-section .job-card-footer .deadline,
.trending-section .job-card-footer .deadline {
    color: var(--np-open);
    background: var(--np-open-50);
}

.featured-section .job-card-footer .deadline.urgent,
.trending-section .job-card-footer .deadline.urgent {
    color: var(--np-soon);
    background: var(--np-soon-50);
}

.job-meta span.job-meta__vacancy,
.job-meta--compact span.job-meta__vacancy {
    background: none;
    color: var(--np-ink);
    border: 0;
    font-weight: 700;
    padding: 0;
}

.job-meta span.job-meta__vacancy i {
    color: var(--np-red);
}

.job-meta span {
    background: none;
    border: 0;
}

/* Top posts: totals in ink, not indigo */
.top-post-count--total i,
.top-post-count--total .top-post-count__num {
    color: var(--np-ink);
}

/* Notice strip: flat, full-width line like the top ticker */
.notice-strip--premium .notice-strip__inner {
    background: #fff;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

.notice-ticker__link + .notice-ticker__link::before,
.notice-ticker__link::before {
    color: var(--np-red);
}

/* Footer column underline */
.footer-col__title::after,
.footer h4::after {
    background: var(--np-red);
    border-radius: 0;
}

#latest-jobs .job-list-deadline {
    text-align: right;
}

#latest-jobs .job-list-deadline .days-left {
    display: inline-block;
    width: auto;
    min-width: 0;
    padding: 3px 9px;
}

/* ==========================================================================
   16. Job card — "circular slip" (views/jobs/partials/job-card.php,
       assets/js/jobs-listing.js renderJobCard())
   A notice-board slip: kicker (issuing office) → headline → fact strip,
   then a perforated tear line and a stub carrying the deadline, a 30-day
   time bar coloured by urgency, and the actions.
   ========================================================================== */
.sc-jc {
    --jc-notch: #fff;
    --jc-state: var(--np-open);
    --jc-state-50: var(--np-open-50);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--np-rule);
    border-top: 3px solid var(--np-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#trending-jobs .sc-jc,
#top-job-posts .sc-jc {
    --jc-notch: var(--np-wash);
}

.sc-jc.is-urgent {
    --jc-state: var(--np-soon);
    --jc-state-50: var(--np-soon-50);
}

.sc-jc.is-expired {
    --jc-state: var(--np-closed);
    --jc-state-50: var(--np-closed-50);
}

.job-card-wrap:hover .sc-jc,
.sc-jc:focus-within {
    transform: translateY(-3px);
    border-top-color: var(--np-red);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.28);
}

/* ---- body ---- */
.sc-jc__body {
    position: relative;
    padding: 14px 16px 14px;
    flex: 1;
}

.sc-jc__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    min-width: 0;
}

.sc-jc__logo {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--np-rule);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.sc-jc__logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.sc-jc__org {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--np-red);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.sc-jc__org:hover {
    text-decoration: underline;
}

.sc-jc__tags {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.sc-jc__tags .trending-rank-badge {
    background: var(--np-ink);
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 800;
}

.sc-jc__tags .trending-rank-badge i,
.sc-jc__tags .trending-rank-badge * {
    color: #fff !important;
}

.sc-jc__tags .trending-rank-badge i {
    color: #ff6b6b !important;
}

.sc-jc__flag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--np-red);
    border: 1px solid currentColor;
    padding: 1px 6px;
    white-space: nowrap;
}

.sc-jc__title {
    margin: 0 0 4px;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.38;
    letter-spacing: -0.005em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc-jc__link {
    color: var(--np-ink);
    text-decoration: none;
}

/* whole body is the tap target; org link + tags sit above it */
.sc-jc__link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.job-card-wrap:hover .sc-jc__link,
.sc-jc__link:focus-visible {
    color: var(--np-red);
}

.sc-jc__en {
    margin: 0 0 12px;
    font-size: 0.8rem;
    color: var(--np-ink-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* fact strip */
.sc-jc__facts {
    display: grid;
    grid-template-columns: 0.7fr 1.15fr 1fr;
    margin: 0;
    border-top: 1px solid var(--np-rule-2);
    padding-top: 10px;
}

.sc-jc__facts > div {
    min-width: 0;
    padding: 0 10px;
    border-left: 1px solid var(--np-rule-2);
}

.sc-jc__facts > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.sc-jc__facts dt {
    margin: 0 0 2px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--np-ink-4);
}

.sc-jc__facts dd {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--np-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- stub with perforation ---- */
.sc-jc__stub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 14px;
    background: #fbfbfa;
    border-top: 2px dashed var(--np-rule);
}

.sc-jc__stub::before,
.sc-jc__stub::after {
    content: '';
    position: absolute;
    top: -9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--jc-notch);
    border: 1px solid var(--np-rule);
}

.sc-jc__stub::before {
    left: -9px;
    clip-path: inset(0 0 0 50%);
}

.sc-jc__stub::after {
    right: -9px;
    clip-path: inset(0 50% 0 0);
}

.sc-jc__clock {
    flex: 1;
    min-width: 0;
}

.sc-jc__when {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin-bottom: 6px;
}

.sc-jc__when strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--jc-state);
}

.sc-jc__when span {
    font-size: 0.74rem;
    color: var(--np-ink-4);
}

.sc-jc__bar {
    display: block;
    height: 4px;
    background: var(--np-rule-2);
    overflow: hidden;
}

.sc-jc__bar i {
    display: block;
    height: 100%;
    background: var(--jc-state);
    transition: width 0.6s ease;
}

.sc-jc__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sc-jc__actions .job-save-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 0;
    background: #fff;
    border: 1px solid var(--np-rule);
    color: var(--np-red);
    box-shadow: none;
}

.sc-jc__actions .job-save-btn [class*="job-save-btn__text"] {
    display: none;
}

.sc-jc__actions .job-save-btn i {
    color: var(--np-red);
    margin: 0;
}

.sc-jc__actions .job-save-btn:hover,
.sc-jc__actions .job-save-btn.is-saved {
    border-color: var(--np-red);
    background: var(--np-red-50);
}

.sc-jc__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    background: var(--np-ink);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, gap 0.2s ease;
}

.sc-jc__go:hover,
.job-card-wrap:hover .sc-jc__go {
    background: var(--np-red);
    color: #fff;
    gap: 9px;
}

/* closed circulars: quieter */
.sc-jc.is-expired .sc-jc__title,
.sc-jc.is-expired .sc-jc__facts dd {
    color: var(--np-ink-3);
}

.sc-jc.is-expired .sc-jc__go {
    background: #fff;
    color: var(--np-ink);
    border: 1.5px solid var(--np-ink);
}

/* featured: a red top rule instead of ink */
.sc-jc--featured {
    border-top-color: var(--np-red);
}

@media (max-width: 600px) {
    .sc-jc__body {
        padding: 12px 14px;
    }

    .sc-jc__stub {
        padding: 12px 14px;
    }

    .sc-jc__title {
        font-size: 1.02rem;
    }

    .sc-jc__go {
        padding: 0 12px;
        height: 40px;
    }

    .sc-jc__actions .job-save-btn {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-jc,
    .sc-jc__bar i {
        transition: none;
    }
}

/* 17. Brand set 2026-10-10: footer uses the white-on-dark wordmark, no white box */
.logo--footer,
.logo--footer:hover {
    background: transparent;
    box-shadow: none;
    padding: 0;
    transform: none;
}

.logo-img {
    border-radius: 0;
}
