body { font-size:calc(1.1875rem - 1pt); line-height:1.52; }
h1, .brand { font-size:clamp(calc(1.65rem - 1pt), calc(4vw - 1pt), calc(2.15rem - 1pt)); line-height:1.17; }
h2 { font-size:calc(1.5rem - 1pt); line-height:1.22; }
h3, article h2, .item h3, .media-watch-item h3,
.news-item h3, .breaking-item h3 {
    font-size:calc(1.375rem - 1pt) !important;
    line-height:1.32 !important;
}
.mhm-nav-link, .nav a, nav a { font-size:calc(1.0625rem - 1pt); }
label, input, select, textarea, button, summary { font-size:calc(1.0625rem - 1pt); }
button, select, input:not([type=checkbox]):not([type=radio]) { min-height: 44px; }
button, select, input, textarea { line-height:1.27; }
input[type=checkbox], input[type=radio] { min-width: 1.25rem; min-height: 1.25rem; }
.hint, .meta, .muted, .date-line, .media-watch-meta,
.count, small, .foot, .summary, .notice, .news-engagement,
.actions button, .news-engagement button {
    font-size:calc(1rem - 1pt) !important;
    line-height:1.42;
}
.verify-tag, .tag, .badge, .chip { font-size:calc(.9375rem - 1pt) !important; line-height:1.32; }
.hint, .meta, .muted, .date-line, .media-watch-meta, .foot { color: #c2cfdf; }
.news-item, .breaking-item, .item, article, .notice, .result { overflow-wrap: anywhere; }
.mhm-nav-link, .nav a { min-height: 44px; }
.stats > *, .filters > *, .row > *, .news-columns > * { min-width: 0; }
@media (max-width: 820px) {
    .news-columns { grid-template-columns: minmax(0, 1fr); }
    .breaking-column { position: static; }
}
@media (max-width: 600px) {
    .wrap { padding-inline: 12px; }
    .panel { padding: 14px; }
    .filters, .row { grid-template-columns: minmax(0, 1fr); }
    .mhm-nav-link, .nav a { padding: 8px 10px; }
    .top, .breaking-head { flex-wrap: wrap; }
    .news-stream { max-height: none; }
}

@media (max-width: 680px) {
    .news-item h3,
    .breaking-item h3,
    .item h3,
    .media-watch-item h3,
    article h2 {
        font-size:calc(1.5rem - 1pt) !important;
        line-height:1.24 !important;
    }
    .news-item p.hint,
    .item p.hint,
    .media-watch-item p.hint,
    .breaking-item div[style] > .hint {
        color: #e0e8f2;
        font-size:calc(1.4375rem - 1pt) !important;
        line-height:1.47;
        margin-block: .65rem .9rem;
    }
    .news-stream { padding-inline: 10px; }
    .news-item, .breaking-item, .item { padding-block: 18px; }
}

@media (max-width: 600px) {
    .news-item a[target="_blank"],
    .breaking-item a[target="_blank"],
    .item .actions a[target="_blank"],
    article > a[target="_blank"] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size:calc(1.25rem - 1pt);
        font-weight: 700;
        text-underline-offset: .15em;
    }
}

@media (max-width: 680px) {
    body { font-size:calc(1.0625rem - 1pt); }
    .mhm-nav-link, .nav a, nav a,
    label, input, select, textarea, button, summary { font-size:calc(.9375rem - 1pt); }
    .hint, .meta, .muted, .date-line, .media-watch-meta,
    .count, small, .foot, .summary, .notice, .news-engagement,
    .actions button, .news-engagement button { font-size:calc(.875rem - 1pt) !important; }
    .verify-tag, .tag, .badge, .chip { font-size:calc(.8125rem - 1pt) !important; }
}

/* Consistent navigation and page spacing across the public reader. */
nav[data-reader-nav] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    margin-block: 12px 18px;
    background: #101d30;
    border: 1px solid #293b53;
    border-radius: 10px;
    box-shadow: none;
}
nav[data-reader-nav] a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size:calc(.9375rem - 1pt);
    text-transform: none;
}
nav[data-reader-nav] .reader-menu,
nav[data-reader-nav] > .reader-mobile-link { display: none; }

