/* ==========================================================================
   1. Cabeçalho Canto a Canto (Azul Full-Width + Logo em Tamanho Real à Esquerda)
   ========================================================================== */
.pkp_structure_head {
  background-color: #1e6292 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

#headerNavigationContainer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Barra superior do usuário (admin) alinhada sem cortar o azul */
.pkp_navigation_user_wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-right: 20px !important;
}

.pkp_site_name_wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  height: auto !important;
  padding: 24px 20px 20px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.pkp_site_name {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  float: none !important;
  flex-shrink: 0;
}

.pkp_site_name .is_img {
  display: inline-block !important;
  max-width: 100% !important;
  text-align: left !important;
}

/* Alinhamento absoluto à esquerda em todos os navegadores */
#headerNavigationContainer .pkp_site_name_wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
  padding-left: 20px !important;
}

#headerNavigationContainer .pkp_site_name,
#headerNavigationContainer .pkp_site_name .is_img {
  display: block !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
  float: none !important;
}

#headerNavigationContainer .pkp_site_name .is_img img {
  display: block !important;
  width: 380px !important;
  height: 110px !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
}

/* Identificação Institucional à Direita (Padrão Editorial) */
@media (min-width: 992px) {
  .pkp_site_name_wrapper::after {
    content: "Official Journal of the Brazilian Society of Anatomy\A ISSN 2177-0298  |  Open Access";
    white-space: pre-line;
    text-align: right;
    color: rgba(255, 255, 255, 0.92);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.85rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
    border-right: 3px solid rgba(255, 255, 255, 0.45);
    padding-right: 14px;
    flex-shrink: 0;
  }
}

@media (max-width: 991px) {
  .pkp_site_name_wrapper {
    min-height: 48px;
    padding: 12px 16px 12px 48px !important;
  }
  .pkp_site_name_wrapper .pkp_site_name {
    position: static;
    flex: 1;
    min-width: 0;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
  }
}

/* Barra de Navegação Principal — Canto a canto */
.pkp_navigation_primary_row {
  background-color: #1e6292 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  width: 100% !important;
  padding: 0 !important;
}

