#journal_info {
    margin-bottom: 25px;
}

div.journal_title_section {
    margin-bottom: 25px;
    color: var(--main-black);
}
div.journal_title_section > span {
    font-size: smaller;
    color: var(--gold);
    font-weight: bold;
}
div.journal_title_section > div > .journal_title {
    font-size: 3em;
    font-weight: bolder;
    max-width: 80%;
    display: inline-block;
    margin: 0;
}
div.journal_title_section > div > .share_journal {
    float: right;
    padding: 7px 15px;
    background-color: var(--gray2);
    border-radius: 1000px;
    text-decoration: none;
    color: var(--black3);
    display: flex;
    align-items: center;
}
div.journal_title_section > div > .share_journal > img {
    max-height: 1.33em;
}

div.journal_metadata_section > * > :nth-child(1) {
    margin-bottom: 10px;
    color: var(--gold);
    font-weight: bold;
}
div.journal_metadata_section > * > * {
    display: block;
}

.journal_metadata_section .journal_publisher {
    text-decoration: none;
    font-weight: bold;
    color: var(--black3);
}

.issue_tree_header > .issue_sort_by > a {
    color: var(--black3);
    margin: 0 5px;
}

.issue_parents_string {
    margin: 40px 0;
    display: flex;
    font-weight: 600;
    background-color: var(--gold);
    line-height: normal;
}
.issue_parents_string > * {
    padding: 10px;
    color: white;
    text-decoration: none;
}
.issue_parents_string > :first-child {
    margin-right: auto;
}
.issue_parents_string > :last-child {
    background-color: var(--black2);
    display: flex;
    color: var(--beige3);
}
.issue_parents_string img {
    height: 1.5em;
}

/* Reflow (WCAG 1.4.10): let the large journal title shrink/wrap on mobile. */
@media (max-width: 640px) {
    div.journal_title_section > div > .journal_title {
        font-size: 2em;
        max-width: 100%;
    }
    div.journal_title_section > div > .share_journal {
        float: none;
        margin-top: 12px;
        width: fit-content;
    }
    /* three_col_split stacks the metadata blocks (style.css); without a gap the
       gold labels and their values run together as one wall of text. Separate
       each block (WYDAWCA / ISSN / LICZBA WOLUMINÓW) into its own group. */
    .journal_metadata_section > * + * {
        margin-top: 18px;
    }
    /* A long parents string + the "Wybierz inny" link cram together with
       space-between on a narrow screen; let them wrap onto separate rows. */
    .issue_parents_string {
        flex-wrap: wrap;
        gap: 4px 12px;
    }
}