/* Jobsider public design system — matches jobsider-header */

:root {
    --js-navy: #022F8A;
    --js-navy-dark: #011f5c;
    --js-navy-soft: rgba(2, 47, 138, 0.08);
    --js-orange: #FB6B1D;
    --js-orange-dark: #d85a14;
    --js-orange-soft: rgba(251, 107, 29, 0.10);
    --js-red: var(--js-orange);
    --js-red-dark: var(--js-orange-dark);
    --js-red-soft: var(--js-orange-soft);
    --js-ink: #022F8A;
    --js-text: #374151;
    --js-muted: #6b7280;
    --js-line: #e5e7eb;
    --js-bg: #f8fafc;
    --js-white: #ffffff;
    --js-radius: 16px;
    --js-radius-sm: 10px;
    --js-shadow: 0 10px 30px rgba(2, 47, 138, 0.08);
}

.jobsider-public,
.careerfy-wrapper {
    background: var(--js-bg);
    color: var(--js-text);
}

.jobsider-public main,
.careerfy-wrapper > main {
    min-height: 40vh;
}

/* Hide old theme overlays that clash with the new header */
.jobsider-public .careerfy-banner-transparent,
.careerfy-wrapper .careerfy-banner-transparent {
    display: none !important;
}

/* Page hero */
.jobsider-page-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
    max-width: none !important;
    background: linear-gradient(160deg, #eef2fb 0%, #ffffff 48%, #fff7f2 100%);
    border-bottom: 1px solid var(--js-line);
    padding: 40px 0 36px;
    text-align: center;
}

.jobsider-page-hero > .container {
    order: 1;
    width: 100%;
}

.jobsider-page-hero h1 {
    margin: 0 0 10px;
    color: var(--js-ink);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.jobsider-page-hero p {
    margin: 0 auto;
    max-width: 640px;
    color: var(--js-muted);
    font-size: 16px;
    line-height: 1.6;
}

.jobsider-breadcrumb {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    order: 2;
    width: 100% !important;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 18px 16px 0;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--js-muted);
    background: none;
    float: none !important;
    box-sizing: border-box;
}

.jobsider-breadcrumb .container {
    display: contents;
}

.jobsider-breadcrumb a,
.jobsider-breadcrumb span:last-child {
    display: inline-flex;
    align-items: center;
    float: none !important;
    margin: 0;
    padding: 8px 16px;
    line-height: 1;
    height: auto;
    white-space: nowrap;
    border-radius: 999px;
}

.jobsider-breadcrumb a {
    color: var(--js-red);
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #d6def2;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
}

.jobsider-breadcrumb a:hover {
    background: var(--js-red);
    border-color: var(--js-red);
    color: #ffffff;
}

.jobsider-breadcrumb span {
    display: inline-flex;
    align-items: center;
    float: none !important;
    margin: 0;
    padding: 0 2px;
    color: #c4c4c4;
    background: none;
    border: none;
    box-shadow: none;
    font-weight: 400;
}

.jobsider-breadcrumb span:last-child {
    color: #ffffff;
    background: linear-gradient(90deg, #FB6B1D 0%, #022F8A 100%);
    border: 1px solid transparent;
    font-weight: 600;
    padding: 8px 16px;
}

/* Override old Careerfy subheaders to the new hero look */
.careerfy-subheader,
.careerfy-subheader-with-bg,
.careerfy-subheader-without-bg {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    background-image: none !important;
    min-height: 0 !important;
    padding: 48px 0 36px !important;
    text-align: center;
    border-bottom: 1px solid var(--js-line);
}

.careerfy-subheader .careerfy-page-title h1,
.careerfy-page-title h1 {
    color: var(--js-ink) !important;
    font-size: 36px !important;
    font-weight: 700;
    margin-bottom: 8px;
}

.careerfy-subheader .careerfy-page-title p,
.careerfy-page-title p {
    color: var(--js-muted) !important;
    font-size: 16px;
}

.careerfy-breadcrumb {
    background: transparent !important;
    padding: 12px 0 0 !important;
}

.careerfy-breadcrumb ul {
    justify-content: center;
}

.careerfy-breadcrumb ul li,
.careerfy-breadcrumb ul li a {
    color: var(--js-muted) !important;
}

/* Buttons */
.jobsider-btn,
.jobsider-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--js-red);
    color: #fff !important;
    border: 1px solid var(--js-red);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.jobsider-btn:hover,
.jobsider-btn:focus {
    background: var(--js-red-dark);
    color: #fff !important;
}

