/* Jobnex Career Growth Platform — layout + components */

/* Prevent horizontal scroll from legacy section-box breakout */
.jobnex-career-home {
    overflow-x: clip;
}

.jobnex-career-home .cg-section {
    width: 100%;
    margin-left: 0;
    display: block;
    box-sizing: border-box;
}

.platform-gradient-1 { background: linear-gradient(135deg, var(--primary-color), #4f8cff); }
.platform-gradient-2 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.platform-gradient-3 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.platform-gradient-4 { background: linear-gradient(135deg, #10b981, #34d399); }

/* Entity avatars */
.entity-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.entity-avatar.entity-avatar-sm { width: 36px; height: 36px; font-size: 0.75rem; border-radius: 50%; }
.entity-avatar.entity-avatar-md { width: 52px; height: 52px; font-size: 0.9rem; }
.entity-avatar.entity-avatar-lg { width: 72px; height: 72px; font-size: 1.1rem; border-radius: 16px; }
.entity-avatar-img { object-fit: cover; border-radius: 12px; }
.entity-avatar-img.entity-avatar-img-sm { width: 36px; height: 36px; border-radius: 50%; }
.entity-avatar-img.entity-avatar-img-md { width: 52px; height: 52px; }
.entity-avatar-img.entity-avatar-img-lg { width: 72px; height: 72px; border-radius: 16px; }

/* Section system */
.cg-section { padding: 64px 0; position: relative; }
.cg-section--hero { padding: 32px 0 56px; }
.cg-section--surface { background: #fff; }
.cg-section--alt { background: #f4f7fc; }
.cg-section--hire { background: #fff; }
.cg-section--trainer { background: #0f172a; padding-bottom: 72px; }
.cg-section--newsletter { background: #f4f7fc; padding-top: 0; }

.cg-section-header { margin-bottom: 40px; }
.cg-section-desc {
    max-width: 640px;
    margin: 12px auto 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}
.cg-section-header:not(.text-center) .cg-section-desc { margin-left: 0; }

.cg-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.cg-section-eyebrow--light { color: #93c5fd; }

/* Unified cards */
.cg-card {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cg-card:hover { box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08); }
.cg-card--link {
    text-decoration: none;
    color: inherit;
}
.cg-card--link:hover { transform: translateY(-3px); color: inherit; }
.cg-card--job { min-height: 220px; }
.cg-card--cohort { padding: 0; }

/* Homepage job cards */
.featured-jobs-home .cg-section-desc {
    margin-left: auto;
    margin-right: auto;
}

.home-job-card {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-job-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.home-job-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-job-card__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.home-job-card__company {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-job-card__badge {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(60, 101, 245, 0.1);
    border-radius: 999px;
    padding: 4px 10px;
}

.home-job-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.home-job-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.home-job-card__title a:hover {
    color: var(--primary-color);
}

.home-job-card__meta {
    margin-bottom: 16px;
}

.home-job-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

.home-job-card__meta-item i {
    font-size: 0.9rem;
    line-height: 1 !important;
    flex-shrink: 0;
    color: #94a3b8;
}

.home-job-card__footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef2f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-job-card__salary {
    font-size: 0.85rem;
    min-width: 0;
}

.home-job-card__salary .card-text-price {
    font-weight: 700;
    color: #0f172a;
}

.home-job-card__salary .text-muted {
    font-size: 0.78rem;
}

.home-job-card__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.featured-jobs-home .entity-avatar.entity-avatar-sm,
.featured-jobs-home .entity-avatar-img.entity-avatar-img-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.cg-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.cg-card-icon i { font-size: 1.2rem; line-height: 1; }

.cg-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 16px 0 8px;
}
.cg-card-text {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Hero */
.career-hero-section {
    overflow: hidden;
    position: relative;
    padding: 72px 0 64px;
}
.career-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 42%, #eef4ff 72%, #e8f4fd 100%);
}
.career-hero-section .container { position: relative; z-index: 1; }

.career-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.career-hero-title {
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: #0f172a;
}
.career-hero-subtitle {
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 520px;
}
.career-hero-title-accent {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 55%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.career-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
}
.career-hero-glow--1 {
    width: 480px;
    height: 480px;
    background: rgba(37, 99, 235, 0.14);
    top: -120px;
    right: -80px;
}
.career-hero-glow--2 {
    width: 360px;
    height: 360px;
    background: rgba(99, 102, 241, 0.1);
    bottom: -80px;
    left: 5%;
}
.career-hero-glow--3 {
    width: 280px;
    height: 280px;
    background: rgba(20, 184, 166, 0.08);
    top: 35%;
    right: 30%;
}
.career-hero-trust {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.career-hero-trust li {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}
.career-hero-trust li::before {
    content: "✓";
    color: #14b8a6;
    font-weight: 800;
    margin-right: 6px;
}
.career-hero-visual {
    position: relative;
    min-height: 420px;
    margin: 0 auto;
    max-width: 480px;
}
.career-float-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 16px 40px rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: career-hero-float 5.5s ease-in-out infinite;
}
.career-float-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 8px 12px rgba(15, 23, 42, 0.06),
        0 24px 56px rgba(37, 99, 235, 0.16);
    color: #0f172a;
}
.career-float-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.career-float-card--job .career-float-card__icon { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.career-float-card--cert .career-float-card__icon { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.career-float-card--trainer .career-float-card__icon { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.career-float-card--profile .career-float-card__icon { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.career-float-card--course .career-float-card__icon { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.career-float-card__label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}
.career-float-card__title {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    font-style: normal;
}
.career-float-card__meta {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
}
.career-float-card__accent {
    font-size: 0.8rem;
    font-weight: 700;
    font-style: normal;
    color: #2563eb;
    margin-top: 2px;
}
.career-float-card--cert .career-float-card__accent { color: #0d9488; }
.career-float-card--trainer .career-float-card__accent { color: #6366f1; }
.career-float-card--profile .career-float-card__accent { color: #0284c7; }
.career-float-card--course .career-float-card__accent { color: #d97706; }
.career-float-card--1 {
    width: 210px;
    top: 6%;
    left: 2%;
    z-index: 3;
    animation-delay: 0s;
}
.career-float-card--2 {
    width: 188px;
    top: 0;
    right: 0;
    z-index: 4;
    animation-delay: 0.7s;
}
.career-float-card--3 {
    width: 178px;
    top: 38%;
    left: 0;
    z-index: 2;
    animation-delay: 1.3s;
}
.career-float-card--4 {
    width: 196px;
    top: 32%;
    right: 4%;
    z-index: 5;
    animation-delay: 1.9s;
}
.career-float-card--5 {
    width: 200px;
    bottom: 2%;
    left: 22%;
    z-index: 1;
    animation-delay: 2.5s;
}
@keyframes career-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.btn-hero-primary,
.btn-hero-secondary {
    padding: 13px 22px;
    font-weight: 600;
    border-radius: 10px;
}

.career-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 28px;
}
.career-hero-jobs-link {
    font-weight: 600;
    padding: 0;
    white-space: nowrap;
}

.career-hero-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.career-hero-section .career-pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px;
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    min-height: 88px;
}

.career-hero-section .career-pillar-card__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    max-width: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    line-height: 1;
}

.career-hero-section .career-pillar-card__icon i {
    font-size: 1.15rem;
    line-height: 1;
}

.career-hero-section .career-pillar-card__body {
    flex: 1;
    min-width: 0;
}

.career-hero-section .career-pillar-card strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.career-hero-section .career-pillar-card span {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.92;
}

.career-journey-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 28px;
}
.career-journey-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}
.career-journey-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.career-journey-step-icon i { font-size: 0.95rem; }
.career-journey-arrow { color: #94a3b8; font-size: 0.85rem; }

/* Success journey timeline */
.success-journey-timeline { display: flex; flex-direction: column; gap: 0; }
.success-journey-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.success-journey-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    flex-shrink: 0;
}
.success-journey-marker {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.success-journey-marker i { font-size: 1.1rem; }
.success-journey-line {
    flex: 1;
    width: 2px;
    min-height: 16px;
    background: #d4dff5;
    margin: 6px 0;
}
.success-journey-body { margin-bottom: 12px; flex: 1; }
.success-journey-body .cg-card-title { margin-top: 0; }

/* Live training */
.live-cohort-banner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.live-cohort-banner i { font-size: 2rem; }

/* Featured jobs */
.featured-job-card-footer { margin-top: auto; }

/* Become / teach page CTA */
.become-trainer-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 55%, #1e1b4b 100%);
    border-radius: 20px;
    padding: 40px 36px;
}
.become-trainer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.become-trainer-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}
.become-trainer-list li i { color: #85ff83; flex-shrink: 0; margin-top: 3px; }

.success-path-grid .success-path-item .cg-card-title { margin-top: 0; }

/* Earn as trainer */
.earn-trainer-panel {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 55%, #1e1b4b 100%);
    border-radius: 20px;
    padding: 40px 36px;
}
.earn-trainer-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
}
.earn-trainer-feature {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px;
    height: 100%;
}
.earn-trainer-feature-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Newsletter */
.platform-newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    border-radius: 20px;
    padding: 40px 32px;
}
.platform-newsletter-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.platform-newsletter-title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.platform-newsletter-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 8px;
}
.platform-newsletter .input-newsletter { background: rgba(255, 255, 255, 0.95); }
.platform-newsletter .text-md-newsletter { color: #fff; }

/* Legacy platform styles (other pages) */
.bg-homepage1.platform-hero-bg {
    background-image: none !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.12) 50%, #eff2fb 100%);
    min-height: 680px;
}
.platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
}
.platform-icon i { font-size: 1.25rem; line-height: 1; }
.platform-icon.platform-icon-sm { width: 42px; height: 42px; border-radius: 10px; }
.platform-icon.platform-icon-sm i { font-size: 1rem; }
.platform-icon.platform-icon-md { width: 52px; height: 52px; }
.platform-icon.platform-icon-md i { font-size: 1.35rem; }
.platform-icon.platform-icon-lg { width: 72px; height: 72px; border-radius: 16px; }
.platform-icon.platform-icon-lg i { font-size: 1.75rem; }
.platform-feature-card {
    background: #fff;
    border: 1px solid #e0e6f7;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.platform-feature-card:hover {
    box-shadow: 0 12px 32px rgba(10, 42, 105, 0.1);
    transform: translateY(-4px);
}
.platform-cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%) !important;
    border-radius: 16px;
    padding: 40px 48px !important;
    text-align: center;
}
.platform-cta-banner .box-we-hiring-before,
.platform-cta-banner .box-we-hiring-after { display: none !important; }
.platform-cta-banner .text-we-are,
.platform-cta-banner .text-hiring { color: #fff !important; }
.platform-cta-banner .text-2 { color: rgba(255, 255, 255, 0.85) !important; }
.platform-testimonial-card .image-review .entity-avatar,
.platform-testimonial-card .image-review .entity-avatar-img,
.platform-testimonial-card .card-image .entity-avatar,
.platform-testimonial-card .card-image .entity-avatar-img { border-radius: 50%; }
.job-of-the-day .image-box .entity-avatar,
.job-of-the-day .image-box .entity-avatar-img { width: 52px; height: 52px; }
.top-companies .image-left .entity-avatar,
.top-companies .image-left .entity-avatar-img { width: 42px; height: 42px; border-radius: 10px; }

/* Footer */
.jobnex-footer {
    background: #f8faff;
    border-top: 1px solid #e6ecf8;
    padding-top: 56px;
}
.jobnex-footer .footer-main {
    align-items: flex-start;
}
.jobnex-footer .footer-logo img,
.jobnex-brand-logo--footer {
    max-height: 56px;
    width: auto;
}
.jobnex-footer .footer-intro {
    margin: 20px 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 320px;
}
.jobnex-footer .footer-menu-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}
.jobnex-footer .menu-footer li {
    margin-bottom: 10px;
}
.jobnex-footer .menu-footer a {
    color: #64748b;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.jobnex-footer .menu-footer a:hover {
    color: var(--primary-color);
}
.jobnex-footer .footer-social--brand {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.jobnex-footer .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(60, 101, 245, 0.1);
    transition: background 0.2s ease;
}
.jobnex-footer .footer-social-link:hover {
    background: rgba(60, 101, 245, 0.18);
}
.jobnex-footer .footer-social-link img {
    width: 16px;
    height: 16px;
}
.jobnex-footer .footer-bottom {
    border-top: 1px solid #e6ecf8;
    padding-top: 24px;
    padding-bottom: 8px;
}

@media (max-width: 991px) {
    .cg-section { padding: 48px 0; }
    .career-hero-section { padding: 48px 0 40px; }
    .career-hero-visual {
        min-height: 360px;
        max-width: 400px;
        margin-top: 12px;
    }
    .earn-trainer-panel { padding: 28px 20px; }
    .platform-cta-banner { padding: 32px 24px !important; }
}

@media (max-width: 575px) {
    .career-hero-visual {
        min-height: 300px;
        transform: scale(0.9);
        transform-origin: top center;
    }
    .career-hero-trust { gap: 8px 14px; }
    .career-hero-pillars {
        grid-template-columns: 1fr;
    }
    .career-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .career-hero-cta .btn { width: 100%; text-align: center; }
    .career-hero-jobs-link { text-align: center; padding: 8px 0; }
    .platform-newsletter { padding: 32px 20px; }
    .jobnex-footer .footer-col-menu { margin-bottom: 8px; }
}

/* Auth pages — register & login */
.jobnex-auth {
    min-height: 100vh;
    background: #f4f7fc;
}
.jobnex-auth-row {
    min-height: 100vh;
}
.jobnex-auth-brand {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 45%, #2563eb 100%);
    color: #fff;
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
}
.jobnex-auth-brand::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -120px;
    right: -80px;
}
.jobnex-auth-brand::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.25);
    bottom: -60px;
    left: -40px;
}
.jobnex-auth-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: auto 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.jobnex-auth-logo img,
.jobnex-brand-logo--auth {
    max-width: 220px;
    width: auto;
    height: auto;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.jobnex-brand-logo {
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.jobnex-brand-logo--header {
    max-height: 52px;
}
.jobnex-auth-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 40px;
}
.jobnex-auth-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 16px;
}
.jobnex-auth-headline {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}
.jobnex-auth-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 32px;
}
.jobnex-auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.jobnex-auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}
.jobnex-auth-benefits li i {
    color: #93c5fd;
    margin-top: 3px;
}
.jobnex-auth-trainer-panel {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
.jobnex-auth-trainer-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}
.jobnex-auth-trainer-panel p {
    margin: 6px 0 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}
.jobnex-auth-link {
    color: #bfdbfe;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.jobnex-auth-link:hover {
    color: #fff;
}
.jobnex-auth-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}
.jobnex-auth-form-wrap {
    width: 100%;
    max-width: 480px;
}
.jobnex-auth-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e6ecf8;
}
.jobnex-auth-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(32, 107, 196, 0.1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.jobnex-auth-form-intro h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}
.jobnex-auth-form-intro p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.jobnex-auth-form .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}
.jobnex-auth-form .form-control {
    border-radius: 10px;
    border-color: #e2e8f0;
    min-height: 48px;
}
.jobnex-auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.12);
}
.jobnex-auth-form button[type="submit"] {
    width: 100%;
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 600;
    margin-top: 8px;
}
.jobnex-auth-terms,
.jobnex-auth-remember {
    margin: 16px 0;
}
.jobnex-auth-trainer-note {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 20px;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}
.jobnex-auth-trainer-note a {
    font-weight: 600;
    margin-left: 4px;
}
.jobnex-auth-back-home a,
.jobnex-auth-register-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.jobnex-auth-roles {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.jobnex-auth-role {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.jobnex-auth-role-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.jobnex-auth-role strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.jobnex-auth-role p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}
.jobnex-account-types .account-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.jobnex-account-types .account-type-label {
    cursor: pointer;
    display: block;
    margin: 0;
}
.jobnex-type-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
    background: #f8fafc;
    position: relative;
    min-height: 150px;
}
.jobnex-type-card:hover {
    border-color: var(--primary-color);
    background: #fff;
}
.jobnex-account-types .account-type-option input:checked + .account-type-label .jobnex-type-card {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 8px 24px rgba(32, 107, 196, 0.12);
}
.jobnex-type-card .account-type-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}
.jobnex-account-types .account-type-option input:checked + .account-type-label .account-type-check {
    opacity: 1;
    transform: scale(1);
}
.jobnex-type-card .account-type-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.jobnex-type-card h6 {
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}
.jobnex-type-card p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}
.jobnex-auth-trainer-inline {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}
.jobnex-auth-trainer-inline i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 2px;
}
.jobnex-auth-trainer-inline strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}
.jobnex-auth-trainer-inline a {
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .jobnex-auth-form-card {
        padding: 28px 22px;
    }
}

