:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #ffffff;
    --skew-angle: -15deg;
    --gallery-gap: 2px;
}

.left-button,
.right-button {
    z-index: 999 !important;
}

.title {
    font-weight: 800 !important;
}
.block {
    display: block;
}
.white-text {
    color: white;
    -webkit-text-fill-color: white;
}
body {
    margin: 0;
    background-color: black;
}

section {
    overflow-x: hidden;
}

a.resource-tab {
    text-decoration: none;
}
.text-uppercase {
    text-transform: uppercase;
}

.hanh-trinh-kien-tao-tuong-lai {
    padding-bottom: 3px;
}

@media (min-width: 1920px) {
    section {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (max-width: 820px) {
    .search-box::after {
        width: 85px !important;
    }

    .search-span::placeholder {
        font-size: 15px !important;
    }
}


@media (min-width: 1440px) and (max-width: 1919px) {
    section {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

@media (min-width: 768px) and (max-width: 1439px) {
    section {
        padding-left: 7.5% !important;
        padding-right: 7.5% !important;
    }
}

@media (max-width: 767px) {
    section {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

@media (max-width: 390px) {
    section {
        padding-left: 3.5% !important;
        padding-right: 3.5% !important;
    }
}

p {
    color: white;
}

* {
    font-family: "SVN-Gilroy", sans-serif !important;
}

.gradient-text-gray {
    background: linear-gradient(to right, #6f6f6f, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* fix lỗi lẹm chữ */
    -webkit-mask-image: linear-gradient(#fff 0 0);
    color: transparent;
    display: inline-block;
    padding-top: 3px;
    line-height: 1.2;
}

.event-time-tag {
    font-size: 12px;
    letter-spacing: 2px;
}

.course-heading {
    line-height: 1.2;
}

@media (min-width: 1440px) {

    .gradient-text-gray,
    .course-heading {
        padding-top: 1px;
        line-height: 1.3;
    }
}

@media (min-width: 1920px) {

    .gradient-text-gray,
    .course-heading {
        padding-top: 0;
    }
}

.text-uppercase {
    text-transform: uppercase !important;
}

.section-2-title {
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}
.section-2-title::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 210px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(https://learningchain.vn/wp-content/uploads/gioi_thieu/gioi-thieu-glow-sect2.png);
    
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}


.resource-hero {
    overflow: hidden;
    color: #fff;
}

.resource-hero-icon-four-star {
    top: -45px;
    left: calc(100% - 30px);
    position: absolute;
    background: url(/wp-content/uploads/2025/11/icon_tai_nguyen_tin_tuc_four_star.webp) no-repeat center;
    background-size: contain;
    width: 117px;
    height: auto;
    aspect-ratio: 1/ 1;
}

.resource-hero__overlay {
    position: absolute;
    pointer-events: none;
    background-image: url(/wp-content/uploads/2025/11/about-bg.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    min-width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Khối nội dung canh giữa trang */
.resource-hero__inner {
    position: absolute;
    margin: 0 auto;
    padding: 150px 0px 180px;
    display: flex;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== Label dọc bên trái ===== */

.resource-hero__side-label {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 40px;
}

.resource-side-label__glow {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.resource-side-label__text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: radial-gradient(circle at left, rgba(255, 255, 255, 0.25), transparent 55%);
}

/* ===== Khối 2 cột: chữ + hình ===== */

.resource-hero__content {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 48px;
}

.resource-hero__text{
    position: relative;
}

.resource-hero__eyebrow {
    font-size: clamp(40px, calc(70px * 0.7 + (100vw * 70 / 1920) * 0.3), 110px);
    font-weight: 600;
    margin: 0 0 0px;
    background: linear-gradient(to right, #6f6f6f 0%, #ffffff 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.resource-hero__title {
    font-size: clamp(56px, calc(150px * 0.7 + (100vw * 150 / 1920) * 0.3), 180px);
    line-height: 1;
    margin: 0 0 45px;
    font-weight: 800;
    white-space: nowrap;
}

.resource-hero__title span{
    display: block;
}

/* Tabs dưới title */
.resource-hero__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 43px;
}

/* Hiệu ứng hover icon AI, Blockchain, Web3 */
.resource-tab {
    display: inline-flex;
    filter: brightness(0.75);
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all ease .8s;
}

.resource-tab:not(.resource-tab--active) * {
    filter: grayscale(1);
}

.resource-tab:not(.resource-tab--active):hover * {
    filter: grayscale(0);
    color: white;
    opacity: 1;
}

.resource-tab_icon_ai {
    width: 28px;
    height: 28px;
    background: url(https://learningchain.vn/wp-content/uploads/gioi_thieu/logo-nav.png) no-repeat center;
    background-size: contain;
}

.resource-tagline {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.6;
}

.resource-tagline:hover {
    opacity: 1.5;
    filter: brightness(2.5);
}

.resource-tagline-active {
    filter: brightness(2.5);
}

/* Hiệu ứng cho dropdown box */
.select-dr-box-container {
    display: grid;
    gap: 25px;
    position: relative;
}

.select-drop-box {
    margin-top: 36px;
    position: absolute;
    right: 15%;
    z-index: 50;
    padding: 20px;
    background: black;
    border-radius: 12px;
    backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px) scale(0.95);
    /* bắt đầu thấp hơn */
    transition:
        opacity 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-radius 0.45s ease-in-out,
        visibility 0s linear 0.32s;
}

.select-drop-box.drop-box-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);

    transition:
        opacity 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-radius 0.45s ease-in-out,
        visibility 0s;
}

.filter-container {
    cursor: pointer;
}

.drop-box-item {
    width: 150px;
    text-decoration: none;
}

.select-dr-box-container * {
    color: white;
}

/* Hiệu ứng hover icon AI, Blockchain, Web3 */
.resource-tab_icon_web3 {
    width: 28px;
    height: 28px;
    background: url(https://learningchain.vn/wp-content/uploads/gioi_thieu/community-nav.png) no-repeat center;
    background-size: contain;
}

.resource-tab_icon_blockchain {
    width: 28px;
    height: 28px;
    background: url(/wp-content/uploads/2025/11/logo-about.webp) no-repeat center;
    background-size: contain;
}

.text-cont {
    margin-bottom: 40px;
}

.resource-tab--active .resource-tagline {
    opacity: 1;
}

.resource-tab--active {
    filter: brightness(1);
    border-color: transparent;
}

.resource-tab:hover {
    transform: translateY(-1px);
}

/*  */


.resource-hero__overlay_image_tablet {
    display: none;
}

.resource-hero__tabs_mobile {
    display: none;
}

/* Hiệu ứng search box */

.gap-box .search-box {
    gap: 0;
    justify-content: space-between;
}

.video-box.gap-box {
    height: 50px;
}

.gap-box .search-span {
    position: relative;
    right: -28px;
    color: white;
    font-size: 20px;
    /* margin-right: 10px; */
    background: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

.search-span {
    background: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

.search-span::placeholder {
    color: white;
    font-size: 20px;
    text-align: left;
}

@media (max-width: 699px) {
    .search-span::placeholder {
        font-size: 15px;
    }
}

.search-span:focus {
    border: none;
    outline: none;
    /* Đảm bảo không viền khi user focus */
}

.search-span:focus::placeholder {
    opacity: 0;
}

.item-thumbnail {
    position: relative;
}

.item-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 70px;
    height: 100%;
    background: black;
    filter: blur(12px);
    opacity: 1;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.item-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 70px;
    height: 100%;
    background: black;
    filter: blur(12px);
    opacity: 1;
    transition: opacity 0.35s ease;
    z-index: 1;
}

/* Hiệu ứng hover sẽ fade out */
.item-thumbnail:hover::before,
.item-thumbnail:hover::after {
    opacity: 0;
}

.item-thumbnail:hover {
    cursor: pointer;
}

@media (max-width: 1439px) {
    .resource-hero__inner {
        padding-top: calc(550px * 0.1 + (100vw * 550 / 1439) * 0.9);
        padding-bottom: calc(140px * 0.1 + (100vw * 140 / 1439) * 0.9);
    }

    .resource-hero__overlay {
        background-image: url(https://learningchain.vn/wp-content/uploads/2025/11/HERO-BANNER.webp);
        aspect-ratio: 1366/ 1013;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .gap-box .search-box {
        gap: 0;
    }

    .video-box.gap-box {
        height: 50px;
    }

    .gap-box .search-span {
        font-size: 14px;
        margin-right: 10px;
    }
}


.section-1{
    height: 100vh;
    position: relative;
}
.section-1 {
    background-color: black;
}

.section-1::after{
    content: "";
    width: 100%;
    height: 170px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgb(87 87 87 / 0%) 0%, #000000 100%);
}

.resource-container {
    display: flex;
    justify-content: space-between;
}

.filter-btn {
    position: relative;
}

.filter-btn span {
    color: white;
    font-size: 20px;
}

.filter-btn::before {
    content: "";
    position: absolute;
    top: -56px;
    left: -80px;
    width: 124px;
    height: 140px;
    background: url(https://learningchain.vn/wp-content/uploads/2025/11/LIGHT_EFFECT_tin-tuc.webp) no-repeat center;

    opacity: 0.5;
    transition: opacity 0.8s ease-in-out;
}

.filter-btn:hover::before {
    opacity: 1;
}

.filter-btn .resource-trend__filter-icon {
    width: 24px;
    height: 21px;
    object-fit: contain;
    margin-bottom: -5px;
}

.z-1 {
    /* z-index: 5 !important; */
}

.z-2 {
    /* z-index: 10 !important; */
    margin-left: -15px;
}

.z-3 {
    /* z-index: 15 !important; */
    margin-left: -15px;
}

.z-4 {
    /* z-index: 20 !important; */
    margin-left: -15px;
}


.library-card-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
    /* gap ngang*/
    row-gap: 40px;
    /* gap dọc nè */
    margin-bottom: 40px;

    perspective: 1200px;
    /* Quan trọng để 3D mượt */
}

.resource-card {
    background: #0b0b0b;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
    position: relative;
    filter: grayscale(1);

    /* transition: transform 0.25s ease, box-shadow 0.25s ease, z-index 0.25s; */
    transform-style: preserve-3d;
    transition:
        transform 0.45s cubic-bezier(.22, .61, .36, 1),
        box-shadow 0.35s ease,
        opacity 0.3s ease,
        z-index 0.3s ease,
        filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-card {
    position: relative;
    z-index: 5 !important;
    /* quan trọng để card nằm trên lớp mờ */
}

.resource-card:hover {
    filter: grayscale(0);
    cursor: pointer;
}

/* Lớp tối mờ bên trái */
.resource-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: -25px;
    /* đẩy ra một chút để giống trong ảnh */
    width: 70px;
    /* vùng mờ */
    height: 100%;
    /* background: linear-gradient(to right, rgb(0 0 0 / 99%), rgb(0 0 0 / 29%)); */
    background: black;
    filter: blur(12px);

    opacity: 1;
    /* không hiện khi bình thường */
    transition: opacity 0.35s ease;
    z-index: 1;
}

.z-4::before,
.z-8::before {
    opacity: 0;
}

@media (max-width: 767px) {
    .resource-card::before {
        display: none;
    }
}

/* Các card không được hover — giảm độ nổi để sâu hơn */
.resource-card.dimmed {
    opacity: 0.6;
    /* transform: rotateY(0deg) scale(0.99); */
}

.resource-card__media {
    position: relative;
    padding: 11px 14px;
    background: linear-gradient(to bottom, #222, #101010);
}

.resource-card__category {
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(105, 105, 105, 0.5);
    display: inline-flex;
    gap: 4px;
    font-size: 13px;
}

.resource-card__image-wrap {
    /* background: url(https://learningchain.vn/wp-content/uploads/2025/11/icon_web3_tai_nguyen_tin_tuc.webp); */
    width: 20px;
    height: 20px;
}

.co-ban,
.chuyen-sau,
.ung-dung {
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.co-ban {
    background: url(https://learningchain.vn/wp-content/uploads/thu-vien/co-ban.png);
}

.chuyen-sau {
    background: url(https://learningchain.vn/wp-content/uploads/thu-vien/chuyen-sau.png);
}

.ung-dung {
    background: url(https://learningchain.vn/wp-content/uploads/thu-vien/ung-dung.png);
}

.resource-card__category {
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(105, 105, 105, 0.5);
    display: inline-flex;
    gap: 4px;
    font-size: 13px;
}

.resource-card-image-post {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.resource-card__body {
    padding: 12px 16px 27px;
}

.resource-card__title,
.resource-card__excerpt {
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    color: white;
}

.resource-card__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.resource-card__excerpt {
    margin: 0;
    font-size: 11px;
    color: #bbbbbb;
}

.resource-card::after {
    position: absolute;
    content: "";
    background: url(https://learningchain.vn/wp-content/uploads/2025/11/image-light-effect-for-card-post.webp) no-repeat center;
    width: 100%;
    height: auto;
    aspect-ratio: 282 / 26;
    background-size: contain;
    /* bottom: 0; */
    left: 0;

    bottom: -30px;
    /* để nằm thấp ban đầu */
    opacity: 0;
    transform: translateY(20px);
    /* vị trí thấp hơn */
    transition: all 0.6s ease-out;
}

.resource-card:hover::after {
    opacity: 1;
    transform: translateY(0);
    /* bay lên */
    bottom: 0;
}

.tagline-card {
    color: white;
    font-size: 14px;
    font-weight: 400;
}

.container.pagination-cont {
    margin: 40px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.pg-link {
    color: #696969;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.pg-link-active {
    font-weight: 600;
}

.pg-link-active,
.next-link,
.back-link {
    color: white;
    font-weight: 600;
}

/* section-3 (video) */
.section-3 {
    padding: 338px 15%;
}

.section-3-title {
    color: #FFF;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 58px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 1;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-3-title > span:first-child{
    background: linear-gradient(to right, #6f6f6f, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-mask-image: linear-gradient(#fff 0 0);
}

#section-3{
    background-color: transparent;
    position: relative;
    overflow: unset;
}

#section-3::before{
    width: 580px;
    height: 580px;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -114px;
    background: url(https://dev.learningchain.vn/wp-content/uploads/2025/11/chain-stand.webp) no-repeat center;
}

.section-3-subtitle {
    letter-spacing: 0px;
    margin: 0;
    color: #FFF;
    text-align: justify;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.video-title{
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(13.800000190734863px);
    position: absolute;
    bottom: 0.5px;
    width: calc( 100% - 2px);
    left: 1px;
    box-sizing: border-box;
    z-index: 9;
    border-bottom-right-radius: 20px;
}

.video-title-box{
    position: relative;
    padding: 20px 0 22px 65px;
    width: 100%;
    box-sizing: border-box;
}

.video-title-box::before{
    content: "";
    position: absolute;
    top: 50%;
    left: -2px;
    padding-right: 5px;
    transform: translateY(-50%);
    display: flex;
    height: 100%;
    padding: 10px;
    background-size: 100% 100%;
    background-image: url(https://dev.learningchain.vn/wp-content/uploads/2025/12/left-right.webp);
    background-repeat: no-repeat;
    z-index: 9;
}

.cnt-video{
    border-radius: 20px;
    overflow: hidden;
}

.cnt-video::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(to left, rgb(255 255 255 / 73%) 0%, rgb(255 255 255 / 79%) 40%, rgb(222 222 222 / 5%) 80%, rgb(0 0 0 / 60%) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.video-title h4{
    color: #FFF;
    text-align: justify;
    font-family: SVN-Gilroy;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.video-title p{
    margin: 0;
}

#section-3::after{
    content: "";
    width: 100%;
    display: flex;
    background: url(/wp-content/uploads/2025/11/line-3.webp) no-repeat center;
    top: 50%;
    left: 0;
    z-index: 9999;
    position: absolute;
    height: 100%;
    transform: translateY(-1%);
}

.col-3-4{
    width: 75%;
}

#section-4{
    background-color: #040404;
    padding-top: 250px;
    padding-bottom: 80px;
}

#section-4 .container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#section-4 .col-left, #section-4 .col-right{
    width: 50%;
}

#section-4 img{
    width: 100%;
    border-radius: 50%;
}

.section-4-title {
    color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 58px;
    text-transform: uppercase;
    margin: 0;
    opacity: 1;
    padding-bottom: 3px;
}

.section-4-title span:first-child{
    background: linear-gradient(to right, #6f6f6f, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-mask-image: linear-gradient(#fff 0 0);
}

.section-4-subtitle{
    color: #FFF;
    text-align: justify;
    font-family: SVN-Gilroy;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.2px;
}

section#section-5 {
    overflow: unset;
    background: #040404;
}
.gray-star-container {
    position: relative;
}
.gray-star-img {
    position: absolute;
    top: -170px;
    width: 200px;
    height: 200px;
}

.character-img{
    position: absolute;
    bottom: 0;
    opacity: 0;
    right: 20px;
    z-index: 2;
}

.section-2.visible .character-img{
    bottom: 20px;
    opacity: 1;
    z-index: 99;
}

.video-box {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 50px;
    height: 500px;
    align-items: center;
}

.video-yt-cont {
    height: 100%;
}

.recap-title {
    font-weight: 700;
    font-size: 30px;
    margin: 10px 0;
}

.recap-subtitle {
    text-align: justify;
    margin: 0;
    font-size: 20px;
    font-weight: 400;
}

.navigate-btn-group {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.navigate-btn-group * {
    z-index: 100;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.35s ease-in-out;
}

.navigate-btn-group *:hover {
    transform: scale(1.1);
}

.gradient-border {
    --border: 3px;
    border-radius: 20px;
    background: linear-gradient(#000, #000) padding-box,
        linear-gradient(200deg, #000000, #FFFFFF) border-box;
    border: solid var(--border) transparent;
}

.recap-icon {
    width: 88px;
}

.list-video-container * {
    color: white;
}

.search-box {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.search-box::before {
    content: "";
    position: relative;
    width: 70px;
    height: 56px;
    background: url(https://learningchain.vn/wp-content/uploads/thu-vien/light-left.png) no-repeat center;
    /* hiệu ứng */
    opacity: 0.5;
    transition: opacity 0.6s ease-out;
}

.search-box:hover::before {
    opacity: 1;
}

.search-box::after {
    content: "";
    position: relative;
    width: 70px;
    height: 56px;
    background: url(https://learningchain.vn/wp-content/uploads/thu-vien/light-right.png) no-repeat center;
    /* hiệu ứng */
    opacity: 0.5;
    transition: opacity 0.6s ease-out;
}

.search-box:hover::after {
    opacity: 1;
}

.search-box:focus-within::before,
.search-box:focus-within::after {
    filter: brightness(2.5);
    opacity: 2.5;
}

img.search-icon {
    width: 25px;
    height: 25px;
    top: 16px;
    left: -18px;
    position: relative;
}

.search-span {
    align-content: center;
    font-size: 20px;
}

.search-box * {
    color: white;
}

.event-item {
    display: grid;
    /*grid-template-columns: 1fr 2fr 0.5fr 0.5fr;*/
    grid-template-columns: 20% 40% 1fr 0.5fr;
    gap: 20px;
    justify-content: space-between;
    margin: 16px 0;
}

.thumbnail-item {
    width: 100%;
    max-width: 340px;
}

.item-name,
.item-time,
.item-code {
    display: block;
}

.item-name,
.item-time {
    align-content: center;
}

.event-name {
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

.event-time-span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0px;
}

.item-code {
    justify-content: space-between;
    display: grid;
    grid-template-columns: 1fr;
    text-align: right;
}

.event-details-btn {
    align-content: end;
    margin-bottom: 16px;
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
}

.event-video-code {
    margin-top: 16px;
}

.item-time {
    text-align: justify;
    align-items: center;
    align-content: center;
    justify-content: center;
    display: grid;
}

.event-time-tag,
.event-name {
    margin-bottom: 5px;
}

.hr-container {
    padding-bottom: 5%
}

.hr {
    width: 70%;
}

section {
    padding-left: 15%;
    padding-right: 15%;
}

.section-2-title {
    padding-top: 90px;
    /*background: url(/wp-content/uploads/2025/11/LIGHT-EFFECT.webp) no-repeat center -55px;*/
    /*background-size: contain;*/
    color: #FFF;
    text-align: center;
    text-shadow: 0 3px 5px rgba(255, 255, 255, 0.65);
    font-size: 70px;
    font-style: normal;
    font-weight: 800;
    line-height: 78px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.section-2-subtitle {
    margin: 0;
    width: 100%;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    margin-bottom: 10px;
}

.section-2-subtitle span{
    display: block;
}

.video-about{
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.video-about img{
    max-width: 100%;
    filter: grayscale(50%);
    transition: all ease .8s;
}

.video-about .play-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
}

.video-about .play-button img{
    max-width: 140px;
}

.video-about:hover img{
    filter: grayscale(0);
}

#section-3 .container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#section-3 .col-left, #section-3 .col-right{
    width: 50%;
}

#section-3 .col-left {
    padding-right: 100px;
    box-sizing: border-box;
}

#section-3 .col-left img{
    width: 100%;
}

#section-7{
    padding: 120px 15%;
}

#section-7 h3{
    color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 25px;
    text-transform: uppercase;
}

#section-7 h3 span{
    background: linear-gradient(to right, #6f6f6f, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-mask-image: linear-gradient(#fff 0 0);
    padding: 15px 0;
}

.journey-box{
    position: relative;
    width: 100%;
    height: 100%;
}

.journey-box:before{
    content: "";
    display: flex;
    position: absolute;
    top: -30%;
    left: -80%;
    width: 125%;
    height: 125%;
    background: #040404;
    box-shadow: 14.485px 0 14.485px 0 rgba(0, 0, 0, 0.35);
    z-index: -1;
    transform: rotate(12deg);
    z-index: 2;
}


@media (max-width: 1439px) {
    .resource-hero__inner {
        padding-top: calc(550px * 0.1 + (100vw * 550 / 1439) * 0.9);
        padding-bottom: calc(140px * 0.1 + (100vw * 140 / 1439) * 0.9);
    }

    .resource-hero__overlay {
        background-image: url(https://learningchain.vn/wp-content/uploads/2025/11/HERO-BANNER.webp);
        aspect-ratio: 1366/ 1013;
    }
}

@media (max-width: 1440px) {
    img.search-icon {
        left: 0;
    }

    .gap-box .search-span {
        right: 0;
    }
}

/* ipad pro */
@media (max-width: 1366px) {
    .library-card-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        row-gap: 40px;
        margin-bottom: 40px;
    }

    .library-card-container article:nth-child(n+7) {
        display: none;
    }

    .z-1,
    .z-2,
    .z-3,
    .z-4 {
        margin-left: 0;
    }

    .filter-btn .resource-trend__filter-icon {
        width: 24px;
        height: 21px;
        object-fit: contain;
        margin-bottom: 0;
        margin-top: 5px;
    }

    .filter-btn {
        display: flex;
    }

    .filter-btn span {
        width: 85px;
        font-size: 16px;
    }

    .filter-btn::before {
        left: -90px;
    }

    .section-2 {
        /* margin-top: 20px; */
        margin-top: 0;
        padding-top: 0;
    }

    .section-2-title,
    .section-3-title {
        font-size: 40px;
        margin: 0 0 6px;
    }

    .section-2-subtitle {
        font-size: 15px;
    }

    .recap-subtitle {
        font-size: 15px;
    }

    .video-box {
        gap: 20px;
    }

    .video-yt-cont {
        max-height: 390px;
    }

    .navigate-btn-group {
        gap: 10px;
        margin-left: 3px;
    }

    .navigate-btn-group img {
        width: 34px;
    }

    .search-span {
        font-size: 15px;
        position: relative;
        left: 7px;
    }

    img.search-icon {
        width: 18px;
        height: 18px;
        margin-top: 3px;
        position: relative;
        left: 14px;
    }

    .search-box {
        gap: 6px;
    }

    .search-box::before {
        left: 16px;
    }

    .event-desc,
    .section-3-subtitle {
        font-size: 15px;
    }

    .video-box {
        height: 400px;
    }

    .pg-link {
        font-size: 12px;
    }

    .gap-box .search-box {
        gap: 0;
        justify-content: space-between;
    }

    .video-box.gap-box {
        height: 50px;
    }

    .gap-box .search-span {
        font-size: 14px;
        margin-right: 10px;
    }
}

/* ipad mini */
@media (max-width: 820px) {
    .library-card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 40px;
        margin-bottom: 40px;
    }

    .library-card-container article:nth-child(n+5) {
        display: none;
    }

    .section-2 {
        /* margin-top: 7.5%; */
        margin-top: 0;
        padding-top: 0;
    }

    section {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }

    .section-2,
    .section-3 {
        padding: 50px 7.5%;
    }

    .container.text-cont {
        text-align: center;
    }

    .resource-container {
        display: block;
    }

    .section-2-title {
        font-size: 50px;
    }

    .section-2-subtitle {
        width: 80%;
        padding: 0 10%;
        text-align: center;
    }

    .filter-container {
        margin-top: 20px;
        left: 85%;
        position: relative;
    }

    .text-container.text-cont {
        text-align: center;
    }

    .video-box {
        display: block;
        height: 100%;
    }

    .section-2-title span {
        display: block;
    }

    .section-2-title {
        line-height: 1.2;
    }

    .recap {
        display: block;
        position: relative;
    }

    .recap-text {
        text-align: center;
        position: relative;
        margin-top: 40px;
    }

    .navigate-btn-group {
        justify-content: center;
    }

    .recap-title {
        margin-bottom: 0;
    }

    .video-yt-cont {
        min-height: 350px;
    }

    iframe.gradient-border {
        height: 350px;
    }

    .search-box {
        justify-content: center;
        margin: 40px 0;
    }

    .event-item {
        grid-template-columns: 2fr 1fr 1fr;
        /* thumbnail nằm trong 1 cột */
        gap: 20px;
    }

    .item-thumbnail {
        width: 100%;
        min-width: 628px;
        grid-column: 1 / -1;
    }

    .thumbnail-item {
        max-width: unset;
    }

}

@media (max-width: 820px) {
    .gap-box .search-box {
        gap: 0;
        padding: 0 32%;
    }
}

/* mobile */
@media (min-width: 700px) {
    .search-box-mobile {
        display: none !important;
    }
}

@media (max-width: 699px) {
    .resource-hero__tabs.resource-hero__tabs_mobile {
        display: flex;
        margin-bottom: -1px;
        position: fixed !important;
        bottom: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
    }

    .resource-hero__eyebrow {
        font-size: calc(36px * 0.6 + (100vw * 36 / 430) * 0.4);
    }

    .resource-hero__title {
        font-size: calc(76px * 0.6 + (100vw * 76 / 430) * 0.4);
    }

    .resource-hero__tabs {
        gap: 20px;
    }

    .resource-hero__overlay_image_tablet {
        display: none;
    }

    .resource-hero__tabs_desktop {
        display: none;
    }

    .resource-hero__overlay {
        display: block !important;
        background-image: url(https://dev.learningchain.vn/wp-content/uploads/2025/11/PIC_tin-tuc_mobile.webp) !important;
        aspect-ratio: 430/ 475 !important;
    }

    .resource-hero__inner {
        padding-bottom: calc(120px * 0 + (100vw * 120 / 430) * 1.0);
        padding-top: calc(35px * 0 + (100vw * 35 / 430) * 1.0);
    }

    .resource-hero__tabs_mobile {
        display: flex;
        /* position: absolute; */
        position: fixed;
        /* top: calc(310px * 0 + (100vw * 310 / 430) * 1.0); */
        bottom: 0;
        left: 0;
        justify-content: center;
        background: radial-gradient(140% 180% at 12% 5%, rgb(0 0 0 / 18%), rgb(217 0 0 / 0%) 55%), radial-gradient(120% 160% at 95% 15%, rgb(220 220 220 / 4%), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #2d2d2d, #1a1a1a 55%, #424242);
        padding: 10px 0;
        z-index: 20;
        width: 100%;
    }

    .resource-hero__tabs::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><filter id="noise"><feTurbulence baseFrequency="0.95" numOctaves="3" stitchTiles="stitch" type="fractalNoise"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
        opacity: 0.18;
        z-index: 1;
        pointer-events: none;
    }

    .resource-tab_icon_learning_chain {
        width: 28px;
        height: auto;
        aspect-ratio: 43/25;
    }

    .resource-tab {
        gap: 5px;
    }

    .resource-hero {
        position: relative;
        margin-top: 85px;
        padding-bottom: calc(150px * 0 + (100vw * 150 / 430) * 1.0);
    }

    .section-2-subtitle {
        width: 100%;
        text-align: justify;
        padding: 0;
    }


    .section-2 {
        /* margin-top: 12.5%; */
        margin-top: 0;
        padding-top: 0;
    }

    .resource-hero__tabs {
        display: none;
    }

    .library-card-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        column-gap: 20px;
        row-gap: 40px;
        margin-bottom: 40px;
    }

    .library-card-container article:nth-child(n+5) {
        display: none;
    }

    .filter-container {
        left: 50%;
        transform: translateX(-35%);
        justify-content: center;
        display: grid;
    }

    .filter-btn span {
        width: 90px;
    }

    .filter-btn::after {
        content: "";
        position: relative;
        top: -56px;
        left: -55px;

        width: 124px;
        height: 140px;
        background: url(https://learningchain.vn/wp-content/uploads/thu-vien/light-right.png) no-repeat center;
    }

    .gap-box .search-box {
        padding: 0 16%;
    }

    #section-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #section-3 .text-container.text-cont,
    #section-3 .recap,
    #section-3 .list-video-container {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }

    #section-3 {
        padding: 50px 0;
    }

    .video-yt-cont iframe {
        border: none;
        border-radius: 0;
    }

    .section-3-title {
        font-weight: 700;
        line-height: 1.1;
    }

    .section-2-title {
        font-weight: 700;
        line-height: 1.1;
    }

    #section-1 .resource-hero-icon-four-star {
        top: 105px;
        width: 44px;
        left: 166px;
    }

    .resource-hero__inner {
        position: relative;
        top: -111px;
    }

    .item-thumbnail {
        width: 100%;
        min-width: unset !important;
        grid-column: unset !important;
    }

    .item-code,
    .item-time {
        display: none;
    }

    .search-box {
        display: none;
    }

    .search-box-mobile {
        display: flex;
        justify-content: center;
        margin: 40px 0;
    }

    .search-box-mobile::before {
        content: "";
        position: relative;
        width: 70px;
        height: 56px;
        left: 34px;
        background: url(https://learningchain.vn/wp-content/uploads/thu-vien/light-left.png) no-repeat center;
    }

    .search-box-mobile::after {
        content: "";
        position: relative;
        width: 70px;
        height: 56px;
        left: -36px;
        background: url(https://learningchain.vn/wp-content/uploads/thu-vien/light-right.png) no-repeat center;
    }

    .search-box-mobile img.search-icon {
        position: relative;
        left: -24px;
        width: 18px;
        height: 18px;
        margin-top: 3px;
    }

    .search-box-mobile .search-span {
        color: white;
        font-size: 15px;
        position: relative;
        left: 14px;
    }

    .video-box.gap-box {
        display: none;
    }

    .event-item {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .event-desc {
        font-size: 14px;
        font-weight: 400;
    }

    .section-3-title,
    .section-2-title {
        font-size: 32px;
    }

    .recap-title {
        font-size: 16px;
    }

    .navigate-btn-group {
        display: none;
    }

    .container.video-library-cont {
        padding-bottom: 0 !important;
    }

    .container.pagination-cont {
        margin: 0 !important;
        padding-top: 0 !important;
    }

    .pg-link {
        font-size: 16px;
    }

    .event-name {
        font-size: 16px;
    }

    .event-desc {
        display: block;
        /* Fallback for non-webkit */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .section-2 {
        margin-top: 0;
        padding-top: 0;
    }

    .filter-btn::before {
        height: 60px !important;
        top: -16px !important;
    }

    .filter-btn::after {
        height: 60px !important;
        top: -16px !important;
    }

    .text-cont {
        margin-bottom: 0;
    }

}


@media (max-width: 1023px) {
    .resource-hero__inner {
        padding-top: 120px;
        padding-bottom: 10px;
    }

    .resource-hero-icon-four-star {
        width: 80px;
        top: 85px;
        left: 40%;
        transform: translateX(-60%);
    }

    .resource-hero__overlay {
        display: none;
    }

    .resource-hero__overlay {
        background-image: url(https://learningchain.vn/wp-content/uploads/2025/11/PIC_image_tai_nguyen_tin_tucv.webp);
        aspect-ratio: 767/ 697;
    }

    .resource-hero__overlay_image_tablet {
        display: block;
        pointer-events: none;
        background-image: url(https://learningchain.vn/wp-content/uploads/2025/11/PIC_image_tai_nguyen_tin_tucv.webp);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 100%;
        height: auto;
        aspect-ratio: 767/ 697;
    }

    .search-box::before {
        left: 42px;
    }

    .gap-box .search-box {
        gap: 0;
    }

    .gap-box .search-span {
        width: 115px;
        left: 20px;
    }

    img.search-icon {
        left: 25px;
    }

    .search-box::after {
        width: 70px;
    }

    .event-time-span {
        font-size: 13px;
    }

    .event-desc {
        font-size: 14px;
    }

}

@media (max-width: 1180px) {
    .gap-box .search-box {
        gap: 0;
    }

    .search-box::before {
        left: 0;
        width: 88px;
    }

    .gap-box .search-span {
        font-size: 14px;
        margin-right: 0;
        margin-left: -42px;
        left: 14px;
    }

    img.search-icon {
        position: relative;
        left: 25px;
    }

    .search-box::after {
        width: 70px;
    }
}

@media (max-width: 600px) {
    .resource-hero__eyebrow {
        font-size: calc(36px * 0.6 + (100vw * 36 / 430) * 0.4);
    }

    .resource-hero__title {
        font-size: calc(76px * 0.6 + (100vw * 76 / 430) * 0.4);
    }

    .resource-hero__overlay_image_tablet {
        display: none;
    }

    .resource-hero__tabs_desktop {
        display: none;
    }

    .resource-hero__tabs {
        gap: 72px;
    }
}

@media (max-width: 400px) {
    .resource-hero__tabs {
        gap: 60px;
    }
}

@media (max-width: 375px) {
    .resource-hero__tabs {
        gap: 45px;
    }
}


#section-6 {
    background-color: #040404;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 0 !important;
}

#section-6 .container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #040404;
}


#section-6 .content-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

/* 
   LAYOUT STRATEGY:
   Everything is skewed. The left column is a skewed black block.
   The gallery items are skewed blocks.
   Content inside is un-skewed.
*/

/* Left Column */
#section-6 .left-column {
    position: relative;
    width: 35%;
    height: 100%;
    z-index: 20;
    background: #040404;
    transform: skewX(var(--skew-angle));
    transform-origin: bottom left;
    margin-left: -10%;
    padding-left: 10%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8);
}

/* Unskew content inside left column */
#section-6 .left-column>* {
    transform: skewX(calc(var(--skew-angle) * -1));
    margin-left: 5rem;
    /* Push content to visible area */
}

#section-6 .main-title {
    position: absolute;
    top: -100px;
    left: 0;
    letter-spacing: 1px;
    opacity: 0.9;
    white-space: nowrap;
    color: #FFF;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 58px;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(to right, #6f6f6f 10%, #ffffff 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    padding-top: 2px;
}

#section-6 .active-stage {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%) skewX(calc(var(--skew-angle) * -1));
    max-width: 580px;
    padding-right: 0;
}

#section-6 .stage-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

#section-6 .vertical-bar {
    width: 4px;
    height: 28px;
    /*background-color: var(--accent-color);*/
    /*box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);*/
    opacity: 0;
}

#section-6 .stage-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 58px;
    position: relative;
}
#section-6 .stage-label::before {
    content: '';
    background-image: url(https://learningchain.vn/wp-content/uploads/gioi_thieu/gioi-thieu-mini-glow-1.png);
    display: block;
    position: absolute;
    top: -18px;
    left: -25px;
    width: 40%;
    height: 96px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    filter: brightness(0.5);
    transition: filter 0.5s ease-in-out;
}

/* Hover vào bất kỳ phần tử nào bên trong section #section-6 */
#section-6 .active-stage:hover .stage-label::before {
    filter: brightness(1.5);
    transition: filter 0.8s ease-in-out;
}
#section-6 .stage-title {
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px;
    margin: 0;
}

#section-6 .stage-description {
    margin-bottom: 3rem;
    color: #D3D2D2;
    text-align: justify;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    max-width: 56%;
    margin: 0;
}

#section-6 .navigation {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
}

#section-6 .nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /*background: rgba(255, 255, 255, 0.05);*/
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#section-6 .nav-btn:hover {
    /*background: #fff;*/
    /*color: #000;*/
    /*border-color: #fff;*/
    
    transition: scale 0.5s ease-in-out;
    scale: 1.15;
}

#section-6 .right-column {
    position: absolute;
    top: 0;
    right: -10%;
    width: 75%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
}

#section-6 .gallery {
    display: flex;
    height: 100%;
    width: 100%;
    margin-left: 0%;
}

#section-6 .gallery-item {
    flex: 2;
    height: 100%;
    position: relative;
    transform: skewX(-15deg);
    transform-origin: bottom left;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: flex 0.6s 
    cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s 
    ease, box-shadow 0.4s 
    ease;
    cursor: pointer;
    background: #111;
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: -5px 0 20px rgba(255, 255, 255, 0.15);
    background: #111;
}

#section-6 .gallery-item{
    display: none
}

#section-6 .gallery-item:first-child,
#section-6 .gallery-item:nth-child(2),
#section-6 .gallery-item:nth-child(3),
#section-6 .gallery-item:nth-child(4){
    display: block
}

/* Active State Expansion */
#section-6 .gallery-item.active {
    flex: 2.5;
    /* Expands significantly */
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: -5px 0 20px rgba(255, 255, 255, 0.15);
    /* Blur effect on border */
    z-index: 5;
}

/* Image Container - Unskewed */
#section-6 .image-container {
    width: 200%;
    /* Much wider to cover the skew area */
    height: 100%;
    transform: skewX(calc(var(--skew-angle) * -1)) translateX(-25%);
    position: relative;
}

#section-6 .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

/* States */
#section-6 .gallery-item:not(.active) .image-container img {
    filter: grayscale(100%) brightness(0.3) blur(1px);
    /* Slight blur for inactive */
}

#section-6 .gallery-item.active .image-container img {
    filter: grayscale(0%) brightness(1) blur(0);
}

#section-6 .gallery-item:hover .image-container img {
    filter: grayscale(0%) brightness(0.6);
}

#section-6 .gallery-item.active:hover .image-container img {
    filter: brightness(1.1);
}

/* Labels */
#section-6 .item-label {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: skewX(calc(var(--skew-angle) * -1)) translateX(-50%);
    font-size: 44px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.5);
    z-index: 5;
    white-space: nowrap;
    transition: all 0.4s ease;
    opacity: 0.7;
}

