/* Oxton Journals — página "Artigos" (acervo com busca e filtros).
   Plano: sem sombras, transições ou animações. Herda cores do tema via --oxj-*. */
.oxa { --oxa-p: var(--oxj-primary, #1A3AF0); --oxa-a: var(--oxj-accent, #F59E0B); --oxa-line: var(--oxj-border, #E6E4E1); --oxa-line2: var(--oxj-border-strong, #D4D1CD); --oxa-muted: var(--oxj-muted, #5F6577); --oxa-text: var(--oxj-text, #1F2430); --oxa-soft: var(--oxj-bg-alt, #F6F5F4); --oxa-psoft: var(--oxj-primary-soft, #EEF1FE); color: var(--oxa-text); }
.oxa a { color: var(--oxa-p); text-decoration: none; }
.oxa a:hover { text-decoration: underline; text-underline-offset: 2px; }
.oxa-muted { color: var(--oxa-muted); }

/* Cabeçalho e busca */
.oxa-head { padding: 4px 0 24px; margin-bottom: 26px; border-bottom: 1px solid var(--oxa-line); }
.oxa-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--oxa-p); }
.oxa-kicker::before { content: ""; width: 18px; height: 2px; background: var(--oxa-a); }
.oxa-title { font-size: 28px; font-weight: 600; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
.oxa-lead { margin: 0 0 18px; color: var(--oxa-muted); font-size: 15px; }
.oxa-search { display: flex; align-items: center; gap: 10px; max-width: 760px; height: 50px; padding: 0 5px 0 16px; border: 1px solid var(--oxa-line2); border-radius: 10px; background: #fff; color: var(--oxa-muted); }
.oxa-search:focus-within { border-color: var(--oxa-p); }
.oxa-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--oxa-text); }

/* Botões */
.oxa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border: 1px solid var(--oxa-line2); border-radius: 9px; background: #fff; color: var(--oxa-text) !important; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.oxa-btn:hover { border-color: var(--oxa-p); color: var(--oxa-p) !important; }
.oxa-btn--primary { background: var(--oxa-p); border-color: var(--oxa-p); color: #fff !important; }
.oxa-btn--primary:hover { color: #fff !important; filter: brightness(.93); }
.oxa-search .oxa-btn { height: 40px; }
.oxa-btn--sm { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.oxa-btn--soft { background: var(--oxa-psoft); border-color: transparent; color: var(--oxa-p) !important; }
.oxa-link { font-size: 13.5px; font-weight: 500; }

/* Grade: barra lateral + resultados */
.oxa-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.oxa-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.oxa-panel { border: 1px solid var(--oxa-line); border-radius: 10px; background: #fff; }
.oxa-panel__head { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--oxa-text); cursor: pointer; border-bottom: 1px solid var(--oxa-line); }
.oxa-panel__head::-webkit-details-marker { display: none; }
.oxa-panel__head::after { content: "▾"; font-size: 12px; color: var(--oxa-muted); }
details:not([open]) > .oxa-panel__head { border-bottom: 0; }
.oxa-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--oxa-p); color: #fff; font-size: 11px; letter-spacing: 0; }
.oxa-facet { border: 0; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--oxa-line); min-width: 0; }
.oxa-facet legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--oxa-muted); }
.oxa-check { clear: both; display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; font-size: 14px; line-height: 1.35; cursor: pointer; }
.oxa-check input { margin: 2px 0 0; accent-color: var(--oxa-p); flex: 0 0 auto; }
.oxa-check span { flex: 1; min-width: 0; }
.oxa-check em { font-style: normal; font-size: 12px; color: var(--oxa-muted); background: var(--oxa-soft); border-radius: 9px; padding: 1px 7px; }
.oxa-check:hover span { color: var(--oxa-p); }
.oxa-none { clear: both; margin: 0; font-size: 13px; color: var(--oxa-muted); }
.oxa-select { clear: both; display: block; width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--oxa-line2); border-radius: 8px; background: #fff; font: inherit; font-size: 13.5px; color: var(--oxa-text); }
.oxa-filters__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.oxa-tips { padding: 14px 16px; font-size: 13px; color: var(--oxa-muted); }
.oxa-tips__title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--oxa-text); margin: 0 0 8px; }
.oxa-tips ul { margin: 0 0 10px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* Resultados */
.oxa-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--oxa-text); }
.oxa-bar__count { margin: 0; font-size: 15px; font-weight: 500; }
.oxa-bar__count .oxa-muted { font-weight: 400; margin-left: 4px; }
.oxa-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--oxa-muted); }
.oxa-sort .oxa-select { width: auto; min-width: 160px; height: 34px; }
.oxa-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 0 4px; }
.oxa-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 14px; background: var(--oxa-psoft); color: var(--oxa-p) !important; font-size: 13px; font-weight: 500; text-decoration: none !important; }
.oxa-chip:hover { background: var(--oxa-p); color: #fff !important; }
.oxa-list { list-style: none; margin: 0; padding: 0; }
.oxa-item { padding: 20px 0; border-bottom: 1px solid var(--oxa-line); }
.oxa-item__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 6px; font-size: 12px; }
.oxa-type { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--oxa-psoft); color: var(--oxa-p); font-weight: 500; }
.oxa-oa { color: #B26B00; font-weight: 500; }
.oxa-item__title { font-size: 18px; font-weight: 500; line-height: 1.4; margin: 0 0 5px; }
.oxa-item__title a { color: var(--oxa-text) !important; }
.oxa-item__title a:hover { color: var(--oxa-p) !important; }
.oxa-item__authors { margin: 0 0 6px; font-size: 14px; color: var(--oxa-text); opacity: 1; }
.oxa-item__abs { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--oxa-muted); }
.oxa mark { background: #FEF0CF; color: inherit; padding: 0 1px; border-radius: 2px; }
.oxa-item__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--oxa-muted); }
.oxa-item__meta a { color: var(--oxa-muted); }
.oxa-item__meta a:hover { color: var(--oxa-p); }
.oxa-item__actions { display: flex; gap: 8px; margin-top: 12px; }
.oxa-empty { text-align: center; padding: 48px 20px; margin-top: 18px; border: 1px dashed var(--oxa-line2); border-radius: 10px; background: var(--oxa-soft); color: var(--oxa-p); }
.oxa-empty__title { margin: 10px 0 4px; font-size: 16px; font-weight: 600; color: var(--oxa-text); }
.oxa-empty .oxa-muted { margin: 0 0 14px; font-size: 14px; }
.oxa-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 24px; }
.oxa-pager a, .oxa-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--oxa-line); border-radius: 8px; font-size: 14px; color: var(--oxa-text); text-decoration: none !important; }
.oxa-pager a:hover { border-color: var(--oxa-p); color: var(--oxa-p); }
.oxa-pager .is-current { background: var(--oxa-p); border-color: var(--oxa-p); color: #fff; font-weight: 600; }
.oxa-pager .oxa-pager__gap { border: 0; min-width: 18px; padding: 0; color: var(--oxa-muted); }

@media (max-width: 900px) {
  .oxa-grid { grid-template-columns: 1fr; gap: 20px; }
  .oxa-side { position: static; }
  .oxa-tips { display: none; }
}
@media (max-width: 600px) {
  .oxa-title { font-size: 23px; }
  .oxa-search { height: 46px; }
  .oxa-item__title { font-size: 16.5px; }
  .oxa-sort .oxa-select { min-width: 0; }
}