/* ===== Homepage V2 ===== */

/* How Jobnex Works — vertical journey */
.how-journey {
    max-width: 640px;
    margin: 0 auto;
}
.how-journey-step {
    display: flex;
    gap: 20px;
}
.how-journey-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 52px;
    flex-shrink: 0;
}
.how-journey-marker {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.how-journey-marker i { font-size: 1.15rem; }
.how-journey-line {
    flex: 1;
    width: 2px;
    min-height: 28px;
    background: linear-gradient(180deg, #c7d7f5, #e2e8f0);
    margin: 8px 0;
}
.how-journey-body {
    padding-bottom: 28px;
    flex: 1;
}
.how-journey-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 4px 0 8px;
}
.how-journey-text {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Premium learning path cards */
.cg-path-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.cg-path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    color: inherit;
}
.cg-path-card__accent {
    height: 5px;
}
.cg-path-card__body {
    padding: 24px;
}
.cg-path-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}
.cg-path-card__icon i { font-size: 1.2rem; }
.cg-path-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.cg-path-card__text {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
}
.cg-path-card__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Career Pro */
.career-pro-section {
    padding: 56px 0;
    background: #f4f7fc;
}
.career-pro-panel {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 42%, #1e3a8a 100%);
    border-radius: 24px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}
.career-pro-panel::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -80px;
    right: -40px;
}
.career-pro-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}
.career-pro-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
}
.career-pro-price {
    margin-bottom: 24px;
    position: relative;
}
.career-pro-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.career-pro-price-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 6px;
}
.btn-career-pro {
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 10px;
    position: relative;
}
.career-pro-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.career-pro-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 500;
}
.career-pro-benefits li i {
    color: #86efac;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Featured employers */
.employer-logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.employer-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 120px;
}
.employer-logo-card:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    color: inherit;
}
.employer-logo-card img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
}
.employer-logo-fallback {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.employer-logo-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
}

