/* =========================================================
   GRADUATE MENTORSHIP RECORD
   Minimal extension of the project case-study system.
   ========================================================= */

.mentorship-page .mentorship-record-main {
    padding-bottom: 76px;
}

.mentorship-page .mentorship-record-header {
    max-width: 980px;
    margin-bottom: 48px;
}

.mentorship-page .mentorship-facts {
    max-width: 980px;
    margin-bottom: 56px;
}

.mentorship-page .mentorship-record-tools {
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) minmax(390px, 1fr);
    gap: 38px;
    align-items: end;
    max-width: 980px;
    margin: 0 0 58px;
    padding: 24px 0;
    border-top: 1px solid var(--cs-line);
    border-bottom: 1px solid var(--cs-line);
}

.mentorship-page .mentorship-search-wrap {
    position: relative;
}

.mentorship-page .mentorship-search-wrap label {
    display: block;
    margin-bottom: 8px;
    color: var(--cs-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mentorship-page #mentorship-search {
    width: 100%;
    min-height: 48px;
    padding: 11px 92px 11px 0;
    border: 0;
    border-bottom: 1px solid #bfc7cc;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--cs-ink);
    font-family: inherit;
    font-size: 16px;
    box-shadow: none;
}

.mentorship-page #mentorship-search:focus {
    border-bottom-color: var(--cs-blue);
}

.mentorship-page #mentorship-search-count {
    position: absolute;
    right: 0;
    bottom: 14px;
    color: var(--cs-muted);
    font-size: 11px;
    font-weight: 500;
}

.mentorship-page .mentorship-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mentorship-page .mentorship-filter {
    padding: 8px 12px;
    border: 1px solid var(--cs-line);
    border-radius: 999px;
    background: transparent;
    color: var(--cs-muted);
    font-size: 11px;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.mentorship-page .mentorship-filter:hover,
.mentorship-page .mentorship-filter:focus,
.mentorship-page .mentorship-filter.is-active {
    border-color: var(--cs-blue);
    color: var(--cs-navy);
    background: #f7fbfd;
    outline: none;
}

.mentorship-page .mentorship-record {
    max-width: 980px;
}

.mentorship-page .mentorship-group {
    margin-bottom: 70px;
}

.mentorship-page .mentorship-group[hidden] {
    display: none;
}

.mentorship-page .mentorship-group-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 13px;
    border-bottom: 2px solid var(--cs-navy);
}

.mentorship-page .mentorship-group-heading h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.mentorship-page .mentorship-group-heading span {
    color: var(--cs-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mentorship-page .mentorship-list {
    margin: 0;
}

.mentorship-page .mentorship-entry {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 22px;
    padding: 26px 0 28px;
    border-bottom: 1px solid var(--cs-line);
}

.mentorship-page .mentorship-entry[hidden] {
    display: none;
}

.mentorship-page .mentorship-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: 2px;
    border: 1px solid #d8e0e4;
    border-radius: 50%;
    background: #f7fafb;
    color: var(--cs-navy);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .025em;
}

.mentorship-page .mentorship-entry-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 6px;
}

.mentorship-page .mentorship-role,
.mentorship-page .mentorship-year {
    color: var(--cs-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mentorship-page .mentorship-role {
    color: var(--cs-blue);
}

.mentorship-page .mentorship-entry h3 {
    margin: 0 0 7px;
    color: var(--cs-ink);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}

.mentorship-page .mentorship-project-title {
    max-width: 760px;
    margin: 0 0 8px;
    color: #454b50;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}

.mentorship-page .mentorship-program,
.mentorship-page .mentorship-period {
    margin: 0;
    color: var(--cs-muted);
    font-size: 12px;
    line-height: 1.55;
}

.mentorship-page .mentorship-period {
    margin-top: 3px;
}

.mentorship-page .mentorship-record-note {
    max-width: 780px;
    margin: 0 0 50px;
    padding-top: 20px;
    border-top: 1px solid var(--cs-line);
    color: var(--cs-muted);
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .mentorship-page .mentorship-record-tools {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .mentorship-page .mentorship-filter-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .mentorship-page .case-study {
        padding-top: 34px;
    }
    .mentorship-page .case-study-shell {
        padding-left: 20px;
        padding-right: 20px;
    }
    .mentorship-page .mentorship-record-header {
        margin-bottom: 36px;
    }
    .mentorship-page .mentorship-facts {
        grid-template-columns: repeat(2, minmax(0,1fr));
        row-gap: 20px;
    }
    .mentorship-page .mentorship-facts .case-study-fact:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
    .mentorship-page .mentorship-record-tools {
        margin-bottom: 42px;
        padding: 20px 0;
    }
    .mentorship-page .mentorship-entry {
        grid-template-columns: 46px minmax(0,1fr);
        gap: 16px;
        padding: 22px 0 24px;
    }
    .mentorship-page .mentorship-avatar {
        width: 44px;
        height: 44px;
        font-size: 11px;
    }
    .mentorship-page .mentorship-entry h3 {
        font-size: 18px;
    }
    .mentorship-page .mentorship-project-title {
        font-size: 14px;
    }
    .mentorship-page .mentorship-entry-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
