/* MyGPT footer */
footer.mg-ft{background:#071a43!important;color:#c7d4ea;font-size:15px;line-height:1.5;padding:0!important}
footer.mg-ft *{box-sizing:border-box}
footer.mg-ft a{color:#e2e8f0;text-decoration:none}
footer.mg-ft a:hover{color:#7ff0dc}
footer.mg-ft h4{margin:0 0 10px;font-size:14px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#7ff0dc}
footer.mg-ft h4 a{color:inherit}
footer.mg-ft .mg-ft-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto auto auto;gap:24px 30px;padding:34px 0 24px;text-align:left}
footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3){justify-self:end;text-align:right}
footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) a,footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) h4{white-space:nowrap}
footer.mg-ft .mg-ft-name{font-size:20px;font-weight:700;color:#fff;line-height:1.3;margin:0 0 8px}
footer.mg-ft .mg-ft-tag{margin:0 0 14px;color:#9fb6d9;font-size:14.5px}
footer.mg-ft dl{margin:0;padding:0}
footer.mg-ft dl>div{display:flex;align-items:flex-start;gap:10px;padding:5px 0;border-top:1px solid rgba(255,255,255,.08)}
footer.mg-ft dl>div:first-child{border-top:0}
footer.mg-ft dt{flex:0 0 20px;margin:0;padding:0;color:#7ff0dc;line-height:0}
footer.mg-ft dt svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block;margin-top:3px}
footer.mg-ft dd{margin:0;padding:0;flex:1;min-width:0;color:#e2e8f0;line-height:1.5}
footer.mg-ft .mg-ft-links{list-style:none!important;margin:0!important;padding:0!important}
footer.mg-ft .mg-ft-links li{list-style:none!important;margin:0!important;padding:2px 0!important;line-height:1.5}
footer.mg-ft .mg-ft-links a{color:#c7d4ea}
footer.mg-ft .str-copywright-text{background:#051233!important;color:#8ea3c8;font-size:13.5px;padding:14px 15px!important;border-top:1px solid rgba(255,255,255,.07)}
footer.mg-ft .str-copywright-text a{color:#c7d4ea}

/* Máy tính bảng + di động: gọn, các nhóm link nằm ngang, không dàn dọc */
@media(max-width:991px){
 footer.mg-ft{font-size:14px}
 footer.mg-ft .container{padding:0 14px}
 footer.mg-ft .mg-ft-grid{grid-template-columns:1fr;gap:14px;padding:20px 0 12px}
 footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3){justify-self:stretch;text-align:left}
 footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) a,footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) h4{white-space:normal}
 footer.mg-ft .mg-ft-name{font-size:17px;margin-bottom:4px}
 footer.mg-ft .mg-ft-tag{font-size:13px;margin-bottom:8px}
 footer.mg-ft h4{font-size:12px;margin-bottom:4px}
 footer.mg-ft dl>div{padding:4px 0;gap:8px}
 footer.mg-ft dd{font-size:13.5px;line-height:1.4}
 footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) .mg-ft-links{display:flex!important;flex-wrap:wrap;gap:0 16px}
 footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) .mg-ft-links li{padding:2px 0!important}
 footer.mg-ft .mg-ft-grid>.mg-ft-col:nth-child(n+3) .mg-ft-links a{font-size:13.5px}
 footer.mg-ft .str-copywright-text{font-size:12px;padding:10px 14px!important}
}

/* Vô hiệu min-height/padding vùng chạm chung của theme: link trong footer tự co theo chữ */
footer.mg-ft .mg-ft-links a,footer.mg-ft dd a,footer.mg-ft h4 a,footer.mg-ft .str-copywright-text a{min-height:0!important;min-width:0!important;padding:0!important;display:inline-block!important;line-height:inherit}
@media(max-width:991px){
 footer.mg-ft .mg-ft-links li{padding:4px 0!important}
 footer.mg-ft dl>div{padding:5px 0}
}
