/* NOTE: No .inner-banner rule here — style-starter.css controls it on all
   screen sizes, matching every other page (about.php, our-team.php, etc.).
   The previous noticesV2.css had a flat min-height:250px with no mobile
   override, which made the banner taller than all other pages on phones. */

.notice-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.notice-card:hover { transform: translateY(-7px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }

.notice-img-container {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f4f4f4;
    overflow: hidden;
}
.notice-img-container img, .notice-img-container video {
    width: 100%; height: 100%; object-fit: cover;
}
.notice-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }

.notice-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: red;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.notice-excerpt {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.badge-notice {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}