/*  Board Members Cards  */
.board-members-grid {
    display: grid;
    grid-template-columns: repeat(var(--bm-columns, 3), 1fr);
    gap: 50px;
}

@media (max-width: 980px) { 
    .board-members-grid { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 767px)  { 
    .board-members-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    } 
}

.board-member-card .fa {
    font-size: 16px;
    margin-right: 6px;
    color: var(--e-global-color-primary, var(--ev-red));
}

.board-member-card {
    background: #fff;
    border: 0.5px solid var(--ev-border);
    border-radius: var(--ev-radius);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.board-member-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--e-global-color-primary, var(--ev-red));
}

.board-member-card:hover {
    box-shadow: 0 8px 24px rgba(156,0,0,.1);
    transform: translateY(-3px);
}

.board-member-card__avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--e-global-color-primary, var(--ev-red));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.board-member-card__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.board-member-card__position {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--e-global-color-primary, var(--ev-red));
    background: var(--ev-bg-empty, #F0E8E8);
    padding: 3px 12px;
    border-radius: 100px;
}

.board-member-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ev-dark, #060606);
    line-height: 1.3;
}

.board-member-card__email,
.board-member-card__phone {
    font-size: 13px;
    color: var(--ev-gray, #7A7A7A);
    text-decoration: none;
    display: block;
    transition: color .2s;
}

.board-member-card__email:hover,
.board-member-card__phone:hover {
    color: var(--e-global-color-primary, var(--ev-red));
}


/* Departments */
.departments-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.department-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.department-card--reverse {
    direction: rtl;
}

.department-card--reverse > * {
    direction: ltr;
}

.department-card__image {
    border-radius: 16px;
    overflow: hidden;
}

.department-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.department-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.department-card__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--e-global-color-primary, #9C0000);
    margin: 0;
}

.department-card__badge {
    display: inline-block;
    background: var(--e-global-color-primary, #9C0000);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 4px;
    align-self: flex-start;
}

.department-card__description {
    font-size: 18px;
    color: #000;
    margin: 0;
}

.department-card__schedule {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border: 1px solid var(--ev-border, #D4BCBC);
    border-radius: 10px;
    padding: 16px;
}

.department-card__schedule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
}

.department-card__schedule-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--e-global-color-primary, #9C0000);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.department-card__schedule-icon i {
    color: #fff;
    font-size: 15px;
}

.department-card__schedule-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ev-gray, #7A7A7A);
}

.department-card__schedule-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ev-dark, #060606);
}

@media (max-width: 768px) {
    .department-card {
        grid-template-columns: 1fr;
    }

    .department-card--reverse {
        direction: ltr;
    }
}

/* ── Newsletter Form ── */
.newsletter-form-wrapper {
    background: #fff;
    border-radius: 12px;
}

.newsletter-form__row {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
}

.newsletter-form__input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e2d8d8 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    color: #333 !important;
    background: #fff !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color .2s !important;
}

.newsletter-form__input:focus {
    border-color: #8B0000 !important;
}

.newsletter-form__submit {
    padding: 6px 8px 6px 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    background-color: #8B0000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: background-color .2s !important;
    align-self: stretch  !important;
    height: fit-content !important;
}

.newsletter-form__submit::after {
    content: '' !important;
    background-color: #fff !important;
    border-radius: 50px !important;
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239c0000'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2v7z'/%3E%3C/svg%3E") !important;
}

.newsletter-form__submit:hover {
    background-color: #6e0000 !important;
}

.newsletter-form__message {
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    margin-bottom: 12px !important;
}

.newsletter-form__message--success {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
}

.newsletter-form__message--error {
    background: #ffebee !important;
    color: #c62828 !important;
}

.newsletter-form__unsubscribe {
    margin-top: 12px !important;
    font-size: 14px !important;
    color: #666 !important;
}

.newsletter-form__unsubscribe p {
    margin: 0 0 8px !important;
}

.newsletter-form__btn--unsubscribe {
    background: none !important;
    border: none !important;
    color: #8B0000 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0 !important;
    text-decoration: underline !important;
}

.newsletter-form__btn--unsubscribe:hover {
    color: #6e0000 !important;
}

@media (max-width: 980px) {
    .newsletter-form__row {
        flex-direction: column !important;
    }

    .newsletter-form__submit {
        align-self: flex-start  !important;
    }
}