/*
 * a11y-contrast.css
 * ==================================================================
 * Sá»­a lá»—i PageSpeed / Lighthouse "Äá»™ tÆ°Æ¡ng pháº£n mÃ u tháº¥p"
 * (WCAG AA yÃªu cáº§u tá»· lá»‡ tÆ°Æ¡ng pháº£n >= 4.5:1 cho chá»¯ thÆ°á»ng).
 *
 * NGUYÃŠN Táº®C: CHá»ˆ chá»‰nh MÃ€U CHá»® cho Ä‘á»§ tÆ°Æ¡ng pháº£n. KHÃ”NG Ä‘á»•i bá»‘ cá»¥c,
 * KHÃ”NG Ä‘á»•i mÃ u ná»n, giá»¯ tá»‘i Ä‘a nháº­n diá»‡n thÆ°Æ¡ng hiá»‡u (vÃ ng #ffcc05).
 *
 * VÃ¬ cÃ¡c mÃ u lá»—i Ä‘Æ°á»£c set INLINE trong ná»™i dung (WPBakery, lÆ°u á»Ÿ DB)
 * nÃªn KHÃ”NG sá»­a Ä‘Æ°á»£c tá»« file theme -> báº¯t buá»™c dÃ¹ng !important má»›i
 * Ä‘Ã¨ Ä‘Æ°á»£c inline style. ÄÃ¢y lÃ  lÃ½ do pháº£i override thay vÃ¬ sá»­a gá»‘c.
 *
 * Sá»‘ liá»‡u Ä‘o trÃªn live (puluongexcursions.com) thÃ¡ng 2026-08.
 * Náº¡p qua functions.php, handle 'puluong-a11y-contrast'.
 * ================================================================== */


/* 1) CHá»® THÃ‚N BÃ€I XÃM NHáº T -----------------------------------------
 * Hiá»‡n tráº¡ng: chá»¯ xÃ¡m #818181 (rgb 129,129,129) trÃªn ná»n tráº¯ng
 *   -> tÆ°Æ¡ng pháº£n 3.90:1 = KHÃ”NG Äáº T (cáº§n >= 4.5).
 * Sá»­a: Ä‘á»•i sang #5f5f5f (~6.3:1 trÃªn tráº¯ng, ~5.2:1 trÃªn ná»n xÃ¡m nháº¡t
 *   #ebebeb) - váº«n lÃ  mÃ u xÃ¡m, chá»‰ Ä‘áº­m hÆ¡n má»™t chÃºt nÃªn gáº§n nhÆ° khÃ´ng
 *   tháº¥y khÃ¡c biá»‡t tháº©m má»¹, nhÆ°ng Ä‘áº¡t chuáº©n.
 *
 * CHá»ˆ nháº¯m pháº§n tá»­ cÃ³ INLINE color #818181. LÆ°u Ã½: chá»¯ TRáº®NG Ä‘áº·t trÃªn
 * áº£nh / ná»n tá»‘i cÅ©ng dÃ¹ng class .mkdf-st-text nhÆ°ng inline lÃ  color:#fff
 * (hiá»ƒn thá»‹ Ä‘Ãºng) -> selector theo #818181 sáº½ KHÃ”NG Ä‘á»¥ng tá»›i chÃºng. */
[style*="color: #818181"],
[style*="color:#818181"],
[style*="color: rgb(129, 129, 129)"],
[style*="color:rgb(129, 129, 129)"] {
	color: #5f5f5f !important;
}


