/* ==========================================================================
   ORGANIZERS.CSS - ACM Collective Intelligence 2026
   Styles for profile cards and committee grids.
   ========================================================================== */

.organizing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.column-title {
    font-size: 1.4rem;
    color: var(--vt-hokie-stone);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    border-bottom: 1px dashed var(--vt-grey);
    padding-bottom: 0.5rem;
}

/* Profile Cards System */
.profile-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    background-color: var(--vt-white);
    border-left: 4px solid var(--vt-hokie-stone);
    padding: 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.profile-card:hover {
    border-color: var(--vt-burnt-orange);
    transform: translateY(-2px);
}

.profile-role-title {
    font-size: 0.8rem;
    color: var(--vt-impact-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--vt-smoke);
    padding-bottom: 0.25rem;
}

.profile-members-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-member-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Photo Placement Thumbnails */
.profile-photo-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--vt-smoke);
    border: 2px solid var(--vt-grey);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details {
    flex-grow: 1;
}

.profile-name-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
}

.profile-name-link:hover {
    color: var(--vt-maroon);
    text-decoration: underline;
}

.profile-affiliation {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.3;
    margin-top: 0.15rem;
}

/* Steering Committee List Grid Layout */
.committee-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 4rem;
    padding-left: 0;
    list-style: none;
}

.committee-list-grid li {
    margin-bottom: 0.25rem;
}

.committee-list-grid span {
    color: #555555;
    font-style: italic;
}

/* Responsive Overrides */
@media (max-width: 960px) {
    .organizing-columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .committee-list-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Semantic layout spacers for cross-column alignment */
.profile-spacer {
    background: transparent;
    pointer-events: none;
}

/* Matches the exact rendering height of a 2-member profile card */
.profile-spacer.size-double {
    height: 215px; 
}

/* Matches the exact rendering height of a 1-member profile card */
.profile-spacer.size-single {
    height: 135px;
}

@media (max-width: 960px) {
    /* Hide spacers entirely when columns collapse into a single vertical stack */
    .profile-spacer {
        display: none;
    }
}