/* Employer benefits */
.employer-benefits-lead {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}
.employer-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.employer-benefit-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 14px;
    transition: box-shadow 0.2s ease;
}
.employer-benefit-row:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.employer-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.employer-benefit-icon i { font-size: 1.1rem; }
.employer-benefit-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.employer-benefit-text {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Trainer CTA */
.trainer-cta-section {
    background: #0f172a;
    padding-bottom: 72px;
}
.trainer-cta-panel {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 55%, #1e1b4b 100%);
    border-radius: 20px;
    padding: 40px 36px;
}
.trainer-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.trainer-cta-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}
.btn-trainer-cta {
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 20px;
}

/* Hero marketplace positioning */
.career-hero-subtitle--secondary {
    margin-top: 12px;
    font-size: 0.98rem;
    color: #64748b;
}
.career-ecosystem-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 4px;
    padding-top: 16px;
    border-top: 1px solid #e6ecf8;
    margin-top: 4px;
}
.career-ecosystem-word {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.02em;
}
.career-ecosystem-dot {
    color: #94a3b8;
    font-weight: 700;
}
.career-ecosystem-tagline {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin: 10px 0 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Four marketplace pillars — equal weight */
.marketplace-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.marketplace-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    color: inherit;
}
.marketplace-pillar__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.marketplace-pillar__icon i { font-size: 1.35rem; }
.marketplace-pillar__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}
.marketplace-pillar__text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px;
    flex-grow: 1;
}
.marketplace-pillar__link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Trainer offerings grid */
.trainer-offering-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px;
    height: 100%;
}
.trainer-offering-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 12px;
}
.trainer-offering-icon i { font-size: 1rem; }
.trainer-offering-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.trainer-offering-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
    margin: 0;
}

