/* ======================================================================
   Portal do Serviço Social — Editorial 2026 / Astra
   Visual mais sóbrio, leitura mais confortável e navegação mais funcional.
   ====================================================================== */

:root {
    --pss-navy: #0d2b4a;
    --pss-navy-2: #173f65;
    --pss-blue: #0e68e9;
    --pss-blue-hover: #0a54bd;
    --pss-green: #15956b;
    --pss-orange: #f39c25;
    --pss-text: #223548;
    --pss-muted: #66788a;
    --pss-bg: #f5f7fa;
    --pss-surface: #ffffff;
    --pss-soft: #eef3f7;
    --pss-soft-blue: #eff6ff;
    --pss-border: #dce4eb;
    --pss-border-strong: #cbd6e0;
    --pss-radius-sm: 8px;
    --pss-radius: 12px;
    --pss-radius-lg: 16px;
    --pss-shadow-sm: 0 3px 12px rgba(13, 43, 74, .055);
    --pss-shadow: 0 12px 32px rgba(13, 43, 74, .075);
    --pss-container: 1280px;
    --pss-reading: 820px;
}

/* BASE ---------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body,
body button,
body input,
body select,
body textarea {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
}

body.portalss-editorial-2026 {
    color: var(--pss-text);
    background: var(--pss-bg);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.portalss-editorial-2026 a {
    text-underline-offset: 3px;
    transition: color .18s ease, background-color .18s ease,
        border-color .18s ease, box-shadow .18s ease, transform .18s ease,
        opacity .18s ease;
}

.portalss-editorial-2026 .ast-container,
.portalss-editorial-2026 .site-primary-header-wrap,
.portalss-editorial-2026 .site-below-header-wrap,
.portalss-editorial-2026 .site-above-header-wrap,
.portalss-editorial-2026 .site-primary-footer-wrap,
.portalss-editorial-2026 .site-above-footer-wrap,
.portalss-editorial-2026 .site-below-footer-wrap {
    max-width: var(--pss-container);
}

/* CABEÇALHO ----------------------------------------------------------- */

.portalss-editorial-2026 .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-top: 4px solid var(--pss-blue);
    box-shadow: 0 1px 0 rgba(13, 43, 74, .08);
}

.portalss-editorial-2026 .site-header::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 0;
    width: 34%;
    height: 4px;
    background: linear-gradient(90deg, var(--pss-green) 0 62%, var(--pss-orange) 62% 100%);
}

.portalss-editorial-2026.portalss-is-scrolled .site-header {
    box-shadow: 0 8px 25px rgba(13, 43, 74, .09);
}

.admin-bar.portalss-editorial-2026 .site-header {
    top: 32px;
}

.portalss-editorial-2026 .ast-primary-header-bar {
    background: #fff;
    border: 0;
}

.portalss-editorial-2026 .site-primary-header-wrap .ast-builder-grid-row {
    min-height: 70px;
}

.portalss-editorial-2026 .site-header .custom-logo-link img,
.portalss-editorial-2026 .ast-site-identity .site-logo-img img {
    width: auto;
    max-width: 184px;
    max-height: 54px;
}

.portalss-editorial-2026 .main-header-menu > .menu-item > .menu-link {
    position: relative;
    min-height: 70px;
    padding: 0 14px;
    color: var(--pss-navy);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.008em;
}

.portalss-editorial-2026 .main-header-menu > .menu-item > .menu-link::before {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 11px;
    left: 14px;
    height: 3px;
    border-radius: 999px;
    background: var(--pss-blue);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
}

.portalss-editorial-2026 .main-header-menu > .menu-item:hover > .menu-link,
.portalss-editorial-2026 .main-header-menu > .current-menu-item > .menu-link,
.portalss-editorial-2026 .main-header-menu > .current-menu-ancestor > .menu-link {
    color: var(--pss-blue);
}

.portalss-editorial-2026 .main-header-menu > .menu-item:hover > .menu-link::before,
.portalss-editorial-2026 .main-header-menu > .current-menu-item > .menu-link::before,
.portalss-editorial-2026 .main-header-menu > .current-menu-ancestor > .menu-link::before {
    opacity: 1;
    transform: scaleX(1);
}

.portalss-editorial-2026 .main-header-menu .sub-menu {
    min-width: 250px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(13, 43, 74, .13);
}

.portalss-editorial-2026 .main-header-menu .sub-menu .menu-link {
    min-height: auto;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--pss-text);
    font-size: 14.5px;
    line-height: 1.4;
}

.portalss-editorial-2026 .main-header-menu .sub-menu .menu-link:hover {
    color: var(--pss-blue);
    background: var(--pss-soft-blue);
}

/* Linha de redes: presente, porém mais discreta. */
.portalss-editorial-2026 .ast-below-header-bar {
    min-height: 34px;
    background: #f8fafc;
    border-top: 1px solid #eef2f5;
    border-bottom: 1px solid var(--pss-border);
}

.portalss-editorial-2026 .site-below-header-wrap .ast-builder-grid-row {
    min-height: 34px;
}

.portalss-editorial-2026 .ast-header-social-wrap .ast-builder-social-element {
    margin: 0 6px;
    opacity: .76;
}

.portalss-editorial-2026 .ast-header-social-wrap .ast-builder-social-element:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* CONTEÚDO PRINCIPAL -------------------------------------------------- */

.portalss-editorial-2026 #content {
    background: var(--pss-bg);
}

.portalss-editorial-2026 #content > .ast-container {
    padding-top: 34px;
    padding-bottom: 58px;
}

@media (min-width: 993px) {
    .portalss-editorial-2026.ast-right-sidebar #primary {
        width: calc(100% - 340px);
        padding-right: 38px;
        border-right: 0;
    }

    .portalss-editorial-2026.ast-right-sidebar #secondary {
        width: 340px;
        padding-left: 0;
        margin-left: 0;
        border-left: 0;
    }
}

/* POSTS E PÁGINAS ----------------------------------------------------- */

.portalss-editorial-2026 .ast-separate-container .ast-article-single,
.portalss-editorial-2026 .ast-separate-container .ast-article-post,
.portalss-editorial-2026 .ast-article-single,
.portalss-editorial-2026 .ast-article-post {
    background: var(--pss-surface);
    border: 1px solid var(--pss-border);
    border-radius: var(--pss-radius-lg);
    box-shadow: var(--pss-shadow-sm);
}

.portalss-editorial-2026 .ast-separate-container .ast-article-single,
.portalss-editorial-2026 .ast-separate-container .ast-article-post {
    padding: 42px;
}

