/* Footer của Trường Đại học Chính trị. Các quy tắc chỉ áp dụng cuối trang. */
#footer.university-footer {
    min-height: 0;
    padding: 0 5px;
    border: 0;
    background: none;
    color: #fff;
    text-align: left;
}
#footer.university-footer > .wraper {
    border-top: 4px solid #d9b66f;
    background: linear-gradient(115deg, #760f21, #97152a);
}
#footer .ct-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(210px, 1fr);
    gap: 32px;
    width: 100%;
    padding: 25px 28px 26px;
}
#footer .ct-footer-grid::before,
#footer .ct-footer-grid::after,
.ct-footer-toolbar .container::before,
.ct-footer-toolbar .container::after { display: none; content: none; }
#footer .ct-footer-information { min-width: 0; }
#footer .ct-footer-heading { display: flex; align-items: center; gap: 14px; }
#footer .ct-footer-emblem {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
}
#footer .ct-footer-emblem img { display: block; width: 52px; height: 52px; object-fit: contain; }
#footer .ct-footer-eyebrow {
    margin: 0 0 4px;
    color: #efd69f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
}
#footer .ct-footer-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}
#footer .ct-footer-details {
    padding-left: 66px;
    margin-top: 13px;
    color: #fff0f0;
    font-size: 12px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}
#footer .ct-footer-details > br:last-child,
#footer .ct-footer-details > br:nth-last-child(2) { display: none; }
#footer .ct-footer-details a { color: #fff0f0; text-decoration: underline; }
#footer .ct-footer-links {
    padding: 4px 0 0 28px;
    border-left: 1px solid rgba(255, 255, 255, .22);
}
#footer .ct-footer-links h3 {
    margin: 0 0 15px;
    color: #efd69f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 1.5;
    text-transform: uppercase;
}
#footer .ct-footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}
#footer .ct-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}
#footer .ct-footer-links a .fa { color: #e9c67e; }
#footer .ct-footer-links a:hover { color: #ffe3a5; text-decoration: underline; }
#footer a:focus-visible,
.ct-footer-toolbar a:focus-visible { outline: 2px solid #e9c67e; outline-offset: 4px; }
.footerNav2.ct-footer-toolbar {
    padding: 0 5px 16px;
    background: none;
    color: #74414a;
}
.ct-footer-toolbar > .wraper { background: #faf5ef; border-bottom: 2px solid #8b1429; }
.ct-footer-toolbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 18px;
    width: 100%;
    min-height: 52px;
    padding: 8px 28px;
}
.ct-footer-preference { display: flex; align-items: center; gap: 13px; }
.ct-footer-label { color: #72525a; font-size: 11px; }
.ct-footer-toolbar .theme-change { display: flex; gap: 5px; float: none; height: auto; margin: 0; }
.ct-footer-toolbar .theme-change a,
.ct-footer-toolbar .theme-change span {
    width: 29px;
    height: 29px;
    padding: 0;
    margin: 0;
    border: 1px solid #decbd0;
    border-radius: 6px;
    background: transparent;
    color: #8b1429;
}
.ct-footer-toolbar .theme-change span,
.ct-footer-toolbar .theme-change a:hover {
    border-color: #8b1429;
    background: #8b1429;
    color: #fff;
}
.ct-footer-toolbar .bttop { float: none; width: auto; height: auto; margin: 0 0 0 auto; }
.ct-footer-toolbar .bttop a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #decbd0;
    border-radius: 6px;
    background: transparent;
    color: #8b1429;
    font-size: 11px;
    text-decoration: none;
}
.ct-footer-toolbar .bttop a .fa { position: static; transform: none; font-size: 17px; }
.ct-footer-toolbar .bttop a:hover { background: #8b1429; color: #fff; }
@media (max-width: 700px) {
    #footer .ct-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 23px 22px; }
    #footer .ct-footer-heading h2 { font-size: 18px; }
    #footer .ct-footer-details { padding-left: 0; }
    #footer .ct-footer-links { padding: 19px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
    #footer .ct-footer-links h3 { margin-bottom: 12px; }
    #footer .ct-footer-links ul { gap: 12px 14px; }
    .ct-footer-toolbar .container { padding: 10px 22px; }
}
@media (max-width: 360px) {
    #footer .ct-footer-grid { padding-left: 16px; padding-right: 16px; }
    #footer .ct-footer-heading { gap: 10px; }
    #footer .ct-footer-heading h2 { font-size: 16px; }
    .ct-footer-toolbar .container { padding-left: 16px; padding-right: 16px; }
    .ct-footer-preference { gap: 8px; }
    .ct-footer-toolbar .bttop a { padding: 0 7px; }
}
