.board-section {
    background: #f4f4f4;
}

.board-card {
    position: relative;
    background: #fff;
    box-shadow: 0 0 18px rgba(0,0,0,0.08);
    height: 100%;
    overflow: hidden;
}

.board-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #fff;
    padding: 10px;
}

.board-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.board-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #610615;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
    pointer-events: none;
}

.board-card:hover::after {
    transform: scaleX(1);
}

.board-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 15px;
    height: 72px;
    overflow: hidden;
}

.board-card-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #51565c;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.board-card-position {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: #610615;
    text-transform: uppercase;
    padding: 0 15px;
}

.board-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    border-top: 1px solid #e5e5e5;
}

.board-card-action {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e5e5e5;
    color: #8b8f94;
    font-size: 26px;
    background: #fff;
}

.board-card-action:last-child {
    border-right: 0;
}

.board-card-action:hover {
    color: #610615;
}

.board-card-bio {
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    border: 0;
}

.board-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 37, 48, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.board-modal-overlay.active {
    display: flex;
}

.board-modal {
    position: relative;
    width: 100%;
    max-width: 1180px;
    max-height: 90vh;
    background: #fff;
    overflow: hidden;
}

.board-modal-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 65px;
    height: 65px;
    border: 0;
    background: #610615;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.board-modal-content {
    display: grid;
    grid-template-columns: 370px 1fr;
    max-height: 90vh;
}

.board-modal-left {
    background: #f7f7f7;
    padding: 25px;
}

.board-modal-image {
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #ddd;
}

.board-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-modal-contact-title {
    margin-top: 28px;
    font-size: 22px;
    font-weight: 700;
    color: #610615;
    text-transform: uppercase;
    border-bottom: 3px solid #610615;
    display: inline-block;
    padding-bottom: 8px;
}

.board-modal-contact {
    margin-top: 20px;
    color: #8b8f94;
    font-size: 16px;
}

.board-modal-right {
    padding: 60px 55px;
    overflow-y: auto;
    max-height: 90vh;
}

.board-modal-name {
    font-size: 30px;
    font-weight: 700;
    color: #610615;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
    border-bottom: 4px solid #610615;
    padding-bottom: 10px;
}

.board-modal-position {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 700;
    color: #51565c;
    text-transform: uppercase;
}

.board-modal-bio {
    margin-top: 25px;
    color: #777;
    line-height: 1.7;
    font-size: 16px;
}

.board-modal-bio p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .board-modal-content {
        grid-template-columns: 1fr;
    }

    .board-modal-left {
        display: none;
    }

    .board-modal-right {
        padding: 80px 25px 35px;
    }
}

.board-card-footer {
    display: flex;
    border-top: 1px solid #e5e5e5;
}

.board-card-action {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-right: 1px solid #e5e5e5;
}

.board-card-bio {
    width: auto;
    flex: 1;
    min-width: 140px;
}

.board-social-dropdown {
    position: relative;
}

.board-social-toggle {
    border: 0;
    border-right: 1px solid #e5e5e5;
}

.board-social-list {
    position: absolute;
    left: 0;
    bottom: 62px;
    width: 60px;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: none;
    z-index: 20;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.board-social-dropdown.active .board-social-list {
    display: block;
}

.board-social-list a {
    width: 58px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #610615;
    font-size: 22px;
    border-bottom: 1px solid #eee;
}

.board-social-list a:last-child {
    border-bottom: 0;
}

.board-social-list a:hover {
    background: #610615;
    color: #fff;
}

.board-modal-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.board-modal-socials a {
    width: 42px;
    height: 42px;
    background: #610615;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
}

.board-modal-socials a:hover {
    background: #c8a83a;
    color: #fff;
}

@media (max-width: 767.98px) {
    .board-card-image {
        height: 500px;
    }
}