.supporters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
    justify-items: center;
}

.supporter-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
    max-width: 720px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    /* Fixed card height for consistent layout (desktop). Expanded cards remove this.) */
    min-height: 200px;
    height: 200px;
    box-sizing: border-box;
}

.supporter-img img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.supporter-img .placeholder {
    width: 96px;
    height: 96px;
    background: #f3f3f3;
    border-radius: 6px;
}

.supporter-body {
    flex: 1;
    min-width: 0;
}

.supporter-name {
    font-weight: 600;
    margin-bottom: 6px;
}

.supporter-quote {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 8px;
    /* clamp long quotes to 3 lines, show ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.supporter-card.expanded .supporter-quote {
    /* expanded state shows the full quote */
    -webkit-line-clamp: unset;
    display: block;
    max-height: none;
}

.supporter-card.expanded {
    /* when expanded, allow the card to grow to fit content */
    height: auto;
    min-height: 0;
}

.supporter-link {
    color: #5c2983;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.supporter-link:hover {
    text-decoration: underline;
}

.supporter-actions {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #666;
}

.supporter-actions a+a::before {
    content: '  ';
    color: #999;
    padding: 0 6px;
}

.supporter-logo {
    width: 68px;
    height: 56px;
    object-fit: contain;
    display: inline-block;
    margin-left: 8px;
}

.quote-toggle {
    background: none;
    border: none;
    color: #5c2983;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    text-decoration: none;
    margin-left: 6px;
}

.quote-toggle:hover,
.supporter-link:hover {
    text-decoration: underline;
}


@media (max-width: 740px) {
    .supporters-grid {
        grid-template-columns: 1fr;
    }

    .supporter-card {
        max-width: 100%;
        height: auto;
        min-height: 0;
    }
}

/* Modal for full quote */
.supporter-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.supporter-modal {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 720px;
    width: 92%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.supporter-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.supporter-modal .modal-title {
    font-weight: 700;
}

.supporter-modal .modal-body {
    color: #333;
    font-size: 1rem;
    margin-bottom: 12px;
}

.supporter-modal .modal-close {
    background: none;
    border: 0;
    font-size: 18px;
    cursor: pointer
}

.modal-person {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
}

.modal-role {
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
}
.contributors-intro-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;                        
}

.contributors-intro-text {
    flex: 1;                           
    max-width: 700px;                  
}

.contributors-beaver {
    flex-shrink: 0;                   
    width: 150px;                    
    max-width: 260px;
}
