.rth-tab-showcase {
    --rth-accent: #923cff;
    --rth-pulse-duration: 2.4s;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e5ed;
    direction: rtl;
}

.rth-showcase-inner {
    display: flex;
    width: 100%;
    min-width: 0;
}

.rth-image-left .rth-showcase-inner {
    flex-direction: row-reverse;
}

.rth-showcase-content,
.rth-showcase-media {
    min-width: 0;
}

.rth-showcase-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 46%;
    flex-direction: column;
    justify-content: center;
    background: inherit;
}

.rth-showcase-media {
    position: relative;
    flex: 0 0 54%;
    overflow: hidden;
    background: #111;
}

.rth-showcase-eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 4px;
    text-align: center;
    direction: ltr;
}

.rth-showcase-title {
    margin: 0 0 38px;
    font-size: clamp(38px, 4vw, 66px);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.rth-showcase-tabs {
    display: grid;
    grid-template-columns: repeat(var(--rth-tab-count, 3), minmax(0, 1fr));
    width: 100%;
    overflow: hidden;
    border: 1px solid #e7e2ec;
}

.rth-showcase-tab {
    position: relative;
    appearance: none;
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 0;
    background: transparent;
    color: #6d6472;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease;
}

.rth-showcase-tab + .rth-showcase-tab {
    border-inline-start: 1px solid #e7e2ec;
}

.rth-showcase-tab::after {
    content: "";
    position: absolute;
    inset-inline: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: var(--rth-accent);
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .3s ease, transform .3s ease;
}

.rth-showcase-tab:hover,
.rth-showcase-tab:focus-visible,
.rth-showcase-tab.is-active {
    color: #17131b;
}

.rth-showcase-tab:focus-visible {
    outline: 2px solid var(--rth-accent);
    outline-offset: -3px;
}

.rth-showcase-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.rth-showcase-panels {
    position: relative;
    margin-top: 42px;
}

.rth-showcase-panel[hidden],
.rth-media-panel[hidden] {
    display: none !important;
}

.rth-showcase-panel.is-active {
    animation: rthPanelIn .55s cubic-bezier(.22, .8, .28, 1) both;
}

.rth-showcase-icon {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 28px;
    place-items: center;
    border-radius: 50%;
    background: #f0e5ff;
    color: #8e36f6;
    isolation: isolate;
    animation: rthIconFlash var(--rth-pulse-duration) ease-in-out infinite;
}

.rth-showcase-icon::before,
.rth-showcase-icon::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid #f0e5ff;
    border-radius: inherit;
    opacity: 0;
    animation: rthPulseRing var(--rth-pulse-duration) ease-out infinite;
}

.rth-showcase-icon::after {
    animation-delay: calc(var(--rth-pulse-duration) / 2);
}

.rth-no-pulse .rth-showcase-icon,
.rth-no-pulse .rth-showcase-icon::before,
.rth-no-pulse .rth-showcase-icon::after {
    animation: none;
}

.rth-showcase-icon i,
.rth-showcase-icon svg {
    position: relative;
    z-index: 2;
    width: 24px;
    height: 24px;
    font-size: 24px;
    fill: currentColor;
}

.rth-panel-title {
    margin: 0 0 18px;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.rth-panel-description {
    color: #6b6370;
    font-size: 16px;
    line-height: 2.05;
    text-align: right;
}

.rth-panel-description > :first-child {
    margin-top: 0;
}

.rth-panel-description > :last-child {
    margin-bottom: 0;
}

.rth-panel-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.8;
}

.rth-panel-list li {
    position: relative;
    padding-inline-start: 28px;
}

.rth-panel-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: var(--rth-accent);
    font-weight: 800;
}

.rth-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: #7c25e8;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.rth-panel-link .rth-link-arrow {
    display: inline-block;
    transition: transform .25s ease;
}

.rth-panel-link:hover .rth-link-arrow,
.rth-panel-link:focus-visible .rth-link-arrow {
    transform: translateX(-5px);
}

.rth-media-panel {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
}

.rth-media-panel.is-active {
    z-index: 2;
    animation: rthMediaIn .65s cubic-bezier(.2, .78, .25, 1) both;
}

.rth-media-panel::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, .18);
}

.rth-media-panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 7s ease;
}

.rth-media-panel.is-active img {
    transform: scale(1.075);
}

.rth-media-caption {
    position: absolute;
    z-index: 2;
    inset-inline: 42px;
    bottom: 30px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
}

@keyframes rthPanelIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rthMediaIn {
    from {
        opacity: 0;
        transform: scale(1.025);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rthPulseRing {
    0% {
        opacity: .45;
        transform: scale(.86);
    }
    65%, 100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@keyframes rthIconFlash {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(142, 54, 246, 0);
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 24px 2px rgba(142, 54, 246, .17);
        filter: brightness(1.07);
        transform: scale(1.035);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rth-showcase-panel,
    .rth-media-panel,
    .rth-showcase-icon,
    .rth-showcase-icon::before,
    .rth-showcase-icon::after,
    .rth-media-panel img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 1024px) {
    .rth-showcase-inner,
    .rth-image-left .rth-showcase-inner {
        flex-direction: column;
    }

    .rth-showcase-content,
    .rth-showcase-media {
        flex-basis: auto !important;
        width: 100%;
    }

    .rth-showcase-media {
        min-height: 520px;
    }
}

@media (max-width: 767px) {
    .rth-tab-showcase {
        border-radius: 20px;
    }

    .rth-showcase-content {
        padding: 28px 20px 34px !important;
    }

    .rth-showcase-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .rth-showcase-title {
        margin-bottom: 24px;
        font-size: 34px;
    }

    .rth-showcase-tabs {
        overflow-x: auto;
        grid-template-columns: repeat(var(--rth-tab-count, 3), minmax(125px, 1fr));
        scrollbar-width: thin;
    }

    .rth-showcase-tab {
        padding: 14px 10px;
        font-size: 14px;
        white-space: nowrap;
    }

    .rth-showcase-panels {
        margin-top: 34px;
    }

    .rth-showcase-icon {
        margin-bottom: 22px;
    }

    .rth-panel-title {
        font-size: 25px;
    }

    .rth-panel-description {
        font-size: 14px;
        line-height: 2;
    }

    .rth-showcase-media {
        min-height: 380px;
    }

    .rth-media-caption {
        inset-inline: 22px;
        bottom: 20px;
        font-size: 13px;
    }
}
