/* ==========================================================================
   Revista Eletronica Multidisciplinar UNIFACEAR (REM)
   Rodape institucional -- padrao OJSBR
   Carregado como "Folha de estilo do periodico" (STYLE_SEQUENCE_LATE),
   portanto depois do tema ojsbr: por isso os seletores levam o prefixo
   "body" e !important, para vencer a especificidade do tema.
   ========================================================================== */

/* A faixa precisa ir de ponta a ponta: o tema aplica padding no container. */
body .pkp_structure_footer_wrapper {
	background: none !important;
	padding: 0 !important;
}

body .pkp_structure_footer {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body .pkp_footer_content {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	font-size: 1rem !important;
	line-height: 1.6 !important;
}

/* A marca do OJS que o tema ja trata fica logo abaixo do nosso rodape. */
body .pkp_structure_footer .pkp_brand_footer {
	background: #0b2c13 !important;
	margin: 0 !important;
	padding: 1rem 0 1.25rem !important;
	text-align: center !important;
}

/* --------------------------------------------------------------------------
   Bloco principal
   -------------------------------------------------------------------------- */

body .rem-footer {
	background: linear-gradient(180deg, #14401f 0%, #0f3318 100%) !important;
	border-top: 4px solid #2e7d32 !important;
	color: #e8f1e9 !important;
	font-size: 0.9375rem !important;
	line-height: 1.65 !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
	text-align: left !important;
}

body .rem-footer a {
	color: #cfe4d2 !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent !important;
	transition: color .15s ease, border-color .15s ease !important;
}

body .rem-footer a:hover,
body .rem-footer a:focus {
	color: #ffffff !important;
	border-bottom-color: #7bc47f !important;
}

body .rem-footer a:focus-visible {
	outline: 2px solid #7bc47f !important;
	outline-offset: 2px !important;
}

/* --------------------------------------------------------------------------
   Grade das colunas
   -------------------------------------------------------------------------- */

body .rem-footer__grid {
	display: grid !important;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr !important;
	gap: 2.5rem !important;
	max-width: 75rem !important;
	margin: 0 auto !important;
	padding: 3rem 1.5rem 2.25rem !important;
}

body .rem-footer__col {
	min-width: 0 !important;
}

body .rem-footer__col h3 {
	display: block !important;
	width: -moz-fit-content !important;
	width: fit-content !important;
	margin: 0 0 1rem !important;
	padding: 0 0 .45rem !important;
	border-bottom: 2px solid #2e7d32 !important;
	color: #ffffff !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	line-height: 1.3 !important;
}

body .rem-footer__col ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body .rem-footer__col li {
	margin: 0 0 .5rem !important;
	padding: 0 !important;
	list-style: none !important;
}

body .rem-footer__col p {
	margin: 0 0 .75rem !important;
	color: #cfe4d2 !important;
}

/* Coluna da marca ------------------------------------------------------- */

body .rem-footer__title {
	margin: 0 0 .75rem !important;
	color: #ffffff !important;
	font-size: 1.0625rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

body .rem-footer__tagline {
	margin: 0 0 1rem !important;
	color: #b9d4bd !important;
	font-size: 0.875rem !important;
}

body .rem-footer__issn {
	display: inline-block !important;
	margin: 0 !important;
	padding: .3rem .6rem !important;
	border: 1px solid #2e7d32 !important;
	border-radius: 3px !important;
	color: #e8f1e9 !important;
	font-size: 0.8125rem !important;
	letter-spacing: .03em !important;
}

/* Coluna de contato ----------------------------------------------------- */

body .rem-footer__contact {
	margin: 0 !important;
	font-style: normal !important;
	color: #cfe4d2 !important;
	font-size: 0.875rem !important;
}

body .rem-footer__contact strong {
	display: block !important;
	margin-bottom: .35rem !important;
	color: #ffffff !important;
	font-weight: 600 !important;
}

body .rem-footer__contact span {
	display: block !important;
	margin-bottom: .6rem !important;
}

/* --------------------------------------------------------------------------
   Barra legal
   -------------------------------------------------------------------------- */

body .rem-footer__legal {
	border-top: 1px solid rgba(232, 241, 233, .18) !important;
}

body .rem-footer__legal-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: .5rem 1.5rem !important;
	max-width: 75rem !important;
	margin: 0 auto !important;
	padding: 1.1rem 1.5rem !important;
	color: #b9d4bd !important;
	font-size: 0.8125rem !important;
}

body .rem-footer__legal-inner p {
	margin: 0 !important;
}

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

@media (max-width: 1024px) {
	body .rem-footer__grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 2rem !important;
		padding: 2.5rem 1.5rem 2rem !important;
	}
}

@media (max-width: 600px) {
	body .rem-footer__grid {
		grid-template-columns: 1fr !important;
		gap: 1.75rem !important;
		padding: 2rem 1.25rem 1.5rem !important;
	}

	body .rem-footer__legal-inner {
		justify-content: flex-start !important;
		padding: 1rem 1.25rem !important;
	}
}

/* --------------------------------------------------------------------------
   Impressao
   -------------------------------------------------------------------------- */

@media print {
	body .rem-footer,
	body .pkp_structure_footer .pkp_brand_footer,
	body .ojsbr_credits {
		display: none !important;
	}
}
