:root {
    --jc-orange: #f28423;
    --jc-cyan: #3b9ac8;
    --jc-cyan-soft: #e8f5fb;
    --jc-blue-deep: #2f5e92;
    --jc-ink: #14212b;
    --jc-muted: #52616d;
    --jc-panel: #ffffff;
    --jc-panel-alt: #f8fbfd;
    --jc-border: #dce6ee;
    --jc-shadow: 0 14px 34px rgba(24, 45, 64, .08);
    --jc-watermark-label: "Jobconnect Portal";
}

#header {
    border-bottom: 1px solid rgba(47, 94, 146, .08);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    z-index: 1000000 !important;
}

.nav-main {
    padding: 6px 0;
}

.job-brand-mark {
    position: relative;
    padding-right: 16px !important;
    margin-right: 12px;
}

.job-brand-mark::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, transparent, rgba(47, 94, 146, .18), transparent);
}

.job-brand-mark .logo {
    display: block;
}

.nav-main .navbar-nav .nav-link {
    font-weight: 700;
    letter-spacing: 0;
}

.nav-main .navbar-nav .nav-item.active .nav-link,
.nav-main .navbar-nav .nav-link:hover,
.nav-main .navbar-nav .nav-link:focus {
    color: var(--jc-blue-deep) !important;
}

.search-form {
    border-top-color: var(--jc-cyan) !important;
}

.job-hero {
    padding: 44px 0 34px;
    background:
        radial-gradient(circle at top right, rgba(59, 154, 200, .16), transparent 30%),
        radial-gradient(circle at left center, rgba(242, 132, 35, .14), transparent 24%),
        linear-gradient(180deg, #f5f9fc 0%, #eef5fa 100%);
    border-bottom: 1px solid #e1e8ef;
    position: relative;
    z-index: 1;
}

.job-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: stretch;
}

.job-hero-copy {
    padding: 6px 0;
}

.job-hero-copy h1 {
    max-width: 760px;
    margin: 14px 0 16px;
    color: var(--jc-ink);
    font-size: 52px;
    line-height: 1.08;
    font-weight: 800;
}

.job-hero-copy p {
    max-width: 700px;
    margin: 0 0 22px;
    color: var(--jc-muted);
    font-size: 18px;
    line-height: 1.65;
}

.job-eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--jc-blue-deep);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(59, 154, 200, .18);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(30, 50, 67, .06);
}

.job-search-form {
    display: flex;
    gap: 12px;
    max-width: 780px;
    padding: 12px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(220, 230, 238, .95);
    border-radius: 18px;
    box-shadow: 0 22px 42px rgba(24, 45, 64, .08);
    backdrop-filter: blur(8px);
}

.job-search-input {
    display: flex;
    flex: 1;
    align-items: center;
    min-height: 58px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid rgba(220, 230, 238, .95);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.job-search-input svg {
    flex: 0 0 auto;
    color: #657581;
    margin-right: 10px;
}

.job-search-input input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #17242e;
    font-size: 15px;
}

.job-search-form button,
.job-card-actions a,
.job-source-panel a {
    border: 0;
    border-radius: 8px;
    background: var(--jc-orange);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(242, 132, 35, .18);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.job-search-form button {
    min-width: 154px;
    padding: 0 24px;
    font-size: 14px;
}

.job-search-form button:hover,
.job-card-actions a:hover,
.job-source-panel a:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(242, 132, 35, .22);
}

.btn-custom,
.btn.btn-custom,
.btn-load-more,
.job-post-detail .post-share-buttons .btn,
.job-post-detail .job-apply-row .btn-custom {
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--jc-orange) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(242, 132, 35, .18) !important;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn-custom:hover,
.btn.btn-custom:hover,
.btn-load-more:hover,
.job-post-detail .post-share-buttons .btn:hover,
.job-post-detail .job-apply-row .btn-custom:hover,
.btn-custom:focus,
.btn.btn-custom:focus,
.btn-load-more:focus {
    background: #db751d !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(242, 132, 35, .22) !important;
}

.btn-load-more .spinner-load-more {
    color: #fff;
}

