/* Center the remaining footer content alongside the desktop category menu. */
#ty-site-footer .ty-footer-content,
#ty-site-copyright .ty-footer-copyright-inner {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin-inline: auto;
    text-align: center;
}
#ty-site-footer .ty-footer-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    padding: 36px 16px 28px;
}
#ty-site-footer .ty-footer-sect {
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
}
#ty-site-footer .ty-footer-logo .ty-img-holder {
    width: min(250px, 100%);
    margin: 0 auto 16px;
}
#ty-site-footer .ty-footer-contact-item { margin-bottom: 8px; }
#ty-site-footer .ty-footer-contact-item a {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
}
#ty-site-footer .ty-footer-contact-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}
#ty-site-footer .ty-footer-social > div { margin-bottom: 24px; }
#ty-site-footer .ty-footer-social > div:last-child { margin-bottom: 0; }
#ty-site-footer .ty-footer-social-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
}
#ty-site-footer .ty-footer-social-list > p { flex-basis: 100%; }
#ty-site-footer .ty-footer-social-list > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}
#ty-site-footer .ty-footer-quick-list ul {
    justify-content: center;
    gap: 10px 16px;
}
#ty-site-copyright > .ty-row { display: block; }
#ty-site-copyright .ty-footer-copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
}
#ty-site-copyright .ty-footer-copyright-inner p { margin: 0; padding: 0; }
@media (min-width: 768px) {
    #ty-site-copyright > .ty-row { padding-right: 0; }
    #ty-site-footer .ty-footer-logo .ty-img-holder { margin-left: 0; }

    #ty-site-footer .ty-footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }
}
@media (max-width: 767px) {
    #ty-site-copyright .ty-footer-copyright-inner { flex-direction: column; }
    #ty-site-copyright .ty-footer-copyright-copy { flex-basis: auto; width: 100%; text-align: center; }
    #ty-site-copyright .ty-footer-legal-links { width: 100%; }
}

#ty-site-copyright .ty-footer-copyright-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
    text-align: center;
}
#ty-site-copyright .ty-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    max-width: 100%;
}
#ty-site-copyright .ty-footer-legal-links a { white-space: nowrap; }
@media (max-width: 767px) {
    #ty-site-copyright .ty-footer-copyright-copy { text-align: center; }
}


/* Two simple link columns, with the brand and social links alongside. */
#ty-site-footer .ty-footer-brand { grid-column: 1 / -1; min-width: 0; }
#ty-site-footer .ty-footer-nav { width: fit-content; max-width: 100%; min-width: 0; justify-self: center; text-align: left; }
#ty-site-footer .ty-footer-nav h2 {
    margin: 0 0 14px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}
#ty-site-footer .ty-footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#ty-site-footer .ty-footer-nav li { margin: 0; padding: 0; }
#ty-site-footer .ty-footer-nav a {
    display: inline-block;
    padding: 2px 0;
    color: #e5e5e5;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}
#ty-site-footer .ty-footer-nav a:hover,
#ty-site-footer .ty-footer-nav a:focus-visible {
    color: #cd6623;
    transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
    #ty-site-footer .ty-footer-nav a { transition: none; }
    #ty-site-footer .ty-footer-nav a:hover,
    #ty-site-footer .ty-footer-nav a:focus-visible { transform: none; }
}
@media (min-width: 768px) {
    #ty-site-footer .ty-footer-brand { grid-column: 1 / -1; }
    #ty-site-footer .ty-footer-social-list { justify-content: center; text-align: center; }
}


#ty-site-footer a,
#ty-site-footer a:hover,
#ty-site-footer a:focus-visible,
#ty-site-copyright a,
#ty-site-copyright a:hover,
#ty-site-copyright a:focus-visible { text-decoration: none; }


/* Desktop order: logo, About, Help & Services, Follow Us. */
#ty-site-footer .ty-footer-social { grid-column: 1 / -1; }
#ty-site-footer .ty-footer-social-list > p {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}
@media (min-width: 1140px) {
    #ty-site-footer .ty-footer-content {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 32px;
    }
    #ty-site-footer .ty-footer-brand,
    #ty-site-footer .ty-footer-social { grid-column: auto; }
}
@media (min-width: 768px) {
    #ty-site-copyright .ty-footer-copyright-inner {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px 24px;
    }
    #ty-site-copyright .ty-footer-copyright-copy { width: auto; text-align: left; }
    #ty-site-copyright .ty-footer-legal-links { justify-content: flex-end; }
}


/* Leave space for the chat control below social links on phones. */
@media (max-width: 767px) {
    #ty-site-footer .ty-footer-content { padding-bottom: 96px; }
}
