.tf-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    container-type: inline-size;
}

.tf-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding-right: 10px;
    border-radius: 8px;
    background: #FFFFFF05;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.tf-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(90deg, rgba(102, 102, 102, 0) 25%, rgba(0, 0, 0, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tf-item + .tf-item {
    margin-top: 32px;
}

.tf-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #0A0E23;
    /* border: 1px solid;
    border-image-source: linear-gradient(134.91deg, rgba(255, 255, 255, 0.2) 0.08%, rgba(153, 153, 153, 0.1) 99.92%);
    border-image-slice: 1;
    box-shadow: 2px 2px 8px 0px #506DFF40 inset, -2px -2px 8px 0px #125C1240 inset; */
}

.tf-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-body {
    flex: 1;
    padding: 0 16px;
    min-width: 0;
}

.tf-title {
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 1000;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0%;
    color: #4B1E00;
    white-space: nowrap;
    overflow: hidden;
}

.tf-title-inner {
    display: inline-block;
    white-space: nowrap;
}

.tf-desc {
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    font-size: 12.6px;
    line-height: 20.16px;
    letter-spacing: 0px;
    color: #A7A7A7;
    text-transform: uppercase;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.tf-desc-inner {
    display: inline-block;
    white-space: nowrap;
}

.tf-cta {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FF4132;
    color: #fff;
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 1000;
    font-style: italic;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    border: 1px solid;
    border-image-source: linear-gradient(134.91deg, rgba(255, 255, 255, 0.2) 0.08%, rgba(153, 153, 153, 0.1) 99.92%);
    border-image-slice: 1;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .15s;
}

.tf-cta:hover {
    transform: translateY(-2px);
    color: #fff;
}

.tf-cta-hidden .tf-cta {
    display: none;
}

.tf-cta-hidden .tf-body {
    padding-right: 0;
}

.tf-title-row {
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 860;
    font-size: 28px;
    letter-spacing: 0%;
    color: #000;
    margin-bottom: 16px;
    width: 100%;
    text-align: left;
}

.tf-theme-dark .tf-title-row {
    color: #fff;
}

.tf-theme-dark .tf-title {
    color: #FFD875;
}

.tf-theme-dark .tf-desc {
    color: #aaa;
}

.tf-theme-style3,
.tf-theme-style4 {
    max-width: 100%;
}

.tf-theme-style3 .tf-s3-container,
.tf-theme-style4 .tf-s3-container {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    border: 1px solid var(--Stroke, #F1F1F1);
    width: 100%;
    height: 90px;
}

.tf-theme-style3 .tf-s3-title-area,
.tf-theme-style4 .tf-s3-title-area {
    display: flex;
    align-items: center;
    padding: 10px;
    flex-shrink: 0;
}

.tf-theme-style3 .tf-s3-title-area--outside,
.tf-theme-style4 .tf-s3-title-area--outside {
    display: none;
    align-self: flex-start;
    width: 100%;
}

.tf-theme-style3 .tf-s3-title-text,
.tf-theme-style4 .tf-s3-title-text {
    width: 74px;
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 1000;
    font-style: italic;
    font-size: 16px;
    text-transform: uppercase;
    color: #212121;
    line-height: 1.2;
    white-space: nowrap;
}

.tf-theme-style3 .tf-s3-title-text svg,
.tf-theme-style4 .tf-s3-title-text svg{
    display: inline-block;
}

.tf-theme-style3 .tf-s3-red,
.tf-theme-style4 .tf-s3-red {
    font-size: 20px;
    background: linear-gradient(203.02deg, #FF2424 14.33%, #AE0000 85.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tf-theme-style3 .tf-s3-right,
.tf-theme-style4 .tf-s3-right {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 32px;
}

.tf-theme-style3 .tf-s3-track-wrap,
.tf-theme-style4 .tf-s3-track-wrap {
    overflow: hidden;
    width: 100%;
}

.tf-theme-style3 .tf-s3-track,
.tf-theme-style4 .tf-s3-track {
    display: flex;
    gap: 8px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.tf-theme-style3 .tf-s3-item,
.tf-theme-style4 .tf-s3-item {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: inherit;
}

.tf-theme-style3 .tf-s3-logo,
.tf-theme-style4 .tf-s3-logo {
    width: 80px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #0A0E23;
    border: 1px solid rgba(0,0,0,0.08);
    margin: 0 auto;
}

.tf-theme-style3 .tf-s3-logo img,
.tf-theme-style4 .tf-s3-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-theme-style3 .tf-s3-cta,
.tf-theme-style4 .tf-s3-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF4132;
    color: #fff;
    font-family: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    font-size: 10px;
    border-radius: 6px;
    padding: 0 7px;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1;
    height: 18px;
    box-sizing: border-box;
    transition: transform 0.15s;
    outline: none;
}

.tf-theme-style3 .tf-s3-cta:hover,
.tf-theme-style4 .tf-s3-cta:hover {
    transform: scale(1.05);
}

.tf-theme-style3 .tf-s3-cta:focus,
.tf-theme-style3 .tf-s3-cta:active,
.tf-theme-style4 .tf-s3-cta:focus,
.tf-theme-style4 .tf-s3-cta:active {
    outline: none;
}

.tf-theme-style3 .tf-s3-btn,
.tf-theme-style4 .tf-s3-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    color: #670096;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    z-index: 2;
    padding: 0;
    margin: 0;
    border-radius: 0;
    outline: none;
}

.tf-theme-style3 .tf-s3-btn svg,
.tf-theme-style4 .tf-s3-btn svg {
    display: block;
}

.tf-theme-style3 .tf-s3-btn:hover,
.tf-theme-style3 .tf-s3-btn:active,
.tf-theme-style3 .tf-s3-btn:focus,
.tf-theme-style4 .tf-s3-btn:hover,
.tf-theme-style4 .tf-s3-btn:active,
.tf-theme-style4 .tf-s3-btn:focus {
    transform: translateY(-50%) scale(1.1);
}

.tf-theme-style3 .tf-s3-prev,
.tf-theme-style4 .tf-s3-prev {
    left: 8px;
}

.tf-theme-style3 .tf-s3-next,
.tf-theme-style4 .tf-s3-next {
    right: 8px;
}

@media (max-width: 585px) {
    .tf-theme-style3 .tf-s3-title-area--outside,
    .tf-theme-style4 .tf-s3-title-area--outside {
        display: block;
        text-align: left;
        margin-bottom: 4px;
    }

    .tf-theme-style3 .tf-s3-title-area--outside .tf-s3-title-text,
    .tf-theme-style4 .tf-s3-title-area--outside .tf-s3-title-text {
        font-size: 16px;
        white-space: nowrap;
        width: auto;
    }

    .tf-theme-style3 .tf-s3-title-area--outside .tf-s3-title-text br,
    .tf-theme-style4 .tf-s3-title-area--outside .tf-s3-title-text br {
        display: none;
    }

    .tf-theme-style3 .tf-s3-title-area--outside .tf-s3-red,
    .tf-theme-style4 .tf-s3-title-area--outside .tf-s3-red {
        font-size: inherit;
    }

    .tf-theme-style3 .tf-s3-title-area,
    .tf-theme-style4 .tf-s3-title-area {
        display: none;
    }
}

.tf-theme-style3.tf-s3-small .tf-s3-logo,
.tf-theme-style4.tf-s3-small .tf-s3-logo {
    width: 64px;
    height: 48px;
}

.tf-theme-style3.tf-s3-small .tf-s3-cta,
.tf-theme-style4.tf-s3-small .tf-s3-cta {
    font-size: 8px;
    padding: 3px;
}

.tf-theme-style4 .tf-s3-container {
    /* background: var(--BG-Light, #0D0D0D); */
    border: 1px solid var(--Stroke, #262626);
}

.tf-theme-style4 .tf-s3-title-text {
    color: #DFDFDF;
}

.tf-theme-style4 .tf-s3-btn svg,
.tf-theme-style4 .tf-s3-btn path {
    fill: #C23EFF;
}


