/* =========================================================
   ARSP MANAGEMENT TEAM — FULL PAGE REDESIGN
   Scoped to the Team page only
========================================================= */

.arsp-team-page{
    --team-navy:#071d68;
    --team-navy-2:#0b2b83;
    --team-green:#07883f;
    --team-green-dark:#056b32;
    --team-text:#14204a;
    --team-muted:#687089;
    --team-border:#e5e9f2;
    --team-bg:#f7f9fd;
    --team-white:#fff;
    --team-shadow:0 5px 18px rgba(18,38,84,.08);
    --team-shadow-hover:0 12px 28px rgba(18,38,84,.14);

    width:100%;
    min-width:0;
    background:var(--team-bg);
    color:var(--team-text);
    overflow:hidden;
}

/* =========================================================
   HERO
========================================================= */

.arsp-team-hero{
    position:relative;
    width:100%;
    padding:58px 20px 62px;
    background:
        radial-gradient(circle at 85% 20%,rgba(7,136,63,.28),transparent 30%),
        linear-gradient(135deg,var(--team-navy),var(--team-navy-2));
    color:#fff;
    text-align:center;
    overflow:hidden;
}

.arsp-team-hero::before{
    content:"";
    position:absolute;
    left:-5%;
    right:-5%;
    bottom:-80px;
    height:130px;
    background:var(--team-bg);
    border-radius:50% 50% 0 0;
}

.arsp-team-hero-inner{
    position:relative;
    z-index:2;
    width:min(900px,100%);
    margin:0 auto;
}

.arsp-team-hero h1{
    margin:0 0 8px;
    color:#fff;
    font-size:clamp(28px,4vw,46px);
    line-height:1.12;
    font-weight:800;
    letter-spacing:-.4px;
}

.arsp-team-hero p{
    margin:0;
    color:rgba(255,255,255,.9);
    font-size:15px;
    line-height:1.6;
}

/* =========================================================
   CONTENT WRAPPER
========================================================= */

.arsp-team-content{
    width:min(1440px,calc(100% - 48px));
    margin:0 auto;
    padding:0 0 55px;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.arsp-team-breadcrumb{
    padding:18px 0 8px;
}

.arsp-team-breadcrumb ol{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
    margin:0;
    padding:0;
    list-style:none;
    color:var(--team-muted);
    font-size:12px;
}

.arsp-team-breadcrumb li{
    margin:0;
}

.arsp-team-breadcrumb a{
    color:var(--team-navy);
    font-weight:700;
}

.arsp-team-breadcrumb .active{
    color:#8a92a5;
}

/* =========================================================
   QUICK NAVIGATION
========================================================= */

.arsp-team-quick{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin:22px 0 48px;
}

.arsp-team-quick-card{
    position:relative;
    min-width:0;
    min-height:165px;
    padding:22px 14px 30px;
    border:1px solid var(--team-border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--team-shadow);
    text-align:center;
    text-decoration:none;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.arsp-team-quick-card:hover{
    transform:translateY(-4px);
    border-color:#d4dcef;
    box-shadow:var(--team-shadow-hover);
}

.arsp-team-quick-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    margin:0 auto 11px;
    border-radius:50%;
    background:#eef7f1;
    color:var(--team-green);
    font-size:22px;
    font-weight:800;
}

.arsp-team-quick-card:nth-child(2) .arsp-team-quick-icon{
    background:#eef3ff;
    color:#2563eb;
}

.arsp-team-quick-card:nth-child(3) .arsp-team-quick-icon{
    background:#fff3e9;
    color:#ef7b18;
}

.arsp-team-quick-card:nth-child(4) .arsp-team-quick-icon{
    background:#f8edff;
    color:#a21caf;
}

.arsp-team-quick-card h3{
    margin:0 0 5px;
    color:var(--team-navy);
    font-size:15px;
    line-height:1.35;
    font-weight:800;
}

.arsp-team-quick-card p{
    margin:0;
    color:var(--team-muted);
    font-size:11px;
    line-height:1.5;
}

.arsp-team-quick-card::after{
    content:"→";
    position:absolute;
    left:50%;
    bottom:9px;
    transform:translateX(-50%);
    color:var(--team-green);
    font-size:18px;
    line-height:1;
    transition:.2s ease;
}

.arsp-team-quick-card:hover::after{
    transform:translateX(-50%) translateX(4px);
}

/* =========================================================
   SECTION HEADER
========================================================= */

.arsp-team-section{
    margin:0 0 48px;
}

.arsp-team-section-heading{
    margin:0 0 22px;
    text-align:left;
}

.arsp-team-section-heading h2{
    margin:0 0 5px;
    color:var(--team-navy);
    font-size:25px;
    line-height:1.2;
    font-weight:800;
}

.arsp-team-section-heading p{
    margin:0;
    color:var(--team-muted);
    font-size:12px;
}

.arsp-team-section-heading::after{
    content:"";
    display:block;
    width:38px;
    height:3px;
    margin-top:10px;
    border-radius:99px;
    background:var(--team-green);
}

/* =========================================================
   MEMBER GRID
========================================================= */

.arsp-team-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

/* =========================================================
   MEMBER CARD
========================================================= */

.arsp-team-member{
    min-width:0;
    min-height:310px;
    padding:19px 15px 15px;
    border:1px solid var(--team-border);
    border-top:4px solid var(--team-green);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--team-shadow);
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    transition:transform .2s ease,box-shadow .2s ease;
}

.arsp-team-member:hover{
    transform:translateY(-4px);
    box-shadow:var(--team-shadow-hover);
}

.arsp-team-member-photo{
    width:105px !important;
    height:105px !important;
    min-width:105px !important;
    max-width:105px !important;
    min-height:105px !important;
    max-height:105px !important;
    margin:0 auto 13px;
    display:block;
    object-fit:cover;
    object-position:center top;
    border:4px solid #e5f2e9;
    border-radius:50%;
    background:#f2f5fa;
}

.arsp-team-member-name{
    width:100%;
    min-height:43px;
    margin:0 0 7px;
    color:#18213d;
    font-size:16px;
    line-height:1.3;
    font-weight:800;
    overflow-wrap:anywhere;
}

.arsp-team-member-role{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:25px;
    max-width:100%;
    margin:0 0 12px;
    padding:4px 10px;
    border-radius:20px;
    background:#eef7f1;
    color:var(--team-green-dark);
    font-size:10px;
    line-height:1.25;
    font-weight:800;
}