@media (max-width: 720px) {
    nav[data-reader-nav] { gap: 2px; margin-block: 8px 12px; }
    nav[data-reader-nav] > a:not([href="/"]):not([href="/breaking"]):not([href="/search"]) { display: none; }
    nav[data-reader-nav] > a,
    nav[data-reader-nav] > .reader-mobile-link,
    nav[data-reader-nav] .reader-menu > summary {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 6px 7px;
        gap: 4px;
        font-size:calc(.8125rem - 1pt);
        white-space: nowrap;
    }
    nav[data-reader-nav] > a > svg { display: none; }
    nav[data-reader-nav] .reader-menu { display: block; position: relative; }
    .reader-menu > summary { list-style: none; cursor: pointer; }
    .reader-menu > summary::-webkit-details-marker { display: none; }
    .reader-menu > summary::after { content: "⌄"; }
    nav[data-reader-nav] .reader-menu > div {
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 175px;
        padding: 5px;
        background: #101d30;
        border: 1px solid #3b4c64;
        border-radius: 8px;
        box-shadow: 0 8px 22px #0006;
        z-index: 12;
    }
    nav[data-reader-nav] .reader-menu a { display: flex; font-size:calc(.875rem - 1pt); }
}
.sources-page .wrap { margin-block: 12px 28px; }
.sources-page h1 { font-size:clamp(calc(1.25rem - 1pt), calc(4vw - 1pt), calc(1.625rem - 1pt)); margin: 0 0 8px; }
.sources-page .source-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: #121f33;
    border: 1px solid #29364a;
    border-radius: 10px;
}
.sources-page .bar { gap: 4px; margin: 4px 0; }
.sources-page .source-tools .bar { margin: 0; }
.sources-page .bar button {
    padding: 6px 9px;
    font-size:calc(.8125rem - 1pt);
    background: #263950;
}
.sources-page .bar #scanSources { background: #ba2336; }
.sources-page button:disabled { opacity: .65; cursor: default; }
.sources-page .count { font-size:calc(.8125rem - 1pt) !important; padding-inline: 4px; }
.sources-page .result { margin: 6px 0; padding: 5px 8px; min-height: 0; font-size:calc(.875rem - 1pt); }
.sources-page .result:empty { display: none; }
.sources-page .extras, .sources-page .group { padding: 10px 12px; }
.sources-page .groups { gap: 8px; margin-top: 8px; }
.sources-page .item { padding-block: 8px; }
.sources-page .item:last-child { border-bottom: 0; }
@media (max-width: 400px) {
    .sources-page .source-tools .bar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.news-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.news-card-actions .news-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.news-card-actions > a,
.news-card-actions .news-share button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid #506883;
    border-radius: 7px;
    background: #263950;
    color: #fff;
    font-size:calc(.9375rem - 1pt);
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
.news-card-actions > a:hover,
.news-card-actions .news-share button:hover { background: #354b67; }

.share-options { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 4px 8px; border: 1px solid #506883; border-radius: 8px; background: #17263b; }
.news-card-actions .share-options a,
.news-card-actions .share-options button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 3px 4px;
    border: 0;
    background: transparent;
    color: #f0f5fc;
    font-size:calc(.875rem - 1pt);
    font-weight: 650;
    text-decoration: none;
}
.news-card-actions .share-options a:hover,
.news-card-actions .share-options button:hover { background: #304765; }

.mhm-install-invitation {
    position: fixed;
    inset-inline: 12px;
    inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 25;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    max-width: 350px;
    margin-inline: auto;
    padding: 10px 8px 6px 10px;
    border: 1px solid #506883;
    border-radius: 12px;
    background: #121f33;
    box-shadow: 0 6px 24px #0008;
    color: #eef4fc;
    font-size: .875rem;
    line-height: 1.3;
}
.mhm-install-invitation img { border-radius: 7px; }
.mhm-install-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.mhm-install-invitation a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #ffb5c0;
    font-weight: 650;
}
.mhm-install-invitation button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    margin: 0;
    background: transparent;
    border: 1px solid transparent;
    color: #eef4fc;
    font-size: inherit;
    cursor: pointer;
}
.mhm-install-invitation button:hover { background: #263950; }

@media (max-width: 680px) {
    html { font-size: 15px; }
    body { line-height: 1.42; }
    article p, .news-item p.hint, .item p.hint, .media-watch-item p.hint {
        line-height: 1.39;
        margin-block: .4rem .55rem;
    }
    .news-item h3, .breaking-item h3, .item h3, .media-watch-item h3, article h2 {
        line-height: 1.18 !important;
    }
    .hint, .meta, .date-line, .media-watch-meta, .muted { line-height: 1.3; }
    .news-item, .breaking-item, .item { padding-block: 12px; }
    .news-card-actions { margin-top: 6px; gap: 6px; }
    .panel { margin-block: 9px; }
    .press-filters { gap: 5px; }
    article p.summary { font-size: 1.33rem !important; line-height: 1.39; }
}

.share-options.share-options-mobile {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 4px;
    max-width: 100%;
}
.news-card-actions .share-options-mobile > * {
    justify-content: center;
    text-align: center;
    min-width: 0;
    border: 1px solid #40536b;
}

:where(#newsList,#breakingList,#list,#newsRank,#events,#localResultsList,#personalResultsList,.local-news-list) > :is(article,li),
:where(#localResultsList) .local-result-source > article,
article[data-origin] {
    border: 1px solid #344761;
    border-radius: 10px;
    background: #142236;
    padding: 10px 12px;
    margin-block: 7px;
}
.news-card-actions > a,
.news-card-actions > .news-share > button[data-share-news] {
    font-size: .80rem;
    padding-inline: 9px;
}

.news-card-actions > a {
    background: #a52238;
    border-color: #ce5267;
    color: #fff;
    justify-content: center;
    font-weight: 750;
}
.news-card-actions > a:hover,.news-card-actions > a:focus-visible { background: #bb2c46; }
.news-card-actions > .news-share > button[data-share-news] {
    inline-size: 44px;
    justify-content: center;
    font-size: 0 !important;
    padding: 0;
}
.news-card-actions > .news-share > button[data-share-news]::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 11l6-4m-6 6 6 4'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
