.gco-section {
    --gco-accent: var(--color-primary, #ff5e14);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: inherit;
    background: var(--gco-bg);
}

.gco-section *,
.gco-section *::before,
.gco-section *::after {
    box-sizing: border-box;
}

.gco-background-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .12;
}

.gco-section::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        115deg,
        color-mix(in srgb, var(--gco-accent) 5%, transparent),
        transparent 48%
    );
}

.gco-container {
    position: relative;
    padding-block: clamp(54px, 7vw, 108px);
}

.gco-layout {
    display: grid;
    grid-template-areas: "interactive content";
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, .62fr);
    gap: clamp(36px, 5vw, 84px);
    align-items: center;
    direction: ltr;
}

.gco-content {
    grid-area: content;
    direction: rtl;
}

.gco-interactive {
    width: min(100%, 800px);
    min-width: 0;
    grid-area: interactive;
    justify-self: center;
    direction: rtl;
}

.gco-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: var(--gco-accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.gco-eyebrow::before {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.gco-content h2 {
    max-width: 14ch;
    margin: 0;
    color: inherit;
    font-size: clamp(2.1rem, 4.2vw, 5rem);
    font-weight: 900;
    line-height: 1.12;
    text-wrap: balance;
}

.gco-intro {
    max-width: 52ch;
    margin-top: 22px;
    color: color-mix(in srgb, currentColor 72%, transparent);
    font-size: clamp(.94rem, 1.12vw, 1.08rem);
    line-height: 2;
}

.gco-intro > :last-child,
.gco-country-description > :last-child {
    margin-bottom: 0;
}

.gco-map-caption {
    width: fit-content;
    max-width: 52ch;
    margin: 0 auto 14px;
    padding: 7px 14px;
    border: 1px solid color-mix(in srgb, var(--gco-accent) 26%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--gco-bg) 90%, transparent);
    color: color-mix(in srgb, currentColor 74%, transparent);
    font-size: .74rem;
    font-weight: 700;
    text-align: center;
}

.gco-empty-state {
    padding: 24px;
    border: 1px dashed color-mix(in srgb, var(--gco-accent) 42%, transparent);
    border-radius: 20px;
    background: color-mix(in srgb, var(--gco-bg) 90%, transparent);
    color: color-mix(in srgb, currentColor 72%, transparent);
    text-align: center;
}

.gco-map-shell {
    position: relative;
    overflow: visible;
    border: 0;
    background: transparent;
}

.gco-world-map {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 520;
    overflow: visible;
}

.gco-world-base {
    fill: #fff;
    fill-rule: evenodd;
    stroke: color-mix(in srgb, currentColor 25%, transparent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: .8;
    vector-effect: non-scaling-stroke;
}

.gco-export-country {
    fill: color-mix(in srgb, var(--gco-accent) 7%, transparent);
    fill-rule: evenodd;
    stroke: var(--gco-accent);
    stroke-opacity: .48;
    stroke-dasharray: 3 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
    transform-origin: center;
    transition:
        transform .5s cubic-bezier(.22, 1, .36, 1),
        fill .3s ease,
        stroke-width .3s ease;
}

.gco-export-country.is-active {
    fill: color-mix(in srgb, var(--gco-accent) 38%, transparent);
    stroke-opacity: 1;
    stroke-dasharray: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: var(--gco-country-stroke-width, 1.35);
    transform: translateY(-60px) scale(var(--gco-country-scale, 1.9));
}

.gco-country-lift-line {
    fill: none;
    stroke: var(--gco-accent);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-opacity: 0;
    vector-effect: non-scaling-stroke;
    transition: stroke-opacity .25s ease;
}

.gco-country-lift-line.is-active {
    stroke-opacity: .82;
}

.gco-route {
    fill: none;
    stroke: var(--gco-accent);
    stroke-dasharray: 4 7;
    stroke-linecap: round;
    stroke-opacity: 0;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    transition: stroke-opacity .35s ease;
}

.gco-route.is-active {
    stroke-opacity: .88;
    animation: gco-route-flow 4s linear infinite;
}

.gco-destination {
    opacity: .28;
    transition: opacity .3s ease;
}

.gco-destination.is-active {
    opacity: 1;
}

.gco-point-ring,
.gco-origin-ring {
    fill: none;
    stroke: var(--gco-accent);
    stroke-opacity: .55;
    stroke-width: 1.4;
    vector-effect: non-scaling-stroke;
}

.gco-point-core,
.gco-origin-core {
    fill: var(--gco-accent);
}

.gco-origin-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: gco-origin-pulse 2.8s ease-out infinite;
}

.gco-country-slider {
    position: relative;
    width: 100%;
    margin-top: clamp(28px, 4vw, 52px);
    overflow: hidden;
}

.gco-country-slider.is-slider {
    padding-inline: 48px;
    padding-block: 36px;
}

.gco-country-slider:not(.is-slider) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    transform: none !important;
}

