/**
 * MegaJob — Global Styles
 * Consolidated from all inline CSS sources.
 * Version: 1.0
 */

/* ========================================================================
 * 1. HEADER — Dark navy gradient
 * ======================================================================== */

/* Hide hero on dashboard — tool page, no hero needed */
body.page-id-42 .entry-header,
body.page-id-42 .entry-title {
    display: none !important; }

/* Hide page title on pricing */
body.page-id-276 .entry-header,
body.page-id-276 .entry-title {
    display: none !important; }

#masthead {
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%) !important;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Bottom accent line on header */
#masthead::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    z-index: 1;
}

/* Reset ALL Astra header bar backgrounds */
#masthead,
#masthead .ast-above-header-wrap,
#masthead .ast-above-header-bar,
#masthead .site-above-header-wrap,
#masthead .ast-builder-grid-row-container,
#masthead .ast-container,
#masthead .ast-builder-grid-row,
#masthead .site-header-section,
#masthead .ast-main-header-bar-alignment,
#masthead .main-header-bar-navigation,
#masthead .main-navigation,
#ast-desktop-header,
#ast-desktop-header > * {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
}

/* Keep the main header gradient on #masthead */
#masthead {
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%) !important;
    background-color: #15294a !important;
}

/* Header container width */
#masthead .ast-container {
    max-width: 1240px;
}

/* Site title / brand */
#masthead .site-title a {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.35rem !important;
    transition: opacity 0.2s;
}
#masthead .site-title a:hover {
    opacity: 0.85;
    color: #ffffff !important;
}

#masthead .site-description {
    color: #94a3b8 !important;
}

/* Nav menu links */
#masthead .main-header-menu > .menu-item > .menu-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.6rem 1rem !important;
    transition: color 0.2s, background 0.2s;
}

/* Nav hover */
#masthead .main-header-menu > .menu-item > .menu-link:hover {
    color: #ffffff !important;
    background: rgba(37,99,235,0.2);
    border-radius: 6px;
}

/* Current / active menu item */
#masthead .main-header-menu > .current-menu-item > .menu-link {
    color: #60a5fa !important;
    font-weight: 600;
}

/* Mobile toggle icon */
#masthead .ast-mobile-menu-trigger .ast-button-wrap .ast-mobile-menu-trigger-minimal,
#masthead .ast-mobile-menu-trigger .ast-button-wrap .ast-mobile-menu-trigger-outline {
    color: #e2e8f0;
}

/* ===== Mobile Header — dark theme ===== */
#ast-mobile-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%) !important;
}
#ast-mobile-header .ast-primary-header-bar {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
#ast-mobile-header .ast-mobile-menu-trigger-minimal {
    color: #ffffff !important;
    border: none !important;
    background: transparent !important;
}
#ast-mobile-header .ast-mobile-menu-trigger-minimal .ast-mobile-svg {
    fill: #ffffff !important;
}
#ast-mobile-header .site-title a {
    color: #ffffff !important;
}
@media (max-width: 921px) {
    #masthead .site-title a {
        font-size: 1.15rem !important;
    }
}

/* Mobile dropdown container */
#ast-mobile-header .ast-mobile-header-content,
#ast-mobile-header .ast-mobile-popup-content {
    background: #0f1f38 !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
}

/* Menu container — kill white background */
#ast-mobile-header .ast-mobile-header-content .main-header-menu,
#ast-mobile-header .ast-mobile-header-content .main-navigation,
#ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .main-header-menu,
#ast-mobile-header .ast-mobile-popup-content .main-header-menu,
#ast-mobile-header .ast-mobile-popup-content .main-navigation,
#ast-mobile-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .main-header-menu {
    background-color: transparent !important;
    background-image: none !important;
}

/* All menu links in mobile dropdown */
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-link,
#ast-mobile-header .ast-mobile-header-content .main-navigation .menu-item > .menu-link,
#ast-mobile-header .ast-mobile-header-content .menu-link,
#ast-mobile-header .ast-mobile-popup-content .main-header-menu .menu-link,
#ast-mobile-header .ast-mobile-popup-content .main-navigation .menu-item > .menu-link,
#ast-mobile-header .ast-mobile-popup-content .menu-link {
    color: #cbd5e1 !important;
    background: transparent !important;
}
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-link:hover,
#ast-mobile-header .ast-mobile-header-content .main-navigation .menu-item > .menu-link:hover,
#ast-mobile-header .ast-mobile-header-content .menu-link:hover,
#ast-mobile-header .ast-mobile-popup-content .main-header-menu .menu-link:hover,
#ast-mobile-header .ast-mobile-popup-content .main-navigation .menu-item > .menu-link:hover,
#ast-mobile-header .ast-mobile-popup-content .menu-link:hover,
#ast-mobile-header .ast-mobile-header-content .menu-item.current-menu-item > .menu-link,
#ast-mobile-header .ast-mobile-popup-content .menu-item.current-menu-item > .menu-link {
    color: #ffffff !important;
    background: rgba(255,255,255,0.06) !important;
}

/* Sub-menu container */
#ast-mobile-header .ast-mobile-header-content .sub-menu,
#ast-mobile-header .ast-mobile-popup-content .sub-menu {
    background: #15294a !important;
    border: none !important;
}

/* Toggle arrows */
#ast-mobile-header .ast-mobile-header-content .ast-menu-toggle,
#ast-mobile-header .ast-mobile-popup-content .ast-menu-toggle {
    color: #94a3b8 !important;
}
#ast-mobile-header .ast-mobile-header-content .ast-menu-toggle:hover,
#ast-mobile-header .ast-mobile-popup-content .ast-menu-toggle:hover {
    color: #ffffff !important;
}
#ast-mobile-header .ast-mobile-header-content .ast-menu-toggle .ast-icon.icon-arrow svg,
#ast-mobile-header .ast-mobile-popup-content .ast-menu-toggle .ast-icon.icon-arrow svg {
    fill: #94a3b8 !important;
}
#ast-mobile-header .ast-mobile-header-content .ast-menu-toggle:hover .ast-icon.icon-arrow svg,
#ast-mobile-header .ast-mobile-popup-content .ast-menu-toggle:hover .ast-icon.icon-arrow svg {
    fill: #ffffff !important;
}