.arsp-team-member-id{
    width:100%;
    margin:0 0 13px;
    color:var(--team-muted);
    font-size:10px;
    line-height:1.4;
}

.arsp-team-member-id strong{
    display:block;
    margin-top:2px;
    color:var(--team-text);
    font-size:12px;
}

.arsp-team-profile-btn{
    width:100%;
    min-height:34px;
    margin-top:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7px 12px;
    border-radius:6px;
    background:var(--team-navy);
    color:#fff !important;
    font-size:11px;
    font-weight:800;
    text-decoration:none;
    transition:.2s ease;
}

.arsp-team-profile-btn:hover{
    background:var(--team-green);
    color:#fff !important;
}

/* =========================================================
   CHIEF ADVISER — FULL WIDTH CARD
========================================================= */

.arsp-team-chief{
    width:100%;
    display:grid;
    grid-template-columns:180px minmax(0,1fr);
    gap:28px;
    align-items:center;
    padding:25px;
    border:1px solid var(--team-border);
    border-left:5px solid var(--team-green);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--team-shadow);
}

.arsp-team-chief-photo{
    width:160px !important;
    height:160px !important;
    min-width:160px !important;
    max-width:160px !important;
    min-height:160px !important;
    max-height:160px !important;
    margin:0 auto;
    display:block;
    object-fit:cover;
    object-position:center top;
    border:5px solid #e5f2e9;
    border-radius:50%;
}

.arsp-team-chief-content{
    min-width:0;
}

.arsp-team-chief-content h2{
    margin:0 0 7px;
    color:var(--team-navy);
    font-size:26px;
    line-height:1.2;
    font-weight:800;
}

.arsp-team-chief-content .role{
    display:inline-flex;
    margin-bottom:15px;
    padding:5px 12px;
    border-radius:20px;
    background:#eef7f1;
    color:var(--team-green-dark);
    font-size:11px;
    font-weight:800;
}

.arsp-team-chief-meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-bottom:18px;
}

.arsp-team-chief-meta div{
    padding:10px;
    border:1px solid var(--team-border);
    border-radius:8px;
    background:#fafbfe;
}

.arsp-team-chief-meta small{
    display:block;
    margin-bottom:3px;
    color:#8a92a5;
    font-size:10px;
}

.arsp-team-chief-meta strong{
    display:block;
    color:var(--team-text);
    font-size:12px;
    overflow-wrap:anywhere;
}

