/* ===== Nav Override ===== */
body.notices-layout .nav {
    background: transparent;
}

body.notices-layout .nav-logo {
    height: 48px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.notices-layout .nav-logo img {
    height: 48px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.notices-layout .nav.scrolled .nav-logo {
    height: 38px;
}

body.notices-layout .nav.scrolled .nav-logo img {
    height: 38px;
}

body.notices-layout .nav-links a {
    color: #1A1A1A;
    font-size: 0.9rem;
    font-weight: 500;
}

body.notices-layout .nav-links a::after {
    background: #274B92;
}

body.notices-layout .nav-links a:hover {
    color: #274B92;
}

body.notices-layout .nav-links a.is-active {
    color: #274B92;
}

body.notices-layout .nav-links a.is-active::after {
    background: #FAC10C;
}

body.notices-layout .nav.scrolled .nav-links a {
    color: #1A1A1A;
}

body.notices-layout .nav.scrolled .nav-links a::after {
    background: #274B92;
}

body.notices-layout .nav.scrolled .nav-links a:hover {
    color: #274B92;
}

body.notices-layout .nav.scrolled .nav-links a.is-active {
    color: #274B92;
}

body.notices-layout .nav.scrolled .nav-links a.is-active::after {
    background: #FAC10C;
}

body.notices-layout .nav-lang {
    color: #666666;
}

body.notices-layout .nav-lang:hover {
    color: #274B92;
}

body.notices-layout .nav.scrolled .nav-lang {
    color: #1A1A1A;
}

body.notices-layout .nav.scrolled .nav-lang:hover {
    color: #274B92;
}

body.notices-layout .nav-toggle {
    color: #1A1A1A;
}

body.notices-layout .nav.scrolled .nav-toggle {
    color: #1A1A1A;
}

/* ===== Hero ===== */
.notices-hero {
    position: relative;
    overflow: hidden;
    height: 620px;
}

.notices-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.notices-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22,35,60,0.82) 0%, rgba(22,35,60,0.55) 50%, rgba(22,35,60,0.35) 100%);
}

.notices-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notices-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

.notices-hero-overlay .container {
    max-width: 640px;
    pointer-events: auto;
}

.notices-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #fac10c;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.notices-hero-kicker::before {
    content: '';
    width: 32px;
    height: 1px;
    background: rgba(250, 193, 12, 0.8);
}

.notices-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.notices-hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    max-width: 520px;
}

/* ===== Filter ===== */
.notices-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    margin-bottom: 36px;
}

.notices-filter-btn {
    display: inline-block;
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #FFFFFF;
    color: #4F5D78;
    border: 1px solid #d8deea;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.notices-filter-btn:hover {
    border-color: #274B92;
    color: #274B92;
}

.notices-filter-btn.active {
    background: #274B92;
    color: #FFFFFF;
    border-color: #274B92;
}

/* ===== List ===== */
.notices-list {
    border-top: 1px solid #edf2f8;
}

.notice-item {
    display: grid;
    grid-template-columns: 140px 1fr 28px;
    gap: 20px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid #edf2f8;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.notice-item:hover {
    background: #fafbfd;
}

.notice-item-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2px;
}

.notice-item-date {
    font-size: 0.82rem;
    color: #274B92;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.notice-item-center {
    min-width: 0;
}

.notice-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.45;
    margin: 0 0 6px;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-item-desc {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-item-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

.notice-item-arrow {
    font-size: 0;
    color: #ccc;
    transition: all 0.28s ease;
    width: 16px;
    height: 16px;
    position: relative;
}

.notice-item-arrow::before,
.notice-item-arrow::after {
    content: '';
    position: absolute;
}

.notice-item-arrow::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: currentColor;
}

.notice-item-arrow::after {
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    background: transparent;
}

.notice-item:hover .notice-item-arrow {
    color: #274B92;
    transform: translateX(4px);
}

/* ===== Tags ===== */
.notice-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    letter-spacing: 0.04em;
    width: fit-content;
}

.notice-tag-media {
    background: rgba(39, 75, 146, 0.08);
    color: #274B92;
}

.notice-tag-important {
    background: #FAC10C;
    color: #1A1A1A;
}

.notice-tag-schedule {
    background: rgba(79, 93, 120, 0.1);
    color: #4F5D78;
}

.notice-tag-award {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

/* ===== More Button ===== */
.notices-more-actions {
    margin-top: 40px;
    text-align: center;
}

.notices-more-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #FFFFFF;
    color: #274B92;
    border: 1px solid rgba(39, 75, 146, 0.24);
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.notices-more-btn:hover {
    background: #f1f4fb;
    color: #274B92;
}

/* ===== Detail Page ===== */
body.notices-layout .detail-header {
    text-align: center;
}

body.notices-layout .detail-meta {
    justify-content: center;
}

body.notices-layout .detail-footer .btn-outline-primary {
    border: 1.5px solid #274B92;
    color: #274B92;
    background: transparent;
    border-radius: 0;
}

body.notices-layout .detail-footer .btn-outline-primary:hover {
    background: #274B92;
    color: #fff;
}

/* ===== CTA ===== */
body.notices-layout .cta {
    padding: 88px 0;
    background: #274b92;
    color: #fff;
    text-align: center;
}

body.notices-layout .cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px;
}

body.notices-layout .cta-subtitle {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.9;
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

body.notices-layout .cta .btn-primary {
    background: #FAC10C;
    border-color: #FAC10C;
    color: #1A1A1A;
    border-radius: 0;
}

body.notices-layout .cta .btn-primary:hover {
    background: #e0ab00;
    border-color: #e0ab00;
    color: #1A1A1A;
}

body.notices-layout .cta .btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .notices-hero {
        height: 540px;
    }

    .notice-item {
        grid-template-columns: 120px 1fr 24px;
        gap: 16px;
    }

    .nav-toggle { display: inline-flex; }
    .nav-actions { display: none; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        padding: 12px 18px 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        list-style: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }
    .nav.is-open .nav-links {
        display: flex;
    }
    .nav-links::before {
        display: none;
    }
    .nav-links a {
        padding: 8px 0;
        color: #1a1a1a;
    }
    body.notices-layout .nav-links a {
        color: #1a1a1a;
    }
    body.notices-layout .nav.is-open .nav-toggle {
        color: #1a1a1a;
    }
}

@media (max-width: 768px) {
    .notices-hero {
        height: 480px;
    }

    .notice-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 0;
    }

    .notice-item-left {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .notice-item-right {
        display: none;
    }

    .notices-filter {
        gap: 8px;
        margin-bottom: 28px;
    }

    .notices-filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .notices-more-actions {
        margin-top: 32px;
    }

    body.notices-layout .cta {
        padding: 40px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