.jobsider-btn-outline {
    background: transparent;
    color: var(--js-red) !important;
}

.jobsider-btn-outline:hover {
    background: var(--js-red);
    color: #fff !important;
}

.jobsider-btn-lg {
    padding: 14px 22px;
    font-size: 15px;
}

.jobsider-btn[disabled],
.jobsider-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Sections */
.jobsider-section {
    padding: 64px 0;
}

.jobsider-section-alt {
    background: var(--js-white);
}

.jobsider-section-title {
    text-align: center;
    margin: 0 0 36px;
}

.jobsider-section-title h2 {
    margin: 0 0 8px;
    color: var(--js-ink);
    font-size: 30px;
    font-weight: 700;
}

.jobsider-section-title p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--js-muted);
    font-size: 15px;
}

.careerfy-fancy-title {
    text-align: center;
    margin-bottom: 36px;
}

.careerfy-fancy-title h2 {
    color: var(--js-ink);
    font-size: 30px;
    font-weight: 700;
}

.careerfy-fancy-title p {
    color: var(--js-muted);
}

.jobsider-center {
    text-align: center;
    margin-top: 28px;
}

/* Search bar */
.jobsider-search {
    background: var(--js-white);
    border: 1px solid var(--js-line);
    border-radius: 999px;
    box-shadow: var(--js-shadow);
    padding: 8px;
}

.jobsider-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.jobsider-search-field {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.jobsider-search-field input,
.jobsider-search-field select {
    width: 100%;
    height: 48px;
    border: none;
    background: transparent;
    padding: 0 16px;
    color: var(--js-ink);
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.jobsider-search-field + .jobsider-search-field:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--js-line);
}

.jobsider-search-submit {
    flex: 0 0 auto;
}

.jobsider-search-submit .jobsider-btn {
    height: 48px;
    min-width: 48px;
    border-radius: 999px;
    padding: 0 22px;
}

/* Home hero */
.jobsider-home-hero {
    position: relative;
    overflow: visible;
    width: 100% !important;
    background: #f8fafc;
    padding: 0 0 56px;
    text-align: center;
}

.jobsider-home-hero-banner {
    width: 100%;
    aspect-ratio: 1920 / 520;
    background: #f4f1ff;
    overflow: hidden;
}

.jobsider-home-hero-banner picture,
.jobsider-home-hero-banner img {
    display: block;
    width: 100%;
    height: 100%;
}

.jobsider-home-hero-banner img {
    object-fit: cover;
    object-position: center;
}

.jobsider-home-hero .container {
    padding-top: 36px;
}

.jobsider-home-hero h1 {
    margin: 0 0 12px;
    color: var(--js-ink);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
}

.jobsider-home-hero p {
    margin: 0 auto 28px;
    max-width: 620px;
    color: var(--js-muted);
    font-size: 17px;
    line-height: 1.6;
}

.jobsider-home-hero .jobsider-search {
    max-width: 920px;
    margin: 0 auto 22px;
}

.jobsider-home-hero .jobsider-hero-actions {
    margin-bottom: 0;
}

.jobsider-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Override old home banner */
.careerfy-banner {
    background: linear-gradient(180deg, #eef2fb 0%, #ffffff 70%) !important;
    background-image: none !important;
    min-height: 0 !important;
    padding: 70px 0 80px !important;
}

.careerfy-banner-caption {
    position: static !important;
    transform: none !important;
    text-align: center;
}

.careerfy-banner-caption h1,
.careerfy-banner-caption h2,
.careerfy-banner-caption p {
    color: var(--js-ink) !important;
}

.careerfy-banner-search ul,
.careerfy-subheader-form .careerfy-banner-search ul {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: 999px;
    box-shadow: var(--js-shadow);
    padding: 8px;
    margin: 0 auto;
    max-width: 920px;
}

.careerfy-banner-search ul li,
.careerfy-subheader-form .careerfy-banner-search ul li {
    float: none;
    flex: 1 1 0;
    width: auto !important;
    margin: 0;
    padding: 0 8px;
}

.careerfy-banner-search ul li input,
.careerfy-banner-search ul li select {
    height: 46px;
    border: none;
    background: transparent;
}

.careerfy-banner-submit {
    flex: 0 0 auto !important;
}

.careerfy-banner-submit button,
.careerfy-banner-search .careerfy-banner-submit button {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--js-red) !important;
}

.careerfy-banner-btn {
    margin-top: 20px;
}

.careerfy-banner-btn a {
    border-radius: 8px !important;
}