.arsp-team-chief .arsp-team-profile-btn{
    width:190px;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.arsp-team-empty{
    grid-column:1/-1;
    padding:30px 20px;
    border:1px dashed #ccd3e3;
    border-radius:10px;
    background:#fff;
    color:var(--team-muted);
    text-align:center;
    font-size:13px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1100px){
    .arsp-team-content{
        width:min(100% - 32px,1100px);
    }

    .arsp-team-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:900px){
    .arsp-team-quick{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .arsp-team-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .arsp-team-chief{
        grid-template-columns:135px minmax(0,1fr);
        gap:20px;
    }

    .arsp-team-chief-photo{
        width:125px !important;
        height:125px !important;
        min-width:125px !important;
        max-width:125px !important;
        min-height:125px !important;
        max-height:125px !important;
    }

    .arsp-team-chief-meta{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px){
    .arsp-team-hero{
        padding:40px 15px 48px;
    }

    .arsp-team-hero h1{
        font-size:27px;
    }

    .arsp-team-hero p{
        font-size:12px;
    }

    .arsp-team-content{
        width:calc(100% - 20px);
        padding-bottom:35px;
    }

    .arsp-team-breadcrumb{
        padding:13px 0 4px;
    }

    .arsp-team-breadcrumb ol{
        font-size:10px;
    }

    .arsp-team-quick{
        gap:9px;
        margin:17px 0 32px;
    }

    .arsp-team-quick-card{
        min-height:140px;
        padding:15px 8px 27px;
    }

    .arsp-team-quick-icon{
        width:43px;
        height:43px;
        margin-bottom:7px;
        font-size:18px;
    }

    .arsp-team-quick-card h3{
        font-size:12px;
    }

    .arsp-team-quick-card p{
        font-size:9px;
    }

    .arsp-team-section{
        margin-bottom:32px;
    }

    .arsp-team-section-heading{
        margin-bottom:14px;
    }

    .arsp-team-section-heading h2{
        font-size:20px;
    }

    /*
       IMPORTANT:
       Two cards per row on mobile.
       This is intentional and matches the requested design.
    */
    .arsp-team-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }

    .arsp-team-member{
        min-height:275px;
        padding:13px 8px 9px;
        border-top-width:3px;
        border-radius:10px;
    }

    .arsp-team-member-photo{
        width:70px !important;
        height:70px !important;
        min-width:70px !important;
        max-width:70px !important;
        min-height:70px !important;
        max-height:70px !important;
        border-width:3px;
        margin-bottom:8px;
    }

    .arsp-team-member-name{
        min-height:36px;
        margin-bottom:5px;
        font-size:12px;
        line-height:1.25;
    }

    .arsp-team-member-role{
        min-height:21px;
        margin-bottom:8px;
        padding:3px 6px;
        font-size:8px;
    }

    .arsp-team-member-id{
        margin-bottom:9px;
        font-size:8px;
    }

    .arsp-team-member-id strong{
        font-size:9px;
    }

    .arsp-team-profile-btn{
        min-height:28px;
        padding:5px 5px;
        font-size:8px;
        border-radius:5px;
    }

    .arsp-team-chief{
        grid-template-columns:1fr;
        gap:13px;
        padding:16px 12px;
        border-left:0;
        border-top:4px solid var(--team-green);
        text-align:center;
    }

    .arsp-team-chief-photo{
        width:105px !important;
        height:105px !important;
        min-width:105px !important;
        max-width:105px !important;
        min-height:105px !important;
        max-height:105px !important;
    }

    .arsp-team-chief-content h2{
        font-size:20px;
    }

    .arsp-team-chief-meta{
        grid-template-columns:repeat(2,minmax(0,1fr));
        text-align:left;
    }

    .arsp-team-chief .arsp-team-profile-btn{
        width:100%;
    }
}

@media(max-width:360px){
    .arsp-team-grid{
        gap:7px;
    }

    .arsp-team-member{
        padding-left:6px;
        padding-right:6px;
    }

    .arsp-team-member-name{
        font-size:11px;
    }

    .arsp-team-member-role{
        font-size:7px;
    }
}

/* =========================================================
   FINAL TEAM PAGE OVERRIDES
   Fix global CSS interference
========================================================= */

section.arsp-team-hero{
    position:relative !important;
    display:block !important;
    width:100% !important;
    min-height:230px !important;
    margin:0 !important;
    padding:60px 20px 85px !important;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(7,136,63,.28),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071d68 0%,
            #0b2b83 55%,
            #056b32 100%
        ) !important;

    color:#fff !important;
    opacity:1 !important;
    visibility:visible !important;
    overflow:hidden !important;
}

section.arsp-team-hero::before{
    content:"" !important;
    position:absolute !important;
    left:-5% !important;
    right:-5% !important;
    bottom:-90px !important;
    width:110% !important;
    height:145px !important;
    background:#f7f9fd !important;
    border-radius:50% 50% 0 0 !important;
    opacity:1 !important;
}

section.arsp-team-hero .arsp-team-hero-inner{
    position:relative !important;
    z-index:10 !important;
    width:min(900px,100%) !important;
    margin:0 auto !important;
    text-align:center !important;
}

section.arsp-team-hero h1{
    display:block !important;
    margin:0 0 8px !important;
    color:#fff !important;
    font-size:clamp(28px,4vw,46px) !important;
    line-height:1.12 !important;
    font-weight:800 !important;
    opacity:1 !important;
}

section.arsp-team-hero p{
    display:block !important;
    margin:0 !important;
    color:rgba(255,255,255,.94) !important;
    font-size:15px !important;
    opacity:1 !important;
}


/* Reduce excessive mobile whitespace */

@media(max-width:600px){

    section.arsp-team-hero{
        min-height:185px !important;
        padding:38px 12px 65px !important;
    }

    section.arsp-team-hero h1{
        font-size:25px !important;
    }

    section.arsp-team-hero p{
        font-size:11px !important;
    }

    .arsp-team-content{
        padding-bottom:25px !important;
    }

    .arsp-team-quick{
        margin-top:12px !important;
        margin-bottom:28px !important;
    }

    .arsp-team-section{
        margin-bottom:28px !important;
    }

    .arsp-team-section-heading{
        margin-bottom:12px !important;
    }

    .arsp-team-section-heading h2{
        font-size:20px !important;
    }

    .arsp-team-grid{
        gap:8px !important;
    }

    .arsp-team-member{
        min-height:260px !important;
    }
}


/* =========================================================
   ARSP TEAM SECTION HEADERS
   Match the original/reference design
========================================================= */

.team-grid + .section-title,
section.mb-5 > .section-title,
.section-title{
    position:relative !important;
    display:block !important;
    width:100% !important;
    margin:42px 0 24px !important;
    padding:0 0 12px !important;

    text-align:center !important;

    color:#071d68 !important;
    background:transparent !important;

    font-size:24px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}

/* Remove the old long bottom border */
.section-title{
    border-bottom:0 !important;
}

/* Decorative centre line */
.section-title::after{
    content:"" !important;
    display:block !important;

    width:34px !important;
    height:3px !important;

    margin:9px auto 0 !important;

    background:#07883f !important;
    border-radius:99px !important;
}

/* Decorative side lines + dots */
.section-title::before{
    content:"•  ─────────  ◆  ─────────  •" !important;
    display:block !important;

    position:absolute !important;
    left:50% !important;
    bottom:0 !important;

    transform:translateX(-50%) !important;

    width:150px !important;

    color:#071d68 !important;
    font-size:8px !important;
    line-height:1 !important;
    letter-spacing:1px !important;

    white-space:nowrap !important;
    opacity:.85 !important;
}

/* Keep the green centre mark above the decorative line */
.section-title::after{
    position:relative !important;
    z-index:2 !important;
}

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

@media(max-width:600px){

    .section-title{
        margin:32px 0 18px !important;
        padding-bottom:11px !important;
        font-size:20px !important;
    }

    .section-title::before{
        width:125px !important;
        font-size:7px !important;
        letter-spacing:.7px !important;
    }

    .section-title::after{
        width:30px !important;
        height:3px !important;
        margin-top:8px !important;
    }
}


/* =========================================================
   ARSP TEAM — REFERENCE DESIGN OVERRIDES
   Safe page-specific redesign
========================================================= */

/* ---------------------------------------------------------
   PAGE BACKGROUND / CONTENT
--------------------------------------------------------- */

.arsp-team-page{
    width:100%;
    background:#fff;
    overflow:hidden;
}

.arsp-team-content{
    width:min(1440px,calc(100% - 40px)) !important;
    max-width:1440px !important;
    margin:0 auto !important;
    padding:0 0 45px !important;
}

/* ---------------------------------------------------------
   HERO — MATCH REFERENCE
--------------------------------------------------------- */

.arsp-team-hero{
    position:relative !important;
    width:100% !important;
    min-height:185px !important;

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

    padding:42px 20px 65px !important;

    overflow:hidden !important;

    background:
        radial-gradient(
            circle at 18% 55%,
            rgba(255,255,255,.08) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 82% 35%,
            rgba(255,255,255,.07) 0 1px,
            transparent 2px
        ),
        linear-gradient(
            135deg,
            #071d68 0%,
            #0b2b83 55%,
            #071d68 100%
        ) !important;

    color:#fff !important;
    text-align:center !important;
}

.arsp-team-hero::before{
    content:"";

    position:absolute;
    inset:0;

    opacity:.18;
    pointer-events:none;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.22) 1px,
            transparent 1.5px
        );

    background-size:34px 34px;
}

.arsp-team-hero::after{
    content:"";

    position:absolute;

    left:-5%;
    right:-5%;
    bottom:-58px;

    height:100px;

    background:#fff;

    border-radius:50% 50% 0 0 / 75% 75% 0 0;

    z-index:2;
}

.arsp-team-hero-inner{
    position:relative;
    z-index:3;

    width:100%;
    max-width:900px;

    margin:0 auto;
}

.arsp-team-hero h1{
    margin:0 0 5px !important;

    color:#fff !important;

    font-size:clamp(27px,4vw,42px) !important;
    line-height:1.15 !important;
    font-weight:800 !important;
    letter-spacing:-.4px !important;
}

