#Red_Notice_Board_Section { 
    border-color: #c1121f;
    background-color: #f8edee;
}
#Red_Notice_Board_Section .SubSectionTitle { color: #c1121f; }
/* Creates a responsive grid: it will show 1, 2, or 3 columns depending on screen size */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Styles each individual notice card */
.notice-card {
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Adds a soft shadow */
    text-align: left;
    border-style: solid;
    border-color: #c1121f;
    border-width: 6px 2px 2px 2px;
}


/* Styles the date text */
.notice-date {
    display: block;
    color: #000000;
    font-size: 0.85rem;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Styles the notice title */
.notice-title {
    color: #c1121f;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 6px;
}

/* Styles the main message text */
.notice-text {
    color: #000000;
    line-height: 1.6;
}


/* Container for buttons at the bottom of the card */
.button-container {
    margin-top: 20px; /* Space between message text and buttons */
    display: flex;    /* Puts buttons side-by-side */
    flex-direction: row;
    justify-content: center;
    gap: 10px;        /* Space between the two buttons */
    flex-wrap: wrap;  /* Allows buttons to stack on small phone screens */
}

/* Base style for all buttons */
.notice-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: #c1121f; 
    color: white;
    text-decoration: none;     /* Removes the underline from links */
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Changes color when you hover over the button */
.notice-button:hover {
    background-color: #fd1a29; /* lighter red */
    text-decoration: none;
}
