/* About Section / Biography Modal Styles */

.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 9500;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 5% 50px 5%;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
}

.about-overlay.active {
    opacity: 1;
    visibility: visible;
}

.about-container {
    max-width: 900px;
    width: 100%;
    position: relative;
    padding-bottom: 5rem;
}

.about-close {
    position: fixed;
    top: 2rem;
    left: 2rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    z-index: 9001;
    cursor: pointer;
    transition: 0.3s;
}

.about-close:hover {
    color: var(--text-gold);
    transform: rotate(90deg);
}

/* Typography & Layout */
.about-header {
    margin-bottom: 4rem;
    text-align: left;
}

.about-name {
    font-size: 3rem;
    letter-spacing: 0.2em;
    font-weight: 200;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.about-title {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--text-gold);
    text-transform: uppercase;
}

.about-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.about-overlay.active .about-section {
    opacity: 1;
    transform: translateY(0);
}

.about-section-label {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--text-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
    text-align: justify;
    text-justify: inter-ideograph;
    /* Better justification for CJK */
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Exhibition List Styles */
.exhibition-list {
    list-style: none;
}

.exhibition-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.exhibition-year {
    min-width: 80px;
    font-family: sans-serif;
    font-size: 0.9rem;
    color: var(--text-gold);
    margin-top: 0.3rem;
}

.exhibition-info {
    flex: 1;
}

.exhibition-title {
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.exhibition-venue {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Collection Styles */
.collection-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Scrollbar */
.about-overlay::-webkit-scrollbar {
    width: 4px;
}

.about-overlay::-webkit-scrollbar-track {
    background: transparent;
}

.about-overlay::-webkit-scrollbar-thumb {
    background: var(--text-gold);
}

@media (max-width: 768px) {
    .about-name {
        font-size: 2rem;
    }

    .about-header {
        margin-bottom: 3rem;
    }

    .about-section {
        margin-bottom: 3rem;
    }

    .exhibition-item {
        flex-direction: column;
    }

    .exhibition-year {
        margin-bottom: 0.2rem;
    }

    .about-content,
    .about-content p {
        text-align: justify !important;
        text-justify: inter-ideograph !important;
        text-align-last: left;
        word-break: break-all !important;
        /* Forces break at exact width */
        letter-spacing: 0.05em;
        /* Slight spacing to help alignment */
    }
}