@import "../style.css";

/* ======================================================
   PEOPLE DETAIL PAGES
   ====================================================== */

body {
    background-color: #121214;
    color: #e0e0e0;
    font-family: var(--font-term);
    overflow-y: auto;
    line-height: 1.6;
}

body::before {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
    padding-top: 60px;
}

/* --- PROFILE HEADER --- */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.name-area h1 {
    font-family: var(--font-main);
    font-size: 3.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
    color: var(--accent-color);
}

.name-area .role-subtitle {
    font-size: 1.8rem;
    color: #888;
    margin-top: 5px;
    text-transform: uppercase;
}

/* --- CONTENT GRID --- */
.content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* --- SIDEBAR IMAGES --- */
.sidebar-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-portrait {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    display: block;
}

.dynamic-img {
    width: 100%;
    height: auto;
    border: 1px solid #444;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.dynamic-img:hover { opacity: 1; border-color: var(--accent-color); }

/* --- INFOBOX --- */
.infobox {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.4);
    border: 1px solid #333;
}

.infobox td {
    padding: 10px 15px;
    border-bottom: 1px solid #222;
}

.infobox .label {
    background: rgba(255,255,255,0.05);
    font-weight: bold;
    width: 35%;
    color: var(--accent-color);
}

/* --- TEXT BLOCK --- */
.text-block h3 {
    font-family: var(--font-main);
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    margin-top: 25px;
    text-transform: uppercase;
    border-bottom: 1px dotted #444;
    padding-bottom: 5px;
}

.text-block h3:first-child {
    margin-top: 0;
}

.text-block p {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.3rem;
    color: #cccccc;
}

/* --- BACK BUTTON --- */
.back-btn {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.2rem;
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    transition: all 0.3s;
    position: static;
    background: transparent;
    letter-spacing: normal;
}

.back-btn:hover {
    background: var(--accent-color);
    color: #000;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}
