/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Container */
.notice-page-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px;
}

.notice-page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-red);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* Main Notice Page Layout */
.notice-page {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Left Section Styles */
.notice-item {
    flex: 1;
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.notice-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.notice-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.notice-item a {
    font-size: 1rem;
    color: var(--color-blue);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.notice-item a:hover {
    color: var(--color-red);
    text-decoration: underline;
}

/* Middle Section Styles */
.notice-list {
    flex: 1.2; /* Reduced width for middle section */
    min-width: 280px;
    background-color: var(--color-blue);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.notice-list ul {
    list-style: none;
}

.notice-list ul li {
    padding: 15px;
    font-size: 1rem;
    color: var(--color-white);
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.notice-list ul li:last-child {
    border-bottom: none;
}

.notice-list ul li:hover {
    color: var(--color-white);
    background-color: var(--color-secondary);
}

/* Right Section Styles */
#rightNotice {
    flex: 1.8; /* Increased width for right section */
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

#rightNotice h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-blue);
    margin-bottom: 15px;
}

#rightNotice p {
    font-size: 1rem;
    color: var(--color-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

#rightNotice a {
    font-size: 1rem;
    color: var(--color-blue);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

#rightNotice a:hover {
    color: var(--color-red);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .notice-page {
        flex-direction: column;
        gap: 20px;
    }

    .notice-item,
    .notice-list,
    #rightNotice {
        flex: 1;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .notice-page-title {
        font-size: 2rem;
    }

    .notice-item h3,
    #rightNotice h3 {
        font-size: 1.2rem;
    }

    .notice-item p,
    #rightNotice p {
        font-size: 0.95rem;
    }

    .notice-list ul li {
        font-size: 0.95rem;
    }

    .notice-item a,
    #rightNotice a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .notice-page-container {
        padding: 15px;
    }

    .notice-page-title {
        font-size: 1.6rem;
    }

    .notice-item h3,
    #rightNotice h3 {
        font-size: 1rem;
    }

    .notice-item p,
    #rightNotice p {
        font-size: 0.85rem;
    }

    .notice-list ul li {
        font-size: 0.85rem;
    }

    .notice-item a,
    #rightNotice a {
        font-size: 0.9rem;
    }
}
