.tdest-children-section {
    overflow: hidden;
    background: transparent;
    padding: 66px 0;
}

.tdest-children-section .tdest-head {
    margin-bottom: 28px;
}

.tdest-children-section .tsec-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #e85d04;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tdest-children-section .tsec-title {
    margin: 0 0 8px;
    color: #0b1426;
    font-family: var(--font-display, inherit);
    font-size: clamp(1.58rem, 2.7vw, 2.14rem);
    font-weight: 700;
    line-height: 1.2;
}

.tdest-children-section .tsec-title em {
    color: #e85d04;
    font-style: italic;
}

.tdest-children-section .tsec-sub {
    max-width: 58ch;
    margin: 0;
    color: #64748b;
    font-size: .93rem;
    line-height: 1.65;
}

.tdest-children-section .tdest-slider-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.tdest-children-section .tdest-viewport {
    width: 100%;
    overflow: hidden;
}

.tdest-children-section .tdest-track {
    display: flex;
    gap: 16px;
    transition: transform .36s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.tdest-children-section .tdest-arrow {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 4px 14px rgba(11, 20, 38, .08);
    cursor: pointer;
    transition: all .2s ease;
}

.tdest-children-section .tdest-arrow:hover:not(:disabled) {
    transform: scale(1.06);
    border-color: #0b1426;
    background: #0b1426;
    color: #fff;
    box-shadow: 0 10px 26px rgba(11, 20, 38, .2);
}

.tdest-children-section .tdest-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
    box-shadow: none;
}

.tdest-children-section .tdest-arrow.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.tdest-children-section .tdest-card {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - 48px) / 4);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #1a2d50;
    box-shadow: 0 6px 24px rgba(11, 20, 38, .12), 0 2px 8px rgba(11, 20, 38, .06);
    color: #fff;
    text-decoration: none;
    transition: transform .32s cubic-bezier(.25, .46, .45, .94), box-shadow .32s;
}

.tdest-children-section .tdest-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 50px rgba(11, 20, 38, .18), 0 6px 16px rgba(11, 20, 38, .1);
}

.tdest-children-section .tdest-card:focus-visible,
.tdest-children-section .tdest-arrow:focus-visible {
    outline: 3px solid #e85d04;
    outline-offset: 3px;
}

.tdest-children-section .tdest-card-img,
.tdest-children-section .tdest-card-placeholder,
.tdest-children-section .tdest-card-overlay {
    position: absolute;
    inset: 0;
}

.tdest-children-section .tdest-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}

.tdest-children-section .tdest-card:hover .tdest-card-img img {
    transform: scale(1.07);
}

.tdest-children-section .tdest-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1e38, #1a3260);
    color: rgba(255, 255, 255, .3);
}

.tdest-children-section .tdest-card-overlay {
    background: linear-gradient(to top, rgba(6, 12, 24, .88) 0%, rgba(6, 12, 24, .32) 50%, rgba(6, 12, 24, .05) 100%);
    transition: background .3s;
}

.tdest-children-section .tdest-card:hover .tdest-card-overlay {
    background: linear-gradient(to top, rgba(6, 12, 24, .94) 0%, rgba(6, 12, 24, .44) 60%, rgba(6, 12, 24, .1) 100%);
}

.tdest-children-section .tdest-card-body {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    transform: translateY(6px);
    transition: transform .3s;
}

.tdest-children-section .tdest-card:hover .tdest-card-body {
    transform: translateY(0);
}

.tdest-children-section .tdest-card-name {
    margin: 0;
    color: #fff;
    font-family: var(--font-display, sans-serif);
    font-size: clamp(.95rem, 1.2vw, 1.15rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.tdest-children-section .tdest-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0);
    font-size: .75rem;
    font-weight: 700;
    transition: color .25s;
}

.tdest-children-section .tdest-card:hover .tdest-card-cta {
    color: rgba(255, 255, 255, .9);
}

.tdest-children-section .tdest-card-cta svg {
    transform: translateX(-4px);
    transition: transform .25s;
}

.tdest-children-section .tdest-card:hover .tdest-card-cta svg {
    transform: translateX(0);
}

@media (max-width: 1100px) {
    .tdest-children-section .tdest-card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (max-width: 1100px) {
    .tdest-children-section {
        overflow: hidden;
    }

    .tdest-children-section > .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .tdest-children-section .tdest-head {
        margin-bottom: 26px;
        padding: 0 24px;
    }

    .tdest-children-section .tdest-slider-wrap {
        display: block;
        width: 100%;
    }

    .tdest-children-section .tdest-arrow {
        display: none;
    }

    .tdest-children-section .tdest-viewport {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 24px;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .tdest-children-section .tdest-viewport::-webkit-scrollbar {
        display: none;
    }

    .tdest-children-section .tdest-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
        min-width: 100%;
        margin: 0;
        padding: 0 24px 30px;
        transform: none !important;
        transition: none;
        will-change: auto;
    }

    .tdest-children-section .tdest-card {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        height: 340px;
        aspect-ratio: auto;
        border-radius: 24px;
        scroll-snap-align: start;
    }

    .tdest-children-section .tdest-card-body {
        padding: 20px;
        transform: none;
    }

    .tdest-children-section .tdest-card-name {
        font-size: 1.15rem;
        line-height: 1.12;
    }

    .tdest-children-section .tdest-card-cta {
        display: none;
    }
}

/* Isolate the transfer child carousel from legacy .tdest rules in transfer.css.
   Explicit grid areas keep the viewport out of a hidden arrow's 44px column;
   fixed card sizing also avoids percentage widths on a short track. */
@media (min-width: 1101px) {
    .page-transfer .tdest-children-section .tdest-slider-wrap {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas: "previous viewport next";
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .page-transfer .tdest-children-section [data-children-prev] {
        grid-area: previous;
        display: inline-flex !important;
    }

    .page-transfer .tdest-children-section [data-children-viewport] {
        grid-area: viewport;
        min-width: 0;
    }

    .page-transfer .tdest-children-section [data-children-next] {
        grid-area: next;
        display: inline-flex !important;
    }

    .page-transfer .tdest-children-section .tdest-viewport {
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        overflow: hidden;
    }

    .page-transfer .tdest-children-section .tdest-track {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
        min-height: 220px;
        box-sizing: border-box;
        align-items: stretch;
        gap: 16px;
        padding: 0;
        flex: none;
    }

    .page-transfer .tdest-children-section .tdest-card {
        display: block;
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        height: 220px;
        flex-shrink: 0;
        box-sizing: border-box;
    }
}
