.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    margin: 20px 0;
}

/* Voorkom zoomen op mobiele apparaten */
.congressus-members-section {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Admin info icon */
.congressus-admin-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f78f00;
    color: white;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    vertical-align: middle;
}

.congressus-admin-info:hover {
    background: #d67e00;
    color: white;
}

.congressus-admin-info::before {
    content: "i";
    font-style: italic;
    font-family: serif;
    font-weight: bold;
}

.congressus-admin-info:hover::after {
    content: "Klik voor plugin instellingen";
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
}

.member-card .member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background-color: #f5f5f5;
    /* Voorkom downloaden/slepen van foto's */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.member-card .member-image.no-photo {
    background: #f5f5f5 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') center/50% no-repeat;
}

h1.congressus-title {
    margin-top: 60px;
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 2.5em;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Responsieve titel voor tablets */
@media screen and (max-width: 768px) {
    h1.congressus-title {
        font-size: 2em;
        margin-top: 80px;
    }
}

/* Responsieve titel voor mobiele apparaten */
@media screen and (max-width: 480px) {
    h1.congressus-title {
        font-size: 1.5em;
        margin-top: 80px;
        margin-bottom: 15px;
        padding: 0 15px;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
}

/* Extra kleine schermen */
@media screen and (max-width: 360px) {
    h1.congressus-title {
        font-size: 1.3em;
        margin-top: 120px;
    }
}

/* Verberg de footer */
.footer--row.footer-bottom,
#cb-row--footer-desktop-bottom,
.footer-bottom-inner,
.footer--row-inner.footer-bottom-inner,
.footer--row[data-row-id="bottom"],
[data-row-id="bottom"],
.footer-content-wrap,
.hfg-grid.nv-footer-content,
.footer--row-inner,
div[class*="footer-bottom"],
div[id*="footer-bottom"],
.hfg-grid-bottom {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

.member-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eaeaea;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.member-card h2 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
    padding: 0 10px;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.member-card p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.member-card a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.member-card a:hover {
    color: #0073aa;
}

.member-card a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #0073aa;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.member-card a:hover::after {
    transform: scaleX(1);
}

/* Responsieve tekst groottes */
@media screen and (max-width: 480px) {
    .member-card h2 {
        font-size: 1em;
    }
    
    .member-card p {
        font-size: 0.85em;
    }
}

/* Extra kleine schermen */
@media screen and (max-width: 360px) {
    .member-card h2 {
        font-size: 0.95em;
    }
    
    .member-card p {
        font-size: 0.8em;
    }
} 