﻿.sky-training-videos,
.sky-training-videos * {
    box-sizing: border-box;
}


.training-share__buttons a,
.training-share__buttons button {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 14px;
}

.sky-training-videos {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background: #f6f9fd;
    color: #0f172a;
    font-family: "Segoe UI", Inter, Arial, sans-serif;
}

.sky-training-videos__sidebar {
    width: 124px;
    flex: 0 0 124px;
    background: linear-gradient(180deg, #071b36, #061326);
    color: #fff;
    box-shadow: 8px 0 30px rgba(15, 23, 42, .16);
}

.sky-training-videos__brand {
    height: 88px;
    display: grid;
    place-items: center;
    font-size: 34px;
    color: #2f80ff;
}

.sky-training-videos__side-btn {
    width: 100%;
    min-height: 108px;
    border: 0;
    border-left: 4px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, .78);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

    .sky-training-videos__side-btn span {
        font-size: 27px;
    }

    .sky-training-videos__side-btn.active,
    .sky-training-videos__side-btn:hover {
        background: rgba(37, 99, 235, .18);
        border-left-color: #2563eb;
        color: #fff;
    }

.sky-training-videos__main {
    flex: 1;
    min-width: 0;
    padding: 26px 34px 48px;
}

.sky-training-videos__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.sky-training-videos__badge {
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff1f1;
    color: #c73227;
    border: 1px solid rgba(199, 50, 39, .18);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.sky-training-videos__header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-weight: 700;
    text-transform: uppercase;
}

.sky-training-videos__red-line {
    width: 58px;
    height: 3px;
    background: #c73227;
    border-radius: 8px;
    margin: 10px 0 9px;
}

.sky-training-videos__header p {
    margin: 0;
    color: #475569;
    font-size: 15px;
}

.sky-training-videos__search {
    width: 360px;
    max-width: 100%;
    height: 46px;
    position: relative;
    flex-shrink: 0;
}

    .sky-training-videos__search input {
        width: 100%;
        height: 100%;
        border: 1px solid #dbe3ef;
        border-radius: 12px;
        background: #fff;
        padding: 0 46px 0 16px;
        outline: none;
        font-size: 14px;
    }

    .sky-training-videos__search span {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
    }

.sky-training-videos__platforms {
    padding: 20px;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .05);
}

.sky-training-videos .training-slider {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 14px;
}

    .sky-training-videos .training-slider::-webkit-scrollbar {
        height: 8px;
    }

    .sky-training-videos .training-slider::-webkit-scrollbar-track {
        background: #eef3f9;
        border-radius: 999px;
    }

    .sky-training-videos .training-slider::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

.sky-training-videos .training-slider__item {
    flex: 0 0 154px;
    scroll-snap-align: start;
}

.sky-training-videos .platform-card {
    height: 148px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    justify-content: center;
    transition: .2s ease;
}

    .sky-training-videos .platform-card:hover,
    .sky-training-videos .platform-card.active {
        background: #fff;
        border-color: #2563eb;
        box-shadow: 0 14px 34px rgba(37, 99, 235, .12);
    }

.sky-training-videos .platform-logo {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.sky-training-videos .platform-logo--all {
    background: #eff6ff;
}

.sky-training-videos .platform-card.active .platform-logo {
    border: 2px solid #2563eb;
}

.sky-training-videos .platform-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.sky-training-videos .platform-fallback {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.sky-training-videos .platform-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
}

.sky-training-videos__categories {
    margin-top: 28px;
    text-align: left;
}

.sky-training-videos__category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sky-training-videos .category-title-image {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dfe7f1;
    display: grid;
    place-items: center;
    color: #2563eb;
    font-weight: 700;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

    .sky-training-videos .category-title-image img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

.sky-training-videos__categories h2,
.sky-training-videos__content h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.sky-training-videos .category-slider__item {
    flex-basis: 150px;
}

.sky-training-videos .category-card {
    min-height: 96px;
    width: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

    .sky-training-videos .category-card:hover,
    .sky-training-videos .category-card.active {
        border-color: #2563eb;
        color: #2563eb;
    }

    .sky-training-videos .category-card img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .sky-training-videos .category-card span {
        font-size: 31px;
    }

.sky-training-videos__content {
    margin-top: 34px;
    border-top: 1px solid #dde6f2;
    padding-top: 24px;
}

.sky-training-videos__content-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.sky-training-videos__view-buttons {
    display: flex;
    gap: 8px;
}

.sky-training-videos .view-btn {
    height: 36px;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 600;
    cursor: pointer;
}

    .sky-training-videos .view-btn.active {
        background: #2563eb;
        border-color: #2563eb;
        color: #fff;
    }





.sky-training-videos .video-card {
    display: block;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dfe7f1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    color: inherit;
}

.sky-training-videos .video-thumb {
    height: 176px;
    background: linear-gradient(135deg, #111827, #0f2a4d);
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
}

    .sky-training-videos .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .24s ease;
    }

.sky-training-videos .video-card:hover .video-thumb img {
    transform: scale(1.035);
}

.sky-training-videos .video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 68px;
    height: 48px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .28));
}

    .sky-training-videos .video-play svg {
        width: 68px;
        height: 48px;
    }

.sky-training-videos .video-play-bg {
    fill: rgba(15, 23, 42, .82);
    transition: fill .2s ease;
}

.sky-training-videos .video-play-arrow {
    fill: #fff;
    transition: fill .2s ease;
}

.sky-training-videos .video-thumb:hover .video-play-bg {
    fill: #fff;
}

.sky-training-videos .video-thumb:hover .video-play-arrow {
    fill: #B14131;
}

.sky-training-videos .video-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sky-training-videos .video-card h3 {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.38;
    font-weight: 700;
}