/* 2) NÃšT VÃ€NG SOLID (.mkdf-btn.mkdf-btn-solid) ---------------------
 * Hiá»‡n tráº¡ng: máº·c Ä‘á»‹nh theme ná»n vÃ ng #ffcc05 + CHá»® TRáº®NG
 *   -> tÆ°Æ¡ng pháº£n 1.51:1 = KHÃ”NG Äáº T (fail náº·ng).
 * LÆ°u Ã½ HOVER: theme Ä‘á»•i ná»n sang xÃ¡m Ä‘áº­m #303030 nhÆ°ng giá»¯ chá»¯ tráº¯ng
 *   (tráº¡ng thÃ¡i hover Äáº T chuáº©n ~12:1, khÃ´ng cáº§n Ä‘á»¥ng).
 *
 * Sá»­a:
 *   - Tráº¡ng thÃ¡i THÆ¯á»œNG: chá»¯ tá»‘i #1c1c1c trÃªn ná»n vÃ ng (~11:1 = Ä‘áº¡t).
 *   - Tráº¡ng thÃ¡i HOVER: tráº£ láº¡i chá»¯ tráº¯ng cho ná»n tá»‘i #303030 (Ä‘áº¡t).
 *
 * CHá»ˆ Ã¡p cho nÃºt VÃ€NG, trÃ¡nh lÃ m há»ng nÃºt mÃ u khÃ¡c:
 *   - nÃºt solid KHÃ”NG cÃ³ background-color inline (máº·c Ä‘á»‹nh = vÃ ng), HOáº¶C
 *   - nÃºt solid cÃ³ background-color inline chá»©a "ffcc05" / "255, 204, 5".
 * NÃºt solid Ä‘áº·t ná»n mÃ u khÃ¡c (vd xanh) váº«n giá»¯ chá»¯ tráº¯ng nhÆ° cÅ©. */
.mkdf-btn.mkdf-btn-solid:not([style*="background-color"]),
.mkdf-btn.mkdf-btn-solid:not([style*="background-color"]) .mkdf-btn-text,
.mkdf-btn.mkdf-btn-solid[style*="ffcc05"],
.mkdf-btn.mkdf-btn-solid[style*="ffcc05"] .mkdf-btn-text,
.mkdf-btn.mkdf-btn-solid[style*="255, 204, 5"],
.mkdf-btn.mkdf-btn-solid[style*="255, 204, 5"] .mkdf-btn-text {
	color: #1c1c1c !important;
}
.mkdf-btn.mkdf-btn-solid:not([style*="background-color"]):hover,
.mkdf-btn.mkdf-btn-solid:not([style*="background-color"]):hover .mkdf-btn-text,
.mkdf-btn.mkdf-btn-solid[style*="ffcc05"]:hover,
.mkdf-btn.mkdf-btn-solid[style*="ffcc05"]:hover .mkdf-btn-text,
.mkdf-btn.mkdf-btn-solid[style*="255, 204, 5"]:hover,
.mkdf-btn.mkdf-btn-solid[style*="255, 204, 5"]:hover .mkdf-btn-text {
	color: #ffffff !important;
}


/* 3) CHá»® TRONG HOVERBOX (WPBakery vc-hoverbox) --------------------
 * Theme Ä‘áº·t máº·c Ä‘á»‹nh TOÃ€N Cá»¤C: p { color:#818181 } (style_dynamic.css).
 * Máº·t sau hoverbox (.vc-hoverbox-back) LUÃ”N cÃ³ ná»n xÃ¡m nháº¡t cá»‘ Ä‘á»‹nh
 *   -> chá»¯ #818181 trÃªn ná»n Ä‘Ã³ = 3.27:1 = KHÃ”NG Äáº T.
 * Panel nÃ y luÃ´n sÃ¡ng (khÃ´ng nhÆ° .wpb_text_column dÃ¹ng á»Ÿ cáº£ section
 * ná»n tá»‘i) nÃªn darken á»Ÿ Ä‘Ã¢y AN TOÃ€N, khÃ´ng Ä‘á»¥ng chá»¯ trÃªn ná»n tá»‘i.
 * KHÃ”NG dÃ¹ng rule `p{}` toÃ n cá»¥c vÃ¬ sáº½ lÃ m há»ng ~12 Ä‘oáº¡n chá»¯ xÃ¡m
 * Ä‘ang náº±m trÃªn ná»n tá»‘i (section xanh #0a6e50, footer #1c1c1c). */
