/* ============================================
   PROFILE PAGE STYLES
   ============================================ */

/* Profile Hero */
.profile-hero {
    background: var(--navy);
    padding: 20px 0;
}

.profile-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.profile-hero .back-link:hover {
    opacity: 0.8;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 80px;
}

@media (min-width: 992px) {
    .profile-grid {
        grid-template-columns: 280px 1fr;
        gap: 64px;
    }
}

/* Profile Sidebar */
.profile-sidebar {
    text-align: center;
}

@media (min-width: 992px) {
    .profile-sidebar {
        text-align: left;
        position: sticky;
        top: 96px;
        align-self: start;
    }
}

.profile-photo {
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 4px;
}

@media (min-width: 992px) {
    .profile-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        margin: 0 0 20px;
    }
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.profile-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.profile-contact-info {
    margin-bottom: 24px;
}

.profile-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--teal);
    word-break: break-all;
    transition: color 0.3s ease;
}

.profile-email:hover {
    color: var(--navy);
}

.profile-details {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.detail-row {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.detail-value {
    display: block;
    font-size: 0.85rem;
    color: var(--text);
}

/* Profile Main Content */
.profile-main {
    max-width: 100%;
}

.profile-main .intro-rule {
    width: 60px;
    height: 4px;
    background: var(--navy);
    margin-bottom: 28px;
}

.profile-main .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 32px;
}

.profile-main h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    position: relative;
}

.profile-main h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange);
}

.profile-main p {
    margin-bottom: 20px;
    line-height: 1.75;
}

.profile-main strong {
    font-weight: 700;
}

.profile-main em {
    font-style: italic;
}

/* Education List */
.education-list {
    list-style: none;
    margin-top: 8px;
}

.education-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.education-list li:last-child {
    border-bottom: none;
}