/* Remove dotted focus outline on mobile menu items */
#ast-mobile-header .ast-mobile-menu-trigger-minimal:focus-visible,
#ast-mobile-header .ast-mobile-header-content a:focus-visible,
#ast-mobile-header .ast-mobile-popup-content a:focus-visible {
    outline: none !important;
}

/* Transparent menu items */
#ast-mobile-header .ast-mobile-header-content .menu-item,
#ast-mobile-header .ast-mobile-popup-content .menu-item {
    background-color: transparent !important;
}

/* Current page highlight */
#ast-mobile-header .ast-mobile-header-content .current-menu-item > .menu-link,
#ast-mobile-header .ast-mobile-popup-content .current-menu-item > .menu-link {
    color: #fbbf24 !important;
    background: rgba(255,255,255,0.04) !important;
}

/* ========================================================================
 * 2. HEADER DROPDOWN MENU — Hover submenus
 * ======================================================================== */

#masthead #ast-hf-menu-1 > .menu-item {
    position: relative !important;
}
#masthead #ast-hf-menu-1 .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
    visibility: hidden;
    opacity: 0;
    display: block !important;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    min-width: 200px;
    background: #fff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#masthead #ast-hf-menu-1 .menu-item:hover > .sub-menu,
#masthead #ast-hf-menu-1 .menu-item.focus > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
}
#ast-hf-menu-1 .sub-menu .menu-item {
    display: block;
    width: 100%;
}
#ast-hf-menu-1 .sub-menu .menu-link {
    display: block !important;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}
#ast-hf-menu-1 .sub-menu .menu-link:hover {
    background: #f8faff;
    color: #2563eb;
}
#ast-hf-menu-1 .sub-menu .sub-menu {
    top: 0 !important;
    left: 100% !important;
}
#masthead,
#masthead .ast-primary-header-bar,
#masthead .ast-container,
#masthead .ast-builder-menu-1,
.ast-primary-header-bar,
.main-header-bar-navigation,
.main-navigation,
#ast-hf-menu-1,
.site-header,
.ast-primary-header-bar__wrap {
    overflow: visible !important;
}

/* ========================================================================
 * 3. CUSTOM FOOTER
 * ======================================================================== */

/* Hide default Astra footer */
footer.site-footer#colophon {
    display: none !important; }

.mj-site-footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%);
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle top border accent */
.mj-site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.mj-footer-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2.5rem;
}

.mj-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 921px) {
    .mj-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mj-footer-main {
        padding: 2.5rem 1.5rem 2rem;
    }
    .mj-site-footer {
        margin-top: 3rem;
    }
}

@media (max-width: 544px) {
    .mj-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mj-footer-main {
        padding: 2rem 1.25rem 1.5rem;
    }
    .mj-site-footer {
        margin-top: 2rem;
    }
}

/* Brand column */
.mj-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: opacity 0.2s;
}
.mj-footer-logo:hover {
    opacity: 0.85;
    color: #ffffff;
}
.mj-footer-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
}

.mj-footer-tagline {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.02em;
}

.mj-footer-desc {
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 300px;
}

/* Social links */
.mj-footer-social {
    display: flex;
    gap: 0.6rem;
}
.mj-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #94a3b8;
    transition: all 0.2s;
}
.mj-footer-social-link:hover {
    background: rgba(37,99,235,0.3);
    color: #60a5fa;
    transform: translateY(-1px);
}

/* Column headings */
.mj-footer-heading {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
}

/* Link lists */
.mj-footer-links,
.mj-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mj-footer-links li {
    margin-bottom: 0.6rem;
}

.mj-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.mj-footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

/* Contact items */
.mj-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.mj-footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #64748b;
}

.mj-footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.mj-footer-contact a:hover {
    color: #ffffff;
}

/* Copyright Bar */
.mj-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mj-footer-bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 544px) {
    .mj-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.25rem;
    }
}

.mj-footer-copyright {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.mj-footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mj-footer-legal a {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.mj-footer-legal a:hover {
    color: #94a3b8;
}

.mj-footer-legal-sep {
    color: #475569;
    font-size: 0.8rem;
}

/* ========================================================================
 * 4. HOMEPAGE — Hero, Layout, Sidebar, Job Cards
 * ======================================================================== */

.mj-home-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Neutralize Astra wrapper padding */
body.home #primary,
body.home .site-main,
body.home .ast-article-single,
body.home .entry-content,
body.home .entry-header {
    padding: 0;
    margin: 0;
}

.page-id-309 .entry-title,
.home .entry-title,
.page-id-309 .ast-article-single .entry-title,
.single-post .entry-title,
.single-post .ast-article-single .entry-title { display: none !important; }
/* [removed broken rule] */

/* Hero section */
.mj-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin: 2rem 0;
    overflow: hidden;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}
.mj-hero::before {
    display: none;
}
.mj-hero-overlay {
    display: none;
}
.mj-hero-skyline {
    border-radius: 0 0 16px 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.mj-hero-skyline .mj-skyline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}
.mj-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 0;
}
.mj-hero-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.2;
    text-shadow: none;
}
.mj-hero-content p {
    font-size: 1.05rem;
    color: #ffffff;
    margin: 0 0 1.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.mj-hero-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 0 auto;
}
.mj-search-icon {
    flex-shrink: 0;
    margin: 0 0 0 1rem;
    color: #94a3b8;
}
.mj-hero-input {
    flex: 1;
    border: none;
    padding: 0.9rem 0.75rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #1e293b;
}
.mj-hero-input::placeholder { color: #94a3b8; }
.mj-hero-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.mj-hero-btn:hover { background: #1d4ed8; }

/* Location filter pills */
.mj-loc-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1rem;
}
.mj-loc-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}
.mj-loc-pill:hover {
    color: #fff;
    background: rgba(255,255,255,0.2);
}
.mj-loc-pill.active {
    color: #0f172a;
    background: #fbbf24;
    border-color: #fbbf24;
}

/* Layout: Sidebar + Main */
.mj-home-layout {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    margin-top: 0;
}
/* Search page — align sidebar with hero padding */
body.search .mj-home-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-home-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.mj-home-main {
    flex: 1;
    min-width: 0;
}

