.tega-v21-strip,
.tega-v21-strip * {
    box-sizing: border-box;
}

.tega-v21-strip {
    --tega-bg: #f3f4f6;
    --tega-text: #171a1f;
    --tega-muted: #49515c;
    --tega-accent: #006f9f;
    --tega-card-bg: #ffffff;
    --tega-desktop-height: 300px;
    --tega-mobile-height: 330px;
    --tega-text-width: 290px;
    --tega-gap: 14px;
    --tega-safe: 28px;
    --tega-radius: 0px;
    --tega-image-radius: 0px;
    --tega-duration: 720ms;
    --tega-img-count: 5;
    --tega-desktop-object-position: center center;
    --tega-mobile-object-position: center center;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--tega-safe);
    border-radius: var(--tega-radius);
    background: var(--tega-bg);
    color: var(--tega-text);
    isolation: isolate;
}

.tega-v21-strip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--tega-accent) 12%, var(--tega-accent) 88%, transparent 100%);
    opacity: .85;
    pointer-events: none;
}

.tega-v21-desktop {
    display: grid;
    grid-template-columns: minmax(180px, var(--tega-text-width)) minmax(0, 1fr);
    gap: clamp(18px, 2vw, 36px);
    align-items: stretch;
    min-height: var(--tega-desktop-height);
}

.tega-v21-copy {
    min-width: 0;
    color: var(--tega-text);
}