.sky-training-videos .video-title-link,
.sky-training-videos .lesson-title-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    display: inline;
    background-image: linear-gradient(#B14131, #B14131);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: color .2s ease, background-size .2s ease;
}

    .sky-training-videos .video-title-link:hover,
    .sky-training-videos .lesson-title-link:hover {
        color: #0f172a;
        background-size: 100% 2px;
    }

.sky-training-videos .video-info {
    margin: 0;
    display: grid;
    gap: 8px;
}

    .sky-training-videos .video-info div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .sky-training-videos .video-info dt {
        color: #64748b;
        font-size: 12px;
        font-weight: 600;
    }

    .sky-training-videos .video-info dd {
        margin: 0;
        color: #334155;
        font-size: 12px;
        font-weight: 700;
    }

.sky-training-videos .training-level {
    color: #B14131 !important;
}

.sky-training-videos .training-flag-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

    .sky-training-videos .training-flag-wrap::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 50%;
        bottom: calc(100% + 8px);
        transform: translateX(-50%);
        white-space: nowrap;
        background: #0f172a;
        color: #fff;
        border-radius: 7px;
        padding: 5px 8px;
        font-size: 11px;
        font-weight: 600;
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
        z-index: 20;
    }

    .sky-training-videos .training-flag-wrap:hover::after {
        opacity: 1;
        transform: translateX(-50%) translateY(-2px);
    }

.sky-training-videos .training-flag {
    width: 25px;
    height: 17px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}

.sky-training-videos .training-share {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eef3f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .sky-training-videos .training-share > span {
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
    }

.sky-training-videos .training-share__buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}

    .sky-training-videos .training-share__buttons a,
    .sky-training-videos .training-share__buttons button {
        width: 27px;
        height: 27px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #334155;
        text-decoration: none;
        font-size: 10px;
        font-weight: 800;
        transition: .18s ease;
        cursor: pointer;
        padding: 0;
        font-family: inherit;
    }

        .sky-training-videos .training-share__buttons a:hover,
        .sky-training-videos .training-share__buttons button:hover {
            background: #B14131;
            border-color: #B14131;
            color: #fff;
        }

.sky-training-videos .lesson-list {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.sky-training-videos .lesson-list-head,
.sky-training-videos .lesson-row {
    display: grid;
    grid-template-columns: 1fr 290px;
    align-items: center;
}

.sky-training-videos .lesson-list-head {
    height: 44px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #fbfdff;
    border-bottom: 1px solid #e5edf7;
}

.sky-training-videos .lesson-row {
    min-height: 78px;
    padding: 12px 18px;
    border-bottom: 1px solid #eef3f9;
    color: inherit;
    gap: 14px;
}

    .sky-training-videos .lesson-row:last-child {
        border-bottom: 0;
    }

.sky-training-videos .lesson-title {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
}

.sky-training-videos .lesson-icon {
    width: 27px;
    height: 27px;
    border-radius: 7px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    transition: .18s ease;
}

.sky-training-videos .lesson-row:hover .lesson-icon {
    background: #fff1f1;
    color: #B14131;
}

.sky-training-videos .lesson-right {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.sky-training-videos .lesson-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.sky-training-videos .lesson-right .training-share {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    justify-content: flex-end;
}

    .sky-training-videos .lesson-right .training-share > span {
        display: none;
    }

.sky-training-videos .group-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    padding: 20px;
    color: inherit;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

    .sky-training-videos .group-card a {
        color: inherit;
        text-decoration: none;
    }

.sky-training-videos .group-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.sky-training-videos .group-icon {
    width: 94px;
    height: 94px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

    .sky-training-videos .group-icon img {
        width: 94px;
        height: 94px;
        object-fit:cover;
    }

.sky-training-videos .group-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.sky-training-videos .group-card p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.sky-training-videos .group-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .sky-training-videos .group-stats span {
        height: 30px;
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
        border-radius: 999px;
        background: #f8fafc;
        color: #475569;
        font-size: 12px;
        font-weight: 600;
    }

.sky-training-videos__empty {
    padding: 34px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #64748b;
    text-align: center;
    font-weight: 600;
}

.sky-training-videos .training-pagination {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sky-training-videos .page-btn {
    min-width: 36px;
    height: 36px;
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
}

    .sky-training-videos .page-btn:hover:not(:disabled),
    .sky-training-videos .page-btn.active {
        background: #B14131;
        border-color: #B14131;
        color: #fff;
    }

    .sky-training-videos .page-btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

@media (max-width: 991px) {
    .sky-training-videos {
        flex-direction: column;
    }

    .sky-training-videos__sidebar {
        width: 100%;
        flex: none;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
    }

    .sky-training-videos__brand {
        width: 90px;
        height: 86px;
        flex-shrink: 0;
    }

    .sky-training-videos__side-btn {
        min-width: 150px;
        min-height: 86px;
        border-left: 0;
        border-bottom: 4px solid transparent;
    }

        .sky-training-videos__side-btn.active,
        .sky-training-videos__side-btn:hover {
            border-left: 0;
            border-bottom-color: #2563eb;
        }

    .sky-training-videos__main {
        padding: 22px 16px 36px;
    }

    .sky-training-videos__header,
    .sky-training-videos__content-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sky-training-videos__search {
        width: 100%;
    }

    .sky-training-videos .training-slider__item {
        flex-basis: 138px;
    }

    .sky-training-videos .lesson-list-head,
    .sky-training-videos .lesson-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 16px;
    }

    .sky-training-videos .lesson-right {
        justify-items: start;
    }

    .sky-training-videos .lesson-meta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sky-training-videos .lesson-right .training-share {
        justify-content: flex-start;
    }

    .sky-training-videos .training-pagination {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .sky-training-videos .page-btn {
        flex: 0 0 auto;
    }
}