.arsp-team-hero p{
    margin:0 !important;

    color:rgba(255,255,255,.94) !important;

    font-size:14px !important;
    line-height:1.4 !important;
}

.arsp-team-hero-inner::after{
    content:"──── ◆ ────";

    display:block;

    margin:7px auto 0;

    color:rgba(255,255,255,.82);

    font-size:10px;
    letter-spacing:1px;
}

/* ---------------------------------------------------------
   BREADCRUMB
--------------------------------------------------------- */

.arsp-team-breadcrumb{
    margin:0 !important;
    padding:14px 0 8px !important;
}

.arsp-team-breadcrumb ol{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:8px !important;

    margin:0 !important;
    padding:0 !important;

    list-style:none !important;

    color:#7c8496 !important;

    font-size:10px !important;
}

.arsp-team-breadcrumb a{
    color:#071d68 !important;
    font-weight:700 !important;
}

/* ---------------------------------------------------------
   QUICK NAVIGATION
--------------------------------------------------------- */

.arsp-team-quick{
    display:grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    gap:10px !important;

    margin:10px 0 32px !important;
}

.arsp-team-quick-card{
    position:relative;

    min-width:0;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:92px;

    padding:12px 10px 10px !important;

    border:1px solid #e5e9f2 !important;
    border-radius:11px !important;

    background:#fff !important;

    box-shadow:
        0 4px 15px rgba(18,38,84,.07) !important;

    text-decoration:none !important;

    transition:.2s ease !important;
}

.arsp-team-quick-card:hover{
    transform:translateY(-3px);

    box-shadow:
        0 10px 24px rgba(18,38,84,.12) !important;
}

.arsp-team-quick-icon{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:42px !important;
    height:42px !important;

    margin-bottom:7px !important;

    border-radius:50% !important;

    background:#eef7f1 !important;
    color:#07883f !important;

    font-size:18px !important;
    font-weight:800 !important;
}

.arsp-team-quick-card:nth-child(2)
.arsp-team-quick-icon{
    background:#eef3ff !important;
    color:#2563eb !important;
}

.arsp-team-quick-card:nth-child(3)
.arsp-team-quick-icon{
    background:#fff1e7 !important;
    color:#d97706 !important;
}

.arsp-team-quick-card:nth-child(4)
.arsp-team-quick-icon{
    background:#f8edff !important;
    color:#a21caf !important;
}

.arsp-team-quick-card h3{
    margin:0 0 3px !important;

    color:#071d68 !important;

    font-size:12px !important;
    line-height:1.3 !important;
    font-weight:800 !important;
}

.arsp-team-quick-card p{
    margin:0 !important;

    color:#687089 !important;

    font-size:8px !important;
    line-height:1.4 !important;
}

.arsp-team-quick-card::after{
    content:"→";

    margin-top:4px;

    color:#07883f;

    font-size:13px;
}

/* ---------------------------------------------------------
   SECTION
--------------------------------------------------------- */

.arsp-team-section{
    width:100% !important;

    margin:0 0 34px !important;
}

/* ---------------------------------------------------------
   SECTION HEADER — EXACT REFERENCE STYLE
--------------------------------------------------------- */

.arsp-team-section-heading{
    position:relative;

    display:flex;
    flex-direction:column;
    align-items:center;

    width:100%;

    margin:0 0 19px !important;

    text-align:center;
}

.arsp-team-section-heading h2{
    position:relative;

    display:inline-block;

    margin:0 !important;
    padding:0 0 11px !important;

    color:#071d68 !important;

    font-size:20px !important;
    line-height:1.25 !important;
    font-weight:800 !important;

    border:0 !important;
}

/* decorative line */
.arsp-team-section-heading h2::before{
    content:"";

    position:absolute;

    left:50%;
    bottom:1px;

    width:70px;
    height:1px;

    transform:translateX(-50%);

    background:#aeb7ca;
}

/* green centre accent */
.arsp-team-section-heading h2::after{
    content:"";

    position:absolute;

    left:50%;
    bottom:0;

    width:27px;
    height:3px;

    transform:translateX(-50%);

    background:#07883f;

    border-radius:99px;

    z-index:2;
}

/* small description */
.arsp-team-section-heading p{
    margin:4px 0 0 !important;

    color:#7a8292 !important;

    font-size:9px !important;
    line-height:1.45 !important;
}

/* decorative diamonds beside title */
.arsp-team-section-heading::after{
    content:"◆";

    position:absolute;

    left:50%;
    bottom:0;

    transform:translateX(-50%);

    color:#071d68;

    font-size:5px;

    pointer-events:none;

    z-index:3;
}

/* ---------------------------------------------------------
   MEMBER GRID
--------------------------------------------------------- */

.arsp-team-grid{
    display:grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    gap:10px !important;

    width:100% !important;
}

/* ---------------------------------------------------------
   MEMBER CARD
--------------------------------------------------------- */

.arsp-team-member{
    min-width:0 !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;

    padding:9px 8px 8px !important;

    background:#fff !important;

    border:1px solid #e5e9f2 !important;
    border-top:3px solid #07883f !important;

    border-radius:9px !important;

    box-shadow:
        0 4px 13px rgba(18,38,84,.07) !important;

    text-align:center !important;

    transition:.2s ease !important;
}

.arsp-team-member:hover{
    transform:translateY(-3px);

    box-shadow:
        0 10px 22px rgba(18,38,84,.12) !important;
}

.arsp-team-member-photo{
    display:block !important;

    width:72px !important;
    height:72px !important;

    min-width:72px !important;
    max-width:72px !important;

    margin:0 auto 7px !important;

    object-fit:cover !important;
    object-position:center !important;

    border:2px solid #071d68 !important;
    border-radius:50% !important;
}

