:root{
    --font-family: Arial, Helvetica, sans-serif;
}

.ts-carousel-wrapper{
    margin-top: 40px;
    margin-bottom: 40px;
}

.ts-carousel {
    position: relative;
    width: 100%;
    overflow: visible;
    user-select: none;
}

.ts-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform
}

.ts-slide {
    min-width: 100%;
    display: flex;
    gap: 16px;
    padding: 0;
    align-items: stretch
}

.ts-tile {
    font-family: Arial, Helvetica, sans-serif;
    flex: 1;
    min-width: 0;
    max-width: calc(25% - 12px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer
}

.ts-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1)
}

.ts-tile__thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #ddd;
    display: block;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0
}

.ts-tile__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px
}

.ts-tile__badge {
    font-family: var(--font-family);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start
}

.ts-tile__badge--link {
    background: #E6F1FB;
    color: #185FA5
}

.ts-tile__badge--radio {
    background: #E1F5EE;
    color: #0F6E56
}

.ts-tile__badge--iframe {
    background: #FAEEDA;
    color: #854F0B
}

.ts-tile__title {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3
}

.ts-tile__desc {
    font-family: var(--font-family);
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    flex: 1
}

.ts-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0078AE;
    font-weight: 600;
    margin-top: 4px
}

.ts-tile__iframe-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    flex-shrink: 0;
    overflow: hidden
}

.ts-tile__iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block
}

.ts-tile__radio-visual {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden
}

.ts-tile__radio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35)
}

.ts-tile__radio-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .15);
    position: relative;
    z-index: 1
}


.ts-tile__radio-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .3);
    position: relative;
    z-index: 1;
}

.ts-tile__radio-name {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.ts-tile__radio-freq {
    font-family: var(--font-family);
    font-size: 11px;
    color: rgba(255, 255, 255, .75);
    position: relative;
    z-index: 1;
    letter-spacing: .05em
}

.ts-tile__radio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0
}

.ts-tile__radio-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0078AE;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .15s
}

.ts-tile__radio-btn:hover {
    background: #009270
}

.ts-tile__radio-btn:active {
    transform: scale(.95)
}

.ts-tile__radio-btn svg {
    width: 16px;
    height: 16px;
    fill: #fff
}

.ts-tile__radio-info {
    flex: 1;
    min-width: 0
}

.ts-tile__radio-status {
    font-family: var(--font-family);
    font-size: 12px;
    color: #888
}

.ts-tile__radio-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px
}

.ts-tile__radio-eq span {
    width: 3px;
    background: #0078AE;
    border-radius: 2px;
    animation: ts-eq 0.7s ease-in-out infinite alternate
}

.ts-tile__radio-eq span:nth-child(1) {
    height: 8px
}

.ts-tile__radio-eq span:nth-child(2) {
    animation-delay: .15s;
    height: 10px
}

.ts-tile__radio-eq span:nth-child(3) {
    animation-delay: .3s;
    height: 14px
}

.ts-tile__radio-eq span:nth-child(4) {
    animation-delay: .45s;
    height: 6px
}

@keyframes ts-eq {
    to {
        transform: scaleY(1.8)
    }
}

.ts-tile__radio-eq--paused span {
    animation: none;
    height: 4px
}

.ts-tile__thumb,
.ts-tile__iframe-wrap,
.ts-tile__radio-visual {
    aspect-ratio: unset;
    height: 160px;
}

.ts-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0078AE;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
    -webkit-tap-highlight-color: transparent
}

.ts-arrow:hover {
        /* background: #009270; */
      border-color: #009270;
      transform: translateY(-50%) scale(1.08);
}

.ts-arrow:active {
    transform: translateY(-50%) scale(.96)
}

.ts-arrow--prev {
    left: -20px
}

.ts-arrow--next {
    right: -20px
}

.ts-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round
}

.ts-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px
}

.ts-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .2);
    border: 1.5px solid rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: background .25s, width .3s;
    -webkit-tap-highlight-color: transparent
}

.ts-dot.ts-dot--active {
    background: #0078AE;
    width: 28px;
    border-radius: 9999px;
    border-color: #0078AE
}

.ts-dot:hover:not(.ts-dot--active) {
    background: rgba(0, 0, 0, .4)
}

/* 3 tiles */
@media (max-width: 1024px) {
    .ts-tile {
        max-width: calc(33.333% - 11px);
    }
}

/* 2 tiles */
@media (max-width: 768px) {
    .ts-tile {
        max-width: calc(50% - 8px);
    }
}


@media(max-width:640px) {
    .ts-slide {
        padding: 0 44px;
        gap: 12px
    }

    .ts-tile__title {
        font-size: 13px
    }

    .ts-tile__desc {
        font-size: 12px
    }
}

@media(max-width:480px) {
    .ts-slide {
        padding: 0 40px
    }

      .ts-tile {
        max-width: 100%;
    }
}