/* Dynamic service view on the homepage. Existing homepage layout stays intact. */
.asva-home-screen {
    position: relative;
}

.asva-home-page .asva-site-header {
    z-index: 500 !important;
}

.asva-center-cards {
    transition: opacity .18s ease, transform .18s ease;
}

.asva-center-cards.is-asva-switching {
    opacity: 0;
    transform: translateY(7px);
}

.asva-home-screen.is-asva-svh,
.asva-home-screen.is-asva-customs,
.asva-home-screen.is-asva-international,
.asva-home-screen.is-asva-customs-clearance,
.asva-home-screen.is-asva-phytosanitary,
.asva-home-screen.is-asva-veterinary,
.asva-home-screen.is-asva-responsible-storage,
.asva-home-screen.is-asva-delivery {
    --asva-service-accent: #f2b72d;
}

.asva-home-screen.is-asva-svh .asva-home-screen__shade,
.asva-home-screen.is-asva-customs .asva-home-screen__shade,
.asva-home-screen.is-asva-international .asva-home-screen__shade,
.asva-home-screen.is-asva-customs-clearance .asva-home-screen__shade,
.asva-home-screen.is-asva-phytosanitary .asva-home-screen__shade,
.asva-home-screen.is-asva-veterinary .asva-home-screen__shade,
.asva-home-screen.is-asva-responsible-storage .asva-home-screen__shade,
.asva-home-screen.is-asva-delivery .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .48), rgba(5, 17, 25, .16) 58%, rgba(5, 17, 25, .32)),
        linear-gradient(0deg, rgba(5, 17, 25, .48), rgba(5, 17, 25, .08) 60%);
}

.asva-home-screen.is-asva-customs .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .50), rgba(5, 17, 25, .20) 58%, rgba(5, 17, 25, .34)),
        linear-gradient(0deg, rgba(5, 17, 25, .52), rgba(5, 17, 25, .10) 60%);
}

.asva-home-screen.is-asva-international .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .54), rgba(5, 17, 25, .18) 58%, rgba(5, 17, 25, .34)),
        linear-gradient(0deg, rgba(5, 17, 25, .50), rgba(5, 17, 25, .08) 60%);
}

.asva-home-screen.is-asva-customs-clearance .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .58), rgba(5, 17, 25, .22) 58%, rgba(5, 17, 25, .36)),
        linear-gradient(0deg, rgba(5, 17, 25, .54), rgba(5, 17, 25, .10) 60%);
}

.asva-home-screen.is-asva-phytosanitary .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .58), rgba(5, 17, 25, .20) 58%, rgba(5, 17, 25, .36)),
        linear-gradient(0deg, rgba(5, 17, 25, .55), rgba(5, 17, 25, .10) 60%);
}

.asva-home-screen.is-asva-veterinary .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .58), rgba(5, 17, 25, .20) 58%, rgba(5, 17, 25, .38)),
        linear-gradient(0deg, rgba(5, 17, 25, .56), rgba(5, 17, 25, .10) 60%);
}

.asva-home-screen.is-asva-responsible-storage .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .62), rgba(5, 17, 25, .22) 58%, rgba(5, 17, 25, .40)),
        linear-gradient(0deg, rgba(5, 17, 25, .58), rgba(5, 17, 25, .12) 60%);
}

.asva-home-screen.is-asva-delivery .asva-home-screen__shade {
    background:
        linear-gradient(90deg, rgba(5, 17, 25, .64), rgba(5, 17, 25, .24) 58%, rgba(5, 17, 25, .43)),
        linear-gradient(0deg, rgba(5, 17, 25, .60), rgba(5, 17, 25, .14) 60%);
}

.asva-service-sidebar__links a.is-asva-active-service {
    border-color: #c99a2a !important;
    background: rgba(242, 183, 45, .12) !important;
    box-shadow: inset 3px 0 0 #f2b72d;
}

.asva-center-cards.is-asva-service-mode {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(clamp(300px, 34vh, 370px), auto);
    gap: 14px;
}

