/* Container voor Noodnummers */
.noodcomm_table-container {
    overflow-x: auto;
    margin: 20px 0;
}

/* Tabel styling */
.noodcomm_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Cellen styling */
.noodcomm_table th, 
.noodcomm_table td {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    /* Zachte overgang op de achtergrondkleur en rand */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Header styling */
.noodcomm_table th {
    background-color: #f4f4f4;
    font-weight: bold;
    text-align: center;
}

/* Zebra-strepen en hover effect */
.noodcomm_table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.noodcomm_table tr:hover td {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .noodcomm_table td, .noodcomm_table th,
    .noodfreq_table td, .noodfreq_table th {
        padding: 10px;
    }
}

/* --- NOODNUMMERS STYLE --- */
.nood-container { 
    font-family: sans-serif; 
    margin-bottom: 2rem; 
}

.nood-cat-title { 
    /* De gevraagde gradiënt */
    background: linear-gradient(
        90deg,
        #B31B20 0%,
        #E21F26 20%,
        #077CC1 80%,
        #055A8C 100%
    ) !important;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff; 
    padding: 8px 15px; /* Iets minder padding boven/onder */
    border-radius: 5px; 
    margin-top: 20px; 
    font-size: 1.05rem; /* Iets kleiner gemaakt (was 1.2rem) */
    font-weight: bold;
}

.nood-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 15px; 
    margin-top: 10px; 
}

.nood-card { 
    background: #fff; 
    border: 1px solid #ddd; 
    padding: 15px; 
    border-radius: 8px; 
    /* Overgang voor hover effecten */
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}

.nood-card:hover { 
    border-color: #077CC1; /* Gebruikt de blauwe kleur uit de gradiënt */
    background: #f9f9f9; 
    transform: translateY(-2px); /* Subtiele lift omhoog */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nood-naam { 
    font-weight: bold; 
    color: #333; 
    display: block; 
    margin-bottom: 5px; 
}

.nood-tel { 
    font-size: 1.1rem; 
    color: #d9534f; 
    text-decoration: none; 
    font-weight: bold; 
    transition: color 0.2s ease;
}

.nood-tel:hover {
    color: #B31B20; /* Wordt iets donkerder rood bij hover op nummer */
}

.nood-links { 
    margin-top: 10px; 
    font-size: 0.85rem; 
}

.nood-link { 
    color: #666; 
    text-decoration: underline; 
    transition: color 0.2s ease;
}

.nood-link:hover {
    color: #055A8C;
}