/* FAAGL Dev Pages — scoped styles */

/* Slider container */
.foundation-slider-row .fl-content-slider {
    background: #fff;
    border-radius: 8px;
}

/* Whole slide clickable */
.foundation-slider-row .fl-slide {
    cursor: pointer;
}

/* On slide hover, activate the button */
.foundation-slider-row .fl-slide:hover .fl-slide-cta-button .fl-button {
    background: #0D1F43 !important;
    border-color: #0D1F43 !important;
    color: #fff !important;
}
.foundation-slider-row .fl-slide:hover .fl-slide-cta-button .fl-button span {
    color: #fff !important;
}

/* Ghost button default */
.fl-slide-cta-button .fl-button-wrap .fl-button {
    background: transparent !important;
    border: 2px solid #66AC4B !important;
    color: #131C3A !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
}
.fl-slide-cta-button .fl-button-wrap .fl-button:hover {
    background: #0D1F43 !important;
    border-color: #0D1F43 !important;
    color: #fff !important;
}
.fl-slide-cta-button .fl-button-wrap .fl-button span {
    color: inherit !important;
}
.fl-slide-cta-button .fl-button-wrap {
    text-align: center !important;
}

/* Reduce space below slider */
.foundation-slider-row .bx-wrapper {
    margin-bottom: 0 !important;
}

/* Arrows */
.fl-module-content-slider .fl-content-slider-navigation {
    z-index: 100 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .foundation-slider-row .fl-content-slider {
        border-radius: 0;
    }
    .fl-module-content-slider .fl-content-slider-navigation {
        display: none;
    }
    .fl-slide-cta-button .fl-button-wrap .fl-button {
        font-size: 13px !important;
        padding: 8px 20px !important;
    }
}/* Board of Directors grid */
.faagl-board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.faagl-board-member {
    text-align: center;
}
.faagl-board-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}
.faagl-board-member h4 {
    color: #131C3A;
    font-size: 16px;
    margin: 0 0 4px;
}
.faagl-board-member .faagl-role {
    color: #66AC4B;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.faagl-board-member .faagl-affiliation {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* Awards accordion (native <details>) */
details.faagl-award {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 8px;
}
details.faagl-award summary {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #131C3A;
    font-size: 15px;
    list-style: none;
    position: relative;
    padding-right: 40px;
}
details.faagl-award summary::-webkit-details-marker {
    display: none;
}
details.faagl-award summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
}
details.faagl-award[open] summary::after {
    content: '\2212';
}
details.faagl-award[open] summary {
    border-bottom: 1px solid #e0e0e0;
}
details.faagl-award > p,
details.faagl-award > div {
    padding: 12px 16px;
}
details.faagl-award p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
details.faagl-award p:last-child {
    margin-bottom: 0;
}
/* Breathing room at the bottom of an open accordion */
details.faagl-award > *:last-child {
    padding-block-end: 18px;
}

/* Mobile */
@media (max-width: 768px) {
    .faagl-board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .faagl-board-member img {
        width: 120px;
        height: 120px;
    }
}
@media (max-width: 480px) {
    .faagl-board-grid {
        grid-template-columns: 1fr;
    }
}