.tega-v21-copy--desktop {
    min-height: var(--tega-desktop-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(10px, 1.5vw, 28px) 0 clamp(10px, 1.5vw, 28px) clamp(4px, 1vw, 24px);
}

.tega-v21-headline {
    margin: 0;
    color: var(--tega-text);
    font-size: clamp(19px, 1.35vw, 30px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.tega-v21-accent-line {
    display: block;
    width: 48px;
    height: 2px;
    margin: 22px 0 20px;
    background: var(--tega-accent);
    transform-origin: left center;
}

.tega-v21-description {
    margin: 0;
    color: var(--tega-muted);
    font-size: clamp(14px, .88vw, 17px);
    line-height: 1.55;
    font-weight: 400;
}

.tega-v21-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    margin-top: 22px;
    padding: 9px 17px;
    border: 2px solid var(--tega-accent);
    color: var(--tega-accent);
    background: transparent;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.01em;
    transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.tega-v21-button:hover,
.tega-v21-button:focus-visible {
    color: #fff;
    background: var(--tega-accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 111, 159, .22);
}

.tega-v21-button:focus-visible,
.tega-v21-dot:focus-visible,
.tega-v21-arrow:focus-visible {
    outline: 2px solid var(--tega-accent);
    outline-offset: 3px;
}

.tega-v21-desktop-images {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(var(--tega-img-count), minmax(110px, 1fr));
    gap: var(--tega-gap);
    align-items: stretch;
}

.tega-v21-image-card {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    border-radius: var(--tega-image-radius);
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

.tega-v21-desktop-image {
    height: var(--tega-desktop-height);
}

.tega-v21-image-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--tega-desktop-object-position);
    transform: scale(1.001);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .55s ease;
}

.tega-v21-image-card:hover img {
    transform: scale(1.04);
    filter: saturate(1.04) contrast(1.02);
}

.tega-v21-mobile {
    display: none;
}

.tega-v21-tablet {
    display: none;
}

@media (min-width: 641px) and (max-width: 1366px), (pointer: coarse) and (min-width: 641px) and (max-width: 1366px) {
    .tega-v21-strip {
        padding: clamp(18px, 2.8vw, 30px);
    }

    .tega-v21-desktop,
    .tega-v21-mobile {
        display: none;
    }

    .tega-v21-tablet {
        --tega-arrow-size: 42px;
        display: grid;
        grid-template-columns: minmax(170px, calc(var(--tega-text-width) * .86)) minmax(0, 1fr);
        gap: clamp(18px, 2.6vw, 34px);
        align-items: stretch;
        min-height: var(--tega-desktop-height);
    }

    .tega-v21-copy--tablet {
        min-height: var(--tega-desktop-height);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: clamp(10px, 1.8vw, 24px) 0 clamp(10px, 1.8vw, 24px) clamp(4px, 1vw, 18px);
    }

    .tega-v21-copy--tablet .tega-v21-headline {
        font-size: clamp(19px, 2.2vw, 26px);
    }

    .tega-v21-copy--tablet .tega-v21-description {
        font-size: clamp(14px, 1.5vw, 16px);
    }

    .tega-v21-tablet-gallery {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .tega-v21-tablet-viewport {
        position: relative;
        width: 100%;
        min-width: 0;
        height: var(--tega-desktop-height);
        overflow: hidden;
        border-radius: var(--tega-image-radius);
    }

    .tega-v21-tablet-track {
        display: flex;
        align-items: stretch;
        gap: var(--tega-gap);
        height: 100%;
        transform: translate3d(0, 0, 0);
        transition: transform var(--tega-duration) cubic-bezier(.21, .82, .24, 1);
        will-change: transform;
    }

    .tega-v21-tablet-image {
        flex: 0 0 calc((100% - var(--tega-gap)) / 2);
        height: 100%;
        min-width: 0;
    }

    .tega-v21-tablet.is-portrait .tega-v21-tablet-image {
        flex-basis: 100%;
    }

    .tega-v21-tablet-nav-row {
        position: relative;
        z-index: 8;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(12px, 2.2vw, 18px);
        width: 100%;
        min-height: 44px;
        margin-top: 14px;
    }

    .tega-v21-tablet-nav-row[hidden] {
        display: none !important;
    }

    .tega-v21-tablet-nav-row.has-no-dots {
        gap: clamp(22px, 7vw, 44px);
    }

    .tega-v21-tablet .tega-v21-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;
        min-height: var(--tega-arrow-size);
        margin-top: 0;
        padding-inline: 2px;
    }

    .tega-v21-tablet .tega-v21-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: color-mix(in srgb, var(--tega-accent) 38%, transparent);
        cursor: pointer;
        transition: width .25s ease, background-color .25s ease, opacity .25s ease;
        opacity: .68;
    }

    .tega-v21-tablet .tega-v21-dot.is-active {
        width: 28px;
        background: var(--tega-accent);
        opacity: 1;
    }

    .tega-v21-tablet .tega-v21-arrow {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: var(--tega-arrow-size);
        height: var(--tega-arrow-size);
        padding: 0;
        border: 1px solid color-mix(in srgb, var(--tega-accent) 34%, transparent);
        border-radius: 999px;
        color: var(--tega-accent);
        background: rgba(255, 255, 255, .86);
        box-shadow: 0 10px 26px rgba(15, 23, 42, .13);
        backdrop-filter: blur(12px);
        cursor: pointer;
        transform: translateY(0);
        transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    }

    .tega-v21-tablet .tega-v21-arrow span {
        display: block;
        margin-top: -2px;
        font-size: calc(var(--tega-arrow-size) * .81);
        line-height: 1;
        font-weight: 400;
    }

    .tega-v21-tablet .tega-v21-arrow:hover,
    .tega-v21-tablet .tega-v21-arrow:focus-visible {
        color: #fff;
        background: var(--tega-accent);
        border-color: var(--tega-accent);
        transform: translateY(-1px) scale(1.04);
        box-shadow: 0 14px 34px rgba(0, 111, 159, .24);
    }

    .tega-v21-tablet .tega-v21-arrow--prev:hover,
    .tega-v21-tablet .tega-v21-arrow--prev:focus-visible {
        transform: translateY(-1px) translateX(-2px) scale(1.04);
    }

    .tega-v21-tablet .tega-v21-arrow--next:hover,
    .tega-v21-tablet .tega-v21-arrow--next:focus-visible {
        transform: translateY(-1px) translateX(2px) scale(1.04);
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .tega-v21-tablet {
        grid-template-columns: minmax(176px, 34%) minmax(0, 1fr);
        gap: clamp(12px, 2.2vw, 20px);
        align-items: stretch;
    }

    .tega-v21-copy--tablet {
        min-height: var(--tega-mobile-height);
        padding: clamp(18px, 4.2vw, 32px) clamp(10px, 2.5vw, 22px);
        border-radius: var(--tega-image-radius);
        background:
            radial-gradient(circle at top right, rgba(0, 111, 159, .10), transparent 42%),
            var(--tega-card-bg);
    }

    .tega-v21-copy--tablet .tega-v21-headline {
        font-size: clamp(17px, 3.1vw, 24px);
        line-height: 1.16;
    }

    .tega-v21-copy--tablet .tega-v21-description {
        font-size: clamp(13px, 2vw, 15px);
        line-height: 1.45;
    }

    .tega-v21-copy--tablet .tega-v21-accent-line {
        margin: 16px 0 14px;
    }

    .tega-v21-copy--tablet .tega-v21-button {
        margin-top: 18px;
        padding: 8px 13px;
        font-size: 13px;
    }

    .tega-v21-tablet-viewport {
        height: var(--tega-mobile-height);
    }

    .tega-v21-tablet-image {
        flex-basis: 100%;
    }
}

.tega-v21-empty-note {
    grid-column: 1 / -1;
    min-height: var(--tega-desktop-height);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(0, 111, 159, .35);
    color: var(--tega-muted);
    background: rgba(255, 255, 255, .48);
    font-size: 14px;
}

@media (max-width: 1024px) and (min-width: 782px) {
    .tega-v21-strip {
        --tega-safe: min(var(--tega-safe), 22px);
    }

    .tega-v21-desktop {
        grid-template-columns: minmax(170px, calc(var(--tega-text-width) * .82)) minmax(0, 1fr);
        gap: 18px;
    }

    .tega-v21-desktop-images {
        grid-template-columns: repeat(var(--tega-img-count), minmax(100px, 1fr));
    }

    .tega-v21-headline {
        font-size: clamp(17px, 2vw, 24px);
    }

    .tega-v21-description {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .tega-v21-strip {
        padding: clamp(14px, 5vw, 24px);
        border-radius: var(--tega-radius);
    }

    .tega-v21-desktop {
        display: none;
    }

    .tega-v21-mobile {
        --tega-arrow-size: 42px;
        display: block;
        position: relative;
        width: 100%;
    }

    .tega-v21-mobile-viewport {
        position: relative;
        width: 100%;
        height: var(--tega-mobile-height);
        overflow: hidden;
        border-radius: var(--tega-image-radius);
        background: rgba(255, 255, 255, .42);
    }

    .tega-v21-mobile-slide {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: flex;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(34px, 0, 0) scale(.985);
        transition: opacity calc(var(--tega-duration) * .65) ease, transform var(--tega-duration) cubic-bezier(.21, .82, .24, 1);
        will-change: opacity, transform;
    }

    .tega-v21-mobile-slide.is-active {
        z-index: 3;
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
    }

    .tega-v21-mobile-slide.is-exiting {
        z-index: 2;
        opacity: 0;
        transform: translate3d(-24px, 0, 0) scale(.985);
        transition: opacity calc(var(--tega-duration) * .55) ease, transform calc(var(--tega-duration) * .55) cubic-bezier(.55, 0, .45, 1);
    }

    .tega-v21-mobile-slide--text {
        align-items: stretch;
        justify-content: stretch;
        transform: translate3d(-32px, 0, 0) scale(.985);
    }

    .tega-v21-mobile-slide--text.is-active {
        animation: tegaV21TextIn var(--tega-duration) cubic-bezier(.21, .82, .24, 1) both;
    }

    .tega-v21-mobile-slide--text.is-exiting {
        animation: tegaV21TextOut calc(var(--tega-duration) * .72) cubic-bezier(.55, 0, .45, 1) both;
    }

    .tega-v21-mobile-slide--image.is-active {
        animation: tegaV21ImageIn var(--tega-duration) cubic-bezier(.21, .82, .24, 1) both;
    }

    .tega-v21-copy--mobile {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: clamp(24px, 7vw, 44px);
        color: var(--tega-text);
        background:
            radial-gradient(circle at top right, rgba(0, 111, 159, .12), transparent 42%),
            var(--tega-card-bg);
    }

    .tega-v21-copy--mobile .tega-v21-headline {
        font-size: clamp(24px, 7vw, 38px);
        line-height: 1.08;
        max-width: 12em;
    }

    .tega-v21-copy--mobile .tega-v21-description {
        font-size: clamp(15px, 4.15vw, 18px);
        line-height: 1.5;
        max-width: 22em;
    }

    .tega-v21-copy--mobile .tega-v21-accent-line {
        width: 54px;
        margin: 22px 0 18px;
    }

    .tega-v21-copy--mobile .tega-v21-button {
        margin-top: 22px;
    }

    .tega-v21-mobile-slide--image .tega-v21-image-card {
        width: 100%;
        height: 100%;
        box-shadow: 0 12px 34px rgba(15, 23, 42, .14);
    }

    .tega-v21-mobile-slide--image .tega-v21-image-card img {
        object-position: var(--tega-mobile-object-position);
    }

    .tega-v21-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;
        min-height: 28px;
        margin-top: 14px;
    }

    .tega-v21-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: color-mix(in srgb, var(--tega-accent) 38%, transparent);
        cursor: pointer;
        transition: width .25s ease, background-color .25s ease, opacity .25s ease;
        opacity: .68;
    }

    .tega-v21-dot.is-active {
        width: 28px;
        background: var(--tega-accent);
        opacity: 1;
    }
}

@keyframes tegaV21TextIn {
    from {
        opacity: 0;
        transform: translate3d(-34px, 0, 0) scale(.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes tegaV21TextOut {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate3d(-26px, 0, 0) scale(.985);
    }
}

@keyframes tegaV21ImageIn {
    from {
        opacity: 0;
        transform: translate3d(38px, 0, 0) scale(.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tega-v21-strip *,
    .tega-v21-strip *::before,
    .tega-v21-strip *::after {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }
}

.tega-v21-button.is-disabled {
    pointer-events: none;
}

@media (max-width: 640px) {
    .tega-v21-copy--mobile .tega-v21-button {
        display: none;
    }


    .tega-v21-mobile-nav-row {
        position: relative;
        z-index: 8;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 3.5vw, 16px);
        width: 100%;
        min-height: 44px;
        margin-top: 14px;
    }

    .tega-v21-mobile-nav-row.has-no-dots {
        gap: clamp(22px, 10vw, 44px);
    }

    .tega-v21-arrow {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: var(--tega-arrow-size);
        height: var(--tega-arrow-size);
        padding: 0;
        border: 1px solid color-mix(in srgb, var(--tega-accent) 34%, transparent);
        border-radius: 999px;
        color: var(--tega-accent);
        background: rgba(255, 255, 255, .86);
        box-shadow: 0 10px 26px rgba(15, 23, 42, .13);
        backdrop-filter: blur(12px);
        cursor: pointer;
        transform: translateY(0);
        transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    }

    .tega-v21-arrow span {
        display: block;
        margin-top: -2px;
        font-size: calc(var(--tega-arrow-size) * .81);
        line-height: 1;
        font-weight: 400;
    }

    .tega-v21-arrow:hover,
    .tega-v21-arrow:focus-visible {
        color: #fff;
        background: var(--tega-accent);
        border-color: var(--tega-accent);
        transform: translateY(-1px) scale(1.04);
        box-shadow: 0 14px 34px rgba(0, 111, 159, .24);
    }

    .tega-v21-arrow--prev:hover,
    .tega-v21-arrow--prev:focus-visible {
        transform: translateY(-1px) translateX(-2px) scale(1.04);
    }

    .tega-v21-arrow--next:hover,
    .tega-v21-arrow--next:focus-visible {
        transform: translateY(-1px) translateX(2px) scale(1.04);
    }

    .tega-v21-bottom-dots {
        position: relative;
        z-index: 1;
        min-height: var(--tega-arrow-size);
        margin-top: 0;
        padding-inline: 2px;
    }

    .tega-v21-side-dots {
        position: absolute;
        top: calc(var(--tega-mobile-height) / 2);
        z-index: 9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 0;
        margin: 0;
        padding: 9px 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .68);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
        backdrop-filter: blur(10px);
        transform: translateY(-50%);
    }

    .tega-v21-side-dots--left {
        left: 8px;
    }

    .tega-v21-side-dots--right {
        right: 8px;
    }

    .tega-v21-side-dots .tega-v21-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
    }

    .tega-v21-side-dots .tega-v21-dot.is-active {
        width: 8px;
        height: 28px;
    }

    .tega-v21-mobile-button-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 12px;
    }

    .tega-v21-mobile-button-wrap .tega-v21-button {
        margin-top: 0;
        min-width: min(240px, 100%);
        min-height: 42px;
        padding: 11px 22px;
        border-radius: 0;
        background: transparent;
    }

    .tega-v21-mobile-button-wrap .tega-v21-button:hover,
    .tega-v21-mobile-button-wrap .tega-v21-button:focus-visible {
        background: var(--tega-accent);
        color: #fff;
    }
}


@media (max-width: 420px) {
    .tega-v21-mobile {
        --tega-arrow-size: 36px;
    }
}

@media (max-width: 340px) {
    .tega-v21-mobile {
        --tega-arrow-size: 34px;
    }
}
