.board-members{

    margin: rem(80px 0);

    p{
        font-size: $fs-16;
    }

    .margin-bottom-16{
		margin-bottom: 16px;
	}

    .row{
        text-align: left;
    }

    .board-member{
        display: flex;
        flex-direction: column;
        gap: 12px;

        @include sm{
            /*width: 302px;*/
        }

        &__photo{
            border-radius: 16px;
            overflow: hidden;
            position: relative;
        }

        img{
            width: 100%;
            height: 292px;
            border-radius: 16px;
            object-fit: cover;
            object-position: center;
            transition: transform 0.3s ease-in-out;
        }

        .board-member__name{
            transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
        }

        &__icon-button{
            position: absolute;
            right: 16px;
            bottom: 16px;
        }

        &:hover {

            cursor: pointer;
            
            .board-member__name{
                color: $c-5;
            }
            
            img{
                transform: scale(1.08);
                overflow: hidden;
            }
        }

    }

    .justify-content-center{
        justify-content: center;
    }

    .margin-top-24{
        margin-top: 24px;
    }

        .modal {
        display: none;
        position: fixed;
        opacity: 0;
        transition: opacity 0.2s ease;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.6);
        justify-content: center;
        align-items: center;
        overflow-y: auto;
        z-index: 1000;
        

        &.show{
        opacity: 1;           
        }

        p{
            font-size: $fs-18;
        }

        img{
            width: 290px;
            height: 281px;
            object-fit: cover;
            object-position: center
        }

        .flex{
            display: flex;
        }

        .column{
            flex-direction: column;
        }

        &__title{
            font-size: $fs-32 !important;
            font-weight: $fw-bold;

            @include sm {
			font-size: $fs-24 !important;
		    }
        }

        &__gap{
            gap: 16px;
        }

        &__header-gap{
            gap: 50px;

            @include sm {
			flex-direction: column;
		    }
        }

        ul{
            list-style-position: inside;
        }

        li{
            font-size: $fs-18;
        }
    }

    .modal__content {
        background: #fff;
        padding: 32px 32px 40px 32px;
        width: 958px;
        border-radius: 8px;
        position: relative;

        @include sm {
			max-height: 90vh;
            max-width: 90vw;
            overflow-y: auto;
            padding: 16px;
		}
    }

    .modal__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .modal__overlay {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }
}