:root {
    --cigre-primary: #007e4f;
    --cigre-secondary: #41ad49;
    --cigre-neutral: #deddd7;
    --cigre-light: #f6f7f3;
    --cigre-white: #ffffff;
    --cigre-text: #1f2933;
    --cigre-muted: #667085;
    --cigre-border: #deddd7;
}

/* Apply Arial to the Technical Board layout only */
.cigre-page-wrap,
.cigre-page-wrap * {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.cigre-page-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* Hero section */
.cigre-hero {
    background: linear-gradient(135deg, var(--cigre-primary), var(--cigre-secondary));
    border-radius: 24px;
    padding: 56px 32px;
    color: var(--cigre-white);
    text-align: center;
    margin-bottom: 34px;
    box-shadow: 0 18px 45px rgba(0, 126, 79, 0.22);
}

.cigre-hero h1 {
    color: var(--cigre-white);
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.15;
}

.cigre-hero p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
    opacity: 0.96;
}

/* Search and filter area */
.cigre-controls {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0 28px;
}

.cigre-search {
    flex: 1 1 300px;
}

.cigre-search input {
    width: 100%;
    border: 1px solid var(--cigre-border);
    border-radius: 999px;
    padding: 13px 18px;
    font-size: 15px;
    outline: none;
    color: var(--cigre-text);
    background: var(--cigre-white);
}

.cigre-search input:focus {
    border-color: var(--cigre-primary);
    box-shadow: 0 0 0 4px rgba(0, 126, 79, 0.14);
}

.cigre-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cigre-filter-btn {
    border: 1px solid var(--cigre-border);
    background: var(--cigre-white);
    color: var(--cigre-text);
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cigre-filter-btn:hover,
.cigre-filter-btn.is-active {
    background: var(--cigre-primary);
    color: var(--cigre-white);
    border-color: var(--cigre-primary);
}

/* Technical board card grid */
.cigre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 24px;
}

/* Cards */
.cigre-card {
    background: var(--cigre-white);
    border: 1px solid var(--cigre-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cigre-card:hover {
    transform: translateY(-5px);
    border-color: var(--cigre-secondary);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.14);
}

.cigre-card-body {
    padding: 24px;
}

/* Committee code */
.cigre-committee-code {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cigre-primary);
    margin-bottom: 4px;
    line-height: 1;
}

.cigre-committee-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--cigre-text);
    margin-bottom: 12px;
    line-height: 1.35;
}

/* Badge */
.cigre-role {
    display: inline-block;
    background: var(--cigre-light);
    color: var(--cigre-primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

/* Text */
.cigre-name {
    color: var(--cigre-text);
    font-size: 1.22rem;
    line-height: 1.3;
    margin: 0 0 6px;
    font-weight: 800;
}

.cigre-org {
    color: var(--cigre-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.cigre-bio {
    color: #344054;
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0 0 16px;
}

/* Links */
.cigre-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cigre-links a {
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cigre-link-primary {
    background: var(--cigre-primary);
    color: var(--cigre-white);
}

.cigre-link-primary:hover {
    background: #005f3c;
    color: var(--cigre-white);
}

/* Hidden cards after filtering */
.cigre-hidden {
    display: none !important;
}

/* Mobile responsiveness */
@media (max-width: 720px) {
    .cigre-page-wrap {
        padding: 22px 14px 44px;
    }

    .cigre-hero {
        padding: 36px 20px;
        border-radius: 18px;
    }

    .cigre-controls {
        align-items: stretch;
    }

    .cigre-filters,
    .cigre-search {
        width: 100%;
    }

    .cigre-filter-btn {
        flex: 1 1 auto;
    }

    .cigre-card-body {
        padding: 20px;
    }
}

.cigre-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f6f7f3;
    overflow: hidden;
    border-bottom: 1px solid #deddd7;
}

.cigre-person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cigre-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #deddd7, #f6f7f3);
    color: #007e4f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 900;
}