/* ThungPhim.tv - Theme PMC customizations v1.0.0 */

/* Header / logo / app menu */
#header .thungphim-header-inner{display:flex;align-items:center;min-height:70px;gap:0}
#header #logo.thungphim-logo{float:none;flex:0 0 190px;width:190px;max-width:190px;min-width:0;height:70px;display:flex;align-items:center}
#header #logo.thungphim-logo>a{display:flex;align-items:center;height:70px;max-width:100%;color:#fff;font-weight:700;font-size:20px;white-space:nowrap;overflow:hidden}
#header #logo.thungphim-logo img{display:block!important;width:auto!important;max-width:175px!important;padding:0!important;object-fit:contain}
#header #main-menu{float:none;display:flex;align-items:center;flex:1 1 auto;min-width:0;height:70px;line-height:70px;margin:0;padding:0;white-space:nowrap}
#header #main-menu>li{float:none;flex:0 0 auto;height:70px}
#header #main-menu>li>a{line-height:70px;padding:0 10px}
#header #main-menu .thungphim-app-menu>a{color:#ff9601;font-weight:500}
#header .form-search{float:none;flex:0 0 255px;width:255px;min-width:210px;margin:14px 0 14px 14px}
#header .form-search input{padding-right:28px;color:#fff}

.thungphim-mobile-logo img{display:block;width:auto;max-width:150px;max-height:42px;object-fit:contain}
#menu-mobile .thungphim-app-menu-mobile>a{color:#ff9601;font-weight:700}

/* Footer */
.thungphim-footer{margin-top:48px;background:#0c0c0c;border-top:1px solid #282828;color:#949494;font-family:Roboto,Arial,Tahoma,sans-serif}
.thungphim-footer .container{padding-top:42px;padding-bottom:24px}
.thungphim-footer-grid{display:grid;grid-template-columns:minmax(280px,1.8fr) repeat(3,minmax(150px,1fr));gap:42px}
.thungphim-footer-brand{max-width:450px}
.thungphim-footer-logo{display:inline-flex;align-items:center;min-height:42px;margin-bottom:18px;color:#ff9601;font-size:24px;font-weight:700}
.thungphim-footer-logo:hover{color:#ffb13b}
.thungphim-footer-logo img{display:block;max-width:190px;max-height:48px;width:auto;height:auto;object-fit:contain}
.thungphim-footer-brand p{font-size:14px;line-height:1.75;color:#a8a8a8;margin:0 0 10px}
.thungphim-footer-brand p strong{color:#e8e8e8}
.thungphim-footer-brand .thungphim-footer-note{color:#737373}
.thungphim-footer-column h3{margin:0 0 17px;padding:0;color:#f1f1f1;font-size:15px;line-height:1.4;font-weight:700;text-transform:uppercase;letter-spacing:.35px}
.thungphim-footer-column ul{margin:0;padding:0}
.thungphim-footer-column li{margin:0 0 10px;padding:0}
.thungphim-footer-column a{display:inline-block;color:#8d8d8d;font-size:14px;line-height:1.45;transition:color .2s ease,transform .2s ease}
.thungphim-footer-column a:hover{color:#ff9601;transform:translateX(2px)}
.thungphim-footer-column .thungphim-footer-app{color:#ff9601;font-weight:700}
.thungphim-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding-top:20px;border-top:1px solid #242424;color:#676767;font-size:12px;line-height:1.65}
.thungphim-footer-bottom p{margin:0;max-width:900px}
.thungphim-footer-bottom a{flex:0 0 auto;color:#9b9b9b;font-weight:700}
.thungphim-footer-bottom a:hover{color:#ff9601}

@media (max-width:1280px){
    #header #logo.thungphim-logo{flex-basis:165px;width:165px;max-width:165px}
    #header #logo.thungphim-logo img{max-width:155px!important}
    #header #main-menu>li>a{padding:0 7px;font-size:14px}
    #header .form-search{flex-basis:220px;width:220px;min-width:190px;margin-left:8px}
    .thungphim-footer-grid{gap:28px}
}

@media (max-width:1024px){
    .thungphim-footer-grid{grid-template-columns:1.6fr 1fr 1fr;gap:30px}
    .thungphim-footer-column:last-child{grid-column:2/4}
}

@media (max-width:991px){
    #header{display:none}
    .thungphim-footer{margin-top:32px}
    .thungphim-footer .container{padding-top:32px}
    .thungphim-footer-grid{grid-template-columns:1fr 1fr;gap:30px 22px}
    .thungphim-footer-column:last-child{grid-column:auto}
    .thungphim-footer-brand{grid-column:1/-1;max-width:none}
}

@media (max-width:600px){
    .thungphim-footer .container{padding-left:18px;padding-right:18px}
    .thungphim-footer-grid{grid-template-columns:1fr;gap:26px}
    .thungphim-footer-brand{grid-column:auto}
    .thungphim-footer-column h3{margin-bottom:12px}
    .thungphim-footer-column ul{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
    .thungphim-footer-bottom{display:block;margin-top:22px;padding-top:18px}
    .thungphim-footer-bottom a{display:inline-block;margin-top:8px}
}
