/* XayDungTT shared footer — scoped to the shared site footer control. */

.ptsc-footer,
.ptsc-footer *,
.ptsc-footer *::before,
.ptsc-footer *::after {
    box-sizing: border-box;
}

.img-footer-compa {
    width: 110px;
    height: 110px;
    margin-bottom: 15px;
}

.ptsc-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: 'HP Inter', 'Inter', Arial, sans-serif;
}

.ptsc-footer a {
    color: inherit;
    text-decoration: none;
}

.ptsc-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.ptsc-footer__main {
    position: relative;
    min-height: 310px;
    padding: 49px 0 24px;
    background: url(/Design/img/XayDungTT/home/decor-f.jpg) no-repeat;
    background-size: cover;
}

.ptsc-footer__container,
.ptsc-footer__bottom-container {
    position: relative;
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}

.ptsc-footer__container {
    display: grid;
    grid-template-columns: minmax(330px, 1.36fr) minmax(160px, .68fr) minmax(220px, .94fr) minmax(270px, 1.08fr);
    gap: 24px;
    align-items: start;
}

.ptsc-footer__brand,
.ptsc-footer__link-group,
.ptsc-footer__social-column {
    min-width: 0;
}

.ptsc-footer__company {
    max-width: 420px;
    margin: 0 0 15px;
    color: #fff;
    font-family: 'HP Bai Jamjuree', 'BaiJamjuree-SemiBold', Arial, sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.ptsc-footer__intro {
    max-width: 400px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.5;
}

.ptsc-footer__contact {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ptsc-footer__contact li {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.ptsc-footer__contact i {
    margin-top: 4px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.ptsc-footer__contact a:hover,
.ptsc-footer__contact a:focus,
.ptsc-footer__link-group a:hover,
.ptsc-footer__link-group a:focus {
    color: #ffd0b8;
}

.ptsc-footer__link-group h2 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 13px;
    color: #fff;
    font-family: 'HP Bai Jamjuree', 'BaiJamjuree-SemiBold', Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
}

.ptsc-footer__link-group h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 2px;
    background: rgba(255, 255, 255, .7);
    content: '';
}

.ptsc-footer__link-group ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ptsc-footer__link-group li {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.ptsc-footer__link-group li::before {
    margin-right: 8px;
    color: #ff7b3d;
    content: '›';
    font-weight: 700;
}

.ptsc-footer__facebook-card {
    position: relative;
    min-height: 227px;
    overflow: hidden;
    padding: 42px 18px 14px;
    border-radius: 9px;
    background: linear-gradient(155deg, #164e8e 0%, #0b3473 55%, #ff5a0c 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.ptsc-footer__facebook-cover {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

.ptsc-footer__facebook-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 46% 52%;
    transform: scale(1.08);
}

.ptsc-footer__facebook-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 40, 95, .08) 0%, rgba(4, 40, 95, .14) 40%, rgba(255, 90, 12, .94) 100%);
    content: '';
}

.ptsc-footer__facebook-brand {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
}

.ptsc-footer__facebook-logo {
    display: flex;
    width: 64px;
    height: 57px;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 5px;
    background: #fff;
}

.ptsc-footer__facebook-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ptsc-footer__fanpage {
    width: 100%;
    max-width: 329px;
    min-width: 0;
}

.ptsc-footer__fanpage iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 220px;
    border: 0;
    border-radius: 10px;
    background: #fff;
}

.ptsc-footer__fanpage .ptsc-footer__facebook-action {
    margin-top: 8px;
    display: none;
}

.ptsc-footer__facebook-name {
    color: #fff;
    font-family: 'HP Bai Jamjuree', 'BaiJamjuree-SemiBold', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    text-transform: uppercase;
}

.ptsc-footer__facebook-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    background: #fff;
    color: #285a9b !important;
    font-size: 13px;
    font-weight: 600;
}

.ptsc-footer__facebook-action:hover {
    background: #eff5ff;
}

.ptsc-footer__facebook-caption {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 11px;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
}

.ptsc-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 11px;
}

.ptsc-footer__social a {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: transform .18s ease, background-color .18s ease;
}