/* Cards */
.jobsider-card,
.jobsider-job-card,
.jobsider-media-card,
.jobsider-category-card,
.jobsider-service-card {
    background: var(--js-white);
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
}

.jobsider-category-grid,
.jobsider-job-grid,
.jobsider-media-grid,
.jobsider-service-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.jobsider-category-grid > *,
.jobsider-job-grid > *,
.jobsider-media-grid > *,
.jobsider-service-grid > * {
    padding: 10px;
}

.col-md-3 .jobsider-category-card,
.col-md-4 .jobsider-media-card,
.col-md-4 .jobsider-service-card,
.col-md-4 .jobsider-quote,
.col-md-6 .jobsider-job-card {
    margin-bottom: 20px;
}

.jobsider-category-card {
    display: block;
    height: 100%;
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jobsider-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
    text-decoration: none;
}

.jobsider-category-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

.jobsider-category-card h3,
.jobsider-category-card strong {
    display: block;
    color: var(--js-ink);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.jobsider-category-card span {
    color: var(--js-muted);
    font-size: 13px;
}

.categories-list ul li {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 22px 12px !important;
    text-align: center;
    margin-bottom: 20px;
}

.categories-list ul li img {
    max-height: 64px;
    object-fit: contain;
}

.categories-list ul li a {
    display: block;
    color: var(--js-ink);
    font-weight: 600;
}

/* Job cards */
.jobsider-job-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jobsider-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.jobsider-job-card-logo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 1px solid var(--js-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobsider-job-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jobsider-job-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.jobsider-job-card-body h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.jobsider-job-card-body h3 a {
    color: var(--js-ink);
    text-decoration: none;
}

.jobsider-job-card-body h3 a:hover {
    color: var(--js-red);
}

.jobsider-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--js-muted);
    font-size: 13px;
}

.jobsider-job-meta a {
    color: var(--js-muted);
    text-decoration: none;
}

.jobsider-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--js-red-soft);
    color: var(--js-red);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.careerfy-joblisting-classic-wrap,
.careerfy-featured-listing .careerfy-table-layer {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 16px;
}

.careerfy-joblisting-text h2 a,
.careerfy-featured-listing-text h2 a {
    color: var(--js-ink);
}

.careerfy-option-btn,
.careerfy-read-more,
.careerfy-static-btn,
.careerfy-plain-btn a,
.careerfy-classic-btn,
.careerfy-applyjob-btn,
.widget_view_jobs_btn,
.button-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    background: var(--js-red) !important;
    color: #fff !important;
    border: 1px solid var(--js-red) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.careerfy-plain-btn {
    text-align: center;
    margin-top: 20px;
}

.careerfy-plain-btn a {
    padding: 10px 18px;
}

