.ediciones-autores-section,
.ediciones-autores-about,
.ediciones-autores-product-about,
.ediciones-autores-account {
	--ea-accent: #0089f7;
	--ea-accent-ink: #006edf;
	--ea-ink: #191919;
	--ea-muted: #6b6f76;
	--ea-line: #e9eaec;
	--ea-soft: #f4f6f8;
	--ea-surface: #fff;
	--ea-radius: 14px;
}

.ediciones-autores-section {
	padding: 40px 0 80px;
}

.ediciones-autores-section .section_wrapper {
	display: block;
	padding: 0 16px;
	box-sizing: border-box;
}

.ediciones-autores-section .section_wrapper > * {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.ediciones-autores-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ediciones-autores-section ul li {
	margin: 0;
	padding: 0;
}

.ediciones-autores-section ul li::before {
	content: none;
}

.ediciones-autores-photo {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center 25%;
	border-radius: inherit;
}

.ediciones-autores-photo--initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e8f3fe, #d3e8fd);
	color: var(--ea-accent-ink);
	font-weight: 600;
	font-size: clamp(22px, 4vw, 44px);
	letter-spacing: .02em;
}

.ediciones-autores-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.ediciones-autores-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--ea-ink);
}

.ediciones-autores-heading__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--ea-soft);
	font-size: 14px;
	font-weight: 600;
	color: var(--ea-muted);
	box-sizing: border-box;
}

.ediciones-autores-breadcrumb {
	display: flex;
	align-items: baseline;
	line-height: 1.4;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	font-size: 14px;
	color: var(--ea-muted);
}

.ediciones-autores-breadcrumb a {
	color: var(--ea-muted);
	text-decoration: none;
}

.ediciones-autores-breadcrumb a:hover {
	color: var(--ea-accent-ink);
}

.ediciones-autores-preview-note {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fff6e5;
	color: #8a5b20;
	font-size: 14px;
}

.ediciones-autores-profile {
	display: grid;
	grid-template-columns: minmax(220px, 340px) 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
	margin-bottom: 72px;
}

.ediciones-autores-profile__photo {
	position: sticky;
	display: flex;
	top: 120px;
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ea-soft);
	box-shadow: 0 24px 48px -28px rgba(16, 24, 40, .45);
}

.ediciones-autores-profile__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 8px;
}

.ediciones-autores-edit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1px solid var(--ea-line);
	border-radius: 999px;
	background: var(--ea-surface);
	color: var(--ea-ink) !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
}

.ediciones-autores-edit:hover,
.ediciones-autores-edit:focus-visible {
	border-color: var(--ea-accent);
	color: var(--ea-accent-ink) !important;
}

.ediciones-autores-profile__role {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ea-accent-ink);
}

.ediciones-autores-profile__name {
	margin: 0 0 12px;
	font-size: clamp(32px, 4.4vw, 52px);
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--ea-ink);
}

.ediciones-autores-profile__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 28px;
	font-size: 15px;
	color: var(--ea-muted);
}

.ediciones-autores-profile__facts > * + *::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 14px 3px -10px;
	border-radius: 50%;
	background: currentColor;
	opacity: .5;
}

.ediciones-autores-profile__facts a {
	color: var(--ea-accent-ink);
	text-decoration: none;
	font-weight: 500;
}

.ediciones-autores-profile__bio {
	max-width: 68ch;
	font-size: 17px;
	line-height: 1.75;
	color: #2b2d31;
}

.ediciones-autores-profile__bio p {
	margin: 0 0 1.1em;
}

.ediciones-autores-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px !important;
}

.ediciones-autores-links__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px 9px 12px;
	border: 1px solid var(--ea-line);
	border-radius: 999px;
	background: var(--ea-surface);
	color: var(--ea-ink) !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	transition: border-color .15s, color .15s, transform .15s;
}

.ediciones-autores-links__item:hover,
.ediciones-autores-links__item:focus-visible {
	border-color: var(--ea-accent);
	color: var(--ea-accent-ink) !important;
	transform: translateY(-1px);
}