#section-6 .gallery-item.active .item-label {
    color: #fff;
    font-weight: 500;
    opacity: 1;
}

/* Gradient overlay at bottom */
#section-6 .gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #000, transparent);
    pointer-events: none;
    transform: skewX(calc(var(--skew-angle) * -1)) scaleX(1.5);
    /* Unskew gradient too */
}

/* Responsive */
@media (max-width: 1024px) {
    #section-6 .left-column {
        width: 55%;
    }

    #section-6 .stage-title {
        font-size: 2rem;
    }
}


#section-7 .grid-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

#section-7 .card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#section-7 .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#section-7 .card-dog-yawning {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    max-height: 400px;
    flex-direction: column;
    padding-top: 10px;
    align-items: revert;
}

#section-7 .card-dog-yawning .content-box{
    position: relative;
    height: 290px;
    border-radius: 15px;
    overflow: hidden;
}

#section-7 .card-dog-yawning .content-box .title{
    position: absolute;
    top: 50%;
    z-index: 9;
    transform: translateY(-50%);
    color: #000;
    text-align: center;
    text-shadow: 2px 0 0 #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 30px;
    display: block;
    width: 100%;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
}

#section-7 .card-monster-waving {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: #000000;
    width: 100%;
    left: 0;
    height: 100%;
    max-height: 370px;
    top: 0;
    position: relative;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