/* ===== Sidebar Card ===== */
.mj-home-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 2rem;
}
.mj-sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    display: block;
}
.mj-sidebar-title:hover {
    color: #64748b;
}
.mj-sidebar-cats {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
}
.mj-sidebar-cats li { margin: 0; }
.mj-sidebar-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}
.mj-sidebar-cat:hover {
    background: #f8fafc;
    color: #2563eb;
}
.mj-sidebar-cat-name { font-size: 0.875rem; font-weight: 400; color: inherit; }
.mj-sidebar-cat-count {
    font-size: 0.7rem;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}
.mj-sidebar-all {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s;
}
.mj-sidebar-all:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

/* Main Content Header */
.mj-home-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.mj-home-main-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.mj-home-empty {
    text-align: center;
    color: #94a3b8;
    padding: 3rem 1rem;
}

/* ===== Job Cards ===== */
.mj-job-card {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    color: inherit;
}
.mj-job-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37,99,235,0.12);
}
.mj-job-card.mj-featured {
    border-color: #fbbf24;
    border-width: 2px;
}
.mj-featured-ribbon-card {
    position: absolute;
    top: 0;
    right: 0;
    background: #fbbf24;
    color: #0f172a;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 0 10px 0 8px;
    text-transform: uppercase;
    z-index: 2;
}
.mj-job-card-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.mj-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.mj-card-avatar-text {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.mj-card-body {
    flex: 1;
    min-width: 0;
}
.mj-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2px;
}
.mj-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343232;
    line-height: 1.3;
}
.mj-card-time {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}
.mj-card-company {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #343232;
    margin-bottom: 2px;
}
.mj-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.3;
}
.mj-card-location svg {
    flex-shrink: 0;
    color: #94a3b8;
}
.mj-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mj-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 400;
    padding: 0 8px;
    border-radius: 4px;
    line-height: 1.6;
}
.mj-tag-cat {
    background: #fcefac;
    color: #7a6a1e;
}
.mj-tag-type {
    background: #dbeadd;
    color: #1f6b29;
}
.mj-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 16px;
    color: #cbd5e1;
    transition: color 0.2s;
}
.mj-job-card:hover .mj-card-arrow {
    color: #2563eb;
}

.mj-home-all-link {
    display: block;
    text-align: center;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s;
}
.mj-home-all-link:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

/* CTA Banner */
.mj-home-cta {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #ecfdf5 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}
.mj-home-cta h3 {
    font-size: 1.1rem;
    color: #1e40af;
    margin: 0 0 0.4rem 0;
    font-weight: 700;
}
.mj-home-cta p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}
.mj-home-cta-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s;
}
.mj-home-cta-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* Mobile category link */
.mj-mobile-cats-link {
    display: none;
    text-align: center;
    padding: 0.75rem 1rem;
    margin: 0 1.5rem 1rem;
    background: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.15s;
}
.mj-mobile-cats-link:hover {
    background: #eef2ff;
    border-color: #2563eb;
}
.mj-mobile-cats-arrow {
    display: inline-block;
    margin-left: 0.4rem;
    transition: transform 0.15s;
}
.mj-mobile-cats-link:hover .mj-mobile-cats-arrow {
    transform: translateX(3px);
}

/* ========================================================================
 * 5. SEARCH PAGE — Background, Wrapper
 * ======================================================================== */

html.search body,
body.search {
    background-color: #f0f5fa !important;
}
body.search #page {
    background-color: #f0f5fa !important;
}
body.search #page #content,
body.search #page .site-content,
body.search #content,
body.search .site-content,
body.search #primary,
body.search #main {
    background-color: #f0f5fa !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.search .site-content .ast-container {
    background-color: #f0f5fa !important;
}
body.search #content .ast-container {
    padding: 0 !important;
    max-width: 100% !important;
}
body.search #content {
    background-color: #f0f5fa !important;
}

/* Results wrapper */
.mj-search-results-wrap {
    background-color: #f0f5fa;
    min-height: 60vh;
    padding: 0 0 2rem;
}
.mj-search-results-wrapper {
    background-color: #f0f5fa;
    min-height: 50vh;
}

