/*
Theme Name: Trợ thủ tài chính
Template: webmevn
Description: Giao diện tư vấn vay mua nhà (tái tạo mẫu taichinh02.webme.vn). Khối nội dung là phần tử trình dựng tc_*.
Version: 1.0.0
Text Domain: tctc
*/

/* Bổ sung nhỏ so với bộ CSS của mẫu (assets/css/site.css). */
.tc-drawer-open{overflow:hidden}
.tc-drawer-ov{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;transition:opacity .25s;z-index:9998}
.tc-drawer-open .tc-drawer-ov{opacity:1;visibility:visible}
#main-menu.mobile-sidebar{display:block;position:fixed;top:0;left:0;bottom:0;width:300px;max-width:86vw;background:#fff;z-index:9999;transform:translateX(-102%);transition:transform .28s ease;overflow-y:auto;box-shadow:6px 0 30px rgba(0,0,0,.18)}
.tc-drawer-open #main-menu.mobile-sidebar{transform:none}
#main-menu .sidebar-menu{padding:18px 18px 28px}
#main-menu .logo-custom img{max-height:44px;width:auto;margin-bottom:14px}
#main-menu .searchform .flex-row{display:flex;gap:6px}
#main-menu .nav-sidebar{list-style:none;margin:14px 0 0;padding:0}
#main-menu .nav-sidebar>li{margin:0;border-top:1px solid #ececec}
#main-menu .nav-sidebar>li>a{display:block;padding:12px 2px;color:#14261f;font-weight:600;text-transform:none}
#main-menu .nav-sidebar .children{list-style:none;margin:0 0 8px 14px;padding:0}
#main-menu .nav-sidebar .children a{display:block;padding:7px 2px;font-size:14px;color:#4b5563}
.tc-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.tc-fab-hide{display:none!important}
[data-animate].is-in{opacity:1!important;transition:opacity .7s ease-in!important}
.wm-fab.is-open .wm-fab__list{display:flex}

