/* --------------------------------------------------------------
hmdap.alpine.dev.br lib/css/biografia.css
-------------------------------------------------------------- */
.bio-page {
    background: linear-gradient(180deg, #f3f6fa 0%, #eef2f7 100%);
    padding: 10px;
    border-radius: 20px;
}

.bio-card {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.bio-hero {
    padding: 30px 26px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    background: linear-gradient(135deg, #ffc800 0%, #111827 100%);
    position: relative;
    display: flex;
    gap: 20px;
}

/* brilho suave */
.bio-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 60%);
    pointer-events: none;
}

/* texto */
.bio-hero-text {
    z-index: 2;
}

.bio-hero h1 {
    margin: 0 0 8px 0;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.bio-meta {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

/* FOTO */
.bio-hero-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 2;
    flex-shrink: 0;
}

.bio-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
}

.bio-aside {
    border-right: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
}

.bio-gallery {
    display: grid;
    gap: 16px;
}

.bio-figure {
    margin: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bio-figure:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
}

.bio-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-figure figcaption {
    padding: 10px 12px;
    font-size: .92rem;
    color: #64748b;
    background: #fff;
}

.bio-main { 
    padding: 28px 30px 34px;
    min-width: 0;
    background: #ffffff;
}

.bio-main p {
    margin: 0 0 16px 0;
    color: #334155;
    text-align: left;
    line-height: 1.8;
    font-size: 1rem;
}

.bio-section-title {
    margin: 30px 0 14px;
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.bio-honors {
    margin: 14px 0 0;
    padding-left: 0;
    list-style: none;
}

.bio-honors li {
    position: relative;
    margin: 0 0 10px 0;
    padding: 10px 12px 10px 34px;
    color: #334155;
    line-height: 1.65;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.bio-honors li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 11px;
    color: #0d6efd;
    font-size: .95rem;
}

@media (max-width: 991.98px) {
    .bio-grid {
        grid-template-columns: 1fr;
    }

    .bio-aside {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .bio-main {
        padding: 22px 18px 26px;
    }

    .bio-hero {
        padding: 24px 18px 20px;
    }

    .bio-hero h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .bio-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bio-hero-photo {
        margin-top: 10px;
    }
}