a.resource-card:hover {
    color: #fff;
}
/* Section tổng */
.resource-hero {
  overflow: hidden;
  color: #fff;
}

.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: 150px;
  padding-left:0px;
  padding-right: 0px;
  padding-bottom: calc(180px * 0.1 + (100vw * 180 / 1920) * 0.9);
  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-title-container {
    margin: 0;
}
.resource-hero__eyebrow {
  font-size: clamp(40px, calc(70px * 0.65 + (100vw * 70 / 1920) * 0.35), 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;
  position: relative;
  display: inline-block;
}
.resource-hero__eyebrow::after {
  content: "";
  top: calc((75px * 0.35 + (100vw * 75 / 1920) * 0.65) * -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);
  height: auto;
  aspect-ratio: 1/ 1;
}
.resource-hero__title {
  font-size: clamp(40px, calc(120px * 0.65 + (100vw * 120 / 1920) * 0.35), 150px);
  line-height: 1;
  margin: 0 0 45px;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  display: block;
}

/* 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: 16px;
  cursor: pointer;
  font-weight: 600;
}

.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: 45px;
  height: 32px;
  background: url(https://learningchain.vn/wp-content/uploads/2025/12/about_learning_chain_news_homapge.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.webp) no-repeat center;
  background-size: contain;
}

.resource-tab.resource-tab--active {
  border-color: transparent;
  color: #fff;
}

.resource-tab:hover {
  transform: translateY(-1px);
}

.resource-hero__overlay_image_tablet {
    display: none;    
}
.resource-hero__tabs_mobile {
    display: none;    
}

@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;
    }
      
    .resource-hero__eyebrow::after {
        width: 100px;
    }
}
@media (max-width: 1023px) {
    .resource-hero__inner {
       padding-top: 120px;
       padding-bottom: 10px;
    }
    .resource-hero__eyebrow::after {
        width: 85px;
    }
    .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: 100vw;
      height: auto;
      aspect-ratio: 767/ 697;
    }
    
}
@media (max-width: 699px) {
    .resource-hero__eyebrow::after {
        width: 55px;
    }
    
    .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;
        background-image: url(https://dev.learningchain.vn/wp-content/uploads/2025/11/PIC_tin-tuc_mobile.webp);
        aspect-ratio: 430/ 475;
    }
    
    .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: fixed;
       bottom: 0;
       left: 0;
       justify-content: center;
       background: radial-gradient(140% 180% at 12% 5%, rgb(165 165 165 / 18%), rgb(253 253 253 / 0%) 55%), radial-gradient(120% 160% at 95% 15%, rgb(255 255 255 / 4%), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #2d2d2d, #1a1a1a 55%, #414141);
       padding: 12px 0;
       z-index: 998;
       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);
    }
}