.mj-search-empty {
    max-width: 1240px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
}
.mj-search-empty p { color: #64748b; font-size: 1rem; }

/* Pagination */
.mj-search-results + .navigation {
    max-width: 1240px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: center;
}
.navigation {
    max-width: 1240px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
    text-align: center;
}
.navigation .page-numbers {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    text-decoration: none;
    color: #475569;
}
.navigation .page-numbers.current {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}
.navigation .page-numbers:hover:not(.current) {
    background: #f1f5f9;
}

/* Search page container */
.mj-search-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

body.search #primary,
body.search .site-main {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.search .site-content .ast-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.search.ast-separate-container .site-content #primary,
body.search.ast-separate-container .site-content .ast-container {
    padding: 0 !important;
    max-width: none !important;
}

/* Search form */
.mj-hero-search .mj-search-icon {
    flex-shrink: 0;
    margin: 0 0 0 1rem;
    color: #94a3b8;
}
.mj-hero-search .mj-hero-input {
    flex: 1;
    border: none;
    padding: 0.9rem 0.75rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #1e293b;
}
.mj-hero-search .mj-hero-input::placeholder {
    color: #94a3b8;
}
.mj-hero-search .mj-hero-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.mj-hero-search .mj-hero-btn:hover {
    background: #1d4ed8;
}

/* ========================================================================
 * 6. CATEGORIES PAGE
 * ======================================================================== */

body.page-id-267 .entry-header,
body.page-id-267 .entry-title,
body.page-id-347 .entry-header,
body.page-id-347 .entry-title {
    display: none !important; }

.mj-categories-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mj-categories-header {
    text-align: center;
    padding: 3rem 2.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
/* Skyline SVG overlay — handled via inline style with PHP */
.mj-categories-header > * {
    position: relative;
    z-index: 2;
}
.mj-categories-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}
.mj-categories-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin: 0;
}
.mj-categories-header .mj-cat-count-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    .mj-categories-header {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    .mj-categories-header h1 {
        font-size: 1.5rem;
    }
}

.mj-categories-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 0 auto 3rem;
    padding: 0;
}
.mj-category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: all 0.2s;
}
.mj-category-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37,99,235,0.12);
    transform: translateY(-2px);
}
.mj-cat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: #2563eb;
}
.mj-cat-info {
    display: flex;
    flex-direction: column;
}
.mj-cat-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}
.mj-cat-count {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
}
@media (max-width: 600px) {
    .mj-categories-wrap {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
 * 7. PRICING PAGE
 * ======================================================================== */

.mj-pricing-wrap {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.mj-pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}
.mj-pricing-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}
.mj-pricing-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}
.mj-pricing-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}
.mj-pricing-card {
    flex: 1;
    max-width: 340px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s;
}
.mj-pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mj-pricing-featured {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37,99,235,0.12);
    transform: scale(1.05);
}
.mj-pricing-featured:hover {
    box-shadow: 0 8px 28px rgba(37,99,235,0.18);
}
.mj-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #fff;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.mj-pricing-card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}
.mj-pricing-card-header h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}
.mj-pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}
.mj-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
}
.mj-pricing-featured .mj-price-amount {
    color: #2563eb;
}
.mj-price-period {
    font-size: 0.9rem;
    color: #94a3b8;
}
.mj-price-detail {
    font-size: 0.8rem;
    color: #64748b;
}
.mj-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}
.mj-pricing-feat {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mj-pricing-feat::before {
    content: "\2713";
    color: #16a34a;
    font-weight: 700;
    font-size: 1rem;
}
.mj-pricing-na {
    color: #94a3b8;
}
.mj-pricing-na::before {
    content: "\2717";
    color: #dc2626;
}
.mj-pricing-action {
    text-align: center;
}
.mj-pricing-btn {
    display: block;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.mj-pricing-btn:hover {
    background: #1d4ed8;
    color: #fff;
}
.mj-pricing-btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}
.mj-pricing-btn-outline:hover {
    background: #2563eb;
    color: #fff;
}
@media (max-width: 768px) {
    .mj-pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .mj-pricing-featured {
        transform: none;
    }
}

/* Plan Comparison Table */
.mj-pricing-compare {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}
.mj-pricing-compare h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem;
}
.mj-compare-table-wrap {
    overflow-x: auto;
}
.mj-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.mj-compare-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
}
.mj-compare-table th:first-child {
    width: 40%;
}
.mj-compare-col {
    text-align: center !important;
    width: 20%;
}
.mj-compare-highlight {
    background: #eff6ff !important;
    color: #2563eb !important;
}
.mj-compare-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}
.mj-compare-table td:not(:first-child) {
    text-align: center;
}
.mj-compare-table tr:hover td {
    background: #f8fafc;
}
.mj-compare-section {
    font-weight: 700 !important;
    color: #1e293b !important;
    background: #f1f5f9 !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
}
@media (max-width: 600px) {
    .mj-compare-table {
        font-size: 0.75rem;
    }
    .mj-compare-table th,
    .mj-compare-table td {
        padding: 0.5rem 0.5rem;
    }
}

/* ========================================================================
 * 8. DASHBOARD
 * ======================================================================== */

.mj-dashboard {
    max-width: 1000px;
    margin: 2rem auto;
}

/* Profile Card Section */
.mj-dash-profile {
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}
/* Skyline overlay — handled via inline style with PHP */
.mj-dash-bg {
    height: 60px;
    background: transparent;
}
.mj-dash-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 2rem 1.5rem;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}
.mj-dash-avatar {
    flex-shrink: 0;
}
.mj-dash-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.mj-dash-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.2);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.mj-dash-info {
    flex: 1;
    padding-top: 0.5rem;
}
.mj-dash-name {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}
.mj-dash-role {
    margin: 0 0 0.75rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.mj-dash-sep {
    color: rgba(255,255,255,0.3);
    margin: 0 0.5rem;
}
.mj-dash-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 0.75rem;
}
.mj-dash-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.mj-dash-meta-item svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
}
.mj-dash-meta-item a {
    color: #60a5fa;
    text-decoration: none;
}
.mj-dash-meta-item a:hover {
    color: #93bbfd;
    text-decoration: underline;
}
.mj-dash-bio {
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 600px;
}

/* Stats Row */
.mj-dash-stats {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}
.mj-dash-stat {
    flex: 1;
    text-align: center;
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.mj-dash-stat:last-child {
    border-right: none;
}
.mj-dash-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}
.mj-dash-stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}

/* Posts Table Section */
.mj-dash-posts {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}
.mj-dash-posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.mj-dash-posts-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}
.mj-dash-new-post {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.mj-dash-new-post:hover {
    background: #1d4ed8;
    color: #fff;
}
.mj-dash-table {
    width: 100%;
    border-collapse: collapse;
}
.mj-dash-table th {
    text-align: left;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}
.mj-sortable {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}
.mj-sortable:hover {
    color: #2563eb;
}
.mj-sort-icon::after {
    content: "\2195";
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.7rem;
    opacity: 0.3;
}
.mj-sort-asc .mj-sort-icon::after {
    content: "\2191";
    opacity: 1;
    color: #2563eb;
}
.mj-sort-desc .mj-sort-icon::after {
    content: "\2193";
    opacity: 1;
    color: #2563eb;
}
.mj-dash-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.mj-post-title a {
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
}
.mj-post-title a:hover {
    color: #2563eb;
}
.mj-post-date {
    color: #94a3b8;
    font-size: 0.85rem;
}
.mj-status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}
.mj-status-pub {
    background: #d1fae5;
    color: #065f46;
}
.mj-status-draft {
    background: #fef3c7;
    color: #92400e;
}
.mj-status-pending {
    background: #dbeafe;
    color: #1e40af;
}
.mj-status-closed {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.mj-section-closed {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1.5rem;
}
.mj-closed-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #991b1b;
    font-weight: 600;
    font-size: 1rem;
}
.mj-closed-banner svg {
    flex-shrink: 0;
}
.mj-post-actions {
    display: flex;
    gap: 0.5rem;
}
.mj-action-btn {
    display: inline-flex;
    padding: 0.4rem;
    border-radius: 6px;
    color: #64748b;
    transition: all 0.2s;
}
.mj-action-btn:hover {
    background: #f1f5f9;
    color: #2563eb;
}