/* Media / blog / event cards */
.jobsider-media-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jobsider-media-card img,
.jobsider-media-card .jobsider-media-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.jobsider-media-body {
    padding: 18px 20px 22px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.jobsider-media-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.jobsider-media-body h3 a {
    color: var(--js-ink);
    text-decoration: none;
}

.jobsider-media-body h3 a:hover {
    color: var(--js-red);
}

.jobsider-media-body p {
    color: var(--js-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.jobsider-media-body .jobsider-btn {
    margin-top: auto;
    align-self: flex-start;
}

.careerfy-blog-grid ul li,
.careerfy-blog-grid ul li .careerfy-blog-grid-text {
    background: #fff;
    border-radius: var(--js-radius);
}

.careerfy-blog-grid figure img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.careerfy-blog-grid-text {
    padding: 18px 20px 22px;
    border: 1px solid var(--js-line);
    border-top: none;
    border-radius: 0 0 16px 16px;
}

/* CTA band */
.jobsider-cta {
    background: #022F8A;
    color: #fff;
    border-radius: 24px;
    padding: 42px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.jobsider-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.jobsider-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.jobsider-cta img {
    max-width: 280px;
    width: 100%;
    border-radius: 16px;
}

.careerfy-parallex-full {
    background: #022F8A !important;
    background-image: none !important;
    padding: 50px 0 !important;
}

.careerfy-parallex-text h2,
.careerfy-parallex-text p {
    color: #fff !important;
}

/* Testimonials */
.jobsider-quote {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 28px;
    height: 100%;
}

.jobsider-quote p {
    color: var(--js-text);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.jobsider-quote h4 {
    margin: 0 0 4px;
    color: var(--js-ink);
    font-size: 16px;
}

.jobsider-quote span {
    color: var(--js-muted);
    font-size: 13px;
}

.careerfy-testimonial-full {
    background: #fff !important;
}

.careerfy-testimonial-wrap {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 24px;
}

/* Job detail */
.jobsider-job-hero-card {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 24px;
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.jobsider-job-hero-card img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border: 1px solid var(--js-line);
    border-radius: 12px;
    background: #fff;
}

.jobsider-job-hero-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    color: var(--js-ink);
}

.jobsider-job-hero-card .jobsider-company {
    color: var(--js-muted);
    margin-bottom: 12px;
}

.jobsider-detail-panel,
.jobsider-apply-card,
.jobsider-side-card {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.jobsider-detail-panel h2,
.jobsider-side-card h2,
.jobsider-side-card h3 {
    margin: 0 0 16px;
    color: var(--js-ink);
    font-size: 20px;
    font-weight: 700;
}

.jobsider-spec-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 8px;
}

.jobsider-spec-grid > * {
    width: 33.333%;
    padding: 8px;
}

.jobsider-spec {
    background: var(--js-bg);
    border-radius: 12px;
    padding: 14px;
}

.jobsider-spec small,
.jobsider-spec span {
    display: block;
}

.jobsider-spec span {
    color: var(--js-muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.jobsider-spec small {
    color: var(--js-ink);
    font-size: 14px;
    font-weight: 600;
}

.jobsider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jobsider-tags a,
.careerfy-jobdetail-tags a {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--js-red-soft);
    color: var(--js-red) !important;
    font-size: 13px;
    text-decoration: none;
}

.jobsider-apply-card {
    text-align: center;
}

.jobsider-apply-card .jobsider-btn,
.jobsider-apply-card form .jobsider-btn {
    width: 100%;
    margin-bottom: 12px;
}

.jobsider-countdown {
    display: block;
    color: var(--js-muted);
    font-size: 13px;
}

.jobsider-related-job {
    padding: 14px 0;
    border-bottom: 1px solid var(--js-line);
}

.jobsider-related-job:last-child {
    border-bottom: none;
}

.jobsider-related-job h4 {
    margin: 0 0 4px;
    font-size: 15px;
}

.jobsider-related-job h4 a {
    color: var(--js-ink);
    text-decoration: none;
}

.jobsider-related-job h4 a:hover {
    color: var(--js-red);
}

.careerfy-jobdetail-list {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 20px;
}

.careerfy-jobdetail-content,
.widget_apply_job_wrap,
.widget_view_jobs {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 20px;
}

.careerfy-jobdetail-services ul li {
    background: var(--js-bg);
    border-radius: 12px;
    margin-bottom: 12px;
}

/* About / content pages */
.jobsider-prose h2 {
    color: var(--js-ink);
    font-size: 24px;
    font-weight: 700;
    margin: 28px 0 12px;
    text-align: left;
}

.jobsider-prose p,
.jobsider-prose li {
    color: var(--js-text);
    line-height: 1.75;
}

.jobsider-prose ul {
    padding-left: 18px;
}

.jobsider-service-card {
    padding: 24px 20px;
    height: 100%;
}

.jobsider-service-card .jobsider-step {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--js-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.jobsider-service-card h3 {
    margin: 0 0 8px;
    color: var(--js-ink);
    font-size: 18px;
}

.jobsider-service-card p {
    margin: 0;
    color: var(--js-muted);
    font-size: 14px;
}

.careerfy-classic-services ul li {
    background: #fff;
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    box-shadow: var(--js-shadow);
    padding: 22px 18px !important;
    margin-bottom: 20px;
}

.careerfy-classic-services ul li span {
    background: var(--js-red) !important;
}

/* FAQ */
.jobsider-faq .panel,
.careerfy-accordion .panel {
    background: #fff;
    border: 1px solid var(--js-line) !important;
    border-radius: 12px !important;
    box-shadow: none;
    margin-bottom: 12px;
    overflow: hidden;
}

.jobsider-faq .panel-heading,
.careerfy-accordion .panel-heading {
    background: #fff !important;
    padding: 0;
}

.jobsider-faq .panel-title a,
.careerfy-accordion .panel-title a {
    display: block;
    padding: 16px 18px;
    color: var(--js-ink) !important;
    font-weight: 600;
    text-decoration: none;
}

.jobsider-faq .panel-body,
.careerfy-accordion .panel-body {
    padding: 0 18px 16px;
    color: var(--js-muted);
}

/* Contact */
.jobsider-contact-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.jobsider-contact-grid > * {
    padding: 12px;
}

.jobsider-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.jobsider-contact-row > [class*="col-"] {
    display: flex;
    float: none;
}

.jobsider-contact-card,
.jobsider-contact-row .jobsider-contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    padding: 24px;
}

.jobsider-contact-row .jobsider-contact-form form,
.jobsider-contact-row .jobsider-contact-form form > .row {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.jobsider-contact-row .jobsider-contact-form form > .row {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
}

.jobsider-contact-message {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.jobsider-contact-row .jobsider-contact-form textarea {
    flex: 1 1 auto;
    min-height: 140px;
    height: auto;
}

.jobsider-contact-card p {
    margin: 0 0 16px;
    color: var(--js-muted);
    line-height: 1.6;
}

.jobsider-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jobsider-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--js-bg);
    border: 1px solid var(--js-line);
    border-radius: 12px;
}

.jobsider-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--js-red-soft);
    color: var(--js-red);
    font-size: 15px;
}

.jobsider-contact-list small {
    display: block;
    margin: 0 0 3px;
    color: var(--js-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.jobsider-contact-list span,
.jobsider-contact-list a {
    color: var(--js-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    word-break: break-word;
}

.jobsider-contact-list a:hover {
    color: var(--js-red);
}

.jobsider-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.jobsider-contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--js-red-soft);
    color: var(--js-red);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.jobsider-contact-social a:hover {
    background: var(--js-red);
    color: #ffffff;
}

.jobsider-contact-form input,
.jobsider-contact-form textarea,
.careerfy-contact-form input,
.careerfy-contact-form textarea {
    width: 100%;
    border: 1px solid var(--js-line);
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    color: var(--js-ink);
    box-shadow: none;
}

.jobsider-contact-form textarea,
.careerfy-contact-form textarea {
    min-height: 140px;
}

.jobsider-map iframe,
.map-full iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 16px;
}

/* Pagination */
.careerfy-pagination-blog,
.jobsider-pagination {
    margin-top: 28px;
    text-align: center;
}

/* Empty state */
.jobsider-empty {
    background: #fff;
    border: 1px dashed var(--js-line);
    border-radius: var(--js-radius);
    padding: 36px 20px;
    text-align: center;
    color: var(--js-muted);
}

/* Footer */
.jobsider-footer,
#careerfy-footer.careerfy-footer-one {
    background: #022F8A !important;
    background-image: none !important;
    color: rgba(255, 255, 255, 0.72);
    padding-top: 48px;
}

.jobsider-footer a,
#careerfy-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.jobsider-footer a:hover,
#careerfy-footer a:hover {
    color: #fff;
}

.jobsider-footer h2,
#careerfy-footer .footer-widget-title h2 {
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
}

.jobsider-footer-logo img,
#careerfy-footer .careerfy-footer-logo img {
    height: 56px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
}

