/**
 * Perfil público de autor (/author/slug/).
 * El template usa markup móvil; en desktop no carga mobile/css/main.css.
 */

body.zp-author-page {
	background: #f1f5f9;
}

body.zp-author-page #top-bar.profile {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 0;
	padding: 12px 0 0;
}

body.zp-author-page #top-bar.profile .container {
	max-width: 1140px;
}

body.zp-author-page #top-bar.profile .title-page {
	margin: 0;
	padding: 14px 0;
	font-size: 1.125rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.3;
}

body.zp-author-page #info-wrapper {
	padding-top: 0;
}

body.zp-author-page #info-wrapper .container,
body.zp-author-page #tabs-user-review-wrapper .container {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

body.zp-author-page .info-user-wrapper {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr);
	grid-template-areas:
		"avatar info"
		"share share";
	gap: 16px 18px;
	align-items: start;
	padding: 18px 16px 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

body.zp-author-page .info-user-wrapper::after {
	content: "";
	display: block;
	clear: both;
}

body.zp-author-page .avatar-user {
	grid-area: avatar;
	float: none;
	width: 70px;
	margin: 0;
}

body.zp-author-page .avatar-user img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

body.zp-author-page .info-user {
	grid-area: info;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: visible;
	min-width: 0;
}

body.zp-author-page .info-user li {
	color: #64748b;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0 0 8px;
}

body.zp-author-page .info-user li:last-child {
	margin-bottom: 0;
}

body.zp-author-page .info-user li i {
	display: inline-block;
	min-width: 16px;
	margin-right: 8px;
	color: #1d4ed8;
}

body.zp-author-page .name-user {
	margin: 0 0 10px;
	padding: 0;
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
	text-transform: none;
	line-height: 1.25;
}

body.zp-author-page .info-user .whatsapp-icon-area {
	display: flex;
	align-items: center;
	margin-top: 10px;
}

body.zp-author-page .info-user .whatsapp-icon-area .openWhatsapp {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

body.zp-author-page .info-user .whatsapp-icon-area .openWhatsapp img {
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	flex-shrink: 0;
}

body.zp-author-page .zp-wa-viral-provider {
	grid-area: share;
	max-width: none;
	width: 100%;
	margin: 0;
}

body.zp-author-page #tabs-user-review-wrapper {
	margin-top: 18px;
	padding-bottom: 28px;
}

body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 8px;
	margin: 0 0 0;
	padding: 12px 12px 0;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-bottom: none;
	border-radius: 16px 16px 0 0;
	box-shadow: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info > li {
	float: none;
	width: auto;
	flex: 1 1 0;
	min-width: 120px;
	margin: 0;
	padding: 0;
	border: none;
}

body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid transparent !important;
	border-radius: 999px;
	background: #f8fafc;
	color: #64748b !important;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: none;
	white-space: nowrap;
}

body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info > li.active > a,
body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info > li.active > a:hover,
body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info > li.active > a:focus {
	background: #1d4ed8 !important;
	color: #fff !important;
	border-color: transparent !important;
}

body.zp-author-page #tabs-user-review-wrapper .tab-content {
	margin: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-top: none;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

body.zp-author-page #tabs-user-review-wrapper .tab-content > .tab-pane {
	display: none;
}

body.zp-author-page #tabs-user-review-wrapper .tab-content > .tab-pane.active,
body.zp-author-page #tabs-user-review-wrapper .tab-content > .tab-pane.in {
	display: block;
}

body.zp-author-page .list-places {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.zp-author-page .list-places > li.post-item {
	position: relative;
	margin: 0 0 16px;
}

body.zp-author-page .list-places > li.post-item:last-child {
	margin-bottom: 0;
}

body.zp-author-page .list-places .place-wrapper {
	display: block;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

body.zp-author-page .list-places .place-wrapper::after {
	content: "";
	display: table;
	clear: both;
}

body.zp-author-page .list-places .place-wrapper .img-place {
	display: block;
	float: left;
	width: 96px;
	height: 96px;
	overflow: hidden;
	position: relative;
}

body.zp-author-page .list-places .place-wrapper .img-place img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.zp-author-page .list-places .place-wrapper .place-detail-wrapper {
	overflow: hidden;
	min-height: 96px;
	padding: 10px 14px;
	background: #fff;
}

body.zp-author-page .list-places .place-wrapper .title-place {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

body.zp-author-page .list-places .place-wrapper .title-place a {
	color: #0f172a;
}

body.zp-author-page .list-places .place-wrapper .address-place {
	display: block;
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.45;
	white-space: normal;
}

body.zp-author-page .event-active-wrapper .event-wrapper,
body.zp-author-page .event-active-wrapper .tab-style-event {
	padding: 24px 16px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
}

body.zp-author-page .event-active-wrapper .title-envent {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #64748b;
}

@media (min-width: 768px) {
	body.zp-author-page .info-user-wrapper {
		grid-template-columns: 88px minmax(0, 1fr);
		padding: 22px 24px 24px;
	}

	body.zp-author-page .avatar-user,
	body.zp-author-page .avatar-user img {
		width: 88px;
		height: 88px;
	}

	body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info {
		padding: 14px 16px 0;
	}

	body.zp-author-page #tabs-user-review-wrapper .tab-content {
		padding: 20px 22px 24px;
	}
}

@media (min-width: 1024px) {
	body.zp-author-page #info-wrapper .container,
	body.zp-author-page #tabs-user-review-wrapper .container {
		max-width: 960px;
		padding-left: 24px;
		padding-right: 24px;
	}

	body.zp-author-page #tabs-user-review-wrapper .nav-tabs.list-user-info > li {
		flex: 0 0 auto;
		min-width: 160px;
	}

	body.zp-author-page #place-list.list-places {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	body.zp-author-page #place-list.list-places > li.post-item {
		margin: 0;
	}

	body.zp-author-page #place-list.list-places .place-wrapper {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	body.zp-author-page #place-list.list-places .place-wrapper .img-place {
		float: none;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	body.zp-author-page #place-list.list-places .place-wrapper .img-place img {
		width: 100%;
		height: 100%;
	}

	body.zp-author-page #place-list.list-places .place-wrapper .place-detail-wrapper {
		flex: 1 1 auto;
		min-height: 0;
		padding: 14px 16px 16px;
	}
}

@media (min-width: 1200px) {
	body.zp-author-page #place-list.list-places {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