/* Empty state */
.mj-search-wrap {
    margin-bottom: 1rem;
}
.mj-search-input {
    max-width: 350px;
}
.mj-dash-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}
.mj-dash-empty p {
    font-size: 0.95rem;
    margin: 1rem 0 0;
}

/* Column Visibility Toggles */
.mj-col-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
    align-items: center;
}
.mj-col-toggle-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mj-col-toggle {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #94a3b8;
    user-select: none;
}
.mj-col-toggle:hover {
    border-color: #94a3b8;
    color: #64748b;
}
.mj-tog-on {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.mj-tog-on:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

/* Pagination */
.mj-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.mj-per-page {
    flex-shrink: 0;
}
.mj-per-page label {
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mj-per-page select {
    padding: 0.3rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #1e293b;
    background: #fff;
    cursor: pointer;
}
.mj-dash-pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}
.mj-dash-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.mj-dash-pagination a:hover,
.mj-dash-pagination a.mj-page-active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Hide duplicate page title */
.single-post .hentry .entry-title { display: none !important; }
/* [removed broken rule] */
.single-post .hentry .entry-meta { display: none !important; }
/* [removed broken rule] */
.mj-badge-id { background: #f3e8ff !important; color: #6b21a8 !important; border-color: #e9d5ff !important; }
.mj-badge-date { background: #e0e7ff !important; color: #3730a3 !important; border-color: #c7d2fe !important; }
.mj-badge-date:hover { background: #c7d2fe !important; }
.mj-badge-expiry { background: #fef3c7 !important; color: #92400e !important; border-color: #fde68a !important; }
.mj-badge-expiry:hover { background: #fde68a !important; }
.mj-badge-active { background: #dcfce7 !important; color: #15803d !important; border-color: #bbf7d0 !important; font-weight: 600; }
.mj-badge-inactive { background: #f1f5f9 !important; color: #64748b !important; border-color: #e2e8f0 !important; }

@media (max-width: 640px) {
    .mj-dash-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1rem 1.5rem;
    }
    .mj-dash-meta {
        justify-content: center;
    }
    .mj-dash-bio {
        max-width: 100%;
    }
    .mj-dash-posts {
        padding: 1rem;
    }
    .mj-dash-posts-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    .mj-dash-table {
        font-size: 0.85rem;
    }
    .mj-dash-table th:nth-child(3),
    .mj-dash-table td:nth-child(3) {
        display: none;
    }
}

/* ========================================================================
 * 9. ADMIN PAGES — Users table
 * ======================================================================== */

.mj-users-table {
    border-collapse: separate;
    border-spacing: 0;
}
.mj-users-table th,
.mj-users-table td {
    white-space: nowrap;
}
.mj-users-table th:nth-child(1),
.mj-users-table td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    border-right: 2px solid #e2e8f0;
    min-width: 60px;
}
.mj-users-table th:nth-child(2),
.mj-users-table td:nth-child(2) {
    position: sticky;
    left: 60px;
    z-index: 2;
    background: #fff;
    border-right: 2px solid #e2e8f0;
    min-width: 140px;
}
.mj-users-table thead th:nth-child(1),
.mj-users-table thead th:nth-child(2) {
    z-index: 3;
}
.mj-user-posts {
    font-size: 0.8rem;
    color: #475569;
}
.mj-limit-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}
.mj-limit-unlimited {
    color: #94a3b8;
    font-size: 1.1rem;
}
.mj-inline-plan-form {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
input.mj-inline-input {
    width: 58px !important;
    height: auto !important;
    padding: 0.2rem 0.3rem !important;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 600;
    color: #3730a3;
    background: #f8fafc;
}
input.mj-inline-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
input.mj-inline-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.mj-inline-sep {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
}
.mj-inline-set-btn {
    padding: 0.15rem 0.4rem;
    border: 1px solid #2563eb;
    border-radius: 4px;
    background: #2563eb;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.3;
    transition: background 0.15s;
}
.mj-inline-set-btn:hover {
    background: #1d4ed8;
}
.mj-daysleft-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}
.mj-daysleft-low {
    background: #fee2e2;
    color: #991b1b;
}
.mj-daysleft-free {
    color: #94a3b8;
    font-size: 0.9rem;
}
.mj-plan-badge {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}
a.mj-plan-badge:hover {
    opacity: 0.8;
    transform: scale(1.05);
}
.mj-remaining-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}
.mj-remaining-low {
    background: #fee2e2;
    color: #991b1b;
}
.mj-table-scroll {
    overflow-x: auto;
}

/* ========================================================================
 * 10. SINGLE JOB PAGE
 * ======================================================================== */

.mj-single-job-wrap {
    max-width: 800px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.mj-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s;
}
.mj-back-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
.mj-single-job-header {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}
.mj-single-job-main-title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}
.mj-single-job-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.5rem;
}
.mj-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mj-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    min-width: 90px;
}
.mj-detail-job-id {
    text-align: right;
    font-size: 0.8rem;
    color: #94a3b8;
    white-space: nowrap;
}
.mj-single-job-date-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.mj-single-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}
a.mj-single-badge:hover {
    opacity: 0.85;
}
.mj-badge-company { background: #eef2ff; color: #4338ca; }
.mj-badge-cat { background: #f0fdf4; color: #166534; }
.mj-badge-type { background: #fef3c7; color: #92400e; }
.mj-badge-loc { background: #fef2f2; color: #b91c1c; }
.mj-badge-sal { background: #ecfdf5; color: #065f46; }
.mj-single-job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.mj-single-detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #475569;
}
.mj-single-detail-item svg { color: #94a3b8; flex-shrink: 0; }
.mj-detail-job-id {
    font-size: 0.85rem;
    color: #64748b;
}
.mj-detail-job-id span {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}
.mj-single-job-body {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}
.mj-single-section { margin-bottom: 1.5rem; }
.mj-single-section:last-child { margin-bottom: 0; }
.mj-single-section h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
}
.mj-single-section-content {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}
.mj-single-company-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}
.mj-single-company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.mj-single-company-name-col h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}
.mj-single-company-spacer {
    flex: 1;
}
.mj-single-company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    background: #fff;
}
.mj-single-recruiter-col {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.mj-single-recruiter-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    background: #fff;
    flex-shrink: 0;
}
.mj-single-recruiter-info {
    display: flex;
    flex-direction: column;
}
.mj-single-recruiter-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}
.mj-single-recruiter-role {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
}
.mj-single-recruiter-email {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.3;
    margin-top: 0.15rem;
}
.mj-single-recruiter-email svg {
    flex-shrink: 0;
    color: #94a3b8;
}
.mj-single-recruiter-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.3;
    margin-top: 0.15rem;
}
.mj-single-recruiter-mobile svg {
    flex-shrink: 0;
    color: #94a3b8;
}
.mj-single-company-bio {
    margin: 0 0 0.75rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}