.jobsider-copyright,
#careerfy-footer .careerfy-copyright {
    float: none !important;
    width: 100% !important;
    max-width: none;
    margin: 32px 0 0;
    padding: 0;
    border-top: none;
    background: #0b1220;
}

.jobsider-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.jobsider-copyright p,
#careerfy-footer .careerfy-copyright p {
    float: none;
    margin: 0;
}

.jobsider-copyright .careerfy-social-network,
#careerfy-footer .careerfy-copyright .careerfy-social-network {
    float: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .jobsider-copyright-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 0;
    }

    .jobsider-contact-card {
        margin-bottom: 20px;
    }
}

/* Job layout public polish */
.careerfy-dashboard-full {
    background: var(--js-bg);
    padding-top: 30px;
    padding-bottom: 40px;
}

/* Results count */
.jobsider-results {
    color: var(--js-muted);
    font-size: 15px;
    margin: 0 0 18px;
}

.careerfy-filterable h2 {
    color: var(--js-muted);
    font-size: 16px;
}

@media (max-width: 991px) {
    .jobsider-home-hero,
    .careerfy-banner {
        padding: 0 0 40px !important;
    }

    .jobsider-home-hero-banner {
        aspect-ratio: 768 / 420;
    }

    .jobsider-home-hero .container {
        padding-top: 24px;
    }

    .jobsider-home-hero h1,
    .jobsider-page-hero h1,
    .careerfy-page-title h1 {
        font-size: 30px !important;
    }

    .jobsider-search,
    .careerfy-banner-search ul,
    .careerfy-subheader-form .careerfy-banner-search ul {
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .jobsider-search-field + .jobsider-search-field:before,
    .careerfy-banner-search ul li + li {
        border-top: 1px solid var(--js-line);
    }

    .jobsider-search-field + .jobsider-search-field:before {
        display: none;
    }

    .jobsider-search-submit .jobsider-btn,
    .careerfy-banner-submit button {
        width: 100%;
        border-radius: 10px;
    }

    .jobsider-cta,
    .jobsider-job-hero-card,
    .jobsider-job-card {
        flex-direction: column;
        text-align: left;
    }

    .jobsider-spec-grid > * {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .jobsider-spec-grid > * {
        width: 100%;
    }

    .jobsider-section {
        padding: 44px 0;
    }
}

/* Scroll reveal */
html.js-reveal-ready .jobsider-public .js-reveal,
.jobsider-public.js-reveal-ready .js-reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--js-delay, 0ms);
    will-change: opacity, transform;
}