#section-7 .card-monster-waving .card-content{
    width: 100%;
    height: 100%;
}

#section-7 .card-monster-waving span{
    color: #000;
    text-shadow: 2px 0 0 #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    position: absolute;
    bottom: 25px;
    left: 35px;
    width: 60%;
}

#section-7 .card-monster-waving img {
    border-radius: 20px;
}
    
#section-7 .card-community-strength {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    background-color: transparent;
    position: relative;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

#section-7 img{
    border-radius: 15px;
}

#section-7 .card-community-strength .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 1;
}

#section-7 .short-description{
    position: absolute;
    background: #000;
    opacity: 1;
    z-index: 9;
    border-radius: 15px;
    height: 0;
    bottom: 0;
    left: 0px;
    width: 100%;
    box-sizing: border-box;
    transition: all ease .8s;
    padding: 0;
    border: 0;
    overflow: hidden;
}

#section-7 .card:hover .short-description{
    height: calc(100% - 1px);
    border: 1px solid #fff;
    padding: 20px;
}

#section-7 .card.card-innovation .short-description{
    display: flex;
    justify-content: right;
    align-items: end;
}

#section-7 .short-description p{
    color: #fff;
    text-align: justify;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

#section-7 .card-community-strength .card-content p {
    position: relative;
    z-index: 2;
    color: #000;
    text-align: center;
    text-shadow: 2px 0 0 #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    margin: 0;
}