.ptsc-footer__social a:hover {
    transform: translateY(-2px);
    background: #ff5a0c;
}

.ptsc-footer__tags {
    position: relative;
    width: min(1280px, calc(100% - 80px));
    margin: 34px auto 0;
    padding: 22px 26px 25px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(255, 90, 12, .16), rgba(255, 255, 255, .05));
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.ptsc-footer__tags-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 17px;
    color: #fff;
    font-family: 'HP Bai Jamjuree', 'BaiJamjuree-SemiBold', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.ptsc-footer__tags-title i {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    background: #ff5a0c;
    color: #fff;
    font-size: 15px;
}

.ptsc-footer__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ptsc-footer__tags-list li {
    min-width: 0;
    margin: 0;
}

.ptsc-footer__tags-list a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.ptsc-footer__tags-list a i {
    color: #ffad80;
    font-size: 12px;
    transition: color .22s ease, transform .22s ease;
}

.ptsc-footer__tags-list a:hover,
.ptsc-footer__tags-list a:focus-visible {
    border-color: #ff8a50;
    background: #ff5a0c;
    box-shadow: 0 7px 18px rgba(255, 90, 12, .28);
    transform: translateY(-3px);
}

.ptsc-footer__tags-list a:hover i,
.ptsc-footer__tags-list a:focus-visible i {
    color: #fff;
    transform: rotate(-15deg);
}

.ptsc-footer__bottom {
    display: flex;
    min-height: 41px;
    align-items: center;
    background: #ff5a0c;
    color: #fff;
}

.ptsc-footer__bottom-container {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}

.ptsc-footer__bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .ptsc-footer__main {
        padding-top: 40px;
    }
    .ptsc-footer__container {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        gap: 32px 42px;
    }
    .ptsc-footer__social-column {
        grid-column: 1 / -1;
    }
    .ptsc-footer__facebook-card {
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .ptsc-footer__container,
    .ptsc-footer__bottom-container,
    .ptsc-footer__tags {
        width: min(100% - 36px, 620px);
    }
    .ptsc-footer__main {
        padding: 36px 0 30px;
    }
    .ptsc-footer__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
    }
    .ptsc-footer__company {
        margin-bottom: 13px;
        font-size: 18px;
        color: #FF5A0C;
    }
    .ptsc-footer__link-group h2 {
        margin-bottom: 10px;
        font-size: 15px;
    }
    .ptsc-footer__link-group h2::after {
        bottom: 5px;
        width: 52px;
    }
    .ptsc-footer__link-group ul {
        gap: 3px 6px;
        display: block;
    }
    .ptsc-footer__fanpage {
        width: 100%;
        max-width: none;
    }
    .ptsc-footer__link-group li {
        font-size: 13px;
    }
    .ptsc-footer__social-column {
        grid-column: auto;
        width: 100%;
    }
    .ptsc-footer__facebook-card {
        width: 100%;
        max-width: none;
    }
    .ptsc-footer__link-group li::before {
        margin-right: 4px;
    }
    .ptsc-footer__bottom {
        padding: 9px 0;
    }
    .ptsc-footer__bottom-container {
        font-size: 14px;
        text-align: center;
        line-height: 1.5;
    }
    .ptsc-footer__credit {
        display: block;
        white-space: nowrap;
    }
    .ptsc-footer__tags {
        margin-top: 27px;
        padding: 18px 16px 20px;
        border-radius: 15px;
    }
    .ptsc-footer__tags-title {
        margin-bottom: 14px;
        font-size: 16px;
    }
    .ptsc-footer__tags-list {
        gap: 8px;
    }
    .ptsc-footer__tags-list a {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ptsc-footer *,
    .ptsc-footer *::before,
    .ptsc-footer *::after {
        transition-duration: .01ms !important;
    }
}

@media (max-width: 375px) {
    .ptsc-footer__company {
        margin-bottom: 13px;
        font-size: 15px;
    }
    .ptsc-footer__bottom-container {
        font-size: 13px;
        text-align: center;
        line-height: 1.5;
    }
    .ptsc-footer__link-group li {
        font-size: 15px;
        display: flex;
    }
}
