/* tabs area */
.css-tab-input {
    display: none;
}
.css-tabs-wrapper {
    width: 100%;
}
.css-tab-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    background: transparent;
    color: #1a1a2e;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    width: 44%;
}
label.css-tab-label h3 {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}
a.css-tab-btn:hover {
    background: #000000 !important;
    color: #fff;
}
.css-tab-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.25s ease;
}
.tabs_item {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.css-tab-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 48%;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ede9f6;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(109, 40, 217, 0.06);
}
.css-tab-content-wrapper {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ede9f6;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(109, 40, 217, 0.06);
    min-height: 280px;
}
.css-tab-nav {
    position: relative;
    padding-bottom: 100px;
}
.css-tab-panel {
    display: none;
}

#css-tab-0:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-0"],
#css-tab-1:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-1"],
#css-tab-2:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-2"],
#css-tab-3:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-3"],
#css-tab-4:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-4"],
#css-tab-5:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-5"],
#css-tab-6:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-6"],
#css-tab-7:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-7"],
#css-tab-8:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-8"],
#css-tab-9:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-9"],
#css-tab-10:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-10"],
#css-tab-11:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-11"],
#css-tab-12:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-12"] {
        background: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 6px 1px;
    border-color: #4285F8;
    box-shadow: 0px 0px 20px 0px rgba(65, 133.00000000000014, 248, 0.12549019607843137);
}

#css-tab-0:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-0"] .css-tab-icon,
#css-tab-1:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-1"] .css-tab-icon,
#css-tab-2:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-2"] .css-tab-icon,
#css-tab-3:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-3"] .css-tab-icon,
#css-tab-4:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-4"] .css-tab-icon,
#css-tab-5:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-5"] .css-tab-icon,
#css-tab-6:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-6"] .css-tab-icon, 
#css-tab-7:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-7"] .css-tab-icon,
#css-tab-8:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-8"] .css-tab-icon,
#css-tab-9:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-9"] .css-tab-icon,
#css-tab-10:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-10"] .css-tab-icon,
#css-tab-11:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-11"] .css-tab-icon,
#css-tab-12:checked ~ .css-tabs-layout .css-tab-nav label[for="css-tab-12"] .css-tab-icon {
    filter: none;
}

#css-tab-0:checked ~ .css-tabs-layout #css-panel-0,
#css-tab-1:checked ~ .css-tabs-layout #css-panel-1,
#css-tab-2:checked ~ .css-tabs-layout #css-panel-2,
#css-tab-3:checked ~ .css-tabs-layout #css-panel-3,
#css-tab-4:checked ~ .css-tabs-layout #css-panel-4,
#css-tab-5:checked ~ .css-tabs-layout #css-panel-5,
#css-tab-6:checked ~ .css-tabs-layout #css-panel-6,
#css-tab-7:checked ~ .css-tabs-layout #css-panel-7,
#css-tab-8:checked ~ .css-tabs-layout #css-panel-8,
#css-tab-9:checked ~ .css-tabs-layout #css-panel-9,
#css-tab-10:checked ~ .css-tabs-layout #css-panel-10,
#css-tab-11:checked ~ .css-tabs-layout #css-panel-11,
#css-tab-12:checked ~ .css-tabs-layout #css-panel-12 {
    display: block;
}

.css-tab-panel p {
    
    line-height: 1.75;
    color: #374151;
    margin-bottom: 18px;
}

.css-tab-panel strong {
    font-weight: 700;
    color: #111827;
}

.css-tab-panel a {
    color: #00C74F;
    text-decoration: none;
    font-weight: 500;
}