.job-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    max-width: 820px;
    margin-top: 18px;
}

.job-hero-meta-primary {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(59, 154, 200, .14);
    box-shadow: 0 18px 32px rgba(24, 45, 64, .06);
}

.job-hero-meta-primary strong {
    color: var(--jc-blue-deep);
    font-size: 30px;
    line-height: 1;
}

.job-hero-meta-primary span {
    color: var(--jc-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.job-hero-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-hero-meta-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(47, 94, 146, .10);
    color: #30404d;
    font-size: 12px;
    font-weight: 700;
}

.job-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.job-hero-points span {
    padding: 8px 12px;
    border: 1px solid rgba(47, 94, 146, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    color: #30404d;
    font-size: 12px;
    font-weight: 700;
}

.job-hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(247, 251, 253, .96) 100%);
    border: 1px solid rgba(223, 231, 238, .96);
    border-radius: 18px;
    box-shadow: 0 22px 44px rgba(24, 45, 64, .10);
}

.job-hero-panel-top strong {
    display: block;
    margin: 6px 0 8px;
    color: var(--jc-ink);
    font-size: 21px;
    line-height: 1.25;
}

.job-hero-panel-top p {
    margin: 0;
    color: var(--jc-muted);
    font-size: 14px;
    line-height: 1.6;
}

.job-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.job-stat strong {
    display: block;
    color: var(--jc-blue-deep);
    font-size: 31px;
    line-height: 1;
}

.job-stat {
    padding: 16px;
    border: 1px solid rgba(59, 154, 200, .12);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.job-stat-emphasis {
    background: linear-gradient(135deg, rgba(47, 94, 146, .95), rgba(59, 154, 200, .92));
    border-color: transparent;
}

.job-stat-emphasis strong,
.job-stat-emphasis span {
    color: #fff;
}

.job-panel-callout {
    padding: 14px 14px 4px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(242, 132, 35, .08), rgba(59, 154, 200, .08));
    border: 1px solid rgba(47, 94, 146, .08);
}

.job-panel-callout strong {
    display: block;
    margin: 4px 0 6px;
    color: var(--jc-ink);
    font-size: 16px;
}

.job-panel-callout p {
    margin: 0;
    color: var(--jc-muted);
    font-size: 13px;
    line-height: 1.55;
}

.job-panel-label {
    color: var(--jc-blue-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.job-stat span,
.job-trust-list span {
    color: var(--jc-muted);
    font-size: 14px;
}

.job-trust-list {
    display: grid;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #e9eef3;
}

.job-trust-list span {
    position: relative;
    padding-left: 16px;
}

.job-trust-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--jc-cyan);
}

.job-hero-snapshot {
    display: grid;
    gap: 12px;
}

.job-hero-snapshot-block {
    padding: 16px;
    border: 1px solid rgba(47, 94, 146, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .76);
}

.job-hero-mini-list,
.job-hero-source-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.job-hero-mini-list a,
.job-hero-source-stack span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.job-hero-mini-list a {
    border: 1px solid rgba(59, 154, 200, .18);
    background: var(--jc-cyan-soft);
    color: var(--jc-blue-deep);
    text-decoration: none;
}

.job-hero-mini-list a:hover {
    border-color: rgba(47, 94, 146, .24);
    color: var(--jc-ink);
}

.job-hero-source-stack span {
    border: 1px solid rgba(242, 132, 35, .16);
    background: rgba(242, 132, 35, .08);
    color: #8b4f18;
}

.job-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 22px;
}

.job-category-strip span {
    color: #657581;
    font-weight: 700;
}

.job-category-strip a {
    padding: 7px 11px;
    border: 1px solid #d7e1ea;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: #243441;
    font-size: 13px;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}

.job-category-strip a:hover {
    color: var(--jc-blue-deep);
    border-color: rgba(59, 154, 200, .35);
    transform: translateY(-1px);
}

.job-card {
    display: flex;
    flex-direction: column;
    height: calc(100% - 24px);
    border: 1px solid #e2eaf1;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(22, 42, 57, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.job-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 154, 200, .28);
    box-shadow: 0 20px 42px rgba(22, 42, 57, .11);
}