/* Ecosystem closing grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.ecosystem-card {
    text-align: center;
    padding: 24px 16px;
    background: #f8fafc;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
}
.ecosystem-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 14px;
}
.ecosystem-card__icon i { font-size: 1.1rem; }
.ecosystem-card__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.ecosystem-card__text {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Success journey flow */
.success-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 8px 4px;
    max-width: 960px;
    margin: 0 auto;
}
.success-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 110px;
    text-align: center;
}
.success-flow-marker {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}
.success-flow-marker i { font-size: 1.1rem; }
.success-flow-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
}
.success-flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.1rem;
    padding-top: 14px;
    width: 24px;
}

@media (max-width: 767px) {
    .career-pro-panel { padding: 32px 24px; }
    .trainer-cta-panel { padding: 32px 24px; }
    .success-flow-step { width: 90px; }
    .success-flow-connector { width: 16px; }
    .employer-logo-wall {
        grid-template-columns: repeat(2, 1fr);
    }
    .ecosystem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Course marketplace ─────────────────────────────────────────────── */
.cm-catalog { padding-bottom: 64px; }

.cm-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #2563eb 100%);
    color: #fff;
    padding: 72px 0 64px;
}
.cm-hero__inner { max-width: 720px; }
.cm-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 12px;
}
.cm-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
}
.cm-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 28px;
}
.cm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.cm-hero__actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}
.cm-hero__actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.cm-hero__note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.cm-skills-strip {
    background: #f4f7fc;
    padding: 40px 0;
    border-bottom: 1px solid #e6ecf8;
}
.cm-section-header { margin-bottom: 28px; }
.cm-section-header--compact h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.cm-section-header--compact p {
    color: #64748b;
    margin: 0;
}
.cm-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.cm-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cm-skills-grid--inline { margin-top: 8px; }
.cm-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cm-skill-chip:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.cm-catalog-main { padding: 48px 0 0; }
.cm-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.cm-search-form {
    display: flex;
    flex: 1;
    min-width: 240px;
    max-width: 520px;
    gap: 8px;
}
.cm-search-form .form-control {
    border-radius: 10px;
    border-color: #e2e8f0;
}

