/* cc.css - Custom styles */

/* Pretendard 기본 폰트 적용 */
:root {
    --bs-font-sans-serif: 'Pretendard', sans-serif;
}

body,
h1, h2, h3, h4, h5, h6,
input, button, textarea, select {
    font-family: 'Pretendard', sans-serif;
}

/* Server notice banner */
#server-notice-banner {
    width: 100%;
    height: 30px;
    background: linear-gradient(135deg, #e87040, #e85d3a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    letter-spacing: -0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#server-notice-banner .banner-close {
    position: absolute;
    right: 10px;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    transition: background 0.2s;
}

#server-notice-banner .banner-close:hover {
    background: rgba(255,255,255,0.35);
}

/* Banner active: push header/aside down */
.banner-active .header-fixed .header {
    top: 30px !important;
}

.banner-active .header-fixed .aside {
    top: 30px !important;
}

@media (min-width: 992px) {
    .banner-active .header-fixed {
        padding-top: calc(94px + 30px) !important;
    }
}

@media (max-width: 991.98px) {
    .banner-active .header-tablet-and-mobile-fixed {
        padding-top: calc(70px + 30px) !important;
    }
}
