.tiri-site-footer {
    --tiri-footer-ink: #343239;
    --tiri-footer-muted: #77737d;
    --tiri-footer-line: #e4e1de;
    width: 100%;
    border-top: 1px solid var(--tiri-footer-line);
    background: #fff;
    color: var(--tiri-footer-ink);
    font-family: var(--tiri-nav-sans, "Noto Sans TC", "Inter", sans-serif);
}

.tiri-site-footer,
.tiri-site-footer * {
    box-sizing: border-box;
}

.tiri-site-footer__inner {
    width: 100%;
    max-width: 1840px;
    margin: 0 auto;
    padding: 40px 20px 40px 40px;
}

.tiri-site-footer__grid {
    display: grid;
    grid-template-columns: minmax(340px, 1.7fr) minmax(0, 2.16fr);
    gap: 56px 76px;
    align-items: start;
}

.tiri-site-footer__brand,
.tiri-site-footer__navigation,
.tiri-site-footer__column {
    min-width: 0;
}

.tiri-site-footer__navigation {
    position: relative;
}

.tiri-site-footer__column-viewport {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.tiri-site-footer__navigation--carousel .tiri-site-footer__column-viewport {
    width: auto;
    margin-inline: 50px;
}

.tiri-site-footer__column-viewport::-webkit-scrollbar {
    display: none;
}

.tiri-site-footer__column-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 152px) / 3);
    gap: 76px;
}

.tiri-site-footer__column {
    scroll-snap-align: start;
}

.tiri-site-footer__column-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tiri-footer-line);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 18px rgba(52, 50, 57, .12);
    color: var(--tiri-footer-ink);
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color .18s ease, color .18s ease, opacity .18s ease;
}

.tiri-site-footer__column-arrow--previous {
    left: -40px;
}

.tiri-site-footer__column-arrow--next {
    right: -8px;
}

.tiri-site-footer__column-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.tiri-site-footer__column-arrow:hover,
.tiri-site-footer__column-arrow:focus-visible {
    border-color: var(--frontend-theme);
    color: var(--frontend-theme);
}

.tiri-site-footer__column-arrow:focus-visible {
    outline: 2px solid var(--frontend-theme);
    outline-offset: 3px;
}

.tiri-site-footer__column-arrow:disabled {
    opacity: .28;
    cursor: default;
}

.tiri-site-footer__column-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tiri-site-footer__logo {
    display: inline-flex;
    width: 172px;
    min-height: 82px;
    align-items: center;
    color: var(--tiri-footer-ink);
    text-decoration: none;
}

.tiri-site-footer__logo img {
    display: block;
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.tiri-site-footer__wordmark {
    font-family: var(--tiri-nav-display, "Archivo", "Inter", sans-serif);
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.tiri-site-footer__identity {
    display: grid;
    gap: 2px;
    margin: 22px 0 0;
    color: #5f5b65;
    font-size: 16px;
    line-height: 1.65;
}

.tiri-site-footer__contact {
    display: grid;
    gap: 11px;
    margin-top: 26px;
    color: #696570;
    font-size: 16px;
    font-style: normal;
    line-height: 1.65;
}

.tiri-site-footer__contact p {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin: 0;
}

.tiri-site-footer__contact-label {
    flex: 0 0 auto;
}

.tiri-site-footer a {
    color: inherit;
}

.tiri-site-footer__contact a,
.tiri-site-footer__quick-links a,
.tiri-site-footer__column a,
.tiri-site-footer__bottom a {
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.tiri-site-footer__contact a:hover,
.tiri-site-footer__contact a:focus-visible,
.tiri-site-footer__quick-links a:hover,
.tiri-site-footer__quick-links a:focus-visible,
.tiri-site-footer__column a:hover,
.tiri-site-footer__column a:focus-visible {
    color: var(--frontend-theme);
    text-decoration-color: var(--frontend-theme);
}

.tiri-site-footer__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 27px;
}

.tiri-site-footer__quick-links a {
    color: var(--tiri-footer-ink);
    font-size: 16px;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.tiri-site-footer__column h2 {
    margin: 2px 0 29px;
    color: #8a858f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}

.tiri-site-footer__column ul {
    display: grid;
    gap: 23px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tiri-site-footer__column a,
.tiri-site-footer__label {
    display: inline;
    color: var(--tiri-footer-ink);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}

.tiri-site-footer__bottom {
    margin-top: 20px;
    padding: 29px 16px 0;
    border-top: 1px solid var(--tiri-footer-line);
    color: #918d96;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.tiri-site-footer__bottom a {
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tiri-site-footer__bottom a:hover,
.tiri-site-footer__bottom a:focus-visible {
    color: var(--frontend-theme);
    text-decoration-color: var(--frontend-theme);
}

@media (max-width: 1199.98px) {
    .tiri-site-footer__inner {
        padding: 40px 32px;
    }

    .tiri-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 48px;
    }

    .tiri-site-footer__navigation:not(.tiri-site-footer__navigation--carousel),
    .tiri-site-footer__navigation:not(.tiri-site-footer__navigation--carousel) .tiri-site-footer__column-viewport,
    .tiri-site-footer__navigation:not(.tiri-site-footer__navigation--carousel) .tiri-site-footer__column-track {
        display: contents;
    }

    .tiri-site-footer__column-track {
        grid-auto-columns: calc((100% - 48px) / 2);
        gap: 48px;
    }

    .tiri-site-footer__bottom {
        margin-top: 20px;
        padding: 29px 16px 0;
    }
}

@media (max-width: 767.98px) {
    .tiri-site-footer__inner {
        padding: 32px 20px;
    }

    .tiri-site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .tiri-site-footer__column-track {
        grid-auto-columns: 100%;
        gap: 32px;
    }

    .tiri-site-footer__column {
        text-align: center;
    }

    .tiri-site-footer__logo {
        width: 150px;
        min-height: 72px;
    }

    .tiri-site-footer__identity,
    .tiri-site-footer__contact,
    .tiri-site-footer__quick-links a {
        font-size: 15px;
    }

    .tiri-site-footer__column h2 {
        margin-bottom: 19px;
    }

    .tiri-site-footer__column ul {
        gap: 17px;
    }

    .tiri-site-footer__column a,
    .tiri-site-footer__label {
        font-size: 16px;
    }

    .tiri-site-footer__bottom {
        margin-top: 20px;
        padding: 24px 0 0;
        overflow-wrap: anywhere;
        text-align: center;
    }
}

@media (max-width: 479.98px) {
    .tiri-site-footer__inner {
        padding: 28px 16px;
    }

    .tiri-site-footer__bottom {
        padding-top: 20px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tiri-site-footer a,
    .tiri-site-footer__column-arrow {
        transition: none;
    }

    .tiri-site-footer__column-viewport {
        scroll-behavior: auto;
    }
}