.job-card .image {
    position: relative;
    background: #eef4f8;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.job-card .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.job-card:hover .image img {
    transform: scale(1.04);
}

img[src*="jobconnect-portal-logo.png"],
img[src*="ajira-serikalini-default.png"],
img[data-src*="jobconnect-portal-logo.png"],
img[data-src*="ajira-serikalini-default.png"],
img[data-lazy*="jobconnect-portal-logo.png"],
img[data-lazy*="ajira-serikalini-default.png"],
.img-fallback-logo {
    object-fit: contain !important;
    object-position: center center;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(59, 154, 200, 0.18), transparent 42%),
        radial-gradient(circle at bottom left, rgba(242, 132, 35, 0.18), transparent 38%),
        linear-gradient(180deg, #f8fbfd 0%, #eef5fa 100%);
}

.img-container .img-fallback-logo,
.tbl-container .image .img-fallback-logo,
.job-card-media .img-fallback-logo,
.job-small-thumb .img-fallback-logo,
img[data-src*="jobconnect-portal-logo.png"],
img[data-src*="ajira-serikalini-default.png"],
img[data-lazy*="jobconnect-portal-logo.png"],
img[data-lazy*="ajira-serikalini-default.png"] {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.job-post-detail .post-image-inner .img-fallback-logo,
.job-post-detail .post-detail-slider-item .img-fallback-logo,
.job-post-detail .post-image-inner img[src*="jobconnect-portal-logo.png"],
.job-post-detail .post-image-inner img[src*="ajira-serikalini-default.png"] {
    min-height: 220px;
    padding: 30px 56px;
    background:
        linear-gradient(135deg, rgba(47, 94, 146, 0.12), rgba(59, 154, 200, 0.08)),
        linear-gradient(180deg, #f9fbfd 0%, #edf4f8 100%);
}

.post-item-small img[data-src*="jobconnect-portal-logo.png"],
.post-item-small img[data-src*="ajira-serikalini-default.png"],
.post-item-small img[data-lazy*="jobconnect-portal-logo.png"],
.post-item-small img[data-lazy*="ajira-serikalini-default.png"],
.post-item .img-fallback-logo,
.post-item-small .img-fallback-logo {
    padding: 14px;
}

.job-card .image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 33, 43, 0) 0%, rgba(20, 33, 43, .10) 62%, rgba(20, 33, 43, .30) 100%),
        linear-gradient(135deg, rgba(242, 132, 35, .12) 0%, rgba(59, 154, 200, .02) 58%, rgba(47, 94, 146, .16) 100%);
    pointer-events: none;
}

.job-card .image::before,
.post-item-small .left .image::before,
.main-slider .main-slider-item .img-link::before,
.section-featured .col-featured-right .item .img-link::before,
.job-post-detail .post-image-inner::after,
.job-post-detail .post-detail-slider-item::after {
    content: var(--jc-watermark-label);
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 18px);
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 33, 43, .78), rgba(47, 94, 146, .74));
    box-shadow: 0 8px 18px rgba(20, 33, 43, .14);
    color: rgba(255, 255, 255, .9);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.job-card-header,
.job-card-body {
    padding-left: 18px;
    padding-right: 18px;
}

.job-card-header {
    padding-top: 18px;
}

.job-card-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 0;
}

.job-card-overlay .badge-category,
.job-card-header .badge-category {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.job-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.job-card-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbfd 0%, #ecf5fa 100%);
    border: 1px solid rgba(59, 154, 200, .16);
    color: #33515c;
    font-size: 12px;
    font-weight: 700;
}

.job-card .title {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.22;
    font-weight: 800;
}

.job-card .title a {
    color: var(--jc-ink);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.job-card .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
}

.job-card .post-meta span,
.job-card .post-meta a {
    margin-right: 0;
    color: #6b7c88;
    font-size: 12px;
}

.job-card .post-meta .a-username {
    display: none;
}

.job-card .title a:hover {
    color: var(--jc-blue-deep);
}

