/* ── Notice Bar ──────────────────────────────────────────── */

.notice-bar#noticeBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #92400e 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s;
}

#noticeBar.notice-bar--hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

#noticeBar .notice-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: .875rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Icon */
#noticeBar .notice-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,.15);
    border-radius: .5rem;
    margin-top: .125rem;
}

#noticeBar .notice-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: #fde68a;
}

/* Content */
#noticeBar .notice-content {
    flex: 1;
    min-width: 0;
}

#noticeBar .notice-title {
    font-size: .9375rem;
    font-weight: 700;
    color: #fef3c7;
    margin: 0 0 .375rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

#noticeBar .notice-title-tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background-color: rgba(255,255,255,.2);
    color: #fef3c7;
    padding: .125rem .5rem;
    border-radius: 9999px;
}

#noticeBar .notice-body {
    font-size: .875rem;
    color: rgba(255,255,255,.9);
    margin: 0 0 .625rem;
    line-height: 1.55;
}

#noticeBar .notice-dates {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin-top: .25rem;
}

#noticeBar .notice-date-item {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .8125rem;
    color: rgba(255,255,255,.85);
}

#noticeBar .notice-date-item i {
    width: .9375rem;
    height: .9375rem;
    color: #fde68a;
    flex-shrink: 0;
}

#noticeBar .notice-date-item strong {
    color: #fef9c3;
    font-weight: 700;
}

/* Close button */
#noticeBar .notice-close {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: .375rem;
    cursor: pointer;
    color: rgba(255,255,255,.8);
    transition: background-color .2s, color .2s;
    margin-top: .125rem;
    font-family: inherit;
}

#noticeBar .notice-close:hover {
    background-color: rgba(255,255,255,.25);
    color: #fff;
}

#noticeBar .notice-close i {
    width: 1rem;
    height: 1rem;
}

/* ── Nav offset when notice is visible ──────────────────────────────────── */
.nav {
    transition: top .4s cubic-bezier(.4,0,.2,1);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    #noticeBar .notice-bar-inner {
        padding: .75rem 1rem;
        gap: .75rem;
    }

    .notice-icon { display: none; }

    .notice-title { font-size: .875rem; }

    .notice-body  { font-size: .8125rem; }

    .notice-dates { gap: .375rem 1rem; }

    .notice-date-item { font-size: .75rem; }
}
