@charset "utf-8";

.member-page {
    padding-bottom: 48px;
}

.member-hero {
    position: relative;
    margin: 0 0 28px;
    padding: 42px 44px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(96, 177, 255, 0.24), transparent 28%),
        linear-gradient(135deg, #0f1930 0%, #1e3666 56%, #166569 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(16, 29, 58, 0.18);
}

.member-hero::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -62px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.member-hero > * {
    position: relative;
    z-index: 1;
}

.member-hero-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.member-hero-title {
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.16;
    font-weight: 600;
    word-break: keep-all;
}

.member-hero-text {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.84);
}

.member-tab-wrap {
    margin-bottom: 18px !important;
}

.member-page .anchor_box .tab {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.member-page .anchor_box .tab li,
.member-page .anchor_box .tab li.active {
    float: none;
    width: auto;
    min-width: 132px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
}

.member-page .anchor_box .tab li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #d8e0ee;
    border-radius: 999px;
    background: #fff;
    color: #4b607d;
    font-weight: 500;
    box-shadow: 0 10px 22px rgba(17, 30, 58, 0.05);
}

.member-page .anchor_box .tab li.active a {
    border-color: transparent;
    background: linear-gradient(135deg, #103c92 0%, #0d6d74 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(16, 60, 146, 0.22);
}

.member-card-grid {
    margin-top: 12px;
}

.member-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.member-page-faculty .member-card-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px;
}

.member-card-grid-compact .member-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-profile-card {
    width: auto !important;
    min-height: 0 !important;
    float: none !important;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 48px rgba(15, 29, 55, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.member-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 29, 55, 0.18);
}

.member-profile-card .mb_cont {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-profile-media {
    margin: 0 !important;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe9f7 0%, #f2f6fb 100%);
}

.member-profile-media a,
.member-profile-media img {
    display: block;
    width: 100%;
}

.member-profile-media img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
}

.member-profile-media-compact img {
    height: 240px !important;
}

.member-profile-body,
.member-profile-card .mb_detail {
    width: auto !important;
    padding: 24px 24px 26px;
}

.member-profile-card .mb_name {
    margin: 0 0 16px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid #e4ebf5 !important;
    font-size: 28px !important;
    line-height: 1.25;
}

.member-profile-card .mb_name a {
    color: #111b2e;
}

.member-profile-card .mb_name_en {
    display: block;
    margin-top: 8px;
    color: #5e718e !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.member-profile-card .mb_items {
    margin-bottom: 10px;
}

.member-profile-card .mb_items dl {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 12px;
    align-items: start;
}

.member-profile-card .mb_items dt {
    width: auto !important;
    margin: 0 !important;
    color: #6f7f98 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

.member-profile-card .mb_items dd {
    width: auto !important;
    max-width: none !important;
    margin: 0;
    color: #1b2638 !important;
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}

.member-profile-card .mb_items dd a {
    color: #1b2638;
}

.member-profile-card .mb_items_dot {
    display: none;
}

.member-profile-card .mb_items img {
    margin-right: 4px;
    vertical-align: middle;
}

@media screen and (max-width: 1024px) {
    .member-card-list,
    .member-card-grid-compact .member-card-list {
        grid-template-columns: 1fr;
    }

    .member-page-faculty .member-card-list {
        grid-template-columns: 1fr !important;
    }

    .member-hero {
        padding: 34px 28px;
    }

    .member-hero-title {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .member-hero {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .member-hero-title {
        font-size: 28px;
    }

    .member-hero-text {
        font-size: 14px;
    }

    .member-page .anchor_box .tab {
        gap: 10px;
    }

    .member-page .anchor_box .tab li,
    .member-page .anchor_box .tab li.active {
        width: calc(50% - 5px);
        min-width: 0;
    }

    .member-page .anchor_box .tab li a {
        min-height: 46px;
        padding: 0 14px;
        font-size: 14px;
    }

    .member-profile-media img {
        height: 240px !important;
    }

    .member-profile-body,
    .member-profile-card .mb_detail {
        padding: 20px 18px 22px;
    }

    .member-profile-card .mb_name {
        font-size: 24px !important;
    }

    .member-profile-card .mb_items dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.member-profile-detail {
    display: grid;
    grid-template-columns: minmax(280px, 456px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin: 0 0 28px;
}

.member-profile-detail-media {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe9f7 0%, #f2f6fb 100%);
    box-shadow: 0 20px 44px rgba(15, 29, 55, 0.12);
}

.member-profile-detail-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.member-profile-detail-card {
    padding: 28px 30px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 29, 55, 0.12);
}

.member-profile-detail-name {
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e4ebf5;
    color: #101a2e;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
}

.member-profile-detail-name span {
    display: block;
    margin-top: 10px;
    color: #5c708f;
    font-size: 15px;
    font-weight: 500;
}

.member-profile-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-profile-detail-list li {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef3f9;
}

.member-profile-detail-list strong {
    color: #677b98;
    font-size: 13px;
    font-weight: 700;
}

.member-profile-detail-list span,
.member-profile-detail-list a {
    color: #172033;
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.member-profile-detail-actions {
    margin-top: 24px;
}

.member-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #103c92 0%, #0d6d74 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(16, 60, 146, 0.2);
}

.member-profile-anchor {
    margin-bottom: 24px;
}

.member-profile-empty {
    margin: 14px 0 0;
    color: #677b98;
}

.member-profile-section {
    margin-bottom: 22px;
}

.member-profile-section-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    color: #13203a;
}

.member-profile-section-body {
    padding: 24px 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 29, 55, 0.1);
}

.member-profile-section-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-profile-section-list li {
    position: relative;
    padding: 0 0 0 20px;
    color: #25344d;
    font-size: 15px;
    line-height: 1.9;
}

.member-profile-section-list li + li {
    margin-top: 8px;
}

.member-profile-section-list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #103c92 0%, #0d6d74 100%);
}

@media screen and (max-width: 1024px) {
    .member-profile-detail {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .member-profile-detail-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .member-profile-detail-name {
        font-size: 28px;
    }

    .member-profile-detail-list li {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .member-profile-section-body {
        padding: 20px 18px;
    }
}
