/* ===== Face-to-Face Blue/Gold (no CSS variables) ===== */

/* Layout wrapper */
.page-wrap {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 16px;
}



.title-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;


    grid-template-areas: "main aside";
}

/* Assign areas to columns */
.bio-card { grid-area: main; }
.info-box { grid-area: aside; }


@media (max-width: 900px) {
    .title-row {
        grid-template-columns: 1fr;
        grid-template-areas:
      "aside"
      "main";
    }
}

/* Main article card */
.bio-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    padding: 24px;
}
.page-title {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    color: #082C72; /* Darker blue for headings */
    line-height: 1.2;
}
.subtitle {
    color: #334444;
    font-weight: 500;
    margin-bottom: 16px;
}


.info-box {
    position: sticky;
    top: 16px;
    background: white;
    border-radius: 14px;
    padding: 18px;
    box-shadow: inset 0 0 0 1px #e3e9fb;
}

@media (max-width: 900px) {
    .info-box {
        position: static;
        top: auto;
    }
}

.info-photo {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background: #eeeeee;
}

.info-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.98rem;
    color: #222;
}
.info-list li {
    padding: 6px 0;
    border-bottom: 1px solid #e8e8e8;
}
.info-list li:last-child {
    border-bottom: 0;
}
.label {
    color: #444555;
    font-weight: 600;
    margin-right: 6px;
}

/* Article content */
.content {
    margin-top: 24px;
}
.content h2 {
    font-size: 1.35rem;
    margin: 26px 0 10px;
    color: #082C72;                /* section heading color */
    border-left: 4px solid #0A3FA5;/* brand accent bar */
    padding-left: 10px;
}
.content p {
    line-height: 1.7;
    color: #222;
    margin: 10px 0;
}
.content ul {
    margin: 8px 0 16px 1.1rem;
}

/* Figures (show full RelativesImages — no crop) */
.content figure {
    margin: 18px 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.content figure img {
    aspect-ratio: auto !important;
    height: auto !important;
    width: 100%;
    object-fit: contain !important; /* ensure full image is visible */
    display: block;
}
.content figcaption {
    font-size: 0.92rem;
    color: #555;
    margin-top: 8px;
}

/* Tag chip (gold) */
.tag {
    display: inline-block;
    background: linear-gradient(180deg, #FFF6D8, #FFF0BF);
    color: #6B5400; /* dark gold/brown text */
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #F3DEA1;
}

/* Sidebar sources (under the portrait) */
.side-sources {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e6e2;
}
.side-sources h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    color: #082C72;
}
.side-sources a {
    color: #0A3FA5; /* Royal blue links */
    text-decoration: none;
}
.side-sources a:hover {
    text-decoration: underline;
}

