/* Committee Listing Page */
.title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.title input {
    padding: 10px;
    width: 300px;
    border: 2px solid #6f7696;
    border-radius: 14px;
    font-size: 16px;
    font-family: Helvetica, sans-serif;
}

.title input:focus {
    outline: none;
    border-color: var(--dark-blue);
}

section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.committee-card {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    width: 45%;
    max-width: 600px;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.committee-card:hover {
    transform: scale(1.01);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.committee-card h3 {
    font-size: 20px;
    color: var(--dark-blue);
    margin: 0 0 10px 0;
    font-family: "Noto Serif", serif;
}

.committee-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Single Committee Page */
.back-link {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 20px;
}

.back-link a {
    font-size: 1.1rem;
    color: #CF2E2E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--dark-blue);
}

.committee-single {
    max-width: 1240px;
    margin: 0 auto 40px auto;
    padding: 30px;
    background-color: white;
}

.committee-single h1 {
    font-family: "Noto Serif", serif;
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
}

.committee-description {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.committee-members h2 {
    font-family: "Noto Serif", serif;
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin: 30px 0 20px 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.member-card {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}
/*
.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #CF2E2E;
}*/

.member-role {
    font-size: 13px;
    color: #CF2E2E;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.member-name {
    font-size: 18px;
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 6px;
    font-family: "Noto Serif", serif;
}

.member-info {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Share buttons */
.addtoany_share_save_container {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .title input {
        width: -webkit-fill-available%;
    }
    
    .committee-card {
        width: -webkit-fill-available;
        max-width: 400px;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
}