:root {
    --board-green: #164e3f;
    --board-green-dark: #0f362b;
    --board-pink: #9b0b62;
    --board-pink-light: #fdf2f8;
    --board-gold: #d2a94f;
    --board-ink: #1e293b;
    --board-muted: #64748b;
    --board-line: #e2e8f0;
    --board-bg-soft: #f8fafc;
}

.board-page {
    padding: .25rem 0 3rem;
}

.board-breadcrumb {
    display: flex;
    margin: 1rem 0 1.5rem;
    align-items: center;
    gap: .6rem;
    color: var(--board-muted);
    font-size: .82rem;
}

.board-breadcrumb a {
    color: var(--board-green);
    text-decoration: none;
}

.board-breadcrumb > i {
    color: #a8b2bf;
    font-size: .65rem;
}

/* Hero Section */
.board-hero {
    position: relative;
    display: flex;
    min-height: 320px;
    padding: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    color: #fff;
    background: var(--board-green-dark);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 54, 43, 0.2);
}

.board-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 850px;
    animation: boardSlideIn .65s ease-out both;
}

.board-hero-copy > span {
    color: var(--board-gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.board-hero h1 {
    margin: .75rem 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.board-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 1rem;
    line-height: 1.6;
}

.board-count {
    display: inline-flex;
    margin-top: 1.5rem;
    padding: .65rem 1.25rem;
    align-items: center;
    gap: .75rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .75rem;
}

.board-count strong {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}

.board-count span {
    color: rgba(255, 255, 255, .8);
    font-size: .8rem;
}

.board-hero-icon {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .08);
    font-size: clamp(8rem, 16vw, 12rem);
    animation: boardFloat 4s ease-in-out infinite;
}

.board-shape {
    position: absolute;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
    animation: boardDrift 8s ease-in-out infinite alternate;
}

.board-shape-one { top: -55px; right: 28%; width: 140px; height: 140px; }
.board-shape-two { right: 8%; bottom: -70px; width: 190px; height: 190px; animation-delay: 1.5s; }
.board-shape-three { left: 45%; bottom: 20px; width: 55px; height: 55px; animation-delay: 3s; }

/* Quick Navigation Pills for Board Tiers */
.board-quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0 1rem;
}

.board-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.board-nav-pill:hover {
    color: var(--board-green);
    background: #f0fdf4;
    border-color: #a7f3d0;
}

.board-nav-pill.active {
    color: #ffffff;
    background: var(--board-green);
    border-color: var(--board-green);
    box-shadow: 0 4px 12px rgba(22, 78, 63, 0.2);
}

/* Tier Section Styling (Clean Executive Layout without Lines) */
.board-section {
    margin: 1.5rem 0 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.board-tier {
    position: relative;
    width: 100%;
    scroll-margin-top: 90px;
}

.board-tier.tier-level-1 {
    margin-bottom: 0;
}

.board-tier-header {
    text-align: center;
    margin-bottom: 1.25rem;
    position: relative;
}

.board-tier-badge {
    display: inline-block;
    padding: .25rem .85rem;
    color: var(--board-pink);
    background: var(--board-pink-light);
    border: 1px solid rgba(155, 11, 98, 0.15);
    border-radius: 2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.board-tier-header h2 {
    color: var(--board-green);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    margin: 0 0 .2rem;
}

.board-tier-header p {
    color: var(--board-muted);
    font-size: .84rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Executive Grid & Layouts */
.board-grid-dean {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dean-card-container {
    max-width: 280px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.board-grid-associate, .board-grid-auto, .board-grid-cols-4, .board-grid-cols-3, .board-grid-cols-2, .board-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    margin: 0 auto;
}

.board-grid-cols-4 {
    max-width: 1240px;
}

.board-grid-cols-3 {
    max-width: 950px;
}

.board-grid-cols-2 {
    max-width: 620px;
}

/* Modern Executive Card Design - Uniform 4:5 Proportion */
.executive-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--board-line);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    width: 100%;
    max-width: 280px;
    min-width: 240px;
    flex: 0 1 280px;
}

.executive-card.is-dean {
    max-width: 280px;
    flex: 0 1 280px;
    border: 1.5px solid rgba(210, 169, 79, 0.5);
    box-shadow: 0 8px 25px rgba(210, 169, 79, 0.14), 0 4px 20px rgba(15, 23, 42, 0.05);
}

.board-grid-cols-4 .executive-card,
.board-grid-cols-3 .executive-card,
.board-grid-cols-2 .executive-card {
    max-width: 280px;
    flex: 0 1 280px;
}

.executive-card:hover {
    transform: scale(1.025);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border-color: rgba(22, 78, 63, 0.25);
}

.executive-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}

.executive-card.is-dean .executive-card-media {
    aspect-ratio: 4 / 3;
}

.executive-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s ease;
}