.cm-filters {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 100px;
}
.cm-filters__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 10px;
}
.cm-filters__group { margin-bottom: 20px; }
.cm-filters__group:last-of-type { margin-bottom: 0; }
.cm-filters__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cm-filters__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.92rem;
    color: #334155;
    cursor: pointer;
    margin: 0;
}
.cm-filters__option input { accent-color: var(--primary-color); }
.cm-filters__actions { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }

.cm-results-header { margin-bottom: 24px; }
.cm-results-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cm-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.cm-course-grid--related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.cm-course-card {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.cm-course-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}
.cm-course-card__cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}
.cm-course-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.cm-course-card:hover .cm-course-card__cover img { transform: scale(1.03); }
.cm-course-card__cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.35;
}
.cm-course-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
}
.cm-course-card__badge--featured { background: #f59e0b; color: #0f172a; }
.cm-course-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.cm-course-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.75rem;
}
.cm-course-card__category {
    color: var(--primary-color);
    font-weight: 700;
}
.cm-course-card__type { color: #64748b; }
.cm-course-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.cm-course-card__title a {
    color: #0f172a;
    text-decoration: none;
}
.cm-course-card__title a:hover { color: var(--primary-color); }
.cm-course-card__trainer {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cm-course-card__trainer-photo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.cm-course-card__trainer-name {
    font-size: 0.82rem;
    color: #64748b;
}
.cm-course-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.78rem;
    color: #64748b;
}
.cm-course-card__rating { color: #f59e0b; font-weight: 600; }
.cm-course-card__rating .text-muted { color: #94a3b8 !important; font-weight: 400; }
.cm-course-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}
.cm-course-card__price-free {
    font-weight: 800;
    color: #059669;
    font-size: 1.05rem;
}
.cm-course-card__price-amount {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem;
}
.cm-course-card__enroll { border-radius: 8px; font-weight: 600; }

.cm-pagination { margin-top: 32px; }

.cm-empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 28px;
}
.cm-empty-state__intro { margin-bottom: 28px; }
.cm-empty-state__intro h3 { font-weight: 800; margin-bottom: 8px; }
.cm-empty-block { margin-bottom: 32px; }
.cm-empty-block:last-child { margin-bottom: 0; }
.cm-empty-block h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cm-trainers {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid #e6ecf8;
}
.cm-trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.cm-trainer-card {
    background: #f8fafc;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cm-trainer-card__avatar img,
.cm-trainer-card__avatar .entity-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}
.cm-trainer-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}
.cm-trainer-card__spec {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}
.cm-trainer-card__stats {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px;
    font-size: 0.82rem;
    color: #64748b;
}
.cm-trainer-card__stats li { margin-bottom: 4px; }

