/* ==========================================================================
   KS NOTICE BOARD - CRIMSON & GOLD SOFT LIGHT THEME
   ========================================================================== */

.ks-notice-card {
    background: #fdfbf7; /* Soft, eye-friendly light warm background */
    border: 1px solid #f0e6dc;
    border-radius: 8px;
    box-shadow: 0 6px 16px -4px rgba(139, 0, 0, 0.08), 
                0 2px 4px -2px rgba(139, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    margin-bottom: 15px;
    font-family: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ks-notice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -4px rgba(139, 0, 0, 0.12);
}

/* Header Theme (#8b0000 Deep College Crimson Gradient with Gold Trim) */
.ks-notice-header {
    background: linear-gradient(135deg, #8b0000 0%, #5c0606 100%);
    color: #ffffff;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #d4af37; /* Institutional Gold Trim */
}

.ks-notice-header-icon {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Tabs */
.ks-notice-tabs {
    display: flex;
    background: #f4ede4;
    border-bottom: 1px solid #e7dcd0;
    padding: 4px;
    gap: 4px;
}

.ks-tab-btn {
    flex: 1;
    background: #eae1d6;
    border: 1px solid #e2d3c2;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5c3535;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ks-tab-btn:hover {
    background: #dfd2c3;
    color: #8b0000;
}

.ks-tab-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    color: #8b0000 !important;
    border-color: #d4af37;
    box-shadow: 0 2px 6px -2px rgba(139, 0, 0, 0.15);
    font-weight: 700;
}

/* Content Area */
.ks-notice-content {
    padding: 8px 14px;
    background: #fdfbf7;
}

.ks-notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ultra-Compact Notice Item Row with Eye-Friendly Background */
.ks-notice-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 4px;
    background: #ffffff; /* Crisp white item box for high contrast readability */
    border: 1px solid #ede4db;
    border-radius: 5px;
    gap: 8px;
    transition: all 0.2s ease;
}

.ks-notice-item:hover {
    background: #fff8f2 !important;
    border-color: #d4af37 !important;
    transform: translateX(2px);
}

.ks-notice-item:last-child {
    margin-bottom: 0;
}

/* Themed Date Badge */
.ks-notice-date {
    font-size: 11px;
    color: #8b0000 !important;
    white-space: nowrap;
    background: #fae8e8;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid #f2bcbc;
}

/* Notice Title */
.ks-notice-title {
    flex: 1;
    color: #2c1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.15s ease;
}

.ks-notice-title:hover {
    color: #8b0000 !important;
    text-decoration: underline;
}

.ks-notice-arrow {
    color: #bfa1a1;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.ks-notice-item:hover .ks-notice-arrow {
    color: #8b0000 !important;
    transform: translateX(2px);
}

.ks-filter-no-results,
.ks-empty-message {
    display: none;
    text-align: center;
    padding: 12px;
    color: #7a6161;
    font-size: 13px;
}