.mj-single-company-website {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
}
.mj-single-company-website a {
    color: #2563eb;
    text-decoration: none;
}
.mj-single-company-website a:hover { text-decoration: underline; }
.mj-single-company-website svg { color: #94a3b8; flex-shrink: 0; }
.mj-single-company-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.mj-single-company-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #475569;
}
.mj-single-company-contact svg { color: #94a3b8; flex-shrink: 0; }

/* Featured job notice */
.mj-featured-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}
.mj-featured-notice svg { flex-shrink: 0; }

@media (max-width: 640px) {
    .mj-single-job-header,
    .mj-single-job-body,
    .mj-single-company-box { padding: 1.25rem; }
    .mj-single-job-main-title { font-size: 1.25rem; }
    .mj-single-company-header { flex-wrap: wrap; }
    .mj-single-recruiter-col { flex-wrap: wrap; }
}

/* Company Profile Tiers */
.mj-company-premium {
    border: 2px solid #fbbf24 !important;
    background: linear-gradient(135deg, #fffbeb, #fffdf5) !important;
}
.mj-company-enhanced {
    border-color: #93c5fd !important;
}
.mj-company-basic {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    text-align: center;
}
.mj-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mj-company-logo-lg {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}
.mj-company-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    margin-top: 0.2rem;
}
.mj-company-website-link:hover {
    text-decoration: underline;
}
.mj-company-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.mj-company-basic-name {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ===== Related Jobs ===== */
.mj-related-wrap {
    max-width: 800px;
    margin: 2rem auto;
}
.mj-related-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* ===== Single Post: Action Bar (Bookmark, Share, Report) ===== */
.mj-single-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
.mj-single-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s;
}
.mj-single-action:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f8faff;
}
.mj-single-action svg {
    flex-shrink: 0;
}
.mj-action-bookmarked svg {
    fill: #2563eb;
    stroke: #2563eb;
}
.mj-action-bookmarked {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

/* ===== Report Modal ===== */
.mj-report-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999998;
    display: none;
}
.mj-report-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    max-width: 94vw;
    background: #fff;
    border-radius: 14px;
    z-index: 999999;
    display: none;
    overflow: hidden;
}
.mj-report-header {
    background: #1e3a5f;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mj-report-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.mj-report-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mj-report-close:hover {
    background: rgba(255,255,255,0.35);
}
.mj-report-body {
    padding: 20px 24px;
}
.mj-report-body label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}
.mj-report-body textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 90px;
    box-sizing: border-box;
    color: #1e293b;
}
.mj-report-body textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.mj-report-body .mj-report-status {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}
.mj-report-body .mj-report-ok {
    color: #059669;
    display: block;
}
.mj-report-body .mj-report-err {
    color: #dc2626;
    display: block;
}
.mj-report-submit {
    display: block;
    width: 100%;
    padding: 0.7rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.15s;
}
.mj-report-submit:hover {
    background: #1d4ed8;
}
.mj-report-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ========================================================================
 * 11. POST-A-JOB FORM (Page ID 145)
 * ======================================================================== */

/* Hide page heading */
body.page-id-145 h2.wp-block-heading {
    display: none;
}
/* Center page title and intro */
body.page-id-145 .entry-title,
body.page-id-145 .entry-content > p {
    text-align: center;
}
body.page-id-145 .wpforms-container {
    max-width: 680px !important;
    margin: 0 auto !important;
}
body.page-id-145 .wpforms-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
body.page-id-145 .wpforms-page-indicator,
body.page-id-145 .wpforms-field-divider {
    display: none !important;
}
body.page-id-145 .wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
body.page-id-145 .wpforms-field {
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
}
body.page-id-145 .wpforms-field-label,
body.page-id-145 .wpforms-field legend {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: #334155 !important;
    margin-bottom: 0.35rem !important;
    display: block;
}

/* Inline row for short fields */
body.page-id-145 .wpforms-field-text,
body.page-id-145 .wpforms-field-select,
body.page-id-145 .wpforms-field-name,
body.page-id-145 .wpforms-field-email,
body.page-id-145 .wpforms-field-number,
body.page-id-145 .wpforms-field-url {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}
body.page-id-145 .wpforms-field-text .wpforms-field-label,
body.page-id-145 .wpforms-field-select .wpforms-field-label,
body.page-id-145 .wpforms-field-name .wpforms-field-label,
body.page-id-145 .wpforms-field-email .wpforms-field-label,
body.page-id-145 .wpforms-field-number .wpforms-field-label,
body.page-id-145 .wpforms-field-url .wpforms-field-label {
    flex-shrink: 0 !important;
    min-width: 130px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}
body.page-id-145 .wpforms-field-text input,
body.page-id-145 .wpforms-field-text select,
body.page-id-145 .wpforms-field-select input,
body.page-id-145 .wpforms-field-select select,
body.page-id-145 .wpforms-field-name input,
body.page-id-145 .wpforms-field-email input,
body.page-id-145 .wpforms-field-number input,
body.page-id-145 .wpforms-field-url input {
    flex: 1 !important;
}

