/* Council Members Grid */
.webcivix-council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Member Card */
.council-member-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.council-member-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* Photo */
.council-member-photo img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}

/* Text styling */
.council-member-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.council-member-role {
    font-size: 1rem;
    font-weight: 600;
    color: #0a3d62;
    margin-bottom: 10px;
}

.council-member-email a {
    color: #0a3d62;
    text-decoration: none;
    font-weight: 500;
}

.council-member-email a:hover {
    text-decoration: underline;
}

.council-member-term {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 15px;
}

.council-member-message {
    text-align: left;
    font-size: 0.95rem;
    color: #444;
    margin-top: 15px;
    line-height: 1.5;
}


/* Featured Member (Mayor Layout) */
.webcivix-council-featured {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .webcivix-council-featured {
        flex-direction: column;

    }
    .webcivix-council-featured .featured-left {
        width: 100%;
    }
}

.featured-left {
    flex: 0 0 300px; /* fixed width for profile card */
}

.featured-right {
    flex: 1;
}

/* Larger message box */
.council-message-box {
    background: #f8faf8;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

.council-message-box h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.council-message-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Make circular portrait layout consistent */
.council-member-card .council-member-photo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 50%;
}