.vc-hoverbox-block.vc-hoverbox-back p,
.vc-hoverbox-back-inner p {
	color: #5f5f5f !important;
}
/* 4) CH? / ICON VÀNG TRÊN N?N SÁNG ---------------------------------
 * Lighthouse v?n b?t các ph?n t? màu thuong hi?u #ffcc05 dùng nhu màu ch?/icon
 * trên n?n tr?ng ho?c xám sáng: custom heading "Since 2014", trust stars,
 * popup contact text, tour icons/labels. #ffcc05 trên tr?ng ch? ~1.5:1.
 * Gi? n?n vàng cho button; ch? d?i ch?/icon vàng trên n?n sáng sang xanh brand
 * d?m #0a6e50 (~6.3:1 trên tr?ng).
 */
.left-popup--content,
.pe-trip-star,
.mkdf-custom-font-holder[style*="ffcc05"],
.mkdf-title-holder.mkdf-has-bg-image .mkdf-page-title,
.mf-tour-hightlight__item .icon-box-img i,
.mkdf-tour-info-icon,
.mf-tour-information__included-item > p:hover,
.star-rating,
.star-rating span,
.mkdf-ratings-stars-holder,
.mkdf-ratings-stars-holder span,
.mkdf-tours-tour-categories-item:before,
.mkdf-tours-single-info-item__icon i,
.mf-tour-cover__action :is(.icon_group, .icon_clock)::before,
.icon_menu:before,
.icon_search:before {
	color: #0a6e50 !important;
}

/* Inline WPBakery text colors using #ffcc05 as foreground inside light content areas. */
.mkdf-content [style*="color: #ffcc05"],
.mkdf-content [style*="color:#ffcc05"],
.mkdf-content [style*="color: rgb(255, 204, 5)"],
.mkdf-content [style*="color:rgb(255, 204, 5)"] {
	color: #0a6e50 !important;
}
/* 5) MKDF Tours secondary text on light cards/pages. */
.mkdf-tours-price-with-discount .mkdf-tours-price-old.mkdf-tours-item-price,
.mkdf-tours-standard-item .mkdf-tours-item-price-additional-text,
.mkdf-tours-standard-item .mkdf-tour-item-rating,
.mkdf-tours-standard-item .mkdf-tours-standard-item-bottom-content,
.mkdf-tours-list-item .mkdf-reviews-summary,
.mkdf-tours-list-item .mkdf-tours-item-price.mkdf-tours-price-old,
.mkdf-tours-list-item .mkdf-tours-list-price-label,
.mkdf-tours-list-item .mkdf-tours-list-item-bottom-content,
.single-tour-item .mkdf-tour-item-price-text,
.single-tour-item .mkdf-reviews-summary,
.single-tour-item .mkdf-tour-item-short-info .mkdf-tours-single-info-item,
.single-tour-item .mkdf-tour-item-short-info .mkdf-tours-tour-categories-holder,
.single-tour-item .mkdf-tour-item-short-info .mkdf-tours-tour-categories-item,
.single-tour-item .mkdf-tour-item-short-info .mkdf-tour-destination-holder,
.single-tour-item .mkdf-tour-item-short-info a,
.single-tour-item .mkdf-review-date,
.tt-hint {
	color: #5f5f5f !important;
}

/* Tour option buttons can override the yellow-button contrast rule. */
.mf-tour-options__item .mkdf-btn.mkdf-btn-solid,
.mf-tour-options__item .mkdf-btn.mkdf-btn-solid .mkdf-btn-text {
	color: #1c1c1c !important;
}
.mf-tour-options__item .mkdf-btn.mkdf-btn-solid:hover,
.mf-tour-options__item .mkdf-btn.mkdf-btn-solid:hover .mkdf-btn-text {
	color: #ffffff !important;
}
/* Keep the inline brand-yellow CTA text in "Our Way of Doing Things". */
.mkdf-content .vc_cta3-container .vc_cta3-content a span[style*="ffcc05"],
.mkdf-content .vc_cta3-container .vc_cta3-content a span[style*="color: #ffcc05"],
.mkdf-content .vc_cta3-container .vc_cta3-content a span[style*="color:#ffcc05"],
.mkdf-content .vc_cta3-container .vc_cta3-content a span[style*="color: rgb(255, 204, 5)"],
.mkdf-content .vc_cta3-container .vc_cta3-content a span[style*="color:rgb(255, 204, 5)"] {
	color: #ffcc05 !important;
}