/* ===== Steel Blue About Page ===== */

/* --- Subtle page background texture --- */
body {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(70, 130, 180, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(70, 130, 180, 0.03) 0%, transparent 50%),
        #f0f2f5 !important;
}

/* --- Card with visible border --- */
.about-page {
    max-width: 660px;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #c8d6e5 !important;
    background: #0f1923 !important;
    border: none !important;
    border-radius: 12px;
    box-shadow:
        0 0 0 3px #4682b4,
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(70, 130, 180, 0.15) !important;
    position: relative;
}

/* Override global link styles within about page */
.about-page a {
    text-decoration: none !important;
    color: #c8d6e5 !important;
}

.about-page a:hover {
    background-color: transparent !important;
    color: inherit !important;
    border-radius: 0;
}

/* --- Header --- */
.about-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* --- Avatar link --- */
.about-avatar-link {
    text-decoration: none !important;
    display: inline-block;
}

.about-avatar-link:hover {
    background-color: transparent !important;
}

/* --- Avatar with hover glow --- */
.about-avatar-wrapper {
    display: inline-block;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4682b4, #5a9fd4);
    margin-bottom: 1rem;
    line-height: 0;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.about-avatar-wrapper:hover {
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5), 0 0 40px rgba(70, 130, 180, 0.2);
    transform: scale(1.05) rotate(-5deg);
}

.about-avatar {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0f1923;
}

.about-page .about-username {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem 0;
    color: #e2e8f0 !important;
}

.about-tagline {
    opacity: 0.7;
    font-size: 1.15rem;
    font-style: italic;
    margin: 0;
    color: #c8d6e5 !important;
}

/* --- Bio Icons --- */
.about-bio i,
.about-tagline i {
    color: #4682b4 !important;
    margin-right: 0.3rem;
    transition: color 0.3s ease;
}

/* --- Bio Section --- */
.about-bio {
    text-align: center;
    margin: 0 auto;
    max-width: 520px;
}

.about-bio p {
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: #c8d6e5 !important;
}

/* --- Divider --- */
.about-page .about-divider {
    border: none !important;
    height: 1px;
    background: linear-gradient(to right, transparent, #4682b4, transparent) !important;
    margin: 2rem auto;
    max-width: 80%;
}

/* --- Links Section --- */
.about-links {
    text-align: center;
}

.about-links ul {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.about-links li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.about-links li::before,
.about-links li::after,
.about-links li::marker {
    content: none !important;
    display: none !important;
}

.about-links li a {
    display: block;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 1.1rem;
    opacity: 0.75;
    color: #c8d6e5 !important;
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.about-links li a:hover {
    opacity: 1;
    transform: translateX(4px);
    background-color: rgba(70, 130, 180, 0.2) !important;
    color: #e2e8f0 !important;
}

/* Icon brightens on link hover */
.about-links li a:hover i {
    color: #5a9fd4 !important;
}

.about-links li a strong {
    font-weight: 600;
    color: #c8d6e5 !important;
}

.about-links li a:hover strong {
    color: #e2e8f0 !important;
}

.about-links li a i {
    color: #4682b4 !important;
    margin-right: 0.4rem;
    width: 1.25em;
    text-align: center;
    transition: color 0.25s ease;
}

/* --- St. Jude Footer --- */
.about-stjude {
    text-align: center;
    margin-top: 0.5rem;
}

.about-stjude a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none !important;
    font-size: 1rem;
    opacity: 0.7;
    color: #c8d6e5 !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.about-stjude a:hover {
    opacity: 1;
    transform: scale(1.05);
    background-color: transparent !important;
    color: #e2e8f0 !important;
}

.about-stjude-logo {
    width: 80px;
    height: auto;
}

/* --- Footer Motto --- */
.about-motto {
    text-align: center;
    font-size: 0.95rem;
    color: #4682b4 !important;
    opacity: 0.8;
    margin: 0 auto;
    max-width: 480px;
    letter-spacing: 0.02em;
}

/* --- Hide theme chrome on landing page --- */
.main-nav {
    display: none !important;
}

.profile {
    display: none !important;
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .about-page {
        margin: 1rem;
        padding: 2rem 1.25rem;
        border-radius: 10px;
    }

    .about-avatar {
        width: 120px;
        height: 120px;
    }

    .about-page .about-username {
        font-size: 2rem;
    }

    .about-bio {
        max-width: 100%;
    }
}