.arsp-team-member-name{
    width:100% !important;

    margin:0 0 4px !important;

    color:#111827 !important;

    font-size:11px !important;
    line-height:1.25 !important;
    font-weight:800 !important;

    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.arsp-team-member-role{
    display:inline-block !important;

    max-width:100% !important;

    margin:0 0 5px !important;
    padding:3px 7px !important;

    border-radius:20px !important;

    background:#eaf5ee !important;
    color:#056b32 !important;

    font-size:7px !important;
    line-height:1.25 !important;
    font-weight:700 !important;

    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.arsp-team-member-id{
    margin:0 0 7px !important;

    color:#8991a2 !important;

    font-size:7px !important;
    line-height:1.35 !important;
}

.arsp-team-member-id strong{
    display:block !important;

    color:#5e6676 !important;

    font-size:7px !important;
    font-weight:700 !important;
}

.arsp-team-profile-btn{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:100% !important;

    min-height:24px !important;

    margin-top:auto !important;
    padding:5px 7px !important;

    border:0 !important;
    border-radius:5px !important;

    background:#071d68 !important;
    color:#fff !important;

    font-size:7px !important;
    line-height:1 !important;
    font-weight:700 !important;

    text-decoration:none !important;
}

.arsp-team-profile-btn:hover{
    background:#07883f !important;
}

/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.arsp-team-empty{
    grid-column:1 / -1;

    padding:22px 15px;

    border:1px dashed #d5dbe7;

    border-radius:9px;

    background:#fff;

    color:#7c8495;

    text-align:center;

    font-size:10px;
}

/* ---------------------------------------------------------
   CHIEF ADVISER — FULL WIDTH
--------------------------------------------------------- */

.arsp-team-chief{
    width:100% !important;

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

    gap:22px !important;

    padding:13px 25px !important;

    background:#fff !important;

    border:1px solid #e5e9f2 !important;
    border-top:3px solid #07883f !important;

    border-radius:10px !important;

    box-shadow:
        0 5px 17px rgba(18,38,84,.08) !important;
}

.arsp-team-chief-photo{
    display:block !important;

    width:82px !important;
    height:82px !important;

    min-width:82px !important;

    object-fit:cover !important;

    border:2px solid #071d68 !important;
    border-radius:50% !important;
}

.arsp-team-chief-content{
    min-width:0;

    flex:1;

    text-align:left;
}

.arsp-team-chief-content h2{
    margin:0 0 4px !important;

    color:#071d68 !important;

    font-size:16px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}

.arsp-team-chief-content .role{
    display:inline-block;

    margin-bottom:6px;
    padding:3px 8px;

    border-radius:20px;

    background:#eaf5ee;
    color:#056b32;

    font-size:8px;
    font-weight:700;
}

.arsp-team-chief-meta{
    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:7px;
}

.arsp-team-chief-meta div{
    display:flex;
    flex-direction:column;
}

.arsp-team-chief-meta small{
    color:#8991a2;
    font-size:7px;
}

.arsp-team-chief-meta strong{
    color:#596273;
    font-size:8px;
}

.arsp-team-chief .arsp-team-profile-btn{
    display:inline-flex !important;

    width:auto !important;

    padding:6px 18px !important;

    font-size:8px !important;
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:1000px){

    .arsp-team-content{
        width:calc(100% - 28px) !important;
    }

    .arsp-team-grid{
        grid-template-columns:
            repeat(3,minmax(0,1fr)) !important;
    }
}

/* =========================================================
   MOBILE
   THREE MEMBER CARDS PER ROW
========================================================= */

@media(max-width:600px){

    .arsp-team-content{
        width:calc(100% - 20px) !important;
        padding-bottom:25px !important;
    }

    .arsp-team-hero{
        min-height:145px !important;

        padding:31px 12px 53px !important;
    }

    .arsp-team-hero h1{
        font-size:24px !important;
    }

    .arsp-team-hero p{
        font-size:10px !important;
    }

    .arsp-team-breadcrumb{
        padding:10px 0 5px !important;
    }

    .arsp-team-breadcrumb ol{
        font-size:8px !important;
    }

    /* 2 × 2 quick navigation */
    .arsp-team-quick{
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        gap:8px !important;

        margin:9px 0 27px !important;
    }

    .arsp-team-quick-card{
        min-height:86px;

        padding:10px 7px !important;
    }

    .arsp-team-quick-icon{
        width:37px !important;
        height:37px !important;

        font-size:16px !important;
    }

    .arsp-team-quick-card h3{
        font-size:10px !important;
    }

    .arsp-team-quick-card p{
        font-size:7px !important;
    }

    .arsp-team-quick-card::after{
        font-size:11px;
    }

    /* section heading */
    .arsp-team-section{
        margin-bottom:27px !important;
    }

    .arsp-team-section-heading{
        margin-bottom:14px !important;
    }

    .arsp-team-section-heading h2{
        font-size:17px !important;
        padding-bottom:10px !important;
    }

    .arsp-team-section-heading p{
        font-size:7px !important;
    }

    /* IMPORTANT:
       keep 3 members in each mobile row */
    .arsp-team-grid{
        grid-template-columns:
            repeat(3,minmax(0,1fr)) !important;

        gap:6px !important;
    }

    .arsp-team-member{
        padding:7px 4px 6px !important;

        border-radius:7px !important;
        border-top-width:2px !important;
    }

    .arsp-team-member-photo{
        width:53px !important;
        height:53px !important;

        min-width:53px !important;
        max-width:53px !important;

        margin-bottom:5px !important;
    }

    .arsp-team-member-name{
        font-size:7px !important;
    }

    .arsp-team-member-role{
        margin-bottom:4px !important;
        padding:2px 4px !important;

        font-size:5.5px !important;
    }

    .arsp-team-member-id{
        margin-bottom:5px !important;
        font-size:5.5px !important;
    }

    .arsp-team-member-id strong{
        font-size:5.5px !important;
    }

    .arsp-team-profile-btn{
        min-height:19px !important;

        padding:4px 2px !important;

        font-size:5.5px !important;
    }

    /* Chief Adviser remains one full-width card */
    .arsp-team-chief{
        gap:11px !important;

        padding:10px 12px !important;

        border-radius:8px !important;
    }

    .arsp-team-chief-photo{
        width:58px !important;
        height:58px !important;

        min-width:58px !important;
    }

    .arsp-team-chief-content h2{
        font-size:11px !important;
    }

    .arsp-team-chief-content .role{
        font-size:6px;
        padding:2px 5px;
    }

    .arsp-team-chief-meta{
        gap:7px;
        margin-bottom:5px;
    }

    .arsp-team-chief-meta small{
        font-size:5.5px;
    }

    .arsp-team-chief-meta strong{
        font-size:6px;
    }

    .arsp-team-chief .arsp-team-profile-btn{
        min-height:19px !important;

        padding:4px 10px !important;

        font-size:6px !important;
    }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media(max-width:380px){

    .arsp-team-grid{
        gap:5px !important;
    }

    .arsp-team-member-photo{
        width:47px !important;
        height:47px !important;

        min-width:47px !important;
        max-width:47px !important;
    }

    .arsp-team-member-name{
        font-size:6.5px !important;
    }

    .arsp-team-member-role{
        font-size:5px !important;
    }

    .arsp-team-member-id,
    .arsp-team-member-id strong{
        font-size:5px !important;
    }

    .arsp-team-profile-btn{
        font-size:5px !important;
    }
}


/* =========================================================
   FINAL ARSP TEAM CONFLICT RESET
   Fixes hero, section spacing and stretched cards
========================================================= */

/* ---------------------------------------------------------
   HARD RESET PAGE-SPECIFIC LAYOUT
--------------------------------------------------------- */

.arsp-team-page,
.arsp-team-page *{
    box-sizing:border-box;
}

.arsp-team-page{
    position:relative !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
}

/* ---------------------------------------------------------
   HERO — REMOVE ALL PREVIOUS CONFLICTS
--------------------------------------------------------- */

.arsp-team-hero{
    position:relative !important;

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

    width:100% !important;
    height:190px !important;
    min-height:190px !important;
    max-height:190px !important;

    margin:0 !important;
    padding:30px 20px 55px !important;

    overflow:hidden !important;

    background:#071d68 !important;

    color:#fff !important;
}

.arsp-team-hero::before{
    content:"" !important;

    position:absolute !important;
    inset:0 !important;

    width:auto !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(255,255,255,.08) 0 1px,
            transparent 1.5px
        ),
        radial-gradient(
            circle at 75% 55%,
            rgba(255,255,255,.06) 0 1px,
            transparent 1.5px
        ) !important;

    background-size:35px 35px !important;

    opacity:1 !important;

    transform:none !important;

    pointer-events:none !important;

    z-index:1 !important;
}

.arsp-team-hero::after{
    content:"" !important;

    position:absolute !important;

    left:-5% !important;
    right:-5% !important;
    bottom:-58px !important;

    width:110% !important;
    height:100px !important;

    margin:0 !important;
    padding:0 !important;

    background:#fff !important;

    border:0 !important;

    border-radius:50% 50% 0 0 / 75% 75% 0 0 !important;

    transform:none !important;

    z-index:2 !important;
}

.arsp-team-hero-inner{
    position:relative !important;

    z-index:5 !important;

    width:100% !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    text-align:center !important;

    color:#fff !important;
}

.arsp-team-hero h1{
    display:block !important;

    margin:0 0 5px !important;
    padding:0 !important;

    color:#fff !important;

    font-family:Arial,Helvetica,sans-serif !important;

    font-size:36px !important;
    line-height:1.2 !important;

    font-weight:800 !important;

    opacity:1 !important;
}

.arsp-team-hero p{
    display:block !important;

    margin:0 !important;
    padding:0 !important;

    color:#fff !important;

    font-size:14px !important;
    line-height:1.4 !important;

    opacity:.95 !important;
}

.arsp-team-hero-inner::after{
    content:"◆" !important;

    display:block !important;

    position:static !important;

    width:auto !important;
    height:auto !important;

    margin:7px 0 0 !important;

    background:none !important;

    color:#fff !important;

    font-size:6px !important;

    opacity:.9 !important;
}

/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.arsp-team-content{
    position:relative !important;

    width:min(1440px,calc(100% - 40px)) !important;
    max-width:1440px !important;

    min-height:0 !important;
    height:auto !important;

    margin:0 auto !important;

    padding:0 0 35px !important;
}

/* ---------------------------------------------------------
   BREADCRUMB
--------------------------------------------------------- */

.arsp-team-breadcrumb{
    position:relative !important;

    height:auto !important;
    min-height:0 !important;

    margin:0 !important;
    padding:13px 0 8px !important;
}

/* ---------------------------------------------------------
   QUICK CARDS
--------------------------------------------------------- */

.arsp-team-quick{
    position:relative !important;

    height:auto !important;
    min-height:0 !important;

    margin:7px 0 27px !important;
    padding:0 !important;
}

/* ---------------------------------------------------------
   SECTIONS — CRITICAL HEIGHT RESET
--------------------------------------------------------- */

.arsp-team-section{
    position:relative !important;

    display:block !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    margin:0 0 28px !important;
    padding:0 !important;

    overflow:visible !important;
}

.arsp-team-section:last-child{
    margin-bottom:0 !important;
}

/* ---------------------------------------------------------
   SECTION HEADER
--------------------------------------------------------- */

.arsp-team-section-heading{
    position:relative !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;

    margin:0 0 14px !important;
    padding:0 !important;
}

.arsp-team-section-heading h2{
    position:relative !important;

    height:auto !important;
    min-height:0 !important;

    margin:0 !important;
    padding:0 0 10px !important;

    color:#071d68 !important;

    font-size:20px !important;
    line-height:1.25 !important;

    font-weight:800 !important;
}

.arsp-team-section-heading p{
    height:auto !important;
    min-height:0 !important;

    margin:4px 0 0 !important;
    padding:0 !important;

    color:#7a8292 !important;

    font-size:9px !important;
    line-height:1.4 !important;
}

/* ---------------------------------------------------------
   GRID — REMOVE ANY HEIGHT FROM OLD RULES
--------------------------------------------------------- */

.arsp-team-grid{
    position:relative !important;

    display:grid !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    margin:0 !important;
    padding:0 !important;

    align-items:start !important;

    grid-auto-rows:auto !important;
}

/* ---------------------------------------------------------
   MEMBER CARD — REMOVE STRETCHING
--------------------------------------------------------- */

.arsp-team-member{
    position:relative !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    margin:0 !important;

    padding:9px 8px 8px !important;

    align-self:start !important;

    overflow:hidden !important;
}

.arsp-team-member-photo{
    flex:0 0 auto !important;

    width:72px !important;
    height:72px !important;

    min-width:72px !important;
    min-height:72px !important;
    max-width:72px !important;
    max-height:72px !important;

    margin:0 auto 7px !important;
}

.arsp-team-member-name{
    flex:0 0 auto !important;

    height:auto !important;
    min-height:0 !important;
    max-height:32px !important;

    margin:0 0 4px !important;
}

.arsp-team-member-role{
    flex:0 0 auto !important;

    height:auto !important;
    min-height:0 !important;

    margin:0 0 5px !important;
}

.arsp-team-member-id{
    flex:0 0 auto !important;

    height:auto !important;
    min-height:0 !important;

    margin:0 0 7px !important;
}

.arsp-team-profile-btn{
    flex:0 0 auto !important;

    height:auto !important;
    min-height:24px !important;

    margin-top:0 !important;
}

/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.arsp-team-empty{
    position:relative !important;

    grid-column:1 / -1 !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;

    margin:0 !important;
    padding:22px 15px !important;
}

/* ---------------------------------------------------------
   CHIEF ADVISER
--------------------------------------------------------- */

.arsp-team-chief{
    position:relative !important;

    display:flex !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    margin:0 !important;

    align-items:center !important;
}

.arsp-team-chief-photo{
    flex:0 0 auto !important;

    width:82px !important;
    height:82px !important;

    min-width:82px !important;
    min-height:82px !important;
}

.arsp-team-chief-content{
    height:auto !important;
    min-height:0 !important;
}

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

@media(max-width:600px){

    .arsp-team-hero{
        height:150px !important;
        min-height:150px !important;
        max-height:150px !important;

        padding:27px 12px 48px !important;
    }

    .arsp-team-hero h1{
        font-size:24px !important;
    }

    .arsp-team-hero p{
        font-size:10px !important;
    }

    .arsp-team-content{
        width:calc(100% - 20px) !important;

        padding-bottom:25px !important;
    }

    .arsp-team-quick{
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        margin-bottom:25px !important;
    }

    .arsp-team-section{
        margin-bottom:28px !important;
    }

    .arsp-team-section-heading{
        margin-bottom:13px !important;
    }

    .arsp-team-section-heading h2{
        font-size:18px !important;
    }

    .arsp-team-section-heading p{
        font-size:7px !important;
    }

    /*
       EXACTLY THREE MEMBER CARDS PER ROW
    */
    .arsp-team-grid{
        grid-template-columns:
            repeat(3,minmax(0,1fr)) !important;

        gap:6px !important;

        height:auto !important;
        min-height:0 !important;

        align-items:start !important;
    }

    .arsp-team-member{
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;

        padding:7px 4px 6px !important;

        align-self:start !important;
    }

    .arsp-team-member-photo{
        width:52px !important;
        height:52px !important;

        min-width:52px !important;
        min-height:52px !important;
        max-width:52px !important;
        max-height:52px !important;
    }

    .arsp-team-member-name{
        font-size:7px !important;
        line-height:1.25 !important;
    }

    .arsp-team-member-role{
        font-size:5px !important;
        line-height:1.2 !important;
    }

    .arsp-team-member-id,
    .arsp-team-member-id strong{
        font-size:5px !important;
        line-height:1.25 !important;
    }

    .arsp-team-profile-btn{
        min-height:19px !important;

        padding:4px 2px !important;

        font-size:5.5px !important;
    }

    .arsp-team-chief{
        gap:10px !important;

        padding:10px 12px !important;
    }

    .arsp-team-chief-photo{
        width:58px !important;
        height:58px !important;

        min-width:58px !important;
        min-height:58px !important;
    }
}

@media(max-width:380px){

    .arsp-team-content{
        width:calc(100% - 14px) !important;
    }

    .arsp-team-grid{
        gap:4px !important;
    }

    .arsp-team-member{
        padding-left:3px !important;
        padding-right:3px !important;
    }

    .arsp-team-member-photo{
        width:46px !important;
        height:46px !important;

        min-width:46px !important;
        min-height:46px !important;
        max-width:46px !important;
        max-height:46px !important;
    }
}


/* ==========================================================
   FINAL ARSP TEAM HERO OVERRIDE
   IMPORTANT: page-specific — does not touch home.css
========================================================== */

.arsp-team-page .arsp-team-hero,
section.arsp-team-hero {
    position: relative !important;
    width: 100% !important;
    height: 245px !important;
    min-height: 245px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

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

    background:
        radial-gradient(
            circle at 15% 80%,
            rgba(30,74,155,.65) 0,
            rgba(30,74,155,0) 38%
        ),
        radial-gradient(
            circle at 88% 25%,
            rgba(7,136,63,.30) 0,
            rgba(7,136,63,0) 38%
        ),
        linear-gradient(
            135deg,
            #071d68 0%,
            #09266f 52%,
            #071d68 100%
        ) !important;

    color: #fff !important;
    isolation: isolate !important;
}

/* Remove the oversized decorative circles that caused
   the large white/pale oval in the screenshot. */
.arsp-team-page .arsp-team-hero::before,
.arsp-team-page .arsp-team-hero::after,
section.arsp-team-hero::before,
section.arsp-team-hero::after {
    content: none !important;
    display: none !important;
}

/* Subtle ARSP pattern */
.arsp-team-page .arsp-team-hero-overlay,
section.arsp-team-hero .arsp-team-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(255,255,255,.06) 0,
            rgba(255,255,255,0) 32%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(255,255,255,.045) 0,
            rgba(255,255,255,0) 30%
        ),
        linear-gradient(
            180deg,
            rgba(4,20,75,.12),
            rgba(4,20,75,.32)
        ) !important;

    pointer-events: none !important;
}