.css-tab-panel a:hover {
    text-decoration: underline;
}
/* Responsive */
@media (max-width: 767px) {
    .css-tabs-layout {
        flex-direction: column;
    }
	.css-tab-panel {
    width: 100%;
    position: relative;
}

.tabs_item {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

    .css-tab-nav {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        gap: 6px;
        padding-bottom: 8px;
    }

    .css-tab-label {
        padding: 10px 16px;
		width: 100%;
        
    }
    .css-tab-content-wrapper {
        padding: 24px 20px;
        width: 100%;
    }
}
/* ============================================================
   HORIZONTAL TABS WIDGET
   ============================================================ */

.htab-input {
    display: none;
}

.htab-wrapper {
    width: 100%;
}

.htab-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 10px;
    row-gap: 18px;
    width: 100%;
}

.htab-label {
    order: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 10px;
    background: #FFF6F9;
    border: 1px solid #e5e7eb;
    color: #1a1a2e;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease,
                border-color 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    white-space: normal;
}

.htab-label h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #ED3C6A;
}

.htab-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.25s ease;
}

.htab-panel {
    order: 2;
    flex: 0 0 100%;
    display: none;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 36px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.htab-wrapper .htab-input:nth-of-type(1):checked  ~ .htab-nav .htab-label:nth-child(1),
.htab-wrapper .htab-input:nth-of-type(2):checked  ~ .htab-nav .htab-label:nth-child(3),
.htab-wrapper .htab-input:nth-of-type(3):checked  ~ .htab-nav .htab-label:nth-child(5),
.htab-wrapper .htab-input:nth-of-type(4):checked  ~ .htab-nav .htab-label:nth-child(7),
.htab-wrapper .htab-input:nth-of-type(5):checked  ~ .htab-nav .htab-label:nth-child(9),
.htab-wrapper .htab-input:nth-of-type(6):checked  ~ .htab-nav .htab-label:nth-child(11),
.htab-wrapper .htab-input:nth-of-type(7):checked  ~ .htab-nav .htab-label:nth-child(13),
.htab-wrapper .htab-input:nth-of-type(8):checked  ~ .htab-nav .htab-label:nth-child(15),
.htab-wrapper .htab-input:nth-of-type(9):checked  ~ .htab-nav .htab-label:nth-child(17),
.htab-wrapper .htab-input:nth-of-type(10):checked ~ .htab-nav .htab-label:nth-child(19),
.htab-wrapper .htab-input:nth-of-type(11):checked ~ .htab-nav .htab-label:nth-child(21),
.htab-wrapper .htab-input:nth-of-type(12):checked ~ .htab-nav .htab-label:nth-child(23),
.htab-wrapper .htab-input:nth-of-type(13):checked ~ .htab-nav .htab-label:nth-child(25) {
    background: var(--htab-active-bg, #ED3C6A);
    color: var(--htab-active-text, #ffffff);
    border-color: var(--htab-active-border, #ED3C6A);
    box-shadow: 0 4px 16px rgba(237, 60, 106, 0.35);
}

/* ── Active Label h3 ── */
.htab-wrapper .htab-input:nth-of-type(1):checked  ~ .htab-nav .htab-label:nth-child(1)  h3,
.htab-wrapper .htab-input:nth-of-type(2):checked  ~ .htab-nav .htab-label:nth-child(3)  h3,
.htab-wrapper .htab-input:nth-of-type(3):checked  ~ .htab-nav .htab-label:nth-child(5)  h3,
.htab-wrapper .htab-input:nth-of-type(4):checked  ~ .htab-nav .htab-label:nth-child(7)  h3,
.htab-wrapper .htab-input:nth-of-type(5):checked  ~ .htab-nav .htab-label:nth-child(9)  h3,
.htab-wrapper .htab-input:nth-of-type(6):checked  ~ .htab-nav .htab-label:nth-child(11) h3,
.htab-wrapper .htab-input:nth-of-type(7):checked  ~ .htab-nav .htab-label:nth-child(13) h3,
.htab-wrapper .htab-input:nth-of-type(8):checked  ~ .htab-nav .htab-label:nth-child(15) h3,
.htab-wrapper .htab-input:nth-of-type(9):checked  ~ .htab-nav .htab-label:nth-child(17) h3,
.htab-wrapper .htab-input:nth-of-type(10):checked ~ .htab-nav .htab-label:nth-child(19) h3,
.htab-wrapper .htab-input:nth-of-type(11):checked ~ .htab-nav .htab-label:nth-child(21) h3,
.htab-wrapper .htab-input:nth-of-type(12):checked ~ .htab-nav .htab-label:nth-child(23) h3,
.htab-wrapper .htab-input:nth-of-type(13):checked ~ .htab-nav .htab-label:nth-child(25) h3 {
    color: var(--htab-active-text, #ffffff);
}

.htab-wrapper .htab-input:nth-of-type(1):checked  ~ .htab-nav .htab-panel:nth-child(2),
.htab-wrapper .htab-input:nth-of-type(2):checked  ~ .htab-nav .htab-panel:nth-child(4),
.htab-wrapper .htab-input:nth-of-type(3):checked  ~ .htab-nav .htab-panel:nth-child(6),
.htab-wrapper .htab-input:nth-of-type(4):checked  ~ .htab-nav .htab-panel:nth-child(8),
.htab-wrapper .htab-input:nth-of-type(5):checked  ~ .htab-nav .htab-panel:nth-child(10),
.htab-wrapper .htab-input:nth-of-type(6):checked  ~ .htab-nav .htab-panel:nth-child(12),
.htab-wrapper .htab-input:nth-of-type(7):checked  ~ .htab-nav .htab-panel:nth-child(14),
.htab-wrapper .htab-input:nth-of-type(8):checked  ~ .htab-nav .htab-panel:nth-child(16),
.htab-wrapper .htab-input:nth-of-type(9):checked  ~ .htab-nav .htab-panel:nth-child(18),
.htab-wrapper .htab-input:nth-of-type(10):checked ~ .htab-nav .htab-panel:nth-child(20),
.htab-wrapper .htab-input:nth-of-type(11):checked ~ .htab-nav .htab-panel:nth-child(22),
.htab-wrapper .htab-input:nth-of-type(12):checked ~ .htab-nav .htab-panel:nth-child(24),
.htab-wrapper .htab-input:nth-of-type(13):checked ~ .htab-nav .htab-panel:nth-child(26) {
    display: block;
}

/* ── Panel Content ── */
.htab-panel p {
    line-height: 1.75;
    color: #374151;
    margin-bottom: 16px;
    text-align: center;
}

.htab-panel strong { font-weight: 700; color: #111827; }

.htab-panel a { color: #ED3C6A; text-decoration: none; font-weight: 500; }
.htab-panel a:hover { text-decoration: underline; }

.htab-panel ul, .htab-panel ol { padding-left: 20px; margin-bottom: 16px; }
.htab-panel li { line-height: 1.7; color: #374151; margin-bottom: 6px; }

/* ── Button ── */
.htab-btn-wrap { margin-top: 24px; text-align: center; }

.htab-btn {
    display: inline-block;
    background: #ED3C6A;
    color: #ffffff !important;
    padding: 13px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.htab-btn:hover {
    background: #111827 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .htab-label {
        padding: 10px 14px;
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }
    .htab-label h3 { font-size: 13px; }
    .htab-panel { padding: 24px 20px; }
    .htab-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .htab-label { flex: 1 1 100%; }
}
/* ============================================================
   REVIEW SLIDER WIDGET
   ============================================================ */

.rvs-input {
    display: none;
}

.rvs-wrapper {
    width: 100%;
    position: relative;
}

.rvs-track {
    position: relative;
    width: 100%;
    min-height: 400px; 
}
.rvs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.rvs-card {
    width: 100%;
    background: #fff0f3;
    border-radius: 20px;
    padding: 36px 40px;
    box-sizing: border-box;
}

.rvs-quote-icon {
    font-size: 36px;
    color: #ED3C6A;
    line-height: 1;
    margin-bottom: 16px;
    font-family: Georgia, serif;
    font-weight: 900;
}

.rvs-review-text {
    font-size: 16px;
    line-height: 1.75;
    color: #1a1a2e;
    margin: 0 0 28px 0;
}

.rvs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rvs-reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.rvs-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rvs-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ED3C6A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.rvs-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rvs-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rvs-role {
    font-size: 13px;
    color: #6b7280;
}

.rvs-rating {
    text-align: right;
    flex-shrink: 0;
}

.rvs-rating-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 4px;
}

.rvs-star {
    color: #ED3C6A;
    font-size: 18px;
    line-height: 1;
}

.rvs-rating-label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.rvs-rating-value {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

/* ── Navigation bar ── */
.rvs-nav {
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.rvs-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rvs-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rvs-dot:hover {
    background: #ED3C6A;
    transform: scale(1.2);
}

.rvs-dot.rvs-dot-active {
    background: var(--rvs-dot-active, #ED3C6A);
    transform: scale(1.3);
}

/* ── Arrows ── */
.rvs-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
    text-decoration: none;
}

.rvs-arrow:hover {
    background: #ED3C6A;
    border-color: #ED3C6A;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(237, 60, 106, 0.35);
}

.rvs-next {
    background: #fff0f3;
    border-color: #ED3C6A;
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 768px) {

    .rvs-card {
        padding: 28px 32px;
    }

    .rvs-review-text {
        font-size: 15px;
        margin: 0 0 22px 0;
    }

    .rvs-avatar,
    .rvs-avatar-placeholder {
        width: 48px;
        height: 48px;
    }

    .rvs-avatar-placeholder {
        font-size: 18px;
    }

    .rvs-name {
        font-size: 15px;
    }

    .rvs-rating-value {
        font-size: 22px;
    }
}

/* ── Mobile: max 767px ── */
@media (max-width: 767px) {
    .rvs-track {
        min-height: 380px;
    }

    .rvs-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .rvs-quote-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .rvs-review-text {
        font-size: 14px;
        line-height: 1.7;
        margin: 0 0 20px 0;
    }

    .rvs-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .rvs-reviewer {
        gap: 10px;
        width: 100%;
    }

    .rvs-avatar,
    .rvs-avatar-placeholder {
        width: 44px;
        height: 44px;
    }

    .rvs-avatar-placeholder {
        font-size: 16px;
    }

    .rvs-name {
        font-size: 14px;
    }

    .rvs-role {
        font-size: 12px;
    }

    .rvs-rating {
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .rvs-rating-top {
        justify-content: flex-start;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .rvs-rating-value {
        font-size: 20px;
    }

    .rvs-rating-label {
        font-size: 13px;
    }

    /* Nav */
    .rvs-nav {
        margin-top: 20px;
        gap: 12px;
    }

    .rvs-arrow {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .rvs-dot {
        width: 8px;
        height: 8px;
    }

    .rvs-dots {
        gap: 6px;
    }
}

/* ── Small Mobile: max 480px ── */
@media (max-width: 480px) {
    .rvs-track {
        min-height: 420px;
    }

    .rvs-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .rvs-quote-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .rvs-review-text {
        font-size: 13px;
        margin: 0 0 16px 0;
    }

    .rvs-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-width: 1px;
    }

    .rvs-dot {
        width: 7px;
        height: 7px;
    }

    .rvs-nav {
        gap: 10px;
    }
}
/* ============================================================
   TEAM SLIDER WIDGET — ts-* prefix
   One-by-one scroll | Pure CSS Radio + translateX
   Desktop:3 cards | Tablet:2 | Mobile:1
   ============================================================ */

/* ── Hide radio inputs ── */
.ts-input { display: none; }

/* ── Wrapper ── */
.ts-wrapper {
    width: 100%;
    position: relative;
    background: #FFF6F9;
    padding: 0;
    --ts-gap: 24px;
    --ts-dot-active: #ED3C6A;
}

/* ── Viewport: clips the overflow, full width ── */
.ts-viewport {
    width: 100%;
    overflow: hidden;
}

/* ── Track: all cards in one flex row, NO wrapping ── */
.ts-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--ts-gap, 24px);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    /* width must match viewport so % in translateX = viewport width */
    width: 100%;
}

/* ── Card ── */
/* Width is set per-widget via inline <style> in PHP render() */
.ts-card {
    /* flex-shrink:0 and width set by PHP inline style */
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ts-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ── Card Image ── */
.ts-card-img-wrap {
    width: 100%;
    height: 280px;
    background: #FFE4EC;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.ts-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.ts-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFE4EC;
}

.ts-card-img-placeholder span {
    font-size: 64px;
    font-weight: 800;
    color: #ED3C6A;
    opacity: 0.5;
}

/* ── Card Body ── */
.ts-card-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 10px;
    background: #fff;
    margin: 0 12px 12px 12px;
    border-radius: 34px 34px 12px 12px;
}

/* Name */
.ts-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

/* Role badge */
.ts-role {
    display: inline-block;
    background: #FFE4EC;
    color: #ED3C6A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Description */
.ts-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #374151;
    flex: 1;
}

/* Button */
.ts-btn {
    display: block;
    width: 100%;
    background: #ED3C6A;
    color: #ffffff !important;
    text-align: center;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    margin-top: auto;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.ts-btn:hover {
    background: #c42d58 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(237, 60, 106, 0.4);
}

/* ── Navigation Row ── */
.ts-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    position: relative;
}

/* Dots container */
.ts-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ts-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.ts-dot:hover {
    background: #ED3C6A;
    transform: scale(1.15);
}

/* Active dot set via inline <style> */

/* Arrows — display controlled via PHP inline style */
.ts-arrow {
    display: none; /* default hidden, shown by :checked CSS */
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
    line-height: 1;
}

.ts-arrow:hover {
    background: #ED3C6A;
    border-color: #ED3C6A;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(237, 60, 106, 0.35);
}

.ts-next {
    background: #FFE4EC;
    border-color: #ED3C6A;
}

/* ══════════════════════════════════
   TABLET: 768px – 1024px
   ══════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 768px) {
    .ts-wrapper { --ts-gap: 20px; }
    .ts-track   { gap: 20px; }

    .ts-card-img-wrap { height: 230px; }
    .ts-card-body     { padding: 16px 16px 20px; gap: 8px; margin: 0 10px 10px; }

    .ts-name { font-size: 16px; }
    .ts-desc { font-size: 13px; }
    .ts-btn  { font-size: 14px; padding: 11px 16px; }

    .ts-nav    { margin-top: 24px; gap: 14px; }
    .ts-arrow  { width: 46px; height: 46px; min-width: 46px; min-height: 46px; font-size: 17px; }
    .ts-dot    { width: 10px; height: 10px; }
}

/* ══════════════════════════════════
   MOBILE: max 767px
   ══════════════════════════════════ */
@media (max-width: 767px) {
    .ts-wrapper { --ts-gap: 0px; }
    .ts-track   { gap: 0; }

    .ts-card-img-wrap { height: 260px; }
    .ts-card-body     { padding: 18px 18px 22px; gap: 8px; margin: 0 10px 10px; }

    .ts-name { font-size: 17px; }
    .ts-role { font-size: 10px; }
    .ts-desc { font-size: 14px; }
    .ts-btn  { font-size: 14px; padding: 12px 18px; }

    .ts-nav   { margin-top: 24px; gap: 12px; }
    .ts-arrow { width: 44px; height: 44px; min-width: 44px; min-height: 44px; font-size: 16px; }
    .ts-dot   { width: 10px; height: 10px; }
}

/* ══════════════════════════════════
   SMALL MOBILE: max 480px
   ══════════════════════════════════ */
@media (max-width: 480px) {
    .ts-card-img-wrap { height: 220px; }
    .ts-card-body     { padding: 16px 14px 20px; margin: 0 8px 8px; }
    .ts-name  { font-size: 16px; }
    .ts-desc  { font-size: 13px; }
    .ts-arrow { width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 15px; }
    .ts-nav   { gap: 10px; margin-top: 20px; }
    .ts-dot   { width: 9px; height: 9px; }
}