/* Portal reading surfaces. Original editorial images remain available in full. */
.cg-weather-now__facts dt { text-transform: none !important; letter-spacing: normal; }
body.single-post .article-single--editorial .article-entry__media > img,
body .cg-event-single__media > .cg-event-single__img {
    max-height: min(65svh,40rem) !important;
    object-fit: contain !important;
}
body.single-post .article-content > p > img,
body.single-post .article-content > p > a > img,
body.single-post .article-content > figure.wp-block-image img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(70svh,44rem);
    object-fit: contain;
    margin-inline: auto;
}
.article-preferred-source { width: 100%; }
.article-preferred-source__link {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1rem;
    border: 1px solid var(--cg-border,rgba(8,73,162,.2));
    background: var(--cg-white,#fff);
    color: var(--cg-ink-soft,rgba(17,17,17,.72));
    font: 500 .875rem/1.5 var(--cg-font-body,Montserrat,sans-serif);
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color 180ms ease, border-color 180ms ease;
}
.article-preferred-source__link:is(:hover,:focus-visible) {
    background: var(--cg-sky,#f7fbff);
    border-color: var(--cg-brand-700,#0849a2);
    color: var(--cg-brand-700,#0849a2);
}
.article-preferred-source__link:focus-visible { outline: 2px solid var(--cg-brand-700,#0849a2); outline-offset: 3px; }
.article-preferred-source__google { display: block; flex: 0 0 1.75rem; width: 1.75rem; height: 1.75rem; }
/* The header normally clips its top row. Allow the open popup to cover the masthead. */
.site-header[data-site-header] .site-header__top.has-search-suggestions {
    overflow: visible !important;
    z-index: 20;
}
.site-header[data-site-header] .site-header__compact-search.has-search-suggestions { z-index: 20; }
.search-form[data-search-suggestions-url] { position: relative; }
.cg-search-suggestions {
    position: absolute;
    z-index: 100;
    inset: calc(100% + .4rem) 0 auto;
    max-height: min(60svh,30rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cg-white,#fff);
    color: var(--cg-ink,#111);
    border: 1px solid var(--cg-border,rgba(8,73,162,.2));
    box-shadow: 0 .5rem 1.5rem rgba(8,73,162,.1);
    text-align: left;
}
.cg-search-suggestions[hidden] { display: none; }
.cg-search-suggestions__list { display: block; }
.cg-search-suggestions__item {
    display: block;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--cg-border,rgba(8,73,162,.2));
    color: var(--cg-ink,#111);
    font: 500 .85rem/1.55 var(--cg-font-body,Montserrat,sans-serif);
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}
.cg-search-suggestions__item:is(:hover,[aria-selected="true"],:focus-visible) {
    background: var(--cg-brand-100,#d6e9fe);
    color: var(--cg-brand-700,#0849a2);
}
.cg-search-suggestions__type {
    display: block;
    margin-top: .2rem;
    color: var(--cg-ink-soft,rgba(17,17,17,.72));
    font-size: .75rem;
    font-weight: 400;
}
.cg-search-suggestions__all {
    display: block;
    padding: .8rem 1rem;
    color: var(--cg-brand-700,#0849a2);
    font: 700 .8rem/1.5 var(--cg-font-body,Montserrat,sans-serif);
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
}
.cg-search-suggestions__all:is(:hover,:focus-visible) { background: var(--cg-brand-100,#d6e9fe); }
.cg-search-suggestions__empty { margin: 0; padding: .8rem 1rem; font-size: .85rem !important; }

/* Optional editorial facts use the same frame, type and colors as the portal. */
.article-key-facts {
    position: relative;
    margin: 1.25rem 0 clamp(1.5rem,2.5vw,2.25rem);
    padding: 0 clamp(1rem,2vw,1.5rem) 1.4rem;
    border: 1px solid var(--cg-border,rgba(8,73,162,.2));
    background: var(--cg-sky,#f7fbff);
    color: var(--cg-ink,#111);
}
.article-key-facts h2 {
    position: relative;
    display: table;
    max-width: 100%;
    margin: -.9rem 0 1rem;
    padding: .35rem .75rem;
    background: var(--cg-brand-700,#0849a2);
    color: var(--cg-white,#fff);
    font: 400 clamp(.85rem,.8rem + .2vw,1rem)/1.4 'Archivo Black',sans-serif;
    text-transform: none;
    letter-spacing: normal;
    text-wrap: balance;
}
.article-key-facts h2 { font-size: clamp(.85rem,.8rem + .2vw,1rem) !important; line-height: 1.4 !important; }
.article-key-facts ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.article-key-facts li { display: grid; grid-template-columns: 1rem minmax(0,1fr); gap: .7rem; align-items: start; font: 400 .95rem/1.7 Montserrat,system-ui,sans-serif; text-wrap: pretty; }
.article-key-facts li svg { display: block; width: 1rem; height: 1rem; margin-top: .3rem; fill: none; stroke: var(--cg-brand-700,#0849a2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
