/*
 * News archive and single news style.
 */

.newsGrid.archive {
    padding-top: 125px;
}

.newsGrid .empty {
    grid-column: 1 / -1;
    text-align: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 16px 90px;
}

.pagination .button {
    font-size: 16px;
}

/* Single news */
#newsSingle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 346px;
    gap: 6%;
    padding: 90px 4.3% 90px 5.6%;
}

#newsSingle h1 {
    margin-bottom: 30px;
    color: var(--yellow);
    font-size: clamp(30px, 2.8vw, 38px);
}

#newsSingle .body {
    max-width: 760px;
    line-height: 1.26;
}

#newsSingle .body p + p,
#newsSingle .body img + p,
#newsSingle .body p + img,
#newsSingle .body figure,
#newsSingle .body ul {
    margin-top: 1.25em;
}

#newsSingle .body img {
    width: 100%;
    height: auto;
    margin: 1.2em 0;
}

#newsSingle .body h2, #newsSingle .body h3 {
    margin: 1.4em 0 .5em;
    font-size: 1.15em;
}

#newsSingle .body a {
    color: var(--yellow);
    text-decoration: underline;
}

#newsSingle .body a:hover {
    color: var(--black);
}

#newsSingle .share {
    margin-top: 60px;
}

#newsSingle .share h2 {
    color: var(--yellow);
    font-size: clamp(28px, 2.7vw, 37px);
}

#newsSingle .share .icons {
    display: flex;
    gap: 22px;
    margin-top: 30px;
}

#newsSingle .share .icons a {
    font-size: 44px;
    line-height: 1;
}

#newsSingle .share .icons a:hover {
    color: var(--yellow);
}

#newsSingle .archive h2 {
    margin: 0 0 30px;
    color: var(--yellow);
    font-size: 30px;
}

#newsSingle .archive h2 ~ h2 {
    margin-top: 30px;
}

#newsSingle .archive ul {
    padding-left: 16px;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}

#newsSingle .archive li {
    margin-bottom: 12px;
    color: var(--yellow);
}

#newsSingle .archive li a {
    color: var(--text);
}

#newsSingle .archive li::marker {
    font-size: .8em;
}

#newsSingle .archive li a:hover,
#newsSingle .archive li.active a {
    color: var(--yellow);
    font-weight: 700;
}

#newsSingle .archive .back {
    display: block;
    margin-top: 55px;
    padding: 22px 16px;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.12;
}

@media screen and (max-width: 900px) {

    .newsGrid.archive {
        padding-top: 70px;
    }

    #newsSingle {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 24px;
    }

    #newsSingle .archive .back {
        max-width: 346px;
    }
}
