/* OSR21: acabamentos sobre o tema Amplitude (OJSBR, 13/10/2026). Os ajustes de cabeçalho do tema
   Manuscript saíram (o Amplitude tem banner próprio); ficaram as regras de conteúdo. O banner foi
   refeito na proporção dos banners da Seven (mesma altura), com o conteúdo inteiro. */
.obj_article_details .abstract { text-align: justify; }
.sociais img { width: 80px; margin-top: 20px; margin-right: 20px; }
.imgeditora { width: 400px; max-width: 100%; }
p.imgeditora { text-align: center !important; }
.indexadores img { max-width: 180px; margin: 20px; }
section.item.references .value, .summary p { overflow-wrap: anywhere; hyphens: auto; }

/* Bloco "Cadastro": botão nas cores do tema, como o "Enviar submissão" */
#customblock-cadastro a.block_make_submission_link { display: block; padding: .85rem 1rem; border-radius: var(--amp-radius); background: var(--amp-secondary); color: #fff; font-weight: 700; text-align: center; text-transform: uppercase; text-decoration: none; letter-spacing: .04em; transition: background-color .2s, transform .2s; }
#customblock-cadastro a.block_make_submission_link:hover, #customblock-cadastro a.block_make_submission_link:focus { background: var(--amp-accent); color: #fff; transform: translateY(-2px); }

/* Rodapé em três colunas */
.rc-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rc-footer h3 { margin: 0 0 10px; font-size: 0.95rem; letter-spacing: .06em; text-transform: uppercase; color: inherit; opacity: .95; }
.rc-footer p { margin: 0 0 10px; line-height: 1.55; }
.rc-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rc-footer-seal img { display: block; margin: 4px 0 6px; }
@media (max-width: 1100px) { .rc-footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .rc-footer { grid-template-columns: 1fr; } }


/* Celular e tablet: o banner aparece INTEIRO na largura da tela (o tema recortaria pela esquerda com
   altura fixa) */
@media (max-width: 991px) {
  .amp_banner--image .pkp_site_name, .amp_banner--image .pkp_site_name a.is_img { height: auto !important; }
  .amp_banner--image .pkp_site_name img { width: 100% !important; height: auto !important; object-fit: contain !important; object-position: center !important; }
}

/* Botão flutuante do WhatsApp (cabeçalho personalizado): o ícone usa a fonte FontAwesome 4.7 que o
   próprio OJS carrega em todas as páginas (lib/pkp/styles/fontawesome), que tem o logo do WhatsApp.
   Sem isto, um plugin que traga o Font Awesome 6 (ex.: Shariff) troca a fonte e aparece um quadrado. */
.float .fa-whatsapp, .float .fa.fa-whatsapp { font-family: FontAwesome !important; font-weight: normal !important; font-style: normal !important; }
.float .fa-whatsapp::before { content: "\f232" !important; font-family: FontAwesome !important; font-weight: normal !important; }