/* Course detail */
.cm-detail { padding-bottom: 64px; }
.cm-detail-hero {
    position: relative;
    margin-bottom: 0;
}
.cm-detail-hero__banner {
    height: 280px;
    overflow: hidden;
    background: #1e3a5f;
}
.cm-detail-hero__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-detail-hero__banner-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #2563eb);
}
.cm-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 60%);
    pointer-events: none;
}
.cm-detail-hero__content {
    position: relative;
    margin-top: -100px;
    padding-bottom: 32px;
    color: #fff;
    z-index: 1;
}
.cm-detail-hero__content h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    max-width: 800px;
    margin-bottom: 8px;
}
.cm-detail-hero__subtitle { color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 640px; }
.cm-detail-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.cm-detail-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(4px);
}
.cm-detail-badge--accent { background: #f59e0b; color: #0f172a; }

.cm-detail-body { padding-top: 32px; }
.cm-detail-block {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}
.cm-detail-block h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.cm-detail-prose { color: #475569; line-height: 1.7; }

.cm-trainer-profile__row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.cm-trainer-profile__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.cm-trainer-profile h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }

.cm-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.cm-check-list li {
    padding-left: 28px;
    position: relative;
    color: #334155;
    line-height: 1.5;
}
.cm-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 800;
}

.cm-bullet-list {
    padding-left: 1.2rem;
    color: #475569;
    line-height: 1.65;
}

.cm-curriculum__module {
    border: 1px solid #e6ecf8;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.cm-curriculum__module summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    background: #f8fafc;
    font-size: 0.95rem;
    list-style: none;
}
.cm-curriculum__module summary::-webkit-details-marker { display: none; }
.cm-curriculum__module summary span { color: #64748b; font-size: 0.85rem; }
.cm-curriculum__module ul {
    list-style: none;
    padding: 8px 16px 12px;
    margin: 0;
}
.cm-curriculum__module li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}
.cm-curriculum__module li:last-child { border-bottom: none; }
.cm-curriculum__flat { list-style: none; padding: 0; margin: 0; }

.cm-skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-skill-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.cm-skill-tag--link {
    text-decoration: none;
    transition: background 0.2s;
}
.cm-skill-tag--link:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.cm-cert-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-color: #bfdbfe;
}
.cm-cert-block__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    flex-shrink: 0;
}
.cm-career-block {
    background: #f8fafc;
}

.cm-reviews { display: grid; gap: 16px; }
.cm-review {
    padding-bottom: 16px;
    border-bottom: 1px solid #e6ecf8;
}
.cm-review:last-child { border-bottom: none; padding-bottom: 0; }
.cm-review__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.cm-review__stars { color: #f59e0b; font-size: 0.9rem; }

.cm-enroll-card {
    top: 100px;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.cm-enroll-card__price { margin-bottom: 20px; }
.cm-enroll-card__price-label {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}
.cm-enroll-card__price.is-free .cm-enroll-card__price-label { color: #059669; }
.cm-enroll-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-top: 1px solid #f1f5f9;
}
.cm-enroll-card__meta li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}
.cm-enroll-card__meta li span { color: #64748b; }
.cm-enroll-card__note {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin: 16px 0 0;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .cm-filters {
        position: static;
        margin-bottom: 8px;
    }
    .cm-detail-hero__banner { height: 200px; }
    .cm-detail-hero__content { margin-top: -60px; }
    .cm-trainer-profile__row { flex-direction: column; }
}

@media (max-width: 767px) {
    .cm-hero { padding: 48px 0 40px; }
    .cm-hero__actions .btn-lg { width: 100%; }
    .cm-catalog-toolbar { flex-direction: column; align-items: stretch; }
    .cm-search-form { max-width: none; }
    .cm-course-grid { grid-template-columns: 1fr; }
}

/* ── Certifications marketplace ─────────────────────────────────────── */
.certm-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 48px;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 45%, #eef6ff 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}
.certm-hero__bg,
.certm-hero__glow {
    position: absolute;
    pointer-events: none;
}
.certm-hero__bg { inset: 0; }
.certm-hero__glow {
    border-radius: 50%;
    filter: blur(70px);
}
.certm-hero__glow--1 {
    width: 360px;
    height: 360px;
    background: rgba(37, 99, 235, 0.12);
    top: -100px;
    right: -40px;
}
.certm-hero__glow--2 {
    width: 280px;
    height: 280px;
    background: rgba(20, 184, 166, 0.1);
    bottom: -80px;
    left: 8%;
}
.certm-hero .container { position: relative; z-index: 1; }
.certm-hero__inner { max-width: 760px; }
.certm-hero__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.certm-hero h1 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 14px;
}
.certm-hero p {
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.65;
    max-width: 640px;
    margin: 0;
}
.certm-hero__flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}
.certm-hero__flow i { color: #94a3b8; font-size: 0.75rem; }
.certm-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.certm-section { padding: 56px 0; }
.certm-section--surface { background: #f8fafc; }
.certm-section--skills { background: #fff; border-top: 1px solid #e6ecf8; }
.certm-section--timeline { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.certm-section--recent { background: #fff; border-top: 1px solid #e6ecf8; }
.certm-section-head { margin-bottom: 28px; }
.certm-section-head--center { text-align: center; max-width: 640px; margin-inline: auto; }
.certm-section-head h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.certm-section-head p {
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}
.certm-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.certm-cert-card {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.certm-cert-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.certm-cert-card--live { border-left: 3px solid #2563eb; }
.certm-cert-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.certm-cert-card__access {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}
.certm-cert-card__access--free {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}
.certm-cert-card__live {
    font-size: 0.68rem;
    font-weight: 700;
    color: #2563eb;
}
.certm-cert-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    color: #0f172a;
}
.certm-cert-card__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    flex: 1;
}
.certm-cert-card__meta li {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.certm-cert-card__meta i { color: #2563eb; }
.certm-cert-card__footer { margin-top: auto; padding-top: 4px; }
.certm-cert-card__note { font-size: 0.78rem; color: #94a3b8; }
.certm-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.certm-skill-card {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 14px;
    padding: 16px;
}
.certm-skill-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.certm-skill-card__head strong {
    font-size: 0.95rem;
    color: #0f172a;
}
.certm-skill-card__head span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2563eb;
    white-space: nowrap;
}
.certm-skill-card__bar {
    height: 6px;
    background: #e6ecf8;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}
.certm-skill-card__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #14b8a6);
}
.certm-skill-card__jobs {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0 0 10px;
}
.certm-skill-card__links {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    font-weight: 600;
}
.certm-skill-card__links a { text-decoration: none; }
.certm-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0;
    position: relative;
}
.certm-timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #14b8a6);
    opacity: 0.25;
}
.certm-timeline__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 16px 0;
}
.certm-timeline__marker {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6ecf8;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.certm-timeline__step {
    font-size: 0.62rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.06em;
}
.certm-timeline__marker i {
    font-size: 1rem;
    color: #0f172a;
    line-height: 1;
}
.certm-timeline__body h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #0f172a;
}
.certm-timeline__body p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 560px;
}
.certm-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.certm-recent-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e6ecf8;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.certm-recent-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    color: inherit;
}
.certm-recent-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.certm-recent-card strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}
.certm-recent-card span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}
.certm-recent-card em {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: normal;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .certm-hero { padding: 48px 0 36px; }
    .certm-hero__cta .btn-lg { width: 100%; }
    .certm-timeline::before { left: 22px; }
    .certm-timeline__item { grid-template-columns: 44px 1fr; gap: 12px; }
    .certm-timeline__marker { width: 44px; height: 44px; border-radius: 12px; }
}

