/* CAIZUN Home 07 / Global Markets V9.1
   Based on Bootstrap 5 and common_base.css; homepage scoped only.
   Visual source: /images/home_global_markets.png (1920x1110, user-supplied).
*/
.cz-home-2026 .cz-home-markets.cz-section {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto minmax(18rem, 1fr) auto;
    min-height: clamp(45rem, 56vw, 58rem);
    padding: 0 0 clamp(2.25rem, 4vw, 4rem);
    color: #fff;
    background: #101010;
    overflow: hidden;
}
.cz-home-2026 .cz-home-markets__heading {
    grid-row: 1;
    z-index: 2;
    position: relative;
    padding-top: clamp(3.75rem, 6vw, 6rem);
}
.cz-home-2026 .cz-home-markets__eyebrow {
    margin-bottom: var(--cz-space-3, .75rem);
    color: #c0bab2;
}
.cz-home-2026 .cz-home-markets__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 2.9vw, 3rem);
    line-height: 1.2;
}
.cz-home-2026 .cz-home-markets__title em {
    color: #c6bcb0;
    font-weight: inherit;
}
/* Cover the whole section with the exact supplied bitmap, no second map layer. */
.cz-home-2026 .cz-home-markets__visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}
.cz-home-2026 .cz-home-markets__map-scroll { width: 100%; height: 100%; overflow: hidden; }
.cz-home-2026 .cz-home-markets__map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-width: none;
    -webkit-user-drag: none;
}
.cz-home-2026 .cz-home-markets__map-error {
    display: none;
    position: absolute;
    inset: 0;
    place-content: center;
    text-align: center;
    color: #bfb5a7;
    background: #131313;
    font-size: .875rem;
}
.cz-home-2026 .cz-home-markets__visual.has-image-error .cz-home-markets__map-error { display: grid; }
.cz-home-2026 .cz-home-markets__mobile-hint { display: none; }
.cz-home-2026 .cz-home-markets__stats-wrap {
    position: relative;
    z-index: 2;
    grid-row: 3;
}
.cz-home-2026 .cz-home-markets__stats {
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(7,7,7,.94);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.20);
}
.cz-home-2026 .cz-home-markets__stat { min-width: 0; }
.cz-home-2026 .cz-home-markets__stat:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.12);
}
.cz-home-2026 .cz-home-markets__stat-inner {
    height: 100%;
    padding: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 2vw, 1.8rem);
}
.cz-home-2026 .cz-home-markets__stat-name {
    margin: 0 0 .5rem;
    color: #fff;
    font-family: var(--cz-font-serif, Georgia, serif);
    font-size: clamp(1.1rem, 1.5vw, 1.55rem);
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.cz-home-2026 .cz-home-markets__stat-description {
    margin: 0;
    color: #bcb7af;
    font-family: var(--cz-font-sans, Arial, sans-serif);
    font-size: clamp(.72rem, .8vw, .85rem);
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.cz-home-2026 .cz-home-markets__empty {
    position: relative;
    margin: 0;
    padding: 1rem;
    text-align: center;
    color: #ccc;
    background: rgba(0,0,0,.65);
    font: 400 .875rem/1.6 var(--cz-font-sans, Arial, sans-serif);
}
@media (max-width: 991.98px) {
    .cz-home-2026 .cz-home-markets__stat:nth-child(2) { border-right: 0; }
    .cz-home-2026 .cz-home-markets__stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .cz-home-2026 .cz-home-markets__stat-inner { padding: 1.3rem 1.1rem; }
    .cz-home-2026 .cz-home-markets__stat-name { font-size: 1.25rem; }
    .cz-home-2026 .cz-home-markets__stat-description { font-size: .75rem; }
}
@media (max-width: 767.98px) {
    /* On narrow screens the full-resolution map is horizontally browsable.
       No squashing, no hiding countries, and no horizontal PAGE overflow. */
    .cz-home-2026 .cz-home-markets.cz-section {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 3.5rem 0 3rem;
    }
    .cz-home-2026 .cz-home-markets__heading {
        order: 1;
        padding-top: 0;
    }
    .cz-home-2026 .cz-home-markets__visual {
        order: 2;
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(20rem, 51vw, 24rem);
        margin-top: .75rem;
        overflow: hidden;
    }
    .cz-home-2026 .cz-home-markets__map-scroll {
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #8d744b #191817;
        scroll-behavior: smooth;
    }
    .cz-home-2026 .cz-home-markets__map-scroll:focus-visible {
        outline: 2px solid #ac874d;
        outline-offset: -3px;
    }
    .cz-home-2026 .cz-home-markets__map-image {
        width: max(100%, 67.5rem); /* at least 1080px, preserve country labels */
        height: auto;
        margin-top: -6.5rem; /* remove unused dark sky on mobile */
        object-fit: initial;
    }
    .cz-home-2026 .cz-home-markets__mobile-hint {
        order: 3;
        display: block;
        padding: .65rem 1rem 1.5rem;
        margin: 0;
        text-align: center;
        color: #aba49b;
        font: 400 .7rem/1.4 var(--cz-font-sans, Arial, sans-serif);
        letter-spacing: .03em;
    }
    .cz-home-2026 .cz-home-markets__mobile-hint span { font-size: 1rem; vertical-align: middle; }
    .cz-home-2026 .cz-home-markets__stats-wrap { order: 4; }
    .cz-home-2026 .cz-home-markets__title { font-size: clamp(1.9rem, 6vw, 2.4rem); }
}
@media (max-width: 575.98px) {
    .cz-home-2026 .cz-home-markets__visual { height: 21rem; }
    .cz-home-2026 .cz-home-markets__stat-inner { padding: 1.1rem .8rem; }
    .cz-home-2026 .cz-home-markets__stat-name { font-size: 1.05rem; }
    .cz-home-2026 .cz-home-markets__stat-description { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cz-home-2026 .cz-home-markets__map-scroll { scroll-behavior: auto; }
}
