/**
 * CHS Premium International
 * Version 0.17.7
 */

.chs-premium-international {
    padding: clamp(78px, 9vw, 126px) 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(45, 181, 200, 0.12),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #f7fafb,
            #ffffff
        );
    color: #172226;
}

.chs-premium-international__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(480px, 1.12fr);
    gap: clamp(48px, 7vw, 100px);
    align-items: center;
}

.chs-premium-international__content {
    max-width: 660px;
}

.chs-premium-international__content h2 {
    margin: 0;
    color: #172226;
    font-size: clamp(35px, 4.6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.chs-premium-international__content
> p:not(.chs-section-heading__eyebrow) {
    margin: 20px 0 0;
    color: #5e6d72;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.7;
}

.chs-premium-international__content .chs-button {
    margin-top: 30px;
}

.chs-premium-international__visual {
    position: relative;
    min-height: 480px;
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(8, 127, 145, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #071518,
            #103b43
        );
    box-shadow:
        0 28px 65px rgba(23, 34, 38, 0.16);
}

.chs-premium-international__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    pointer-events: none;
}

.chs-country-hub {
    position: relative;
    z-index: 3;
    max-width: 330px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-inline: auto;
    padding: 20px 22px;
    border: 1px solid rgba(99, 215, 229, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.chs-country-hub small,
.chs-country-hub strong,
.chs-country-hub div > span {
    display: block;
}

.chs-country-hub small {
    color: #63d7e5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.chs-country-hub strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.2;
}

.chs-country-hub div > span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.chs-country-network {
    position: relative;
    z-index: 2;
    width: min(78%, 440px);
    height: 84px;
    margin: 0 auto;
}

.chs-country-network__line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 58px;
    background:
        linear-gradient(
            #63d7e5,
            rgba(99, 215, 229, 0.15)
        );
    transform: translateX(-50%);
}

.chs-country-network__line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(72vw, 410px);
    max-width: 410px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(99, 215, 229, 0.62),
            transparent
        );
    transform: translateX(-50%);
}

.chs-country-network__pulse {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 14px;
    height: 14px;
    border: 3px solid #63d7e5;
    border-radius: 50%;
    background: #071518;
    box-shadow: 0 0 18px rgba(99, 215, 229, 0.8);
    transform: translateX(-50%);
    animation:
        chs-country-pulse 2.4s ease-out infinite;
}

.chs-country-destinations {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.chs-country-destination {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.065);
    color: #ffffff;
    text-align: center;
}

.chs-country-destination strong {
    margin-top: 13px;
    color: #ffffff;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.25;
    hyphens: auto;
}

.chs-country-destination > span:last-child {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 11px;
    line-height: 1.4;
}

.chs-country-flag {
    position: relative;
    width: 58px;
    height: 40px;
    flex: 0 0 auto;
    display: block;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
}

.chs-country-flag--de {
    background:
        linear-gradient(
            to bottom,
            #111111 0 33.333%,
            #dd0000 33.333% 66.666%,
            #ffce00 66.666% 100%
        );
}

.chs-country-flag--at {
    background:
        linear-gradient(
            to bottom,
            #ed2939 0 33.333%,
            #ffffff 33.333% 66.666%,
            #ed2939 66.666% 100%
        );
}

.chs-country-flag--ch {
    background: #d52b1e;
}

.chs-country-flag--ch::before,
.chs-country-flag--ch::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.chs-country-flag--ch::before {
    width: 23px;
    height: 7px;
}

.chs-country-flag--ch::after {
    width: 7px;
    height: 23px;
}

.chs-country-flag--ae {
    background:
        linear-gradient(
            to bottom,
            #00732f 0 33.333%,
            #ffffff 33.333% 66.666%,
            #000000 66.666% 100%
        );
}

.chs-country-flag--ae::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 25%;
    background: #ff0000;
}

.chs-premium-international__regions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(40px, 6vw, 72px);
}

.chs-premium-region-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(23, 34, 38, 0.09);
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
        0 12px 30px rgba(23, 34, 38, 0.055);
}

.chs-premium-region-card__header {
    display: flex;
    gap: 16px;
    align-items: center;
}

.chs-premium-region-card__header .chs-country-flag {
    width: 48px;
    height: 33px;
    border-color: rgba(23, 34, 38, 0.16);
    box-shadow: none;
}

.chs-premium-region-card__header p {
    margin: 0;
    color: #087f91;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.chs-premium-region-card h3 {
    margin: 5px 0 0;
    color: #172226;
    font-size: clamp(19px, 1.5vw, 24px);
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: auto;
}

.chs-premium-region-card > p {
    margin: 19px 0 0;
    color: #637176;
    font-size: 14px;
    line-height: 1.63;
}

@keyframes chs-country-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(99, 215, 229, 0.55),
            0 0 18px rgba(99, 215, 229, 0.8);
    }

    70% {
        box-shadow:
            0 0 0 17px rgba(99, 215, 229, 0),
            0 0 18px rgba(99, 215, 229, 0.5);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(99, 215, 229, 0),
            0 0 18px rgba(99, 215, 229, 0.5);
    }
}

@media (max-width: 1080px) {
    .chs-premium-international__layout {
        grid-template-columns: 1fr;
    }

    .chs-premium-international__content {
        max-width: 780px;
    }

    .chs-premium-international__visual {
        min-height: 450px;
    }

    .chs-premium-international__regions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .chs-premium-international {
        padding: 68px 0;
    }

    .chs-premium-international__visual {
        min-height: 0;
        padding: 24px 18px;
    }

    .chs-country-hub {
        max-width: none;
    }

    .chs-country-network {
        height: 68px;
    }

    .chs-country-network__line {
        height: 48px;
    }

    .chs-country-network__line::after {
        display: none;
    }

    .chs-country-network__pulse {
        top: 41px;
    }

    .chs-country-destinations {
        grid-template-columns: 1fr;
    }

    .chs-country-destination {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        text-align: left;
    }

    .chs-country-destination .chs-country-flag {
        grid-row: 1 / span 2;
    }

    .chs-country-destination strong {
        margin-top: 0;
    }

    .chs-country-destination > span:last-child {
        margin-top: 3px;
    }

    .chs-premium-international__regions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chs-country-network__pulse {
        animation: none;
    }
}
