/* VAD Immersion 1.1.4.0 — estilos propios del tema hijo */

/* Compartir: botones de contorno, sin relleno */
.shariff {
	margin: 2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #d8d8d8;
}
.shariff .vad-share-label {
	display: block;
	margin: 0 0 .6rem;
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #595959;
}
.shariff ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: .375rem;
	margin: 0;
	padding: 0;
}
.shariff ul li.shariff-button {
	flex: none !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	border: 0;
	background: none !important;
}
.shariff ul li.shariff-button a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 2.25rem !important;
	height: 2.25rem !important;
	border: 1px solid #1e1e1e;
	border-radius: 0;
	background: transparent !important;
	color: #1e1e1e !important;
	transition: background-color .15s, color .15s;
}
.shariff ul li.shariff-button a::before,
.shariff ul li.shariff-button a::after {
	display: none !important;
	content: none !important;
}
.shariff ul li.shariff-button a:hover,
.shariff ul li.shariff-button a:focus-visible {
	background: #1e1e1e !important;
	color: #fff !important;
}
.shariff ul li.shariff-button a .fab,
.shariff ul li.shariff-button a .fa {
	width: auto !important;
	font-size: .95rem !important;
	line-height: 1 !important;
	color: inherit !important;
}
.shariff .share_text,
.shariff .share_count {
	display: none !important;
}
@media (max-width: 400px) {
	.shariff ul li.shariff-button a {
		width: 2rem !important;
		height: 2rem !important;
	}
}

/* Equipo editorial e historial */
.vad-masthead .content-body h2 {
	margin: 2.5rem 0 1rem;
	padding-top: .75rem;
	border-top: 1px solid #d8d8d8;
	font-size: 1.25rem;
}
.vad-masthead .content-body h2:first-child {
	margin-top: 0;
}
.vad-masthead .content-body h3 {
	margin: 1.75rem 0 .5rem;
	font-size: 1rem;
	letter-spacing: .08em;
}
.vad-masthead .content-body ul {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}
.vad-masthead .content-body ul li {
	margin: 0 0 .85rem;
	line-height: 1.4;
}
.vad-masthead .content-body ul li strong {
	font-weight: 600;
}
.vad-masthead .content-body ul li .name {
	display: block;
	font-weight: 600;
}
.vad-masthead .content-body ul li .affiliation {
	display: block;
	color: #595959;
	font-size: .9375rem;
}
.vad-masthead .content-body ul + p {
	color: #595959;
	font-size: .9375rem;
}
.vad-masthead__more {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid #d8d8d8;
}
.vad-history__issues li {
	display: grid;
	gap: .1rem;
}
.vad-history__issue {
	font-weight: 600;
}
.vad-history__names {
	color: #595959;
}

/* Etiqueta «Datos de la publicación» (módulo PFL): separada del botón de citas */
.pflPlugin {
	margin-top: 1.25rem;
}

/* En la columna lateral del artículo, las siete redes caben en una línea */
.article-sidebar .shariff ul {
	gap: .3rem;
}
.article-sidebar .shariff ul li.shariff-button a {
	width: 2rem !important;
	height: 2rem !important;
}

.vad-history__optout {
	color: #595959;
	font-size: .9375rem;
}

/* Accesibilidad (WCAG 2.2 AA) */
/* Contador de visitas y descargas: hereda el color del texto que lo rodea (contraste suficiente sobre fondo claro u oscuro) */
.viewcounter-stats,
.viewcounter-stats span {
	color: inherit !important;
}
/* Iconos de redes del pie: zona de clic de al menos 24 × 24 px */
.main-footer a[target="_blank"] {
	display: inline-block;
	min-width: 24px;
	min-height: 24px;
	line-height: 24px;
	text-align: center;
}
.main-footer a[target="_blank"] > img {
	vertical-align: middle;
}
/* Icono ORCID junto al nombre del autor: visible y con zona de clic de 24 × 24 px */
.authors-string .orcidImage {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	vertical-align: middle;
}
.authors-string .orcidImage svg.orcid_icon {
	width: 16px;
	height: 16px;
}