.job-card .description {
    color: #566674;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.job-card-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.job-card-actions a {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    font-size: 13px;
}

.job-card-actions span {
    color: #60717e;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.job-small-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 8px;
}

.job-small-facts span {
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbfd 0%, #edf5fa 100%);
    border: 1px solid rgba(59, 154, 200, .14);
    color: #3e5a67;
    font-size: 11px;
    font-weight: 700;
}

.post-item-small .left .image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(242, 132, 35, .08), rgba(59, 154, 200, .06));
    border: 1px solid rgba(59, 154, 200, .12);
}

.post-item-small .left .image img {
    transition: transform .3s ease;
}

.post-item-small:hover .left .image img {
    transform: scale(1.04);
}

.job-small-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 33, 43, 0) 20%, rgba(20, 33, 43, .08) 60%, rgba(20, 33, 43, .26) 100%),
        linear-gradient(135deg, rgba(242, 132, 35, .08) 0%, rgba(59, 154, 200, 0) 58%, rgba(47, 94, 146, .10) 100%);
    pointer-events: none;
}

.job-source-panel {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 18px 0 20px;
    padding: 14px 16px;
    border: 1px solid #dce6ee;
    border-radius: 8px;
    background: #f7fafc;
}

.job-source-panel strong,
.job-source-label {
    display: block;
}

.job-source-label {
    color: #60717e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.job-source-panel a {
    flex: 0 0 auto;
    padding: 9px 13px;
    font-size: 13px;
}

.job-disclaimer {
    margin: 18px 0;
    padding: 12px 14px;
    border-left: 4px solid var(--jc-cyan);
    background: #eef8f8;
    color: #324753;
    font-size: 14px;
    line-height: 1.5;
}

.job-post-detail {
    background:
        linear-gradient(180deg, rgba(248, 251, 253, .9) 0, rgba(255, 255, 255, 1) 180px),
        #fff;
    border: 1px solid #dfe8ef;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(18, 37, 52, .08);
    overflow: hidden;
}

.post-header-shell {
    padding: 34px 34px 12px;
}

.job-post-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.job-post-kicker .badge-category {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.job-post-detail .post-title {
    color: var(--jc-ink);
    font-size: 38px;
    line-height: 1.16;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.job-post-detail .post-summary {
    margin: 0 0 18px;
    max-width: 760px;
    color: #50616f;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
}

.job-post-detail .post-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    padding: 18px 0 0;
    border-top: 1px solid #e7eef4;
    border-bottom: 0;
}

.job-post-detail .post-details-meta .item-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f5f9fc;
    color: #435664;
    font-size: 13px;
    font-weight: 700;
}

.job-post-detail .post-details-meta .item-meta svg,
.job-post-detail .post-details-meta .item-meta i {
    color: var(--jc-blue-deep);
}

.job-post-detail .post-details-meta .item-meta-author a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job-post-detail .post-details-meta .item-meta-author img {
    border-radius: 999px;
}

.job-detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.job-detail-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe7ef;
    color: #2f4d5b;
    font-size: 13px;
    font-weight: 700;
}

.job-post-detail .post-share-buttons,
.job-post-detail .post-image,
.job-post-detail .post-text,
.job-post-detail .post-files,
.job-post-detail .post-tags,
.job-post-detail .about-author,
.job-post-detail .section-related-posts,
.job-post-detail .section-comments,
.job-post-detail .emoji-reactions-container,
.job-post-detail .job-apply-row {
    margin-left: 34px;
    margin-right: 34px;
}

.job-post-detail .post-share-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border: 1px solid #e7eef4;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
}

.job-post-detail .post-image {
    margin-top: 8px;
    margin-bottom: 26px;
}

.job-post-detail .post-image-inner {
    max-width: 620px;
    position: relative;
    margin: 0 auto;
    border: 1px solid #e5edf3;
    border-radius: 16px;
    overflow: hidden;
    background: #f6fafc;
    box-shadow: 0 18px 36px rgba(19, 36, 51, .08);
}