html.js-reveal-ready .jobsider-public .js-reveal.js-reveal-left,
.jobsider-public.js-reveal-ready .js-reveal.js-reveal-left {
    transform: translate3d(-28px, 0, 0);
}

html.js-reveal-ready .jobsider-public .js-reveal.js-reveal-right,
.jobsider-public.js-reveal-ready .js-reveal.js-reveal-right {
    transform: translate3d(28px, 0, 0);
}

html.js-reveal-ready .jobsider-public .js-reveal.js-reveal-soft,
.jobsider-public.js-reveal-ready .js-reveal.js-reveal-soft {
    transform: translate3d(0, 16px, 0);
}

html.js-reveal-ready .jobsider-public .js-reveal.is-visible,
.jobsider-public.js-reveal-ready .js-reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

html.js-reveal-ready .jobsider-public .js-heading-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.05em;
}

html.js-reveal-ready .jobsider-public .js-heading-word > span {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 115%, 0);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--js-delay, 0ms);
}

html.js-reveal-ready .jobsider-public .js-heading.is-visible .js-heading-word > span,
html.js-reveal-ready .jobsider-public .js-reveal.is-visible .js-heading-word > span {
    opacity: 1;
    transform: none;
}

html.js-reveal-ready .jobsider-public .js-heading-line {
    display: block;
    width: 52px;
    height: 3px;
    margin: 12px 0 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #FB6B1D 0%, #022F8A 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

html.js-reveal-ready .jobsider-public .js-heading-left .js-heading-line,
html.js-reveal-ready .jobsider-public .jobsider-footer .js-heading-line {
    margin-left: 0;
    margin-right: auto;
    transform-origin: left center;
}

html.js-reveal-ready .jobsider-public .js-heading-center .js-heading-line {
    margin-left: auto;
    margin-right: auto;
    transform-origin: center;
}

html.js-reveal-ready .jobsider-public .js-heading-right .js-heading-line {
    margin-left: auto;
    margin-right: 0;
    transform-origin: right center;
}

html.js-reveal-ready .jobsider-public .jobsider-footer .js-heading-line {
    width: 36px;
    height: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, #FB6B1D 0%, #ffffff 100%);
}

html.js-reveal-ready .jobsider-public .js-heading.is-visible .js-heading-line,
html.js-reveal-ready .jobsider-public .js-reveal.is-visible .js-heading-line {
    transform: scaleX(1) !important;
}

.jobsider-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    float: none;
    overflow: visible;
}

.jobsider-admin-toolbar h2 {
    float: none;
    margin-bottom: 0;
}

.jobsider-admin-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 5;
}

