/* Naturadent Training – Carousel */

.nd-training-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow-x: clip !important;
    box-sizing: border-box;
}

/* ── Fejléc: cím + gombok ── */

.nd-training-carousel__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nd-training-carousel__heading {
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #263f53;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
}

.nd-training-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.nd-training-carousel__overflow {
    width: 100%;
    overflow: visible;
}

.nd-training-carousel__track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── Kártya ── */

.nd-training-card {
    flex: 0 0 auto;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 6 / 4;
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25) !important;
}

.nd-training-card:hover,
.nd-training-card:focus,
.nd-training-card:visited,
.nd-training-card:active {
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
}


/* ── Kép ── */

.nd-training-card__image {
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.nd-training-card__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
}

.nd-training-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: #d0dce6;
}

/* ── Fehér box ── */

.nd-training-card__body {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 20px;
    height: 135px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.nd-training-card__texts {
    flex: 1;
    min-width: 0;
}

.nd-training-card__title {
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #263f53;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
}

.nd-training-card__date {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(38, 63, 83, 0.5);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.nd-training-card__chevron {
    flex: 0 0 auto;
    color: #263f53;
    display: flex;
    align-items: center;
}

.nd-training-card__chevron svg {
    height: 30px;
    width: auto;
    display: block;
}

/* ── Navigáció gombok ── */

.nd-training-carousel__btn {
    padding: 0;
    border: none;
    background: transparent;
    color: #263f53;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.nd-training-carousel__btn svg {
    height: 30px;
    width: auto;
    display: block;
}

.nd-training-carousel__btn:hover,
.nd-training-carousel__btn:focus,
.nd-training-carousel__btn:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    color: #263f53 !important;
}

.nd-training-carousel__btn:hover:not(:disabled) {
    opacity: 0.6;
}

.nd-training-carousel__btn:disabled {
    opacity: 0.25;
    cursor: default;
}

/* ── Mobil ── */

@media (max-width: 768px) {
    .nd-training-card__body {
        height: auto;
        padding: 12px 16px;
        border-radius: 20px;
    }

    .nd-training-card__title {
        font-size: 16px;
        line-height: 1.3;
    }

    .nd-training-card__date {
        font-size: 13px;
        line-height: 1.3;
    }
}
