a.resource-card:hover {
    color: #fff;
}
.uppercase-text {
  text-transform: uppercase;
}
p {
  color: white;
}

.gradient-text-gray {
    background: linear-gradient(to right, #696969, #ffffff 45%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-mask-image: linear-gradient(#fff 0 0);
    color: transparent;
    display: inline-block;
    padding-top: 4px;
    line-height: 1.2;
}

.gradient-border {
    --border: 2px;
    border-radius: 25px;
    background: linear-gradient(#000, #000) padding-box, linear-gradient(200deg, #000000, #FFFFFF) border-box;
    border: solid var(--border) transparent;
}
.thumbnail-news-image {
    aspect-ratio: 16/9;
    width: 100%;
}
.news-container {
  margin:50px 0 25px;
}
.flex.time-post-container {
  gap: 10px;
  padding: 20px 0;
}
.flex {
  display: flex;
}
.tag-cont-1 {
  margin-bottom: 20px;
}
.resource-news-icon-web3 {
    width: 17px;
    height: auto;
    aspect-ratio: 1/1;
    background: url(https://learningchain.vn/wp-content/uploads/2025/12/web3_icon_resource_news.webp) no-repeat center;
    background-size: contain;
}
.resource-news-icon-blockchain {
    width: 16px;
    height: auto;
    aspect-ratio: 20/23;
    background: url(https://learningchain.vn/wp-content/uploads/2025/12/blockchain_icon_resource_news.webp) no-repeat center;
    background-size: contain;
}

.resource-news-icon-ai {
    width: 15px;
    height: 10px;
    background: url(https://learningchain.vn/wp-content/uploads/2025/12/ai_icon_resource_news.webp) no-repeat center;
    background-size: contain;
}
.resource-news-icon-display-none {
    display: none;
}
.time-bubble.flex {
    gap: 4px;
}
.time-bubble {
  background-color: #69696980;
  border-radius: 25px;
  padding: 5px 10px;
}

.section-4#section-4 .text-cont, .section-4#section-4 .lib-cont {
    display: none;
}

/* Layout TAGS: dùng flex, co theo text */
.resource-tags__grid {
  /*display: flex;           */
  flex-wrap: wrap;        
  align-items: flex-start;
  gap: 35px 55px;          
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ffffff rgb(25, 25, 25);
  padding-right: 5px;
  padding-top: 20px;
  padding-bottom: 26px;
  padding-left: 28px;
  display: none;
}

/* Mỗi tag co theo nội dung */
.resource-tag-pill {
  display: inline-flex;    /* hoặc inline-block cũng được */
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  filter: brightness(0.5);
  color: #fff;
  cursor: pointer;
  height: auto;            /* bỏ cố định 40px nếu muốn */
  max-width: none;         /* bỏ limit 85px */
  margin: 0;               /* row gap đã lo khoảng cách rồi */
  white-space: nowrap;     
  text-align: left;
  transition: filter 1.2s ease-in-out, color 1.2s ease-in-out;
}

.resource-tag-pill .text-content {
  display: inline-block; 
  position: relative;
}
 
.resource-tag-pill .text-content:after {
    content: "";
    background: url(https://learningchain.vn/wp-content/uploads/2025/11/LIGHT-EFFECT-RIGHT-TAGs.webp) no-repeat center;
    width: 40px;
    height: auto;
    aspect-ratio: 58/76;
    position: absolute;
    top: -14px;
    right: -36px;
}

.resource-tag-pill .text-content:before {
    content: "";
    background: url(https://learningchain.vn/wp-content/uploads/2025/11/LIGHT-EFFECT-LEFT-TAGS.webp) no-repeat center;
    width: 40px;
    height: auto;
    aspect-ratio: 58/76;
    position: absolute;
    top: -14px;
    left: -36px;
}

.resource-tag-pill:hover, .resource-tag-pill.resource-tag-pill--active{
    filter: brightness(1.2);
    color: #fff;
}

.resource-trend__desc_display_flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    width: 100%;
}

.resource-trend__header {
  z-index: 20;
  position: relative;
}

.resource-trend__heading {
  /*margin: 0 0 10px;*/
  margin: 0;
  font-size: calc(50px * 0.5 + (100vw * 50 / 1920) * 0.5);
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(to right, #8d8d8d 0%, #ffffff 25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.resource-trend__desc {
  margin: 0;
  max-width: 100%;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.resource-trend__filter {
  position: relative;
  padding-top: 8px;
}

/*.resource-trend__filter-glow {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  width: 70px;*/
/*  margin: 0 auto;*/
/*  border-radius: 999px;*/
/*  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 70%);*/
/*  filter: blur(6px);*/
/*  opacity: 0.8;*/
/*  pointer-events: none;*/
/*}*/

/*.resource-trend__filter-btn {*/
/*  position: relative;*/
/*  font-size: 20px;*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  gap: 8px;*/
/*  color: #fff;*/
/*}*/

/*.resource-trend__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;*/
/*  pointer-events: none;*/
/*}*/

/* hộp dropdown */
/*.resource-trend__filter-dropdown {*/
/*  position: absolute;*/
/*  top: 50px;*/
/*  right: 0;*/
/*  left: auto;*/
/*  min-width: 140px;*/
/*  padding: 18px 20px;*/
/*  border-radius: 12px;*/
/*  background: rgb(0, 0, 0, 0.5);*/
/*  backdrop-filter: blur(6px);*/
/*  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.25);*/
/*  opacity: 0;*/
/*  pointer-events: none;*/
/*  transform-origin: top center;*/
/*  transition: opacity .75s ease-in-out, transform .65s ease;*/
/*  z-index: 999;*/
/*}*/

/* trạng thái mở */
/*.resource-trend__filter-dropdown.is-open {*/
/*  opacity: 1;*/
/*  pointer-events: unset;*/
/*}*/

/* mỗi option */
/*.resource-filter-option {*/
/*  all: unset;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 7px;*/
/*  width: 100%;*/
/*  padding: 8px 4px;*/
/*  border-radius: 10px;*/
/*  cursor: pointer;*/
/*  font-size: 16px;*/
/*  color: #f2f2f2;*/
/*  transition: background .2s ease, transform .2s ease, opacity .2s ease;*/
/*}*/
/*.resource-trend__filter-button-with-icon {*/
/*    cursor: pointer;*/
/*}*/
/*.resource-filter-option__icon {*/
/*  flex: 0 0 32px;*/
/*  height: 32px;*/
/*  background-repeat: no-repeat;*/
/*  background-position: center;*/
  /*background-size: contain;*/
/*}*/

/* icon cụ thể – thay URL cho đúng icon của bạn */
/*.resource-filter-option__icon.icon-ai {*/
/*  background-image: url('https://dev.learningchain.vn/wp-content/uploads/2025/11/Vector-AI-filter-tin-tuc.webp');*/
/*}*/
/*.resource-filter-option__icon.icon-web3 {*/
/*  background-image: url('https://dev.learningchain.vn/wp-content/uploads/2025/11/ion_logo-web3-component.webp');*/
/*}*/
/*.resource-filter-option__icon.icon-blockchain {*/
/*  background-image: url('https://dev.learningchain.vn/wp-content/uploads/2025/11/ion_logo-blockchain-component.webp');*/
/*}*/
/*.resource-filter-option__icon.icon-all {*/
/*  background-image: url('https://learningchain.vn/wp-content/uploads/2025/11/icon-all.webp');*/
/*}*/

/* trạng thái hover / active */
/*.resource-filter-option:hover,*/
/*.resource-filter-option.is-active {*/
/*  background: rgba(255,255,255,0.06);*/
/*}*/

/* label "Tổng hợp" */
.resource-trend__filter-label {
  white-space: nowrap;
}

.filter-container, .filter-btn {
    position: relative;
    display: inline-block;
}
.filter-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    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: 1;
    
}
.filter-btn span {
    color: #fff;
    font-size: 20px;
}

.select-drop-box {
    margin-top: 36px;
    position: absolute;
    right: 0%;
    z-index: 50;
    padding: 20px;
    background: #000;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px) scale(.95);
    transition: opacity .32s cubic-bezier(.25, .46, .45, .94), transform .4s cubic-bezier(.25, .46, .45, .94), border-radius .45s ease-in-out, visibility 0s linear .32s;
}
.select-drop-box.drop-box-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity .32s cubic-bezier(.25, .46, .45, .94), transform .4s cubic-bezier(.25, .46, .45, .94), border-radius .45s ease-in-out, visibility 0s;
}
.select-dr-box-container {
    display: grid;
    gap: 25px;
    position: relative;
}
.drop-box-item {
    width: 125px;
    text-decoration: none;
}
.select-dr-box-container * {
    color: #fff;
}
.select-dr-box-container button{
    background: transparent;
    text-align: left;
    border: none;
    outline: none;
    font-size: 16px;
    cursor: pointer;
}
.white-text {
  color: white;
}
.tag-container {
  gap: 45px;
  flex-wrap: wrap;
}
.grid-1fr .grid-left,
.grid-1fr .grid-right {
  /* width: 50%; */
  max-height: 628px;
}
.grid-1fr .grid-right {
    overflow-x: hidden;
    overflow-y: scroll;
}
.grid-1fr .grid-right::-webkit-scrollbar {
    display: none;
}
.news-container.grid-1fr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 44px;
    color: #fff;
}
.news-desc-container {
    margin-top: 14px;
}
.white-text.news-title {
    display: block;
    font-size: 30px;
    color: white;
    line-height: 1.2;
    font-weight: 700;
    text-align: justify;
}
.white-text.news-desc {
    display: block;
    font-size: 20px;
    color: white;
    text-align: justify;
}
.grid-timeline {
    display: grid;
    grid-template-columns: 20% 80%;
    height: 77px;
    border-top: 1px solid white;
    border-image: linear-gradient(-45deg, #FFFFFF, #696969) 1;
    padding-top: 10px;
}
.description-timeline {
    width: 100%;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
}
/* Section tổng */
.resource-hero {
  overflow: hidden;
  color: #fff;
}
.grid-1 {
    display: grid;
    grid-template-columns: 80% 20%;
}
.text-cont {
    /* margin-bottom: 10px; */
    display: flex;
    justify-content: space-between;
}
.containerr {
    margin-bottom: 50px;
}
.resource-container {
    display: flex;
    justify-content: space-between;
}
.section-2-subtitle {
    font-size: 20px;
    margin: 0;
    width: 80%;
}
.filter-container {
    position: relative;
    cursor: pointer;
}

.filter-btn span {
    color: white;
    font-size: 20px;
}
.filter-btn .resource-trend__filter-icon {
    width: 21px;
    height: 21px;
    margin-left: 8px;
    position: relative;
    object-fit: contain;
    bottom: -3px;
}

.section-2-right-grid {
    align-items: end;
    align-content: end;
    text-align: right;
    display: grid;
}
.section-2-title {
    font-size: calc(50px * 0.65 + (100vw * 50 / 1920) * 0.35);
    z-index: 100;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.title {
  font-size: 50px;
  font-weight: 800;
  margin: 0;
  color: white;
}

.subtitle {
  font-size: 20px;
  font-weight: 500;
  color: white;
  margin: 0;
  margin-top: 10px;
}

.resource-hero__overlay {
  position: absolute;
  pointer-events: none;
  background-image: url(https://learningchain.vn/wp-content/uploads/2025/12/HERO_BANNER_RESOURCE.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100%;
  height: auto;
  aspect-ratio: 1280/ 360;
  top: 0;
  left: 0;
}

/* Khối nội dung canh giữa trang */
.resource-hero__inner {
  position: relative;
  margin: 0 auto;
  padding-top: calc(275px * 0 + (100vw * 275 / 1920) * 1.0);
  padding-left:0px;
  padding-right: 0px;
  padding-bottom: calc(150px * 0 + (100vw * 150 / 1920) * 1.0);
  display: flex;
  align-items: center;
}

/* ===== 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;
  gap: 48px;
}

.resource-hero__eyebrow {
    font-size: clamp(40px, calc(100px * 0.2 + (100vw * 100 / 1920) * 0.8), 110px);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, #6f6f6f 0%, #ffffff 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    line-height: 1.1;
    padding: 7px 0;
    margin-bottom: 15px;
}
.resource-hero__eyebrow::after {
    content: "";
    top: calc((60px * 0.3 + (100vw * 60 / 1920) * 0.7) * -1);
    right: calc((90px * 0.3 + (100vw * 90 / 1920) * 0.7) * -1);
    position: absolute;
    background: url(https://learningchain.vn/wp-content/uploads/2025/11/icon_tai_nguyen_tin_tuc_four_star.webp) no-repeat center;
    background-size: contain;
    width: calc(117px * 0.3 + (100vw * 117 / 1920) * 0.7) !important;
    height: auto;
    aspect-ratio: 1 / 1;
}

/* Tabs dưới title */
/* Tabs dưới title */
.resource-hero__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 43px;
}

.resource-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #696969;
  font-size: 24px;
  cursor: pointer;
  font-weight: 600;
  padding:0;
  background: none;
  outline:0;
  border: none;
  transition: color 0.75s ease, filter 0.6s ease;
}

.resource-tab_icon {
  width: 20px;
  height: 20px;
  background: url(https://learningchain.vn/wp-content/uploads/2025/12/icon_xu_huong_thi_truong_active.webp) no-repeat center;
  background-size: contain;
}

.resource-tab_icon_learning_chain {
  width: 19px;
  height: 18px;
  background: url(https://learningchain.vn/wp-content/uploads/2025/12/Vector.png) no-repeat center;
  background-size: contain;
}
.resource-tab_icon_prompt_ai {
  width: 21px;
  height: 21px;
  background: url(https://learningchain.vn/wp-content/uploads/2025/12/icon_prompt_ai_news_active.webp) no-repeat center;
  background-size: contain;
}

.resource-tab:not(.resource-tab--active) {
    filter: grayscale(1);
}

.resource-tab.resource-tab--active {
    color: #fff;
}

.resource-tab:hover {
  filter: grayscale(0);
  color: #fff;
}

.resource-hero__overlay_image_tablet {
    display: none;    
}
.resource-hero__tabs_mobile {
    display: none;    
}

.section-2 {
    margin-top: 30px;
}
.navigate-btn-group {
    display: flex;
    gap: 15px;
    z-index: 10;
}
.navigate-btn-group * {
    z-index: 100;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.35s ease-in-out;
    width: 39px;
}
.navigate-btn-group *:hover {
    transform: scale(1.15);
    transition: transform 0.35s ease-in-out;
}

.library-card-container {
  display: flex;
  margin-bottom: 30px;
  overflow-x: auto;
  perspective: 1200px; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  padding: 10px 0;
}

/* 3. Cho Chrome, Safari và Opera */
.library-card-container::-webkit-scrollbar {
    display: none;
}

.library-container {
  display: flex;
  gap: calc(60px * 0 + (100vw * 60 / 1920) * 1.0);
  margin-bottom: 40px;

  perspective: 1200px; /* Quan trọng để 3D mượt */
}
.library-container .resource-card::before {
    display: none;
}
.library-container.block {
    display: block;
}
.right-border {
    border-right: 1px solid white;
    border-image: linear-gradient(-45deg, #FFFFFF, #696969) 1;
}

.desc-container-div {
  border-image: linear-gradient(-45deg, #FFFFFF, #696969) 1;
  border-top: 1px solid white;
  padding: 12px 16px;
}
#section-4 .resource-card {
  border-radius: 25px 25px 0 0;
}
#section-4 .lib-cont {
    padding-bottom: 30px;
    border-bottom: 1px solid #696969;
}
.lib-title {
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
}
.author span, .time-author span {
  font-size: 16px;
  font-weight: 700;
}
.author-desc span {
  font-size: 14px;
  font-weight: 400;
}
.slash {
  border-right: 1px solid white;
}

 
#section-4 .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;
    left: 0;

    bottom: 160px; /* để nằm thấp ban đầu */
    opacity: 0;
    transform: translateY(20px); /* vị trí thấp hơn */
    transition: all 0.6s ease-out;
}
#section-4 .resource-card:hover::after {
    opacity: 1;
    transform: translateY(0); /* bay lên */
    bottom: 155px;
}

#section-5 .text-cont {
    margin: 40px 0 10px 0;
}

#section-5 .library-card-container {
  display: flex;
}

.section-5 .resource-card__category {
    opacity: 0;
    padding: 2px 10px;
}

.resource-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  filter: grayscale(1);

  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);
}

.section-3 .resource-card {
    scroll-snap-align: start;
    flex: 0 0 269px;
    overflow: hidden;
    position: relative;
}
.section-5 .resource-card {
    scroll-snap-align: start;
    flex: 0 0 336px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}




  .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: black;
        filter: blur(12px);
    
        opacity: 1; /* không hiện khi bình thường */
        transition: opacity 0.35s ease;
        z-index: 1;
    }
    #section-3 .z-5::before, 
    #section-3 .z-10::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);
  }

  .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: 5px 10px;
      border-radius: 99px;
      background: rgba(105, 105, 105, 0.5);
      display: inline-flex;
      gap: 4px;
      align-items: center;
  }
  .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 a {
    color: #fff;
}
.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: 14px;
    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 {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.pg-link{
  color: #696969;
  text-decoration: none;
}

.pg-link.pg-link-active,
.back-link.pg-link,
.next-link.pg-link {
  color: white;
  font-weight: 600;
}

.noi-bat-title {
  font-size: calc(50px * 0.5 + (100vw * 50 / 1920) * 0.5);
  font-weight: 800;
  margin: 0;
}

.container.lib-cont {
    border-bottom: 1px solid #696969;
}
.section-3 .text-cont {
  margin-bottom: 10px;
}
.section-4 .text-cont {
    margin: 40px 0 20px 0;
}
.section-4 .resource-card:after {
    display: none;
}

.resource-ranking-hero-inner {
  margin: 0 auto;
  border-bottom: 1px solid #696969;
  padding: 40px 0 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.resource-ranking-hero-text {
  z-index: 2;
}

.resource-ranking-hero-title {
  margin: 0 0 14px;
  font-size: calc(61px * 0.35 + (100vw * 61 / 1920) * 0.65);
  font-weight: 800;
  text-shadow: 0 0 3.766px #FFF;
  color: #ffffff;
}

.resource-ranking-hero-subtitle-wrap {
  display: inline-flex;
  padding: 8px 24px;
  background: url(https://learningchain.vn/wp-content/uploads/2025/12/image_learningchain_text_box_shadow.webp) no-repeat center;
  width:100%;
  aspect-ratio: 538/132;
  align-items: center;
  justify-content: center;
  margin-left: -24px;
  background-size: contain;
}

.resource-ranking-hero-subtitle {
  font-size: calc(35.5px * 0.35 + (100vw * 35.5 / 1920) * 0.65);
  font-weight: 700;
  color: #ffffff;
}

.resource-ranking-hero-image-wrap {
  position: relative;
  
  max-width: 57%;
}

.resource-ranking-hero-image {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.desc-container-div .white-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.section-3 {
    margin-top: 40px;
}
@media (max-width: 1439px) {
    .resource-hero__inner {
      padding-top: calc(142px * 0 + (100vw * 142 / 1439) * 1.0);
      padding-bottom: calc(142px * 0 + (100vw * 142 / 1439) * 1.0);
    }
    .section-2#section-2 {
        margin-top: 50px;
    }
    .resource-trend__desc {
        font-size: 18px;
    }
    .library-container {
        flex-direction: column;
    }
    .section-4 .resource-card {
        display: grid;
        grid-template-columns: 1fr 1.8fr;
        gap: calc(40px * 0.1 + (100vw * 40 / 1439) * 0.9);
    }
    .section-4 .right-border {
        display: none;
    }
    .section-4 .resource-card__media {
        border-radius: 25px 25px 0 0;
    }
    .desc-container-display-flex {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .section-4 .desc-container-div {
        padding-left: 0px;
        padding-right:0px;  
    }
    
     .section-2-title,
      .noi-bat-title {
        font-weight: 700;
      }
      .section-2-subtitle {
        width: 60%;
      }
      .grid-timeline {
        display: block;
        height: 105px;
      }
      .left-timeline {
          margin-bottom: 10px;
      }
      #section-3 .library-card-container > :nth-child(n+5) {
        display: none;
      }
      .white-text.news-desc {
          font-size: 18px;
      }
    
}
@media (max-width: 1023px) {
    .resource-hero__inner {
       padding-top: 120px;
    }
    .resource-hero__overlay {
      display: none;
    }
    .resource-hero__tabs_desktop {
        margin-top: 8px;
    }
    .resource-hero {
      background: url(https://learningchain.vn/wp-content/uploads/2025/12/image_tablet_hero_banner_resource-page.webp) no-repeat center;
      aspect-ratio: 768/ 745;
      background-size: cover;
      height: auto;
    }
    .news-container.grid-1fr {
        grid-template-columns: 1fr;
    }
    .section-4 .resource-card {
        grid-template-columns: 1fr 1.4fr;
        gap: 12px;
    }
    .section-3 .resource-card::before {
        display: none;
    }
    .section-3 .library-card-container {
        gap: 20px;
    }
    .section-2#section-2 {
        margin-top: 25px;
    }
    
    .section-2 .grid-left {
        max-height: unset;
    }
    .section-2 .news-container.grid-1fr {
        gap: 30px;
    }
}

.resource-card__body,
.desc-container-div {
  background-color: black !important;
}

@media (max-width: 699px) {
  .navigate-btn-group {
    margin: 0 auto;
  }
  .noi-bat-title {
    text-align: center;
    font-weight: 700;
    font-size: 30px;
  }
  .resource-trend__desc {
    font-size: 16px;
  }
    .resource-hero__eyebrow::after {
        width: 55px;
    }
    .resource-hero__tabs_mobile .resource-tab{
        display: flex;
        flex-direction: column;
    }
    
    .resource-hero__eyebrow {
        font-size: calc(36px * 0.6 + (100vw * 36 / 430) * 0.4);
        font-weight: 700;
    }
    
    .resource-hero__title {
        font-size: calc(76px * 0.6 + (100vw * 76 / 430) * 0.4);
    }
    
    .resource-hero__tabs {
        gap: 20px;
    }
    .resource-tab_icon_learning_chain, .resource-tab_icon_prompt_ai, .resource-tab_icon {
        width: 24px;
        height: 24px;
    }
    .resource-hero__tabs_desktop {
        display: none;
    }
    .resource-tab {
      font-size: 16px;
    }
    
    .resource-hero__inner {
        padding-top: calc(110px * 0 + (100vw * 110 / 430) * 1.0);
    }
    
    .resource-hero__tabs_mobile {
       display: flex;
       position: fixed;
       bottom: 0;
       left: 0;
       justify-content: center;
       padding: 12px 0;
       z-index: 998;
       width: 100%;
       justify-content: space-around;
       margin-bottom: -2px;
    }
    
    .resource-tab {
        gap: 5px;
    }
    .resource-hero {
        position: relative;
        padding-bottom: calc(100px * 0 + (100vw * 100 / 430) * 1.0);
    }
    .filter-btn::after {
        content: "";
        position: absolute;
        top: 50%;
        transform: rotate(180deg) translateY(50%);
        right: -110px;
        width: 124px;
        height: 140px;
        background: url(https://learningchain.vn/wp-content/uploads/2025/11/LIGHT_EFFECT_tin-tuc.webp) no-repeat center;
        opacity: 1;
        pointer-events: none;
    }
    .filter-btn::before, .resource-trend__filter-btn:before {
        left: -110px;
    }
    .time-bubble .white-text {
      font-size: 12px;
      align-content: center;
    }
    .time-bubble {
      align-content: center;
      padding: 3px 10px;
    }
    .time-bubble .resource-tab_icon_web3 {
      width: 15px;
      height: 15px;
    }
    .flex.time-post-container {
      justify-content: center;
    }
    .white-text.news-title {
      text-align: center;
      text-transform: uppercase;
    }
    .white-text.news-desc {
      text-align: center;
    }
    .noi-bat-title {
      font-size: 30px;
    }
    .text-cont {
      display: grid;
      justify-content: unset;
      margin: 0 auto;
    }
    #section-3 .navigate-btn-group {
      margin: 0 auto;
    }
    .resource-trend__header {
        margin-top: 15px;
    }
    .resource-trend__heading-block {
        text-align: center;
    }
    .resource-trend__desc_display_flex {
        flex-direction: column;
        gap: 20px;
    }
    .resource-trend__filter-dropdown {
        left: 50%;
        transform: translateX(-50%);
        right: unset;
    }
    .section-2#section-2 {
        margin-top: calc(60px * 0 + (100vw * 60 / 430) * 1.0);
    }
    .white-text.news-desc {
          font-size: 16px;
    }
    .resource-ranking-hero-inner {
      flex-direction: row;
      padding: 22px 3px 15px;
      align-items: center;
    }
    .section-5 .resource-card {
      flex: 0 0 100%;
    }
    .navigate-btn-group {
      display: none;
    }
    
    .resource-hero__tabs_mobile .resource-tab {
      font-size: 16px;
    }
    .select-drop-box {
        right: unset;
        left: 50%;
        transform: translate(-50%, 50%) scale(0.9);
    }
    
    .select-drop-box.drop-box-active {
        transform: translate(-50%, 50%) scale(1);
    }
}


/* Responsive nhỏ */
@media (max-width: 768px) {
  .resource-ranking-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 20px;
  }

  .resource-ranking-hero-image-wrap {
    width: 80%;
    max-width: none;
    margin: 20px auto 0;
  }

  .resource-ranking-hero-title {
    font-size: 24px;
  }

  .resource-ranking-hero-subtitle {
    font-size: 12px;
  }
}