.portalss-editorial-2026.blog .ast-article-post,
.portalss-editorial-2026.archive .ast-article-post,
.portalss-editorial-2026.search .ast-article-post {
    overflow: hidden;
    margin-bottom: 26px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.portalss-editorial-2026.blog .ast-article-post:hover,
.portalss-editorial-2026.archive .ast-article-post:hover,
.portalss-editorial-2026.search .ast-article-post:hover {
    border-color: var(--pss-border-strong);
    box-shadow: var(--pss-shadow);
    transform: translateY(-2px);
}

.portalss-editorial-2026 .entry-header {
    margin-bottom: 22px;
}

.portalss-editorial-2026 .entry-title,
.portalss-editorial-2026 .entry-title a {
    color: var(--pss-navy);
    font-weight: 780;
    line-height: 1.13;
    letter-spacing: -.028em;
}

.portalss-editorial-2026 .entry-title a:hover {
    color: var(--pss-blue);
}

.portalss-editorial-2026.single-post .entry-title {
    max-width: 930px;
    font-size: clamp(34px, 3vw, 46px);
}

.portalss-editorial-2026.blog .entry-title,
.portalss-editorial-2026.archive .entry-title,
.portalss-editorial-2026.search .entry-title {
    font-size: clamp(25px, 2.1vw, 33px);
}

.portalss-editorial-2026 .entry-meta {
    color: var(--pss-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.portalss-editorial-2026 .entry-meta a {
    color: var(--pss-muted);
}

.portalss-editorial-2026 .entry-meta a:hover {
    color: var(--pss-blue);
}

/* Tempo de leitura */
.portalss-editorial-2026 .portalss-reading-meta {
    display: flex;
    align-items: center;
    max-width: var(--pss-reading);
    margin: -5px 0 24px;
    color: var(--pss-muted);
    font-size: 13.5px;
    font-weight: 600;
}

.portalss-editorial-2026 .portalss-reading-time::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--pss-green);
    vertical-align: 1px;
}

/* Imagens */
.portalss-editorial-2026 .post-thumb,
.portalss-editorial-2026 .ast-blog-featured-section {
    margin-bottom: 26px;
}

.portalss-editorial-2026 .post-thumb img,
.portalss-editorial-2026 .ast-blog-featured-section img,
.portalss-editorial-2026 .entry-content img {
    height: auto;
    border-radius: 10px;
}

.portalss-editorial-2026 .wp-caption-text,
.portalss-editorial-2026 figcaption {
    margin-top: 8px;
    color: var(--pss-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* LEITURA ------------------------------------------------------------- */

.portalss-editorial-2026 .entry-content {
    color: #2a3d50;
    font-size: 18px;
    line-height: 1.78;
}

.portalss-editorial-2026.single-post .entry-content > p,
.portalss-editorial-2026.single-post .entry-content > h2,
.portalss-editorial-2026.single-post .entry-content > h3,
.portalss-editorial-2026.single-post .entry-content > h4,
.portalss-editorial-2026.single-post .entry-content > ul,
.portalss-editorial-2026.single-post .entry-content > ol,
.portalss-editorial-2026.single-post .entry-content > blockquote,
.portalss-editorial-2026.single-post .entry-content > table,
.portalss-editorial-2026.single-post .entry-content > .wp-block-table {
    max-width: var(--pss-reading);
}

.portalss-editorial-2026 .entry-content p {
    margin-bottom: 1.34em;
}

.portalss-editorial-2026 .entry-content h2 {
    position: relative;
    margin-top: 1.8em;
    margin-bottom: .72em;
    padding-left: 15px;
    color: var(--pss-navy);
    font-size: clamp(27px, 2vw, 32px);
    font-weight: 780;
    line-height: 1.23;
    letter-spacing: -.022em;
}

.portalss-editorial-2026 .entry-content h2::before {
    content: "";
    position: absolute;
    top: .12em;
    bottom: .12em;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--pss-green);
}

.portalss-editorial-2026 .entry-content h3 {
    margin-top: 1.55em;
    margin-bottom: .62em;
    color: var(--pss-navy);
    font-size: clamp(22px, 1.65vw, 25px);
    font-weight: 740;
    line-height: 1.3;
}

.portalss-editorial-2026 .entry-content h4 {
    color: var(--pss-navy);
    font-weight: 720;
}

.portalss-editorial-2026 .entry-content a:not(.wp-block-button__link) {
    color: var(--pss-blue);
    font-weight: 570;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.portalss-editorial-2026 .entry-content a:not(.wp-block-button__link):hover {
    color: var(--pss-blue-hover);
}

.portalss-editorial-2026 .entry-content blockquote {
    margin: 1.8em 0;
    padding: 20px 22px;
    background: #f7fafc;
    border: 1px solid var(--pss-border);
    border-left: 4px solid var(--pss-orange);
    border-radius: 0 10px 10px 0;
    color: #42566a;
}

.portalss-editorial-2026 .entry-content ul,
.portalss-editorial-2026 .entry-content ol {
    padding-left: 1.35em;
    margin-bottom: 1.35em;
}

.portalss-editorial-2026 .entry-content li + li {
    margin-top: .42em;
}

.portalss-editorial-2026 .entry-content ul li::marker {
    color: var(--pss-green);
}

.portalss-editorial-2026 .entry-content ol li::marker {
    color: var(--pss-blue);
    font-weight: 750;
}

/* Tabelas legíveis no celular */
.portalss-editorial-2026 .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.portalss-editorial-2026 .entry-content table,
.portalss-editorial-2026 .wp-block-table table {
    width: 100%;
    border: 1px solid var(--pss-border);
    border-radius: 9px;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
}

.portalss-editorial-2026 .entry-content th,
.portalss-editorial-2026 .wp-block-table th {
    padding: 12px 14px;
    background: var(--pss-navy);
    color: #fff;
    font-weight: 680;
    text-align: left;
}

.portalss-editorial-2026 .entry-content td,
.portalss-editorial-2026 .wp-block-table td {
    padding: 12px 14px;
    border-color: var(--pss-border);
}

.portalss-editorial-2026 .entry-content tr:nth-child(even) td,
.portalss-editorial-2026 .wp-block-table tr:nth-child(even) td {
    background: #f8fafc;
}

/* BOTÕES E FORMULÁRIOS ----------------------------------------------- */

.portalss-editorial-2026 input[type="text"],
.portalss-editorial-2026 input[type="email"],
.portalss-editorial-2026 input[type="url"],
.portalss-editorial-2026 input[type="search"],
.portalss-editorial-2026 input[type="tel"],
.portalss-editorial-2026 input[type="number"],
.portalss-editorial-2026 textarea,
.portalss-editorial-2026 select {
    border: 1px solid var(--pss-border-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--pss-text);
}

.portalss-editorial-2026 input:focus,
.portalss-editorial-2026 textarea:focus,
.portalss-editorial-2026 select:focus {
    border-color: var(--pss-blue);
    outline: 3px solid rgba(14, 104, 233, .13);
    outline-offset: 1px;
}

.portalss-editorial-2026 input[type="submit"],
.portalss-editorial-2026 .wp-block-button__link,
.portalss-editorial-2026 a.ast-button,
.portalss-editorial-2026 .button:not(.menu-toggle) {
    min-height: 44px;
    border-radius: 8px;
    background: var(--pss-blue);
    color: #fff;
    font-weight: 680;
    box-shadow: none;
}

.portalss-editorial-2026 input[type="submit"]:hover,
.portalss-editorial-2026 .wp-block-button__link:hover,
.portalss-editorial-2026 a.ast-button:hover,
.portalss-editorial-2026 .button:not(.menu-toggle):hover {
    background: var(--pss-blue-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* SIDEBAR ------------------------------------------------------------- */

.portalss-editorial-2026 #secondary .sidebar-main {
    padding-top: 0;
}

.portalss-editorial-2026 #secondary .widget {
    margin: 0 0 20px;
    padding: 22px;
    background: var(--pss-surface);
    border: 1px solid var(--pss-border);
    border-radius: var(--pss-radius);
    box-shadow: var(--pss-shadow-sm);
}

.portalss-editorial-2026 #secondary .widget-title,
.portalss-editorial-2026 #secondary h2,
.portalss-editorial-2026 #secondary h3 {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 10px 13px;
    color: var(--pss-navy);
    font-size: 19px;
    font-weight: 760;
    line-height: 1.25;
    letter-spacing: -.018em;
}

.portalss-editorial-2026 #secondary .widget-title::before,
.portalss-editorial-2026 #secondary h2::before,
.portalss-editorial-2026 #secondary h3::before {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 10px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--pss-green);
}

.portalss-editorial-2026 #secondary .widget-title::after,
.portalss-editorial-2026 #secondary h2::after,
.portalss-editorial-2026 #secondary h3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--pss-border);
}

.portalss-editorial-2026 #secondary ul {
    margin: 0;
    list-style: none;
}

.portalss-editorial-2026 #secondary li {
    padding: 9px 0;
    border-bottom: 1px solid #edf1f4;
    line-height: 1.45;
}

.portalss-editorial-2026 #secondary li:last-child {
    border-bottom: 0;
}

.portalss-editorial-2026 #secondary a {
    color: #334b61;
}

.portalss-editorial-2026 #secondary a:hover {
    color: var(--pss-blue);
}

/* Pesquisa */
.portalss-editorial-2026 .widget_search .search-form,
.portalss-editorial-2026 .wp-block-search__inside-wrapper {
    display: flex;
    gap: 7px;
}

.portalss-editorial-2026 .widget_search .search-field,
.portalss-editorial-2026 .wp-block-search__input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 15px;
}

.portalss-editorial-2026 .widget_search .search-submit,
.portalss-editorial-2026 .wp-block-search__button {
    min-width: 48px;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--pss-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 680;
}

.portalss-editorial-2026 .widget_search .search-submit:hover,
.portalss-editorial-2026 .wp-block-search__button:hover {
    background: var(--pss-blue-hover);
}

/* Tags: aparência uniforme e menos ruidosa */
.portalss-editorial-2026 .tagcloud,
.portalss-editorial-2026 .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.portalss-editorial-2026 .tagcloud a,
.portalss-editorial-2026 .wp-block-tag-cloud a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 6px 9px;
    background: #f6f8fa;
    border: 1px solid var(--pss-border);
    border-radius: 999px;
    color: #40566b;
    font-size: 12.5px !important;
    font-weight: 620;
    line-height: 1.25;
    text-decoration: none;
}

.portalss-editorial-2026 .tagcloud a:hover,
.portalss-editorial-2026 .wp-block-tag-cloud a:hover {
    background: var(--pss-soft-blue);
    border-color: #bfd8f6;
    color: var(--pss-blue-hover);
}

/* PAGINAÇÃO ----------------------------------------------------------- */

.portalss-editorial-2026 .ast-pagination .page-numbers,
.portalss-editorial-2026 .navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 3px;
    padding: 0 10px;
    border: 1px solid var(--pss-border);
    border-radius: 8px;
    background: #fff;
    color: var(--pss-navy);
    font-weight: 680;
}

