/* University Notices Page Styles - Premium Redesign */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
    --primary-color: #001055;
    --secondary-color: #ff7900;
    --navy-blue: #001055;
    --orange: #ff7900;
    --text-main: #1a1a2e;
    --text-muted: #6b7280;
    --bg-light: #f8f9fc;
    --card-radius: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body,
.tmu-page-heading,
.form-label,
.entry-title,
.entry-content,
.tmu-btn {
    font-family: "Outfit", sans-serif !important;
}

/* Page Heading */
.tmu-page-heading {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.03em;
    margin-top: 30px;
}

.tmu-page-heading span:first-child {
    color: var(--navy-blue);
}

.tmu-page-heading span:last-child {
    color: var(--orange);
}

/* Modern Filter Section */
#noticeFilterForm {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.form-label {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-select,
.form-control {
    border-radius: 12px;
    border: 1.5px solid #eee;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-select:focus,
.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.1);
    outline: none;
}

/* Custom Buttons */
.tmu-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: none;
}

.btn-2 {
    background: var(--navy-blue);
    color: white;
}

.btn-2:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 121, 0, 0.2);
    color: white;
}

/* Notice Cards */
.entry.event {
    margin-bottom: 30px;
    border: none;
}

.grid-inner {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Glow Animation for Targeted Notice */
article.highlight-glow .grid-inner {
    animation: orange-glow-intense 5s ease-in-out forwards;
    border-color: var(--orange) !important;
    box-shadow:
        0 0 30px rgba(255, 121, 0, 0.8),
        0 0 60px rgba(255, 121, 0, 0.4) !important;
    z-index: 100;
}

@keyframes orange-glow-intense {
    0% {
        box-shadow: 0 0 0 rgba(255, 121, 0, 0), var(--shadow-sm);
        transform: scale(1) translateY(20px);
        opacity: 0;
    }
    15% {
        box-shadow: 0 0 30px rgba(255, 121, 0, 0.8), 0 0 60px rgba(255, 121, 0, 0.4);
        transform: scale(1.03) translateY(0);
        opacity: 1;
        border-color: var(--orange);
    }
    85% {
        box-shadow: 0 0 30px rgba(255, 121, 0, 0.8), 0 0 60px rgba(255, 121, 0, 0.4);
        transform: scale(1.03) translateY(0);
        opacity: 1;
        border-color: var(--orange);
    }
    100% {
        box-shadow: 0 0 0 rgba(255, 121, 0, 0), var(--shadow-sm);
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.grid-inner:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 121, 0, 0.1);
}

.text-orange {
    color: var(--orange) !important;
}

.badge {
    background: var(--orange) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 12px !important;
    border-radius: 6px;
    font-size: 0.75rem;
}

.entry-title h3 {
    font-size: 1.25rem !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.entry-title h3 a {
    color: var(--navy-blue);
    transition: var(--transition);
}

.entry-title h3 a:hover {
    color: var(--orange);
}

.entry-meta ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.entry-meta li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.entry-meta li i {
    color: var(--orange);
    font-size: 1rem;
}

.entry-content p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-read-more {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-read-more:hover {
    background: var(--orange);
    color: white;
    box-shadow: 0 8px 16px rgba(255, 121, 0, 0.2);
}

/* Loading Overlay */
#loadingOverlay {
    border-radius: var(--card-radius);
    backdrop-filter: blur(4px);
}

/* Compact Metadata Row */
.metadata-compact {
    border-left: 1px solid #eee;
    padding-left: 15px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .metadata-compact {
        display: none !important; /* Hide on tablets and below to keep footer clean */
    }
}

@media (max-width: 768px) {
    .tmu-page-heading {
        font-size: 2.2rem;
    }

    .grid-inner {
        padding: 20px;
    }
}
