.about_main {
    margin: 0 auto;
    max-width: 800px;
}

.about_main img {
    max-width: 100%;
    height: auto;
}
/* The stock photo (800x368 webp) sits inside the "Idea" section; the funding
   logos sit in #about_images. Reserving its box avoids a layout shift. */
.about_main section > img {
    width: 100%;
    aspect-ratio: 800 / 368;
}

.about_main > p {
    line-height: 1.5em;
}
.about_main > p:first-of-type {
    color: var(--gold);
    font-weight: bold;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gold);
}
.about_main > p:first-of-type > span {
    color: black;
}

.about_main a {
    color: var(--gold);
}

#journal_count {
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 50px;
    margin-bottom: 100px;
}
#journal_count > span {
    color: var(--gold);
}

#about_images {
    display: flex;
    max-width: 100%;
    max-height: 50px;
    margin-top: 35px;
}
#about_images > img{
    min-width: 0;
}

/* Hover colours only where a pointer can hover (see style.css). */
@media (hover: hover) {
    .about_main a:hover {
        color: var(--beige4);
    }
}

/* Phone portrait (WCAG 1.4.10): let the partner-logo row wrap and trim the
   desktop-scale whitespace around the journal count. */
@media (max-width: 640px) {
    #about_images {
        flex-wrap: wrap;
        max-height: none;
        gap: 16px;
    }
    #journal_count {
        margin-top: 32px;
        margin-bottom: 40px;
    }
}