/* ── Jobs marketplace v2 (compact) ──────────────────────────────────── */
.jm-jobs--v2 { background: #f8fafc; padding-bottom: 32px; }

.jm-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 28px;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.03) 0%,
        rgba(37, 99, 235, 0.07) 48%,
        rgba(20, 184, 166, 0.06) 100%
    );
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.jm-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.jm-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}
.jm-hero__glow--1 {
    width: 320px;
    height: 320px;
    background: #2563eb;
    top: -80px;
    right: 8%;
}
.jm-hero__glow--2 {
    width: 260px;
    height: 260px;
    background: #14b8a6;
    bottom: -60px;
    right: 28%;
}
.jm-hero__glow--3 {
    width: 200px;
    height: 200px;
    background: #0f172a;
    top: 20%;
    left: 55%;
    opacity: 0.2;
}
.jm-hero .container {
    position: relative;
    z-index: 1;
}
.jm-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
}
.jm-hero__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 14px;
}
.jm-hero h1 {
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.jm-hero__copy p {
    color: #475569;
    margin: 0 0 22px;
    max-width: 520px;
    line-height: 1.65;
    font-size: 1.02rem;
}
.jm-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.jm-hero__btn-outline {
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.2) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(6px);
}
.jm-hero__btn-outline:hover {
    background: #fff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}
.jm-hero__trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.jm-hero__trust li {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}
.jm-hero__trust li::before {
    content: "✓";
    color: #14b8a6;
    font-weight: 800;
    margin-right: 6px;
}
.jm-hero__visual {
    position: relative;
    min-height: 340px;
}
.jm-hero__float-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 16px;
    text-decoration: none;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: jm-hero-float 5s ease-in-out infinite;
}
.jm-hero__float-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.18);
    color: #0f172a;
}
.jm-hero__float-card--1 {
    width: 200px;
    top: 8%;
    left: 4%;
    animation-delay: 0s;
}
.jm-hero__float-card--2 {
    width: 188px;
    top: 0;
    right: 6%;
    animation-delay: 0.8s;
}
.jm-hero__float-card--3 {
    width: 176px;
    bottom: 18%;
    left: 18%;
    animation-delay: 1.4s;
}
.jm-hero__float-card--4 {
    width: 192px;
    bottom: 6%;
    right: 0;
    animation-delay: 2s;
}
.jm-hero__float-role {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}
.jm-hero__float-loc {
    font-size: 0.78rem;
    color: #64748b;
}
.jm-hero__float-salary {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 2px;
}
@keyframes jm-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.jm-hero__popular {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.jm-hero__popular-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 12px;
}
.jm-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.jm-hero__pill {
    display: inline-flex;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.jm-hero__pill:hover {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.35);
    background: #fff;
}