.jobsider-admin-toolbar-actions .careerfy-employer-search {
    float: none;
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.jobsider-employer-filter-form input[type="text"] {
    width: 180px;
}

.jobsider-employer-owner-filter {
    height: 32px;
    min-width: 180px;
    max-width: 220px;
    padding: 4px 8px;
    border: 1px solid #dfe2e3;
    background: #fff;
    color: #333;
    font-size: 13px;
    border-radius: 4px;
}

.careerfy-typo-wrap .jobsider-admin-add-btn {
    float: none !important;
    display: inline-block;
    position: relative;
    z-index: 6;
    text-decoration: none;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.jobsider-admin-results {
    clear: both;
    position: relative;
    z-index: 0;
    margin: 20px 0 10px;
}

.jobsider-admin-results h2 {
    float: none;
    height: auto;
    line-height: 1.3;
    font-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
    html.js-reveal-ready .jobsider-public .js-reveal,
    html.js-reveal-ready .jobsider-public .js-reveal.is-visible,
    .jobsider-public.js-reveal-ready .js-reveal,
    .jobsider-public.js-reveal-ready .js-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }

    html.js-reveal-ready .jobsider-public .js-heading-word > span,
    html.js-reveal-ready .jobsider-public .js-heading-line {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile header: keep Login visible and fix the menubar */
@media (max-width: 1054px) {
    .jobsider-header-inner {
        flex-wrap: nowrap;
        min-height: 64px;
        position: relative;
    }

    .jobsider-header-actions .careerfy-open-signup-tab {
        display: inline-flex !important;
        align-items: center;
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid var(--js-red);
        color: var(--js-red);
        font-weight: 600;
    }

    .jobsider-header .navbar-toggle,
    .jobsider-header-toggle {
        display: block !important;
        margin: 0 !important;
        background: #fff !important;
    }

    .jobsider-header .careerfy-navigation,
    .jobsider-header-nav {
        float: none !important;
        width: 0;
        flex: 0 0 0;
        position: static;
    }

    .jobsider-header .navbar-collapse,
    .jobsider-header #careerfy-navbar-collapse-1 {
        position: absolute !important;
        left: 12px !important;
        right: 12px !important;
        top: 100% !important;
        width: auto !important;
        max-width: none !important;
        margin: 8px 0 0 !important;
        z-index: 40;
    }
}

@media (max-width: 575px) {
    .jobsider-header-actions .jobsider-header-btn:not(.careerfy-open-signup-tab) {
        display: none;
    }
}

/* Logo colors on Careerfy theme classes used by public pages */
.jobsider-public .careerfy-color,
.jobsider-public .careerfy-colorhover:hover,
.jobsider-public .navbar-nav > li:hover > a,
.jobsider-public .navbar-nav > li.active > a,
.jobsider-public .careerfy-job-tag a,
.jobsider-public .careerfy-list-option ul li a,
.jobsider-public .careerfy-jobdetail-btn,
.jobsider-public .careerfy-box-title span,
.jobsider-public .careerfy-user-form-info p a,
.jobsider-public .careerfy-filterable ul li:hover a,
.jobsider-public li:hover .careerfy-blog-grid-text h2 a,
.jobsider-public li:hover .careerfy-read-more {
    color: var(--js-navy);
}

.jobsider-public .careerfy-bgcolor,
.jobsider-public .careerfy-bgcolorhover:hover,
.jobsider-public .careerfy-plain-btn a,
.jobsider-public .careerfy-featured-label,
.jobsider-public .careerfy-pagination-blog ul li:hover a,
.jobsider-public .careerfy-pagination-blog ul li:hover span,
.jobsider-public .careerfy-jobdetail-view,
.jobsider-public .careerfy-user-form input[type="submit"],
.jobsider-public .careerfy-contact-form input[type="submit"],
.jobsider-public .careerfy-banner-search ul li.careerfy-banner-submit i,
.jobsider-public .careerfy-typo-wrap input[type="submit"]:hover,
.jobsider-public .careerfy-typo-wrap input[type="submit"]:focus {
    background-color: var(--js-orange);
}

.jobsider-public .careerfy-bordercolor,
.jobsider-public .careerfy-bordercolorhover:hover,
.jobsider-public .careerfy-jobdetail-btn {
    border-color: var(--js-orange);
}

.jobsider-public .careerfy-read-more {
    box-shadow: 0 0 0 2px var(--js-orange) inset;
}

#JobSearchModalLogin .careerfy-box-title span,
#JobSearchModalSignup .careerfy-box-title span,
#JobSearchModalLogin .careerfy-user-form-info p a,
#JobSearchModalSignup .careerfy-user-form-info p a {
    color: var(--js-navy);
}

#JobSearchModalLogin .careerfy-user-form input[type="submit"],
#JobSearchModalSignup .careerfy-user-form input[type="submit"] {
    background-color: var(--js-orange);
}

#JobSearchModalLogin .careerfy-user-options ul li.active a,
#JobSearchModalSignup .careerfy-user-options ul li.active a {
    background-color: var(--js-navy);
}

#JobSearchModalLogin .careerfy-user-options ul li.active i,
#JobSearchModalSignup .careerfy-user-options ul li.active i {
    background-color: var(--js-orange);
}

#JobSearchModalLogin .careerfy-user-options ul li.active span,
#JobSearchModalSignup .careerfy-user-options ul li.active span {
    color: #ffffff;
}

#JobSearchModalLogin .careerfy-user-options ul li.active small,
#JobSearchModalSignup .careerfy-user-options ul li.active small {
    color: rgba(255, 255, 255, 0.78);
}

/* App-style panel: dark sidebar + top header */
.careerfy-wrapper.jobsider-panel,
.jobsider-panel {
    float: none !important;
    min-height: 100vh;
    background: #f4f6fb;
}

