/*
Theme Name: Tâm An Service – Bản 1
Theme URI: https://tamanservice.vn
Author: Tâm An Service
Description: Giao diện sửa chữa điện máy tại nhà TP.HCM. Trang chủ, 8 trang danh mục thiết bị, bài viết có biểu mẫu đặt lịch.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tamanservice
*/

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter','Be Vietnam Pro',system-ui,sans-serif;color:#2B343C;background:#fff;-webkit-font-smoothing:antialiased;line-height:1.5}
h1,h2,h3,.hd{font-family:'Be Vietnam Pro','Inter',system-ui,sans-serif}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.tas-wrap{max-width:1200px;margin:0 auto;padding-left:20px;padding-right:20px}

/* top bar */
.tas-topbar{background:#0B50C2;color:#fff;font-size:13px}
.tas-topbar-in{display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between;align-items:center;padding-top:9px;padding-bottom:9px}
.tas-topbar-in>strong{text-transform:uppercase;letter-spacing:.02em}
.tas-topbar-in>span{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:center}
.tas-topbar a{color:#fff}

/* header */
.tas-header{position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 2px 8px rgba(0,32,95,.14)}
.admin-bar .tas-header{top:32px}
.tas-header-in{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.tas-logo{display:flex;align-items:center;gap:10px}
.tas-logo-mark{width:44px;height:44px;border-radius:12px;background:#0B50C2;display:flex;align-items:center;justify-content:center}
.tas-logo-text{display:flex;flex-direction:column;line-height:1.1}
.tas-logo-text b{font-family:'Be Vietnam Pro',sans-serif;font-size:23px;font-weight:800;color:#0B50C2}
.tas-logo-text small{font-family:'Be Vietnam Pro',sans-serif;font-size:11px;font-weight:600;letter-spacing:.18em;color:#3B8BEB}
.tas-nav-wrap{flex:1 1 520px;min-width:0;max-width:640px}
.tas-header-right{display:flex;align-items:center;gap:10px;order:3}
.tas-burger{display:none;width:44px;height:44px;border:1px solid #C9D6E0;border-radius:10px;background:#fff;padding:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.tas-burger span{display:block;width:20px;height:2px;background:#0B50C2;border-radius:2px;transition:transform .2s,opacity .2s}
.tas-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.tas-burger.open span:nth-child(2){opacity:0}
.tas-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.tas-nav{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;font-size:12.5px;font-weight:600;text-transform:uppercase}
.tas-nav a{color:#1F2933}
.tas-nav a:hover,.tas-nav .current a,.tas-nav .current-menu-item a{color:#C24A28}
.tas-pill{height:38px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;font-weight:600;font-size:14px;border:1px solid #C24A28;color:#C24A28;background:#fff}
.tas-pill:hover{background:#C24A28;color:#fff}

/* buttons */
.tas-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 30px;border-radius:999px;font-weight:700;font-size:17px;min-height:48px}
.tas-btn.navy{background:#0B50C2;color:#fff}.tas-btn.navy:hover{background:#00205F}
.tas-btn.white{background:#fff;color:#00205F}.tas-btn.white:hover{background:#E8F1F5}

/* hero */
.tas-hero{background:linear-gradient(135deg,#0A64E0 0%,#00205F 100%)}
.tas-hero-in{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px}
.tas-hero-text{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:20px;color:#fff}
.tas-kicker{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.tas-hero h1{margin:0;font-size:54px;line-height:1.1;font-weight:800}
.tas-hero p{margin:0;font-size:19px;line-height:1.6;max-width:520px}
.tas-btns{display:flex;flex-wrap:wrap;gap:14px}

/* booking form */
.tas-form-box{background:#fff;border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:14px}
.tas-hero .tas-form-box{flex:1 1 360px;max-width:460px;min-width:0}
.tas-form-box h2{margin:0;font-size:22px;font-weight:700;color:#0B50C2}
.tas-form-box form{display:flex;flex-direction:column;gap:12px}
.tas-form-box label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.tas-form-box input[type=text],.tas-form-box input[type=tel],.tas-form-box select{height:44px;border:1px solid #B9C7D6;border-radius:8px;padding:0 14px;font-size:16px;width:100%;background:#fff;font-family:inherit}
.tas-submit{height:48px;border:0;border-radius:999px;font-size:16px;font-weight:700;font-family:'Be Vietnam Pro',sans-serif;background:#C24A28;color:#fff;cursor:pointer}
.tas-submit:hover{background:#A63C1F}
.tas-hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.tas-notice{margin:0;padding:10px 14px;border-radius:8px;font-size:14px}
.tas-notice.ok{background:#E5F4E4;color:#1F5C1E}.tas-notice.err{background:#FBEBEB;color:#8A1F1F}

/* intro + usp */
.tas-intro{max-width:860px;margin:0 auto;padding:48px 20px 28px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.tas-intro h2{margin:0;font-size:22px;line-height:1.4;font-weight:700;color:#0B50C2}
.tas-intro p{margin:0;font-size:16px;line-height:1.75;color:#3A444D}
.tas-usps{border-bottom:1px solid #E3EAF1}
.tas-usps-in{display:flex;flex-wrap:wrap;gap:22px;padding-top:8px;padding-bottom:36px}
.tas-usp{flex:1 1 230px;min-width:0;display:flex;align-items:center;gap:14px}
.tas-usp svg{flex:none}
.tas-usp h3{margin:0;font-size:17px;line-height:1.25;font-weight:600;color:#0B50C2;text-transform:uppercase}
.tas-usp span{display:block;font-size:14px;font-weight:500;color:#0B50C2;text-transform:uppercase;margin-top:3px}

/* blocks + headings */
.tas-block{padding-top:40px;padding-bottom:24px;display:flex;flex-direction:column;gap:30px}
.tas-heading{display:flex;align-items:center;gap:22px}
.tas-heading span{flex:1;height:1px;background:#B9C3CC}
.tas-heading h2{margin:0;font-size:24px;font-weight:500;color:#0B50C2;text-transform:uppercase;text-align:center}

/* cards */
.tas-grid{display:flex;flex-wrap:wrap;gap:22px}
.tas-card{flex:1 1 230px;min-width:0;background:#fff;box-shadow:0 1px 6px rgba(0,32,95,.18);display:flex;flex-direction:column;color:#2B343C}
.tas-card:hover{box-shadow:0 6px 18px rgba(0,32,95,.22)}
.tas-grid.three .tas-card{flex:1 1 300px;max-width:calc((100% - 44px) / 3)}
.tas-grid.four .tas-card{flex:1 1 230px;max-width:calc((100% - 66px) / 4)}
.tas-thumb{height:150px;background:#DDE9EF;display:flex;align-items:center;justify-content:center;font-size:13px;color:#3A444D;overflow:hidden}
.tas-thumb img{width:100%;height:100%;object-fit:cover}
.tas-thumb em,.tas-price-img em,.tas-hero-img.ph{font-style:normal}
.tas-card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px}
.tas-card-body h3{margin:0;font-size:16px;line-height:1.4;font-weight:600;color:#0B50C2}
.tas-rule{height:1px;width:36px;background:#9AA7B3}
.tas-excerpt{font-size:14px;line-height:1.6;color:#4A5560}
.tas-more{text-align:center;margin:0}
.tas-empty{color:#4A5560}
.navigation.pagination{display:flex;justify-content:center;margin-top:8px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.page-numbers{min-width:44px;height:44px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-weight:600;border:1px solid #B9C3CC;color:#0B50C2;background:#fff}
.page-numbers.current{background:#0B50C2;color:#fff;border-color:#0B50C2}
.screen-reader-text{position:absolute;left:-9999px}

/* title block */
.tas-title{background:#EAF3F7;border-bottom:1px solid #D5E3EA}
.tas-title .tas-wrap{padding-top:28px;padding-bottom:36px;display:flex;flex-direction:column;gap:14px}
.tas-crumb{font-size:14px;color:#4A5560}
.tas-crumb a{color:#0B50C2}.tas-crumb a:hover{text-decoration:underline}
.tas-title h1{margin:0;font-size:36px;line-height:1.25;font-weight:700;color:#0B50C2}
.tas-lead,.tas-lead p{margin:0;font-size:16px;line-height:1.75;color:#3A444D;max-width:820px}
.tas-meta{font-size:14px;color:#4A5560}

/* single */
.tas-single{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start;padding-top:40px;padding-bottom:56px}
.tas-art{flex:3 1 560px;min-width:0;font-size:17px;line-height:1.8;color:#2B343C}
.tas-art h2{font-size:24px;line-height:1.3;color:#0B50C2;margin:34px 0 10px}
.tas-art p{margin:0 0 16px}
.tas-art ul,.tas-art ol{margin:0 0 16px;padding-left:24px}
.tas-art li{margin-bottom:6px}
.tas-hero-img{margin-bottom:24px}
.tas-hero-img.ph{height:320px;background:#DDE9EF;display:flex;align-items:center;justify-content:center;font-size:14px;color:#3A444D}
.tas-postcta{margin-top:28px;padding:22px 24px;background:#EAF3F7;border-left:4px solid #0B50C2;display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between}
.tas-postcta>span{flex:1 1 280px;font-size:17px;line-height:1.6;color:#00205F;font-weight:600}
.tas-side{flex:1 1 300px;min-width:0;max-width:380px;display:flex;flex-direction:column;gap:24px}
.tas-side .tas-form-box{box-shadow:0 1px 6px rgba(0,32,95,.18)}
.tas-related{gap:4px}
.tas-related h2{margin:0 0 8px;font-size:19px}
.tas-related a{padding:12px 0;font-size:15px;line-height:1.45;font-weight:500;color:#0B50C2;border-top:1px solid #E3EAF1}
.tas-related a:hover{color:#C24A28}

/* cta band */
.tas-cta{background:linear-gradient(135deg,#0A64E0 0%,#00205F 100%);color:#fff;margin-top:24px}
.tas-cta-in{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between;padding-top:40px;padding-bottom:40px}
.tas-cta-in>div{flex:1 1 380px;min-width:0}
.tas-cta h2{margin:0 0 6px;font-size:28px;line-height:1.25;font-weight:800}
.tas-cta span{font-size:17px}

/* prices */
.tas-prices{background:#2B2B2B;color:#fff;padding:44px 0 52px}
.tas-prices h2{margin:0 0 10px;font-size:20px;font-weight:600;text-transform:uppercase}
.tas-prices-line{height:1px;background:#6B6B6B;margin-bottom:22px}
.tas-grid.four .tas-price{flex:1 1 230px;max-width:calc((100% - 66px) / 4);display:flex;flex-direction:column;gap:10px}
.tas-price-img{height:170px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;color:#3A444D}
.tas-price-cat{font-size:12px;color:#D4D8DC;text-transform:uppercase}
.tas-price-name{font-size:18px;font-weight:500}
.tas-price-val{font-size:16px;font-weight:700;color:#9CC2FF}
.tas-price-note{display:block;margin-top:22px;font-size:13px;color:#D4D8DC}

/* footer */
.tas-footer{background:linear-gradient(135deg,#0757C9 0%,#00205F 100%);color:#fff;margin-top:0}
.tas-footer-in{display:flex;flex-wrap:wrap;gap:32px 48px;padding-top:36px;padding-bottom:28px}
.tas-fcol{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.6}
.tas-fcol h3{margin:0;font-size:16px;font-weight:700;text-transform:uppercase}
.tas-frule{height:2px;width:36px;background:#fff;margin-bottom:4px}
.tas-disclaimer{font-size:13px;line-height:1.65}
.tas-fbar{background:#001F5C;font-size:13px}
.tas-fbar .tas-wrap{padding-top:12px;padding-bottom:12px}

/* floating */
.tas-float{position:fixed;left:14px;bottom:14px;z-index:50;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.tas-float a{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 22px;border-radius:24px;font-size:15px;font-weight:600;color:#fff}
.tas-zalo{background:linear-gradient(135deg,#1A8CFF 0%,#0043B8 100%)}.tas-zalo:hover{background:linear-gradient(135deg,#3FA0FF 0%,#0A55D6 100%)}
.tas-hot{background:linear-gradient(135deg,#FF9A3C 0%,#FF6A00 100%)}.tas-hot:hover{background:linear-gradient(135deg,#FFA94F 0%,#F25C00 100%)}
.tas-totop{position:fixed;right:16px;bottom:16px;z-index:50;width:42px;height:42px;border-radius:50%;border:2px solid #0B50C2;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center}

@media (max-width:900px){
	.tas-hero h1{font-size:40px}
	.tas-title h1{font-size:28px}
	.tas-grid.four .tas-card,.tas-grid.four .tas-price{max-width:calc((100% - 22px) / 2)}
	.tas-grid.three .tas-card{max-width:calc((100% - 22px) / 2)}
}
@media (max-width:560px){
	.tas-grid.three .tas-card,.tas-grid.four .tas-card,.tas-grid.four .tas-price{max-width:100%}
	.tas-heading h2{font-size:19px}
	.admin-bar .tas-header{top:46px}
}

/* ===== Điện thoại ===== */
@media (max-width:900px){
	.tas-topbar-in{justify-content:center;text-align:center;gap:4px 16px;padding-top:8px;padding-bottom:8px;font-size:12px}
	.tas-topbar-in>strong{width:100%;font-size:12.5px;letter-spacing:.01em}
	.tas-topbar-in>span{justify-content:center;gap:2px 14px}
	.tas-header-in{flex-wrap:nowrap;gap:10px;position:relative}
	.tas-logo{order:1;min-width:0}
	.tas-logo-mark{width:40px;height:40px}
	.tas-logo-text b{font-size:20px}
	.tas-logo-text small{font-size:10px}
	.tas-header-right{order:2;margin-left:auto}
	.tas-burger{display:inline-flex}
	.tas-pill{height:40px;padding:0 14px;font-size:13px;white-space:nowrap}
	.tas-nav-wrap{display:none;position:absolute;left:0;right:0;top:100%;max-width:none;flex:none;background:#fff;border-top:1px solid #E3EAF1;box-shadow:0 12px 24px rgba(0,32,95,.18);padding:10px 14px 16px;max-height:calc(100vh - 120px);overflow-y:auto}
	.tas-nav-wrap.open{display:block}
	.tas-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;justify-content:stretch;font-size:13.5px}
	.tas-nav li{display:block}
	.tas-nav a{display:flex;align-items:center;min-height:46px;padding:0 14px;background:#F3F8FB;border:1px solid #E1ECF2;border-radius:10px;color:#0B50C2}
	.tas-nav .current a,.tas-nav .current-menu-item a{background:#0B50C2;border-color:#0B50C2;color:#fff}
	.tas-hero-in{padding-top:32px;padding-bottom:32px;gap:28px}
	.tas-hero h1{font-size:36px}
	.tas-hero p{font-size:17px}
	.tas-btn{width:100%}
	.tas-btns{width:100%}
	.tas-form-box{padding:20px}
	.tas-block{padding-top:28px;gap:22px}
	.tas-footer{padding-bottom:64px}
	.tas-float{left:0;right:0;bottom:0;flex-direction:row;gap:0}
	.tas-float a{flex:1;border-radius:0;height:52px;padding:0 8px;font-size:14px}
	.tas-totop{bottom:64px;right:12px}
	.tas-art{font-size:16px}
	.tas-art h2{font-size:21px}
	.tas-single{padding-top:24px;gap:28px}
	.tas-side{max-width:none}
}
@media (max-width:380px){
	.tas-pill{padding:0 10px;font-size:12px}
	.tas-logo-text small{display:none}
}

/* ---- Header kiểu Thái Anh: thanh trên, logo, menu một hàng, tìm kiếm, nút hotline ---- */
.tas-social{display:inline-flex;gap:8px;align-items:center}
.tas-social a{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;color:#fff;opacity:.9}
.tas-social a:hover{opacity:1}
.tas-social b{font-size:13px;font-weight:800;line-height:1}
.tas-search-btn{width:40px;height:40px;border:0;background:transparent;color:#1F2933;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.tas-search-btn:hover{color:#C24A28;background:#F3F8FB}
.tas-search{display:none;background:#fff;border-top:1px solid #E3EAF1}
.tas-search.open{display:block}
.tas-search form{display:flex;gap:8px;padding:12px 0}
.tas-search input{flex:1;min-width:0;height:44px;border:1px solid #C9D6E0;border-radius:999px;padding:0 18px;font:inherit;font-size:15px}
.tas-search button{height:44px;padding:0 24px;border:0;border-radius:999px;background:#0B50C2;color:#fff;font:inherit;font-weight:600;cursor:pointer}
@media (min-width:901px){
	.tas-header-in{flex-wrap:nowrap;gap:18px;padding-top:14px;padding-bottom:14px}
	.tas-logo{flex:none}
	.tas-nav-wrap{flex:1 1 0;min-width:0;max-width:none}
	.tas-nav{flex-wrap:wrap;justify-content:center;font-size:13px;gap:8px 16px}
	.tas-header-right{flex:none;gap:6px}
}
@media (min-width:1260px){
	.tas-topbar .tas-wrap,.tas-header .tas-wrap{max-width:1320px}
	.tas-nav{font-size:13.5px;gap:6px 18px}
	.tas-nav a{white-space:nowrap}
	.tas-logo-mark{width:52px;height:52px}
	.tas-logo-text b{font-size:26px}
}
@media (max-width:900px){
	.tas-social{display:none}
	.tas-search-btn{width:44px;height:44px;border:1px solid #C9D6E0;border-radius:10px}
	.tas-header-right{gap:8px}
}

/* menu con (Linh kiện, Bảo hành) */
.tas-has-sub{position:relative}
.tas-has-sub>a:after{content:"";display:inline-block;width:6px;height:6px;margin-left:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.tas-sub{list-style:none;margin:0;padding:8px 0;position:absolute;left:-14px;top:100%;min-width:210px;background:#fff;border:1px solid #E3EAF1;border-radius:10px;box-shadow:0 12px 24px rgba(0,32,95,.18);display:none;z-index:50;text-transform:none;font-size:14px;font-weight:500}
.tas-sub a{display:block;padding:9px 18px;white-space:nowrap}
.tas-sub a:hover{background:#F3F8FB}
.tas-has-sub:hover>.tas-sub,.tas-has-sub:focus-within>.tas-sub{display:block}
@media (max-width:900px){
	.tas-has-sub{grid-column:1/-1}
	.tas-has-sub>a:after{display:none}
	.tas-sub{display:grid;grid-template-columns:1fr 1fr;gap:6px;position:static;border:0;box-shadow:none;padding:6px 0 0;min-width:0;background:transparent}
	.tas-sub a{min-height:40px;display:flex;align-items:center;padding:0 12px;background:#fff;border:1px solid #E1ECF2;border-radius:10px;font-size:13px;white-space:normal}
}

/* màu chủ đạo #0B50C2: nút trong vùng nền xanh */
.tas-hero .tas-btn.navy,.tas-cta .tas-btn.navy{background:#FF7A1A;color:#fff}
.tas-hero .tas-btn.navy:hover,.tas-cta .tas-btn.navy:hover{background:#E8650A}
.tas-hero .tas-btn.white,.tas-cta .tas-btn.white{color:#0B50C2}

/* logo ảnh */
.tas-logo{width:198px;height:60px;flex:0 0 auto;background:url(/wp-content/uploads/2026/10/logo-tam-an-ngang.webp) left center/contain no-repeat}
.tas-logo-mark,.tas-logo-text{display:none!important}
@media(max-width:900px){.tas-logo{width:130px;height:40px}}


/* nut lien he noi: hieu ung */
.tas-float a{position:relative;overflow:hidden;box-shadow:0 6px 18px rgba(0,32,95,.35);transition:transform .2s ease,box-shadow .2s ease;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.tas-float a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,32,95,.45)}
.tas-float a::before{display:inline-block;margin-right:8px;font-size:16px;line-height:1}
.tas-zalo::before{content:"\1F4AC"}
.tas-hot::before{content:"\1F4DE";animation:tasRing 1.6s ease-in-out infinite;transform-origin:50% 60%}
.tas-float a::after{content:"";position:absolute;top:0;left:-70%;width:50%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:tasShine 3.2s ease-in-out infinite}
.tas-hot::after{animation-delay:1.1s}
.tas-hot{animation:tasPulse 2s ease-out infinite}
@keyframes tasShine{0%{left:-70%}55%,100%{left:130%}}
@keyframes tasRing{0%,60%,100%{transform:rotate(0)}10%{transform:rotate(-18deg)}20%{transform:rotate(16deg)}30%{transform:rotate(-14deg)}40%{transform:rotate(12deg)}50%{transform:rotate(-6deg)}}
@keyframes tasPulse{0%{box-shadow:0 6px 18px rgba(0,32,95,.35),0 0 0 0 rgba(255,122,26,.65)}70%{box-shadow:0 6px 18px rgba(0,32,95,.35),0 0 0 14px rgba(255,122,26,0)}100%{box-shadow:0 6px 18px rgba(0,32,95,.35),0 0 0 0 rgba(255,122,26,0)}}
@media (max-width:768px){.tas-float a{box-shadow:none}.tas-float a:hover{transform:none;box-shadow:none}.tas-hot{animation:tasPulseM 2s ease-out infinite}@keyframes tasPulseM{0%{box-shadow:inset 0 0 0 0 rgba(255,255,255,.55)}70%{box-shadow:inset 0 0 0 10px rgba(255,255,255,0)}100%{box-shadow:inset 0 0 0 0 rgba(255,255,255,0)}}}
@media (prefers-reduced-motion:reduce){.tas-float a,.tas-float a::before,.tas-float a::after,.tas-hot{animation:none!important}}


/* ---- Slider dau trang ---- */
.tas-slider{position:relative;overflow:hidden;background:#00205F;color:#fff}
.tas-sl-track{position:relative;height:clamp(380px,37.5vw,620px)}
.tas-sl-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility .9s}
.tas-sl-slide.is-on{opacity:1;visibility:visible;z-index:1}
.tas-sl-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;transform:scale(1.02);transition:transform 7s ease-out}
.tas-sl-slide.is-on img{transform:scale(1.09)}
.tas-sl-cap{position:absolute;inset:0;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,24,80,.55) 0%,rgba(0,24,80,.25) 45%,rgba(0,24,80,0) 70%)}
.tas-sl-cap .tas-wrap{width:100%}
.tas-sl-cap>.tas-wrap>*{max-width:560px;opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.tas-sl-slide.is-on .tas-sl-cap>.tas-wrap>*{opacity:1;transform:none}
.tas-sl-slide.is-on .tas-sl-cap>.tas-wrap>*:nth-child(2){transition-delay:.15s}
.tas-sl-slide.is-on .tas-sl-cap>.tas-wrap>*:nth-child(3){transition-delay:.3s}
.tas-sl-slide.is-on .tas-sl-cap>.tas-wrap>*:nth-child(4){transition-delay:.45s}
.tas-sl-cap h1,.tas-sl-cap h2{color:#fff;font-size:clamp(28px,4.4vw,56px);line-height:1.1;margin:8px 0 12px;text-shadow:0 2px 14px rgba(0,16,60,.45)}
.tas-sl-cap p{color:#fff;font-size:clamp(15px,1.5vw,19px);line-height:1.55;margin:0 0 20px;text-shadow:0 1px 8px rgba(0,16,60,.5)}
.tas-sl-cap .tas-btns{display:flex;flex-wrap:wrap;gap:12px}
.tas-sl-btn{position:absolute;top:50%;z-index:3;width:44px;height:44px;margin-top:-22px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;font-size:18px;cursor:pointer;backdrop-filter:blur(4px);transition:background .2s,transform .2s}
.tas-sl-btn:hover{background:rgba(255,255,255,.4);transform:scale(1.08)}
.tas-sl-btn.prev{left:16px}.tas-sl-btn.next{right:16px}
.tas-sl-dots{position:absolute;left:0;right:0;bottom:16px;z-index:3;display:flex;justify-content:center;gap:10px}
.tas-sl-dots button{width:11px;height:11px;padding:0;border:0;border-radius:6px;background:rgba(255,255,255,.5);cursor:pointer;transition:width .3s,background .3s}
.tas-sl-dots button.is-on{width:34px;background:#FF7A1A}
.tas-sl-bar{position:absolute;left:0;right:0;bottom:0;height:4px;z-index:3;background:rgba(255,255,255,.15)}
.tas-sl-bar i{display:block;height:100%;width:0;background:#FF7A1A}
.tas-slider.run .tas-sl-bar i{animation:tasBar 4s linear forwards}
@keyframes tasBar{from{width:0}to{width:100%}}
.tas-formband{background:linear-gradient(135deg,#0A64E0 0%,#00205F 100%);padding:28px 0 32px}
.tas-formband .tas-form-box{max-width:560px;margin:0 auto}
@media (max-width:768px){
.tas-sl-track{height:440px}
.tas-sl-slide img{object-position:70% bottom}
.tas-sl-cap{align-items:flex-start;padding-top:28px;background:linear-gradient(180deg,rgba(0,24,80,.75) 0%,rgba(0,24,80,.35) 55%,rgba(0,24,80,0) 80%)}
.tas-sl-btn{display:none}
}
@media (prefers-reduced-motion:reduce){.tas-sl-slide,.tas-sl-slide img,.tas-sl-cap>.tas-wrap>*{transition:none!important}.tas-slider.run .tas-sl-bar i{animation:none}}

.tas-slider .tas-btn.navy{background:#FF7A1A;color:#fff}
.tas-slider .tas-btn.navy:hover{background:#E8650A}
.tas-slider .tas-btn.white{background:#fff;color:#0B50C2}
.tas-formband .tas-form-box{box-shadow:0 12px 32px rgba(0,16,60,.35)}

.tas-sl-cap .tas-btn{flex:0 0 auto}
@media (max-width:900px){
.tas-sl-track{height:auto;display:grid}
.tas-sl-slide{position:relative;inset:auto;grid-area:1/1;display:flex;flex-direction:column;background:#00205F}
.tas-sl-slide img{position:relative;inset:auto;order:2;width:100%;height:230px;object-fit:cover;object-position:72% 50%}
.tas-sl-cap{position:relative;inset:auto;order:1;display:block;padding:26px 0 14px;background:none}
.tas-sl-cap>.tas-wrap>*{max-width:none}
.tas-sl-dots{bottom:12px}
}

.tas-sl-cap .tas-btn{width:auto;min-width:0}
@media (max-width:900px){.tas-sl-btn{display:none}.tas-sl-cap .tas-btn{padding-left:22px;padding-right:22px}}

/* slide chi anh: chu nam trong anh, chu HTML an cho SEO va doc man hinh */
.tas-sl-cap,.tas-slider .tas-sl-cap{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;background:none!important;border:0!important;inset:auto!important}
.tas-sl-slide img{object-position:left center}
.tas-sl-track{height:clamp(240px,37.5vw,620px)}
@media (max-width:900px){
.tas-sl-track{height:auto;display:grid}
.tas-sl-slide{display:block}
.tas-sl-slide img{height:clamp(230px,62vw,330px);order:0;object-position:12% center}
}

@media (max-width:900px){.tas-sl-slide img{object-position:left center}}

/* slide ty le 16:9 theo anh cua hang */
.tas-sl-track{height:auto;aspect-ratio:16/9;max-height:calc(100vh - 130px);min-height:220px}
.tas-sl-slide img{object-fit:cover;object-position:center center}
@media (max-width:900px){.tas-sl-track{display:block;aspect-ratio:16/9;max-height:none;min-height:0}.tas-sl-slide{position:absolute;inset:0;display:block}.tas-sl-slide img{position:absolute;inset:0;height:100%;order:0;object-position:center center}}

.tas-sl-slide img{transform:none!important;transition:none}
.tas-sl-slide.is-on img{transform:none!important}

.tas-slider,.tas-sl-track{width:100%}
.tas-sl-track{aspect-ratio:auto;height:min(56.25vw,calc(100vh - 130px));max-height:none}
.tas-sl-slide img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.tas-sl-track{aspect-ratio:16/9;height:auto}}

.tas-sl-track{height:auto;aspect-ratio:16/9;max-height:none}
.tas-sl-slide img{object-fit:cover;object-position:center top}

.tas-sl-track{aspect-ratio:auto;height:min(56.25vw,calc(100vh - 170px));min-height:260px;max-height:640px;background:#00205F}
.tas-sl-slide{overflow:hidden;background:#00205F}
.tas-sl-slide::before{content:"";position:absolute;inset:-30px;background:var(--bg) center/cover no-repeat;filter:blur(24px) brightness(.85);z-index:0}
.tas-sl-slide img{position:relative;z-index:1;object-fit:contain;object-position:center center;width:100%;height:100%}
.tas-sl-slide:nth-child(1){--bg:url(/wp-content/uploads/2026/10/tam-an-slide-cua-hang.webp)}
.tas-sl-slide:nth-child(2){--bg:url(/wp-content/uploads/2026/10/tam-an-slide169-tu-lanh-may-giat.webp)}
.tas-sl-slide:nth-child(3){--bg:url(/wp-content/uploads/2026/10/tam-an-slide169-bao-hanh.webp)}
@media (max-width:900px){.tas-sl-track{aspect-ratio:16/9;height:auto;max-height:none;min-height:0}}

.tas-sl-track{aspect-ratio:3/1;height:auto;max-height:none;min-height:0}
.tas-sl-slide:nth-child(1) img{object-fit:cover}
.tas-sl-slide:nth-child(1){--bg:url(https://tamanservice.com/wp-content/uploads/2026/10/8bae6217-75fb-40cb-9f4c-f82a01307ce4.png)}
@media (max-width:900px){.tas-sl-track{aspect-ratio:3/1}}

.tas-sl-slide img{object-fit:cover!important}

@media (max-width:768px){.tas-sl-track{aspect-ratio:2/1}.tas-sl-slide img{object-position:center center}}
@media (max-width:480px){.tas-sl-track{aspect-ratio:16/10}}

.tas-thumb{height:auto;aspect-ratio:2/1}

.entry-content table,.tas-content table,article table{width:100%;border-collapse:collapse;margin:16px 0;font-size:15px}
article th,article td{border:1px solid #D5E2F5;padding:10px 12px;text-align:left;vertical-align:top}
article thead th{background:#0B50C2;color:#fff}
article tbody tr:nth-child(even){background:#F2F7FF}
@media(max-width:768px){article table{display:block;overflow-x:auto;white-space:normal}}
.tas-toc{background:#F2F7FF;border:1px solid #D5E2F5;border-radius:10px;padding:14px 18px;margin:18px 0}
.tas-toc p{margin:0 0 6px}.tas-toc ul{margin:0;padding-left:20px}.tas-toc li{margin:3px 0}
