/* Notice Board Page Specific Styles */

/* Inner Page Hero (Shared between subpages) */
.inner-hero-section {
    position: relative;
    height: 40vh;
    background: linear-gradient(135deg, rgba(7, 27, 77, 0.85), rgba(10, 25, 49, 0.85)), url('campus-day.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0 5%;
}

.inner-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 49, 0.4);
    z-index: 1;
}

.inner-hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.inner-hero-section h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.inner-hero-section p {
    font-size: clamp(14px, 1.8vw, 16px);
    opacity: 0.9;
    font-weight: 300;
}

/* Notice Content Area */
.notice-section {
    padding: 80px 0;
}

.notice-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Notice Card */
.notice-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--text-muted);
    padding: 30px 40px;
    transition: var(--transition);
}

.notice-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Color Coding Left Borders & Backgrounds */
.notice-card.urgent {
    border-left-color: #D32F2F; /* Crimson */
    background: rgba(211, 47, 47, 0.01);
}

.notice-card.urgent:hover {
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.05);
}

/* Card Header */
.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.notice-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-urgent {
    background: #FFEBEE;
    color: #C62828;
}

.badge-info {
    background: #E3F2FD;
    color: #1565C0;
}

.badge-success {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-warning {
    background: #FFF3E0;
    color: #EF6C00;
}

.notice-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notice-card h3 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.notice-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Card Footer */
.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.notice-footer .category {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notice-footer .category i {
    color: var(--secondary);
}

.btn-notice-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-notice-link:hover {
    color: var(--secondary-hover);
    transform: translateX(4px);
}

/* Responsive Adjust */
@media(max-width: 768px) {
    .notice-section {
        padding: 50px 0;
    }
    
    .notice-card {
        padding: 25px 20px;
    }
    
    .notice-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