.jobsider-panel,
.jobsider-panel .careerfy-main-content,
.jobsider-panel .careerfy-main-section,
.jobsider-panel .careerfy-dashboard-full {
    float: none !important;
    width: 100% !important;
}

.jobsider-panel {
    display: flex;
    align-items: stretch;
}

.jobsider-panel-shell {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f6fb;
}

.jobsider-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e8edf5;
}

.jobsider-topbar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.jobsider-topbar-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #022F8A;
}

.jobsider-topbar-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    max-width: 420px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e6ebf5;
    border-radius: 999px;
    background: #f8fafc;
    color: #94a3b8;
}

.jobsider-topbar-search input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    color: #334155;
    font-size: 14px;
}

.jobsider-topbar-search i {
    margin-right: 8px;
}

.jobsider-topbar-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 12px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e6ebf5;
    border-radius: 999px;
    background: #fff7f2;
    color: #FB6B1D;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.jobsider-topbar-home:hover,
.jobsider-topbar-home:focus {
    background: #FB6B1D;
    border-color: #FB6B1D;
    color: #ffffff;
    text-decoration: none;
}

.jobsider-topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jobsider-topbar-user img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8edf5;
}

.jobsider-topbar-user strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.2;
}

.jobsider-topbar-user small {
    display: block;
    color: #64748b;
    font-size: 11px;
}

.jobsider-panel aside.careerfy-column-3 {
    float: none !important;
    display: block;
    width: 260px !important;
    max-width: 260px;
    flex: 0 0 260px;
    margin: 0;
    padding: 0;
    position: sticky !important;
    top: 0;
    height: 100vh;
    z-index: 20;
}

.jobsider-panel aside.careerfy-column-3 .careerfy-typo-wrap,
.jobsider-panel .careerfy-employer-dashboard-nav {
    float: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #0f172a;
}

.jobsider-panel .careerfy-employer-dashboard-nav {
    overflow-x: hidden;
    overflow-y: auto;
}

.jobsider-side-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.jobsider-side-brand:hover,
.jobsider-side-brand:focus {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
}

.jobsider-side-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 3px;
}

.jobsider-side-brand span {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.jobsider-panel .careerfy-employer-dashboard-nav figure {
    display: none !important;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul {
    float: none;
    width: 100%;
    padding: 12px 10px 20px;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li {
    float: none;
    border: none;
    margin: 0 0 2px;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li a,
.jobsider-panel .careerfy-employer-dashboard-nav ul li form a {
    display: flex;
    align-items: center;
    float: none;
    width: 100%;
    margin: 0;
    padding: 11px 12px;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    background: transparent;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0 12px 0 0;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 16px;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li:hover a,
.jobsider-panel .careerfy-employer-dashboard-nav ul li.active a {
    background: #FB6B1D !important;
    color: #ffffff !important;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li:hover i,
.jobsider-panel .careerfy-employer-dashboard-nav ul li.active i,
.jobsider-panel .careerfy-employer-dashboard-nav ul li:last-child i,
.jobsider-panel .careerfy-employer-dashboard-nav ul li:last-child:hover i {
    background: transparent !important;
    color: #ffffff !important;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li:last-child a,
.jobsider-panel .careerfy-employer-dashboard-nav ul li:last-child:hover a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.jobsider-panel .careerfy-employer-dashboard-nav ul li:last-child:hover a {
    background: rgba(255, 255, 255, 0.08) !important;
}

.jobsider-panel .careerfy-main-content {
    flex: 1 1 auto;
}

.jobsider-panel .careerfy-dashboard-full {
    background: #f4f6fb;
    padding: 24px;
}

.jobsider-panel .jobsider-panel-main,
.jobsider-panel .careerfy-column-9 {
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.jobsider-panel .jobsider-footer {
    display: none !important;
}

.jobsider-panel-foot {
    background: transparent;
    color: #64748b;
    text-align: center;
    padding: 8px 12px 20px;
}

.jobsider-panel-foot p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 991px) {
    .jobsider-topbar-toggle {
        display: block;
    }

    .jobsider-topbar-home span {
        display: none;
    }

    .jobsider-topbar-home {
        width: 40px;
        padding: 0;
        justify-content: center;
        margin-right: 8px;
    }

    .jobsider-panel aside.careerfy-column-3 {
        position: fixed !important;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    .jobsider-panel.is-sidebar-open aside.careerfy-column-3 {
        transform: none;
    }
}