.arsp-team-page .arsp-team-hero-inner,
section.arsp-team-hero .arsp-team-hero-inner {
    position: relative !important;
    z-index: 5 !important;

    width: min(1100px, calc(100% - 40px)) !important;
    max-width: 1100px !important;

    margin: 0 auto !important;
    padding: 35px 20px !important;

    text-align: center !important;
}

/* Badge */
.arsp-team-page .arsp-team-hero-badge,
section.arsp-team-hero .arsp-team-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    margin: 0 0 8px !important;

    color: rgba(255,255,255,.88) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
}

.arsp-team-page .arsp-team-hero-badge span,
section.arsp-team-hero .arsp-team-hero-badge span {
    width: 25px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #55c47c !important;
    border-radius: 20px !important;
}

/* Main title */
.arsp-team-page .arsp-team-hero h1,
section.arsp-team-hero h1 {
    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.5px !important;

    text-shadow: 0 2px 10px rgba(0,0,0,.18) !important;
}

/* Subtitle */
.arsp-team-page .arsp-team-hero p,
section.arsp-team-hero p {
    margin: 8px 0 0 !important;
    padding: 0 !important;

    color: rgba(255,255,255,.90) !important;

    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Decorative center divider */
.arsp-team-page .arsp-team-hero-line,
section.arsp-team-hero .arsp-team-hero-line {
    position: relative !important;

    width: 72px !important;
    height: 1px !important;

    margin: 14px auto 0 !important;

    background: rgba(255,255,255,.65) !important;
}

.arsp-team-page .arsp-team-hero-line::before,
.arsp-team-page .arsp-team-hero-line::after,
section.arsp-team-hero .arsp-team-hero-line::before,
section.arsp-team-hero .arsp-team-hero-line::after {
    content: "" !important;

    position: absolute !important;
    top: 50% !important;

    width: 5px !important;
    height: 5px !important;

    transform: translateY(-50%) rotate(45deg) !important;

    background: #fff !important;
}

.arsp-team-page .arsp-team-hero-line::before,
section.arsp-team-hero .arsp-team-hero-line::before {
    left: 18px !important;
}

.arsp-team-page .arsp-team-hero-line::after,
section.arsp-team-hero .arsp-team-hero-line::after {
    right: 18px !important;
}

/* Hide the statistics from the hero.
   Reference design has a clean title banner. */
.arsp-team-page .arsp-team-hero-stats,
section.arsp-team-hero .arsp-team-hero-stats {
    display: none !important;
}


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

@media (max-width: 768px) {

    .arsp-team-page .arsp-team-hero,
    section.arsp-team-hero {
        height: 205px !important;
        min-height: 205px !important;
    }

    .arsp-team-page .arsp-team-hero-inner,
    section.arsp-team-hero .arsp-team-hero-inner {
        width: calc(100% - 24px) !important;
        padding: 25px 12px !important;
    }

    .arsp-team-page .arsp-team-hero-badge,
    section.arsp-team-hero .arsp-team-hero-badge {
        margin-bottom: 7px !important;
        font-size: 7px !important;
        letter-spacing: .8px !important;
    }

    .arsp-team-page .arsp-team-hero-badge span,
    section.arsp-team-hero .arsp-team-hero-badge span {
        width: 18px !important;
        height: 2px !important;
    }

    .arsp-team-page .arsp-team-hero h1,
    section.arsp-team-hero h1 {
        font-size: 27px !important;
        line-height: 1.15 !important;
        letter-spacing: -.3px !important;
    }

    .arsp-team-page .arsp-team-hero p,
    section.arsp-team-hero p {
        margin-top: 7px !important;
        font-size: 10px !important;
    }

    .arsp-team-page .arsp-team-hero-line,
    section.arsp-team-hero .arsp-team-hero-line {
        width: 58px !important;
        margin-top: 11px !important;
    }
}


/* Very small phones */
@media (max-width: 480px) {

    .arsp-team-page .arsp-team-hero,
    section.arsp-team-hero {
        height: 190px !important;
        min-height: 190px !important;
    }

    .arsp-team-page .arsp-team-hero h1,
    section.arsp-team-hero h1 {
        font-size: 24px !important;
    }

    .arsp-team-page .arsp-team-hero p,
    section.arsp-team-hero p {
        font-size: 9px !important;
    }
}


/* ==========================================================
   FINAL TEAM SECTION HEADERS
   Prevent global CSS from overriding the team headings
========================================================== */

.arsp-team-page .arsp-team-section-heading {
    position: relative !important;

    width: 100% !important;
    max-width: 900px !important;

    margin: 42px auto 22px !important;
    padding: 0 !important;

    text-align: center !important;
}

/* Remove the old left vertical decoration */
.arsp-team-page .arsp-team-section-heading::before {
    content: none !important;
    display: none !important;
}

/* Heading */
.arsp-team-page .arsp-team-section-heading h2 {
    position: relative !important;

    display: inline-block !important;

    margin: 0 !important;
    padding: 0 18px !important;

    color: #071d68 !important;

    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;

    text-align: center !important;
}

/* Decorative line underneath heading */
.arsp-team-page .arsp-team-section-heading h2::before {
    content: "" !important;

    position: absolute !important;
    left: 50% !important;
    bottom: -9px !important;

    width: 105px !important;
    height: 2px !important;

    transform: translateX(-50%) !important;

    background: #aeb6c7 !important;
}

/* Green center section */
.arsp-team-page .arsp-team-section-heading h2::after {
    content: "" !important;

    position: absolute !important;
    left: 50% !important;
    bottom: -11px !important;

    width: 45px !important;
    height: 5px !important;

    transform: translateX(-50%) !important;

    border-radius: 20px !important;

    background: #07883f !important;
}

/* Description */
.arsp-team-page .arsp-team-section-heading p {
    display: block !important;

    width: 100% !important;
    max-width: 700px !important;

    margin: 18px auto 0 !important;
    padding: 0 12px !important;

    color: #687089 !important;

    font-size: 11px !important;
    line-height: 1.5 !important;

    font-weight: 400 !important;

    text-align: center !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

/* Small diamond under the description */
.arsp-team-section-heading p::after {
    content: "" !important;

    display: block !important;

    width: 5px !important;
    height: 5px !important;

    margin: 8px auto 0 !important;

    transform: rotate(45deg) !important;

    background: #071d68 !important;
}


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

@media (max-width: 768px) {

    .arsp-team-page .arsp-team-section-heading {
        width: calc(100% - 20px) !important;

        margin: 34px auto 20px !important;
    }

    .arsp-team-page .arsp-team-section-heading h2 {
        font-size: 23px !important;
        line-height: 1.2 !important;
        padding: 0 12px !important;
    }

    .arsp-team-page .arsp-team-section-heading h2::before {
        width: 100px !important;
        bottom: -8px !important;
    }

    .arsp-team-page .arsp-team-section-heading h2::after {
        width: 42px !important;
        height: 5px !important;
        bottom: -10px !important;
    }

    .arsp-team-page .arsp-team-section-heading p {
        max-width: 100% !important;

        margin-top: 16px !important;
        padding: 0 8px !important;

        font-size: 9px !important;
        line-height: 1.5 !important;
    }

    .arsp-team-section-heading p::after {
        margin-top: 7px !important;
    }
}


@media (max-width: 480px) {

    .arsp-team-page .arsp-team-section-heading {
        margin-top: 30px !important;
    }

    .arsp-team-page .arsp-team-section-heading h2 {
        font-size: 21px !important;
    }

    .arsp-team-page .arsp-team-section-heading p {
        font-size: 8.5px !important;
        padding: 0 5px !important;
    }
}

