@charset "utf-8";

/* 푸터 공지사항 */
#ft .tr-footer-notice {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-width: 0;
    margin: 0 0 26px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e9e6e3;
    text-align: left;
    box-sizing: border-box;
}

#ft .tr-footer-notice__heading {
    flex: 0 0 auto;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
}

#ft .tr-footer-notice__heading a {
    color: #302826;
}

#ft .tr-footer-notice__viewport {
    flex: 1;
    min-width: 0;
}

#ft .tr-footer-notice__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#ft .tr-footer-notice__item {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 28px;
}

#ft .tr-footer-notice__item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #655e5a;
    transition: color .2s ease;
}

#ft .tr-footer-notice__item > a:hover {
    color: #302826;
}

#ft .tr-footer-notice__subject {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#ft .tr-footer-notice__subject strong {
    font-weight: 500;
}

#ft .tr-footer-notice__new {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 5px;
    background: #fff0e9;
    color: #a65e45;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

#ft .tr-footer-notice__empty {
    color: #928a85;
}

#ft .tr-footer-notice__more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: #857b75;
    font-size: 12px;
    line-height: 28px;
    white-space: nowrap;
    transition: color .2s ease;
}

#ft .tr-footer-notice__more:hover {
    color: #302826;
}

#ft .tr-footer-notice__more > span {
    font-size: 20px;
}

/* 스크립트 실행 후 한 줄씩 전환 */
#ft .tr-footer-notice.is-rotating .tr-footer-notice__list {
    position: relative;
    height: 28px;
    overflow: hidden;
}

#ft .tr-footer-notice.is-rotating .tr-footer-notice__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    pointer-events: none;
    transition:
        opacity .45s ease,
        transform .45s ease,
        visibility .45s;
}

#ft .tr-footer-notice.is-rotating .tr-footer-notice__item.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 640px) {
    #ft .tr-footer-notice {
        gap: 12px;
    }

    #ft .tr-footer-notice__heading,
    #ft .tr-footer-notice__item {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ft .tr-footer-notice.is-rotating .tr-footer-notice__item {
        transform: none;
        transition: none;
    }
}