@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--green:#05883b;--dark:#006d31;--ink:#080e26;--muted:#747c94;--line:#e5ece9}*{box-sizing:border-box}body{margin:0;background:#f5fbf8;color:var(--ink);font:15px 'DM Sans',Arial,sans-serif}a{color:inherit}.shell{max-width:1400px;min-height:calc(100vh - 52px);margin:26px auto;background:white;border-radius:18px;padding:32px 40px;box-shadow:0 16px 70px rgba(15,80,48,.035)}.top{display:flex;justify-content:space-between;align-items:center;gap:20px}.top img{width:244px;max-width:100%;height:auto}.all{color:var(--green);font-weight:700;text-decoration:none}.breadcrumbs{display:flex;gap:10px;margin:45px 0 23px;color:var(--muted);font-size:13px}.breadcrumbs a{text-decoration:none}.hero{display:flex;align-items:center;gap:36px;padding:35px;background:linear-gradient(115deg,#f0fbf3,#fff);border:1px solid #e3f1e8;border-radius:18px}.portrait{width:205px;height:205px;flex:none;display:grid;place-items:center;position:relative;overflow:hidden;border-radius:50%;background:linear-gradient(140deg,#c6eddb,#eff9f1);color:var(--dark);font-size:70px;font-weight:800}.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}.portrait.loaded img{display:block}.hero-main{min-width:0}.eyebrow,.section-label{color:var(--green);font-size:12px;font-weight:800;letter-spacing:.14em}.hero h1{font-size:clamp(32px,4.5vw,62px);line-height:1.05;letter-spacing:-.055em;margin:11px 0 18px}.partyline{display:flex;align-items:center;gap:10px;font-weight:700}.partyline img{height:38px;width:38px;object-fit:contain}.mate,.place{margin:12px 0;color:#4e5a65}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}button{font:inherit;cursor:pointer;border-radius:30px;padding:12px 20px;font-weight:700}.primary{background:var(--green);color:white;border:1px solid var(--green)}.secondary{background:white;color:var(--green);border:1px solid #b5dbc5}.columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:26px}.content,.side{display:flex;flex-direction:column;gap:20px}.panel{border:1px solid var(--line);border-radius:14px;padding:25px;background:#fff}.panel h2{font-size:23px;letter-spacing:-.035em;margin:9px 0 14px}.panel p:not(.section-label){color:#5c6677;line-height:1.7;margin-bottom:0}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.facts>div{background:#f7faf8;border:1px solid #edf2ee;border-radius:10px;padding:16px}.facts small{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.facts strong{font-size:15px;overflow-wrap:anywhere}.side-link{display:inline-block;margin-top:15px;color:var(--green);font-weight:800;text-decoration:none}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:24px;margin-top:70px;color:var(--muted);font-size:13px}footer a{color:var(--green);text-decoration:none}@media(max-width:800px){.shell{margin:0;border-radius:0;padding:22px 18px}.top img{width:175px}.breadcrumbs{margin-top:35px}.hero{padding:23px;gap:20px}.portrait{width:130px;height:130px;font-size:43px}.columns{grid-template-columns:1fr}.side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.hero{flex-direction:column;align-items:flex-start}.portrait{width:135px;height:135px}.side{display:flex}.facts{grid-template-columns:1fr}.all{font-size:12px}.hero h1{font-size:36px}footer{flex-direction:column}}

/* ==========================================
   PROFILE HERO BACKGROUND IMAGES
========================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Background image layer */

.hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    right: 0;
    bottom: 0;

    width: 60%;

    background-image: var(--hero-bg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;

    /* Fade from left to right */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 20%,
        rgba(0, 0, 0, 0.65) 55%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 20%,
        rgba(0, 0, 0, 0.65) 55%,
        black 100%
    );

    /* Fade entire image into background */
    opacity: 0.25;

    pointer-events: none;
}

/* Keep all candidate information above background */

.hero > * {
    position: relative;
    z-index: 1;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .hero::before {
        width: 100%;

        background-position: center right;

        opacity: 0.10;

        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 100%
        );

        mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 100%
        );
    }
}


/* ==========================================
   PROFILE BREADCRUMBS
========================================== */

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;
    margin-bottom: 22px;

    font-size: 13px;
    line-height: 1.6;
}

/* Clickable links */

