
/* ==============================
  SINGLE
   ============================== */

/* === Variables === */
.profile-page {
    --primary: #2a2e60;
    --accent:  #35C4F5;
    --light:   #f5f4f0;
    --white:   #ffffff;
    --text:    #444;
    background: var(--light);
    min-height: 100vh;
    padding-bottom: 80px;
}

html {
    scroll-behavior: smooth;
}

.profile-page *, .profile-page *::before, .profile-page *::after {
    box-sizing: border-box;
}

/* ── BACK ── */
.profile-back-bar {
    padding: 32px 48px;
    margin: 0 auto;
}

.profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.profile-back-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.profile-back-link:hover { color: var(--ast-global-color-1); }
.profile-back-link:hover svg { transform: translateX(-4px); }

/* ── WRAPPER ── */
.profile-inner {
    margin: 0 auto;
    padding: 0 48px;
    display: block;
}

.profile-top {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 56px;
}

/* ── PHOTO ── */
.profile-photo-col {
    position: static;
}

.profile-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(42,46,96,0.15);
    position: relative;
}

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

.profile-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1.5px solid rgba(201,169,110,0.35);
    pointer-events: none;
}

.profile-info {
    padding-top: 16px;
}

.profile-role {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 30px;
}

.profile-name {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.08;
    margin-bottom: 20px;
}

.profile-divider {
    width: 300px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 28px;
}

.profile-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    padding: 11px 20px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 2px 14px rgba(42,46,96,0.08);
    transition: box-shadow 0.25s, transform 0.25s;
}

.profile-email:hover {
    box-shadow: 0 8px 24px rgba(42,46,96,0.14);
    transform: translateY(-2px);
}

.profile-email svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex-shrink: 0;
}

.profile-bottom {
    display: block;
}

.profile-section-label {
    font-size: 0.68rem;
    font-weight: bold;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 14px;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 44px;
}

.profile-bio p { margin-bottom: 16px; }
.profile-bio p:last-child { margin-bottom: 0; }

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tag {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    background: var(--white);
    border: 1.5px solid rgba(42,46,96,0.1);
    border-radius: 40px;
    padding: 7px 18px;
    transition: border-color 0.2s, background 0.2s;
}

.profile-tag:hover {
    border-color: var(--ast-global-color-1);
    background: rgba(201,169,110,0.06);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .profile-back-bar {
        padding: 20px 24px;
    }

    .profile-inner {
        padding: 0 24px;
    }

    .profile-top {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 36px;
    }

    .profile-photo-col {
        max-width: 260px;
    }

    .profile-name {
        font-size: 2rem;
    }
}