/* layout — só modelo PS Plus: remove o margin-top:50px global do tema em .main-container */
body.page-template-page-psplus-php #main .container.main-container,
body.post-template-page-psplus-php #main .container.main-container{margin-top:0!important}

/* cabeçalho do título (bb-page-header): remove margin-bottom ~30px do #main > .container do tema */
body.page-template-page-psplus-php #main header.container.bb-page-header,
body.post-template-page-psplus-php #main header.container.bb-page-header{margin-bottom:0!important}

/* notices — sem barra lateral; cabeçalho opcional (título + SVG) */
.psplus-notice{padding:12px 16px;border-radius:4px;margin:16px 0;font-size:.9em;line-height:1.55;border-left:none}.psplus-notice,.psplus-notice p,.psplus-notice span,.psplus-notice strong,.psplus-notice em,.psplus-notice a{font-size:inherit;line-height:inherit;font-family:inherit}.psplus-notice p{margin:0;padding:0}.psplus-notice--note{background:#e8f4fb}.psplus-notice--tip{background:#e8f8e8}.psplus-notice--warning{background:#fff8e1}.psplus-notice--info{background:#f5f5f5}.psplus-update-notice{margin-bottom:20px}.psplus-notice__header{display:flex;align-items:center;gap:10px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid rgba(0,0,0,.12);flex-wrap:wrap}.psplus-notice--custom-fg .psplus-notice__header{border-bottom-color:currentColor}.psplus-notice--custom-fg .psplus-notice__body a{color:currentColor;text-decoration:underline}.psplus-notice__header:empty{display:none}.psplus-notice__title{font-weight:600;line-height:1.3}.psplus-notice__icon{display:inline-flex;line-height:0;flex-shrink:0}.psplus-notice__icon svg{width:2em;height:2em;min-width:2em;min-height:2em;display:block;color:inherit;fill:none}.psplus-notice__icon svg path[stroke]:not([stroke=none]):not([stroke='none']),.psplus-notice__icon svg circle[stroke]:not([stroke=none]):not([stroke='none']),.psplus-notice__icon svg ellipse[stroke]:not([stroke=none]):not([stroke='none']),.psplus-notice__icon svg line[stroke]:not([stroke=none]):not([stroke='none']),.psplus-notice__icon svg polyline[stroke]:not([stroke=none]):not([stroke='none']),.psplus-notice__icon svg polygon[stroke]:not([stroke=none]):not([stroke='none']){fill:none;stroke:currentColor}.psplus-notice__icon svg path:not([stroke]):not([fill=none]):not([fill='none']),.psplus-notice__icon svg circle:not([stroke]):not([fill=none]):not([fill='none']),.psplus-notice__icon svg ellipse:not([stroke]):not([fill=none]):not([fill='none']),.psplus-notice__icon svg rect:not([stroke]):not([fill=none]):not([fill='none']),.psplus-notice__icon svg polygon:not([stroke]):not([fill=none]):not([fill='none']),.psplus-notice__icon svg polyline:not([stroke]):not([fill=none]):not([fill='none']),.psplus-notice__icon svg use:not([stroke]):not([fill=none]):not([fill='none']){fill:currentColor}.psplus-notice__body{display:block}
/* tables */
.psplus-table-wrap{margin:20px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}.psplus-table-title{font-weight:700;margin:0 0 8px}.psplus-table{width:100%;border-collapse:collapse}.psplus-table th,.psplus-table td{padding:9px 13px;border:1px solid rgba(0,0,0,.1);text-align:left;vertical-align:top;font-family:inherit;font-size:inherit}.psplus-table thead tr{background:rgba(0,0,0,.05);font-weight:600}.psplus-table thead th{text-align:center}.psplus-table tbody tr:nth-child(even){background:rgba(0,0,0,.025)}
/* games — layout horizontal */
.psplus-games{margin:20px 0}.psplus-games__title{margin:0 0 12px;font-size:1.05em;font-weight:700}.psplus-games__grid{display:flex;flex-direction:column;gap:0}.psplus-game-card{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid rgba(0,0,0,.08)}.psplus-game-card:last-child{border-bottom:none}.psplus-game-card__cover{flex:0 0 450px;width:450px;display:flex;align-items:center;justify-content:center;align-self:center}.psplus-game-card__cover a{display:flex;align-items:center;justify-content:center;text-decoration:none;width:100%}.psplus-game-card__cover img{display:block;width:100%;height:auto;border-radius:6px;object-fit:cover}.psplus-game-card__body{flex:1;min-width:0}.psplus-game-card__header{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:6px}.psplus-game-card__name{font-weight:700;line-height:1.3}.psplus-game-card__link{font-size:.85em;text-decoration:none;opacity:.75;white-space:nowrap}.psplus-game-card__link:hover{text-decoration:underline;opacity:1}.psplus-game-card__desc{line-height:1.5}
/* author — duas colunas lado a lado, mesma altura (stretch) + conteúdo centrado na vertical; avatar compacto */
.psplus-author-inline.editor-expertise-panel{margin:16px 0;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.psplus-author-inline .editor-expertise-panel-inner{text-align:left}
.psplus-author-horizontal-row{display:flex;align-items:stretch;align-content:stretch;gap:12px;flex-wrap:wrap}
.psplus-author-col--left{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:.14rem;flex:0 0 auto;min-width:64px;max-width:138px;padding-top:0;margin-top:0;align-self:stretch}
.psplus-author-col--right{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.28rem;flex:1 1 0%;min-width:0;max-width:100%;padding-top:0;margin-top:0;align-self:stretch}
.psplus-author-inline .psplus-author-col--right>:first-child{margin-top:0}
.psplus-author-inline .psplus-author-col--left>:first-child{margin-top:0}
.psplus-author-inline .psplus-author-avatar-wrap{margin:0;flex-shrink:0;text-align:center;width:100%;line-height:0}
.psplus-author-inline .psplus-author-avatar-wrap .editor-expertise-avatar-link{display:inline-block;line-height:0}
.psplus-author-inline .psplus-author-avatar-wrap .editor-expertise-avatar{width:56px;height:56px;margin:0 auto;display:block;object-fit:cover;border-radius:50%}
.psplus-author-inline .editor-expertise-avatar{margin:0 auto;display:block}
.psplus-author-inline .psplus-author-col--left .editor-expertise-name{margin:0;text-align:center;width:100%;line-height:1.2;font-size:.88em;font-weight:600;word-wrap:break-word;overflow-wrap:break-word}
.psplus-author-inline .psplus-author-col--left .editor-expertise-name-link{display:inline-block}
.psplus-author-inline .psplus-author-col--left .editor-expertise-role{margin:0;text-align:center;width:100%;line-height:1.22;font-size:.75em;opacity:.88;word-wrap:break-word;overflow-wrap:break-word}
.psplus-author-inline .psplus-author-col--right .editor-expertise-social,.psplus-author-inline .psplus-author-col--right .psplus-author-social-row{margin-top:0;justify-content:flex-start;gap:.4rem;flex-shrink:0}
.psplus-author-inline .editor-expertise-bio{text-align:left;line-height:1.38;font-size:.95em}
.psplus-author-inline .psplus-author-col--right .editor-expertise-bio p{margin:0 0 .35em}
.psplus-author-inline .psplus-author-col--right .editor-expertise-bio p:last-child{margin-bottom:0}
.psplus-author-inline .bb-author-social-extra .bb-author-extra-label{max-width:12em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* «Por» só no mobile; no desktop mantém só o nome */
.psplus-author-inline .psplus-author-by-label{display:none}

/* ── Responsivo: Tablet (≤ 900px) ────────────────────────── */
@media(max-width:900px){
.psplus-game-card__cover{flex:0 0 260px;width:260px}
.psplus-game-card__link{display:block;text-align:center}
.psplus-table th,.psplus-table td{padding:7px 10px}
}

/* ── Responsivo: Mobile (≤ 600px) ───────────────────────── */
@media(max-width:600px){
/* Bloco autor: margin-top 0 (sobrepõe inline / tema); grupo centrado */
.psplus-author-inline.editor-expertise-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:100%;box-sizing:border-box;margin-top:0!important;margin-bottom:14px;margin-left:auto;margin-right:auto;padding:18px 16px;text-align:center}
.psplus-author-inline .editor-expertise-panel-inner.psplus-author-horizontal-inner{width:100%;max-width:100%;display:flex;justify-content:center;align-items:center;text-align:center;margin:0 auto}
/* Autor: sempre uma linha — avatar à esquerda do texto (nunca imagem em cima); editorial-category.css dá margin-bottom no avatar — anular aqui */
.psplus-author-horizontal-row{flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:12px;width:100%;margin:0 auto}
.psplus-author-col--left{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-start;text-align:left;gap:10px;flex:0 1 auto;width:auto;max-width:100%;min-width:0;margin:0 auto;align-self:center}
.psplus-author-col--left .psplus-author-avatar-wrap{order:1;width:auto!important;max-width:none;margin:0!important;flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.psplus-author-inline .psplus-author-col--left .psplus-author-avatar-wrap .editor-expertise-avatar-link{margin:0!important}
/* «Por» + nome: UMA linha só (sem quebra). Sem "…"; se não couber, scroll horizontal neste bloco */
.psplus-author-inline .psplus-author-col--left .editor-expertise-name{order:2;margin:0!important;padding:0;text-align:left!important;flex:1 1 auto;min-width:0;max-width:min(100%,calc(100vw - 5.5rem));font-size:1em;line-height:1.35;font-weight:600;display:inline-flex!important;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.22em;align-self:center;white-space:nowrap;word-wrap:normal!important;overflow-wrap:normal!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.psplus-author-inline .psplus-author-col--left .psplus-author-by-label{display:inline!important;flex:0 0 auto;white-space:nowrap;margin:0!important;font-weight:500;font-size:.92em;opacity:.88}
.psplus-author-inline .psplus-author-col--left .editor-expertise-name-link{display:inline!important;flex:0 0 auto;white-space:nowrap!important;word-wrap:normal!important;overflow:visible!important;text-overflow:clip!important;vertical-align:baseline}
.psplus-author-col--left .editor-expertise-role{display:none!important}
.psplus-author-col--right{display:none!important}
.psplus-author-inline .psplus-author-avatar-wrap .editor-expertise-avatar{width:44px;height:44px;margin:0!important}
.psplus-author-inline .editor-expertise-avatar{margin:0!important}
/* Tabela: scroll horizontal com indicador visual */
.psplus-table-wrap{border-radius:4px;box-shadow:inset -6px 0 8px -6px rgba(0,0,0,.12)}
.psplus-table th,.psplus-table td{padding:6px 9px;word-break:break-word;overflow-wrap:break-word}

/* Game card: empilhado com ordem Nome → Imagem → Âncora → Descrição */
.psplus-game-card{flex-direction:column;align-items:stretch;gap:8px;padding:16px 0}

/* display:contents remove a caixa intermediária e promove os filhos
   como itens diretos do flex container pai — permite usar order neles */
.psplus-game-card__body{display:contents}
.psplus-game-card__header{display:contents}

.psplus-game-card__name{order:1;display:block;font-size:1.05em;margin-bottom:0}
.psplus-game-card__cover{order:2;flex:none;width:100%;max-width:340px;margin:0 auto}
.psplus-game-card__link{order:3;display:block;margin-top:6px;font-size:.9em;text-align:center}
.psplus-game-card__desc{order:4;margin-top:6px}
}