/* All inputs — clean style */
body.page-id-145 .wpforms-field input[type="text"],
body.page-id-145 .wpforms-field input[type="email"],
body.page-id-145 .wpforms-field input[type="url"],
body.page-id-145 .wpforms-field input[type="number"],
body.page-id-145 .wpforms-field select,
body.page-id-145 .wpforms-field textarea {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.95rem !important;
    background: #fff !important;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    color: #1e293b !important;
}
body.page-id-145 .wpforms-field input:focus,
body.page-id-145 .wpforms-field select:focus,
body.page-id-145 .wpforms-field textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
    outline: none !important;
}

/* Rich text editors — taller */
#wpforms-149-field_7-container .wp-editor-container,
#wpforms-149-field_7-container .mce-tinymce,
#wpforms-149-field_13-container .wp-editor-container,
#wpforms-149-field_13-container .mce-tinymce {
    min-height: 280px !important;
}
#wpforms-149-field_7-container iframe,
#wpforms-149-field_13-container iframe {
    min-height: 280px !important;
}

/* Hide both conditional area dropdowns */
#wpforms-149-field_15-container,
#wpforms-149-field_8-container {
    display: none !important;
}

/* Rich text / textarea fields — stacked layout */
body.page-id-145 .wpforms-field-richtext,
body.page-id-145 .wpforms-field-textarea {
    display: block !important;
}
body.page-id-145 .wpforms-field-richtext .wpforms-field-label,
body.page-id-145 .wpforms-field-textarea .wpforms-field-label {
    margin-bottom: 0.5rem !important;
}

/* Required asterisk */
body.page-id-145 .wpforms-required-label {
    color: #dc2626 !important;
}

/* Submit button */
body.page-id-145 .wpforms-submit-container {
    text-align: center !important;
    padding-top: 1rem !important;
}
body.page-id-145 button.wpforms-submit {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.8rem 3rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    min-width: 200px;
}
body.page-id-145 button.wpforms-submit:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3) !important;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 768px) {
    body.page-id-145 .wpforms-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    body.page-id-145 .wpforms-field-text,
    body.page-id-145 .wpforms-field-select,
    body.page-id-145 .wpforms-field-name,
    body.page-id-145 .wpforms-field-email,
    body.page-id-145 .wpforms-field-number,
    body.page-id-145 .wpforms-field-url {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.35rem !important;
    }
    body.page-id-145 .wpforms-field-text .wpforms-field-label,
    body.page-id-145 .wpforms-field-select .wpforms-field-label {
        min-width: auto !important;
    }
    body.page-id-145 button.wpforms-submit {
        width: 100%;
    }
body.page-id-6 h2.wp-block-heading {
    display: none;
}
/* Center page title and intro */
body.page-id-6 .entry-title,
body.page-id-6 .entry-content > p {
    text-align: center;
}
body.page-id-6 .wpforms-container {
    max-width: 680px !important;
    margin: 0 auto !important;
}
body.page-id-6 .wpforms-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
body.page-id-6 .wpforms-page-indicator,
body.page-id-6 .wpforms-field-divider {
    display: none !important;
}
body.page-id-6 .wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
body.page-id-6 .wpforms-field {
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
}
body.page-id-6 .wpforms-field-label,
body.page-id-6 .wpforms-field legend {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: #334155 !important;
    margin-bottom: 0.35rem !important;
    display: block;
}

/* Inline row for short fields */
body.page-id-6 .wpforms-field-text,
body.page-id-6 .wpforms-field-select,
body.page-id-6 .wpforms-field-name,
body.page-id-6 .wpforms-field-email,
body.page-id-6 .wpforms-field-number,
body.page-id-6 .wpforms-field-url {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}
body.page-id-6 .wpforms-field-text .wpforms-field-label,
body.page-id-6 .wpforms-field-select .wpforms-field-label,
body.page-id-6 .wpforms-field-name .wpforms-field-label,
body.page-id-6 .wpforms-field-email .wpforms-field-label,
body.page-id-6 .wpforms-field-number .wpforms-field-label,
body.page-id-6 .wpforms-field-url .wpforms-field-label {
    flex-shrink: 0 !important;
    min-width: 130px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}
body.page-id-6 .wpforms-field-text input,
body.page-id-6 .wpforms-field-text select,
body.page-id-6 .wpforms-field-select input,
body.page-id-6 .wpforms-field-select select,
body.page-id-6 .wpforms-field-name input,
body.page-id-6 .wpforms-field-email input,
body.page-id-6 .wpforms-field-number input,
body.page-id-6 .wpforms-field-url input {
    flex: 1 !important;
}

/* All inputs — clean style */
body.page-id-6 .wpforms-field input[type="text"],
body.page-id-6 .wpforms-field input[type="email"],
body.page-id-6 .wpforms-field input[type="url"],
body.page-id-6 .wpforms-field input[type="number"],
body.page-id-6 .wpforms-field select,
body.page-id-6 .wpforms-field textarea {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.95rem !important;
    background: #fff !important;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    color: #1e293b !important;
}
body.page-id-6 .wpforms-field input:focus,
body.page-id-6 .wpforms-field select:focus,
body.page-id-6 .wpforms-field textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
    outline: none !important;
}

/* Rich text editors — taller */
#wpforms-149-field_7-container .wp-editor-container,
#wpforms-149-field_7-container .mce-tinymce,
#wpforms-149-field_13-container .wp-editor-container,
#wpforms-149-field_13-container .mce-tinymce {
    min-height: 280px !important;
}
#wpforms-149-field_7-container iframe,
#wpforms-149-field_13-container iframe {
    min-height: 280px !important;
}

/* Hide both conditional area dropdowns */
#wpforms-149-field_15-container,
#wpforms-149-field_8-container {
    display: none !important;
}

/* Rich text / textarea fields — stacked layout */
body.page-id-6 .wpforms-field-richtext,
body.page-id-6 .wpforms-field-textarea {
    display: block !important;
}
body.page-id-6 .wpforms-field-richtext .wpforms-field-label,
body.page-id-6 .wpforms-field-textarea .wpforms-field-label {
    margin-bottom: 0.5rem !important;
}

/* Required asterisk */
body.page-id-6 .wpforms-required-label {
    color: #dc2626 !important;
}

