/* MATÉRIAS -------------------------------------------------------------- */
.post {
    min-width: 0;
}
.post p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.post h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.post a {
    color: floralwhite;
    text-decoration: none;
}
.post a:hover h2 {
    text-decoration: underline;
}
.post-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px 10px;
    color: gray;
    font-size: 14px;
    line-height: 1.3;
}
.post-meta > span,
.post-meta > time {
    min-width: 0;
    flex-shrink: 1;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-page .post[data-category="review"] .post-meta > span:first-child { flex-shrink:0; }
.post-meta span {
    font-size: 12px;
    color: var(--site-accent, #AF8058);
    font-weight: 700;
    text-transform: uppercase;
}
/* A shared set of controls for the home highlights. */
.featured-carousel-shell { position:relative; min-width:0; }
.home-feature-layout > .featured-carousel-shell { grid-column:1 / -1; grid-row:1; }
.featured-grid.highlight-track {
    --highlight-width:calc((100% - (var(--fh-columns) - 1) * 10px) / var(--fh-columns));
    position:relative;
    display:flex;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}
.featured-grid.highlight-track > .post {
    flex:0 0 var(--highlight-width);
    min-width:0;
    scroll-snap-align:start;
}
.featured-grid.highlight-track > .highlight-spacer { flex:0 0 calc(var(--highlight-width) / 8); }
.featured-carousel-shell button {
    border:0;
    background:transparent;
    color:inherit;
    cursor:pointer;
}
.highlight-arrow {
    position:absolute;
    z-index:2;
    top:50%;
    transform:translateY(-50%);
    display:grid;
    place-items:center;
    width:48px;
    height:96px;
    padding:0;
    font-size:0;
}
.highlight-prev { inset-inline-start:0; }
.highlight-next { inset-inline-end:0; }
.highlight-arrow::before {
    content:"";
    border-block:44px solid transparent;
    border-inline-start:28px solid rgb(255 250 240 / 68%);
    filter:drop-shadow(0 1px 3px #000);
}
.highlight-prev::before { transform:rotate(180deg); }
.highlight-arrow:is(:hover,:focus-visible)::before { border-inline-start-color:floralwhite; }
.highlight-arrow:disabled, .featured-carousel-shell:not(.has-highlight-overflow) button { display:none; }
.featured-carousel-shell .highlight-pause {
    position:absolute;
    z-index:2;
    top:8px;
    inset-inline-end:8px;
    display:grid;
    place-items:center;
    width:32px;
    height:28px;
    padding:0;
    background:rgb(0 0 0 / 60%);
    color:floralwhite;
    font:16px/1 Arial,sans-serif;
}
.featured-carousel-shell:not(.has-highlight-overflow) .highlight-pause { display:none; }
.featured-carousel-shell button:focus-visible { outline:2px solid var(--site-accent,#AF8058); }
@media (max-width:650px) and (any-pointer:coarse) and (not (any-pointer:fine)) {
    .featured-carousel-shell .highlight-arrow { display:none; }
}

/* DESTAQUES ------------------------------------------------------------- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px 10px;
}
.featured-grid .post img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: black;
}
.featured-grid .post-meta {
    margin-top: 10px;
}
.featured-grid .post h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
    text-overflow: ellipsis;
    margin: 5px 0 6px;
    color: floralwhite;
    font-size: 18px;
    line-height: 1.15;
}
.featured-grid .post p {
    margin: 0 0 8px;
    color: gray;
    font-size: 16px;
    line-height: 1.35;
}
.featured-grid .featured-short-title p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
@media (width > 650px) {
    .home-page .news-ticker[hidden] {
        display:flex;
        visibility:hidden;
        min-height:26px;
    }
    .home-page #news-ticker + main::before {
        content:"";
        display:block;
        height:32px;
    }
}
/* PUBLICIDADE GRANDE ---------------------------------------------------- */
.ad-banner {
    display: flex;
    width: 100%;
    height: 90px;
    margin: 24px 0;
    align-items: center;
    justify-content: center;
    background-color: black;
    border: 1px solid gray;
    color: gray;
}
.ad-banner span {
    font-size: 14px;
}
/* ÚLTIMAS PUBLICAÇÕES --------------------------------------------------- */
.latest + .latest {
    margin-top: 40px;
}
.latest h1 {
    margin: 0 0 10px;
    color: var(--site-accent, #AF8058);
    font-size: clamp(15px, 3.5vw, 18px);
    font-weight: 400;
}
.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px;
}
.latest-grid .post {
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid gray;
    display:flow-root;
}
.latest-grid .post img {
    display: block;
    float: left;
    width: 80px;
    height: 80px;
    margin: 0 12px 8px 0;
    object-fit: cover;
}
.latest-grid .post-meta {
    margin-bottom: 5px;
}
.latest-grid .post h2 {
    margin: 0 0 6px;
    color: floralwhite;
    font-size: 18px;
    line-height: 1.2;
}
.latest-grid .post p {
    margin: 0;
    color: gray;
    font-size: 16px;
    line-height: 1.4;
}
/* PUBLICIDADE ENTRE AS MATÉRIAS ----------------------------------------- */
.ad-small {
    display: flex;
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid gray;
    align-items: center;
}
.ad-small span {
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: center;
    border: 1px solid gray;
    color: gray;
    font-size: 12px;
}
/* DESKTOP MÉDIO --------------------------------------------------------- */
@media (max-width: 1250px) {
    .featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* DESKTOP PEQUENO ------------------------------------------------------- */
@media (max-width: 1050px) {
    .featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* CELULAR --------------------------------------------------------------- */
@media (max-width: 650px) {
    main {
        padding: 10px 16px 16px;
    }
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }
    .featured-grid .post h2 {
        font-size: 16px;
    }
    .featured-grid .post p {
        font-size: 16px;
    }
    .ad-banner {
        margin: 30px 0;
    }
    .latest-grid {
        grid-template-columns: 1fr;
    }
    .latest-grid .post h2 {
        font-size: 16px;
    }
}
/* MODO CLARO ------------------------------------------------------------ */
.light-mode .post a {
    color: black;
}
.light-mode .featured-grid .post img {
    background-color: floralwhite;
}
.light-mode .post h2 {
    color: black;
}
.light-mode .ad-banner,
.light-mode .ad-small span {
    background-color: floralwhite;
}

.mobile-home-history[hidden] { display:none; }
@media (width > 650px) {
    .mobile-home-history { display:none; }
}
.mobile-post-type { display:none; }
@media (max-width:650px) {
    .home-page .site-header {
        height: 80px;
        min-height: 80px;
        padding-block: 0;
        flex-shrink: 0;
        border-bottom: 0;
    }
    .home-page .news-ticker[hidden] {
        display: flex;
        visibility: hidden;
        min-height: 26px;
    }
    .home-page #news-ticker:has(+ main) {
        margin-bottom: 32px;
    }
    .home-page main > .featured-grid, .home-page main > .latest, .home-page main > .ad-banner { display:none; }
    #mobile-home-history { --mobile-folhao-overlap:32px; width:100%; min-height:80px; isolation:isolate; }
    #mobile-home-history > #home-folhao {
        width: 100vw;
        margin-inline: calc((100% - 100vw) / 2);
        position: relative;
        z-index: 0;
        margin-bottom: calc(-1 * var(--mobile-folhao-overlap));
    }
    .mobile-folhao-space {
        height: 30vw;
        margin-bottom: calc(-1 * var(--mobile-folhao-overlap));
    }
    .mobile-home-heading {
        grid-column: 1 / -1;
        margin: 0 0 -6px;
        font-size: 20px;
        line-height: 26px;
        color: var(--site-accent, #AF8058);
    }
    .mobile-featured-carousel,
    .mobile-feed-list {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 14px;
    }
    .mobile-featured-carousel {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        padding: 2px 2px 8px;
        margin: 0 calc((100% - 100vw) / 2) 12px 0;
    }
    .mobile-featured-carousel > .highlight-spacer { flex:0 0 9.5%; }
    .mobile-featured-carousel > .post {
        box-sizing: border-box;
        flex: 0 0 76%;
        min-width: 0;
        margin: 0;
        scroll-snap-align: start;
        background: var(--mobile-highlight-background, #0a0a0a);
        border: 1px solid var(--site-accent, #AF8058);
        padding: 8px;
    }
    .light-mode .mobile-featured-carousel {
        --mobile-highlight-background: floralwhite;
    }
    .mobile-feed-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
    .mobile-news-column { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
    .mobile-news-column > .post { min-width: 0; margin: 0; }
    .mobile-feed-list > p { grid-column: 1 / -1; }
    .mobile-feed-list > .mobile-news-actions { grid-column: 1 / -1; justify-self: start; }
    .mobile-news-actions { display: grid; justify-items: start; gap: 6px; }
    .mobile-news-actions a {
        padding: 6px 10px;
        border: 1px solid var(--site-accent, #AF8058);
        color: inherit;
        font-size: 16px;
        line-height: 21px;
        text-decoration: none;
    }
    .mobile-news-actions a:hover, .mobile-news-actions a:focus-visible { text-decoration: underline; }
    #mobile-home-history .post > a { display:block; }
    #mobile-home-history .post img { display:block; width:100%; height:auto; aspect-ratio:auto 1 / 1; object-fit:contain; }
    #mobile-home-history .post-meta { display:flex; flex-direction:row; align-items:baseline; flex-wrap:nowrap; gap:6px; margin-top:8px; font-size:14px; }
    #mobile-home-history .post-meta > span { flex:0 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    #mobile-home-history .post-meta > time { flex:0 0 auto; white-space:nowrap; overflow:visible; text-overflow:clip; }
    #mobile-home-history .mobile-featured-carousel [data-category="review"] .post-meta { flex-wrap:wrap; }
    #mobile-home-history .mobile-featured-carousel [data-category="review"] .mobile-post-type {
        flex:0 0 auto;
        white-space:normal;
        overflow:visible;
    }
    #mobile-home-history .post h2 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; margin:5px 0 6px; font-size:16px; line-height:1.15; overflow:hidden; overflow-wrap:anywhere; }
    #mobile-home-history .post p {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: none;
        overflow: visible;
        margin: 0;
        color: gray;
        font-size: 14px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
}



@media (max-width:650px) {
    #mobile-home-history .post-meta > span:not(.mobile-post-type) { display:none; }
    #mobile-home-history .post-meta > .mobile-post-type { display:block; }
}



/* Editorial outlines belong to full home cards, not the compact category lists. */
.home-page .featured-grid > .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;
}

/* General history with the event agenda on the right. */
.home-continuation { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:32px; align-items:start; }
.home-history { min-width:0; }
.home-history > h1 { font-size:22px; margin:0 0 16px; color:var(--site-accent,#AF8058); }
#general-history {
    --history-meta-line:18.2px;
    --history-title-line:21.6px;
    --history-deck-line:22.4px;
    --history-content-height:calc(var(--history-meta-line) + 2 * var(--history-title-line) + 2 * var(--history-deck-line) + 10px);
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:var(--history-content-height);
    gap:10px 12px;
    padding-block:10px;
}
#general-history > .post { margin:0; padding:0 10px; border-bottom:0; box-sizing:border-box; }
/* Share four lines between title and deck beside a square thumbnail. */
#general-history > .post > a {
    display:grid;
    grid-template-columns:var(--history-content-height) minmax(0, 1fr);
    grid-template-rows:var(--history-meta-line) calc(2 * var(--history-title-line)) calc(2 * var(--history-deck-line));
    gap:5px 12px;
}
#general-history > .post > a > img {
    grid-column:1;
    grid-row:1 / 4;
    float:none;
    width:100%;
    height:100%;
    aspect-ratio:1;
    margin:0;
    object-fit:cover;
}
#general-history > .post > a > :is(.post-meta, h2, p) { grid-column:2; min-width:0; margin:0; }
#general-history > .post > a > h2 {
    align-self:start;
    line-height:var(--history-title-line);
    -webkit-line-clamp:2;
    line-clamp:2;
}
#general-history > .post > a > p {
    line-height:var(--history-deck-line);
    -webkit-line-clamp:2;
    line-clamp:2;
}
#general-history > .featured-short-title > a {
    grid-template-rows:var(--history-meta-line) var(--history-title-line) calc(3 * var(--history-deck-line));
    row-gap:calc(5px + (var(--history-title-line) - var(--history-deck-line)) / 2);
}
#general-history > .featured-short-title > a > p {
    -webkit-line-clamp:3;
    line-clamp:3;
}
#general-history > .post > a:not(:has(> img)) { grid-template-columns:minmax(0, 1fr); }
#general-history > .post > a:not(:has(> img)) > * { grid-column:1; }
#general-history > .latest-inline-ad { margin:0; padding:10px; min-width:0; justify-content:center; border-bottom:0; }
#general-history > .latest-inline-ad > span { height:100%; }
.home-history { container-type: inline-size; }
.latest-display-ad { display: grid; justify-items: center; align-self: center; min-width: 0; }
#general-history > .latest-display-ad { grid-column: span 1; }
.mobile-feed-list > .latest-display-ad { grid-column: 1 / -1; }
@container (width < 652px) { #general-history > .latest-display-ad { display: none; } }
.highlight-display-ad { flex: 0 0 300px; align-self: center; scroll-snap-align: start; }
:is(.latest-display-ad, .highlight-display-ad) > iframe { display: block; max-width: 100%; border: 0; }
:is(.latest-display-ad, .highlight-display-ad)[hidden] { display: none; }
#general-history > .post:not([data-category="news"]), .home-page .featured-grid > .post:not([data-category="news"]) { border:1px solid var(--site-accent,#AF8058); box-sizing:border-box; padding:8px; }
#general-history > .post:not([data-category="news"]) { padding:9px; }
.home-load-control { margin-top:20px; text-align:center; }
.home-load-control button, .agenda-scroll button { font:inherit; font-size:18px; color:inherit; border:1px solid var(--site-accent,#AF8058); padding:8px 18px; background:transparent; cursor:pointer; }
.home-load-control button:disabled { opacity:.55; cursor:wait; }
.home-load-status { margin:8px 0; font-size:16px; color:gray; }
.home-batch-ad { margin:14px 0 0; padding:0; border:0; }
.home-batch-ad span { height:60px; box-sizing:border-box; }
@media (650px < width <= 1050px) {
    .home-continuation { gap:24px; }
    #general-history > .post > a:has(> img) {
        grid-template-columns:min(var(--history-content-height), 38%) minmax(0,1fr);
    }
    #general-history > .post > a > img {
        height:auto;
        align-self:start;
    }
    .home-continuation { grid-template-columns:minmax(0,1fr); isolation:isolate; }
    .home-history, #home-agenda-column { grid-area:1 / 1; }
    #home-agenda-column {
        align-self:start;
        justify-self:end;
        width:calc((100% - 12px) / 2);
    }
    #home-agenda-column > #home-folhao .folhao-cover {
        width:100%;
        margin-inline:0;
        mask-image:linear-gradient(to bottom,#000 0%,rgb(0 0 0 / 50%) 25%,rgb(0 0 0 / 25%) 50%,rgb(0 0 0 / 10%) 75%,transparent 100%);
    }
    .home-continuation:has(#home-folhao:not([hidden])) #general-history::before {
        content:"";
        grid-area:1 / 2;
        pointer-events:none;
    }
    /* The reserved cover cell makes the third grid item the first on the right. */
    .home-continuation:has(#home-folhao:not([hidden])) #general-history:not(:has(> .latest-display-ad:not([hidden]))) > :nth-child(2n+3 of :not(.latest-display-ad)) {
        top:calc(var(--history-content-height) / -2);
    }
    .home-history > h1,
    #general-history > *,
    #desktop-load-control { position:relative; z-index:1; }
    #home-agenda-column > #home-agenda,
    #home-agenda-column:not(:has(> #home-folhao:not([hidden]))) { display:none; }
}
@media(max-width:650px){
    .home-continuation { display:none; }
}

#mobile-agenda {
    box-sizing: border-box;
    width: min(460px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 14px;
    border: 1px solid #FF2400;
    background: #111;
    color: floralwhite;
}
.light-mode #mobile-agenda { background: floralwhite; color: black; }
#mobile-agenda::backdrop { background: #0009; }
#mobile-agenda > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#mobile-agenda-title { margin: 0; font-size: 20px; }
#mobile-agenda-close { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; padding: 5px 9px; cursor: pointer; }
#mobile-agenda .agenda-scroll { max-height: min(64svh, 540px); }

/* Mini advertising outlines follow the entire card. */
.home-page #general-history > .latest-inline-ad,
.home-page .home-batch-ad,
.home-page .ad-banner{box-sizing:border-box;border:1px solid gray}
.home-page .ad-small > span,
.home-page .ad-banner > span{box-sizing:border-box;border:0}

@media (min-width:781px) { .home-page .site-header { height:80px; min-height:80px; padding-block:0; flex-shrink:0; } }
.home-page .featured-grid > .post[data-alert-border="true"],.home-page #general-history > .post[data-alert-border="true"],.home-page .mobile-news-column > .post[data-alert-border="true"],.home-page .mobile-featured-carousel > .post[data-alert-border="true"]{border-color:transparent;padding:8px}



/* Initial HTML remains usable on phones before scripts finish or if they fail. */
@media(max-width:650px){
 .home-page[data-catalog-pending]:not(:has(.mobile-home-history[data-mobile-catalog-lang])) .home-feature-layout{display:block}
 .home-page[data-catalog-pending] #home-feature-layout #featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .home-page[data-catalog-pending] .featured-grid img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
 .home-page[data-catalog-pending] .home-feature-layout>.ad-banner{display:none}
 .home-page[data-catalog-pending]:not(:has(.mobile-home-history[data-mobile-catalog-lang])) .home-continuation{display:block}
 .home-page[data-catalog-pending] #home-agenda-column{display:none}
 .home-page[data-catalog-pending] #general-history{grid-template-columns:1fr}
}

@media (width > 1250px) {
    .featured-grid > [data-server-card]:nth-child(n+6) { display:none; }
}
@media (1050px < width <= 1250px) {
    .featured-grid > [data-server-card]:nth-child(n+5) { display:none; }
}
@media (650px < width <= 780px) {
    .featured-grid > [data-server-card]:nth-child(n+3) { display:none; }
}

@media (780px < width <= 1050px) {
    .featured-grid > [data-server-card]:nth-child(n+4) { display:none; }
}
/* Desktop home typography, with line heights rounded up to whole pixels. */
@media (width > 650px) {
    .home-page .main-nav a { font-size: 16px; line-height: 23px; }
    .home-page .news-ticker { font-size: 18px; line-height: 23px; }
    .home-page :is(.site-search input, .account-bar > a) { font-size: 18px; }

    .home-page .featured-grid .post h2 { font-size: 20px; line-height: 23px; }
    .home-page .featured-grid .post p { font-size: 18px; line-height: 25px; }
    .home-page .home-history > h1 { font-size: 24px; }
    .home-page #general-history {
        --history-meta-line: 21px;
        --history-title-line: 24px;
        --history-deck-line: 26px;
        row-gap: 14px;
    }
    .home-page #general-history .post h2 { font-size: 20px; }
    .home-page #general-history .post p { font-size: 18px; }
    .home-page .post-meta { font-size: 16px; line-height: 21px; }
    .home-page .post-meta > span { font-size: 14px; line-height: 19px; }

    .home-page #home-agenda > h2 { font-size: 20px; }
    .home-page #home-agenda .agenda-month-heading { font-size: 20px; line-height: 25px; }
    .home-page #home-agenda :is(.agenda-tabs button, .agenda-location) { font-size: 16px; }
    .home-page #home-agenda .agenda-event > :is(h4, time, .agenda-event-titles) { font-size: 16px; line-height: 20px; }
    .home-page #home-agenda .agenda-event-type { font-size: 14px; line-height: 18px; }

    .home-page .home-load-control button { font-size: 20px; }
    .home-page .site-footer-main { font-size: 18px; line-height: 27px; }
    .home-page .site-footer .site-footer-meta { font-size: 16px; line-height: 24px; }
    .home-page .site-footer-brand { font-size: 18px; line-height: 21px; }
    .home-page .cookie-notice { font-size: 18px; line-height: 25px; }
}

/* Mobile home type and proportional, whole-pixel line heights. */
@media (width <= 650px) {
    .home-page .main-nav a { font-size: 16px; line-height: 23px; }
    .home-page .news-ticker { font-size: 18px; line-height: 23px; }
    .home-page :is(.site-search input, .account-bar > a) { font-size: 18px; }

    .home-page #mobile-home-history .post h2 { font-size: 18px; line-height: 21px; }
    .home-page #mobile-home-history .post p { font-size: 16px; line-height: 22px; }
    .home-page #mobile-home-history .mobile-featured-carousel .post h2 {
        font-size: 22px;
        line-height: 26px;
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }
    .home-page #mobile-home-history .mobile-featured-carousel .post p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-height: 26px;
        -webkit-line-clamp: var(--mobile-deck-lines, 2);
        line-clamp: var(--mobile-deck-lines, 2);
        overflow: hidden;
    }
    .home-page #mobile-home-history .mobile-featured-carousel .mobile-title-fills-card p {
        display: none;
    }
    .home-page #mobile-home-history .post-meta { font-size: 16px; line-height: 21px; }
    .home-page #mobile-home-history .post-meta > span { font-size: 14px; line-height: 19px; }

    .home-page #mobile-agenda-title { font-size: 22px; }
    .home-page #home-agenda .agenda-month-heading { font-size: 20px; line-height: 25px; }
    .home-page #home-agenda :is(.agenda-tabs button, .agenda-location) { font-size: 16px; }
    .home-page #home-agenda .agenda-event > :is(h4, time, .agenda-event-titles) { font-size: 16px; line-height: 20px; }
    .home-page #home-agenda .agenda-event-type { font-size: 14px; line-height: 18px; }

    .home-page .site-footer-main { font-size: 18px; line-height: 27px; }
    .home-page .site-footer .site-footer-meta { font-size: 16px; line-height: 24px; }
    .home-page .site-footer-brand {
        font-size: clamp(12px, calc(3.8vw + 2px), 18px);
        line-height: 1.15;
        line-height: round(up, 1.15em, 1px);
    }
    .home-page .cookie-notice { font-size: 16px; line-height: 22px; }
}
