body.page-personnage-profile .character-politics {
    position: relative;
    overflow: hidden;
}

body.page-personnage-profile .character-politics::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(16, 153, 177, 0.07);
    pointer-events: none;
}

body.page-personnage-profile .politics-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

body.page-personnage-profile .politics-heading > i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #e8f8fa;
    color: #078ca3;
    font-size: 1.35rem;
}

body.page-personnage-profile .politics-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

body.page-personnage-profile .politics-summary-card {
    padding: 20px;
    border: 1px solid #d7e9ed;
    border-radius: 14px;
    background: #f9fcfd;
}

body.page-personnage-profile .politics-summary-card--accent {
    background: linear-gradient(145deg, #063947, #087f91);
    color: #fff;
}

body.page-personnage-profile .politics-summary-label {
    display: block;
    margin-bottom: 13px;
    color: #7795a0;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.page-personnage-profile .politics-summary-card--accent .politics-summary-label {
    color: #78dce7;
}

body.page-personnage-profile .politics-party-identity {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #063947;
    font-size: 1.12rem;
}

body.page-personnage-profile .politics-party-logo,
body.page-personnage-profile .politics-party-placeholder {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid #dcecef;
    border-radius: 12px;
    background: #fff;
}

body.page-personnage-profile .politics-party-logo {
    padding: 7px;
    object-fit: contain;
}

body.page-personnage-profile .politics-party-placeholder {
    display: grid;
    place-items: center;
    color: #0791a7;
}

body.page-personnage-profile .politics-party-role {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #e0ebee;
    color: #476773;
    font-size: 0.86rem;
}

body.page-personnage-profile .politics-affiliations {
    margin-top: 27px;
}

body.page-personnage-profile .politics-affiliations h3,
body.page-personnage-profile .politics-timeline-group > h3 {
    margin: 0 0 14px;
    color: #123f4d;
    font-size: 1.08rem;
}

body.page-personnage-profile .politics-affiliation-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

body.page-personnage-profile .politics-affiliation-item {
    display: grid;
    gap: 2px;
    padding: 10px 13px;
    border: 1px solid #d5e7eb;
    border-radius: 10px;
    background: #fff;
}

body.page-personnage-profile .politics-affiliation-item strong {
    color: #0a6172;
}

body.page-personnage-profile .politics-affiliation-item span,
body.page-personnage-profile .politics-affiliation-item small {
    color: #78909a;
    font-size: 0.74rem;
}

body.page-personnage-profile .politics-timeline-group {
    margin-top: 30px;
}

body.page-personnage-profile .politics-timeline {
    position: relative;
    display: grid;
    gap: 15px;
}

body.page-personnage-profile .politics-timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 32px;
    width: 2px;
    background: #d7e9ed;
}

body.page-personnage-profile .politics-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 15px;
}

body.page-personnage-profile .politics-timeline-logo-wrap {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    box-sizing: border-box;
    padding: 9px;
    border: 2px solid #d5e8ec;
    border-radius: 16px;
    background: #fff;
}

body.page-personnage-profile .politics-timeline-item.is-current .politics-timeline-logo-wrap {
    border-color: #22a8bb;
    box-shadow: 0 0 0 4px rgba(34, 168, 187, 0.11);
}

body.page-personnage-profile .politics-timeline-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.page-personnage-profile .politics-timeline-card {
    padding: 17px 19px;
    border: 1px solid #d9e8ec;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 68, 83, 0.05);
}

body.page-personnage-profile .politics-timeline-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

body.page-personnage-profile .politics-timeline-period {
    color: #0b8ba0;
    font-size: 0.78rem;
    font-weight: 900;
}

body.page-personnage-profile .politics-current-badge {
    padding: 5px 8px;
    border-radius: 999px;
    background: #e5f8ee;
    color: #158253;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

body.page-personnage-profile .politics-timeline-card h4 {
    margin: 0;
    color: #063947;
    font-size: 1.14rem;
}

body.page-personnage-profile .politics-timeline-institution,
body.page-personnage-profile .politics-timeline-description {
    margin: 6px 0 0;
    color: #607985;
    line-height: 1.5;
}

body.page-personnage-profile .politics-timeline-institution {
    color: #2f5966;
    font-weight: 800;
}

body.page-personnage-profile .politics-legislatures {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

body.page-personnage-profile .politics-legislatures span {
    padding: 5px 8px;
    border-radius: 7px;
    background: #edf7f9;
    color: #397180;
    font-size: 0.72rem;
    font-weight: 800;
}

body.page-personnage-profile .parcours-event--politique time {
    background: #7351a5;
}

body.page-personnage-profile .character-history-grid {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

body.page-personnage-profile .character-history-grid > a {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 42px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #d7e9ed;
    border-radius: 16px;
    background: #f9fcfd;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

body.page-personnage-profile .character-history-grid > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(7, 68, 83, .1);
}

body.page-personnage-profile .character-history-grid img,
body.page-personnage-profile .character-history-placeholder {
    display: grid;
    width: 150px;
    height: 100%;
    min-height: 150px;
    place-items: center;
    background: #e5f2f4;
    color: #078ca3;
    object-fit: cover;
}

body.page-personnage-profile .character-history-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

body.page-personnage-profile .character-history-copy small {
    color: #078ca3;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.page-personnage-profile .character-history-copy strong {
    margin-top: 5px;
    color: #063947;
    font-size: 1.28rem;
}

body.page-personnage-profile .character-history-copy em {
    margin-top: 5px;
    color: #8a4f35;
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
}

body.page-personnage-profile .character-history-copy > span {
    margin-top: 9px;
    color: #607985;
    line-height: 1.5;
}

body.page-personnage-profile .character-history-grid > a > i {
    align-self: center;
    color: #078ca3;
}

@media (max-width: 700px) {
    body.page-personnage-profile .politics-summary {
        grid-template-columns: 1fr;
    }

    body.page-personnage-profile .politics-timeline-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
    }

    body.page-personnage-profile .politics-timeline::before {
        left: 25px;
    }

    body.page-personnage-profile .politics-timeline-logo-wrap {
        width: 52px;
        height: 52px;
        padding: 7px;
        border-radius: 13px;
    }

    body.page-personnage-profile .politics-timeline-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-personnage-profile .character-history-grid > a {
        grid-template-columns: 92px minmax(0, 1fr) 28px;
    }

    body.page-personnage-profile .character-history-grid img,
    body.page-personnage-profile .character-history-placeholder {
        width: 92px;
        min-height: 130px;
    }

    body.page-personnage-profile .character-history-copy {
        padding: 16px 13px;
    }

    body.page-personnage-profile .character-history-copy > span {
        display: none;
    }
}