.gco-country-slider:not(.is-slider) .swiper-slide {
    width: auto !important;
}

.gco-country-slider .swiper-slide {
    height: auto;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.gco-country-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 9px;
    align-content: start;
    min-height: 50px;
    padding: 7px 9px;
    border: 1px solid color-mix(in srgb, var(--gco-accent) 18%, transparent);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    cursor: pointer;
    outline: none;
    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease;
}

.gco-country-item.is-active {
    border-color: color-mix(in srgb, var(--gco-accent) 70%, transparent);
    background: #fff;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--gco-accent) 12%, transparent);
    transform: scale(1.07);
}

.gco-country-item:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--gco-accent) 42%, transparent);
    outline-offset: -2px;
}

.gco-slider-button {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--gco-accent) 50%, transparent);
    border-radius: 50%;
    place-items: center;
    background: #fff;
    color: var(--gco-accent);
    cursor: pointer;
    transform: translateY(-50%);
}

.gco-country-slider.is-slider .gco-slider-button {
    display: grid;
}

.gco-slider-button--prev {
    right: 2px;
}

.gco-slider-button--next {
    left: 2px;
}

.gco-slider-button:disabled,
.gco-slider-button.swiper-button-lock,
.gco-slider-button.swiper-button-disabled {
    opacity: .3;
    cursor: default;
}

.gco-country-flag {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--gco-accent) 9%, transparent);
    font-size: 1.05rem;
    transform-origin: center;
    transition: transform .22s ease;
}

.gco-country-item:hover .gco-country-flag,
.gco-country-item:focus-visible .gco-country-flag {
    transform: scale(1.14);
}

.gco-country-copy {
    min-width: 0;
}

.gco-country-copy strong,
.gco-country-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gco-country-copy strong {
    font-size: .78rem;
    line-height: 1.45;
}

.gco-country-copy small {
    color: color-mix(in srgb, currentColor 58%, transparent);
    font-size: .62rem;
}

.gco-country-description {
    display: -webkit-box;
    grid-column: 1 / -1;
    max-height: 2.8em;
    overflow: hidden;
    color: color-mix(in srgb, currentColor 64%, transparent);
    font-size: .64rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gco-floating-image {
    position: absolute;
    top: 8%;
    left: 2%;
    z-index: 5;
    width: clamp(68px, 9vw, 145px);
    max-height: 210px;
    object-fit: contain;
    pointer-events: none;
    opacity: .94;
}

@keyframes gco-route-flow {
    to { stroke-dashoffset: -44; }
}

@keyframes gco-origin-pulse {
    0% { opacity: .65; transform: scale(.72); }
    100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 1100px) {
    .gco-layout {
        grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
        gap: 32px;
    }

}

@media (max-width: 991.98px) {
    .gco-layout {
        grid-template-areas:
            "content"
            "interactive";
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .gco-content {
        width: min(680px, 100%);
        margin-inline: auto;
        text-align: center;
    }

    .gco-content h2,
    .gco-intro {
        margin-inline: auto;
    }

    .gco-interactive {
        width: min(100%, 760px);
    }
}

@media (max-width: 575.98px) {
    .gco-container {
        padding-block: 44px;
    }

    .gco-content h2 {
        font-size: clamp(1.85rem, 9vw, 2.9rem);
    }

    .gco-map-shell {
        width: 100%;
    }

    .gco-world-map {
        width: 100%;
    }

    .gco-interactive {
        width: 100%;
        max-width: none;
    }

    .gco-country-slider.is-slider {
        padding-inline: 40px;
    }

    .gco-country-slider:not(.is-slider) .swiper-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .gco-floating-image {
        top: 5%;
        left: 1%;
        width: clamp(54px, 16vw, 90px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gco-route,
    .gco-origin-ring,
    .gco-export-country,
    .gco-country-lift-line,
    .gco-country-item,
    .gco-destination {
        animation: none !important;
        transition: none !important;
    }

    .gco-export-country.is-active {
        transform: none;
    }
}