.executive-card:hover .executive-card-media img {
    transform: scale(1.04);
}

.executive-card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 4.5rem;
    background: #e2e8f0 url('../images/default-avatar.svg') center/cover no-repeat;
    background-size: cover;
}

.executive-roles-wrapper {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.executive-role-tag {
    padding: .35rem .75rem;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: .5rem;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.executive-secondary-role-tag {
    padding: .25rem .65rem;
    background: rgba(155, 11, 98, 0.88);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: .4rem;
    font-size: .68rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.executive-card.is-dean .executive-role-tag {
    background: rgba(155, 11, 98, 0.88);
}

/* Executive Card Body */
.executive-card-body {
    padding: 1.35rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.executive-name {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--board-ink);
    margin: 0 0 .35rem;
    line-height: 1.35;
}

.executive-name a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.executive-name a:hover {
    color: var(--board-green);
}

.executive-position {
    font-size: .88rem;
    color: var(--board-pink);
    font-weight: 600;
    margin: 0 0 .5rem;
    line-height: 1.4;
}

/* Administrative Position Badge (Matching user screenshot: Pink with Briefcase icon) */
.directory-admin-roles {
    margin: 0.35rem 0 0.65rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.directory-admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    color: #e11d48;
    background-color: #ffe4e6;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(225, 29, 72, 0.03);
    transition: all 0.2s ease;
}

.directory-admin-badge i {
    font-size: 0.85rem;
    color: #e11d48;
}

.executive-dept {
    font-size: .78rem;
    color: var(--board-muted);
    margin: 0 0 .85rem;
}

.executive-education {
    font-size: .75rem;
    color: #475569;
    background: var(--board-bg-soft);
    padding: .45rem .65rem;
    border-radius: .5rem;
    margin-bottom: .85rem;
    line-height: 1.45;
}

.executive-contacts {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px dashed var(--board-line);
    font-size: .76rem;
}

.executive-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    color: var(--board-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.executive-contact-item:hover {
    color: var(--board-green);
}

.executive-contact-item i {
    color: var(--board-green);
    font-size: .85rem;
}

.executive-quick-contact {
    margin-top: 0.5rem;
    font-size: 0.76rem;
}

.executive-quick-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--board-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-all;
}

.executive-quick-contact a:hover {
    color: var(--board-green);
}

.executive-quick-contact i {
    color: var(--board-green);
    font-size: 0.82rem;
}

.executive-card-footer {
    padding: .85rem 1.25rem 1.15rem;
    background: #fff;
    border-top: 1px solid var(--board-line);
    text-align: center;
}

.executive-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    padding: .5rem 1rem;
    color: var(--board-green);
    background: #f0fdf4;
    border: 1px solid rgba(22, 78, 63, 0.2);
    border-radius: .5rem;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.executive-view-btn:hover {
    color: #fff;
    background: var(--board-green);
    border-color: var(--board-green);
}

/* Related section matching directory-related */
.board-related {
    display: flex;
    margin: 4rem 0 1rem;
    padding: 2rem 2.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #fff;
    background: var(--board-green-dark);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 54, 43, 0.15);
}

.board-related > div:first-child > span {
    color: var(--board-gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.board-related h2 {
    margin: .35rem 0 0;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}

.board-related > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.board-related > div:last-child a {
    display: inline-flex;
    align-items: center;
    padding: .7rem 1.15rem;
    color: var(--board-green);
    background: #fff;
    border-radius: .5rem;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.board-related > div:last-child a:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.board-related a i {
    margin-right: .45rem;
    font-size: .95rem;
}

/* Animations */
@keyframes boardSlideIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes boardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes boardDrift { from { transform: translate(0, 0); } to { transform: translate(16px, -12px); } }

/* Responsive adjustments */
@media(max-width: 991.98px) {
    .board-hero-icon { display: none; }
    .board-grid-associate { grid-template-columns: repeat(2, 1fr); }
    .board-related {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .board-related > div:last-child {
        width: 100%;
    }
}

@media(max-width: 575.98px) {
    .board-hero { min-height: 260px; padding: 1.75rem; }
    .executive-card { max-width: 100%; flex: 1 1 100%; }
    .executive-card-media { aspect-ratio: 4 / 3; height: auto; }
    .executive-card.is-dean .executive-card-media { aspect-ratio: 4 / 3; height: auto; }
    .board-related {
        padding: 1.5rem;
    }
    .board-related > div:last-child {
        flex-direction: column;
    }
    .board-related > div:last-child a {
        text-align: center;
        justify-content: center;
    }
}