.jm-search {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e6ecf8;
    position: sticky;
    top: 72px;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.jm-search__form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.jm-search__field { flex: 1; min-width: 160px; }
.jm-search__field--grow { flex: 2; min-width: 220px; }
.jm-search__field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 6px;
}
.jm-search__field .form-control {
    border-radius: 10px;
    border-color: #e2e8f0;
    min-height: 46px;
}
.jm-search__action { flex: 0 0 auto; }
.jm-search__action .btn { min-height: 46px; padding-inline: 28px; }

.jm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.jm-section-head h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}
.jm-section-head a {
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.jm-employers {
    padding: 24px 0;
    background: #fff;
    border-bottom: 1px solid #e6ecf8;
}
.jm-employers__row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.jm-employer-card {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    background: #f8fafc;
    border: 1px solid #e6ecf8;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.jm-employer-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
    color: #0f172a;
}
.jm-employer-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.jm-employer-card span {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}
.jm-employer-card small {
    font-size: 0.72rem;
    color: #64748b;
}

.jm-featured-jobs {
    padding: 24px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e6ecf8;
}
.jm-featured-jobs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.jm-listings { padding: 24px 0 0; }
.jm-listings .box-filters-job {
    margin-bottom: 10px;
    padding: 0;
    background: transparent;
    border: none;
}
.jm-listings .box-filters-job .text-small { font-size: 0.82rem; color: #64748b; }
.jm-sidebar-filters .sidebar-shadow,
.jm-sidebar-filters .sidebar-shadow.none-shadow {
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 12px;
    padding: 0;
}
.jm-sidebar-filters .sidebar-filters {
    padding: 16px 18px;
}
.jm-sidebar-filters .filter-block h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}
.jm-sidebar-filters .list-checkbox li {
    min-height: 34px;
    padding-right: 38px;
    margin-bottom: 2px;
}
.jm-sidebar-filters .list-checkbox .number-item {
    top: 50%;
}
.jm-sidebar-filters .cb-container {
    margin-bottom: 0;
    width: 100%;
}
.jm-sidebar-filters .select-style .form-control {
    width: 100%;
    min-height: 42px;
}

.jm-card-wrap { margin-bottom: 8px; }
.jm-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 10px;
    padding: 12px 14px;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.jm-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.jm-card--compact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.jm-card__logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e6ecf8;
    background: #f8fafc;
    display: block;
}
.jm-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.jm-card__logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.jm-card__logo-fallback--lg {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}
.jm-card__body { min-width: 0; }
.jm-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.3;
}
.jm-card__title a { color: #0f172a; text-decoration: none; }
.jm-card__title a:hover { color: var(--primary-color); }
.jm-card__company {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 4px;
}
.jm-card__verified {
    color: #059669;
    font-weight: 700;
    margin-left: 4px;
}
.jm-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: 0.76rem;
    color: #64748b;
}
.jm-card__meta span:not(:first-child)::before {
    content: "·";
    margin: 0 7px;
    color: #cbd5e1;
    font-weight: 700;
}
.jm-card__salary { color: #0f172a; font-weight: 700; }
.jm-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}
.jm-card__skills span {
    font-size: 0.7rem;
    padding: 2px 7px;
    background: #f1f5f9;
    border-radius: 4px;
    color: #475569;
}
.jm-card__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    min-width: 118px;
    flex-shrink: 0;
}
.jm-card--compact .jm-card__aside {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.jm-card__date {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
    line-height: 1.2;
}
.jm-card__actions { display: flex; align-items: center; gap: 8px; }
.jm-card__save {
    color: #94a3b8;
    font-size: 1rem;
    text-decoration: none;
}
.jm-card__save.is-saved,
.jm-card__save:hover { color: #f59e0b; }

@media (max-width: 767px) {
    .jm-card:not(.jm-card--compact) {
        grid-template-columns: 40px 1fr;
    }
    .jm-card:not(.jm-card--compact) .jm-card__aside {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-width: 0;
        padding-top: 8px;
        border-top: 1px solid #f1f5f9;
    }
}

@media (max-width: 991px) {
    .jm-hero { padding: 36px 0 24px; }
    .jm-hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .jm-hero__visual {
        min-height: 280px;
        max-width: 420px;
        margin: 0 auto;
    }
    .jm-hero__float-card--1 { left: 0; }
    .jm-hero__float-card--4 { right: 0; }
}

@media (max-width: 767px) {
    .jm-hero h1 { font-size: 1.85rem; }
    .jm-hero__cta .btn-lg { width: 100%; }
    .jm-hero__visual {
        min-height: 240px;
        transform: scale(0.92);
        transform-origin: top center;
    }
    .jm-search { position: static; }
    .jm-search__form { flex-direction: column; }
    .jm-search__action,
    .jm-search__action .btn { width: 100%; }
    .jm-featured-jobs__grid { grid-template-columns: 1fr; }
}

