/* Styling voor de details/summary accordeons */
details {
    margin-bottom: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
}

summary {
    padding: 12px 15px;
    background-color: #f8f8f8;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    list-style: none; /* Verbergt standaard pijltje */
}

summary::-webkit-details-marker {
    display: none; /* Verbergt pijltje in Safari/Chrome */
}

summary:hover {
    background-color: #f0f0f0;
}

/* styling quick look box */
.quick-look-box {
    background: #fff9c4;
    border-left: 5px solid #fbc02d;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}
.quick-look-box i { color: #fbc02d; margin-right: 8px; }

/* Een pijltje toevoegen dat draait als je klikt */
summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.2s;
}

details[open] summary::before {
    transform: rotate(90deg);
}

.accordion-content {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
}
/* Specifieke kleuren voor beleids-blokken */
.beleid-conservatief {
    border-left: 5px solid #2ecc71 !important; /* Groen */
}

.beleid-conservatief summary {
    background-color: #f2faf5;
}

.beleid-operatief {
    border-left: 5px solid #e74c3c !important; /* Rood */
}

.beleid-operatief summary {
    background-color: #fdf4f3;
}
/* Vastzetten van de zoekbalk bovenin */
.top-search-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 10px 20px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 20px;
}

/* De zoekbalk zelf mooier maken */
.top-search-wrapper input {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    padding: 10px 15px;
    border: 2px solid #0081C9;
    border-radius: 25px;
    outline: none;
}

/* Zorg dat de rest van de content niet onder de balk verdwijnt */
#body {
    position: relative;
}

/* De Grid layout voor de homepagina */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* De individuele tegels */
.protocol-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none !important;
    color: #333 !important;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    border-color: #0081C9;
}

.protocol-card-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.protocol-card-header i {
    color: #0081C9;
    margin-right: 15px;
    font-size: 1.5rem;
}

.protocol-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0081C9;
}

.protocol-card-body {
    padding: 20px;
    flex-grow: 1;
}

.protocol-card-body p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.protocol-card-footer {
    padding: 15px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #0081C9;
    border-top: 1px solid #f0f0f0;
}

/* Grid instellingen */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* De vierkante tegel */
.category-square {
    background: #ffffff;
    border: 2px solid #e6e6e6;
    border-radius: 12px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1; /* Dit maakt hem perfect vierkant */
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
}

.category-square:hover {
    border-color: #0081C9;
    background-color: #f0f8ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-content i {
    font-size: 2.5rem;
    color: #0081C9;
    display: block;
    margin-bottom: 15px;
}

.category-content h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}