/* ============================================================
   EXECUTIVES / NEC OFFICERS STYLES
   ============================================================ */

/* Archive directory */
.executives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.executive-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-align: center;
}

.executive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.executive-card__photo-wrap {
    position: relative;
    overflow: hidden;
}

.executive-card__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.executive-card:hover .executive-card__photo {
    transform: scale(1.05);
}

.executive-card__photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
}

.executive-card__photo-placeholder .material-symbols-outlined {
    font-size: 4rem;
}

.executive-card__rank-badge {
    position: absolute;
    bottom: var(--space-3);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.executive-card__body {
    padding: var(--space-5);
}

.executive-card__name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-1);
    line-height: var(--line-height-snug);
}

.executive-card__name a {
    color: inherit;
}
.executive-card__name a:hover { color: var(--color-primary); }

.executive-card__zone {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
}

.executive-card__zone .material-symbols-outlined {
    font-size: 0.875rem;
    color: var(--color-primary);
}

.executive-card__footer {
    padding: var(--space-3) var(--space-5);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
}

/* ── Single executive profile ── */
.executive-profile {
    padding-block: var(--space-16);
}

.executive-profile__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-12);
    align-items: start;
}

/* Sidebar */
.executive-profile__sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.executive-profile__photo-card {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.executive-profile__photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
}

.executive-profile__photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}

.executive-profile__photo-placeholder .material-symbols-outlined {
    font-size: 6rem;
}

.executive-profile__card-info {
    padding: var(--space-5) var(--space-6);
    text-align: center;
}

.executive-profile__rank {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.executive-profile__name {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-snug);
}

.executive-profile__position {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-snug);
}

.executive-profile__zone {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: 0;
}

.executive-profile__zone .material-symbols-outlined {
    font-size: 0.875rem;
    color: var(--color-primary);
}

/* Quick-info panel */
.executive-profile__quick-info {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-5) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.executive-profile__info-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.executive-profile__info-item > .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.executive-profile__info-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.executive-profile__info-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.executive-profile__info-value {
    font-size: var(--font-size-sm);
    color: var(--color-text);
    line-height: var(--line-height-snug);
    word-break: break-word;
}

a.executive-profile__info-value {
    color: var(--color-primary);
}
a.executive-profile__info-value:hover {
    text-decoration: underline;
}

/* Main content sections */
.executive-profile__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.executive-profile__section {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--space-8);
}

.executive-profile__section-title {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.executive-profile__section-title .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--color-primary);
}

.executive-profile__bio {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

.executive-profile__bio p {
    margin-bottom: var(--space-4);
}

.executive-profile__bio p:last-child {
    margin-bottom: 0;
}

/* Shared list style for education / committees / awards / memberships */
.executive-profile__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.executive-profile__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
}

.executive-profile__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.executive-profile__list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
    margin-top: 7px;
}

.executive-profile__back {
    padding-top: var(--space-2);
}

/* NEC President highlight card */
.nec-president-card {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    color: var(--color-secondary);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-8);
    align-items: center;
    margin-bottom: var(--space-12);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.nec-president-card p,
.nec-president-card span:not(.material-symbols-outlined) {
    color: rgba(255,255,255,0.9);
}

.nec-president-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.nec-president-card__photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid rgba(255,215,0,0.4);
    box-shadow: var(--shadow-lg);
}

.nec-president-card__photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255,215,0,0.4);
    color: rgba(255,255,255,0.4);
}

.nec-president-card__label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.nec-president-card__name {
    font-size: var(--font-size-3xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.nec-president-card__rank {
    font-size: var(--font-size-md);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-4);
}

.nec-president-card__bio {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.75);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-5);
}

/* ── Homepage executives preview section ── */
.home-executives {
    background: var(--color-bg-alt);
}

.home-executives__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.home-exec-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-align: center;
}

.home-exec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.home-exec-card__photo-wrap {
    position: relative;
    overflow: hidden;
}

.home-exec-card__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.home-exec-card:hover .home-exec-card__photo {
    transform: scale(1.05);
}

.home-exec-card__photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}

.home-exec-card__photo-placeholder .material-symbols-outlined {
    font-size: 4rem;
}

.home-exec-card__rank {
    position: absolute;
    bottom: var(--space-3);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.home-exec-card__body {
    padding: var(--space-5);
    flex: 1;
}

.home-exec-card__name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-snug);
}

.home-exec-card__name a {
    color: inherit;
}
.home-exec-card__name a:hover { color: var(--color-primary); }

.home-exec-card__position {
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-snug);
}

.home-exec-card__zone {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: 0;
}

.home-exec-card__zone .material-symbols-outlined {
    font-size: 0.875rem;
    color: var(--color-primary);
}

.home-exec-card__footer {
    padding: var(--space-3) var(--space-5);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
}
