/* Site-wide styles exported from WordPress Additional CSS. */
/* ===== 1. NHÚNG FONT LATO & ÁP DỤNG TOÀN SITE ===== */





* {

  font-family: 'Lato', sans-serif !important;

  font-weight: 500;

}



html, body {

  font-size: 18px !important;

}



p, li, span, blockquote {

  font-size: 18px !important;

  line-height: 1.6 !important;

}



h1, h2, h3, h4, h5, h6, b, strong, .site-title, .entry-title {

  font-weight: 900 !important;

}



/* ===== 2. RESPONSIVE CHUẨN 2 CỘT -> 1 CỘT ===== */

@media(max-width:768px){

  div[style*="max-width:1180px"]{

    width:calc(100% - 16px) !important;

    max-width:none !important;

    margin:0 auto !important;

  }

  div[style*="display:flex"]{

    display:block !important;

  }

  aside{

    width:100% !important;

    display:block !important;

    padding:20px 16px !important;

    box-sizing:border-box !important;

    border-bottom:1px solid #cfcfcf !important;

  }

  main{

    width:100% !important;

    display:block !important;

    padding:20px 16px !important;

    box-sizing:border-box !important;

  }

  main p, main div, main span, main a{

    overflow-wrap:break-word !important;

    font-size: 18px !important;

  }

  a[style*="width:150px"]{

    width:100% !important;

    max-width:220px !important;

  }

}



/* ===== 3. FOOTER MOBILE ===== */

@media(max-width:768px){

  .ez-footer-inner{

    display:block !important;

    padding:0 18px !important;

  }

  .ez-footer-col, .ez-footer-col:first-child, .ez-footer-col:last-child{

    width:100% !important;

    margin-left:0 !important;

    text-align:left !important;

  }

  .ez-footer-col:last-child{

    margin-top:24px !important;

  }

}



/* ===== 4. CẤU HÌNH GIAO DIỆN CHUNG ===== */

.entry-title {

  display:none !important;

}



body, .site, .site-content, .ast-container {

  background:#ececec !important;

}



/* ===== 5. DROPDOWN FREE REPORTS (SIDEBAR) ===== */

aside {

  overflow: visible !important;

}



.ez-free {

  position: relative !important;

  overflow: visible !important;

  height: auto !important;

  margin: 0 !important;

  padding: 0 !important;

}



.ez-free > a {

  white-space: nowrap !important;

  display: block !important;

  padding: 12px 0 !important;

  line-height: 1 !important;

  font-size: 15px !important;

}



.ez-free-box, .ez-free-sub {

  display: none !important;

  position: absolute !important;

  background: #ffffff !important;

  border: 1px solid #999 !important;

  border-radius: 2px !important;

  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3) !important;

  z-index: 999999 !important;

  padding: 0 !important;

  margin: 0 !important;

  width: auto !important;

  min-width: 280px !important;

}



.ez-free:hover > .ez-free-box,

.ez-free-row:hover > .ez-free-sub {

  display: block !important;

}



.ez-free-box {

  left: 100% !important;

  top: 0 !important;

  margin-left: -1px !important;

}



.ez-free-sub {

  left: 100% !important;

  top: -1px !important;

}



.ez-free-row {

  position: relative !important;

  display: block !important;

  width: 100% !important;

  border-bottom: 1px solid #ddd !important;

}



/* ===== 6. KIỂU DÁNG NÚT VÀNG GOLD GIỐNG MẪU ===== */

.btn-gold-style {

  display: block !important;

  width: 170px !important; 

  margin: 0 auto !important;

  padding: 10px 5px !important;

  border: none !important;

  border-radius: 30px !important;

  background: linear-gradient(to right, #cfaf5c, #e7d896) !important;

  color: #111 !important;

  text-decoration: none !important;

  font-size: 16px !important; 

  font-weight: 900 !important; 

  text-align: center !important;

  box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;

  transition: all 0.3s ease !important;

}



.btn-gold-style:hover {

  background: linear-gradient(to right, #e7d896, #f3e9b7) !important;

  transform: translateY(-1px) !important;

  box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;

}



/* ===== 7. ĐỒNG BỘ MÀU CHỮ ĐEN & ÉP ĐỔI MÀU HOVER TRIỆT ĐỂ ===== */



/* Trạng thái mặc định: Mọi thứ màu đen */

html, body, p, div, span, li, blockquote, 

h1, h2, h3, h4, h5, h6, 

a, a:link, a:visited, 

strong, b {

    color: #000000 !important; 

    text-decoration: none !important;

}



/* Trạng thái Hover: Khi rê chuột vào thẻ a, ép tất cả thành phần con đổi màu */

a:hover, 

a:hover *, 

aside a:hover, 

aside a:hover span, 

aside a:hover strong,

main a:hover,

main a:hover span {

  color: #aa8222 !important; 

  transition: color 0.2s ease;

}



h1 { font-size: 26px !important; }

h2 { font-size: 20px !important; }

h3 { font-size: 18px !important; }



/* ===== 8. FIX GỌN MENU XỔ CẤP 1 & CẤP 2 ===== */

.ez-free-box,

.ez-free-sub{

  padding:0 !important;

  margin:0 !important;

  height:auto !important;

  min-width:0 !important;

}



.ez-free-box{ width:280px !important; }

.ez-free-sub{ width:550px !important; }



.ez-free-row{

  padding:0 !important;

  margin:0 !important;

  height:auto !important;

  min-height:0 !important;

  line-height:0 !important;

}



.ez-free-box .ez-free-row > a,

.ez-free-sub a{

  display:block !important;

  height:28px !important;

  min-height:0 !important;

  max-height:28px !important;

  padding:4px 30px 4px 10px !important;

  margin:0 !important;

  font-size:14px !important;

  line-height:20px !important;

  font-weight:900 !important;

  white-space:nowrap !important;

  box-sizing:border-box !important;

}



/* Ưu tiên màu vàng cho hàng đầu tiên menu xổ */

.ez-free-box > .ez-free-row:first-child > a {

  color: #aa8222 !important;

}



.ez-free-box .ez-free-row::after{

  top:14px !important;

  transform:translateY(-50%) !important;

}



/* ===== FIX CẤP 1 MENU (OVERRIDE CUỐI) ===== */

.ez-free-box > .ez-free-row > a{

  height:32px !important;

  max-height:32px !important;

  padding:6px 32px 6px 12px !important;

  margin:0 !important;

  font-size:14px !important;

  line-height:20px !important;

  display:block !important;

  box-sizing:border-box !important;

  white-space:nowrap !important;

}



.ez-free-box > .ez-free-row{

  height:32px !important;

  min-height:32px !important;

  max-height:32px !important;

  line-height:0 !important;

  padding:0 !important;

  margin:0 !important;

}



.ez-free-box > .ez-free-row::after{

  top:16px !important;

  transform:translateY(-50%) !important;

}
