/* GERAL ----------------------------------------------------------------- */
@import url('./general.css');
/* BREADCRUMB ------------------------------------------------------------ */
.breadcrumb {
    display: flex;
    min-width: 0;
    white-space: nowrap;
    gap: 7px;
    margin-bottom: 12px;
    color: gray;
    font-size: 15px;
}
.breadcrumb > * {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breadcrumb > span:not(:last-child) {
    flex-shrink: 0;
}
.breadcrumb > :last-child {
    flex: 0 1 auto;
}
.breadcrumb a {
    color: gray;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* TÍTULO ---------------------------------------------------------------- */
.archive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid dimgrey;
}
.archive-header h1 {
    margin: 0;
    font-family: "Libre Caslon Condensed", Georgia, serif;
    font-weight: bold;
    color: var(--site-accent, #AF8058);
    font-size: clamp(17px, 4vw, 24px);
}
#listing-search {
    width: 240px;
    max-width: 100%;
    margin-left: auto;
    padding: 6px 10px;
    border: none;
    background-color: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
}
#listing-search::placeholder {
    color: gray;
    font-style: italic;
}

/* GRID ------------------------------------------------------------------ */
.reviews-grid,
.listing-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.listing-excerpt {
    display: none;
}
/* POSTS ----------------------------------------------------------------- */
.review,
.listing-post {
    min-width: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid gray;
}
.review a,
.listing-post a {
    color: floralwhite;
    text-decoration: none;
}
.listing-row {
    display: grid;
    grid-template-columns: clamp(80px, 15vw, 100px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}
.listing-hero,
.listing-info {
    min-width: 0;
}
.listing-info .post-meta {
    margin-top: 0;
    flex-wrap: nowrap;
}
.listing-info .listing-author {
    margin-bottom: 6px;
}
.review a:hover h2,
.listing-post a:hover h2 {
    text-decoration: underline;
}
.listing-hero {
    position: relative;
    align-self: stretch;
    min-height: 0;
}
.listing-hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}
.post-meta {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 8px;
    margin-top: 10px;
    color: gray;
    font-size: 14px;
}
.post-meta > span,
.post-meta > time {
    min-width: 0;
    flex-shrink: 1;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-meta span {
    color: var(--site-accent, #AF8058);
    font-weight: 700;
    text-transform: uppercase;
}
.review h2,
.listing-post h2 {
    margin: 5px 0 6px;
    color: floralwhite;
    font-size: 21px;
    line-height: 1.15;
}
.review p,
.listing-post p {
    margin: 0;
    color: gray;
    font-size: 16px;
    line-height: 1.4;
}

/* ANÚNCIOS -------------------------------------------------------------- */
.ad-small {
    display: flex;
    min-width: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid gray;
    align-items: center;
}
.ad-small span {
    display: flex;
    width: clamp(360px, 50vw, 800px);
    max-width: 100%;
    height: 60px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid gray;
    color: gray;
    font-size: 12px;
}
/* LOAD MORE ------------------------------------------------------------- */
.load-more {
    display: block;
    margin: 35px auto;
    padding: 10px 24px;
    background-color: black;
    border: 1px solid floralwhite;
    color: floralwhite;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.load-more:hover {
    background-color: floralwhite;
    color: black;
}

/* VOLTAR ---------------------------------------------------------------- */
.back-link {
    display: block;
    width: fit-content;
    margin: 10px 0 20px auto;
    color: floralwhite;
    text-decoration: none;
    font-weight: 600;
}
.back-link:hover {
    text-decoration: underline;
}
/* 1 COLUNA -------------------------------------------------------------- */
@media (max-width: 550px) {
    main {
        padding: 10px 16px 16px;
    }
    .review h2,
    .listing-post h2 {
        font-size: 20px;
    }
    .article-body .content-image.left,
    .article-body .content-image.center,
    .article-body .content-image.right {
        float: none;
        width: 90%;
        max-width: 90%;
        margin: 24px auto;
    }
}
/* CARDS DAS LISTINGS NO DESKTOP ----------------------------------------- */
@media (min-width: 551px) {
    .listing-grid,
    .reviews-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: stretch;
    }
    .listing-row {
        height: 100%;
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 6px 16px;
        align-content: start;
    }
    .listing-hero {
        height: 64px;
        align-self: start;
    }
    .listing-info h2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        font-size: 18px;
    }
    .listing-info .post-meta {
        font-size: 14px;
    }
    .listing-info > p:not(.listing-author) {
        display: none;
    }
    .listing-row .listing-excerpt {
        grid-column: 1 / -1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
        height: 5.6em;
        font-size: 16px;
        line-height: 1.4;
    }
    .listing-grid > .ad-small,
    .reviews-grid > .ad-small {
        grid-column: 1 / -1;
    }
}
/* RESPONSIVIDADE ------------------------------------------------------- */
@media (min-width: 800px) {
    .listing-grid,
    .reviews-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* RESPONSIVIDADE ------------------------------------------------------- */
@media (min-width: 1200px) {
    .listing-grid,
    .reviews-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* RESPONSIVIDADE ------------------------------------------------------- */
@media (min-width: 1450px) {
    .listing-grid,
    .reviews-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
/* ARTIGOS --------------------------------------------------------------- */
.article-page {
    --article-text-width: 697px;
    max-width: 1200px;
    margin: 0 auto;
}
.article {
    max-width: var(--article-text-width,697px);
    margin: 0 auto;
}
.article-header {
    margin: 40px 0 30px;
}
.article-meta {
    display: grid;
    grid-template-columns: fit-content(50%) minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
}
.article-meta > .article-type,
.article-meta > time {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-type {
    color: var(--site-accent, #AF8058);
    font-weight: 700;
    text-transform: uppercase;
}
.article-meta time {
    grid-column: 2;
    grid-row: 1;
    color: gray;
}
.article-author {
    grid-column: 1 / -1;
    grid-row: 2;
    color: gray;
    font-weight: 700;
}
.article-author-link { color:inherit; text-decoration:none; }
.article-author-link:hover, .article-author-link:focus-visible { text-decoration:underline; }
.article-header h1 {
    margin: 0;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1;
}
.article-deck {
    margin: 18px 0 0;
    color: gray;
    font-size: 19px;
    line-height: 1.4;
}
.article-hero {
    width: 80%;
    margin: 0 auto 36px;
}
.article-hero img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.article-hero figcaption {
    margin-top: 8px;
    color: gray;
    font-size: 14px;
    text-align: right;
}
.review-verdict,
.first-impression-verdict {
    margin: 32px 0;
    padding-top: 16px;
    border-top: 1px solid var(--site-accent, #AF8058);
    color: inherit;
    font-size: 24px;
    text-align: center;
}
.article-body {
    font-size: 18px;
    line-height: 1.5;
    hyphens: auto;
}
.first-impression-verdict::before { content:'•'; margin-right:.4em; }
.review-verdict .review-average { display:inline-block; margin-right:12px; color:darkgoldenrod; font-size:14px; font-weight:normal; vertical-align:middle; }
.article-body p {
    margin: 0 0 24px;
}
.article-body h2 {
    margin: 28px 0 12px;
    font-size: 20px;
    line-height: 1.15;
}
.article-body h2[data-review-heading], .article-body h2[data-impression-heading] { color:var(--site-accent, #AF8058); }
.article-body h2[data-news-section] { color:var(--site-accent, #AF8058); }
.review-aspect-score { color:floralwhite; white-space:nowrap; font-size:.9em; font-weight:normal; }
body.light-mode .review-aspect-score { color:black; }
.article .ad-banner {
    margin: 45px 0;
}
/* PUBLICIDADE NO CORPO DOS ARTIGOS --------------------------------------- */
.article-body .article-body-ad,
.article-page .article > .article-body-ad {
    clear: both;
    width: 100%;
    margin: 24px 0;
    padding: 0;
    border: none;
}
.article-header > .article-body-ad {
    display: block;
    padding: 0;
    border: 0;
    margin: 12px 0;
}
.article-body-ad > iframe {
    display: block;
    border: 0;
    margin-inline: auto;
}
.article-body .article-body-ad > span {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 60px;
    flex: 0 0 100%;
}
/* IMAGENS DO ARTIGO ----------------------------------------------------- */
.article-body .content-image {
    display: block;
    height: auto;
    max-width: 100%;
}
.article-body .content-image.left {
    float: left;
    width: 240px;
    max-width: 40%;
    margin: 6px 24px 16px 0;
}
.article-body .content-image.right {
    float: right;
    width: 240px;
    max-width: 40%;
    margin: 6px 0 16px 24px;
}
.article-body .content-image.center {
    width: 80%;
    margin: 24px auto;
}
.article-body::after {
    content: "";
    display: block;
    clear: both;
}
/* SUGESTÕES NO FINAL DOS ARTIGOS ---------------------------------------- */
.catalog-status { grid-column:1 / -1; padding:12px; border:1px solid var(--site-accent,#AF8058); }
.catalog-status p { margin:0 0 8px; }
.article-related {
    --related-title-line: 21.6px;
    --related-deck-line: 22.4px;
    --related-card-size: calc(18.2px + 2 * var(--related-title-line) + 2 * var(--related-deck-line) + 10px);
    margin-top: 36px;
}
.article-related > h2 {
    margin: 0 0 16px;
    color: var(--site-accent, #AF8058);
    font-size: clamp(15px, 3.5vw, 18px);
    font-weight: 400;
}
.article-related .post-meta {
    margin-top: 0;
    flex-wrap: nowrap;
}
.article-related .post h3 {
    margin: 0;
    color: inherit;
    font-size: 18px;
    line-height: var(--related-title-line);
}
.article-related .post > a {
    display: grid;
    grid-template-columns: var(--related-card-size) minmax(0, 1fr);
    grid-template-rows: 18.2px calc(2 * var(--related-title-line)) calc(2 * var(--related-deck-line));
    gap: 5px 12px;
    overflow-wrap: anywhere;
}
.article-related .post > a > img {
    grid-column: 1;
    grid-row: 1 / 4;
    float: none;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    margin: 0;
    object-fit: contain;
}
.article-related .post > a > :is(.post-meta, h3, p) {
    grid-column: 2;
    min-width: 0;
    margin: 0;
}
.article-related .post > a > :is(h3, p) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.article-related .post > a > p { line-height: var(--related-deck-line); }
.article-related .post > a:not(:has(> img)) {
    grid-template-columns: minmax(0, 1fr);
}
.article-related .post > a:not(:has(> img)) > * { grid-column: 1; }
.article-related .post a:hover h3 {
    text-decoration: underline;
}
.article-related .ad-small {
    grid-column: 1 / -1;
    padding-bottom: 0;
    margin: 0 0 24px;
    border-bottom: none;
}
.article-related .related-display-ad > iframe { display: block; border: 0; }
.article-related .related-display-ad[hidden] { display: none; }
.article-related .related-display-ad { justify-content: center; }
.article-related .ad-small:last-child {
    margin-bottom: 0;
}
/* RESPONSIVIDADE ------------------------------------------------------- */
@media (max-width: 600px) {
    .article-related { --related-title-line: 22.8px; }
    .article-related .post h3 {
        font-size: 19px;
    }
}
/* MODO CLARO ------------------------------------------------------------ */
.light-mode .review a,
.light-mode .listing-post a {
    color: black;
}
.light-mode .review img,
.light-mode .listing-post img {
    background-color: floralwhite;
}
.light-mode .review h2,
.light-mode .listing-post h2,
.light-mode .archive h1 {
    color: inherit;
}
.light-mode .ad-small span {
    background-color: floralwhite;
}
.light-mode .load-more {
    background-color: floralwhite;
    border-color: black;
    color: black;
}
.light-mode .load-more:hover {
    background-color: black;
    color: floralwhite;
}
.light-mode .back-link {
    color: black;
}

/* VISUALIZADOR DAS IMAGENS ---------------------------------------------- */
.article-hero img[role="button"],
.article-body img[role="button"] { cursor: zoom-in; }
.article-hero img:focus-visible,
.article-body img:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
body.image-viewer-open { overflow: hidden; }
.image-viewer {
    width: fit-content;
    max-width: 96vw;
    max-height: 94dvh;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
}
.image-viewer::backdrop { background: rgb(0 0 0 / 85%); }
.image-viewer-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    padding: 6px 12px;
    border: none;
    background: rgb(0 0 0 / 75%);
    color: white;
    font: inherit;
    cursor: pointer;
}
.image-viewer-close:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.image-viewer-viewport img {
    display: block;
    width: auto;
    height: auto;
    max-width: 96vw;
    max-height: 94dvh;
    margin: auto;
}
.load-more[hidden] { display: none; }

.article-original-language {
    color: #FF2400;
    font-weight: 400;
}

.article-page > .article-body-ad { margin: 24px auto; }

.article-language-separator { color:gray; text-decoration:none; }

.article-body .article-video { display:block; width:100%; height:auto; aspect-ratio:16 / 9; border:0; margin:24px 0; }

/* Small ad alongside the article identity; centered beneath it on narrow screens. */
.article-header-top { display: flex; align-items: center; gap: 24px; margin-bottom: 12px; }
.article-header-top > .article-meta, .article-header-top > .article-author-summary {
    flex: 1; min-width: 0; margin-bottom: 0;
}
.article-header-ad { flex: 0 0 320px; width: 320px; max-width: 100%; text-align: center; }
.article-header-ad-label { display: block; margin-bottom: 4px; color: gray; font-size: 12px; font-weight: 400; }
.article-header-ad-slot { width: 100%; height: 50px; box-sizing: border-box; border: 1px solid gray; }
@media (max-width: 800px) {
    .article-header-top { flex-direction: column; align-items: stretch; gap: 16px; }
    .article-header-ad { flex: none; align-self: center; }
}
@media print { .article-header-ad { display: none; } }

/* The general publication history below an article uses the same editorial outline. */
.article-related .post:is([data-category="first-imp"], [data-category="review"], [data-category="column"]) {
    box-sizing:border-box;
    border:1px solid var(--site-accent,#AF8058);
    padding:8px;
}

/* Full-width body images are an explicit centred-image option. */
.article-body .content-image.center-full { width:100%; max-width:100%; height:auto; float:none; clear:both; margin:24px auto; }

/* Body image captions share the image alignment and width. */
.article-body .content-figure { max-width:100%; margin:24px auto; }
.article-body .content-figure.left { float:left; width:240px; max-width:40%; margin:6px 24px 16px 0; }
.article-body .content-figure.right { float:right; width:240px; max-width:40%; margin:6px 0 16px 24px; }
.article-body .content-figure.center { width:80%; }
.article-body .content-figure.center-full { width:100%; clear:both; }
.article-body .content-figure > img.content-image { float:none; width:100%; max-width:100%; margin:0; }
.article-body .content-figure figcaption { display:block; width:100%; box-sizing:border-box; margin:8px 0 0; color:gray; font-size:14px; text-align:right; }
@media (max-width:550px) { .article-body .content-figure.left,.article-body .content-figure.right { float:none; width:90%; max-width:90%; margin:24px auto; } }
.article-body h2[data-column-section]{color:var(--site-accent,#AF8058)}
.article-deck:empty{display:none}

/* Paragraph indentation is stored as leading tabs and survives language changes. */
.article-body :is(p,ul,ol,h2)[data-article-indent="1"]{margin-inline-start:min(2em,40%)}
.article-body :is(p,ul,ol,h2)[data-article-indent="2"]{margin-inline-start:min(4em,40%)}
.article-body :is(p,ul,ol,h2)[data-article-indent="3"]{margin-inline-start:min(6em,40%)}
.article-body :is(p,ul,ol,h2)[data-article-indent="4"]{margin-inline-start:min(8em,40%)}
.article-body :is(p,ul,ol,h2)[data-article-indent="5"]{margin-inline-start:min(10em,40%)}
.article-body :is(p,ul,ol,h2)[data-article-indent="6"]{margin-inline-start:min(12em,40%)}

/* Compact archive cards: a square thumbnail, two title lines and two excerpt lines. */
:is(.listing-grid, .reviews-grid) > article { padding-bottom:12px; }
:is(.listing-grid, .reviews-grid) .listing-row {
    height:auto;
    grid-template-columns:88px minmax(0,1fr);
    grid-template-rows:88px 44.8px;
    gap:8px 12px;
}
:is(.listing-grid, .reviews-grid) .listing-hero { height:88px; align-self:start; }
:is(.listing-grid, .reviews-grid) .listing-hero img { object-fit:cover; aspect-ratio:1; }
:is(.listing-grid, .reviews-grid) .listing-info .post-meta {
    flex-wrap:nowrap;
    font-size:12px;
    line-height:16px;
    gap:6px;
}
:is(.listing-grid, .reviews-grid) .listing-info .post-meta > time { flex-shrink:0; }
:is(.listing-grid, .reviews-grid) .listing-info h2 {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    height:41.4px;
    overflow:hidden;
    margin:4px 0;
    font-size:18px;
    line-height:20.7px;
}
:is(.listing-grid, .reviews-grid) .listing-info .listing-author {
    margin:0;
    font-size:14px;
    line-height:19.6px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
:is(.listing-grid, .reviews-grid) .listing-info > p:not(.listing-author) { display:none; }
:is(.listing-grid, .reviews-grid) .listing-row .listing-excerpt {
    grid-column:1 / -1;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
    height:44.8px;
    line-height:22.4px;
}
:is(.listing-grid, .reviews-grid) > .ad-small { padding-bottom:0; border-bottom:0; }
@media(min-width:551px) {
    .listing-grid, .reviews-grid { gap:16px 24px; }
}



/* 50px scarlet stripes at 50% opacity alternate with 40px base stripes. */
.article-body mark {
    --article-highlight-base:rgba(0,0,0,.25);
    --article-highlight-color:rgba(255,36,0,.5);
    color:floralwhite;
    background-color:transparent;
    background-image:repeating-linear-gradient(135deg,var(--article-highlight-color) 0px 50px,var(--article-highlight-base) 50px 90px);
    background-size:127.279221px 127.279221px;
    animation:article-highlight-stripes 10.8s linear infinite;
    padding:0 .06em;
    -webkit-box-decoration-break:clone;
    box-decoration-break:clone;
}
.light-mode .article-body mark {
    --article-highlight-base:rgba(255,250,240,.25);
    color:black;
}
.article-body mark a { color:inherit; text-decoration:underline; }
@keyframes article-highlight-stripes { to { background-position:127.279221px 0; } }
@media(prefers-reduced-motion:reduce) { .article-body mark { animation:none; } }

/* Related suggestions share the home warning frame without covering the text. */
.article-related .post[data-alert-border="true"]{padding:8px;border-color:transparent}

/* Article suggestions use the category size for both metadata fields. */
.article-related .post-meta > time { font-size: 12px; flex-shrink: 0; }

@media screen {
    body:has(.article-page) :is(.main-nav a, .news-ticker) { font-size: 18px; line-height: 23px; }
    body:has(.article-page) :is(.site-search input, .account-bar > a) { font-size: 18px; }

    .article-page .breadcrumb { font-size: 17px; }
    .article-page :is(.article-meta, .article-hero figcaption, .review-average) { font-size: 16px; }
    .article-page .article-header h1 { font-size: clamp(26px, calc(4vw + 2px), 34px); line-height: round(up, 1em, 1px); }
    .article-page .article-deck { font-size: 21px; line-height: 30px; }
    .article-page .article-body { font-size: 20px; line-height: 30px; }
    .article-page .article-body h2 { font-size: 22px; line-height: 26px; }
    .article-page .article-body .content-figure figcaption { font-size: 16px; line-height: 24px; }
    .article-page :is(.review-verdict, .first-impression-verdict) { font-size: 26px; }
    .article-page :is(.article-actions, .back-link) { font-size: 18px; }
    .article-page .article-votes { font-size: 20px; }

    .article-page .article-comments { font-size: 20px; }
    .article-page .comments-heading h2 { font-size: 26px; }
    .article-page .article-comments select { font-size: 17px; }
    .article-page :is(.comment-identity time, .comment-identity small, .comments-muted, .comments-status) { font-size: 16px; }
    .article-page :is(.comment-author-label, .comment-tools, .comment-tools button) { font-size: 15px; }
    .article-page .comment-body { line-height: 28px; }

    .article-page .article-related {
        --related-title-line: 24px;
        --related-deck-line: 26px;
        --related-card-size: calc(19px + 2 * var(--related-title-line) + 2 * var(--related-deck-line) + 10px);
    }
    .article-page .article-related > h2 { font-size: clamp(17px, calc(3.5vw + 2px), 20px); }
    .article-page .article-related .post > a { grid-template-rows: 19px calc(2 * var(--related-title-line)) calc(2 * var(--related-deck-line)); }
    .article-page .article-related .post-meta > :is(span, time) { font-size: 14px; line-height: 19px; }
    .article-page .article-related .post h3 { font-size: 20px; }
    .article-page .article-related .post p { font-size: 18px; }

    body:has(.article-page) .site-footer-main { font-size: 18px; line-height: 27px; }
    body:has(.article-page) .site-footer .site-footer-meta { font-size: 16px; line-height: 24px; }
    body:has(.article-page) .site-footer-brand { font-size: 18px; line-height: 21px; }
    body:has(.article-page) .cookie-notice { font-size: 18px; line-height: 25px; }
}

@media screen and (width <= 600px) {
    .article-page .article-header h1 { font-size: 26px; line-height: 26px; }
    .article-page .article-deck { font-size: 20px; line-height: 28px; }
    .article-page .article-comments { font-size: 18px; }
    .article-page .comments-heading h2 { font-size: 24px; }
    .article-page .comment-body { line-height: 26px; }

    .article-page .article-related { --related-title-line: 26px; }
    .article-page .article-related .post h3 { font-size: 21px; }

    body:has(.article-page) .site-footer-brand {
        font-size: clamp(12px, calc(3.8vw + 2px), 18px);
        line-height: 1.15;
        line-height: round(up, 1.15em, 1px);
    }
    body:has(.article-page) .cookie-notice { font-size: 16px; line-height: 22px; }
}

/* Typography shared by the editorial listings. */
@media screen {
    body:has(.listing-grid, .reviews-grid) .site-header .logo { font-size: 34px; }
    body:has(.listing-grid, .reviews-grid) :is(.main-nav a, .news-ticker) { font-size: 18px; line-height: 23px; }
    body:has(.listing-grid, .reviews-grid) :is(.site-search input, .account-bar > a, .back-link) { font-size: 18px; }
    body:has(.listing-grid, .reviews-grid) .breadcrumb { font-size: 16px; }
    body:has(.listing-grid, .reviews-grid) .archive-header h1 {
        font-size: clamp(18px, calc(4vw + 2px), 26px);
        font-size: round(up, calc(clamp(17px, 4vw, 24px) + 1px), 2px);
    }
    body:has(.listing-grid, .reviews-grid) #listing-search { font-size: 18px; line-height: 22px; }
    body:has(.listing-grid, .reviews-grid) .load-more { font-size: 16px; }
    :is(.listing-grid, .reviews-grid) .listing-row { grid-template-rows: minmax(88px, auto) 52px; }
    :is(.listing-grid, .reviews-grid) .listing-info .post-meta,
    :is(.listing-grid, .reviews-grid) .listing-info .post-meta > span { font-size: 14px; line-height: 19px; }
    :is(.listing-grid, .reviews-grid) .listing-info h2 { font-size: 20px; line-height: 23px; height: 46px; }
    :is(.listing-grid, .reviews-grid) .listing-info .listing-author { font-size: 16px; line-height: 23px; }
    :is(.listing-grid, .reviews-grid) :is(.listing-excerpt, .listing-info > p:not(.listing-author)) { font-size: 18px; line-height: 26px; }
    :is(.listing-grid, .reviews-grid) .listing-row .listing-excerpt { height: 52px; line-height: 26px; }
    body:has(.listing-grid, .reviews-grid) .site-footer-main { font-size: 18px; line-height: 27px; }
    body:has(.listing-grid, .reviews-grid) .site-footer .site-footer-meta { font-size: 16px; line-height: 24px; }
    body:has(.listing-grid, .reviews-grid) .site-footer-brand { font-size: 18px; line-height: 21px; }
    body:has(.listing-grid, .reviews-grid) .cookie-notice { font-size: 18px; line-height: 25px; }
}
@media screen and (width <= 780px) {
    body:has(.listing-grid, .reviews-grid) .site-header .logo { font-size: clamp(22px, calc(7.6vw + 2px), 34px); }
}
@media screen and (width <= 600px) {
    body:has(.listing-grid, .reviews-grid) .site-footer-brand {
        font-size: clamp(12px, calc(3.8vw + 2px), 18px);
        line-height: round(up, 1.15em, 1px);
    }
    body:has(.listing-grid, .reviews-grid) .cookie-notice { font-size: 16px; line-height: 22px; }
}
