/* About page — aligns with home rhythm (1120px, 1.25rem gutter); visual refresh scoped to .page-about */

.page-about {
    --ab-accent: #1e3a5f;
    --ab-accent-soft: #2563eb;
    --ab-text: #0f172a;
    --ab-muted: #64748b;
    --ab-border: rgba(15, 23, 42, 0.08);
    --ab-radius: 18px;
    --ab-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR",
        sans-serif;
    font-family: var(--ab-font);
    color: var(--ab-text);
    background-color: #f4f6fb;
    background-image:
        radial-gradient(ellipse 120% 80% at 100% -20%, rgba(37, 99, 235, 0.1), transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(30, 58, 95, 0.06), transparent 45%);
    background-attachment: fixed;
    min-height: 100vh;
}


/* ----- 상단 프로필 ----- */
.page-about .about-hero {
    max-width: 1120px;
    margin: 2.5rem auto 2.5rem;
    padding: 0 1.25rem;
}

.page-about .about-photo-frame {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.page-about .about-photo-frame::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(30, 58, 95, 0.12));
    z-index: 0;
}

.page-about .about-photo {
    position: relative;
    z-index: 1;
    max-width: 380px;
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 16px 40px rgba(15, 23, 42, 0.12);
}

.page-about .about-header {
    margin-bottom: 1.35rem;
}

.page-about .about-name {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    color: var(--ab-text);
}

.page-about .about-position {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ab-muted);
    margin-bottom: 0.35rem;
    white-space: pre-line;
}

.page-about .about-meta {
    font-size: 0.9rem;
    color: var(--ab-muted);
    font-weight: 500;
}

.page-about .about-univ {
    color: var(--ab-accent-soft);
    font-weight: 700;
}

.page-about .about-highlight {
    margin: 1.25rem 0 1.75rem;
    padding: 1rem 1.2rem 1rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-left: 4px solid var(--ab-accent-soft);
    background: linear-gradient(105deg, #ffffff 0%, #f4f7fd 100%);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--ab-text);
}

.page-about .about-section-title {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ab-text);
    margin-bottom: 0.65rem;
}

.page-about .about-bio .about-section-title::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 0.55rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ab-accent-soft), transparent);
}

.page-about .about-bio-text {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1rem;
}

.page-about .about-links {
    margin-top: 1rem;
}

.page-about .about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ab-accent-soft);
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.22);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-about .about-link:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.14);
    color: var(--ab-accent);
}

/* ----- CV 카드 그리드 ----- */
.page-about .cv-grid {
    max-width: 1120px;
    margin: 2.5rem auto 5rem;
    padding: 0 1.25rem;
}

.page-about .cv-card {
    position: relative;
    isolation: isolate;
    height: 100%;
    padding: 1.35rem 1.4rem 1.45rem;
    border-radius: var(--ab-radius);
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: linear-gradient(175deg, #ffffff 0%, #f7f9fc 55%, #eef2f9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 32px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-about .cv-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    border-radius: var(--ab-radius) var(--ab-radius) 0 0;
    background: linear-gradient(90deg, var(--ab-accent), var(--ab-accent-soft), rgba(37, 99, 235, 0.35));
    z-index: 3;
}

/* 학위증 스타일 — 오른쪽 상단 이중 띠 (Education / Leadership 공통) */
.page-about .cv-card.cv-card--ribbon {
    overflow: hidden;
}

.page-about .cv-card.cv-card--ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(40%, 280px);
    height: min(58%, 280px);
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
        128deg,
        transparent 0%,
        transparent 38%,
        rgba(37, 99, 235, 0.14) 38%,
        rgba(37, 99, 235, 0.14) 44%,
        transparent 44%,
        transparent 48.5%,
        rgba(30, 58, 95, 0.11) 48.5%,
        rgba(30, 58, 95, 0.11) 54.5%,
        transparent 54.5%
    );
    -webkit-mask-image: linear-gradient(218deg, #000 0%, #000 38%, transparent 68%);
    mask-image: linear-gradient(218deg, #000 0%, #000 38%, transparent 68%);
}

.page-about .cv-card.cv-card--ribbon > h5,
.page-about .cv-card.cv-card--ribbon > div {
    position: relative;
    z-index: 2;
}

.page-about .cv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 40px rgba(30, 58, 95, 0.11);
}

.page-about .cv-card h5 {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
    padding-bottom: 0.65rem;
    color: var(--ab-text);
    border-bottom: 1px solid var(--ab-border);
}

.page-about .cv-dot {
    background: linear-gradient(135deg, var(--ab-accent-soft), var(--ab-accent));
}

.page-about .cv-date {
    color: var(--ab-accent-soft);
    font-weight: 700;
}

.page-about .cv-text {
    color: #475569;
}

.page-about .cv-univ-logo {
    vertical-align: middle;
}

/* Education: Leadership과 동일하게 항목마다 한 줄(날짜·로고 | 학위·학교), 세로로 쌓음 */
.page-about .cv-education-layout--rows {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.page-about .cv-education-layout--rows .cv-edu-row {
    margin-bottom: 0;
    align-items: start;
}

.page-about .cv-education-layout--rows .cv-edu-row:not(:last-child) {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--ab-border);
}

.page-about .cv-education-layout--rows .cv-item-grid-wide {
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
    gap: 12px 18px;
}

.page-about .cv-education-layout--rows .cv-edu-date-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.page-about .cv-univ-logo--edu-row {
    width: 72px;
    height: 54px;
    margin: 0;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.page-about .cv-education-layout--rows .cv-edu-row .cv-date {
    font-size: 0.88rem;
    line-height: 1.35;
}

/* Research / Peer — 같은 줄의 두 카드 높이 맞춤 */
.page-about .cv-card--half {
    height: 100%;
}

.page-about .footer {
    background: #fff;
    border-top: 1px solid var(--ab-border);
    margin-top: 0;
}

.page-about .footer .row > div {
    align-items: flex-start;
}

@media (max-width: 991.98px) {
    .page-about .about-hero .row {
        text-align: center;
    }

    .page-about .about-bio .about-section-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .page-about .about-links {
        display: flex;
        justify-content: center;
    }

    .page-about .footer .row > div {
        align-items: stretch;
        text-align: center;
    }

    .page-about .footer-panel {
        text-align: center;
    }

    .page-about .footer-link {
        justify-content: center;
    }
}