.portalss-editorial-2026 .ast-pagination .page-numbers.current,
.portalss-editorial-2026 .navigation.pagination .page-numbers.current {
    background: var(--pss-blue);
    border-color: var(--pss-blue);
    color: #fff;
}

/* RODAPÉ -------------------------------------------------------------- */

.portalss-editorial-2026 .site-footer {
    border-top: 4px solid var(--pss-blue);
}

.portalss-editorial-2026 .site-footer::before {
    content: "";
    display: block;
    width: 34%;
    height: 4px;
    margin-top: -4px;
    margin-left: auto;
    background: linear-gradient(90deg, var(--pss-green) 0 62%, var(--pss-orange) 62% 100%);
}

.portalss-editorial-2026 .site-primary-footer-wrap,
.portalss-editorial-2026 .site-above-footer-wrap,
.portalss-editorial-2026 .site-below-footer-wrap {
    background: var(--pss-navy);
    color: rgba(255, 255, 255, .82);
}

.portalss-editorial-2026 .site-footer h2,
.portalss-editorial-2026 .site-footer h3,
.portalss-editorial-2026 .site-footer h4,
.portalss-editorial-2026 .site-footer .widget-title {
    color: #fff;
}

.portalss-editorial-2026 .site-footer a {
    color: #dcecff;
}

.portalss-editorial-2026 .site-footer a:hover {
    color: #fff;
}

.portalss-editorial-2026 .site-footer .ast-footer-copyright {
    color: rgba(255, 255, 255, .7);
}

/* RECURSOS FUNCIONAIS ------------------------------------------------- */

/* Progresso de leitura */
.portalss-reading-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100000;
    height: 3px;
    pointer-events: none;
}

.portalss-reading-progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--pss-green);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* Voltar ao topo */
.portalss-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    background: var(--pss-navy);
    color: #fff;
    font-size: 23px;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(13, 43, 74, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease,
        background-color .18s ease;
}

.portalss-back-to-top:hover {
    background: var(--pss-blue);
}

.portalss-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ACESSIBILIDADE ------------------------------------------------------ */

.portalss-editorial-2026 a:focus-visible,
.portalss-editorial-2026 button:focus-visible,
.portalss-editorial-2026 input:focus-visible,
.portalss-editorial-2026 select:focus-visible,
.portalss-editorial-2026 textarea:focus-visible {
    outline: 3px solid rgba(14, 104, 233, .38);
    outline-offset: 3px;
}

.portalss-editorial-2026 ::selection {
    background: rgba(14, 104, 233, .18);
    color: var(--pss-navy);
}

/* TABLET -------------------------------------------------------------- */

@media (max-width: 1100px) {
    .portalss-editorial-2026 .main-header-menu > .menu-item > .menu-link {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }

    .portalss-editorial-2026 .main-header-menu > .menu-item > .menu-link::before {
        right: 10px;
        left: 10px;
    }
}

@media (max-width: 1024px) {
    .portalss-editorial-2026 .ast-container,
    .portalss-editorial-2026 .site-primary-header-wrap,
    .portalss-editorial-2026 .site-below-header-wrap,
    .portalss-editorial-2026 .site-above-header-wrap,
    .portalss-editorial-2026 .site-primary-footer-wrap,
    .portalss-editorial-2026 .site-above-footer-wrap,
    .portalss-editorial-2026 .site-below-footer-wrap {
        padding-right: 22px;
        padding-left: 22px;
    }

    .portalss-editorial-2026 .ast-separate-container .ast-article-single,
    .portalss-editorial-2026 .ast-separate-container .ast-article-post {
        padding: 34px;
    }
}

/* MOBILE -------------------------------------------------------------- */

@media (max-width: 921px) {
    body.portalss-editorial-2026 {
        font-size: 16px;
    }

    .admin-bar.portalss-editorial-2026 .site-header {
        top: 46px;
    }

    .portalss-editorial-2026 .site-primary-header-wrap .ast-builder-grid-row {
        min-height: 62px;
    }

    .portalss-editorial-2026 .site-header .custom-logo-link img,
    .portalss-editorial-2026 .ast-site-identity .site-logo-img img {
        max-width: 158px;
        max-height: 46px;
    }

    .portalss-editorial-2026 .ast-below-header-wrap {
        display: none;
    }

    .portalss-editorial-2026 .ast-mobile-header-wrap .ast-button-wrap .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
    }

    .portalss-editorial-2026 .ast-mobile-popup-drawer .ast-mobile-popup-inner {
        background: #fff;
    }

    .portalss-editorial-2026 .ast-mobile-popup-content .main-header-menu .menu-link {
        min-height: 48px;
        color: var(--pss-navy);
        font-weight: 650;
    }

    .portalss-editorial-2026 #content > .ast-container {
        padding-top: 20px;
        padding-bottom: 38px;
    }

    .portalss-editorial-2026 #primary,
    .portalss-editorial-2026 #secondary {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        border: 0;
    }

    .portalss-editorial-2026 #secondary {
        margin-top: 26px;
    }

    .portalss-editorial-2026 .ast-separate-container .ast-article-single,
    .portalss-editorial-2026 .ast-separate-container .ast-article-post {
        padding: 25px;
        border-radius: 14px;
    }

    .portalss-editorial-2026.single-post .entry-title {
        font-size: clamp(29px, 8vw, 37px);
    }

    .portalss-editorial-2026 .entry-content {
        font-size: 17px;
        line-height: 1.72;
    }

    .portalss-editorial-2026 #secondary .widget {
        padding: 20px;
    }

    .portalss-back-to-top {
        right: 15px;
        bottom: 15px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 782px) {
    .admin-bar.portalss-editorial-2026 .site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar.portalss-editorial-2026 .site-header {
        top: 0;
    }
}

@media (max-width: 544px) {
    .portalss-editorial-2026 .site-header {
        border-top-width: 3px;
    }

    .portalss-editorial-2026 .site-header::before {
        top: -3px;
        height: 3px;
    }

    .portalss-editorial-2026 .ast-container,
    .portalss-editorial-2026 .site-primary-header-wrap,
    .portalss-editorial-2026 .site-below-header-wrap,
    .portalss-editorial-2026 .site-above-header-wrap,
    .portalss-editorial-2026 .site-primary-footer-wrap,
    .portalss-editorial-2026 .site-above-footer-wrap,
    .portalss-editorial-2026 .site-below-footer-wrap {
        padding-right: 15px;
        padding-left: 15px;
    }

    .portalss-editorial-2026 .ast-separate-container .ast-article-single,
    .portalss-editorial-2026 .ast-separate-container .ast-article-post {
        padding: 19px;
        border-radius: 11px;
    }

    .portalss-editorial-2026 .entry-content {
        font-size: 16.5px;
    }

    .portalss-editorial-2026 .entry-content h2 {
        margin-top: 1.55em;
        padding-left: 12px;
    }

    .portalss-editorial-2026 .entry-content h2::before {
        width: 4px;
    }

    .portalss-editorial-2026 .entry-content table,
    .portalss-editorial-2026 .wp-block-table table {
        min-width: 560px;
    }
}

/* IMPRESSÃO ----------------------------------------------------------- */

@media print {
    .portalss-editorial-2026 .site-header,
    .portalss-editorial-2026 .site-footer,
    .portalss-editorial-2026 #secondary,
    .portalss-back-to-top,
    .portalss-reading-progress,
    .portalss-editorial-2026 .navigation,
    .portalss-editorial-2026 .post-navigation {
        display: none !important;
    }

    .portalss-editorial-2026,
    .portalss-editorial-2026 #content,
    .portalss-editorial-2026 .ast-article-single {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .portalss-editorial-2026 #primary {
        width: 100% !important;
        padding: 0 !important;
    }

    .portalss-editorial-2026 .entry-content a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* REDUÇÃO DE MOVIMENTO ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ======================================================================
   PORTALSS ULTIMATE 2026 — HOME / ARQUIVOS / SEO UX
   ====================================================================== */

:root {
    --pss-navy: #0b2d4f;
    --pss-blue: #0f6cbd;
    --pss-cyan: #27a8c7;
    --pss-green: #15956b;
    --pss-orange: #f29a2e;
    --pss-text: #1b2f42;
    --pss-muted: #657789;
    --pss-bg: #f4f7fa;
    --pss-surface: #ffffff;
    --pss-soft-blue: #edf6fc;
    --pss-border: #dbe4ec;
    --pss-shadow-sm: 0 3px 16px rgba(11,45,79,.06);
    --pss-shadow: 0 18px 48px rgba(11,45,79,.10);
    --pss-container: 1320px;
}

.portalss-ultimate-2026 body,
body.portalss-ultimate-2026,
.portalss-ultimate-2026 button,
.portalss-ultimate-2026 input,
.portalss-ultimate-2026 select,
.portalss-ultimate-2026 textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.portalss-ultimate-2026 #content > .ast-container {
    width: min(100% - 40px, var(--pss-container));
    max-width: var(--pss-container);
}