/* Pie: el logo de OJS/PKP se alinea con la base de la última línea (licencia, redes e ISSN) */
.main-footer .vad-footer {
	align-items: flex-end;
}
.main-footer .vad-footer__text > :last-child {
	margin-bottom: 0;
}
.main-footer .vad-footer__brand {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}
.main-footer .vad-footer__brand a {
	display: block;
	line-height: 0;
}
.main-footer .vad-footer__brand img {
	width: 71px;
	max-width: 100%;
}
@media (max-width: 767.98px) {
	.main-footer .vad-footer__brand {
		justify-content: flex-start;
		margin-top: 1rem;
	}
}

/* ROR: el logo (letras oscuras) necesita fondo claro para verse sobre la cabecera negra */
a.rorImage {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	padding: 2px 3px;
	margin-left: .25rem;
	background: #fff;
	border-radius: 3px;
	vertical-align: middle;
	line-height: 0;
}
a.rorImage svg {
	width: 22px;
	height: auto;
}

/* Columna lateral del artículo: bloques con la misma jerarquía y separación */
.article-sidebar .copyright-info {
	margin-top: 0;
}
.article-sidebar .copyright-info p {
	margin-bottom: .75rem;
}
.article-sidebar .copyright-info__holder {
	font-weight: 400;
}
.article-sidebar .copyright-info a[rel="license"] img {
	display: block;
	margin: 1rem 0;
}
/* Los enlaces largos (licencia, URL de la cita) fluyen con el texto: así el punto final no queda solo, en otra línea */
.article-sidebar .copyright-info p a,
.article-sidebar .csl-entry a {
	display: inline;
	word-break: break-word;
}
/* El tema dibuja el subrayado como una línea en bloque (::after) que empuja el punto final a otra línea:
   en estos enlaces se sustituye por un subrayado de texto normal */
.article-sidebar .copyright-info p a::after,
.article-sidebar .csl-entry a::after {
	display: none !important;
}
.article-sidebar .copyright-info p a,
.article-sidebar .csl-entry a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

/* ORCID en el detalle del autor: icono del tamaño del texto (el SVG del tema no tiene tamaño y se dibujaba a todo el ancho) */
.article-details__author-orcid a {
	min-height: 24px;
	line-height: 24px;
	white-space: nowrap;
}
.article-details__author-orcid svg.orcid_icon {
	width: 16px;
	height: 16px;
	margin: 0 .35rem 0 0;
	vertical-align: -3px;
}
/* Columna lateral: la misma separación entre todos los bloques (la da el margen superior de cada título) */
.article-sidebar > figure,
.article-sidebar > ul,
.article-sidebar > .copyright-info {
	margin-bottom: 0;
}
/* Pie: la línea de iconos e ISSN mide 24 px y los iconos 18 px; el logo sube 3 px para que su base coincida con la de los iconos */
@media (min-width: 768px) {
	.main-footer .vad-footer__brand {
		padding-bottom: 3px;
	}
}
/* Enlace «Biografía» del autor: zona de clic de 24 px de alto */
.article-details__author .modal-trigger {
	min-height: 24px;
	line-height: 24px;
}

/* Columna lateral: títulos de bloque algo mayores que el texto (17 px frente a 13,5 px)
   y la mitad de espacio entre cada título y su contenido */
.article-sidebar > h2:not(.visually-hidden) {
	font-size: 1.0625rem;
	line-height: 1.25;
	margin-bottom: 12px;
}
/* Derechos de autor/a: una fila por autor/a */
.article-sidebar .copyright-info__holders {
	list-style: none;
	padding: 0;
	margin: 0 0 .75rem;
}
.article-sidebar .copyright-info__holders li {
	margin: 0;
	padding: 0;
}
.article-sidebar .copyright-info__holders li::before {
	content: none;
}
