
/* =========================================================
   ABOUT POST
========================================================= */

.about-post {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* INTRODUCTION — TWO COLUMNS */

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: start;
    margin-top: 30px;
}

/* PORTRAIT */

.about-portrait {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.about-portrait:hover img {
    transform: scale(1);
}

/* IDENTITY */

.about-identity {
    min-width: 0;
}

.about-identity h3 {
    margin: 0 0 0px;
    font-family: var(--font-heading);
    font-size: 25px;
    color: var(--red);
    line-height: 1.2;
}

.about-subtitle {
    margin-top: 0px;
    margin-bottom: 18px;
    font-size: 12px;
    font-style: italic;
    opacity: 0.7;
}


.about-identity p:not(.about-subtitle) {
    margin: 0;
    line-height: 1.8;
}



/* BIO CONTAINER */

.marael-bio {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;
    margin-top: 0;

    transition:
        grid-template-rows 0.5s ease,
        opacity 0.35s ease,
        margin-top 0.5s ease;
}


/* INNER CONTENT */

.bio-inner {
    min-height: 0;
    overflow: hidden;
}

.bio-header {
    text-align: left;
    margin-bottom: 28px;
}

.bio-header h2 {
    margin: 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

.bio-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bio-section {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}



/* EXPANDED STATE */

.marael-bio.active {
    grid-template-rows: 1fr;

    opacity: 1;
    margin-top: 28px;
}


/* LEARN MORE BUTTON */

.about-learn-more {
    display: inline-block;

    margin-top: 40px;
    padding: 12px 16px;

    background: var(--red);
    color: white;

    border: none;
    border-radius: 3px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.about-learn-more:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}




/* MOBILE */

@media (max-width: 600px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-portrait {
        width: min(100%, 280px);
        margin: 0 auto;
    }
}