.job-post-detail .post-image-inner img,
.job-post-detail .post-detail-slider-item img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.main-slider .main-slider-item .img-link,
.section-featured .col-featured-right .item .img-link,
.job-post-detail .post-detail-slider-item {
    position: relative;
}

.job-post-detail .img-description {
    margin: 0;
    padding: 10px 14px 12px;
    color: #6a7884;
    font-size: 12px;
    background: #fbfdfe;
    border-top: 1px solid #e8eef3;
}

.job-post-detail .post-text {
    display: block;
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
    margin: 0 auto 8px;
    padding: 28px 28px 14px;
    color: #334754;
    font-size: 16px;
    line-height: 1.9;
    white-space: normal !important;
    overflow: visible !important;
    overflow-x: visible !important;
    background: #fff;
    border: 1px solid #e8eef3;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(18, 37, 52, .05);
}

.job-post-detail .job-apply-row .btn-custom,
.job-post-detail .post-share-buttons .btn {
    border-radius: 12px;
}

.job-post-detail .post-text::after {
    content: "";
    display: block;
    clear: both;
}

.job-post-detail .post-text,
.job-post-detail .post-text * {
    max-width: 100%;
    width: auto;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.job-post-detail .post-text > * {
    display: block;
    width: 100% !important;
    max-width: 100%;
    float: none !important;
    clear: both;
    box-sizing: border-box;
}

.job-post-detail .post-text p,
.job-post-detail .post-text div,
.job-post-detail .post-text ul,
.job-post-detail .post-text ol,
.job-post-detail .post-text li,
.job-post-detail .post-text h2,
.job-post-detail .post-text h3,
.job-post-detail .post-text span,
.job-post-detail .post-text a,
.job-post-detail .post-text strong {
    display: block;
    margin-bottom: 16px;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.job-post-detail .post-text h2,
.job-post-detail .post-text h3 {
    color: var(--jc-ink);
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.3;
}

.job-post-detail .post-text span,
.job-post-detail .post-text a,
.job-post-detail .post-text strong {
    display: inline;
    width: auto !important;
}

.job-post-detail .post-text a {
    color: var(--jc-blue-deep);
    font-weight: 700;
}

.job-post-detail .post-text p:first-child {
    margin-top: 0;
}

.job-post-detail .post-text ul,
.job-post-detail .post-text ol {
    padding-left: 20px;
}

.job-post-detail .post-text li {
    display: list-item;
    width: auto !important;
    margin-bottom: 10px;
}

.job-post-detail .btn-custom {
    min-height: 46px;
    padding-left: 18px;
    padding-right: 18px;
}

.job-post-detail .section-related-posts,
.job-post-detail .section-comments {
    padding-top: 18px;
    border-top: 1px solid #edf2f6;
}

.job-post-detail .about-author {
    padding: 18px;
    border: 1px solid #e8eef3;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}

.job-listing-header {
    margin-bottom: 22px;
}

.latest-posts,
.section-newsticker .newsticker-container,
.sidebar-widget,
.footer-widget,
.job-source-panel,
.page-content.page-text {
    border-radius: 8px;
}

.latest-posts {
    padding: 22px 22px 8px;
    background: var(--jc-panel);
    border: 1px solid #e4eaf0;
    box-shadow: 0 10px 30px rgba(18, 37, 52, .04);
}

.job-section-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.job-section-kicker {
    color: var(--jc-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 18px;
}

.view-all {
    color: var(--jc-blue-deep);
    font-weight: 800;
}

.view-all:hover {
    color: var(--jc-orange);
}

.section-newsticker .newsticker-container {
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e4ebf1;
    box-shadow: 0 10px 30px rgba(18, 37, 52, .03);
    min-height: 58px;
    gap: 14px;
    align-items: center;
    border-radius: 10px;
}

.newsticker-title {
    background: var(--jc-orange) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(242, 132, 35, .18);
}

.section-newsticker {
    margin-bottom: 26px !important;
}

.section-newsticker .newsticker {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    height: 34px;
    line-height: 34px;
}

.section-newsticker .newsticker li {
    max-width: 100%;
}

.section-newsticker .newsticker li a {
    color: var(--jc-ink);
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.section-newsticker .newsticker li a:hover {
    color: var(--jc-blue-deep);
}

.section-newsticker .nav-sm-buttons {
    display: inline-flex;
    gap: 8px;
}

.section-newsticker .nav-sm-buttons .prev,
.section-newsticker .nav-sm-buttons .next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d9e4ec;
    border-radius: 8px;
    background: #fff;
    color: #7a8b98;
    transition: all .18s ease;
}

.section-newsticker .nav-sm-buttons .prev:hover,
.section-newsticker .nav-sm-buttons .next:hover {
    color: var(--jc-blue-deep);
    border-color: rgba(59, 154, 200, .35);
    background: #f7fbfd;
}

.section-featured {
    height: auto;
    margin-bottom: 30px;
    overflow: visible;
}

.section-featured .col-featured-left,
.section-featured .col-featured-right {
    padding-left: 6px;
    padding-right: 6px;
}

.main-slider-container,
.section-featured .col-featured-right .item {
    border-radius: 12px;
    overflow: hidden !important;
    border: 1px solid #dee7ee;
    box-shadow: 0 16px 38px rgba(16, 32, 45, .08);
    background: #fff;
}

.main-slider .main-slider-item {
    height: 540px;
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4f8 100%);
}

.section-featured .col-featured-right .item-large {
    height: 286px;
}

.section-featured .col-featured-right .item-small {
    height: 248px;
}

.main-slider .main-slider-item .img-link::after,
.section-featured .col-featured-right .item::after {
    height: 72%;
    opacity: 1;
    background: linear-gradient(180deg, rgba(11, 24, 34, 0) 0%, rgba(11, 24, 34, .18) 36%, rgba(11, 24, 34, .82) 100%);
}

.main-slider .main-slider-item .caption,
.col-featured-right .item .caption {
    z-index: 2;
}

.main-slider .main-slider-item .caption {
    padding: 28px 28px 24px;
}

.col-featured-right .item .caption {
    padding: 18px 18px 16px;
}

.main-slider .main-slider-item .caption .badge-category,
.col-featured-right .item .caption .badge-category {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.main-slider .main-slider-item .caption .title,
.col-featured-right .item .caption .title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .24);
}

.main-slider .main-slider-item .caption .title {
    margin-top: 14px;
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    -webkit-line-clamp: 3;
}

.col-featured-right .item-large .caption .title {
    font-size: 22px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
}

.col-featured-right .item-small .caption .title {
    font-size: 18px;
    line-height: 1.25;
    -webkit-line-clamp: 3;
}

.main-slider .main-slider-item .post-meta,
.col-featured-right .item .caption .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.main-slider .main-slider-item .post-meta span,
.main-slider .main-slider-item .post-meta a,
.col-featured-right .item .caption .post-meta span,
.col-featured-right .item .caption .post-meta a {
    margin-right: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.section-featured .post-meta .a-username {
    display: none;
}

.main-slider-nav .prev,
.main-slider-nav .next {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(20, 33, 43, .42) !important;
    backdrop-filter: blur(8px);
}

.main-slider-nav .prev {
    left: 18px;
}

.main-slider-nav .next {
    right: 18px;
}

.main-slider-nav svg {
    width: 18px;
    height: 18px;
}

.sidebar-widget {
    padding: 18px;
    background: #fff;
    border: 1px solid #e4ebf1;
    box-shadow: 0 10px 28px rgba(18, 37, 52, .04);
}

.sidebar-widget + .sidebar-widget {
    margin-top: 16px;
}

.widget-head {
    margin-bottom: 14px;
}

.widget-head .title,
.widget-title {
    color: var(--jc-ink);
}

.footer-widget-about .footer-about,
.footer-copyright,
.nav-footer a {
    color: #d6e0ea;
}

.job-listing-header .page-title {
    margin-bottom: 8px;
}

.job-listing-header p {
    max-width: 760px;
    margin: 0;
    color: #61717d;
    font-size: 15px;
    line-height: 1.55;
}

.section-page .section-account,
.section-page .page-confirm {
    width: 100%;
    max-width: 560px;
    padding: 30px 28px;
    border: 1px solid #e1e9f0;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(59, 154, 200, .10), transparent 34%),
        radial-gradient(circle at bottom left, rgba(242, 132, 35, .10), transparent 30%),
        #fff;
    box-shadow: 0 22px 46px rgba(19, 38, 53, .08);
}

.jobconnect-auth-brand {
    margin-bottom: 18px;
    text-align: center;
}

.jobconnect-auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(59, 154, 200, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 28px rgba(18, 36, 51, .06);
}

.jobconnect-auth-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    height: 34px;
}

.jobconnect-auth-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--jc-blue-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.jobconnect-auth-title {
    margin: 0;
    color: var(--jc-ink);
    font-size: 32px;
    line-height: 1.14;
    font-weight: 800;
}

.jobconnect-auth-subtitle {
    max-width: 420px;
    margin: 10px auto 0;
    color: var(--jc-muted);
    font-size: 15px;
    line-height: 1.6;
}

.section-account .social-login {
    margin-bottom: 16px;
}

.section-account .input-account,
.section-account .form-control.form-input {
    min-height: 52px;
    border: 1px solid #dbe5ed;
    border-radius: 12px;
    box-shadow: none;
}

.section-account .input-account:focus,
.section-account .form-control.form-input:focus {
    border-color: rgba(59, 154, 200, .42);
    box-shadow: 0 0 0 4px rgba(59, 154, 200, .10);
}

.section-account .btn-account,
.page-confirm .btn-custom {
    min-height: 50px;
    border-radius: 12px;
    font-weight: 800;
}

.section-account .form-check-label {
    color: var(--jc-muted);
}

.page-confirm {
    margin: 0 auto;
    text-align: center;
}

.page-confirm svg {
    filter: drop-shadow(0 10px 18px rgba(18, 36, 51, .10));
}

#modalLogin .modal-content {
    border: 1px solid #e1e9f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 46px rgba(19, 38, 53, .12);
}

#modalLogin .modal-header {
    align-items: flex-start;
    padding: 22px 22px 0;
    border-bottom: 0;
}