/* Submit button */
body.page-id-6 .wpforms-submit-container {
    text-align: center !important;
    padding-top: 1rem !important;
}
body.page-id-6 button.wpforms-submit {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.8rem 3rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    min-width: 200px;
}
body.page-id-6 button.wpforms-submit:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3) !important;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 768px) {
    body.page-id-6 .wpforms-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    body.page-id-6 .wpforms-field-text,
    body.page-id-6 .wpforms-field-select,
    body.page-id-6 .wpforms-field-name,
    body.page-id-6 .wpforms-field-email,
    body.page-id-6 .wpforms-field-number,
    body.page-id-6 .wpforms-field-url {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.35rem !important;
    }
    body.page-id-6 .wpforms-field-text .wpforms-field-label,
    body.page-id-6 .wpforms-field-select .wpforms-field-label {
        min-width: auto !important;
    }
    body.page-id-6 button.wpforms-submit {
        width: 100%;
}

/* ========================================================================
 * 12. JOB SEEKER REGISTER & ALERTS
 * ======================================================================== */

.mj-js-register-form,
.mj-alerts-page {
    max-width: 600px;
    margin: 0 auto;
}
.mj-alerts-page h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem;
}
.mj-alerts-page > p {
    color: #64748b;
    margin: 0 0 1.5rem;
}
.mj-alerts-toggle {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.mj-alerts-toggle label {
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}
.mj-alerts-form h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 0.75rem;
}
.mj-alerts-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}
.mj-alerts-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: background 0.15s;
}
.mj-alerts-check-item:hover {
    background: #f8fafc;
}
.mj-alerts-form .mj-submit-btn {
    margin-top: 1.5rem;
}

/* ========================================================================
 * 13. LOGIN (WPUM) & REGISTRATION FORMS
 * ======================================================================== */

body .wpum-login-form,
body #wpum-submit-login-form {
    max-width: 440px !important;
    margin: 0 auto !important;
}
body .wpum-login-form fieldset,
body #wpum-submit-login-form fieldset {
    padding: 1rem !important;
}
body .wpum-login-form input[type="text"],
body .wpum-login-form input[type="password"],
body .wpum-login-form input[type="email"],
body #wpum-submit-login-form input[type="text"],
body #wpum-submit-login-form input[type="password"],
body #wpum-submit-login-form input[type="email"] {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}
body .wpum-login-form button,
body #wpum-submit-login-form button {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
}

/* Registration forms */
body .mj-registration-wrap,
body .mj-js-register-form {
    max-width: 600px !important;
    margin: 0 auto !important;
}
body .mj-registration-wrap .mj-submit-btn,
body .mj-js-register-form .mj-submit-btn {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
}
body.page-id-8 .entry-title,
body.page-id-366 .entry-title {
    text-align: center !important;
}

/* ========================================================================
 * 14. RESPONSIVE — Shared rules
 * ======================================================================== */

/* Mobile: hide theme sidebar on archive / category / tag pages */
@media (max-width: 921px) {
    body.archive #secondary,
    body.category #secondary,
    body.tag #secondary {
        display: none;
    }
    body.archive #primary,
    body.category #primary,
    body.tag #primary {
        width: 100%;
    }
}

/* Mobile: homepage */
@media (max-width: 768px) {
    .mj-home-page { padding: 0 1rem; }
    .mj-hero {
        padding: 2rem 1.5rem;
        border-radius: 12px;
        margin: 1.5rem 0;
    }
    .mj-hero-content h1 { font-size: 1.5rem; }
    .mj-hero-content p { font-size: 0.9rem; }
    .mj-hero-skyline { border-radius: 0 0 12px 12px; }
    .mj-hero-search { flex-direction: column; border-radius: 12px; }
    .mj-hero-input { width: 100%; padding: 0.75rem; }
    .mj-hero-btn { width: 100%; border-radius: 0; }
    .mj-loc-pill { font-size: 0.78rem; padding: 5px 14px; }
    .mj-home-layout { flex-direction: column; }
    .mj-home-sidebar { display: none; }
    .mj-home-sidebar-card { position: static; }
    .mj-mobile-cats-link { display: block; }
    .mj-sidebar-cats {
        max-height: none;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .mj-sidebar-cats li { flex: 1 1 auto; }
    .mj-sidebar-cat { font-size: 0.8rem; padding: 0.4rem 0.6rem; }
}

@media (max-width: 480px) {
    .mj-job-card { padding: 16px; }
    .mj-card-title { font-size: 0.95rem; }
    .mj-card-header-row { flex-direction: column; gap: 2px; }
    .mj-card-avatar { width: 36px; height: 36px; }
    .mj-card-avatar-text { font-size: 0.7rem; }
    .mj-card-arrow { right: 14px; bottom: 12px; }
    .mj-job-card-inner { gap: 12px; }
}

/* Search hero — keep original search hero styles */
.mj-search-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #15294a 40%, #0f1f38 100%);
    margin: 0;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mj-search-hero-inner { position: relative; z-index: 1; }
.mj-search-hero h1 { font-size: 2rem; font-weight: 800; color: #fff; margin: 0 0 0.5rem; }
.mj-search-hero p { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; }

.mj-search-results {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f0f5fa;
    min-height: 400px;
}

@media (max-width: 768px) {
    .mj-search-hero { padding: 2rem 1.5rem; }
    .mj-search-hero h1 { font-size: 1.4rem; }
    .mj-search-results { padding: 1rem; }
}

/* ========================================================================
 * 15. REGISTRATION FORMS — Shared form styles
 * ======================================================================== */

.mj-registration-wrap .mj-form h3,
.mj-js-register-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
}
.mj-field {
    margin-bottom: 1rem;
}
.mj-field label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 0.3rem;
}
.mj-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: border-color 0.15s, box-shadow 0.15s;
    color: #1e293b;
    box-sizing: border-box;
}
.mj-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    outline: none;
}
.mj-input-hp {
    position: absolute;
    left: -9999px;
}
.mj-submit-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    display: inline-block;
}
.mj-submit-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    transform: translateY(-1px);
}
.mj-notice {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.mj-notice p {
    margin: 0;
}
.mj-notice a {
    font-weight: 600;
}
.mj-notice-info {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
.mj-notice-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.mj-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
