/* Hero Section — tokens & base in variables.css, theme.css */
.hero-section { padding: 30px 0; background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%); }
.hero-badge {
    background: var(--brand-light-purple);
    color: var(--brand-purple);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-title { font-size: 4rem; line-height: 1.1; letter-spacing: -1.5px; }

.trust-metrics { font-size: 0.85rem; font-weight: 500; }
.trust-metrics i { color: #0715e2; font-size: 1.2rem; }

/* Complex Dashboard UI Replica */
.dashboard-wrapper { position: relative; width: 100%; height: 500px; }
.dash-main {
    position: absolute;
    left: 0; top: 0;
    width: 380px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
    z-index: 2;
}
.dash-sidebar { width: 80px; background: var(--brand-dark); padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.dash-sidebar div { width: 40px; height: 40px; border-radius: 8px; display: flex; justify-content: center; align-items: center; color: rgba(255,255,255,0.5); }
.dash-sidebar .active { background: var(--brand-purple); color: white; }

.dash-content { flex: 1; padding: 24px; }
.dash-card { background: #f8f9fa; border-radius: 12px; padding: 15px; margin-bottom: 15px; }
.dash-number { font-size: 2rem; font-weight: 800; line-height: 1; }

/* Floating Cards on Hero */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    width: 240px;
    z-index: 3;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.floating-card .icon-box {
    width: 32px; height: 32px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0;
}
.fc-1 { right: -40px; top: 40px; }
.fc-2 { right: -80px; top: 160px; }
.fc-3 { right: -20px; top: 280px; }

/* Stats Bar */
.stats-bar { border: 1px solid #eaeaea; border-radius: 10px; padding: 30px 0; }
.stat-icon { font-size: 2rem; color: var(--brand-purple); opacity: 0.8; }

/* Problem Section */
.broken-card { background: var(--danger-light); border: 1px dashed #FCA5A5; border-radius: 16px; padding: 30px; position: relative; }
.system-card {
    border: none;
    border-left: 2px solid #E2E8F0;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.system-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Steps Section */
.worksurely-flow-card {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px 20px;
}
.worksurely-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.flow-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
    position: relative;
}
.flow-step-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: -10px;
    transform: translateX(-35%);
}
.flow-step-icon {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.flow-step-content { max-width: 200px; }
.flow-arrow {
    color: #4338CA;
    font-size: 1.6rem;
    align-items: center;
    gap: 2px;
}
.step-1 { background: #2563EB; }
.step-2 { background: #4F46E5; }
.step-3 { background: #10B981; }
.icon-1 { background: #EFF6FF; color: #2563EB; }
.icon-2 { background: #F5F3FF; color: #4F46E5; }
.icon-3 { background: #ECFDF5; color: #10B981; }

/* VS Comparison */
.comparison-shell {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
}
.vs-card-old { background: #FFF6F6; border: 1px solid #FEE2E2; border-radius: 12px; padding: 24px; }
.vs-card-new { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 24px; }
.comparison-shell .vs-circle {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: white;
    border: 1px solid #E5E7EB;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #111827;
    font-size: 1.35rem;
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.pricing-slab {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.pricing-left,
.pricing-right {
    padding: 26px;
}
.pricing-left {
    border-right: 1px solid #E5E7EB;
}

.role-card {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.role-candidate { background: #EFF6FF; }
.role-recruiter { background: #F5F3FF; }
.role-avatar {
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.quick-cta-card {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px 20px;
    background: #fff;
}

/* Cities */
.opportunity-section { border-color: #E5E7EB !important; }
.city-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.city-tile {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    background: #fff;
}
.city-icon {
    height: 46px;
    margin-bottom: 8px;
    font-size: 2.4rem;
    color: #6366F1;
    opacity: 0.9;
}

/* Testimonials */
.outcomes-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}
.outcomes-viewport {
    overflow: hidden;
}
.outcomes-list {
    display: flex;
    gap: 12px;
    transition: transform 0.35s ease;
    will-change: transform;
}
.outcome-card {
    flex: 0 0 calc((100% - 24px) / 3);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    font-size: 0.92rem;
}
.outcome-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #D1D5DB;
    border: none;
    padding: 0;
}
.carousel-dots .dot.active {
    background: #4F46E5;
}

/* Bottom CTA & Footer */
.bottom-cta {
    background: linear-gradient(92deg, #031B66 0%, #1B2DB8 50%, #7E22CE 100%);
    color: #fff;
    border-radius: 14px;
    margin: 36px 0;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.bottom-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bottom-cta-left h2 {
    font-size: 2rem;
    line-height: 1.15;
}
.bottom-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.bottom-cta-subtext {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.3rem;
}
.bottom-cta-right {
    text-align: center;
    min-width: 320px;
}
.bottom-cta-right .btn {
    border-radius: 12px;
    color: #312E81 !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
}
.bottom-cta-note {
    color: rgba(255, 255, 255, 0.82);
    margin-top: 10px;
    font-size: 1.1rem;
}
.footer-dark {
    background: #020a3d;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr) auto;
    gap: 26px;
    align-items: start;
}
.footer-logo {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.footer-logo-img {
    height: 30px;
    width: auto;
    display: block;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    font-size: 0.92rem;
}
.footer-col h6,
.footer-social h6 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1rem;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 4px;
    display: block;
}
.footer-social a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    margin-right: 12px;
}

@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .dashboard-wrapper { display: none; } /* Hide complex dashboard on small screens to match image flow */
    .worksurely-flow-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .flow-step {
        justify-content: flex-start;
    }
    .flow-step-number {
        position: static;
        transform: none;
        flex-shrink: 0;
    }
    .flow-step-icon {
        width: 64px;
        height: 64px;
        font-size: 1.7rem;
    }
    .flow-step-content { max-width: none; }
    .comparison-shell .vs-circle {
        position: static;
        transform: none;
        margin: 10px auto;
    }
    .pricing-slab {
        grid-template-columns: 1fr;
    }
    .pricing-left {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }
    .role-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .role-avatar {
        width: 100%;
        height: 180px;
    }
    .city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .outcomes-wrap {
        grid-template-columns: 1fr;
    }
    .outcome-card {
        flex-basis: calc((100% - 12px) / 2);
    }
}
@media (max-width: 767px) {
    .stats-bar {
        padding: 18px 12px;
    }
    .stats-items-row .stats-item {
        justify-content: flex-start !important;
        text-align: left;
        padding-left: 6px;
        padding-right: 6px;
    }
    .stats-items-row .stats-item > div:first-child {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0;
    }
    .stats-items-row .stats-item h3 {
        font-size: 1.35rem;
    }

    .problem-box {
        padding: 12px !important;
    }
    .problem-illustration {
        max-width: 220px;
        height: auto !important;
        margin: 0 auto 10px;
        display: block;
    }
    .problem-box h2 {
        font-size: 1.65rem;
        text-align: center;
        justify-content: center;
    }
    .problem-box .system-card {
        margin-top: 12px;
        padding: 16px;
        border-left-width: 3px;
    }

    .smart-features-row {
        gap: 10px;
        margin-bottom: 1.5rem !important;
    }
    .smart-feature-item {
        justify-content: flex-start !important;
        border: 1px solid #E5E7EB;
        border-radius: 12px;
        padding: 12px;
        margin: 0 6px;
    }
    .smart-feature-middle {
        border-left: 1px solid #E5E7EB !important;
        border-right: 1px solid #E5E7EB !important;
    }
    .smart-feature-item > div:first-child {
        width: 46px !important;
        height: 46px !important;
        flex-shrink: 0;
    }
    .smart-feature-item span {
        font-size: 0.9rem !important;
        line-height: 1.35;
    }

    .outcome-card {
        flex-basis: 100%;
    }
    .bottom-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .bottom-cta-left h2 {
        font-size: 1.6rem;
    }
    .bottom-cta-subtext {
        font-size: 1rem;
    }
    .bottom-cta-right {
        width: 100%;
        min-width: 0;
        text-align: left;
    }
    .bottom-cta-right .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .footer-social {
        grid-column: 1 / -1;
    }
    section > .container,
    footer > .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* Job List Page */
.joblist-page {
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.joblist-hero {
    background: linear-gradient(160deg, #F5F7FF 0%, #EEF2FF 100%);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 26px 24px 22px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}
.hero-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EEF2FF;
    color: #4F46E5;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.joblist-hero h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.joblist-hero p {
    color: #64748B;
    margin-bottom: 16px;
}
.joblist-search-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto auto;
    align-items: stretch;
}
/* .search-field — see forms.css (single-bar layout, no nested borders) */

.joblist-quick-stats {
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}
.joblist-quick-stats > div {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.joblist-quick-stats > div:not(:last-child) {
    border-right: 1px solid #E5E7EB;
}
.joblist-quick-stats strong {
    font-size: 1.35rem;
    color: #0f172a;
}
.joblist-quick-stats span {
    color: #64748B;
    font-size: 0.82rem;
}

.joblist-filter-card {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    position: sticky;
    top: 90px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.joblist-filter-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
}
.filter-block {
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.filter-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}
.filter-toggle i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}
.filter-content {
    display: none;
}
.filter-block.is-open .filter-content {
    display: block;
}
.filter-block.is-open .filter-toggle i {
    transform: rotate(180deg);
}
.filter-block label:not(.cb-container) {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 7px;
}
.filter-block label:not(.cb-container) > span {
    margin-left: auto;
    font-size: 0.75rem;
    color: #6366F1;
    background: #EEF2FF;
    border-radius: 8px;
    min-width: 22px;
    text-align: center;
    padding: 1px 6px;
}

/* Job filter checkboxes/radios — keep control + label on one line */
.joblist-filter-card .filter-block label.cb-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    max-width: 100%;
    margin-bottom: 0.35rem;
}

.joblist-filter-card .filter-block label.cb-container .text-small {
    margin-left: 0;
    background: transparent;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    text-align: left;
    font-size: 0.88rem;
    color: #475569;
}

.joblist-filter-card .filter-block label.cb-container .checkmark {
    margin-left: 0;
    position: relative;
    top: auto;
    left: auto;
}

.joblist-filter-card .list-checkbox li .number-item {
    flex-shrink: 0;
    margin-left: 0.35rem;
    padding: 2px 8px;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #6366f1;
    background: #eef2ff;
    border-radius: 8px;
    min-width: 1.5rem;
    text-align: center;
}
.salary-slider-wrap {
    position: relative;
    height: 24px;
}
.salary-slider-wrap input[type="range"] {
    position: absolute;
    left: 0;
    top: 4px;
    width: 100%;
}
.joblist-empty-state {
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 28px;
}
.joblist-empty-state p {
    margin: 0;
    color: #0f172a;
    font-weight: 600;
}
.joblist-results {
    display: grid;
    gap: 14px;
}
.job-card {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px 20px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
    border-color: #e0e7ff;
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.job-card-main {
    flex: 1;
    min-width: 0;
}

.job-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.job-card-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-card-logo-letter {
    font-weight: 700;
    font-size: 1.1rem;
    color: #4f46e5;
}

.job-card-headline h5 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.job-card-company {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.job-card-snippet {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.job-tag-skill {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
}

.job-card-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.joblist-results-list {
    display: grid;
    gap: 14px;
}

.joblist-results-head p strong {
    color: #0f172a;
}

.job-card h5 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.job-tags span {
    font-size: 0.75rem;
    background: #EEF2FF;
    color: #4F46E5;
    padding: 3px 8px;
    border-radius: 999px;
}
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.job-meta span {
    font-size: 0.78rem;
    color: #64748B;
}
.job-meta i {
    margin-right: 4px;
}

@media (max-width: 992px) {
    .joblist-search-bar {
        grid-template-columns: 1fr;
    }
    .joblist-filter-card {
        position: static;
    }
    .joblist-quick-stats {
        grid-template-columns: 1fr;
    }
    .joblist-quick-stats > div:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }
    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
.text-blue{
    color: #0715e2;
}

/* Auth Pages */
.auth-page {
    background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
    padding: 40px 0 60px;
    min-height: calc(100vh - 80px);
}
.auth-card {
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fff;
}
.auth-left {
    padding: 34px 30px;
    background: linear-gradient(165deg, #F4F7FF 0%, #EEF2FF 100%);
}
.auth-left h1 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 12px 0;
}
.auth-left p {
    color: #475569;
    margin-bottom: 16px;
}
.auth-left ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.auth-left li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 500;
}
.auth-left li i {
    color: #4F46E5;
}

.auth-right {
    padding: 34px 30px;
}
.auth-right h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
    font-weight: 700;
}
.auth-right form {
    display: grid;
    gap: 8px;
}
.auth-right .alert {
    border-radius: 10px;
    font-size: 0.875rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 4px;
}
/* Auth form fields — see forms.css (.ws-theme) */
.auth-alt-text {
    margin: 14px 0 0;
    font-size: 0.9rem;
    color: #64748B;
}
.auth-alt-text a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 992px) {
    .auth-card {
        grid-template-columns: 1fr;
    }
}

/* Job Details Page */
.jobdetails-page {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}
.jobdetails-grid {
    display: grid;
    grid-template-columns: 44px 1fr 280px;
    gap: 18px;
    align-items: start;
}
.jobdetails-share {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.jobdetails-share a {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
}
.jobdetails-share a:nth-child(1) { background: #22C55E; }
.jobdetails-share a:nth-child(2) { background: #1877F2; }
.jobdetails-share a:nth-child(3) { background: #111827; }
.jobdetails-share a:nth-child(4) { background: #0A66C2; }

.jobdetails-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    background: #fff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}
.jobdetails-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.jobdetails-title {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.65rem;
}
.jobdetails-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
}
.jobdetails-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.jobdetails-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
    font-size: 0.72rem;
}
.jobdetails-pill-muted {
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
}
.jobdetails-overview-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem;
}
.jobdetails-overview-note {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
    margin: 0 0 0.75rem;
}
.jobdetails-overview-note .text-danger {
    font-style: normal;
}
.jobdetails-body {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.75;
}
.jobdetails-body h3,
.jobdetails-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.25rem 0 0.5rem;
}
.jobdetails-body ul,
.jobdetails-body ol {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}
.jobdetails-actions-share {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.jobdetails-actions-share > span {
    font-size: 0.75rem;
    color: #64748b;
}
.jobdetails-share-telegram { background: #0088cc !important; }
.jobdetails-share-copy {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569 !important;
    width: auto !important;
    height: auto !important;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    border-radius: 6px;
}
.jobdetails-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.jobdetails-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}
.jobdetails-card h6 {
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.overview-grid {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-bottom: 14px;
}
.overview-grid p {
    margin: 0;
    font-size: 0.78rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}
.overview-grid i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    font-size: 0.8rem;
}
.overview-grid p:nth-child(1) i { color: #2563EB; background: #DBEAFE; } /* Industry */
.overview-grid p:nth-child(2) i { color: #7C3AED; background: #EDE9FE; } /* Nature */
.overview-grid p:nth-child(3) i { color: #0EA5E9; background: #E0F2FE; } /* Work mode */
.overview-grid p:nth-child(4) i { color: #16A34A; background: #DCFCE7; } /* Salary */
.overview-grid p:nth-child(5) i { color: #8B5CF6; background: #EDE9FE; } /* Experience */
.overview-grid p:nth-child(6) i { color: #F59E0B; background: #FEF3C7; } /* Job type */
.overview-grid p:nth-child(7) i { color: #EC4899; background: #FCE7F3; } /* Interview */
.overview-grid p:nth-child(8) i { color: #DC2626; background: #FEE2E2; } /* Location */
}
.overview-grid p.overview-location {
    grid-column: 1 / -1;
}
.jobdetails-card h4 {
    font-size: 1.4rem;
    margin-top: 12px;
    margin-bottom: 8px;
}
.jobdetails-card p,
.jobdetails-card li {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.7;
}
.jobdetails-card ul {
    margin-bottom: 10px;
    padding-left: 16px;
}
.jobdetails-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #E5E7EB;
    margin-top: 14px;
    padding-top: 14px;
    flex-wrap: wrap;
}
.icon-link {
    color: #64748B;
    text-decoration: none;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jobdetails-side {
    display: grid;
    gap: 12px;
}
.side-card {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px;
}
.side-card h6 {
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.side-card p {
    font-size: 0.78rem;
    color: #334155;
}
.jobdetails-company {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.jobdetails-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.jobdetails-company-letter {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #4f46e5;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    flex-shrink: 0;
}
.jobdetails-company-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #0f172a;
}
.jobdetails-company-loc {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.35rem;
}
.jobdetails-company-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}
.jobdetails-company-link:hover {
    text-decoration: underline;
}
.jobdetails-similar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.jobdetails-similar-item a {
    display: block;
    text-decoration: none;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.jobdetails-similar-item:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}
.jobdetails-similar-item h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem;
    line-height: 1.35;
}
.jobdetails-similar-item a:hover h6 {
    color: #4f46e5;
}
.jobdetails-similar-meta {
    font-size: 0.72rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}
.jobdetails-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.jobdetails-tag {
    display: inline-block;
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.jobdetails-tag:hover {
    background: #eef2ff;
    color: #4338ca;
}
.jobdetails-resource-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jobdetails-resource-list li + li {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid #f1f5f9;
}
.jobdetails-resource-list a {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.jobdetails-resource-list a:hover {
    color: #4f46e5;
}
.jobdetails-resource-list small {
    font-size: 0.7rem;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .jobdetails-grid {
        grid-template-columns: 1fr;
    }
    .jobdetails-share {
        position: static;
        flex-direction: row;
    }
    .jobdetails-side {
        grid-template-columns: 1fr;
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .jobdetails-actions-share {
        margin-left: 0;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px solid #f1f5f9;
    }
}

/* Homepage hero search (4 columns: 3 fields + submit) */
.hero-search-bar {
    background: #fff;
    border: 1px solid #DDE3F2;
    border-radius: 14px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 8px;
    align-items: center;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.05);
}

@media (max-width: 992px) {
    .hero-search-bar {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .trust-metrics .col-sm-4 {
        margin-bottom: 0.5rem;
    }
}

/* Legacy job list cards (until full migration) */
.joblist-results .display-list {
    display: grid;
    gap: 14px;
}
.joblist-results .display-list > a {
    text-decoration: none;
    color: inherit;
}
.joblist-results .card-grid-2 {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.04);
    transition: box-shadow 0.2s ease;
}
.joblist-results .card-grid-2:hover {
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.08);
}
.joblist-results .card-grid-2 .col-xl-12 {
    width: 100%;
    max-width: 100%;
    padding: 0;
}
.joblist-results .name-job {
    font-weight: 700;
    color: #0f172a;
}
.joblist-results .card-block-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.joblist-results .btn-grey-small {
    background: #EEF2FF;
    color: #4F46E5;
    border: none;
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 3px 8px;
}

/* Sidebar filters compatibility */
.joblist-filter-card .list-checkbox {
    list-style: none;
    padding: 0;
    margin: 0;
}
.joblist-filter-card .list-checkbox li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.joblist-filter-card .cb-container {
    font-size: 0.88rem;
}
.joblist-filter-card .number-item {
    color: #64748B;
    font-size: 0.8rem;
}
.joblist-filter-card .medium-heading {
    font-size: 0.95rem;
    font-weight: 700;
}

.joblist-filter-card #minSalary,
.joblist-filter-card #maxSalary {
    background: #eef2ff !important;
    color: #4338ca !important;
    border: 1px solid #e0e7ff;
    font-weight: 600;
}

/* Pagination */
.paginations {
    margin-top: 24px;
}
.paginations .pager {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.paginations .pager a,
.paginations .pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    text-decoration: none;
    color: #334155;
    font-size: 0.88rem;
}
.paginations .pager a.active,
.paginations .pager-number.active {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
}
.paginations .pager .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Job details bootstrap layout override */
.jobdetails-page .jobdetails-grid.row {
    display: flex;
    flex-wrap: wrap;
}
.jobdetails-page .box-border-single {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}
.jobdetails-page .sidebar-border {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
}

/* Select2 inside search fields */
.search-field .select2-container {
    width: 100% !important;
}
.search-field .select2-selection {
    border: none !important;
    background: transparent !important;
    min-height: auto !important;
    height: auto !important;
}
.search-field .select2-selection__rendered {
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* —— Community page —— */
.ws-community-page {
    background: linear-gradient(180deg, #fafbff 0%, #fff 120px);
}

.ws-community-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
}

.ws-community-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ws-cat-pill {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ws-cat-pill:hover {
    border-color: #c7d2fe;
    background: #f8fafc;
    color: #4f46e5;
}

.ws-cat-pill.active {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4338ca;
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.ws-community-jobs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ws-community-job-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ws-community-job-item:hover {
    border-color: #e0e7ff;
    background: #fafbff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    color: inherit;
}

.ws-community-job-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.ws-community-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-community-job-letter {
    font-weight: 700;
    color: #4f46e5;
    font-size: 1rem;
}

.ws-community-job-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ws-community-job-meta strong {
    font-size: 0.875rem;
    line-height: 1.35;
    color: #0f172a;
}

.ws-community-job-meta small {
    font-size: 0.75rem;
    color: #64748b;
}

.ws-community-feed-card {
    padding: 1.35rem 1.5rem 1.5rem;
}

.ws-community-feed-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.ws-community-count-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    white-space: nowrap;
}

.ws-community-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ws-community-post {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ws-community-post:hover {
    border-color: #e0e7ff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.ws-community-post-header {
    margin-bottom: 0.75rem;
}

.ws-community-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #4338ca;
    background: #eef2ff;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5rem;
}

.ws-community-question {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
}

.ws-community-post-media {
    margin: 0 0 0.85rem;
}

.ws-community-post-media img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.ws-community-post-body {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
}

.ws-community-post-body p:last-child {
    margin-bottom: 0;
}

.ws-community-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ws-community-post-footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.ws-upvote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ws-upvote-btn:hover {
    border-color: #c7d2fe;
    background: #f8fafc;
    color: #4f46e5;
}

.ws-upvote-btn i {
    font-size: 1rem;
}

.ws-upvote-btn .ws-upvote-count {
    min-width: 1.25rem;
    text-align: center;
    color: #4f46e5;
    font-weight: 700;
}

.ws-community-loading {
    text-align: center;
    padding: 1rem;
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 991.98px) {
    .ws-community-feed-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* —— Resources listing page —— */
.ws-resources-page {
    background: linear-gradient(180deg, #fafbff 0%, #fff 120px);
}

.ws-resources-filters {
    margin-bottom: 1.25rem;
}

.ws-resources-filters-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.ws-resources-filter-form .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.ws-resources-results-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #475569;
}

.ws-resources-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ws-resource-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    line-height: 1.3;
}

.ws-resource-tag-muted {
    color: #475569;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.ws-resource-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.15rem 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ws-resource-card:hover {
    border-color: #e0e7ff;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.ws-resource-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.ws-resource-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ws-resource-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 0.85rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ws-resource-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #94a3b8;
}

.ws-resource-read-more {
    font-weight: 600;
    color: #4f46e5;
    white-space: nowrap;
}

.ws-resource-card:hover .ws-resource-read-more {
    color: #4338ca;
}

.ws-resources-page .paginations {
    margin-top: 1.5rem;
}

/* —— Resource detail (single article) —— */
.ws-resource-detail {
    background: linear-gradient(180deg, #fafbff 0%, #fff 100px);
    font-family: var(--ws-font);
}

.ws-resource-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--ws-font);
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    color: #64748b;
}

.ws-resource-breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.ws-resource-breadcrumb a:hover {
    text-decoration: underline;
}

.ws-resource-breadcrumb-sep {
    color: #cbd5e1;
}

.ws-resource-breadcrumb-current {
    color: #475569;
    font-weight: 500;
}

.ws-resource-article {
    padding: 1.5rem 1.65rem;
}

.ws-resource-article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.ws-resource-article-title {
    font-family: var(--ws-font);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin: 0.75rem 0 0.85rem;
}

.ws-resource-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--ws-font);
    font-size: 0.8125rem;
    color: #64748b;
}

.ws-resource-article-meta i {
    color: #94a3b8;
}

.ws-resource-article-body {
    font-family: var(--ws-font);
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}

/* CMS / pasted HTML often sets inline font-family — force theme typography */
.ws-resource-article-body,
.ws-resource-article-body p,
.ws-resource-article-body span,
.ws-resource-article-body div,
.ws-resource-article-body li,
.ws-resource-article-body td,
.ws-resource-article-body th,
.ws-resource-article-body a,
.ws-resource-article-body strong,
.ws-resource-article-body em,
.ws-resource-article-body b,
.ws-resource-article-body i:not(.bi),
.ws-resource-article-body u,
.ws-resource-article-body label,
.ws-resource-article-body font,
.ws-resource-article-body blockquote,
.ws-resource-article-body figcaption,
.ws-resource-article-body h1,
.ws-resource-article-body h2,
.ws-resource-article-body h3,
.ws-resource-article-body h4,
.ws-resource-article-body h5,
.ws-resource-article-body h6,
.ws-resource-article-body pre,
.ws-resource-article-body code,
.ws-resource-article-body table,
.ws-resource-article-body [style*="font-family"],
.ws-resource-article-body [style*="font:"] {
    font-family: var(--ws-font) !important;
}

.ws-resource-article-body h2,
.ws-resource-article-body h3,
.ws-resource-article-body h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.ws-resource-article-body h2 {
    font-size: 1.35rem;
}

.ws-resource-article-body h3 {
    font-size: 1.15rem;
}

.ws-resource-article-body p {
    margin-bottom: 1rem;
}

.ws-resource-article-body ul,
.ws-resource-article-body ol {
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.ws-resource-article-body li {
    margin-bottom: 0.35rem;
}

.ws-resource-article-body a {
    color: #4f46e5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ws-resource-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid #e5e7eb;
}

.ws-resource-article-body blockquote {
    margin: 1.25rem 0;
    padding: 0.85rem 1.15rem;
    border-left: 4px solid #4f46e5;
    background: #f8fafc;
    border-radius: 0 10px 10px 0;
    color: #475569;
}

.ws-resource-article-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.ws-resource-related-head {
    margin-bottom: 0.25rem;
    font-family: var(--ws-font);
}

.ws-resource-detail .ws-resource-tag,
.ws-resource-detail .ws-section-title,
.ws-resource-detail .ws-section-subtitle {
    font-family: var(--ws-font);
}

.ws-resource-card-compact {
    padding: 1rem;
}

.ws-resource-card-compact .ws-resource-card-title {
    font-size: 0.92rem;
    -webkit-line-clamp: 2;
}

.ws-resource-card-compact .ws-resource-card-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    margin-bottom: 0.65rem;
}

@media (max-width: 767.98px) {
    .ws-resource-article {
        padding: 1.15rem 1.1rem;
    }
}

/* About page */
.ws-about-page {
    background: #f8fafc;
}

.ws-about-article {
    padding: 2rem 2.25rem;
}

.ws-about-heading {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.ws-about-article h4.ws-about-heading {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.ws-about-article h5.ws-about-heading {
    font-size: 1.1rem;
    margin-top: 1.75rem;
}

.ws-about-article p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.ws-about-article ul {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.ws-about-article ul li {
    margin-bottom: 0.35rem;
}

.ws-about-role-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    height: 100%;
}

.ws-about-role-card-alt {
    background: #faf5ff;
    border-color: #e9d5ff;
}

.ws-about-role-card h6 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.ws-about-role-card ul {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.ws-about-vm-card h6 {
    margin-bottom: 0.65rem;
}

.ws-about-vm-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
}

.ws-about-footnote {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 767.98px) {
    .ws-about-article {
        padding: 1.35rem 1.15rem;
    }
}

/* Support page */
.ws-support-page {
    background: #f8fafc;
}

.ws-support-article,
.ws-support-section,
.ws-support-thanks {
    padding: 1.5rem 1.65rem;
    margin-bottom: 1rem;
}

.ws-support-heading {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.ws-support-article h4.ws-support-heading {
    font-size: 1.35rem;
}

.ws-support-section h5.ws-support-heading {
    font-size: 1.1rem;
}

.ws-support-article p,
.ws-support-section p,
.ws-support-thanks p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.ws-support-section ul {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.ws-support-section ul li {
    margin-bottom: 0.35rem;
}

.ws-support-section a {
    color: #4f46e5;
    text-decoration: none;
}

.ws-support-section a:hover {
    text-decoration: underline;
}

.ws-support-mini-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    height: 100%;
}

.ws-support-mini-card-alt {
    background: #faf5ff;
    border-color: #e9d5ff;
}

.ws-support-mini-card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.ws-support-mini-card ul {
    margin-bottom: 0;
    font-size: 0.92rem;
    padding-left: 1.15rem;
}

.ws-support-share-box {
    margin-top: 1.25rem;
    padding: 1.15rem;
    border-radius: 10px;
    background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 100%);
    border: 1px solid #e0e7ff;
}

.ws-support-share-box p {
    color: #475569;
    margin-bottom: 0.75rem;
}

.ws-support-donate {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.ws-support-thanks {
    background: linear-gradient(160deg, #f5f3ff 0%, #fff 70%);
    border-color: #e9d5ff;
}

@media (max-width: 767.98px) {
    .ws-support-article,
    .ws-support-section,
    .ws-support-thanks {
        padding: 1.2rem 1.1rem;
    }
}

/* Legal / Privacy page */
.ws-legal-page {
    background: #f8fafc;
}

.ws-legal-article {
    padding: 2rem 2.25rem;
}

.ws-legal-effective {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.ws-legal-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.ws-legal-article h4.ws-legal-heading:first-of-type {
    margin-top: 0.5rem;
}

.ws-legal-article p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.ws-legal-article h6 {
    font-weight: 700;
    color: #334155;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.ws-legal-article ul {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.ws-legal-article ul li {
    margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
    .ws-legal-article {
        padding: 1.35rem 1.15rem;
    }
}

/* Help page */
.ws-help-page {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}

.ws-help-alert {
    border-radius: 10px;
    margin-bottom: 1rem;
}

.ws-help-topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ws-help-topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ws-help-topic-pill:hover {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.ws-help-topic-pill i {
    font-size: 0.85rem;
    color: #4f46e5;
}

.ws-help-faq-card {
    padding: 1.35rem 1.5rem;
}

.ws-help-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px !important;
    margin-bottom: 0.55rem;
    overflow: hidden;
    background: #fff;
}

.ws-help-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.ws-help-accordion .accordion-button {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    padding: 0.85rem 1rem;
    gap: 0.65rem;
    box-shadow: none !important;
    background: #fafbfc;
}

.ws-help-accordion .accordion-button:not(.collapsed) {
    background: #eef2ff;
    color: #312e81;
}

.ws-help-accordion .accordion-button::after {
    flex-shrink: 0;
}

.ws-help-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    flex-shrink: 0;
}

.ws-help-accordion .accordion-button:not(.collapsed) .ws-help-faq-icon {
    background: #fff;
    border-color: #c7d2fe;
}

.ws-help-accordion .accordion-body {
    padding: 0.85rem 1rem 1rem 3.5rem;
    font-size: 0.88rem;
    color: #475569;
}

.ws-help-faq-list {
    margin: 0;
    padding-left: 1.1rem;
}

.ws-help-faq-list li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.ws-help-faq-list li:last-child {
    margin-bottom: 0;
}

.ws-help-faq-list a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ws-help-side-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.ws-help-support-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.ws-help-support-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    color: #475569;
}

.ws-help-support-list li:last-child {
    margin-bottom: 0;
}

.ws-help-support-list li > i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.ws-help-support-list strong {
    display: block;
    color: #0f172a;
    font-size: 0.78rem;
    margin-bottom: 0.1rem;
}

.ws-help-support-list a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.ws-help-support-list a:hover {
    text-decoration: underline;
}

.ws-help-support-card,
.ws-help-form-card {
    padding: 1.25rem 1.35rem;
}

.ws-help-form-card {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .ws-help-form-card {
        position: static;
    }

    .ws-help-accordion .accordion-body {
        padding-left: 1rem;
    }
}

@media (max-width: 575.98px) {
    .ws-help-topic-pill {
        font-size: 0.7rem;
        padding: 0.3rem 0.55rem;
    }
}

/* Pricing page */
.ws-pricing-page {
    padding-top: 0.5rem;
}

.ws-pricing-plan-card {
    padding: 1.5rem;
}

.ws-pricing-features ul {
    margin-bottom: 0;
    padding-left: 1.1rem;
}

.ws-pricing-faq-card {
    padding: 1.25rem 1.5rem;
}

.ws-pricing-faq-link {
    font-weight: 600;
    color: var(--ws-primary, #2563eb);
    text-decoration: none;
}

.ws-pricing-faq-link:hover {
    text-decoration: underline;
}

.ws-pricing-testimonial {
    padding: 1.5rem;
}

.ws-pricing-testimonial-avatar img {
    border-radius: 50%;
    object-fit: cover;
}

.ws-pricing-newsletter {
    padding: 2rem 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.ws-pricing-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 520px;
}

.ws-pricing-newsletter-form .form-control {
    flex: 1 1 200px;
    min-width: 0;
}

@media (max-width: 575.98px) {
    .ws-pricing-newsletter-form {
        flex-direction: column;
    }

    .ws-pricing-newsletter-form .btn {
        width: 100%;
    }
}
