/* --------------------------------------------
   Trade facilitation commodity pages
 ---------------------------------------------- */

/* Hero banner: long commodity titles need a smaller, wrapping headline */
.breadcrumnd-banner.trade-hero .bread-content h1 {
    font-size: 56px;
    line-height: 64px;
    max-width: 820px;
}

.breadcrumnd-banner.trade-hero .bread-content {
    max-width: 860px;
}

@media (max-width: 1199px) {
    .breadcrumnd-banner.trade-hero .bread-content h1 {
        font-size: 46px;
        line-height: 54px;
    }
}

@media (max-width: 991px) {
    .breadcrumnd-banner.trade-hero .bread-content h1 {
        font-size: 38px;
        line-height: 46px;
    }
}

@media (max-width: 575px) {
    .breadcrumnd-banner.trade-hero .bread-content h1 {
        font-size: 28px;
        line-height: 36px;
    }
}

/* Hero photo and its credit line */
.service-wrapper-right .thumb.trade-thumb {
    overflow: hidden;
}

.service-wrapper-right .thumb.trade-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.trade-credit {
    margin: 12px 0 26px;
    font-size: 12px;
    line-height: 18px;
    color: var(--p800-clr);
}

.trade-credit a {
    color: inherit;
    text-decoration: underline;
}

/* Sub headings inside the content blocks */
.service-wrapper-right .cont-box h4 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 400;
    color: var(--p900-clr);
    margin: 30px 0 14px;
}

.service-wrapper-right .cont-box h4:first-child {
    margin-top: 0;
}

.service-wrapper-right .cont-box h5 {
    font-size: 19px;
    line-height: 30px;
    font-weight: 600;
    color: var(--p900-clr);
    margin: 24px 0 10px;
}

.service-wrapper-right .cont-box p + p,
.service-wrapper-right .cont-box p + ol,
.service-wrapper-right .cont-box p + ul,
.service-wrapper-right .cont-box ol + p,
.service-wrapper-right .cont-box ul + p {
    margin-top: 16px;
}

.service-wrapper-right .cont-box p {
    margin-bottom: 0;
}

/* Numbered conditions */
.cond-list {
    list-style: decimal;
    padding-left: 24px;
    margin: 0;
    display: grid;
    gap: 12px;
}

.cond-list > li {
    font-size: 16px;
    line-height: 30px;
    color: var(--p800-clr);
    padding-left: 6px;
}

.cond-list > li::marker {
    color: var(--p1-clr);
    font-weight: 700;
}

.cond-list ol,
.cond-list ul {
    margin-top: 10px;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.cond-list ol {
    list-style: lower-alpha;
}

.cond-list ol ol {
    list-style: lower-roman;
}

.cond-list ol ol ol {
    list-style: decimal;
}

.cond-list ul {
    list-style: disc;
}

.cond-list ul > li::marker,
.trade-list > li::marker {
    color: var(--p1-clr);
}

/* Plain bullet lists */
.trade-list {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
    display: grid;
    gap: 10px;
}

.trade-list > li {
    font-size: 16px;
    line-height: 30px;
    color: var(--p800-clr);
    padding-left: 4px;
}

/* Long source URLs must be able to break inside the narrow content column */
.cont-box a {
    overflow-wrap: anywhere;
}

/* Footnotes that close a set of conditions */
.cont-box .trade-note {
    margin-top: 22px;
    padding: 18px 22px;
    background: var(--p100-clr);
    border-left: 3px solid var(--p1-clr);
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    line-height: 26px;
    color: var(--p800-clr);
}

/* Accordion helper text */
.service-details-left .accordion-btn {
    line-height: 1.4;
}

/* Related conditions list in the sidebar */
.trade-related {
    margin-top: 30px;
}

.trade-related h5 {
    font-size: 18px;
    color: var(--p900-clr);
    margin-bottom: 14px;
}

.trade-related ul {
    display: grid;
    gap: 10px;
}

.trade-related a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 24px;
    color: var(--p800-clr);
    transition: color 0.3s ease;
}

.trade-related a i {
    font-size: 11px;
    color: var(--p1-clr);
}

.trade-related a:hover,
.trade-related a:focus-visible {
    color: var(--p900-clr);
}

@media (max-width: 991px) {
    .cond-list > li,
    .trade-list > li {
        font-size: 15px;
        line-height: 28px;
    }

    .service-wrapper-right .cont-box h4 {
        font-size: 21px;
        line-height: 30px;
    }
}

@media (max-width: 575px) {
    .cond-list,
    .trade-list {
        padding-left: 20px;
    }

    .cond-list ol,
    .cond-list ul {
        padding-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trade-related a {
        transition: none;
    }
}