.breadcrumbs a {
    color: #008c3d;
    font-weight: 500;
    text-decoration: none;

    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #006d31;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Separators */

.breadcrumb-separator {
    color: #a9b6b0;
    font-size: 16px;
    font-weight: 400;
}

/* Current page */

.breadcrumb-current {
    color: #080e26;
    font-weight: 600;
}

/* Keyboard navigation */

.breadcrumbs a:focus-visible {
    outline: 2px solid #008c3d;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Mobile */

@media (max-width: 600px) {
    .breadcrumbs {
        gap: 7px;
        font-size: 12px;
    }
}


/* ==========================================
   AT A GLANCE — ICON CARDS
========================================== */

.facts .fact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;

    min-height: 88px;
    padding: 16px;

    background: #f7faf8;
    border: 1px solid #e9efeb;
    border-radius: 12px;
}

/* Circular green icon background */

.facts .fact-item .fact-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    min-width: 46px;
    flex: 0 0 46px;

    background-color: #e4f5e9;
    border-radius: 50%;
}

/* Green line icons */

.facts .fact-item .fact-icon-circle svg {
    display: block;

    width: 21px;
    height: 21px;

    color: #008c3d;
    stroke: #008c3d;
    stroke-width: 1.7;
}

/* Text beside icon */

.facts .fact-item .fact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    min-width: 0;
}

/* Green headings */

.facts .fact-item .fact-content small {
    display: block;
    margin: 0;

    color: #008c3d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* Dark navy values */

.facts .fact-item .fact-content strong {
    display: block;
    margin: 0;

    color: #080e26;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

/* Mobile */

@media (max-width: 600px) {

    .facts .fact-item {
        gap: 11px;
        padding: 13px;
        min-height: 76px;
    }

    .facts .fact-item .fact-icon-circle {
        width: 38px;
        height: 38px;
        min-width: 38px;
        flex-basis: 38px;
    }

    .facts .fact-item .fact-icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .facts .fact-item .fact-content small {
        font-size: 11px;
    }

    .facts .fact-item .fact-content strong {
        font-size: 13px;
    }
}



/* ==========================================
   CANDIDATE SHARE MODAL
========================================== */

.share-modal[hidden] {
    display: none !important;
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 38, 0.5);
    backdrop-filter: blur(4px);
}

.share-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;

    padding: 28px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(8, 14, 38, 0.18);
}

.share-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.share-dialog-header h2 {
    margin: 0;
    color: #080e26;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.share-close {
    display: grid;
    place-items: center;
    flex: 0 0 34px;

    width: 34px;
    height: 34px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: #f1f5f2;
    color: #526057;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.share-description {
    margin: 12px 0 26px;
    color: #687579;
    font-size: 14px;
    line-height: 1.65;
}

.share-platforms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.share-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;

    color: #080e26;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.share-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.share-platform:hover .share-platform-icon {
    transform: translateY(-3px);
}

.share-platform-icon.whatsapp {
    background: #25d366;
    font-size: 15px;
}

.share-platform-icon.facebook {
    background: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 29px;
}

.share-platform-icon.x-twitter {
    background: #111;
}

.share-platform-icon.email {
    background: #008c3d;
}

.share-platform-icon.email svg {
    width: 23px;
    height: 23px;
}

.share-link-box {
    padding: 16px;
    background: #f6faf7;
    border: 1px solid #e3eee6;
    border-radius: 12px;
}

.share-link-box label {
    display: block;
    margin-bottom: 10px;
    color: #008c3d;
    font-size: 12px;
    font-weight: 700;
}

.share-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-link-row input {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;

    border: 1px solid #dce8df;
    border-radius: 8px;
    background: #fff;
    color: #45534b;
    font: inherit;
    font-size: 12px;
}

.share-modal-copy {
    flex-shrink: 0;
    padding: 12px 14px;

    border: 0;
    border-radius: 8px;
    background: #008c3d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.share-close:focus-visible,
.share-platform:focus-visible,
.share-modal-copy:focus-visible {
    outline: 2px solid #008c3d;
    outline-offset: 3px;
}

body.share-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .share-dialog {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .share-platform-icon {
        width: 46px;
        height: 46px;
    }

    .share-platforms {
        gap: 6px;
    }

    .share-dialog-header h2 {
        font-size: 20px;
    }
}




footer {
    flex-wrap: wrap;
    gap: 20px;
}

footer .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #f5faf6;
    color: #166b45;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: background .2s ease, border-color .2s ease;
}

footer .contact-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

footer .contact-link strong {
    display: block;
    font-weight: 600;
}

footer .contact-link:hover {
    background: #eaf4ed;
    border-color: #a9cbb4;
}

footer .contact-link:focus-visible {
    outline: 2px solid #166b45;
    outline-offset: 4px;
}





.profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 24px 0 0;
    margin-top: 48px;
    border-top: 1px solid #e2e9e4;
    color: #758078;
    font-size: 13px;
    line-height: 1.6;
}

.profile-footer .profile-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.profile-footer .profile-footer-links a {
    color: #166b45;
    font-weight: 500;
    text-decoration: none;
}

.profile-footer .profile-footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.profile-footer .profile-footer-links a:focus-visible {
    outline: 2px solid #166b45;
    outline-offset: 5px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .profile-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}