#section-7 .card-learn-share {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background-color: transparent;
    min-height: 250px;
    width: 120%;
    top: 0;
    position: relative;
}

#section-7 .card-learn-share .bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  left: 0;
    top: 0;
}

#section-7 .card-learn-share .card-content p {
    position: relative;
    z-index: 2;
    color: #000;
    text-align: center;
    text-shadow: 2px 0 0 #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    margin: 0;
}

#section-7 .card-innovation {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    min-height: 250px;
    width: calc(85% - 15px);
    position: relative;
    left: auto;
    right: calc(-15% - 15px);
    height: 100%;
    top: 0;
    z-index: 1;
    max-height: 330px;
}

#section-7 .card-innovation .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    top: 0;
    left: 0;
}

#section-7 .card-innovation .card-content > p {
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: #000;
    text-align: right;
    text-shadow: 2px 0 0 #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    position: absolute;
    right: 40px;
    bottom: 40px;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
  #section-7 .grid-container {
    grid-template-columns: 1fr;
  }

  #section-7 .card-dog-yawning,
  #section-7 .card-monster-waving,
  #section-7 .card-community-strength,
  #section-7 .card-learn-share,
  #section-7 .card-innovation {
    grid-column: auto;
    grid-row: auto;
    min-height: 250px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px){
    .resource-hero-icon-four-star{
        top: -73px;
        left: calc(100% - 35px);
    }
    .resource-hero__eyebrow{
        font-family: SVN-Gilroy;
        font-size: 37.015px;
        font-style: normal;
        font-weight: 600;
        line-height: 41.245px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }
    .resource-hero__title{
        color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 120px;
        font-style: normal;
        font-weight: 800;
        line-height: 109.988px;
        text-transform: uppercase;
    }
    .resource-hero__inner{
        padding: 0;
    }
    .section-2-title, .section-3-title{
        color: #FFF;
        text-align: center;
        text-shadow: 0 3px 5px rgba(255, 255, 255, 0.65);
        font-family: SVN-Gilroy;
        font-size: 42px;
        font-style: normal;
        font-weight: 800;
        line-height: 58px; /* 138.095% */
        text-transform: uppercase;
    }
    .section-2-subtitle{
        font-size: 15px;
        color: #FFF;
        text-align: center;
        font-family: SVN-Gilroy;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
    }
    #section-3{
        padding-top: 350px;
    }
    #section-3 .col-left{
        width: 40%;
    }
    #section-3 .col-right{
        width: 60%;
    }
    .section-3-title{
        text-align: left;
    }
    .section-4-subtitle{
        color: #FFF;
        text-align: justify;
        font-family: SVN-Gilroy;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -0.18px;
        margin: 0;
    }
    section#section-5 .course-heading{
        margin: 0;
    }
    section#section-5 .course-card-title{
        color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 26.996px;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    section#section-5 .course-card-desc{
        color: #FFF;
        text-align: justify;
        font-family: SVN-Gilroy;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
        margin-bottom: 15px;
    }
    .gray-star-img{
        width: 145px;
        height: 145px;
        top: -115px;
    }
    #section-4 .col-3-4{
        width: 90%;
    }
    .section-4-title{
        color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 42px;
        font-style: normal;
        font-weight: 800;
        line-height: 48px;
        text-transform: uppercase;
    }
    .section-4-subtitle{
        color: #FFF;
        text-align: justify;
        font-family: SVN-Gilroy;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -0.18px;
    }
    #section-6 .main-title{
        color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 42px;
        font-style: normal;
        font-weight: 800;
        line-height: 48px;
        text-transform: uppercase;
    }
    #section-6 .main-title span{
        display: block;
    }
    #section-6 .stage-indicator{
        margin-top: 33px;
    }
    #section-6 .stage-label::before{
        height: 80px;
    }
    #section-6 .stage-label{
        color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 43.832px;
    }
    #section-6 .gallery-item .item-label{
        text-align: right;
        font-family: SVN-Gilroy;
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        width: 100%;
        padding-right: 40px;
    }
    #section-6 .gallery-item.active .item-label{
        color: #FFF;
    }
    #section-6 .stage-title{
        width: 65%;
        color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 28.718px;
    }
    #section-6 .stage-description{
        color: #D3D2D2;
        text-align: justify;
        font-family: SVN-Gilroy;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        max-width: 65%;
    }
    #section-6 .navigation{
        gap: 10px;
    }
    #section-6 .nav-btn{
        width:28px;
        height:28px;
    }
    #section-7{
        padding: 168px 15% 170px;
    }
    #section-7 .card-dog-yawning h3{
        font-size: 35px;
        border-bottom: 16px;
    }
    #section-7 .card-dog-yawning .content-box{
        height: 208px;
    }
    #section-7 .card-monster-waving, #section-7 .card-community-strength{
        height: 268px;
    }
    #section-7 .card-dog-yawning{
        max-height: 258px;
    }
    #section-7 .card-learn-share, #section-7 .card-innovation{
        height: 170px;
        min-height: unset;
    }
    #section-7 .card-monster-waving span{
        color: #000;
        text-shadow: 1.453px 0 0 #FFF;
        -webkit-text-stroke-width: 0.73px;
        -webkit-text-stroke-color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        text-transform: uppercase;
        left: 10px;
        bottom: 20px;
    }
    #section-7 .card-learn-share .card-content p,
    #section-7 .card-community-strength .card-content p,
    #section-7 .card-innovation .card-content > p
    {
        color: #000;
        text-align: center;
        text-shadow: 1.453px 0 0 #FFF;
        -webkit-text-stroke-width: 0.73px;
        -webkit-text-stroke-color: #FFF;
        font-family: SVN-Gilroy;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        text-transform: uppercase;
    }
    #section-7 .card-innovation .card-content > p{
        text-align: right;
    }
}