/* Committee portraits — photos sourced from prior G3S edition site; circular frames aligned with theme */

.g3s-committee-card {
    padding: 28px 22px 32px;
    height: 100%;
    border-radius: 12px;
    transition: box-shadow 0.25s ease;
}

.g3s-committee-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.g3s-committee-photo {
    width: 180px;
    height: 180px;
    margin-bottom: 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(252, 129, 6, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.g3s-committee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.g3s-committee-card .td-contact-info-title {
    font-size: 1.15rem;
    line-height: 1.35;
}

.g3s-committee-card p,
.g3s-committee-card .g3s-committee-meta {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555;
}

@media (max-width: 575px) {
    .g3s-committee-photo {
        width: 160px;
        height: 160px;
    }
}

/* -------------------------------------------------------------
   Committee data tables (Steering Committee & Program Committee)
   ------------------------------------------------------------- */

.g3s-table-panel {
    padding: 18px;
}

.g3s-table-shell {
    border-radius: 10px;
}

.g3s-data-table {
    width: 100%;
    margin-bottom: 0;
}

.g3s-data-table thead th {
    background: #1b2534;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    white-space: nowrap;
}

.g3s-data-table tbody td {
    vertical-align: middle;
    color: #333;
}

/* Mobile: transform the wide data tables into stacked, labeled cards
   so every row is readable without horizontal scrolling. */
@media (max-width: 767.98px) {
    .g3s-table-panel {
        padding: 10px;
    }

    .g3s-table-shell {
        overflow: visible;
    }

    .g3s-data-table {
        border: 0;
    }

    .g3s-data-table thead {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .g3s-data-table tbody,
    .g3s-data-table tr,
    .g3s-data-table td {
        display: block;
        width: 100%;
    }

    .g3s-data-table tbody tr {
        margin-bottom: 14px;
        padding: 14px 16px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .g3s-data-table.table-striped > tbody > tr:nth-of-type(odd) > * {
        background-color: transparent;
    }

    .g3s-data-table tbody td {
        border: 0;
        padding: 6px 0;
        font-size: 0.95rem;
        line-height: 1.5;
        word-break: break-word;
    }

    .g3s-data-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #fc8106;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    #steering-committee .g3s-data-table tbody td:nth-of-type(1)::before { content: "Full Name"; }
    #steering-committee .g3s-data-table tbody td:nth-of-type(2)::before { content: "Affiliation"; }

    #program-committee .g3s-data-table tbody td:nth-of-type(1)::before { content: "Full Name"; }
    #program-committee .g3s-data-table tbody td:nth-of-type(2)::before { content: "University"; }
    #program-committee .g3s-data-table tbody td:nth-of-type(3)::before { content: "Country"; }
}
