.notice-page {
    color: var(--n-800);
    min-height: 100vh;
    background: transparent;
}

.notice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section Override for Notice */
.notice-hero {
    background-image: url('/assets/darkteam_hero_bg.png');
    background-size: cover;
    background-position: center;
}

/* Notice Header */
.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--n-200);
    padding-bottom: 20px;
}

.notice-title-area {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.notice-title-area h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--n-900);
    margin: 0;
}

.notice-title-area .count {
    font-size: 1.2rem;
    color: var(--n-400);
    font-weight: 500;
}

.notice-search-area {
    position: relative;
    width: 300px;
}

.notice-search-area input {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--n-200);
    padding: 10px 40px 10px 0;
    font-size: 1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: var(--n-800);
}

.notice-search-area input:focus {
    border-color: var(--brand-primary);
    padding-right: 50px;
    letter-spacing: 0.5px;
}

.notice-search-area i {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--n-400);
    transition: all 0.4s ease;
}

.notice-search-area input:focus+i {
    color: var(--brand-primary);
    transform: translateY(-50%) scale(1.2);
}

/* Notice Grid */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 25px;
    margin-bottom: 60px;
}

.notice-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--n-100);
}

.notice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-primary-light);
}

.notice-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--n-100);
    position: relative;
}

.notice-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-card:hover .notice-card-thumb img {
    transform: scale(1.1);
}

.notice-card-content {
    padding: 20px;
}

.notice-card-category {
    background: var(--brand-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.notice-card-title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem;
    font-weight: 600;
    color: var(--n-800);
    transition: color 0.3s ease;
}

.notice-card:hover .notice-card-title {
    color: var(--brand-primary);
}

.notice-card-date {
    font-size: 0.85rem;
    color: var(--n-400);
    font-weight: 500;
}

/* Detail Page Premium Style */
.notice-detail-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 80px 60px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--n-100);
}

.notice-detail-header {
    margin-bottom: 60px;
    text-align: left;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--brand-primary);
}

.notice-detail-meta {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--n-50);
    padding-bottom: 20px;
}

.notice-detail-category {
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-detail-date {
    color: var(--n-400);
    font-size: 0.95rem;
    font-weight: 500;
}

.notice-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--n-900);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.notice-article {
    line-height: 2;
    color: var(--n-700);
    font-size: 1.15rem;
}

.notice-article h2,
.notice-article h3 {
    color: var(--n-900);
    margin: 3rem 0 1.5rem;
    font-weight: 800;
}

.notice-article img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    margin: 2rem 0;
}

.detail-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--n-100);
    text-align: center;
}

/* Pagination Style */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.gallery-pagination a,
.gallery-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--n-500);
    transition: all 0.2s;
    background: var(--n-50);
    border: 1px solid var(--n-200);
}

.gallery-pagination a:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.gallery-pagination .active {
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    border-color: var(--brand-primary);
}

.gallery-pagination .nav-btn {
    font-size: 0.8rem;
    color: var(--n-500);
}

@media (max-width: 1024px) {
    .notice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .notice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .notice-search-area {
        width: 100%;
    }

    .notice-detail-container {
        padding: 40px 20px;
    }

    .notice-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .notice-grid {
        grid-template-columns: 1fr;
    }
}