/* Khoảng đệm + nền từng khối (mẫu đặt riêng cho từng khối bằng style nội tuyến; ở đây gom theo lớp) */
.section.mf-sec{padding-top:37px;padding-bottom:37px}
@media (min-width:550px){.section.mf-sec{padding-top:46px;padding-bottom:46px}}
@media (min-width:850px){.section.mf-sec{padding-top:64px;padding-bottom:64px}}
.section.mf-sec.mf-nen{background-color:rgb(241,248,245)}
.section.mf-sec.mf-db-sec{background-color:rgb(241,248,245)}
.section.mf-sec.mf-cta{background-color:rgb(6,95,70)}
.section.mf-hero,.section.mf-strip,.mf-hero + .section.mf-sec.mf-noi{padding-top:0;padding-bottom:0}
.section.mf-strip{background-color:#065F46}
.section.mf-ph{padding-top:48px;padding-bottom:48px;background-color:#F1F8F5}
.section.rv-sec{padding-top:72px;padding-bottom:72px;background-color:#fff}
.section.dk-ph{padding-top:30px;padding-bottom:30px;background-color:rgb(241,248,245)}
.section.dk-sec{padding-top:30px;padding-bottom:30px}
.section.mf-trang-dau{padding-top:44px;padding-bottom:44px;background-color:#F1F8F5}
.section.mf-trang{padding-top:56px;padding-bottom:56px;background-color:#fff}
/* Banner trang chủ */
.mf-hero__bn{padding-top:560px}
@media (min-width:550px){.mf-hero__bn{padding-top:600px}}
.mf-hero__bn .overlay{background-color:rgba(6,40,30,.5)}
.mf-hero__bn .banner-bg img{object-position:65% 50%}
.mf-hero__tb{width:92%}
@media (min-width:550px){.mf-hero__tb{width:70%}}
@media (min-width:850px){.mf-hero__tb{width:46%}}
html:not(.tc-js) [data-animate]{opacity:1!important}
@media (prefers-reduced-motion:reduce){[data-animate]{opacity:1!important;transition:none!important}}

/* Hộp thông báo cookie (mã của theme cha, dùng lớp Tailwind nên cần CSS riêng ở đây) */
#hdnt-cookie{position:fixed;z-index:65;left:20px;bottom:20px;max-width:384px;background:#fff;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.2);padding:16px;color:#4b5563;font-size:13px;line-height:1.5}
#hdnt-cookie.hidden{display:none}
#hdnt-cookie p{margin:0}
#hdnt-cookie a{color:#065f46;font-weight:600;text-decoration:underline}
#hdnt-cookie [data-cookie-accept],#hdnt-cookie [data-cookie-save]{height:36px;padding:0 20px;border-radius:999px;border:0;background:#f59e0b;color:#fff;font-size:13px;font-weight:600;cursor:pointer}
@media (max-width:640px){#hdnt-cookie{left:12px;right:12px;bottom:12px;max-width:none}}

/* Banner trang chủ: chiều cao theo nội dung (không còn cố định) để chữ dài không đè lên dải bên dưới */
html body .mf-hero__bn{padding-top:0;min-height:520px;display:flex;align-items:center}
@media (min-width:550px){html body .mf-hero__bn{padding-top:0;min-height:560px}}
html body .mf-hero__bn .banner-layers.container{position:relative!important;inset:auto!important;z-index:2;height:auto!important;padding:56px 0!important}
html body .mf-hero__bn .mf-hero__tb.text-box{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important;margin:0!important}

/* Đầu trang: menu nhiều mục nên bớt hotline/nút ở khổ vừa để không bị tràn */
@media (max-width:1499px){html body .header-nav li.html_top_right_text{display:none}}
@media (max-width:1199px){html body .header-nav li.header-button-1{display:none}html body .header-main .nav>li{margin:0 2px}html body .header-main .nav-top-link{font-size:14px;padding:0 8px}}
html body .row-collapse > .col .mf-hero__bn .banner-layers.container{padding:72px 0!important;height:auto!important}
@media (max-width:1499px){html body .header-nav li.html_top_right_text{display:none!important}}
@media (max-width:1199px){html body .header-nav li.header-button-1{display:none!important}}
@media (max-width:1499px){html body #header .header-wrapper .header-main .header-nav-main > li.html.html_top_right_text{display:none!important}}
@media (max-width:1199px){html body #header .header-wrapper .header-main .header-nav-main > li.html.header-button-1{display:none!important}}

/* Khối "nổi" chỉ đè lên banner khi nằm ngay dưới banner; ở chỗ khác thì là thẻ trắng bình thường */
html body .section.mf-noi{margin-top:0}
html body .mf-hero + .section.mf-noi{margin-top:-90px}

/* Dải cuối chân trang trên điện thoại/máy tính bảng: xếp dọc, căn giữa, không bóp hẹp */
@media (max-width:849px){
html body .absolute-footer .footer-primary,html body .absolute-footer .footer-secondary{float:none!important;width:100%!important;text-align:center!important;display:block}
html body .absolute-footer .footer-secondary{margin-top:14px}
html body .absolute-footer .footer-text{display:flex;flex-direction:column;align-items:center;gap:12px}
html body .absolute-footer .kdf-pay{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
html body .absolute-footer .lhd-ssl{display:inline-flex;white-space:nowrap}
html body .absolute-footer .copyright-footer{display:block;text-align:center}
}
@media (max-width:849px){
html body .absolute-footer > .container{display:flex!important;flex-direction:column!important;align-items:center}
html body .absolute-footer .footer-primary{order:2;margin:12px 0 0!important;padding:0!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important}
html body .absolute-footer .footer-secondary{order:1;margin:0!important;padding:0!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important}
}

/* ===== Unslop: bỏ các dấu hiệu "do AI dựng" (xem ghi chú ở cuối file) ===== */
:root{--tc-ease:cubic-bezier(.22,1,.36,1);--tc-line:rgba(20,38,31,.1);--tc-paper:#f5f3ee}
/* Chữ: tiêu đề lớn dùng serif Newsreader, còn lại một họ Source Sans 3; chữ thường, không in hoa, không giãn chữ */
html body .mf-hero__h h1,html body .banner-inner .banner-layers.container .banner-layer.mf-hero__tb .text-inner h1,html body .mf-ph__h h1,html body .mf-trang-h1 h1,html body .dk-h1 h1,html body .lhd-page-head__title,html body .entry-title,
html body .mf-h2 h2,html body .mf-rv .rv-h2 h2,html body .rv-h2 h2,html body .mf-noidung h2,html body .mf-cta .mf-h2 h2{font-family:"Newsreader",Georgia,serif!important;font-weight:500!important;text-transform:none!important;letter-spacing:-.015em!important}
html body .mf-hero__h h1,html body .banner-inner .banner-layers.container .banner-layer.mf-hero__tb .text-inner h1{font-size:56px!important;line-height:1.08!important;letter-spacing:-.02em!important}
html body .mf-h2 h2,html body .rv-h2 h2{font-size:40px;line-height:1.15}
html body .mf-ph__h h1,html body .mf-trang-h1 h1,html body .dk-h1 h1{font-size:44px;line-height:1.12}
html body .mf-noidung h2{font-size:26px;line-height:1.25}
@media (max-width:849px){html body .mf-hero__h h1,html body .banner-inner .banner-layers.container .banner-layer.mf-hero__tb .text-inner h1{font-size:40px!important}html body .mf-h2 h2,html body .rv-h2 h2{font-size:32px}html body .mf-ph__h h1,html body .mf-trang-h1 h1,html body .dk-h1 h1{font-size:34px}}
html body .mf-strip__fb h3,html body .mf-the__box h3,html body .mf-bang__nhom h3,html body .mf-buoc__the h3,html body .mf-doi__box h3,html body .mf-form__dau h3,html body .mf-tt .post-item .post-title,html body .dk-lh__tieu{text-transform:none!important;letter-spacing:0!important;font-weight:600!important}
html body .mf-the__box h3,html body .mf-doi__box h3,html body .mf-buoc__the h3,html body .mf-bang__nhom h3{font-size:19px}
/* Nhãn nhỏ phía trên tiêu đề: chữ thường, bỏ chấm cam */
html body .mf-eb p,html body .rv-eb p,html body .dk-eyebrow p,html body .mf-trang-eb p,html body .dk-lh__nhan,html body .dk-sb__nhan,html body .mf-ben .mf-ben__nhan,html body .lhd-entry-cats a,html body .lhd-share__label,html body .wm-toc__tieu,html body .footer-widgets .widget-title,html body th{text-transform:none!important;letter-spacing:.01em!important;font-size:14px!important;font-weight:600!important}
html body .mf-eb p,html body .rv-eb p,html body .dk-eyebrow p,html body .mf-trang-eb p{color:#065f46}
html body .mf-eb--sang p,html body .mf-eb.mf-eb--sang{color:rgba(255,255,255,.82)}
html body .mf-eb p::before,html body .rv-eb p::before,html body .mf-trang-eb p::before,html body .dk-eyebrow p::before,html body .mf-eb::before{display:none!important;content:none!important}
html body .mf-eb p{padding-left:0!important}
/* Nhãn "Tín chấp / Có tài sản": chữ nhẹ thay vì viên thuốc cam */
html body .mf-nhan{display:block;background:none!important;padding:0!important;border-radius:0!important;color:#92400e!important;text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:600!important}
/* Không có chuyển động lặp: bỏ nổi lơ lửng, vệt sáng quét, vòng sóng nút gọi */
html body .wm-float .text-box-content,html body .col.wm-float>.col-inner,html body .wm-float:not(.col):not(.text-box),html body .wm-shine::after,html body .wm-fab__btn::after,html body .dk-mcall::after,html body .wm-fab .wm-fab__item::before,html body .wm-fab .wm-fab__item::after{animation:none!important}
html body .wm-shine::after,html body .wm-fab__btn::after,html body .dk-mcall::after{display:none!important}
html body .box-image:hover::before,html body .post-item:hover .box-image::before,html body .img:hover .img-inner::before{animation:none!important;display:none!important}
html body .box:hover .box-image img,html body .has-hover:hover .image-cover img{transform:none!important}
/* Thẻ: viền mảnh trung tính thay cho bóng đổ xanh lớn, hover chỉ đổi màu viền */
html body .mf-the__box,html body .mf-bang__nhom,html body .mf-buoc__the,html body .mf-doi__box,html body .mf-db__form>.col-inner,html body .mf-tt .post-item .box,html body .mf-trang__nd>.col-inner,html body .dk-lh__phai .dk-book__the,html body .lhd-blog-archive .post-item .box{box-shadow:none!important;border:1px solid var(--tc-line)!important;transition:border-color .16s var(--tc-ease)}
html body .mf-the__box:hover,html body .lhd-blog-archive .post-item .box:hover{transform:none!important;box-shadow:none!important;border-color:rgba(6,95,70,.4)!important}
html body .mf-noi>.section-content{box-shadow:0 1px 2px rgba(0,0,0,.05),0 8px 24px rgba(0,0,0,.06)!important}
/* Nền khối xen kẽ: giấy ấm thay cho mảng xanh bạc hà */
.section.mf-sec.mf-nen,.section.mf-sec.mf-db-sec,.section.mf-ph,.section.dk-ph,.section.mf-trang-dau{background-color:var(--tc-paper)}
/* Con số thẳng hàng; bỏ sao đánh giá không có nguồn */
html body .wm-tg strong,html body .mf-bang__gia,html body .mf-buoc__so,html body .sh-hotline__so{font-variant-numeric:tabular-nums}
html body .rv__sao{display:none}
/* Chuyển màu đúng thuộc tính, một đường cong */
html body .button,html body .mf-btn{transition:background-color .16s var(--tc-ease),border-color .16s var(--tc-ease),color .16s var(--tc-ease)}
html body .button:active{transform:scale(.98)}
html body .row-collapse > .col .mf-hero__bn .banner-layers.container{position:relative!important;top:auto!important;bottom:auto!important;height:auto!important;min-height:0!important}
html body .row-collapse > .col .mf-hero__bn .mf-hero__tb.text-box{position:relative!important;top:auto!important;left:auto!important;transform:none!important}
html body .mf-hero__bn > .banner-inner.fill{position:relative!important;inset:auto!important;width:100%;min-height:inherit;display:flex;align-items:center}
html body .mf-hero__bn > .banner-inner.fill > .banner-bg.fill{position:absolute;inset:0}
html body .mf-hero__bn > .banner-inner.fill > .banner-layers.container{width:calc(100% - 32px)!important;max-width:1240px}
