.sut-studio-tabs {
    --sut-studio-blue: #39a1c8;
    position: relative;
    font-family: Outfit, Helvetica, Arial, sans-serif;
    white-space: normal;
    width: 100%;
}

.sut-studio-tabs [hidden] { display: none !important; }

.sut-studio-tabs__nav {
    display: flex;
    justify-content: center;
    gap: 3%;
    margin-bottom: 10px;
}

.sut-studio-tabs__nav button {
    min-height: 3em;
    width: 8em;
    padding: .45em .6em;
    border: 1px solid transparent;
    border-radius: 3px;
    background: rgba(57, 161, 200, .5);
    color: #142731;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.sut-studio-tabs__nav button[aria-selected="true"] {
    background: var(--sut-studio-blue);
    border-color: var(--sut-studio-blue);
    font-weight: 700;
}

.sut-studio-tabs :is(button, a):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.sut-studio-tabs__panel {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-height: clamp(380px, 28.3vw, 560px);
    padding: 0;
    background: #173443;
    color: #fff;
    box-shadow: inset 0 0 18px #0004;
}

.sut-studio-tabs__panel + .sut-studio-tabs__panel { margin-top: 10px; }

.sut-studio-tabs__panel[role="tabpanel"] { margin-top: 0; }

.sut-studio-tabs__photos,
.sut-studio-tabs__photos::after,
.sut-studio-tabs__photos img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sut-studio-tabs__photos { z-index: 0; pointer-events: none; }

.sut-studio-tabs__photos::after {
    content: "";
    background: rgba(57, 161, 200, .5);
}

.sut-studio-tabs__photos img {
    display: block;
    object-fit: cover;
    object-position: center left;
}

.sut-studio-tabs__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    flex: 0 0 50%;
    min-width: 0;
    padding: clamp(28px, 4vw, 72px);
    background: rgba(8, 16, 21, .83);
    color: #fff;
    text-align: right;
    white-space: normal;
    overflow-wrap: break-word;
}

.sut-studio-tabs .sut-studio-tabs__copy h3 {
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(2rem, 2.6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
}

.sut-studio-tabs .sut-studio-tabs__copy p { margin: 0; padding: 0; color: #fff; font-weight: 600; line-height: 1.55; }

.sut-studio-tabs .sut-studio-tabs__copy a {
    display: inline-block;
    margin-top: 1.6em;
    padding: .4em .9em;
    border: 4px solid #fff;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.sut-studio-tabs__copy a:hover { background: #fff2; }

@media (max-width: 600px) {
    .sut-studio-tabs__nav button { width: auto; flex: 1; }
    .sut-studio-tabs__panel { min-height: 420px; align-items: flex-end; }
    .sut-studio-tabs__copy { flex-basis: 100%; padding: 24px 22px; }
}

@media (prefers-reduced-motion: no-preference) {
    .sut-studio-tabs__panel[role="tabpanel"]:not([hidden]) { animation: sut-studio-fade .2s ease-out; }
    @keyframes sut-studio-fade { from { opacity: .6; } to { opacity: 1; } }
}

.sut-studio-tabs .sut-studio-tabs__nav button,
.sut-studio-tabs .sut-studio-tabs__copy,
.sut-studio-tabs .sut-studio-tabs__copy :is(h3, p, a) {
    font-family: Outfit, Helvetica, Arial, sans-serif;
    white-space: normal;
}

.sut-studio-tabs .sut-studio-tabs__copy p { white-space: pre-line; }