.asva-service-switch-card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: clamp(300px, 34vh, 370px);
    padding: 27px 25px 20px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(48, 112, 144, .72);
    border-radius: 10px;
    color: #ffffff !important;
    background:
        radial-gradient(circle at 100% 0, rgba(34, 100, 132, .20), transparent 38%),
        linear-gradient(145deg, rgba(5, 30, 45, .96), rgba(5, 23, 35, .96));
    box-shadow: 0 13px 30px rgba(0, 0, 0, .24);
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    outline: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.asva-service-switch-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54px;
    height: 2px;
    background: #f2b72d;
}

.asva-service-switch-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.asva-service-switch-card__number {
    color: #e9b536;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.asva-service-switch-card__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #9b7722;
    border-radius: 50%;
    color: #f1b72d;
}

.asva-service-switch-card__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.asva-service-switch-card h2 {
    position: relative;
    z-index: 2;
    margin: 16px 0 8px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 1.25vw, 22px);
    font-weight: 400;
    line-height: 1.16;
}

.asva-service-switch-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #b9c8d0;
    font-size: clamp(10px, .72vw, 12px);
    line-height: 1.5;
}

.asva-service-switch-card__art {
    position: absolute;
    z-index: 1;
    right: 17px;
    bottom: 41px;
    left: 17px;
    width: calc(100% - 34px);
    height: clamp(65px, 8.4vh, 92px);
    overflow: visible;
    color: #2a82a6;
    opacity: .20;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.asva-service-switch-card__art path,
.asva-service-switch-card__art circle,
.asva-service-switch-card__art rect,
.asva-service-switch-card__art line,
.asva-service-switch-card__art polyline,
.asva-service-switch-card__art polygon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.asva-service-switch-card__art .is-accent {
    stroke: #f2b72d;
}

.asva-service-switch-card__art .is-accent-fill {
    fill: #f2b72d;
    stroke: #f2b72d;
}

.asva-service-switch-card__art--cta {
    bottom: 41px;
}

.asva-service-switch-card:hover,
.asva-service-switch-card:focus-visible {
    border-color: #f2b72d;
    background:
        radial-gradient(circle at 100% 0, rgba(242, 183, 45, .16), transparent 42%),
        linear-gradient(145deg, rgba(7, 36, 51, .98), rgba(5, 25, 37, .98));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(242, 183, 45, .12);
    transform: translateY(-3px);
}

.asva-service-switch-card:hover .asva-service-switch-card__art,
.asva-service-switch-card:focus-visible .asva-service-switch-card__art {
    opacity: .62;
    transform: translateY(-2px);
}

.asva-service-switch-card--cta {
    border-color: #ad8423;
    background:
        radial-gradient(circle at 100% 0, rgba(242, 183, 45, .15), transparent 40%),
        linear-gradient(145deg, rgba(7, 34, 48, .98), rgba(5, 25, 37, .98));
}

.asva-service-switch-card__action {
    position: relative;
    z-index: 2;
    display: flex;
    margin-top: auto;
    padding-top: 12px;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.asva-service-switch-card__action b {
    color: #f2b72d;
    font-size: 16px;
}

.asva-service-switch-card__more {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 34px;
    margin-top: auto;
    padding-top: 10px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .46);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.asva-service-switch-card__more b {
    color: #f2b72d;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease;
}

.asva-service-switch-card:hover .asva-service-switch-card__more b,
.asva-service-switch-card:focus-visible .asva-service-switch-card__more b {
    transform: translateX(4px);
}

.asva-service-switch-error {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px solid #8c6b23;
    border-radius: 10px;
    color: #ffffff;
    background: rgba(6, 24, 35, .94);
    font: 14px/1.6 Arial, Helvetica, sans-serif;
}

/* Tariffs article: the homepage fades to a white reading surface without reloading. */
.asva-home-screen__shade {
    transition: opacity .42s ease;
}

.asva-home-screen.is-asva-tariffs .asva-home-screen__shade {
    opacity: 0;
}

.asva-home-screen.is-asva-tariffs .asva-service-sidebar,
.asva-home-screen.is-asva-tariffs .asva-center-cards {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.asva-tariffs-view[hidden] {
    display: none;
}

.asva-tariffs-view {
    position: absolute;
    z-index: 80;
    inset: 0;
    padding: 91px 21px 92px;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    color: #26323c;
    background: rgba(255, 255, 255, 0);
    scrollbar-gutter: stable;
    box-sizing: border-box;
    pointer-events: none;
    transition: opacity .42s ease, background-color .42s ease, visibility 0s linear .42s;
}

.asva-home-screen.is-asva-tariffs .asva-tariffs-view {
    visibility: visible;
    opacity: 1;
    background: #ffffff;
    pointer-events: auto;
    transition-delay: 0s;
}

.asva-tariffs-view__inner {
    display: grid;
    width: min(1250px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(145px, 180px) minmax(0, 980px);
    column-gap: 21px;
    align-items: start;
    justify-content: center;
}

.asva-tariffs-view__inner > [data-asva-detail-content] {
    min-width: 0;
}

.asva-tariffs-back {
    position: sticky;
    z-index: 4;
    top: 91px;
    display: inline-flex;
    min-height: 44px;
    margin: 13px 0 0;
    padding: 0 13px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(15, 36, 115, .22);
    border-radius: 7px;
    color: #0f2473;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(15, 36, 115, .10);
    font: 700 12px/1.2 Verdana, Geneva, sans-serif;
    cursor: pointer;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.asva-tariffs-back span {
    color: #d3970d;
    font-size: 19px;
    line-height: 1;
}

.asva-tariffs-back:hover,
.asva-tariffs-back:focus-visible {
    border-color: #f2b72d;
    color: #0f2473;
    background: #fff8e7;
    outline: none;
    transform: translateX(-2px);
}

.asva-tariffs-article {
    width: min(840px, 100%);
    margin: 0;
    padding: 13px 0 32px;
    border: 0;
    border-radius: 0;
    color: #28343e;
    background: transparent;
    box-shadow: none;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    line-height: 1.68;
    box-sizing: border-box;
}

.asva-tariffs-article h1,
.asva-tariffs-article h2,
.asva-tariffs-article h3 {
    color: #10205e;
    font-family: Verdana, Geneva, sans-serif;
}

.asva-tariffs-article h1 {
    margin: 0 0 22px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.28;
}

.asva-tariffs-article h2 {
    margin: 31px 0 12px;
    padding-top: 0;
    border-top: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.36;
}

.asva-tariffs-article h3 {
    margin: 19px 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.42;
}

.asva-tariffs-article p {
    margin: 0 0 15px;
}

.asva-tariffs-article__lead {
    margin-bottom: 18px !important;
    color: #465868;
    font-size: 17px;
    line-height: 1.62;
}

.asva-tariffs-article ul,
.asva-tariffs-article ol {
    margin: 12px 0 22px;
    padding-left: 26px;
}

.asva-tariffs-article li {
    margin: 0 0 9px;
    padding-left: 4px;
}

.asva-tariffs-article li::marker {
    color: #d3970d;
    font-weight: 700;
}

.asva-tariffs-article strong {
    color: #172968;
}

.asva-tariffs-contacts {
    margin-top: 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.asva-tariffs-contacts a {
    color: #0f2473;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.asva-tariffs-cta {
    display: inline-flex;
    min-height: 44px;
    margin-top: 5px;
    padding: 0 19px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1a519;
    border-radius: 7px;
    color: #10205e !important;
    background: #f2b72d;
    box-shadow: 0 10px 24px rgba(211, 151, 13, .20);
    font: 700 13px/1.2 Verdana, Geneva, sans-serif;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.asva-tariffs-cta:hover,
.asva-tariffs-cta:focus-visible {
    color: #10205e !important;
    background: #ffc94f;
    box-shadow: 0 13px 28px rgba(211, 151, 13, .28);
    outline: none;
    transform: translateY(-1px);
}

/* The same content is available as a normal crawlable page at /tariffs/. */
.asva-tariffs-page {
    padding: 13px 0 40px;
}

.asva-tariffs-page .asva-tariffs-article {
    margin-right: auto;
    margin-left: auto;
}

/* Download sections shared by the Rates and Documents pages. */
.asva-resource-section {
    margin: 34px 0 8px;
    padding: 29px 0 6px;
    border-top: 1px solid #e2e7ef;
}

.asva-resource-section__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #d3970d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.asva-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 21px 0 8px;
}

.asva-resource-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asva-resource-page {
    width: min(980px, 100%);
}

.asva-resource-page > header {
    max-width: 820px;
    margin-bottom: 28px;
}

.asva-resource-grid--documents {
    margin-top: 0;
}

.asva-resource-card {
    display: flex;
    min-width: 0;
    min-height: 245px;
    padding: 22px;
    flex-direction: column;
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    background: #f5f7fb;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.asva-resource-card:hover {
    border-color: rgba(211, 151, 13, .55);
    box-shadow: 0 14px 34px rgba(16, 32, 94, .09);
    transform: translateY(-2px);
}

.asva-resource-card__format {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 5px 8px;
    border: 1px solid rgba(211, 151, 13, .38);
    border-radius: 5px;
    color: #9b6d03;
    background: #fff7df;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

.asva-tariffs-article .asva-resource-card h2,
.asva-tariffs-article .asva-resource-card h3 {
    margin: 0 0 10px;
    color: #10205e;
    font-size: 16px;
    line-height: 1.35;
}

.asva-resource-card p {
    margin-bottom: 20px;
    color: #5e6b7d;
    font-size: 12px;
    line-height: 1.58;
}

.asva-resource-card__button {
    display: inline-flex;
    min-height: 42px;
    margin-top: auto;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #dca00f;
    border-radius: 7px;
    color: #10205e !important;
    background: #f2b72d;
    font-size: 11px;
    font-weight: 800 !important;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .18s ease, transform .18s ease;
}

.asva-resource-card__button span {
    font-size: 18px;
    line-height: 1;
}

.asva-resource-card__button:hover,
.asva-resource-card__button:focus-visible {
    color: #10205e !important;
    background: #ffca4c;
    outline: none;
    transform: translateY(-1px);
}

html[data-asva-theme="dark"] .asva-resource-section {
    border-top-color: rgba(205, 221, 245, .18);
}

html[data-asva-theme="dark"] .asva-resource-card {
    border-color: rgba(205, 221, 245, .18);
    background: #1d2e47;
}

html[data-asva-theme="dark"] .asva-resource-card:hover {
    border-color: rgba(242, 196, 93, .5);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

html[data-asva-theme="dark"] .asva-tariffs-article .asva-resource-card :is(h2, h3) {
    color: #f2f6fc !important;
}

html[data-asva-theme="dark"] .asva-resource-card p {
    color: #c4d3e5;
}

html[data-asva-theme="dark"] .asva-resource-card__format {
    color: #f2c45d;
    background: rgba(242, 183, 45, .08);
}

@media (max-width: 1180px) {
    .asva-service-switch-card {
        padding: 22px 20px 18px;
    }

    .asva-service-switch-card h2 {
        margin-top: 12px;
        font-size: 17px;
    }

    .asva-service-switch-card__art {
        height: 74px;
        opacity: .20;
    }
}

@media (max-width: 760px) {
    .asva-center-cards.is-asva-service-mode {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: minmax(260px, auto);
    }

    .asva-service-switch-card {
        min-height: 260px;
    }

    .asva-service-switch-card h2 {
        font-size: 20px;
    }

    .asva-service-switch-card p {
        font-size: 12px;
    }

    .asva-tariffs-view {
        padding: 85px 13px 95px;
    }

    .asva-tariffs-view__inner {
        display: block;
        width: 100%;
    }

    .asva-tariffs-back {
        position: static;
        margin: 0 0 13px;
    }

    .asva-tariffs-article {
        padding: 0 0 28px;
        font-size: 14px;
        line-height: 1.65;
    }

    .asva-tariffs-article h1 {
        font-size: 24px;
    }

    .asva-tariffs-article h2 {
        margin-top: 26px;
        font-size: 19px;
    }

    .asva-tariffs-article h3 {
        font-size: 16px;
    }

    .asva-tariffs-article__lead {
        font-size: 15px;
    }

    .asva-resource-grid,
    .asva-resource-grid--three {
        grid-template-columns: 1fr;
    }

    .asva-resource-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asva-center-cards,
    .asva-service-switch-card,
    .asva-service-switch-card__art,
    .asva-home-screen__shade,
    .asva-tariffs-view,
    .asva-tariffs-back {
        transition: none;
    }
}
