/* ==========================================================================
   HUONGNGHIEP.ORG - Nâng cấp giao diện: độ tương phản, cỡ chữ, nút bấm
   --------------------------------------------------------------------------
   - Chỉ đổi màu sắc, cỡ chữ, viền, bóng đổ, vị trí khung ưu đãi trên điện thoại.
   - Không ẩn, không đổi, không thêm nội dung chữ: SEO và các trang điều khoản
     giữ nguyên 100% nội dung.
   - Không đụng tới JavaScript, dữ liệu, thanh toán, biểu mẫu.
   - Toàn bộ nằm trong @media screen: bản in / lưu PDF giữ nguyên như cũ.
   - Gỡ bỏ: xóa dòng <link> nạp tệp này là web trở về như cũ.
   ========================================================================== */

@media screen {

/* 1. Biến màu chung ------------------------------------------------------- */
:root{
  /* Chữ phụ: #68798C (4,5:1) -> #4A5D72 (6,6:1) */
  --muted:#4A5D72;
  --brand-muted:#4A5D72;
  /* Viền khung: rõ hơn để các khung tách khỏi nền */
  --line:#C9D3DE;
  --brand-line:#C9D3DE;
  --hn-line:#C9D3DE;
  /* Vàng thương hiệu: tươi hơn cho nút bấm (chữ navy trên nền vàng >= 5,5:1) */
  --brand-gold:#E6A935;
  --brand-gold-light:#F5C95E;
  --orange:#E6A935;
  --orange-2:#F5C95E;
  /* Vàng đậm dùng làm màu chữ: #AD854A (3,4:1) -> #8A6224 (5,4:1) */
  --brand-gold-dark:#8A6224;
  --hn-gold:#8A6224;
}

/* 2. Chữ phụ đang khai báo màu xám nhạt trực tiếp -> cùng màu chữ phụ mới -- */
.hero-trust-note,.free-report-conversion .candidate small,.offer-compare span,
.news-card .meta,.section-subcopy,.source-note,.hero-main-cta span,.tool-test span,
.admin-page .admin-filters>p,.admin-page .customer-section-subtitle,
.conversion-refresh .offer-footer .tiny,.free-curiosity-grid small,.radio>span small,
.promo-footnote,.career-activity-empty,.checkout-eyebrow,[data-promo-price] del,
.home-premium-benefits span,.pay-stage,.admin-page .metrics .card small,
.branch-auto,.install-app-home p,.news-hero p,.phone-note,.promo-dialog .promo-small,
.promo-dialog .promo-later,.premium .price small,.share-help,.home-report-price small,
.result-report-price small,.home-report-benefits span,.account-owner-note,.footer-build,
.checkout-profile-heading p,.commerce-review .commerce-note,.payment-guide .payment-tip,
.policy-page .policy-date,.seo-toc li,.seo-updated,.pay-kv small,.promo-old,
.promo-dialog .promo-price s,.seo-breadcrumb li+li:before,.faq-home details p,
.service-price-box,.service-price-note,.service-price-label,.hero-benefit-line,
.career-activity-summary,.career-activity-location,.commerce-dmca-caption small,
.commerce-bct-caption small,.commerce-zalo-qr p,#home-video-new-tab{
  color:#4A5D72!important;
}
/* Nhãn màu nâu vàng nhỏ ("01 · HIỂU NGHỀ THẬT", "BÁO CÁO CHUYÊN SÂU"...) */
.offer-outcomes .offer-number,.home-report-path span,.eyebrow,.journey-offer-slogan,
.survey-guide b,.helper,.confirm-icon{
  color:#7A5520!important;
}
/* Chữ cam trên nền trắng chưa đạt chuẩn */
.mini-nav a:hover{color:#A4560F!important}

/* 3. Cỡ chữ: nâng các đoạn chữ đọc đang 10-13px ---------------------------- */
.tool-test span{font-size:14px!important;line-height:1.5!important}
#landing .tool-test>span{font-size:13.5px!important;line-height:1.45!important;-webkit-line-clamp:2!important}
.home-report-benefits span{font-size:14px!important;line-height:1.55!important}
.home-report-benefits b{font-size:15px!important}
.faq-home details p{font-size:15.5px!important;line-height:1.65!important}
.journey-offer-steps p,.journey-visual-steps p{font-size:14.5px!important;line-height:1.55!important}
.career-proof-strip span{font-size:12.5px!important}
.career-activity-summary,.career-activity-location{font-size:14.5px!important;line-height:1.55!important}
.career-activity-meta{font-size:12.5px!important}
.service-price-note,.service-price-label,.included-report{font-size:12.5px!important}
.eyebrow{font-size:12px!important;letter-spacing:.04em}
.news-card .meta{font-size:13px!important}
.news-card p,.news-hero p{font-size:16px!important;line-height:1.6!important}
.source-note{font-size:13.5px!important;line-height:1.55!important}
.homepage-report-previews a span{font-size:13px!important}
.commerce-support-details p,.commerce-support-details a,
.commerce-zalo-qr p,.commerce-zalo-qr summary{font-size:13.5px!important}
.commerce-links a,.commerce-legal summary{font-size:14px!important}
.commerce-bct-caption small,.commerce-dmca-caption small{font-size:13px!important}

/* Màn hình kết quả Holland */
#result section.paid>ul>li,#result section>ul>li{font-size:14px!important;line-height:1.55!important}
#result .trend>p,#result .free-report-copy>p,#result .free-report-copy>p>b{font-size:15px!important;line-height:1.6!important}
#result p.tiny{font-size:13px!important;line-height:1.55!important;color:#4A5D72!important}
#result .favorite-chip,#result .free-report-links .text-action{font-size:13.5px!important}
#result .result-radar-score b,#result .result-radar-heading small,#result .report-previews a span{font-size:12.5px!important}

/* 4. Nút chính: vàng tươi, chữ navy đậm, dễ thấy hơn ------------------------ */
.btn.primary,.cta,.primary,.hero-main-cta .primary,.test-cta,.home-premium-actions .primary,
.test-report-box a,.video-box a{
  color:#0F2F5C!important;
  font-weight:700!important;
  border-color:#C98F1F!important;
  box-shadow:0 8px 20px rgba(201,143,31,.28)!important;
}
.btn.primary:hover,.cta:hover,.primary:hover,.hero-main-cta .primary:hover,.test-cta:hover{
  filter:brightness(1.04);
  box-shadow:0 10px 24px rgba(201,143,31,.36)!important;
}
.primary:focus-visible,.secondary:focus-visible,.cta:focus-visible{
  outline:3px solid #113565!important;outline-offset:2px!important;
}
/* Nút phụ: viền navy rõ ràng */
.secondary,button.secondary,a.secondary{
  border:1.5px solid #8FA3BA!important;
  color:#113565!important;
}

/* 5. Khung, thẻ: nền trắng, viền và bóng đổ rõ hơn -------------------------- */
.tool-test,.news-card,.career-activity-card,.service-box,.screen-card,.free-tool,
.faq-home details,.resume-card,.home-report-card,.paid-service-options article,
.seo-link-card,.policy-page>section,.policy-page article{
  border-color:#C9D3DE!important;
  box-shadow:0 2px 6px rgba(17,53,101,.06),0 10px 24px rgba(17,53,101,.07)!important;
}
.journey-offer,.paid-service-options{border-color:#C3D2E1!important}

/* 6. Sửa lỗi: tab lọc ở trang Tin hướng nghiệp bị trùng màu chữ và nền ------- */
.news-tabs button:not(.active){
  background:#FFFFFF!important;
  color:#113565!important;
  border:1.5px solid #9DB0C5!important;
  box-shadow:none!important;
  font-weight:600!important;
}
.news-tabs button.active{background:#113565!important;color:#FFFFFF!important}

/* 7. Khung ưu đãi của chú cú: trên điện thoại không che nút "Bắt đầu Holland" */
@media (max-width:640px){
  #hn-wise-owl .promo-owl-bubble{
    right:84px;
    bottom:6px;
    width:min(232px,calc(100vw - 104px));
  }
  #hn-wise-owl .promo-owl-bubble::after{
    right:-11px;bottom:26px;
    border-right:2px solid #D8BB84;border-bottom:0;border-top:2px solid #D8BB84;
    transform:rotate(45deg);
  }
  #hn-wise-owl .promo-owl-open{padding:10px 34px 10px 13px;font-size:13.5px;line-height:1.4}
  #hn-wise-owl .promo-owl-title{font-size:15.5px}
  #hn-wise-owl .promo-owl-what{margin:2px 0 7px}
  #hn-wise-owl .promo-owl-cta{padding:5px 12px}
}

/* 8. Báo cáo mẫu và báo cáo chuyên sâu: chỉ khi xem trên màn hình ----------- */
.r8-small,.r8-subtitle,.r8-credit{color:#4A5D72!important}
.r18-venn-note{color:#4A5D72!important;font-size:12px!important}
/* Nhãn 6 nhóm Holland R I A S E C: giữ sắc màu, đậm hơn để đọc được */
.r18-holland-row b[style]{filter:brightness(.74) saturate(1.1)}
@media (max-width:700px){
  .r8-document td small,.r8-document .r3-reach-row td small,.r8-document .r3-local-row td small{font-size:11.5px!important}
  .r8-document tbody td,.r8-document tbody td b{font-size:12.5px!important}
  .r8-document p.r8-small,.r8-document .r8-small a{font-size:12.5px!important}
  .r8-career-deep p,.r8-career-deep-row p,.r8-fit-foundation p{font-size:13.5px!important}
}

} /* hết @media screen */

/* 9. Phần đầu trang chủ: ảnh gia đình, chữ bên trái, ảnh bên phải ------------ */
@media screen{
  .hero-new{background:#F4F8FC!important;min-height:440px;border:1px solid #D6E0EA}
  .hero-new .hero-background{left:auto!important;right:0!important;width:62%!important;object-position:58% 30%!important}
  .hero-new:after{background:linear-gradient(90deg,#F4F8FC 0%,#F4F8FC 38%,rgba(244,248,252,.85) 46%,rgba(244,248,252,0) 62%)!important}
  /* Dải cong navy – vàng ở góc dưới như bản mẫu */
  .hero-new:before{content:"";position:absolute;z-index:1;right:-6%;bottom:-38px;width:70%;height:90px;
    border-top:7px solid #E6A935;background:#113565;border-radius:100% 0 0 0;transform:rotate(-4deg);pointer-events:none}
  .hero-new-copy{width:52%!important}
  .hero-new-copy h1{color:#0F2F5C!important}
  .hero-new-copy .hero-subtitle{font-size:19px!important;color:#24384F!important;font-weight:600;max-width:440px}
  @media (max-width:650px){
    /* Điện thoại: chữ và nút ở trên, ảnh gia đình ở dưới, không che mặt */
    .hero-new{display:flex!important;flex-direction:column;min-height:0!important}
    .hero-new:after{display:none!important}
    .hero-new .hero-background{position:relative!important;order:2;inset:auto!important;width:100%!important;height:250px!important;
      object-position:56% 22%!important;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%);mask-image:linear-gradient(180deg,transparent 0,#000 22%)}
    .hero-new-copy{order:1;width:100%!important;padding:24px 22px 4px!important}
    .hero-new:before{width:120%;height:56px;bottom:-30px;right:-12%;z-index:2}
    .hero-new-copy h1{font-size:25px!important}
    .hero-new-copy .hero-subtitle{font-size:16.5px!important;max-width:100%}
  }
}