.jobconnect-login-brand {
    display: grid;
    gap: 8px;
}

.jobconnect-login-brand img {
    display: block;
    width: auto;
    max-width: 210px;
    height: 30px;
}

.jobconnect-login-brand span {
    color: var(--jc-blue-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#modalLogin .modal-body {
    padding: 8px 22px 24px;
}

.jobconnect-login-copy {
    margin-bottom: 16px;
}

.jobconnect-login-copy .modal-title {
    margin-bottom: 8px;
    color: var(--jc-ink);
    font-size: 28px;
    font-weight: 800;
}

.jobconnect-login-copy p {
    margin: 0;
    color: var(--jc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.page-content.page-text h2 {
    margin-top: 26px;
    margin-bottom: 10px;
    color: #17242e;
    font-size: 24px;
    font-weight: 800;
}

.page-content.page-text p {
    color: #3d4d58;
    font-size: 16px;
    line-height: 1.72;
}

.ad-label {
    margin-bottom: 6px;
    color: #84919b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}

.container-bn .bn-content {
    clear: both;
}

@media (max-width: 991px) {
    .job-brand-mark::after {
        display: none;
    }

    .job-hero-inner {
        grid-template-columns: 1fr;
    }

    .job-hero-copy h1 {
        font-size: 36px;
    }

    .job-post-detail .post-title {
        font-size: 34px;
    }

    .section-newsticker .newsticker li a {
        font-size: 16px;
    }

    .main-slider .main-slider-item {
        height: 420px;
    }

    .main-slider .main-slider-item .caption .title {
        font-size: 28px;
    }

    .col-featured-right .item-large {
        height: 240px;
    }

    .section-featured .col-featured-right .item-small {
        height: 206px;
    }
}

@media (max-width: 575px) {
    .job-stat-grid {
        grid-template-columns: 1fr;
    }

    .job-hero-meta {
        align-items: stretch;
    }

    .job-hero-meta-primary,
    .job-hero-meta-list {
        width: 100%;
    }

    .job-search-form,
    .job-source-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .job-search-form {
        padding: 10px;
        border-radius: 16px;
    }

    .job-search-form button {
        min-height: 50px;
    }

    .job-hero-copy h1 {
        font-size: 29px;
    }

    .latest-posts {
        padding: 18px 16px 6px;
    }

    .job-card-overlay {
        top: 12px;
        left: 12px;
    }

    .job-card-header,
    .job-card-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .job-card .title {
        font-size: 21px;
    }

    .job-card .image::before,
    .post-item-small .left .image::before,
    .main-slider .main-slider-item .img-link::before,
    .section-featured .col-featured-right .item .img-link::before,
    .job-post-detail .post-image-inner::after,
    .job-post-detail .post-detail-slider-item::after {
        right: 8px;
        bottom: 8px;
        padding: 3px 6px;
        font-size: 8px;
    }

    .section-newsticker .newsticker-container {
        padding: 14px 14px;
        gap: 10px;
    }

    .newsticker-title {
        padding: 8px 10px;
        font-size: 12px;
    }

    .section-newsticker .newsticker {
        height: 28px;
        line-height: 28px;
    }

    .section-newsticker .newsticker li a {
        font-size: 14px;
    }

    .section-newsticker .nav-sm-buttons {
        display: none;
    }

    .main-slider .main-slider-item {
        height: 320px;
    }

    .main-slider .main-slider-item .caption {
        padding: 18px 16px 16px;
    }

    .main-slider .main-slider-item .caption .title {
        font-size: 22px;
        line-height: 1.24;
        -webkit-line-clamp: 3;
    }

    .section-featured .col-featured-left,
    .section-featured .col-featured-right {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section-featured .col-featured-right {
        margin-top: 12px;
    }

    .section-featured .col-featured-right .item-large,
    .section-featured .col-featured-right .item-small {
        height: 210px;
    }

    .job-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .job-card-actions span {
        text-align: left;
    }

    .post-header-shell {
        padding: 22px 18px 10px;
    }

    .job-post-topbar {
        margin-bottom: 14px;
    }

    .job-post-detail .post-share-buttons,
    .job-post-detail .post-image,
    .job-post-detail .post-text,
    .job-post-detail .post-files,
    .job-post-detail .post-tags,
    .job-post-detail .about-author,
    .job-post-detail .section-related-posts,
    .job-post-detail .section-comments,
    .job-post-detail .emoji-reactions-container,
    .job-post-detail .job-apply-row {
        margin-left: 18px;
        margin-right: 18px;
    }

    .job-post-detail .post-share-buttons {
        padding: 14px 14px;
    }

    .job-post-detail .post-text {
        max-width: 100%;
        padding: 20px 16px 10px;
    }

    .job-post-detail .post-title {
        font-size: 30px;
    }

    .job-post-detail .post-image-inner {
        max-width: 100%;
    }

    .job-post-detail .post-image-inner img,
    .job-post-detail .post-detail-slider-item img {
        max-height: 160px;
    }
}

/* --- Mobile Menu Fixes --- */
#navMobile {
    position: fixed;
    top: 60px !important;
    left: -310px !important; /* Hide off-screen by default */
    height: calc(100vh - 60px) !important;
    z-index: 1000001 !important;
    background-color: #fff !important;
    overflow-y: auto !important;
    width: 310px !important;
    transition: left 0.3s ease !important;
    display: block !important;
}

#navMobile.nav-mobile-open {
    left: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nav-mobile-inner {
    height: 100% !important;
    padding-bottom: 100px !important;
}

#navMobile .navbar-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#navMobile .nav-item {
    display: block !important;
    width: 100% !important;
}

#overlay_bg {
    z-index: 999998 !important;
}

/* --- Responsive Header Switching --- */
@media (max-width: 991px) {
    .header-mobile-container {
        display: block !important;
    }
    .nav-main, #nav-top {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .header-mobile-container, #navMobile, #overlay_bg {
        display: none !important;
    }
    .nav-main {
        display: block !important;
    }
}

.mobile-search-placeholder {
    width: 50px;
}