.pkp_navigation_primary_wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.pkp_navigation_primary > li > a {
  color: #ffffff !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   2. Rodapé Institucional
   ========================================================================== */
.pkp_structure_footer_wrapper {
  background: #edf5fb;
  border-top: 4px solid #1e6292;
  color: #263e50;
}
.pkp_structure_footer .pkp_footer_content {
  float: none;
  width: 100%;
  box-sizing: border-box;
}
.pkp_footer_content > table {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}
.pkp_footer_content > table > tbody > tr > td {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.pkp_footer_content table table {
  width: 100%;
  float: none;
  overflow-wrap: anywhere;
}
.pkp_footer_content h3, .pkp_footer_content a { color: #164e76; }
.pkp_footer_content > p:last-child,
.pkp_structure_footer_wrapper .pkp_footer_content > p:last-child {
  background-color: #1e6292;
  color: white;
  padding: 1rem;
  text-align: center;
}
@media (max-width: 760px) {
  .pkp_footer_content > table > tbody > tr > td {
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
    margin: auto;
  }
}

/* ==========================================================================
   3. Detalhes do Artigo e Nuvem de Indexação
   ========================================================================== */
.obj_article_details .item.abstract, .obj_article_details .item.abstract p { text-align: justify !important; }

.obj_article_details .main_entry:has(> .item.abstract):has(> .item.keywords) {display:flex;flex-direction:column}
.obj_article_details .main_entry > .item.keywords {order:1}
.obj_article_details .main_entry > .item.abstract ~ * {order:2}
#customblock-jmsindexing h3:has(+ p a[href*="search/search?query="]) {color:#60666c;text-transform:uppercase;border-bottom:3px solid #e8ad46;width:fit-content;padding-bottom:.4em;margin-bottom:.8em}
#customblock-jmsindexing p:has(a[href*="search/search?query="]){container-type:inline-size;position:relative;aspect-ratio:300/380;max-width:330px;margin-inline:auto;font-size:0;line-height:0!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a {position:absolute;display:block;white-space:nowrap;font-family:Georgia,serif;font-weight:bold;line-height:1;text-decoration:none;transform:translate(-50%,-50%) rotate(var(--angle));}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:hover, #customblock-jmsindexing p:has(a[href*="search/search?query="]) a:focus-visible{text-decoration:underline;z-index:1;background:white}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(8) {left:50.289%;top:47.551%;--angle:-90deg;font-size:9.667cqw!important;color:#986333!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(6) {left:62.775%;top:48.236%;--angle:-90deg;font-size:8.560cqw!important;color:#45759a!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(32) {left:37.845%;top:48.394%;--angle:-90deg;font-size:7.000cqw!important;color:#986333!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(2) {left:27.934%;top:46.134%;--angle:-90deg;font-size:7.000cqw!important;color:#986333!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(34) {left:74.658%;top:48.635%;--angle:-90deg;font-size:7.000cqw!important;color:#62669b!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(33) {left:48.956%;top:80.065%;--angle:-90deg;font-size:7.000cqw!important;color:#876382!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(35) {left:50.232%;top:17.195%;--angle:-90deg;font-size:7.000cqw!important;color:#367c80!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(3) {left:19.863%;top:41.003%;--angle:-90deg;font-size:4.333cqw!important;color:#876382!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(23) {left:83.409%;top:46.111%;--angle:-90deg;font-size:4.667cqw!important;color:#367c80!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(4) {left:12.661%;top:43.212%;--angle:-90deg;font-size:4.667cqw!important;color:#62669b!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(5) {left:90.940%;top:47.827%;--angle:-90deg;font-size:4.667cqw!important;color:#367c80!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(7) {left:5.416%;top:55.261%;--angle:-90deg;font-size:5.333cqw!important;color:#547c69!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(11) {left:50.143%;top:2.793%;--angle:0deg;font-size:4.333cqw!important;color:#367c80!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(26) {left:46.598%;top:97.019%;--angle:0deg;font-size:5.000cqw!important;color:#986333!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(29) {left:23.588%;top:83.592%;--angle:0deg;font-size:4.000cqw!important;color:#367c80!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(22) {left:76.971%;top:88.069%;--angle:0deg;font-size:4.000cqw!important;color:#62669b!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(31) {left:77.144%;top:8.626%;--angle:0deg;font-size:4.000cqw!important;color:#547c69!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(25) {left:22.731%;top:89.660%;--angle:0deg;font-size:4.333cqw!important;color:#547c69!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(16) {left:5.725%;top:15.459%;--angle:-90deg;font-size:4.333cqw!important;color:#62669b!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(27) {left:97.110%;top:70.009%;--angle:-90deg;font-size:3.333cqw!important;color:#876382!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(12) {left:25.789%;top:7.463%;--angle:0deg;font-size:3.333cqw!important;color:#45759a!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(30) {left:97.159%;top:38.259%;--angle:-90deg;font-size:3.333cqw!important;color:#45759a!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(17) {left:83.404%;top:14.502%;--angle:0deg;font-size:3.333cqw!important;color:#367c80!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(21) {left:81.109%;top:80.662%;--angle:0deg;font-size:3.000cqw!important;color:#876382!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(14) {left:21.287%;top:77.762%;--angle:0deg;font-size:3.000cqw!important;color:#986333!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(10) {left:85.672%;top:2.496%;--angle:0deg;font-size:3.333cqw!important;color:#62669b!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(13) {left:34.114%;top:13.949%;--angle:0deg;font-size:3.000cqw!important;color:#547c69!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(19) {left:89.422%;top:92.663%;--angle:0deg;font-size:3.000cqw!important;color:#547c69!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(24) {left:88.461%;top:96.773%;--angle:0deg;font-size:3.333cqw!important;color:#45759a!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(28) {left:64.949%;top:92.451%;--angle:0deg;font-size:2.000cqw!important;color:#62669b!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(1) {left:77.726%;top:76.953%;--angle:0deg;font-size:2.333cqw!important;color:#547c69!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(20) {left:17.806%;top:3.461%;--angle:0deg;font-size:2.000cqw!important;color:#986333!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(15) {left:70.816%;top:22.155%;--angle:-90deg;font-size:2.000cqw!important;color:#876382!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(18) {left:8.116%;top:94.978%;--angle:0deg;font-size:2.667cqw!important;color:#45759a!important}
#customblock-jmsindexing p:has(a[href*="search/search?query="]) a:nth-of-type(9) {left:76.602%;top:23.641%;--angle:-90deg;font-size:4.333cqw!important;color:#876382!important}

.page_index_journal .homepage_about p.wixui-rich-text__text { text-align: justify; }
#comp-j82tiuiu p.wixui-rich-text__text { text-align: justify; }