.portalss-home #content > .ast-container,
.portalss-archive #content > .ast-container,
.portalss-search #content > .ast-container,
.error404.portalss-ultimate-2026 #content > .ast-container {
    display: block;
}

.portalss-home-main,
.portalss-page-shell {
    width: 100%;
    min-width: 0;
}

/* Breadcrumbs */
.portalss-breadcrumbs {
    width: 100%;
    margin: 0 0 22px;
    color: var(--pss-muted);
    font-size: 13px;
}
.portalss-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.portalss-breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
.portalss-breadcrumbs li:not(:last-child)::after { content: "/"; color: #9aa9b7; }
.portalss-breadcrumbs a { color: var(--pss-muted); text-decoration: none; }
.portalss-breadcrumbs a:hover { color: var(--pss-blue); }
.portalss-breadcrumbs span[aria-current="page"] { color: #40566b; }

/* Home introduction */
.portalss-home #content > .ast-container { padding-top: 0; }
.portalss-home-intro {
    position: relative;
    margin: 0 calc(50% - 50vw) 36px;
    padding: clamp(46px, 6vw, 82px) max(24px, calc((100vw - min(1280px, 100vw - 40px))/2));
    overflow: hidden;
    background:
        radial-gradient(circle at 91% 20%, rgba(39,168,199,.18), transparent 28%),
        radial-gradient(circle at 73% 85%, rgba(21,149,107,.12), transparent 23%),
        linear-gradient(135deg, #0b2d4f 0%, #0d3b67 65%, #0e527a 100%);
    color: #fff;
}
.portalss-home-intro::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -140px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 56px rgba(255,255,255,.025), 0 0 0 112px rgba(255,255,255,.02);
    pointer-events: none;
}
.portalss-home-intro__content,
.portalss-home-search,
.portalss-quick-links { position: relative; z-index: 1; }
.portalss-home-intro .portalss-kicker { color: #8dd8e6; }
.portalss-kicker {
    display: inline-block;
    color: var(--pss-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}
.portalss-home-intro h1 {
    max-width: 920px;
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(34px, 5.4vw, 64px);
    line-height: 1.04;
    letter-spacing: -.038em;
}
.portalss-home-intro__content > p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
}

.portalss-home-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 820px;
    margin-top: 30px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.portalss-home-search input[type="search"] {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    color: var(--pss-text);
    background: transparent;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    font-size: 16px;
}
.portalss-home-search button {
    min-width: 124px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--pss-blue);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}
.portalss-home-search button:hover { background: #0b5ca4; }

.portalss-quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}
.portalss-quick-links a {
    display: grid;
    gap: 2px;
    min-height: 78px;
    padding: 15px 17px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}
.portalss-quick-links a:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.portalss-quick-links span { font-weight: 750; }
.portalss-quick-links small { color: rgba(255,255,255,.66); font-size: 12.5px; }

/* Lead area */
.portalss-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, .75fr);
    gap: 30px;
    margin: 0 0 58px;
}
.portalss-lead-story {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 18px;
    box-shadow: var(--pss-shadow-sm);
}
.portalss-lead-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dfe8ee;
}
.portalss-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.portalss-lead-story:hover .portalss-lead-media img { transform: scale(1.018); }
.portalss-lead-body { padding: clamp(22px, 3vw, 34px); }
.portalss-lead-body h2 {
    margin: 9px 0 12px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.027em;
}
.portalss-lead-body h2 a { color: var(--pss-navy); text-decoration: none; }
.portalss-lead-body h2 a:hover { color: var(--pss-blue); }
.portalss-lead-body > p { margin: 0 0 14px; color: #52677a; font-size: 16.5px; line-height: 1.62; }
.portalss-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--pss-blue);
    font-weight: 750;
    text-decoration: none;
}
.portalss-text-link:hover { gap: 10px; color: #0b5ca4; }

.portalss-lead-list {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 18px;
    box-shadow: var(--pss-shadow-sm);
}
.portalss-mini-story { padding: 18px 0; border-top: 1px solid #e7edf2; }
.portalss-mini-story:first-of-type { border-top: 0; }
.portalss-mini-story > span { color: var(--pss-green); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portalss-mini-story h3 { margin: 5px 0 8px; font-size: 18px; line-height: 1.32; letter-spacing: -.012em; }
.portalss-mini-story h3 a { color: var(--pss-navy); text-decoration: none; }
.portalss-mini-story h3 a:hover { color: var(--pss-blue); }

/* Section headings */
.portalss-home-section,
.portalss-topic-section { margin: 0 0 64px; }
.portalss-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.portalss-section-heading h2 { margin: 5px 0 0; color: var(--pss-navy); font-size: clamp(27px, 3vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.portalss-section-heading > a { color: var(--pss-blue); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.portalss-section-heading--compact { margin-bottom: 7px; }
.portalss-section-heading--compact h2 { font-size: 25px; }

/* Cards */
.portalss-card-grid { display: grid; gap: 22px; }
.portalss-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portalss-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(11,45,79,.035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.portalss-card:hover { transform: translateY(-3px); border-color: #c8d8e5; box-shadow: 0 14px 30px rgba(11,45,79,.085); }
.portalss-card-media { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: #e8eef3; }
.portalss-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.portalss-card:hover .portalss-card-media img { transform: scale(1.025); }
.portalss-card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #d9eaf4, #edf5f7); }
.portalss-card-placeholder span { color: #0e527a; font-weight: 900; letter-spacing: .12em; }
.portalss-card-placeholder--hero { min-height: 420px; }
.portalss-card-body { padding: 20px; }
.portalss-card-category { display: inline-block; color: var(--pss-blue); font-size: 11px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; text-decoration: none; }
.portalss-card-title { margin: 7px 0 9px; font-size: 21px; line-height: 1.27; letter-spacing: -.015em; }
.portalss-card-title a { color: var(--pss-navy); text-decoration: none; }
.portalss-card-title a:hover { color: var(--pss-blue); }
.portalss-card-excerpt { margin: 0 0 14px; color: #5b6e80; font-size: 14.5px; line-height: 1.58; }
.portalss-card-meta { display: flex; flex-wrap: wrap; gap: 7px; color: #7a8a99; font-size: 12.5px; }

/* Topic cards */
.portalss-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.portalss-topic-card {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 116px;
    padding: 22px 44px 20px 20px;
    color: var(--pss-navy);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 14px;
}
.portalss-topic-card:hover { border-color: rgba(15,108,189,.35); box-shadow: var(--pss-shadow-sm); transform: translateY(-2px); }
.portalss-topic-card__name { font-size: 17px; font-weight: 800; line-height: 1.25; }
.portalss-topic-card__count { color: var(--pss-muted); font-size: 12.5px; }
.portalss-topic-card__arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--pss-blue); font-size: 21px; }

/* Practice section */
.portalss-practice {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    gap: 42px;
    margin: 0 0 34px;
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(135deg, #eef7f4, #f4f9fc);
    border: 1px solid #d6e7e4;
    border-radius: 20px;
}
.portalss-practice h2 { margin: 7px 0 12px; color: var(--pss-navy); font-size: clamp(27px, 3vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.portalss-practice__intro p { color: #566d7f; }
.portalss-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 8px;
    padding: 0 18px;
    border-radius: 10px;
    color: #fff;
    background: var(--pss-blue);
    font-weight: 750;
    text-decoration: none;
}
.portalss-button:hover { color: #fff; background: #0b5ca4; transform: translateY(-1px); }
.portalss-practice__links { display: grid; gap: 10px; }
.portalss-practice__links a { display: grid; gap: 3px; padding: 18px 20px; color: var(--pss-navy); text-decoration: none; background: rgba(255,255,255,.75); border: 1px solid #dce9e8; border-radius: 12px; }
.portalss-practice__links a:hover { background: #fff; border-color: #c7dfdc; transform: translateX(2px); }
.portalss-practice__links strong { font-size: 16px; }
.portalss-practice__links span { color: var(--pss-muted); font-size: 13.5px; }

/* Archive/search/404 */
.portalss-page-shell { padding-bottom: 28px; }
.portalss-page-hero {
    margin-bottom: 28px;
    padding: clamp(26px, 4vw, 42px);
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 18px;
}
.portalss-page-hero h1 { margin: 8px 0 0; color: var(--pss-navy); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.portalss-page-description { max-width: 820px; margin-top: 13px; color: #5b6f81; }
.portalss-search-hero .portalss-home-search { margin-top: 20px; box-shadow: none; border: 1px solid var(--pss-border); }
.portalss-pagination { margin-top: 34px; }
.portalss-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.portalss-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0 11px; border: 1px solid var(--pss-border); border-radius: 9px; background: #fff; color: var(--pss-navy); text-decoration: none; }
.portalss-pagination .page-numbers.current,
.portalss-pagination a.page-numbers:hover { color: #fff; background: var(--pss-blue); border-color: var(--pss-blue); }
.portalss-empty-state { max-width: 780px; margin: 20px auto 44px; padding: 38px; text-align: center; background: #fff; border: 1px solid var(--pss-border); border-radius: 18px; }
.portalss-empty-state--404 { margin-top: 20px; }
.portalss-empty-state .portalss-home-search { margin-right: auto; margin-left: auto; box-shadow: none; border: 1px solid var(--pss-border); }
.portalss-error-code { display: block; color: var(--pss-blue); font-size: clamp(64px, 10vw, 110px); font-weight: 900; line-height: 1; letter-spacing: -.06em; opacity: .12; }

/* Article utilities */
.portalss-reading-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 16px; color: var(--pss-muted); font-size: 13px; }
.portalss-reading-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.portalss-reading-meta > span + span::before { content: "•"; color: #a2afba; margin-right: 3px; }
.portalss-toc {
    margin: 8px 0 30px;
    padding: 0;
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid var(--pss-border);
    border-radius: 12px;
}
.portalss-toc-toggle { display: flex; justify-content: space-between; width: 100%; padding: 15px 17px; color: var(--pss-navy); background: transparent; border: 0; font-weight: 800; cursor: pointer; }
.portalss-toc-list { margin: 0; padding: 0 20px 16px 38px; }
.portalss-toc-list li { margin: 5px 0; font-size: 14px; line-height: 1.45; }
.portalss-toc-list li.is-sub { margin-left: 15px; font-size: 13px; }
.portalss-toc-list a { color: #476075; text-decoration: none; }
.portalss-toc-list a:hover { color: var(--pss-blue); text-decoration: underline; }
.single-post .entry-content h2[id], .single-post .entry-content h3[id] { scroll-margin-top: 118px; }

.portalss-article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 38px 0 18px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--pss-border);
    border-radius: 12px;
}
.portalss-article-actions > strong { color: var(--pss-navy); font-size: 14px; }
.portalss-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.portalss-share-actions a,
.portalss-share-actions button { min-height: 38px; padding: 0 13px; color: var(--pss-navy); background: #fff; border: 1px solid var(--pss-border); border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.portalss-share-actions a:hover,
.portalss-share-actions button:hover { color: var(--pss-blue); border-color: rgba(15,108,189,.35); }
.portalss-related { margin: 48px 0 10px; }
.portalss-related .portalss-card-title { font-size: 18px; }
.portalss-related .portalss-card-excerpt { display: none; }

/* Melhor legibilidade em textos longos */
.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4 {
    max-width: var(--pss-reading);
    margin-left: auto;
    margin-right: auto;
}
.single-post .entry-content > p { font-size: 18px; line-height: 1.78; }
.single-post .entry-content > h2 { margin-top: 2.05em; }
.single-post .entry-content > h3 { margin-top: 1.75em; }

/* Focus */
.portalss-ultimate-2026 :where(a,button,input,select,textarea):focus-visible {
    outline: 3px solid rgba(15,108,189,.35);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .portalss-lead { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 22px; }
    .portalss-card-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .portalss-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .portalss-ultimate-2026 #content > .ast-container { width: min(100% - 28px, var(--pss-container)); }
    .portalss-home-intro { padding-left: 20px; padding-right: 20px; }
    .portalss-quick-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .portalss-lead { grid-template-columns: 1fr; }
    .portalss-practice { grid-template-columns: 1fr; gap: 24px; }
    .portalss-article-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
    .portalss-home-intro { margin-bottom: 22px; padding-top: 38px; padding-bottom: 34px; }
    .portalss-home-intro h1 { font-size: 37px; }
    .portalss-home-search { grid-template-columns: 1fr; padding: 5px; }
    .portalss-home-search button { min-height: 46px; }
    .portalss-quick-links { grid-template-columns: 1fr 1fr; }
    .portalss-quick-links a { min-height: 72px; padding: 13px; }
    .portalss-card-grid--3, .portalss-topic-grid { grid-template-columns: 1fr; }
    .portalss-lead-body { padding: 20px; }
    .portalss-lead-body h2 { font-size: 29px; }
    .portalss-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .portalss-topic-card { min-height: 94px; }
    .portalss-page-hero { padding: 24px 20px; }
    .portalss-page-hero h1 { font-size: 34px; }
    .portalss-empty-state { padding: 28px 18px; }
    .portalss-reading-meta > span + span::before { display: none; }
    .portalss-reading-meta { flex-direction: column; gap: 3px; }
    .single-post .entry-content > p { font-size: 17px; line-height: 1.74; }
}

@media print {
    .portalss-toc,
    .portalss-article-actions,
    .portalss-related { display: none !important; }
}

/* ======================================================================
   PORTALSS ULTIMATE v4 — identidade visual, navegação e novos portais
   ====================================================================== */

:root {
    --pss-navy: #062b50;
    --pss-navy-deep: #041f3a;
    --pss-blue: #0868f1;
    --pss-blue-hover: #0557ce;
    --pss-green: #10a76d;
    --pss-orange: #f6a01b;
    --pss-cyan: #36a8cc;
    --pss-text: #18324a;
    --pss-muted: #65778a;
    --pss-bg: #f4f7fa;
    --pss-surface: #fff;
    --pss-border: #dbe5ee;
    --pss-container: 1320px;
}

/* Corrige o layout full-width dos templates próprios. O Astra mantém a classe
   de sidebar no body mesmo quando front-page/archive não renderizam sidebar. */
.portalss-home.ast-right-sidebar #primary,
.portalss-home.ast-left-sidebar #primary,
.portalss-ultimate-2026.archive.ast-right-sidebar #primary,
.portalss-ultimate-2026.archive.ast-left-sidebar #primary,
.portalss-ultimate-2026.search.ast-right-sidebar #primary,
.portalss-ultimate-2026.search.ast-left-sidebar #primary,
.error404.portalss-ultimate-2026.ast-right-sidebar #primary,
.error404.portalss-ultimate-2026.ast-left-sidebar #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border: 0 !important;
}

.portalss-home #secondary,
.portalss-ultimate-2026.archive #secondary,
.portalss-ultimate-2026.search #secondary,
.error404.portalss-ultimate-2026 #secondary {
    display: none !important;
}

/* Assinatura cromática inspirada no símbolo da marca. */
.portalss-editorial-2026 .site-header {
    border-top: 0;
}

.portalss-editorial-2026 .site-header::before {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--pss-blue) 0 34%,
        var(--pss-green) 34% 67%,
        var(--pss-orange) 67% 100%);
}

.portalss-editorial-2026 .site-primary-header-wrap .ast-builder-grid-row {
    min-height: 72px;
}

.portalss-editorial-2026 .site-header .custom-logo-link img,
.portalss-editorial-2026 .ast-site-identity .site-logo-img img {
    max-width: 195px;
    max-height: 56px;
}

/* Nova barra de redes: compacta, fora do header sticky e reaproveitando os
   links configurados no Header Builder do Astra. */
.portalss-social-strip {
    position: relative;
    z-index: 1001;
    min-height: 42px;
    color: #fff;
    background: var(--pss-navy-deep);
}

.portalss-social-strip[hidden] {
    display: none !important;
}

.portalss-social-strip__inner {
    width: min(calc(100% - 40px), var(--pss-container));
    min-height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.portalss-social-strip__label {
    margin-right: 2px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portalss-social-strip__links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.portalss-social-strip__links .portalss-social-link,
.portalss-social-strip__links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(255,255,255,.085);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    opacity: .9 !important;
    text-decoration: none !important;
}

.portalss-social-strip__links a:hover {
    color: #fff !important;
    background: rgba(255,255,255,.17);
    border-color: rgba(255,255,255,.22);
    opacity: 1 !important;
    transform: translateY(-1px);
}

.portalss-social-strip__links .social-item-label,
.portalss-social-strip__links [class*="social-item-label"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.portalss-social-strip__links svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor;
}

.portalss-social-ready .ast-below-header-wrap,
.portalss-social-ready .ast-below-header-bar {
    display: none !important;
}

/* Home: deixa de ser um hero publicitário e vira um hub funcional de busca. */
.portalss-home #content > .ast-container {
    padding-top: 28px;
}

.portalss-home-hub {
    position: relative;
    width: 100%;
    margin: 0 0 26px;
    padding: clamp(28px, 4.5vw, 50px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 94% -5%, rgba(8,104,241,.42), transparent 35%),
        radial-gradient(circle at 83% 105%, rgba(16,167,109,.22), transparent 30%),
        linear-gradient(125deg, #062b50 0%, #083862 64%, #0b5278 100%);
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(6,43,80,.12);
}

.portalss-home-hub::after {
    content: "";
    position: absolute;
    top: -138px;
    right: -92px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 54px rgba(255,255,255,.025),
        0 0 0 108px rgba(255,255,255,.018);
    pointer-events: none;
}

.portalss-home-hub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--pss-blue) 0 34%,
        var(--pss-green) 34% 67%,
        var(--pss-orange) 67% 100%);
}

.portalss-home-hub__head,
.portalss-home-hub .portalss-home-search,
.portalss-home-hub .portalss-quick-links {
    position: relative;
    z-index: 1;
}

.portalss-home-hub .portalss-kicker {
    color: #9fd9eb;
}

.portalss-home-hub h1 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 820;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.portalss-home-hub .portalss-home-search {
    max-width: 850px;
    margin-top: 24px;
    box-shadow: 0 12px 34px rgba(0,0,0,.14);
}

.portalss-home-hub .portalss-quick-links {
    max-width: 1020px;
    margin-top: 18px;
}

.portalss-home-hub .portalss-quick-links a {
    min-height: 68px;
    padding: 13px 15px;
    background: rgba(255,255,255,.065);
    border-color: rgba(255,255,255,.12);
}

.portalss-home-hub .portalss-quick-links a:hover {
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.20);
}

/* Destaque dos futuros subdomínios. */
.portalss-launches {
    display: grid;
    grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
    gap: 28px;
    align-items: stretch;
    margin: 0 0 40px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 18px;
    box-shadow: var(--pss-shadow-sm);
}

.portalss-launches__intro {
    align-self: center;
    padding: 4px 6px;
}

.portalss-launches__intro h2 {
    margin: 7px 0 9px;
    color: var(--pss-navy);
    font-size: clamp(25px, 2.8vw, 34px);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.portalss-launches__intro p {
    margin: 0;
    color: var(--pss-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.portalss-launches__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.portalss-launch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 22px;
    overflow: hidden;
    color: var(--pss-navy);
    text-decoration: none !important;
    background: #f8fbfd;
    border: 1px solid #dce7ef;
    border-radius: 15px;
}

.portalss-launch-card::before {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -64px;
    width: 170px;
    height: 170px;
    border: 22px solid currentColor;
    border-radius: 50%;
    opacity: .045;
    pointer-events: none;
}

.portalss-launch-card--jobs {
    color: #087d56;
    background: linear-gradient(145deg, #f5fbf8, #eff9f4);
    border-color: #d3eadd;
}

.portalss-launch-card--courses {
    color: #075dcc;
    background: linear-gradient(145deg, #f6faff, #edf5ff);
    border-color: #d4e4f8;
}

.portalss-launch-card.is-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(6,43,80,.09);
}

.portalss-launch-card__badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 5px 9px;
    color: currentColor;
    background: rgba(255,255,255,.75);
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1;
    text-transform: uppercase;
}

.portalss-launch-card.is-coming .portalss-launch-card__badge {
    color: var(--pss-orange);
    border-color: rgba(246,160,27,.5);
}

.portalss-launch-card__title {
    position: relative;
    z-index: 1;
    color: var(--pss-navy);
    font-size: 25px;
    line-height: 1.08;
}

.portalss-launch-card__desc {
    position: relative;
    z-index: 1;
    max-width: 350px;
    margin-top: 7px;
    color: #5e7285;
    font-size: 13.5px;
    line-height: 1.48;
}

.portalss-launch-card__domain {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 17px;
    color: currentColor;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .015em;
}

.portalss-launch-card__action {
    position: relative;
    z-index: 1;
    margin-top: 7px;
    color: currentColor;
    font-size: 13px;
    font-weight: 800;
}

/* Refinamentos de cards para evitar que metadados fiquem espremidos em
   preview/customizer ou larguras intermediárias. */
.portalss-card,
.portalss-card-body,
.portalss-lead,
.portalss-lead-story,
.portalss-lead-list,
.portalss-card-grid > *,
.portalss-launches > *,
.portalss-launches__grid > * {
    min-width: 0;
}

.portalss-card-meta {
    line-height: 1.45;
}

.portalss-card-meta > span {
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .portalss-launches {
        grid-template-columns: 1fr;
    }

    .portalss-launches__intro {
        max-width: 720px;
    }
}

@media (max-width: 921px) {
    .portalss-social-strip__inner {
        width: min(calc(100% - 28px), var(--pss-container));
    }

    .portalss-editorial-2026 .site-header {
        border-top: 0;
    }

    .portalss-editorial-2026 .site-header::before {
        height: 3px;
    }

    .portalss-home #content > .ast-container {
        padding-top: 18px;
    }

    .portalss-home-hub {
        padding: 30px 22px 25px;
        border-radius: 17px;
    }
}

@media (max-width: 680px) {
    .portalss-social-strip__inner {
        justify-content: space-between;
        gap: 8px;
    }

    .portalss-social-strip__label {
        font-size: 9.5px;
        letter-spacing: .08em;
    }

    .portalss-social-strip__links {
        gap: 4px;
    }

    .portalss-social-strip__links .portalss-social-link,
    .portalss-social-strip__links a {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .portalss-launches {
        padding: 19px;
        border-radius: 15px;
    }

    .portalss-launches__grid {
        grid-template-columns: 1fr;
    }

    .portalss-launch-card {
        min-height: 170px;
    }
}

@media (max-width: 600px) {
    .portalss-home-hub h1 {
        font-size: 34px;
    }

    .portalss-home-hub .portalss-home-search {
        margin-top: 19px;
    }

    .portalss-home-hub .portalss-quick-links {
        gap: 8px;
        margin-top: 14px;
    }

    .portalss-home-hub .portalss-quick-links a {
        min-height: 64px;
        padding: 11px 12px;
    }
}

@media (max-width: 430px) {
    .portalss-social-strip__label {
        display: none;
    }

    .portalss-social-strip__inner {
        justify-content: center;
    }

    .portalss-home-hub {
        padding-right: 17px;
        padding-left: 17px;
    }
}

/* ======================================================================
   PortalSS Ultimate 4.2 — correções de grade + redes sociais
   ====================================================================== */

/*
 * Cards da home são componentes próprios do PortalSS. Alguns filtros do Astra
 * podem acrescentar classes de post e trazer regras de blog para dentro da
 * grade. Este reset mantém cada card realmente independente do layout do tema.
 */
.portalss-home .portalss-card-grid {
    width: 100%;
    align-items: stretch;
}

.portalss-home .portalss-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portalss-home .portalss-card-grid .portalss-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box;
}

.portalss-home .portalss-card-grid .portalss-card-media {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.portalss-home .portalss-card-grid .portalss-card-media img,
.portalss-home .portalss-card-grid .portalss-card-media .portalss-post-image,
.portalss-home .portalss-card-grid .portalss-card-placeholder {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    object-fit: cover;
}

.portalss-home .portalss-card-grid .portalss-card-placeholder {
    display: grid !important;
}

.portalss-home .portalss-card-grid .portalss-card-body {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 20px 21px 19px !important;
    float: none !important;
    box-sizing: border-box;
}

.portalss-home .portalss-card-grid .portalss-card-category,
.portalss-home .portalss-card-grid .portalss-card-title,
.portalss-home .portalss-card-grid .portalss-card-title a,
.portalss-home .portalss-card-grid .portalss-card-excerpt,
.portalss-home .portalss-card-grid .portalss-card-meta {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

.portalss-home .portalss-card-grid .portalss-card-title {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    font-size: clamp(20px, 1.65vw, 24px);
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.portalss-home .portalss-card-grid .portalss-card-excerpt {
    display: -webkit-box;
    margin-bottom: 16px !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: #566c80;
    font-size: 14.5px;
    line-height: 1.58;
}

.portalss-home .portalss-card-grid .portalss-card-meta {
    margin-top: auto !important;
    padding-top: 2px;
}

/* Desktop: as redes voltam a ocupar uma faixa própria do Astra, sem depender
 * de JavaScript e sem disputar espaço com a navegação principal. */
@media (min-width: 922px) {
    .portalss-editorial-2026 .ast-below-header-wrap,
    .portalss-editorial-2026 .ast-below-header-bar {
        display: block !important;
    }

    .portalss-editorial-2026 .ast-below-header-bar {
        min-height: 52px;
        background: linear-gradient(90deg, #f7fafc 0%, #f4f8fc 100%);
        border-top: 1px solid #e7eef4;
        border-bottom: 1px solid #dce6ee;
    }

    .portalss-editorial-2026 .site-below-header-wrap .ast-builder-grid-row {
        min-height: 52px;
        align-items: center;
    }

    .portalss-editorial-2026 .site-below-header-wrap .ast-header-social-wrap {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        width: 100%;
        overflow: visible;
    }

    .portalss-editorial-2026 .site-below-header-wrap .ast-header-social-wrap::before {
        content: "Siga o Portal";
        margin-right: 5px;
        color: var(--pss-navy);
        font-size: 11px;
        font-weight: 850;
        letter-spacing: .09em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .portalss-editorial-2026 .site-below-header-wrap .ast-builder-social-element {
        display: inline-flex !important;
        align-items: center;
        gap: 7px;
        min-height: 34px;
        margin: 0 !important;
        padding: 6px 10px !important;
        opacity: 1 !important;
        background: #fff;
        border: 1px solid #dce6ee;
        border-radius: 999px;
        box-shadow: 0 1px 2px rgba(6, 43, 80, .025);
    }

    .portalss-editorial-2026 .site-below-header-wrap .ast-builder-social-element:hover {
        background: #fafdff;
        border-color: #c7d7e4;
        box-shadow: 0 4px 12px rgba(6, 43, 80, .07);
        transform: translateY(-1px);
    }

    .portalss-editorial-2026 .site-below-header-wrap .social-item-label,
    .portalss-editorial-2026 .site-below-header-wrap [class*="social-item-label"] {
        position: static !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: nowrap !important;
        border: 0 !important;
        font-size: 13px;
        font-weight: 650;
        line-height: 1;
    }

    .portalss-editorial-2026 .site-below-header-wrap svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* A cópia auxiliar não aparece no desktop. */
    .portalss-social-strip {
        display: none !important;
    }
}

/* Mobile: o Astra normalmente oculta a linha inferior do header. Mantemos uma
 * faixa compacta com os mesmos links, clonados sem remover a origem. */
@media (max-width: 921px) {
    .portalss-social-strip:not([hidden]) {
        display: block !important;
        min-height: 44px;
        background: #f6f9fc;
        border-top: 1px solid #e5edf4;
        border-bottom: 1px solid #dbe6ee;
    }

    .portalss-social-strip__inner {
        width: 100%;
        min-height: 44px;
        padding: 5px 14px;
        justify-content: flex-start;
        gap: 9px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .portalss-social-strip__inner::-webkit-scrollbar {
        display: none;
    }

    .portalss-social-strip__label {
        position: sticky;
        left: 0;
        z-index: 2;
        flex: 0 0 auto;
        margin-right: 1px;
        padding: 6px 7px 6px 0;
        color: var(--pss-navy);
        background: #f6f9fc;
        font-size: 10px;
        letter-spacing: .08em;
        white-space: nowrap;
    }

    .portalss-social-strip__links {
        flex: 0 0 auto;
        gap: 6px;
    }

    .portalss-social-strip__links .portalss-social-link,
    .portalss-social-strip__links a {
        width: auto;
        min-width: 34px;
        height: 34px;
        padding: 0 9px !important;
        color: var(--pss-navy) !important;
        background: #fff;
        border: 1px solid #d9e5ee;
        border-radius: 999px;
        opacity: 1 !important;
    }

    .portalss-social-strip__links a:hover {
        color: var(--pss-blue) !important;
        background: #fff;
        border-color: #bfd4e4;
    }
}

/* Grade editorial: três colunas apenas quando há espaço real para leitura. */
@media (max-width: 1160px) {
    .portalss-home .portalss-card-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .portalss-home .portalss-card-grid--3 {
        grid-template-columns: 1fr;
    }

    .portalss-home .portalss-card-grid .portalss-card-body {
        padding: 18px !important;
    }

    .portalss-home .portalss-card-grid .portalss-card-title {
        font-size: 21px;
    }
}



/* ======================================================================
   PORTALSS ULTIMATE 2026 — POSTS AMPLOS (v4.4)
   v4.3 usou grid no container principal. Como o breadcrumb também é filho
   direto do container do Astra, ele passou a consumir uma célula do grid e
   empurrou o post para uma coluna estreita. Esta versão volta a usar flex e
   reserva largura real para o artigo.
   ====================================================================== */

@media (min-width: 1051px) {
    body.portalss-editorial-2026.single-post #content > .ast-container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 0 32px !important;
        width: min(calc(100% - 32px), 1400px) !important;
        max-width: 1400px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.portalss-editorial-2026.single-post .portalss-breadcrumbs {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 22px !important;
    }

    body.portalss-editorial-2026.single-post #primary {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.portalss-editorial-2026.single-post #secondary {
        flex: 0 0 280px !important;
        width: 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.portalss-editorial-2026.single-post .site-main,
    body.portalss-editorial-2026.single-post .ast-article-single {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.portalss-editorial-2026.single-post .ast-separate-container .ast-article-single,
    body.portalss-editorial-2026.single-post .ast-article-single {
        padding: 44px 52px !important;
    }

    body.portalss-editorial-2026.single-post .entry-header,
    body.portalss-editorial-2026.single-post .post-thumb,
    body.portalss-editorial-2026.single-post .ast-blog-featured-section,
    body.portalss-editorial-2026.single-post .portalss-reading-meta,
    body.portalss-editorial-2026.single-post .portalss-toc,
    body.portalss-editorial-2026.single-post .portalss-article-actions,
    body.portalss-editorial-2026.single-post .portalss-related {
        width: 100% !important;
        max-width: none !important;
    }

    body.portalss-editorial-2026.single-post .entry-title {
        width: 100% !important;
        max-width: none !important;
        font-size: clamp(38px, 3.2vw, 52px) !important;
        line-height: 1.08 !important;
    }

    body.portalss-editorial-2026.single-post .post-thumb img,
    body.portalss-editorial-2026.single-post .ast-blog-featured-section img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    body.portalss-editorial-2026.single-post .entry-content > p,
    body.portalss-editorial-2026.single-post .entry-content > h2,
    body.portalss-editorial-2026.single-post .entry-content > h3,
    body.portalss-editorial-2026.single-post .entry-content > h4,
    body.portalss-editorial-2026.single-post .entry-content > ul,
    body.portalss-editorial-2026.single-post .entry-content > ol,
    body.portalss-editorial-2026.single-post .entry-content > blockquote {
        width: 100% !important;
        max-width: 900px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.portalss-editorial-2026.single-post .entry-content > figure,
    body.portalss-editorial-2026.single-post .entry-content > .wp-block-image,
    body.portalss-editorial-2026.single-post .entry-content > .wp-block-gallery,
    body.portalss-editorial-2026.single-post .entry-content > .wp-block-table,
    body.portalss-editorial-2026.single-post .entry-content > table,
    body.portalss-editorial-2026.single-post .entry-content > .wp-block-embed {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.portalss-editorial-2026.single-post #secondary .widget {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* A partir desta largura, a sidebar deixa de competir com o conteúdo. */
@media (min-width: 922px) and (max-width: 1050px) {
    body.portalss-editorial-2026.single-post #content > .ast-container {
        display: block !important;
        width: min(calc(100% - 36px), 960px) !important;
        max-width: 960px !important;
        margin: 0 auto !important;
    }

    body.portalss-editorial-2026.single-post #primary,
    body.portalss-editorial-2026.single-post #secondary {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.portalss-editorial-2026.single-post #secondary {
        margin-top: 28px !important;
    }
}

/* ======================================================================
   PORTALSS ULTIMATE SEO 2026 — v4.6
   SEO técnico, autoria, links internos, estabilidade e leitura.
   ====================================================================== */

body.portalss-editorial-2026.single-post .entry-header .entry-meta {
    display: none;
}

body.portalss-editorial-2026.single-post .portalss-reading-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px;
    color: var(--pss-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

body.portalss-editorial-2026.single-post .portalss-reading-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.portalss-editorial-2026.single-post .portalss-reading-meta > span + span::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 7px;
    border-radius: 50%;
    background: #a9b6c2;
}

body.portalss-editorial-2026.single-post .portalss-reading-meta a {
    color: var(--pss-navy);
    font-weight: 700;
    text-decoration: none;
}

body.portalss-editorial-2026.single-post .portalss-reading-meta a:hover {
    color: var(--pss-blue);
}

body.portalss-editorial-2026.single-post .portalss-reading-time::before {
    display: none;
}

.portalss-read-next {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fbfd, #f2f7fb);
    border: 1px solid var(--pss-border);
    border-left: 4px solid var(--pss-green);
    border-radius: 10px;
}

.portalss-read-next__label {
    display: block;
    margin-bottom: 6px;
    color: var(--pss-green);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portalss-read-next__post {
    display: block;
    color: var(--pss-navy) !important;
    font-size: 18px;
    font-weight: 760 !important;
    line-height: 1.35;
    text-decoration: none !important;
}

.portalss-read-next__post:hover {
    color: var(--pss-blue) !important;
}

.portalss-read-next__topic {
    display: inline-block;
    margin-top: 7px;
    color: var(--pss-muted) !important;
    font-size: 13px;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.portalss-read-next__topic:hover {
    color: var(--pss-blue) !important;
}

.portalss-archive-count {
    margin: 14px 0 0;
    color: var(--pss-muted);
    font-size: 14px;
    font-weight: 650;
}

.portalss-page-description {
    max-width: 850px;
}

.portalss-page-description p:last-child {
    margin-bottom: 0;
}

.portalss-author-hero {
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 42px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: var(--pss-radius-lg);
    box-shadow: var(--pss-shadow-sm);
}

.portalss-author-hero__avatar img {
    display: block;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
}

.portalss-author-hero h1 {
    margin: 6px 0 4px;
    color: var(--pss-navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.portalss-author-role {
    margin: 0 0 12px;
    color: var(--pss-green);
    font-weight: 750;
}

.portalss-author-bio {
    max-width: 800px;
    color: #40566b;
}

.portalss-author-bio p:last-child {
    margin-bottom: 0;
}

.portalss-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.portalss-author-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--pss-border);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--pss-navy);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.portalss-author-links a:hover {
    border-color: #bdd6ef;
    background: var(--pss-soft-blue);
    color: var(--pss-blue);
}

.portalss-author-posts {
    min-width: 0;
}

.portalss-editorial-2026 .google-auto-placed,
.portalss-editorial-2026 ins.adsbygoogle {
    max-width: 100%;
    box-sizing: border-box;
}

.portalss-editorial-2026 .google-auto-placed {
    min-height: 90px;
    margin-top: 24px;
    margin-bottom: 24px;
    clear: both;
}

.portalss-editorial-2026 iframe,
.portalss-editorial-2026 embed,
.portalss-editorial-2026 object,
.portalss-editorial-2026 video {
    max-width: 100%;
}

@media (min-width: 768px) {
    .portalss-editorial-2026 .google-auto-placed {
        min-height: 110px;
    }
}

@media (max-width: 700px) {
    .portalss-author-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
        text-align: left;
    }

    .portalss-author-hero__avatar img {
        width: 96px;
        height: 96px;
    }

    body.portalss-editorial-2026.single-post .portalss-reading-meta {
        gap: 5px 10px;
        font-size: 12.5px;
    }

    body.portalss-editorial-2026.single-post .portalss-reading-meta > span + span::before {
        margin-right: 4px;
    }

    .portalss-read-next {
        margin: 24px 0;
        padding: 16px;
    }

    .portalss-read-next__post {
        font-size: 16.5px;
    }
}



/* ======================================================================
   PORTALSS ULTIMATE SEO — CORREÇÃO DE LAYOUT SINGULAR v4.6.1
   O breadcrumb é renderizado por astra_content_top e vira filho direto do
   .ast-container. Em páginas com sidebar, o container do Astra é flex; sem
   esta regra, breadcrumb + conteúdo + sidebar podem ficar na mesma linha e
   comprimir o conteúdo. O breadcrumb agora ocupa uma linha inteira e o
   conteúdo recebe a largura restante de forma previsível.
   ====================================================================== */

.portalss-editorial-2026 #content > .ast-container {
    flex-wrap: wrap;
}

.portalss-editorial-2026 #content > .ast-container > .portalss-breadcrumbs {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
}

@media (min-width: 1051px) {
    body.portalss-editorial-2026.page.ast-right-sidebar #content > .ast-container,
    body.portalss-editorial-2026.page.ast-left-sidebar #content > .ast-container,
    body.portalss-editorial-2026.single-post.ast-right-sidebar #content > .ast-container,
    body.portalss-editorial-2026.single-post.ast-left-sidebar #content > .ast-container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 0 32px !important;
        width: min(calc(100% - 32px), 1400px) !important;
        max-width: 1400px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.portalss-editorial-2026.page.ast-right-sidebar #primary,
    body.portalss-editorial-2026.single-post.ast-right-sidebar #primary {
        order: 2;
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.portalss-editorial-2026.page.ast-right-sidebar #secondary,
    body.portalss-editorial-2026.single-post.ast-right-sidebar #secondary {
        order: 3;
        flex: 0 0 300px !important;
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.portalss-editorial-2026.page.ast-left-sidebar #secondary,
    body.portalss-editorial-2026.single-post.ast-left-sidebar #secondary {
        order: 2;
        flex: 0 0 300px !important;
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.portalss-editorial-2026.page.ast-left-sidebar #primary,
    body.portalss-editorial-2026.single-post.ast-left-sidebar #primary {
        order: 3;
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.portalss-editorial-2026.page #content > .ast-container > .portalss-breadcrumbs,
    body.portalss-editorial-2026.single-post #content > .ast-container > .portalss-breadcrumbs {
        order: 1;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 22px !important;
    }

    body.portalss-editorial-2026.page #primary .site-main,
    body.portalss-editorial-2026.page #primary .ast-article-single,
    body.portalss-editorial-2026.single-post #primary .site-main,
    body.portalss-editorial-2026.single-post #primary .ast-article-single {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.portalss-editorial-2026.page .ast-separate-container .ast-article-single,
    body.portalss-editorial-2026.page .ast-article-single {
        padding: 44px 52px !important;
    }

    body.portalss-editorial-2026.page .entry-header,
    body.portalss-editorial-2026.page .entry-content,
    body.portalss-editorial-2026.page .post-thumb,
    body.portalss-editorial-2026.page .ast-blog-featured-section {
        width: 100% !important;
        max-width: none !important;
    }

    body.portalss-editorial-2026.page .entry-content > p,
    body.portalss-editorial-2026.page .entry-content > h2,
    body.portalss-editorial-2026.page .entry-content > h3,
    body.portalss-editorial-2026.page .entry-content > h4,
    body.portalss-editorial-2026.page .entry-content > ul,
    body.portalss-editorial-2026.page .entry-content > ol,
    body.portalss-editorial-2026.page .entry-content > blockquote {
        width: 100% !important;
        max-width: 900px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

/* Em notebooks, preservar a leitura é mais importante que manter a sidebar
   ao lado. Ela desce para baixo antes de começar a comprimir o conteúdo. */
@media (min-width: 922px) and (max-width: 1050px) {
    body.portalss-editorial-2026.page #content > .ast-container,
    body.portalss-editorial-2026.single-post #content > .ast-container {
        display: block !important;
        width: min(calc(100% - 36px), 960px) !important;
        max-width: 960px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.portalss-editorial-2026.page #primary,
    body.portalss-editorial-2026.page #secondary,
    body.portalss-editorial-2026.single-post #primary,
    body.portalss-editorial-2026.single-post #secondary {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.portalss-editorial-2026.page #secondary,
    body.portalss-editorial-2026.single-post #secondary {
        margin-top: 28px !important;
    }
}


/* ======================================================================
   v4.6.2 — artigo mais limpo + caixa de autor nativa
   ====================================================================== */
.portalss-toc { display: none !important; }

.portalss-author-box {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 24px;
    margin: 44px 0 22px;
    padding: 28px 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pss-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(13, 43, 74, .06);
}
.portalss-author-box__accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--pss-blue) 0 34%, var(--pss-green) 34% 67%, var(--pss-orange) 67% 100%);
}
.portalss-author-box__avatar { align-self: start; }
.portalss-author-avatar {
    display: block;
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px var(--pss-border), 0 8px 18px rgba(13,43,74,.08);
}
.portalss-author-box__content { min-width: 0; }
.portalss-author-box__eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--pss-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.portalss-author-box__name {
    margin: 0;
    color: var(--pss-navy);
    font-size: 24px;
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.portalss-author-box__name a { color: inherit; text-decoration: none; }
.portalss-author-box__name a:hover { color: var(--pss-blue); }
.portalss-author-box__role {
    margin: 4px 0 0;
    color: var(--pss-green);
    font-size: 14px;
    font-weight: 700;
}
.portalss-author-box__bio {
    margin-top: 12px;
    max-width: 760px;
    color: var(--pss-text);
    font-size: 15.5px;
    line-height: 1.65;
}
.portalss-author-box__bio p { margin: 0; }
.portalss-author-box__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}
.portalss-author-box__posts {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 8px;
    background: var(--pss-navy);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
}
.portalss-author-box__posts:hover { background: var(--pss-blue); }
.portalss-author-box__socials { display: flex; flex-wrap: wrap; gap: 7px; }
.portalss-author-social {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    background: #f6f9fb;
    border: 1px solid var(--pss-border);
    border-radius: 999px;
    color: #40566b !important;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none !important;
}
.portalss-author-social:hover {
    background: #eef6ff;
    border-color: #bdd8f6;
    color: var(--pss-blue) !important;
}
@media (max-width: 640px) {
    .portalss-author-box {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        padding: 22px 20px 22px 24px;
        border-radius: 13px;
    }
    .portalss-author-avatar { width: 72px; height: 72px; }
    .portalss-author-box__name { font-size: 21px; }
    .portalss-author-box__bio,
    .portalss-author-box__actions { grid-column: 1 / -1; }
    .portalss-author-box__actions { align-items: flex-start; flex-direction: column; }
}
