/* This file is part of indico-wipo. */

:is(.conference-page, .meeting-page):has(#regforms-list) > header .page-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);

    :is(h1, h2, h3, h4, h5, h6) {
        display: block;
        color: var(--wipo-blue-3);
        font-family: inherit;
        font-weight: 400;
        line-height: 1.3;
        margin: 26px 0 14px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    > :first-child {
        margin-top: 0;
    }

    :is(p, li) {
        line-height: 1.7;
    }

    p {
        margin: 0 0 16px;
    }

    a {
        color: var(--wipo-blue);
        font-weight: 600;
        text-decoration: none;
    }

    a:is(:hover, :focus) {
        text-decoration: underline;
    }
}
