.board-section {
position: relative;
width: 100%;
padding: 50px 0 60px;
background: var(--bg);
}
.board-section .container {
display: flex;
flex-direction: column;
gap: 4rem;
width: 90%;
margin: 0 auto;
} .board-section .dept-bg-img {
position: absolute;
inset: 0 0 0 0;
z-index: 0;
width: 100%;
height: 154px;
background-color: var(--bg-soft);
background-position: center;
background-repeat: no-repeat;
pointer-events: none;
}
.section-title {
position: relative;
z-index: 1;
margin-bottom: 30px;
font-size: 32px;
font-weight: 700;
line-height: 40px;
color: var(--primary);
text-align: center;
} .board-card-list {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: center;
gap: 2rem;
width: 100%;
height: auto;
} .board-card {
display: flex;
flex-direction: column;
gap: 1rem;
width: 308px;
height: 417px;
border-bottom-right-radius: 20px;
border-bottom-left-radius: 20px;
background-color: #fff;
box-shadow: 0px 16px 32px -12px rgba(88, 92, 95, 0.15);
cursor: pointer;
outline: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.board-card:hover,
.board-card:focus-visible {
transform: translateY(-4px);
box-shadow: 0px 20px 36px -12px rgba(88, 92, 95, 0.25);
}
.board-card .img-wraper {
overflow: hidden;
width: 100%;
height: 308px;
}
.board-card .img-wraper img {
width: 100%;
height: 308px;
object-fit: cover;
object-position: top;
}
.board-card .label-text {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0 1rem;
}
.board-card .label-text h3 {
margin-bottom: 0;
font-family: 'Nexa';
font-size: 20px;
font-weight: 900;
line-height: 28px;
color: #ED1848;
}
.board-card .label-text p {
font-family: 'Nexa';
font-size: 16px;
font-weight: 700;
line-height: 24px;
color: var(--text);
letter-spacing: -1.1%;
}
.board-card .board-bio {
display: none;
} .member-card-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
width: 100%;
}
.member-card {
overflow: hidden;
width: 308px;
height: 373px;
border-radius: 8px;
background-color: #fff;
box-shadow: 0px 10px 24px -10px rgba(88, 92, 95, 0.2);
}
.member-card img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
} .board-modal {
position: fixed;
inset: 0;
z-index: 99999; display: none;
}
.board-modal.is-open {
display: block;
}
.board-modal__overlay {
position: absolute;
inset: 0;
z-index: 1;
background: rgba(20, 20, 20, 0.65);
}
.board-modal__dialog {
position: relative;
z-index: 2; display: flex;
flex-direction: row;
width: min(1100px, 92vw);
max-height: 90vh;
margin: 5vh auto;
overflow: hidden;
border-radius: 12px;
background: #fff;
box-shadow: 0px 24px 60px rgba(0, 0, 0, 0.35);
animation: board-modal-in 0.2s ease;
}
@keyframes board-modal-in {
from { opacity: 0; transform: translateY(12px); }
to   { opacity: 1; transform: translateY(0); }
}
.board-modal__close {
position: absolute;
top: 12px;
right: 16px;
z-index: 2;
width: 36px;
height: 36px;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.9);
font-size: 22px;
line-height: 1;
color: var(--text, #333);
cursor: pointer;
}
.board-modal__close:hover {
background: #fff;
}
.board-modal__image {
flex: 0 0 42%;
max-width: 42%;
min-height: 100%;
}
.board-modal__image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
transition: opacity 0.15s ease;
}
.board-modal__image img.is-loading {
opacity: 0;
}
.board-modal__content {
flex: 1 1 auto;
padding: 2.5rem 2.5rem 2rem;
overflow-y: auto;
}
.board-modal__content h3 {
margin-top: 0;
margin-bottom: 0.25rem;
font-family: 'Nexa';
font-size: 26px;
font-weight: 900;
color: #ED1848;
}
.board-modal__role {
margin-bottom: 1.5rem;
font-family: 'Nexa';
font-size: 16px;
font-weight: 700;
color: var(--text);
}
.board-modal__bio p {
margin-bottom: 1.2rem;
font-size: 15px;
line-height: 1.7;
color: var(--text);
}
.board-modal__bio p:last-child {
margin-bottom: 0;
}  body.board-modal-open {
position: fixed;
overflow: hidden;
width: 100%;
}  @media (max-width: 480px) {
.board-modal__close {
top: 8px;
right: 8px;
}
} @media (max-width: 767px) {
.board-card-list {
flex-direction: column;
flex-wrap: nowrap;
}
.board-card {
width: 100%;
max-width: 100%;
height: auto;
}
.board-card .img-wraper {
width: 100%;
height: 300px;
}
.board-card .img-wraper img {
height: auto;
}
.board-card .label-text {
flex: 1;
padding: 1rem;
}
.member-card-list {
gap: 1rem;
}
} @media (max-width: 1023px) {
.board-modal__dialog {
flex-direction: column;
width: 92vw;
max-height: 92vh;
margin: 4vh auto;
}
.board-modal__image {
flex: 0 0 auto;
width: 100%;
max-width: 100%;
height: auto;
aspect-ratio: 3 / 4;
}
.board-modal__content {
padding: 1.75rem 1.5rem 1.5rem;
}
.board-modal__content h3 {
font-size: 22px;
}
} @media (min-width: 768px) and (max-width: 1279px) {
.section-title {
margin-bottom: 40px;
font-size: 32px;
}
.board-card-list {
gap: 2rem;
}
.member-card {
width: 270px;
height: 270px;
}
} @media (min-width: 1280px) {
.container {
padding: 0 60px;
}
.section-title {
margin-bottom: 50px;
font-size: 32px;
line-height: 48px;
}
.member-card {
width: 308px;
height: 373px;
}
}