.ediciones-autores-links--icons {
	gap: 6px;
	margin-top: 14px !important;
	list-style: none;
	padding: 0;
}

.ediciones-autores-links--icons li {
	margin: 0;
	list-style: none;
}

.ediciones-autores-links--icons .ediciones-autores-links__item {
	width: 38px;
	height: 38px;
	padding: 0;
	justify-content: center;
}

.ediciones-autores-books {
	padding-top: 48px;
	border-top: 1px solid var(--ea-line);
	scroll-margin-top: 120px;
}

.ediciones-autores-books .woocommerce {
	margin: 0;
}

.ediciones-autores-role-badge {
	display: inline-block;
	margin: 4px 0 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ea-soft);
	color: var(--ea-muted);
	font-size: 12px;
	font-weight: 600;
}

.ediciones-autores-empty {
	color: var(--ea-muted);
}

.ediciones-autores-more {
	margin-top: 72px;
	padding-top: 48px;
	border-top: 1px solid var(--ea-line);
}

.ediciones-autores-more__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.ediciones-autores-more__head a {
	font-weight: 500;
	text-decoration: none;
}

.ediciones-autores-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 28px 24px;
}

.ediciones-autores-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 20px;
}

.ediciones-autores-card__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--ea-ink) !important;
	text-decoration: none !important;
}

.ediciones-autores-card__photo {
	display: block;
	aspect-ratio: 1;
	margin-bottom: 10px;
	border-radius: var(--ea-radius);
	overflow: hidden;
	background: var(--ea-soft);
	transition: box-shadow .2s, transform .2s;
}

.ediciones-autores-card__photo .ediciones-autores-photo {
	transition: transform .4s ease;
}

.ediciones-autores-card__link:hover .ediciones-autores-card__photo,
.ediciones-autores-card__link:focus-visible .ediciones-autores-card__photo {
	box-shadow: 0 18px 36px -20px rgba(16, 24, 40, .5);
	transform: translateY(-2px);
}

.ediciones-autores-card__link:hover .ediciones-autores-photo {
	transform: scale(1.04);
}

.ediciones-autores-card__name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.ediciones-autores-card__link:hover .ediciones-autores-card__name {
	color: var(--ea-accent-ink);
}

.ediciones-autores-card__meta {
	font-size: 14px;
	color: var(--ea-muted);
}

.ediciones-autores-index__header {
	display: grid;
	grid-template-columns: 1fr minmax(240px, 360px);
	gap: 16px 40px;
	align-items: end;
	margin-bottom: 28px;
}

.ediciones-autores-index__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 600;
	color: var(--ea-ink);
}

.ediciones-autores-index__lead {
	grid-column: 1;
	margin: 0;
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ea-muted);
}

.ediciones-autores-index__search {
	position: relative;
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: end;
	color: var(--ea-muted);
}

.ediciones-autores-index__search svg {
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	pointer-events: none;
}

.ediciones-autores-index__search input[type="search"] {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 18px 0 46px;
	border: 1px solid var(--ea-line);
	border-radius: 999px;
	background: var(--ea-surface);
	font-size: 16px;
	color: var(--ea-ink);
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.ediciones-autores-index__search input[type="search"]:focus {
	border-color: var(--ea-accent);
	outline: 3px solid rgba(0, 137, 247, .15);
}

.ediciones-autores-index__letters {
	position: sticky;
	top: var(--ediciones-sticky-offset, 0px);
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0 0 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--ea-line);
	background: rgba(252, 252, 252, .94);
	backdrop-filter: blur(6px);
}

.ediciones-autores-index__letters a,
.ediciones-autores-index__letters span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.ediciones-autores-index__letters a {
	color: var(--ea-ink);
}

.ediciones-autores-index__letters a:hover,
.ediciones-autores-index__letters a:focus-visible {
	background: var(--ea-soft);
	color: var(--ea-accent-ink);
}

.ediciones-autores-index__letters span {
	color: #c4c6ca;
}

