.dtc-root {
    display: block;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    user-select: none;
}

.dtc-root a,
.dtc-root button {
    pointer-events: auto;
}

.dtc-root img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* ---------------- layout ---------------- */

.dtc-section {
    padding: 70px 16px 25px;
    position: relative;
}

.dtc-slider {
    position: relative;
}

.dtc-viewport {
    width: 100%;
    padding: 20px 0;
    overflow: hidden; /* REQUIRED for infinite loop */
}

.dtc-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    will-change: transform;
    cursor: grab;
}

.dtc-track:active {
    cursor: grabbing;
}

/* ---------------- card ---------------- */

.dtc-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    width: 260px;
    flex: 0 0 260px;
    padding: 14px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .dtc-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    }
}

/* ---------------- image ---------------- */

.dtc-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.dtc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------- linkedin ---------------- */

.dtc-linkedin {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0,0,0,0.7);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

@media (hover: hover) {
    .dtc-card:hover .dtc-linkedin {
        opacity: 1;
    }
}

/* ---------------- meta ---------------- */

.dtc-meta {
    padding: 16px 4px 4px;
}

.dtc-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.dtc-role {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.dtc-line {
    font-size: 12px;
    color: #374151;
    line-height: 1.5;
}

/* ---------------- nav ---------------- */

.dtc-nav {
    position: absolute;
    right: 0;
    top: -64px;
    display: flex;
    gap: 14px;
    z-index: 5;
}

.dtc-btn {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 999px !important;
    border: none;
    background: #000;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* ========================================================= */
/* ======================= TABLET ========================== */
/* ========================================================= */

@media (max-width: 1024px) and (min-width: 769px) {

    .dtc-section {
        padding: 56px 16px 22px;
    }

    .dtc-track {
        gap: 20px;
    }

    .dtc-card {
        width: 280px;
        flex: 0 0 280px;
        padding: 12px;
    }

    .dtc-name {
        font-size: 14px;
    }

    .dtc-role {
        font-size: 12px;
    }

    .dtc-line {
        font-size: 11.5px;
    }

    .dtc-nav {
        top: -56px;
    }

    .dtc-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ========================================================= */
/* ======================= MOBILE =========================== */
/* ========================================================= */

@media (max-width: 768px) {

    .dtc-section {
        padding: 20px 0 20px;
    }

    .dtc-track {
        gap: 16px;
    }

    .dtc-card {
        width: 240px;
        flex: 0 0 240px;
        padding: 12px;
    }

    .dtc-name {
        font-size: 14px;
    }

    .dtc-role {
        font-size: 12px;
    }

    .dtc-line {
        font-size: 11px;
    }

    /* show linkedin without hover */
    .dtc-linkedin {
        opacity: 1;
    }

    /* keep nav optional on mobile */
    .dtc-nav {
        display: none;
    }
}

/* ========================================================= */
/* =================== SMALL MOBILE ========================= */
/* ========================================================= */

@media (max-width: 420px) {

    .dtc-card {
        width: 180px;
        flex: 0 0 180px;
    }

    .dtc-name {
        font-size: 13px;
    }

    .dtc-role {
        font-size: 11px;
    }

    .dtc-line {
        font-size: 10.5px;
    }
}

/* legacy helper */
.dtc-no-select {
    user-select: none;
}
