/* Páginas sóbrias (as irmãs do calendário): o conteúdo primeiro, sem blocos de cor nem cantos redondos.
   Só com body.pagina-sobria. A cor fica para ligações, estados ativos e pequenos marcadores de contexto.
   Mesmo desenho de calendario-calendario-sobrio.css, para os componentes destas páginas. */

html body.pagina-sobria:not(#c1):not(#c2):not(#c3) {
    --c-tinta: #1c2a21; --c-suave: #56635b; --c-ténue: #87928b; --c-linha: #dde4df; --c-acento: #2b6a3d; --c-acento-escuro: #173c25;
}

/* ---------- Filtros e etiquetas: texto, sem cápsulas ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-chips, .sm-chips, .pl-chips) { gap: .35rem 1.3rem !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-chips, .sm-chips, .pl-chips) button {
    width: auto !important; height: auto !important; min-height: 0 !important; padding: .35rem 0 !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; color: var(--c-suave) !important; -webkit-text-fill-color: currentColor !important; font-weight: 600 !important; transition: color .18s ease, border-color .18s ease;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-chips, .sm-chips, .pl-chips) button:hover { color: var(--c-acento) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-chips, .sm-chips, .pl-chips) button[aria-pressed="true"] { color: var(--c-acento-escuro) !important; border-bottom-color: var(--c-acento) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-chips, .sm-chips, .pl-chips) button small { color: var(--c-ténue) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problemas-chips button img { width: 22px !important; height: 22px !important; border-radius: 3px !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problemas-chips button.has-img { padding: .35rem 0 !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-mais, .pl-acoes button, .btn-clean, .quiet-button, .link-button, .catalogue-more button, .load-more) {
    width: auto !important; min-height: 0 !important; height: auto !important; padding: .2rem 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    color: var(--c-acento) !important; -webkit-text-fill-color: currentColor !important; font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-mais, .pl-acoes button):hover { color: var(--c-acento-escuro) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.problemas-tools input, .problemas-tools select, .pl-ctl select, .pl-ctl input) {
    border: 0 !important; border-bottom: 1px solid #b9c4bc !important; border-radius: 0 !important; background-color: transparent !important; box-shadow: none !important; padding-left: 0 !important;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .sm-tag { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--c-acento) !important; letter-spacing: .06em; }

/* ---------- Problemas na horta: lista, não cartões coloridos (a cor fica só na etiqueta) ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problemas-grelha { gap: 0 1.6rem !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-quadro {
    min-height: 0 !important; padding: .9rem 0 1rem !important; border: 0 !important; border-top: 1px solid var(--c-linha) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; text-align: left;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-quadro:hover, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-quadro.is-active { background: none !important; box-shadow: none !important; border-top-color: var(--q-tag, var(--c-acento)) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-quadro .problema-quadro-titulo { color: var(--c-tinta) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-quadro:hover .problema-quadro-titulo { color: var(--c-acento) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ligações com ícone (hub de conhecimento): só o texto ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-tools-ico, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ico-cartao { display: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-tools a, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-tools li, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.hub-signal, .hub-highlight-card, .hub-report, .hub-latest-card) {
    border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-tools a { padding: .9rem 0 !important; border-top: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-tools a:hover strong, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-tools a:hover h3 { color: var(--c-acento) !important; text-decoration: underline; text-underline-offset: 3px; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main :is(.hub-signal, .hub-highlight-card, .hub-report) { padding: 1.2rem 1.2rem 1.2rem 0 !important; border-top: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-thumb, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest img, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .crop-media img, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .sm-foto img, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main figure img { border-radius: 2px !important; box-shadow: none !important; }

/* ---------- Seis forças (fatores): igual ao «Quatro sinais» do calendário ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tabs { gap: 0 !important; border-top: 1px solid var(--c-linha); border-bottom: 1px solid var(--c-linha); }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab {
    padding: 1.1rem 1.4rem 1.1rem 0 !important; border: 0 !important; border-top: 2px solid transparent !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--c-tinta) !important; text-align: left !important; margin-top: -1px;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab + .ft-tab { padding-left: 1.4rem !important; border-left: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab * { color: inherit !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab .ft-n { color: var(--c-ténue) !important; letter-spacing: .14em; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab .ft-v { color: var(--c-acento-escuro) !important; font-size: 1.9rem !important; font-weight: 600 !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab .ft-k { color: var(--c-suave) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab[aria-selected="true"], html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab.active { border-top-color: var(--c-acento) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab[aria-selected="true"] .ft-v, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab:hover .ft-v { color: var(--c-acento) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-painel { padding: 1.6rem 0 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-painel :is(.ft-dados > div, .ft-dados > p, .ft-dados > figure, .ft-dados > article, .ft-grafico, .ft-fato, .ft-pratica li) { background: none !important; border: 0 !important; border-top: 1px solid var(--c-linha) !important; border-radius: 0 !important; box-shadow: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-painel a { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; color: var(--c-acento) !important; text-decoration: underline; text-underline-offset: 3px; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-pratica li::before, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-pratica li::after { display: none !important; content: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-fig, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-fig img { border-radius: 2px !important; }

/* ---------- Sementes: tabelas e caixas ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .tscroll { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main table th { background: none !important; color: var(--c-ténue) !important; border-bottom: 1px solid var(--c-linha) !important; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main table td { border-color: var(--c-linha) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .tiles { gap: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; border-top: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .tile { background: none !important; border-radius: 0 !important; border: 0 !important; padding: 1rem 1.4rem 1rem 0 !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .tile + .tile { padding-left: 1.4rem !important; border-left: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .srcc { border-radius: 0 !important; box-shadow: none !important; background: none !important; border: 0 !important; border-top: 1px solid var(--c-linha) !important; padding: .9rem 0 !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .sm-foto { border-radius: 2px !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .sm-passos li { padding: .9rem 0 .9rem 2.2rem !important; border: 0 !important; border-top: 1px solid var(--c-linha) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .sm-passos li::before {
    width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    color: var(--c-acento) !important; font-weight: 700; font-size: .9rem !important; left: 0 !important; top: .95rem !important; line-height: 1.3 !important;
}


/* ---------- Ficha de cultura: painéis sem fundo ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .detail-panel { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 1.6rem 0 !important; border-top: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .detail-section { border-color: var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-col, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .problema-col.problema-fazer { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: .9rem 1.2rem .9rem 0 !important; border-top: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main details.problema { border: 0 !important; border-radius: 0 !important; background: none !important; border-top: 1px solid var(--c-linha) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hero-globe { box-shadow: none !important; }

/* ---------- Hub: destaques, achados e notícias ---------- */
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-highlight-card > div, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-highlight-card > * { padding-left: 0 !important; padding-right: 0 !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-highlight-link {
    display: inline-block !important; width: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    color: var(--c-acento) !important; -webkit-text-fill-color: currentColor !important; font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
}
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-highlight-link:hover { color: var(--c-acento-escuro) !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-findings > span { padding: .7rem 0 !important; border-top: 1px solid var(--c-linha) !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-findings > span::before, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-findings > span::after { display: none !important; content: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid { gap: 1.8rem 1.4rem !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid > a { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid .news-media, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid .news-media img { border-radius: 2px !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid > a > :not(.news-media) { padding-left: 0 !important; padding-right: 0 !important; background: none !important; }
html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid > a:hover h3, html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .hub-latest-grid > a:hover strong { color: var(--c-acento) !important; }

/* ---------- Ecrãs estreitos ---------- */
@media (max-width: 900px) {
    html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tabs { display: grid !important; grid-template-columns: 1fr 1fr; }
    html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab + .ft-tab { padding-left: 0 !important; border-left: 0 !important; }
    html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .ft-tab:nth-child(even) { padding-left: 1rem !important; border-left: 1px solid var(--c-linha) !important; }
    html body.pagina-sobria:not(#c1):not(#c2):not(#c3) #main .tile + .tile { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--c-linha) !important; }
}
