/*
Theme Name: ThangPro
Author: Trương Đình Hùng
Description: Chủ đề đánh giá nhà cái — hero 4, header 4, thẻ bài kiểu 1, danh sách kiểu 3, hệ lớp bem.
Version: 1.0.0
Text Domain: thangpro
*/

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:'Manrope', 'Segoe UI', sans-serif;background:#1b190e;color:#eaeae6;line-height:1.65;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:#efd439;text-decoration:none}
a:hover{color:#d145f7}
ul{list-style:none}
h1,h2,h3,h4{font-family:'Rajdhani', 'Impact', sans-serif;line-height:1.18;font-weight:700;letter-spacing:.01em}
.site-logo{max-height:48px;width:auto}
.screen-reader-text{position:absolute;left:-9999px}
.tedav-wrap{max-width:1180px;margin:0 auto;padding:0 18px}

.tedav-btn{display:inline-block;padding:12px 26px;border-radius:999px;font-weight:700;color:#1e1b0b;background:linear-gradient(120deg,#efd439,#2febee);box-shadow:0 6px 18px rgba(0,0,0,.22);transition:transform .18s ease,filter .18s ease;text-align:center}
.tedav-btn:hover{transform:translateY(-2px);filter:brightness(1.08);color:#1e1b0b}
.tedav-btn--sm{padding:8px 18px;font-size:14px}
.tedav-btn--lg{padding:15px 34px;font-size:17px}
.tedav-btn--ghost{background:transparent;color:#eaeae6;border:2px solid #efd439;box-shadow:none}
.tedav-chip{display:inline-block;margin:0 8px 0 0;padding:6px 15px;border:1px solid #494631;border-radius:999px;font-size:13px;color:#eaeae6;font-weight:600}
.tedav-chip:hover{border-color:#efd439;color:#efd439}
.tedav-link{color:#eaeae6;font-weight:600;font-size:14px}
.tedav-link:hover{color:#d145f7}

.tedav-masthead{background:#2a2719;border-bottom:1px solid #494631;position:sticky;top:0;z-index:60}
.tedav-masthead__row{display:flex;align-items:center;gap:18px;min-height:64px;flex-wrap:wrap}
.tedav-logo{display:inline-flex;align-items:center;gap:10px}
.tedav-logo__name{font-family:'Rajdhani', 'Impact', sans-serif;font-size:22px;color:#eaeae6}
.tedav-nav__list{display:flex;flex-wrap:wrap;gap:6px}
.tedav-nav__list li a{display:inline-block;padding:8px 14px;color:#eaeae6;font-weight:600;font-size:15px;border-radius:999px}
.tedav-nav__list li a:hover{background:#413b16;color:#efd439}
.tedav-burger{display:none;background:none;border:1px solid #494631;color:#eaeae6;font-size:20px;width:42px;height:42px;border-radius:14px;cursor:pointer}

.tedav-masthead--flip .tedav-masthead__side{order:1}
.tedav-masthead--flip .tedav-logo{order:2;margin:0 auto}
.tedav-masthead--flip .tedav-nav{order:3}
.tedav-masthead--flip .tedav-masthead__chips{order:4}

@media(max-width:960px){.tedav-nav{display:none;width:100%}.tedav-nav--open{display:block}.tedav-burger{display:inline-block}.tedav-masthead__row{padding:8px 0}}

.tedav-hero{position:relative;overflow:hidden;padding:70px 0;background:#1b190e}
.tedav-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.tedav-hero__shade{position:absolute;inset:0;background:linear-gradient(100deg,#1b190e 18%,transparent 78%)}
.tedav-hero__inner{position:relative;z-index:2;max-width:640px}
.tedav-hero__kicker{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#d145f7;margin-bottom:14px}
.tedav-hero h1{font-size:clamp(30px,4.6vw,52px);margin-bottom:14px;color:#eaeae6}
.tedav-hero h1 span{color:#efd439}
.tedav-hero__desc{color:#b4b2a7;font-size:17px;margin-bottom:22px}
.tedav-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.tedav-hero__trust{display:flex;gap:28px;flex-wrap:wrap}
.tedav-hero__trust li b{display:block;font-family:'Rajdhani', 'Impact', sans-serif;font-size:22px;color:#efd439}
.tedav-hero__trust li span{font-size:13px;color:#b4b2a7}

.tedav-hero__board{display:grid;grid-template-columns:1.4fr .8fr;gap:36px;align-items:center;position:relative;z-index:2}
.tedav-hero__side{background:#2a2719;border:1px solid #494631;border-radius:14px;padding:20px;display:grid;gap:14px}
.tedav-hero__sideitem{display:flex;align-items:baseline;gap:12px;border-bottom:1px dashed #494631;padding-bottom:10px}
.tedav-hero__sideitem:last-child{border-bottom:0;padding-bottom:0}
.tedav-hero__sideitem b{font-family:'Rajdhani', 'Impact', sans-serif;font-size:22px;color:#2febee}
.tedav-hero__sideitem span{font-size:13px;color:#b4b2a7}
@media(max-width:900px){.tedav-hero__board{grid-template-columns:1fr}}

.tedav-block{padding:52px 0}
.tedav-block--alt{background:#353222}
.tedav-block__head{text-align:center;max-width:720px;margin:0 auto 30px}
.tedav-block__head--side{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;text-align:left;max-width:none}
.tedav-block__head--side .tedav-block__sub{margin:0}
.tedav-block__title{font-size:clamp(24px,3vw,34px);margin-bottom:8px;color:#eaeae6}
.tedav-block__sub{color:#b4b2a7;margin-top:6px}

.tedav-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:22px}
.tedav-rows{display:grid;gap:18px}
.tedav-rows .tedav-card{display:grid;grid-template-columns:250px 1fr}
.tedav-rows--zebra .tedav-card:nth-child(even) .tedav-card__media{order:2}
@media(max-width:700px){.tedav-rows .tedav-card{grid-template-columns:1fr}}

.tedav-card{background:#2a2719;border:1px solid #494631;border-radius:14px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.tedav-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,0,0,.25)}
.tedav-card__media{display:block;position:relative;overflow:hidden}
.tedav-card__media img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .3s ease}
.tedav-card:hover .tedav-card__media img{transform:scale(1.045)}
.tedav-card__body{padding:16px 18px 18px}
.tedav-card__excerpt{color:#b4b2a7;font-size:14px;margin-bottom:10px}
.tedav-card__more{font-weight:700;font-size:14px;color:#efd439}

.tedav-card__cap{position:absolute;left:0;right:0;bottom:0;padding:30px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff;font-size:15px}

.tedav-pager{margin-top:30px;text-align:center}
.tedav-pager .page-numbers{display:inline-block;margin:0 4px;padding:8px 14px;border:1px solid #494631;border-radius:14px;color:#eaeae6;font-weight:600}
.tedav-pager .page-numbers.current{background:#efd439;border-color:#efd439;color:#1e1b0b}

.tedav-games{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tedav-games__item{background:#2a2719;border:1px solid #494631;border-radius:14px;padding:22px 16px;text-align:center}
.tedav-games__item img{width:64px;height:64px;object-fit:cover;border-radius:50%;margin:0 auto 12px}
.tedav-games__item h3{font-size:17px;margin-bottom:6px}
.tedav-games__item p{color:#b4b2a7;font-size:13px;margin-bottom:12px}
@media(max-width:900px){.tedav-games{grid-template-columns:repeat(2,1fr)}}

.tedav-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tedav-promo{background:#2a2719;border:1px solid #494631;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.tedav-promo__img{width:100%;height:150px;object-fit:cover}
.tedav-promo__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.tedav-promo__title{font-size:18px;color:#2febee}
.tedav-promo__body p{color:#b4b2a7;font-size:14px;flex:1}
@media(max-width:900px){.tedav-promos{grid-template-columns:1fr}}

.tedav-faq{display:grid;gap:14px;max-width:860px;margin:0 auto}
.tedav-faq__item{background:#2a2719;border:1px solid #494631;border-radius:14px;padding:18px 20px}
.tedav-faq__q{display:flex;align-items:center;gap:12px;font-size:16px;margin-bottom:8px}
.tedav-faq__num{flex:none;width:32px;height:32px;display:grid;place-items:center;background:#413b16;color:#efd439;font-family:'Rajdhani', 'Impact', sans-serif;border-radius:50%}
.tedav-faq__a{color:#b4b2a7;font-size:14px;padding-left:44px}

.tedav-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tedav-stats__item{background:#2a2719;border:1px solid #494631;border-radius:14px;padding:20px;text-align:center}
.tedav-stats__item b{display:block;font-family:'Rajdhani', 'Impact', sans-serif;font-size:30px;color:#efd439}
.tedav-stats__item span{font-size:13px;color:#b4b2a7}
@media(max-width:800px){.tedav-stats{grid-template-columns:repeat(2,1fr)}}

.tedav-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tedav-cats__tile{position:relative;display:block;border-radius:14px;overflow:hidden;border:1px solid #494631}
.tedav-cats__tile img{width:100%;height:150px;object-fit:cover}
.tedav-cats__cap{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.85));color:#fff}
.tedav-cats__cap b{display:block;font-size:16px}
.tedav-cats__cap span{font-size:12px;opacity:.85}
@media(max-width:900px){.tedav-cats{grid-template-columns:repeat(2,1fr)}}

.tedav-timeline{position:relative;max-width:760px;margin:0 auto;padding-left:26px;border-left:2px solid #494631}
.tedav-timeline__item{position:relative;padding:0 0 26px 18px}
.tedav-timeline__item:before{content:"";position:absolute;left:-33px;top:6px;width:12px;height:12px;border-radius:50%;background:#efd439;box-shadow:0 0 0 4px #413b16}
.tedav-timeline__year{display:inline-block;font-family:'Rajdhani', 'Impact', sans-serif;font-weight:700;color:#efd439;font-size:19px;margin-bottom:4px}
.tedav-timeline__item p{color:#b4b2a7;font-size:15px}

.tedav-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tedav-steps__item{background:#2a2719;border:1px solid #494631;border-radius:14px;padding:20px}
.tedav-steps__tag{display:inline-block;background:#413b16;color:#efd439;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:999px;margin-bottom:10px}
.tedav-steps__item h3{font-size:17px;margin-bottom:6px}
.tedav-steps__item p{color:#b4b2a7;font-size:14px}
.tedav-steps__cta{text-align:center;margin-top:24px}
@media(max-width:800px){.tedav-steps{grid-template-columns:1fr}}

.tedav-outro{max-width:820px;margin:0 auto;color:#b4b2a7;font-size:16px;text-align:center}

.tedav-footer{background:#121009;border-top:1px solid #494631;margin-top:40px;padding-top:44px}
.tedav-footer__cols{display:grid;gap:28px}
.tedav-footer__cols--c2{grid-template-columns:repeat(2,1fr)}
.tedav-footer__cols--c3{grid-template-columns:repeat(3,1fr)}
.tedav-footer__cols--c4{grid-template-columns:repeat(4,1fr)}
.tedav-footer__title{font-size:15px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;color:#eaeae6}
.tedav-footer__col ul li{margin-bottom:8px}
.tedav-footer__col ul li a{color:#b4b2a7;font-size:14px}
.tedav-footer__col ul li a:hover{color:#efd439}
.tedav-footer__col p{color:#b4b2a7;font-size:14px;margin-bottom:10px}
.tedav-footer__tags a{display:inline-block;margin:0 6px 8px 0;padding:4px 12px;border:1px solid #494631;border-radius:999px;color:#b4b2a7;font-size:12px}
.tedav-footer__ctarow{border-top:1px solid #494631;margin-top:34px;padding:16px 0;display:flex;justify-content:center}
.tedav-footer__ctarow .tedav-wrap{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
.tedav-footer__bottom{border-top:1px solid #494631;padding:22px 0;text-align:center}
.tedav-warn{max-width:760px;margin:14px auto;color:#b4b2a7;font-size:13px}
.tedav-copy{color:#b4b2a7;font-size:13px;margin-top:10px}
@media(max-width:800px){.tedav-footer__cols{grid-template-columns:1fr}}

.tedav-layout{display:grid;gap:30px;padding:36px 0;align-items:start}
.tedav-layout--side-r{grid-template-columns:minmax(0,1fr) 320px}
.tedav-layout--side-l{grid-template-columns:320px minmax(0,1fr)}
.tedav-layout--full{grid-template-columns:minmax(0,1fr)}
.tedav-main{min-width:0}
.tedav-main--full{max-width:820px;margin:0 auto;padding:36px 0}
@media(max-width:960px){.tedav-layout--side-r,.tedav-layout--side-l{grid-template-columns:1fr}}
.tedav-ah h1{font-size:clamp(26px,3.4vw,38px);margin-bottom:12px}
.tedav-ameta{display:flex;gap:16px;flex-wrap:wrap;color:#b4b2a7;font-size:13px;margin-bottom:18px}
.tedav-cover{margin-bottom:22px;border-radius:14px;overflow:hidden}
.tedav-abody{line-height:1.8}
.tedav-abody p{margin-bottom:16px}
.tedav-abody h2{font-size:24px;margin:26px 0 12px}
.tedav-abody h3{font-size:20px;margin:22px 0 10px}
.tedav-abody img{border-radius:14px}
.tedav-abody blockquote{border-left:4px solid #efd439;padding:10px 18px;background:#353222;border-radius:0 14px 14px 0;margin:18px 0}
.tedav-ctabox{margin:28px 0;padding:24px;background:#2a2719;border:1px solid #494631;border-left:5px solid #efd439;border-radius:14px;text-align:center}
.tedav-ctabox h3{margin-bottom:8px}
.tedav-ctabox p{color:#b4b2a7;margin-bottom:16px}
.tedav-postnav{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #494631;padding-top:18px;margin-top:8px}
.tedav-postnav a{color:#eaeae6;font-weight:600}
.tedav-postnav small{display:block;color:#b4b2a7;font-weight:400;font-size:12px}
.tedav-postnav__next{text-align:right}

.tedav-sidebar{display:grid;gap:20px;align-content:start}
.tedav-widget{background:#2a2719;border:1px solid #494631;border-radius:14px;padding:18px}
.tedav-wtitle{font-size:16px;margin-bottom:12px}
.tedav-widget ul li{margin-bottom:8px}
.tedav-widget ul li a{color:#b4b2a7;font-size:14px}
.tedav-widget ul li a:hover{color:#efd439}

.tedav-search{display:flex;gap:8px}
.tedav-search__input{flex:1;padding:10px 14px;border:1px solid #494631;border-radius:14px;background:#1b190e;color:#eaeae6;font-family:inherit}
.tedav-search__btn{padding:10px 20px}
.tedav-notfound{text-align:center;padding:40px 0 60px}
.tedav-notfound__code{font-size:90px;color:#efd439;font-family:'Rajdhani', 'Impact', sans-serif}
.tedav-notfound__msg{color:#b4b2a7;margin-bottom:18px}
.tedav-notfound .tedav-search{max-width:420px;margin:0 auto 18px}
