/* Editorial treatment for the debt-collection service page.
   The page intentionally reuses the setup-business visual language while
   keeping every debt-recovery component scoped to this document. */

.debt-collection-editorial {
    --debt-ink: var(--business-ink, #101828);
    --debt-muted: var(--business-muted, #475467);
    --debt-paper: var(--business-paper, #FFFFFF);
    --debt-wash: var(--business-wash, #F5F7FA);
    --debt-border: var(--business-border, #E4E7EC);
    --debt-navy: var(--business-navy, #1E3A8A);
    --debt-blue: var(--business-blue, #2D4CC8);
    background: var(--debt-paper);
    color: var(--debt-ink);
}

.debt-collection-editorial .service-landing-hero {
    min-height: 720px;
}

.debt-collection-editorial .debt-entry-map {
    background:
        linear-gradient(140deg, rgba(30, 58, 138, 0.06), transparent 58%),
        rgba(245, 247, 250, 0.94);
}

.debt-collection-editorial .debt-entry-map .business-entry-route strong {
    color: var(--debt-navy);
}

.debt-collection-editorial .service-landing-content {
    padding-top: clamp(72px, 8vw, 110px);
    padding-bottom: clamp(82px, 9vw, 128px);
    background: var(--debt-wash);
}

.debt-collection-editorial .service-landing-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
    gap: clamp(38px, 5vw, 70px);
    align-items: start;
}

.debt-collection-editorial .service-landing-layout > aside {
    position: static;
    align-self: stretch;
}

.debt-collection-editorial .service-landing-aside-top .service-sidebar-card {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    align-self: start;
    height: max-content;
}

/* Keep informational cards in the sidebar's normal flow. Only the lead form
   remains sticky; making every card sticky causes the stacked cards to occupy
   the same scroll position and visually overlap. */
.debt-collection-editorial .service-landing-aside-top .service-sidebar-card:not(.sidebar-form-card) {
    position: static;
    top: auto;
}

.debt-collection-editorial .service-main-content {
    min-width: 0;
}

.debt-collection-editorial .service-main-content > h2 {
    margin-top: 0;
}

.debt-collection-editorial .service-main-content > h2:first-child {
    max-width: 1000px;
    margin: 0 0 30px;
    padding-top: 28px;
    border-top: 1px solid var(--debt-border);
    color: var(--debt-ink);
    font-size: clamp(2.7rem, 5.2vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.058em;
    line-height: 0.99;
    text-wrap: balance;
    scroll-margin-top: 110px;
}

.debt-collection-editorial .legal-tab-content {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.debt-collection-editorial .legal-tab-content .service-checklist {
    border: 0;
    border-radius: 0;
    margin-left: 0;
    padding-left: 0;
}

.debt-collection-editorial .service-sidebar-card {
    border-color: var(--debt-border);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: none;
}

.debt-collection-editorial .sidebar-sticky-wrapper {
    gap: 16px;
}

.debt-collection-editorial .sidebar-sticky-wrapper-centered {
    justify-content: flex-start;
}

.debt-collection-editorial .sidebar-form-card {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    align-self: start;
    height: max-content;
    border-top: 4px solid var(--debt-navy);
}

.debt-collection-editorial .sidebar-lead-form input,
.debt-collection-editorial .sidebar-lead-form textarea {
    border-color: #D0D5DD;
    border-radius: 8px;
    background: #FFFFFF;
}

.debt-collection-editorial .sidebar-lead-form[data-form-id="debt-collection-sidebar"] .sidebar-form-submit {
    border-radius: 8px;
    background: var(--debt-navy);
}

.debt-collection-editorial .sidebar-lead-form[data-form-id="debt-collection-sidebar"] .sidebar-form-submit:hover {
    background: var(--navy-dark);
}

/* Opening cards and the five-stage recovery rail. */
.debt-collection-editorial .business-definition-card,
.debt-collection-editorial .business-strategy-card {
    margin: 0;
}

/* Keep the opening cards in sequence after moving foreign-creditor standing
   into the intro column: definition 01, standing 02, strategy 03. */
.debt-collection-editorial .business-foreign-card::after {
    content: "02";
}

.debt-collection-editorial .business-strategy-card::after {
    content: "03";
}

.debt-collection-editorial .recovery-flow {
    grid-column: 1 / -1;
    margin: 0;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--debt-border);
    border-top: 4px solid var(--debt-navy);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: none;
}

.debt-collection-editorial .recovery-flow:hover {
    border: 1px solid var(--debt-border);
    border-top: 4px solid var(--debt-navy);
    box-shadow: none;
}

.debt-collection-editorial .recovery-flow-head {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--debt-border);
}

.debt-collection-editorial .recovery-flow-head h3 {
    margin: 0 0 8px;
    color: var(--debt-ink);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.debt-collection-editorial .recovery-flow-head p,
.debt-collection-editorial .recovery-flow-note {
    color: var(--debt-muted);
}

.debt-collection-editorial .recovery-flow-note {
    margin: 44px auto 0;
    padding-top: 0;
    border-top: 0;
    text-align: center;
    font-style: italic;
    line-height: 1.7;
    position: relative;
    top: 18px;
}

.debt-collection-editorial .recovery-flow-track {
    gap: 18px;
    margin-top: 28px;
}

.debt-collection-editorial .recovery-flow-stage {
    gap: 12px;
}

.debt-collection-editorial .recovery-flow-step {
    width: 36px;
    height: 36px;
    background: var(--debt-navy);
    box-shadow: none;
}

.debt-collection-editorial .recovery-flow-box {
    min-height: 100%;
    border: 1px solid var(--debt-border);
    border-left: 3px solid var(--debt-navy);
    border-radius: 10px;
    background: var(--debt-wash);
    box-shadow: none;
}

.debt-collection-editorial .recovery-flow-box:hover {
    border-left-color: var(--debt-blue);
    box-shadow: none;
    transform: none;
}

.debt-collection-editorial .recovery-flow-box h4 {
    color: var(--debt-ink);
}

.debt-collection-editorial .recovery-flow-box li {
    color: var(--debt-muted);
}

.debt-collection-editorial .recovery-flow-box li::before {
    background: var(--debt-blue);
}

/* Long-form sections: large editorial headings, restrained surfaces. */
.debt-collection-editorial .debt-fullwidth-section {
    background: #FFFFFF;
}

.debt-collection-editorial .debt-fullwidth-inner {
    max-width: 1160px;
}

.debt-collection-editorial .debt-fullwidth-inner > h2 {
    max-width: 1000px;
    margin-top: clamp(106px, 12vw, 164px);
    color: var(--debt-ink);
    font-size: clamp(2.7rem, 5.2vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.058em;
    line-height: 0.99;
}

.debt-collection-editorial .debt-fullwidth-inner > h2:first-child {
    margin-top: 0;
}

.debt-collection-editorial .debt-fullwidth-inner > p {
    max-width: 76ch;
    color: var(--debt-muted);
    font-size: 1.06rem !important;
    line-height: 1.78 !important;
}

.debt-collection-editorial .legal-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 38px 0 96px;
    padding-left: 0;
}

.debt-collection-editorial .legal-timeline::before {
    display: none;
}

.debt-collection-editorial .timeline-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--debt-border);
    border-radius: 16px;
    background: var(--debt-wash);
    overflow: hidden;
}

.debt-collection-editorial .timeline-node {
    display: none;
}

.debt-collection-editorial .timeline-item:hover {
    border-color: #C7D2FE;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.07);
}

.debt-collection-editorial .timeline-header {
    min-height: 0;
    padding: 26px 30px 18px;
    border: 0;
    border-bottom: 1px solid var(--debt-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: default;
}

.debt-collection-editorial .timeline-header:hover {
    border-color: var(--debt-border);
    box-shadow: none;
}

.debt-collection-editorial .timeline-header h4 {
    color: var(--debt-ink);
    font-size: clamp(1.15rem, 1.7vw, 1.38rem);
    line-height: 1.3;
}

.debt-collection-editorial .timeline-body {
    display: block;
    flex: 1;
    padding: 22px 30px 30px;
    border: 0;
    border-radius: 0;
    margin-top: 0;
    background: transparent;
}

.debt-collection-editorial .timeline-body p {
    max-width: none;
    margin: 0 0 16px;
    color: var(--debt-muted);
    font-size: 1rem !important;
    line-height: 1.72 !important;
}

.debt-collection-editorial .timeline-body p:last-child {
    margin-bottom: 0;
}

/* Procedure cards, cost cards, and the glossary use the same neutral ledger. */
.debt-collection-editorial .new-design-card,
.debt-collection-editorial .debt-metric-grid > .glass-card {
    padding: clamp(26px, 3.5vw, 40px);
    border: 1px solid var(--debt-border);
    border-radius: 16px;
    background: var(--debt-wash);
    box-shadow: none;
}

.debt-collection-editorial .new-design-card:hover,
.debt-collection-editorial .debt-metric-grid > .glass-card:hover {
    border-color: #C7D2FE;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.debt-collection-editorial .new-design-card .card-icon-box {
    background: var(--debt-navy);
    color: #FFFFFF;
}

.debt-collection-editorial .new-design-card .card-icon-box i {
    color: #FFFFFF;
}

.debt-collection-editorial .new-design-card h3,
.debt-collection-editorial .debt-metric-grid h3 {
    color: var(--debt-ink);
}

.debt-collection-editorial .new-design-card p,
.debt-collection-editorial .debt-metric-grid p {
    color: var(--debt-muted);
}

.debt-collection-editorial .btn-expand-link {
    color: var(--debt-blue);
}

.debt-collection-editorial .debt-metric-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px !important;
    margin: 34px 0 70px !important;
}

/* Employment content has longer explanatory copy than the debt page. Keep
   each block in a predictable vertical flow and give the lifecycle stages
   enough width for their labels and bullet points. */
.employment-mobility-editorial .service-main-content > .intro-card {
    margin: 0 !important;
}

.employment-mobility-editorial .service-main-content > h2 {
    margin-top: 0;
    margin-bottom: 14px;
}

/* Give the work-permit section a clear break from the preceding contract
   card, while keeping its explanatory paragraph close to the tabbed criteria
   panel below. */
.employment-mobility-editorial .service-main-content > #work-permits {
    margin-top: 22px;
    margin-bottom: 10px;
}

.employment-mobility-editorial .service-main-content > #work-permits + p {
    margin-bottom: 0 !important;
}

.employment-mobility-editorial .service-main-content > #work-permits + p + .legal-tabs-wrapper {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Swap the visual emphasis of the work-permit section and its first tab:
   the section label reads like a compact tab heading, while the Corporate
   Thresholds heading carries the larger editorial treatment. */
.employment-mobility-editorial .service-main-content > #work-permits.work-permits-tab-style {
    color: var(--business-ink, var(--debt-ink));
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.employment-mobility-editorial #tab-fdi .permit-tab-heading {
    color: var(--business-ink, var(--debt-ink));
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.employment-mobility-editorial .employment-scope-card::after {
    content: "02";
}

.employment-mobility-editorial #tab-criteria .criteria-main-heading {
    max-width: none;
    margin: 0 0 1.5rem;
    color: #0F172A;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.employment-mobility-editorial .recovery-flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.employment-mobility-editorial .recovery-flow-box {
    min-height: 150px;
    padding: 24px 26px;
}

.employment-mobility-editorial .recovery-flow-box h4 {
    margin-bottom: 12px;
}

.employment-mobility-editorial .recovery-flow-box li {
    line-height: 1.6;
}

.employment-mobility-editorial .debt-metric-grid > .glass-card {
    min-height: 0;
}

/* Use the open-circle marker from the editorial evidence lists for the
   government-fee checklist, instead of the default filled gradient dot. */
.employment-mobility-editorial .employment-fee-box .service-checklist li::before {
    width: 12px;
    height: 12px;
    top: 50%;
    border: 2px solid var(--debt-blue);
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
    transform: translateY(-50%);
}

.employment-mobility-editorial .employment-fee-box > p {
    margin: 0 0 12px !important;
}

/* Employment page conversion banner: wide, neutral editorial CTA with the
   message on the left and one prominent action on the right. */
.employment-mobility-editorial .article-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: clamp(24px, 3vw, 42px);
    margin-top: 2rem;
    padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
    border: 1px solid var(--border-gray, #E4E7EC);
    border-radius: 24px;
    background: var(--light-gray, #F5F7FA);
    text-align: left;
    box-shadow: none;
}

.employment-mobility-editorial .article-cta h3 {
    max-width: 620px;
    margin: 0 0 12px;
    color: var(--navy, #1E3A8A);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.employment-mobility-editorial .article-cta p {
    max-width: 660px;
    margin: 0;
    color: var(--debt-muted, #4B5B73);
    font-size: 1rem;
    line-height: 1.55;
}

.employment-mobility-editorial .article-cta .cta-btn {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 10px;
    background: var(--navy, #1E3A8A);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.employment-mobility-editorial .article-cta .cta-btn:hover {
    background: var(--navy-dark, #142A63);
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.22);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .employment-mobility-editorial .article-cta {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 22px;
    }

    .employment-mobility-editorial .article-cta h3 {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .employment-mobility-editorial .article-cta .cta-btn {
        grid-column: 1;
        grid-row: auto;
        white-space: normal;
    }

    .employment-mobility-editorial .recovery-flow-track {
        grid-template-columns: 1fr;
    }
}

.debt-collection-editorial .sources-box {
    margin-top: 70px !important;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--debt-border);
    border-radius: 16px;
    background: var(--debt-wash);
    box-shadow: none;
}

.debt-collection-editorial .sources-box h3 {
    color: var(--debt-ink);
}

.debt-collection-editorial .sources-box .sources-note,
.debt-collection-editorial .sources-box a {
    color: var(--debt-muted);
}

@media (max-width: 1080px) {
    .debt-collection-editorial .service-landing-shell {
        grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
        gap: 42px;
    }

    .debt-collection-editorial .service-landing-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 920px) {
    .debt-collection-editorial .service-landing-shell,
    .debt-collection-editorial .service-landing-layout {
        grid-template-columns: 1fr;
    }

    .debt-collection-editorial .service-landing-layout > aside {
        position: static;
    }

    .debt-collection-editorial .service-landing-aside-top .service-sidebar-card {
        position: static;
    }

    .debt-collection-editorial .sidebar-form-card {
        position: static;
    }

    .debt-collection-editorial .recovery-flow-track,
    .debt-collection-editorial .debt-metric-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    .debt-collection-editorial .debt-fullwidth-inner > h2 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .debt-collection-editorial .legal-timeline {
        grid-template-columns: 1fr;
    }

    .debt-collection-editorial .timeline-body {
        padding: 18px 22px 24px;
    }

    .debt-collection-editorial .timeline-header {
        padding: 22px 22px 16px;
    }
}
