
body.has_site_logo .pkp_site_name_wrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media (min-width: 992px) {
    #navigationUser > li.profile > a { color: #000000 !important; }

	.pkp_navigation_user_wrapper {
			width: 100% !important;
	}
	.issues_archive {
		display: flex;
		flex-wrap: wrap;
	}
	.issues_archive li{
	    display: flex;
		width: 33%;
	}
	.issues_archive li h2{
	    clear: both;
	}
	.cover img {
		max-width: 200px;
	}
	
	
}

html, body {
    background: #cccccc; 
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important; 
}
.pkp_brand_footer {
	display: none;
}

.page_index_journal .sections .section h3 {
    position: relative !important;
    display: inline-block !important;
    top: auto !important;
    left: auto !important;
    padding: 0 0 .357rem !important;
    border-bottom: 3px solid #f7bc4a !important;
    background: transparent !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
	font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif !important;
    font-size: 1.285rem !important;
    line-height: 2.143rem !important;
    font-weight: 700 !important;
	margin-bottom: 0px !important;
    margin-top: 20px !important;
}

@media (min-width: 992px) {
	.pkp_navigation_user_wrapper {
		width: 100% !important;
	}
	.pkp_head_wrapper .pkp_site_name .is_img {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		margin: 0px !important;
	}

	.pkp_site_name .is_img img {
		height: auto !important;
		width: 1160px !important;
		max-height: 1000px !important;
		padding: 0px !important;
		margin: 0px !important;
		padding-top: 0px !important;
		padding-bottom: 0px !important;
	}

	body.has_site_logo .pkp_site_name {
		/*width: 75% !important;*/
		margin-left: 0 !important;
		padding-top: 0px !important;
		padding-bottom: 0px !important;
	}	
}

@media (max-width: 991px) {
	body.has_site_logo .is_img img {
		max-height: 100% !important;
		width: 430px !important;
	}
	body.has_site_logo .pkp_site_name_wrapper {
		height: 95px !important;
	}
	body.has_site_logo .pkp_site_nav_toggle {
		margin-top: 27px !important;
	}
}

/* ==========================================================================
   Rodapé institucional — Revista Espacio ECP
   Vive dentro de .pkp_footer_content, que o tema já limita a 1160px.
   O padding lateral acompanha o do conteúdo principal do tema (@triple),
   para o rodapé alinhar com o texto do corpo da página.
   ========================================================================== */

.pkp_structure_footer_wrapper {
	background: #ffffff;
	border-top: 3px solid #F7BC4A;
	border-bottom: none;
}

.pkp_footer_content {
	padding: 3.25rem 2.143rem 2.25rem;
	color: #3d3d3d;
	font-size: 0.9rem;
	line-height: 1.65;
}

.ecp-footer {
	box-sizing: border-box;
	max-width: 100%;
}

.ecp-footer *,
.ecp-footer *:before,
.ecp-footer *:after {
	box-sizing: border-box;
}

/* --- Grid das colunas ---------------------------------------------------- */

.ecp-footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	gap: 2.5rem 3.5rem;
	align-items: start;
}

.ecp-footer-col {
	min-width: 0; /* deixa o texto quebrar em vez de esticar o grid */
}

.ecp-footer-title {
	margin: 0 0 1.15rem;
	padding: 0 0 0.4rem;
	border-bottom: 3px solid #F7BC4A;
	display: inline-block;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1f1f1f;
}