.ediciones-autores-index__letters a.is-hidden {
	pointer-events: none;
	color: #c4c6ca;
}

.ediciones-autores-index__group {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 24px;
	padding: 36px 0;
	border-bottom: 1px solid var(--ea-line);
	scroll-margin-top: 140px;
}

.ediciones-autores-index__group[hidden] {
	display: none;
}

.ediciones-autores-index__letter {
	margin: 0;
	font-size: 40px;
	line-height: 1;
	font-weight: 600;
	color: var(--ea-accent);
}

.ediciones-autores-index__empty {
	padding: 48px 0;
	text-align: center;
	font-size: 17px;
	color: var(--ea-muted);
}

.ediciones-autores-card[hidden] {
	display: none;
}

.ediciones-autores-about {
	display: grid;
	gap: 28px;
	width: 100%;
	padding: 8px 0;
	text-align: left;
	box-sizing: border-box;
}

.ediciones-autores-about--many {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.ediciones-autores-about__item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 24px;
	align-items: start;
}

.ediciones-autores-about--many .ediciones-autores-about__item {
	grid-template-columns: 64px 1fr;
	gap: 14px;
	align-items: center;
}

.ediciones-autores-about__photo {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--ea-radius);
	overflow: hidden;
	background: var(--ea-soft);
}

.ediciones-autores-about--many .ediciones-autores-about__photo {
	border-radius: 50%;
}

.ediciones-autores-about--many .ediciones-autores-photo--initials {
	font-size: 18px;
}

.ediciones-autores-about__role {
	margin: 0 0 4px !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ea-accent-ink);
}

.ediciones-autores-about__name {
	margin: 0 0 8px !important;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
}

.ediciones-autores-about--many .ediciones-autores-about__name {
	margin: 0 0 2px !important;
	font-size: 16px;
}

.ediciones-autores-about__name a {
	color: var(--ea-ink);
	text-decoration: none;
}

.ediciones-autores-about__name a:hover {
	color: var(--ea-accent-ink);
}

.ediciones-autores-about__summary {
	max-width: 70ch;
	margin: 0 !important;
	line-height: 1.7;
}

.ediciones-autores-about__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-weight: 600;
	text-decoration: none;
}

.ediciones-autores-about--many .ediciones-autores-about__more {
	margin-top: 0;
	font-size: 13px;
	font-weight: 500;
}

.ediciones-autores-about__more span {
	transition: transform .15s;
}

.ediciones-autores-about__more:hover span {
	transform: translateX(3px);
}

.ediciones-autores-account__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.ediciones-autores-account__photo {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--ea-soft);
}

.ediciones-autores-account__photo .ediciones-autores-photo--initials {
	font-size: 20px;
}

.ediciones-autores-account__name {
	margin: 0 !important;
	font-size: 20px;
	font-weight: 600;
	color: var(--ea-ink);
}

.ediciones-autores-account__hint,
.ediciones-autores-account__help {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--ea-muted);
}

.ediciones-autores-account__intro {
	color: var(--ea-muted);
}

.ediciones-autores-account__pending {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-radius: 12px;
	background: #fff6e5;
	color: #8a5b20;
}

.ediciones-autores-account__pending p,
.ediciones-autores-account__pending form {
	margin: 0 !important;
}

.ediciones-autores-account__form textarea {
	width: 100%;
	box-sizing: border-box;
	line-height: 1.6;
}

