

/* Grid Layout */
.exec-board-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.exec-board-grid.exec-board-cols-1 {
    grid-template-columns: 1fr;
}

.exec-board-grid.exec-board-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.exec-board-grid.exec-board-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.exec-board-grid.exec-board-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- Layout 1: Vertical Card ---- */
.exec-board-card-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 46.78%, rgba(169, 238, 255, 0.18) 100%);
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.exec-board-card-vertical:hover {
    box-shadow: 0 0px 24px rgba(0, 0, 0, 0.24);
    transform: translateY(-4px);
}

/* Header Image (Logo) */
.exec-board-header {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.exec-board-header-img {
    max-width: 220px;
    height: auto;
    object-fit: contain;
    padding-left: 16px;
    padding-right: 16px;
}

/* Avatar */
.exec-board-card-vertical .exec-board-avatar-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    background: radial-gradient(87.93% 87.92% at 57.66% 21.42%, rgba(0, 150, 219, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px 2px 4px 0px #0000001A;
    border: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exec-board-card-vertical .exec-board-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Role */
.exec-board-role {
    font-size: 15px;
    color: var(--tg-secondary-color);
    margin-bottom: 4px;
    font-weight: bold;
}

/* Name */
.exec-board-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-primary-color);
    margin: 4px 0 6px;
    line-height: 1.3;
}

/* Term */
.exec-board-term {
    font-size: 14px;
    color: var(--tg-primary-color);
    margin-bottom: 16px;
}

/* Divider */
.exec-board-divider {
    opacity: 1;
    width: 100%;
    border: none;
    border-top: 3px solid #83C34A;
    margin: 8px auto 14px;
}

/* Description */
.exec-board-description {
    font-size: 14px;
    color: var(--tg-primary-color);
    line-height: 1.7;
    text-align: center;
    margin-top: 16px;
}

.exec-board-description p {
    margin-bottom: 6px;
}

.exec-board-description p:last-child {
    margin-bottom: 0;
}

.exec-board-card-simple .exec-board-description,
.exec-board-card-simple .exec-board-description strong {
    color: #434343 !important;
    font-weight: bold !important;
}

/* ---- Layout 2: Simple Card (no avatar, no term, no divider) ---- */
.exec-board-card-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0) 46.78%, rgba(169, 238, 255, 0.18) 100%); */
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    align-self: start; /* Prevents stretching to Layout 1's height */
    min-height: 180px; /* Keeps simple cards consistent */
}

/* Vertical cards should still stretch to match each other if in same row */
.exec-board-card-vertical {
    height: 100%;
}

.exec-board-card-simple:hover {
    box-shadow: 0 0px 24px rgba(0, 0, 0, 0.24);
    transform: translateY(-4px);
}

.exec-board-card-simple .exec-board-description {
    text-align: center;
}

/* ---- Pagination ---- */
.exec-board-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.exec-board-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.exec-board-pagination ul li {
    margin: 0;
}

.exec-board-pagination ul li a,
.exec-board-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.exec-board-pagination ul li a:hover {
    background-color: var(--tg-primary-color);
    color: #fff;
    border-color: var(--tg-primary-color);
}

.exec-board-pagination ul li span.current {
    background-color: var(--tg-primary-color);
    color: #fff;
    border-color: var(--tg-primary-color);
}

.exec-board-pagination ul li .dots {
    background: transparent;
    border: none;
    color: #999;
}

.exec-board-pagination ul li a.prev,
.exec-board-pagination ul li a.next {
    background: transparent;
    border: none;
    color: var(--tg-primary-color);
    font-size: 24px;
}

.exec-board-pagination ul li a.prev:hover,
.exec-board-pagination ul li a.next:hover {
    background: transparent;
    color: var(--tg-secondary-color);
}

/* Slider Style */
.exec-board-slider-wrapper {
    margin: 0 -15px;
}

.exec-board-slider-wrapper .slick-list {
    overflow: hidden;
    padding-top: 16px;
    padding-bottom: 16px;
}

.exec-board-slider-item {
    padding: 0 15px;
    outline: none;
}

/* Remove box shadow for cards inside carousel as requested */
/* .exec-board-slider-wrapper .exec-board-card {
    box-shadow: none;
}

.exec-board-slider-wrapper .exec-board-card:hover {
    box-shadow: none;
    transform: none;
} */

/* Fix for slick equal height */
.exec-board-slider-wrapper .slick-track {
    display: flex !important;
    align-items: stretch;
}

.exec-board-slider-wrapper .slick-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.exec-board-slider-wrapper .exec-board-card {
    height: 100%;
}

/* Slick Arrows */
.exec-board-slider-wrapper .slick-prev,
.exec-board-slider-wrapper .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    /* color: var(--tg-text-color); */
    
    font-size: 25px;

    color: #666666 !important;
    fill: #666666 !important;
}

/* Hide default slick-theme arrows (pseudo-elements) */
.exec-board-slider-wrapper .slick-prev:before,
.exec-board-slider-wrapper .slick-next:before {
    display: none !important;
}

.exec-board-slider-wrapper .slick-prev { left: -20px; }
.exec-board-slider-wrapper .slick-next { right: -20px; }

/* .exec-board-slider-wrapper .slick-prev:hover,
.exec-board-slider-wrapper .slick-next:hover {
    background: var(--tg-primary-color);
    color: #fff;
    border-color: var(--tg-primary-color);
} */

/* Slick Dots */
.exec-board-slider-wrapper .slick-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.exec-board-slider-wrapper .slick-dots li {
    margin: 0 5px;
}

.exec-board-slider-wrapper .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d1d1;
    border: none;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exec-board-slider-wrapper .slick-dots li.slick-active button {
    background: var(--tg-primary-color);
    width: 25px;
    border-radius: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .exec-board-grid.exec-board-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .exec-board-grid.exec-board-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .exec-board-grid.exec-board-cols-2,
    .exec-board-grid.exec-board-cols-3,
    .exec-board-grid.exec-board-cols-4 {
        grid-template-columns: 1fr;
    }
}