.ecp-footer p {
	margin: 0 0 0.85rem;
	max-width: 42ch; /* linha curta o suficiente para leitura confortável */
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.ecp-footer p:last-child {
	margin-bottom: 0;
}

.ecp-footer-meta {
	font-size: 0.85rem;
	color: #5a5a5a;
}

.ecp-footer a {
	color: #1f1f1f;
	text-decoration: none;
	border-bottom: 1px solid rgba(247, 188, 74, 0.65);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.ecp-footer a:hover,
.ecp-footer a:focus {
	color: #96700f;
	border-bottom-color: #F7BC4A;
}

.ecp-footer a:focus-visible {
	outline: 2px solid #F7BC4A;
	outline-offset: 2px;
}

/* --- Lista de links ------------------------------------------------------ */

.ecp-footer-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ecp-footer-links li {
	margin: 0 0 0.55rem;
	padding: 0;
	line-height: 1.45;
}

.ecp-footer-links li:last-child {
	margin-bottom: 0;
}

.ecp-footer-links li:before {
	content: none;
}

/* --- Faixa legal --------------------------------------------------------- */

.ecp-footer-legal {
	margin-top: 2.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e2ddd2;
	font-size: 0.82rem;
	line-height: 1.6;
	color: #5a5a5a;
}

.ecp-footer-license {
	/* NAO usar flex aqui: se o editor remover o <span>, cada trecho de texto
	   entre os links vira um item flex e o texto quebra numa linha começando
	   por vírgula. Com float o texto flui normalmente mesmo sem o span. */
	display: block;
	overflow: hidden;
}

.ecp-footer-license img {
	float: left;
	width: 88px;
	max-height: 31px;
	height: auto;
	margin: 0.1rem 1rem 0.4rem 0;
}

.ecp-footer-license span {
	display: block;
	overflow: hidden;
	max-width: 78ch;
}

.ecp-footer-copy {
	max-width: 78ch;
}

.ecp-footer-copy {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #efece5;
	font-size: 0.8rem;
	color: #6e6e6e;
}

/* As regras de <p> acima valem para as colunas; a faixa legal usa a sua. */
.ecp-footer-legal p {
	max-width: none;
}

.ecp-footer-legal 
.ecp-footer-legal .ecp-footer-copy {
	max-width: 78ch;
}

/* --- Responsivo ---------------------------------------------------------- */

@media (max-width: 1199px) {
	.ecp-footer-grid {
		gap: 2.25rem 2.75rem;
	}
}

@media (max-width: 991px) {
	.pkp_footer_content {
		padding: 2.75rem 1.43rem 2rem;
	}

	.ecp-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 2.5rem;
	}

	.ecp-footer p {
		max-width: none;
	}
}

@media (max-width: 600px) {
	.pkp_footer_content {
		padding: 2.25rem 1.143rem 1.75rem;
	}

	.ecp-footer-grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.ecp-footer-legal {
		margin-top: 2rem;
	}

	.ecp-footer-license {
		gap: 0.85rem;
	}

	.ecp-footer-license span {
		flex-basis: 100%;
	}
}

/* Impressão: rodapé enxuto, sem links longos nem selo */
@media print {
	.ecp-footer-links,
	.ecp-footer-license img {
		display: none;
	}

	.ecp-footer a {
		border-bottom: none;
		color: #000;
	}
}

/* ==========================================================================
   Bloco lateral "Indexada en"
   Cada logo ocupa uma faixa de altura idêntica (64px), com o logo centrado
   nos dois eixos e uma divisória sutil entre elas. Os arquivos já vêm
   recortados e com 42px de altura, então a grade fica exata.
   ========================================================================== */

.ecp-index-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #e8e4dc;
}

.ecp-index-list li,
.ecp-index-list .ecp-index-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	margin: 0;
	padding: 0 0.5rem;
	border-bottom: 1px solid #e8e4dc;
	overflow: hidden;
	line-height: 0;
}

.ecp-index-list li:before {
	content: none; /* alguns temas põem bullet via ::before */
}

.ecp-index-list img {
	display: block;
	/* o tema tem `img{width:auto;height:auto}`, que anula os atributos
	   width/height do HTML e faz a imagem usar o tamanho intrínseco do
	   arquivo (gerado em 3x). max-height é o que trava a altura real. */
	max-height: 42px;
	max-width: 100%;
	width: auto;
	height: auto;
}

.ecp-index-list a {
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 0;
	line-height: 0;
	transition: opacity 0.15s ease;
}

.ecp-index-list a:hover,
.ecp-index-list a:focus {
	opacity: 0.68;
	border-bottom: 0;
}

.ecp-index-list a:focus-visible {
	outline: 2px solid #F7BC4A;
	outline-offset: 2px;
}

/* logo largo (Portal de Revistas Académicas Chilenas, ~8,8:1): o <a> é item flex
   e, sem min-width:0, não encolhe abaixo da largura da imagem e transborda a coluna */
.ecp-index-list a {
	min-width: 0;
	max-width: 100%;
}