@media (max-width: 900px) {
	.ediciones-autores-index__header {
		grid-template-columns: 1fr;
	}

	.ediciones-autores-index__search {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (max-width: 767px) {
	.ediciones-autores-section {
		padding: 24px 0 56px;
	}

	.ediciones-autores-profile {
		grid-template-columns: 1fr;
		margin-bottom: 48px;
	}

	.ediciones-autores-profile__photo {
		position: static;
		width: min(260px, 70%);
	}

	.ediciones-autores-profile__bio {
		font-size: 16px;
	}

	.ediciones-autores-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 14px;
	}

	.ediciones-autores-grid--compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ediciones-autores-index__group {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 28px 0;
	}

	.ediciones-autores-index__letter {
		font-size: 28px;
	}

	.ediciones-autores-index__letters {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ediciones-autores-about__item {
		grid-template-columns: 88px 1fr;
		gap: 16px;
	}
}

.woocommerce .woocommerce-MyAccount-navigation-link--ficha-de-autor a:before {
	content: "\e87c";
}

#tab-ediciones_autores > .section_wrapper,
.section_wrapper:has(> .ediciones-autores-about) {
	width: 100%;
	max-width: none;
}

.ediciones-autores-product-about {
	clear: both;
	width: 100%;
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--ea-line);
	text-align: left;
	box-sizing: border-box;
}

.mfn-woocommerce-tabs:has(> .ediciones-autores-product-about),
.woocommerce-tabs:has(> .ediciones-autores-product-about) {
	display: flex;
	flex-direction: column;
}

.mfn-woocommerce-tabs > .ediciones-autores-product-about,
.woocommerce-tabs > .ediciones-autores-product-about {
	order: -1;
	margin: 0 0 40px;
	padding: 0 0 40px;
	border-top: 0;
	border-bottom: 1px solid var(--ea-line);
}

@media (min-width: 960px) {
	.mfn-woocommerce-tabs:has(> .ediciones-autores-product-about),
	.woocommerce-tabs:has(> .ediciones-autores-product-about) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		column-gap: 56px;
		align-items: start;
	}

	.mfn-woocommerce-tabs:has(> .ediciones-autores-product-about) > *,
	.woocommerce-tabs:has(> .ediciones-autores-product-about) > * {
		grid-column: 1;
		min-width: 0;
	}

	.mfn-woocommerce-tabs > .ediciones-autores-product-about,
	.woocommerce-tabs > .ediciones-autores-product-about {
		order: 0;
		grid-column: 2;
		grid-row: 1 / span 50;
		position: sticky;
		top: calc(var(--ediciones-sticky-offset, 0px) + 24px);
		max-height: calc(100vh - var(--ediciones-sticky-offset, 0px) - 48px);
		overflow-y: auto;
		margin: 0;
		padding: 28px;
		border: 1px solid var(--ea-line);
		border-radius: var(--ea-radius);
		background: var(--ea-surface);
		scrollbar-width: thin;
	}

	.ediciones-autores-product-about 	.ediciones-autores-product-about .ediciones-autores-about {
		padding: 0;
		gap: 24px;
	}

	.ediciones-autores-product-about .ediciones-autores-about__item {
		display: block;
	}

	.ediciones-autores-product-about .ediciones-autores-about__photo {
		float: left;
		width: 72px;
		height: 72px;
		margin: 0 16px 12px 0;
		border-radius: 50%;
	}

	.ediciones-autores-product-about .ediciones-autores-about__role {
		margin-top: 12px;
	}

	.ediciones-autores-product-about .ediciones-autores-about__summary {
		clear: both;
		padding-top: 4px;
		font-size: 15px;
	}

	.ediciones-autores-product-about .ediciones-autores-about--many {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ediciones-autores-product-about .ediciones-autores-about--many .ediciones-autores-about__item {
		display: grid;
		grid-template-columns: 48px 1fr;
		gap: 14px;
		align-items: center;
	}

	.ediciones-autores-product-about .ediciones-autores-about--many .ediciones-autores-about__photo {
		float: none;
		width: 48px;
		height: 48px;
		margin: 0;
	}

	.ediciones-autores-product-about .ediciones-autores-about--many .ediciones-autores-about__role {
		margin-top: 0;
	}
}

@media (min-width: 960px) and (max-width: 1239px) {
	.mfn-woocommerce-tabs:has(> .ediciones-autores-product-about),
	.woocommerce-tabs:has(> .ediciones-autores-product-about) {
		grid-template-columns: minmax(0, 1fr) 340px;
		column-gap: 40px;
	}
}
