/* International Trade & Customs service page additions.
   The shared visual language comes from setup-business-editorial.css. */

.customs-services-editorial {
    --customs-navy: #1E3A8A;
    --customs-navy-dark: #172F70;
    --customs-blue: #2D4CC8;
    --customs-wash: #F5F7FA;
    --customs-border: #E4E7EC;
}

.customs-services-editorial .business-entry-core small {
    max-width: 100px;
    text-align: center;
}

.customs-services-editorial .service-page-cta-card {
    align-items: center;
}

.customs-services-editorial .service-cta-submit-row {
    justify-content: flex-start;
}

.customs-services-editorial .customs-service-block {
    margin: 24px 0;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--customs-border);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.customs-services-editorial .customs-service-block h3 {
    margin: 0 0 16px;
    color: #162033;
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    line-height: 1.35;
}

.customs-services-editorial .customs-service-block h3::before {
    display: inline-block;
    width: 7px;
    height: 1.1em;
    margin-right: 12px;
    border-radius: 999px;
    background: var(--customs-blue);
    content: "";
    vertical-align: -0.16em;
}

.customs-services-editorial .customs-service-block p:last-child,
.customs-services-editorial .customs-service-block ul:last-child,
.customs-services-editorial .customs-service-block ol:last-child {
    margin-bottom: 0;
}

.customs-services-editorial .customs-service-block ul,
.customs-services-editorial .customs-service-block ol,
.customs-services-editorial .customs-audience-grid,
.customs-services-editorial .customs-question-list {
    margin: 18px 0;
    padding-left: 0;
    list-style: none;
}

.customs-services-editorial .customs-service-block ul,
.customs-services-editorial .customs-audience-grid,
.customs-services-editorial .customs-question-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
}

.customs-services-editorial .customs-service-block li,
.customs-services-editorial .customs-audience-grid li,
.customs-services-editorial .customs-question-list li {
    position: relative;
    padding: 12px 14px 12px 38px;
    border: 1px solid #EDF0F5;
    border-radius: 9px;
    background: #FAFBFC;
    color: #344054;
}

.customs-services-editorial .customs-service-block ul li::before,
.customs-services-editorial .customs-audience-grid li::before,
.customs-services-editorial .customs-question-list li::before {
    position: absolute;
    top: 13px;
    left: 14px;
    color: var(--customs-blue);
    content: "\2713";
    font-weight: 800;
}

.customs-services-editorial .customs-numbered-list {
    counter-reset: customs-items;
}

.customs-services-editorial .customs-numbered-list li {
    counter-increment: customs-items;
}

.customs-services-editorial .customs-numbered-list li::before {
    position: absolute;
    top: 12px;
    left: 14px;
    color: var(--customs-blue);
    content: counter(customs-items) ".";
    font-weight: 800;
}

.customs-services-editorial .customs-deliverable,
.customs-services-editorial .customs-important-note {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 4px solid var(--customs-blue);
    border-radius: 8px;
    background: var(--customs-wash);
}

.customs-services-editorial .customs-deliverable strong,
.customs-services-editorial .customs-important-note strong {
    color: var(--customs-navy);
}

.customs-services-editorial .customs-process {
    margin: 32px 0 48px;
}

.customs-services-editorial .customs-process .incorp-flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customs-services-editorial .customs-process .incorp-flow-col:nth-child(n + 5) {
    margin-top: 18px;
}

.customs-services-editorial .service-main-content > #support-process {
    margin: 14px 0 0;
    color: var(--business-ink);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.customs-services-editorial .service-main-content > .customs-process {
    margin: 0;
}

.customs-services-editorial .service-main-content > .customs-process .incorp-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customs-services-editorial .service-main-content > .customs-process .incorp-flow-col:nth-child(n + 5) {
    margin-top: 0;
}

.customs-services-editorial .customs-why-grid,
.customs-services-editorial .customs-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 44px;
}

.customs-services-editorial .customs-why-card,
.customs-services-editorial .customs-related-card {
    padding: 24px;
    border: 1px solid var(--customs-border);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.customs-services-editorial .customs-why-card h3,
.customs-services-editorial .customs-related-card h3 {
    margin: 0 0 10px;
    color: #162033;
    font-size: 1.08rem;
}

.customs-services-editorial .customs-related-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.customs-services-editorial .customs-related-card:hover {
    transform: translateY(-3px);
    border-color: var(--customs-blue);
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.1);
}

.customs-services-editorial .customs-related-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--customs-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customs-services-editorial .customs-sources-box {
    margin-top: 44px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--customs-border);
    border-radius: 14px;
    background: var(--customs-wash);
}

.customs-services-editorial .customs-sources-box h2 {
    margin-top: 0;
}

.customs-services-editorial .customs-sources-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    padding: 0;
    list-style: none;
}

.customs-services-editorial .customs-sources-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 14px 18px;
    border: 1px solid #D8DEE9;
    border-radius: 9px;
    background: #FFFFFF;
    color: var(--customs-navy);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.customs-services-editorial .customs-sources-list a:hover {
    border-color: var(--customs-blue);
    color: var(--customs-blue);
}

.customs-services-editorial .sidebar-lead-form[data-form-id="customs-review-sidebar"] .sidebar-form-submit,
.customs-services-editorial .service-cta-form[data-form-id="customs-review-main"] .form-submit-btn {
    border-color: var(--customs-navy);
    background: var(--customs-navy);
    color: #FFFFFF;
}

.customs-services-editorial .sidebar-lead-form[data-form-id="customs-review-sidebar"] .sidebar-form-submit:hover,
.customs-services-editorial .service-cta-form[data-form-id="customs-review-main"] .form-submit-btn:hover {
    border-color: var(--customs-navy-dark);
    background: var(--customs-navy-dark);
}

.customs-services-editorial .customs-inline-links a {
    color: var(--customs-navy);
    font-weight: 700;
}

.customs-services-editorial .customs-checklist-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 34px;
    align-items: center;
}

.customs-services-editorial .customs-checklist-cta > h3,
.customs-services-editorial .customs-checklist-cta > p {
    grid-column: 1;
}

.customs-services-editorial .customs-checklist-cta > .cta-btn {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    white-space: nowrap;
}

.customs-services-editorial .customs-checklist-hook {
    color: var(--business-navy);
    font-size: 1.08rem;
    font-weight: 800;
}

@media (max-width: 980px) {
    .customs-services-editorial .customs-process .incorp-flow-grid,
    .customs-services-editorial .customs-why-grid,
    .customs-services-editorial .customs-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .customs-services-editorial .customs-service-block ul,
    .customs-services-editorial .customs-audience-grid,
    .customs-services-editorial .customs-question-list,
    .customs-services-editorial .customs-sources-list,
    .customs-services-editorial .customs-process .incorp-flow-grid,
    .customs-services-editorial .customs-why-grid,
    .customs-services-editorial .customs-related-grid {
        grid-template-columns: 1fr;
    }

    .customs-services-editorial .customs-service-block {
        padding: 22px 18px;
    }

    .customs-services-editorial .service-main-content > .customs-process .incorp-flow-grid {
        grid-template-columns: 1fr;
    }

    .customs-services-editorial .customs-checklist-cta {
        grid-template-columns: 1fr;
    }

    .customs-services-editorial .customs-checklist-cta > .cta-btn {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        white-space: normal;
    }

}
