/* ViralRD - Diseño de entradas individuales */

body.vrd-single-active {
	margin: 0 !important;
	background: #f5f7fb !important;
	color: #111827;
	font-family: Arial, Helvetica, sans-serif;
}

body.vrd-single-active * {
	box-sizing: border-box;
}

.vrd-single-template {
	--vrd-blue: #07337f;
	--vrd-blue-dark: #061f52;
	--vrd-red: #d90d1e;
	--vrd-line: #e5e7eb;
	--vrd-muted: #6b7280;
	width: 100%;
	overflow: hidden;
	background: #f5f7fb;
}

.vrd-single-wrap {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
}

.vrd-single-topbar {
	background: var(--vrd-blue-dark);
	color: #fff;
	font-size: 13px;
}

.vrd-single-topbar-inner {
	min-height: 35px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.vrd-single-social {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.vrd-single-social a,
.vrd-single-footer a {
	color: inherit;
	text-decoration: none;
}

.vrd-single-header {
	background: #fff;
	border-bottom: 1px solid var(--vrd-line);
}

.vrd-single-header-inner {
	min-height: 118px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 14px 0;
}

.vrd-single-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--vrd-blue);
	text-decoration: none;
	flex-shrink: 0;
}

.vrd-single-brand img {
	width: 78px !important;
	height: 78px !important;
	object-fit: contain !important;
	border-radius: 50%;
	margin: 0 !important;
}

.vrd-single-brand strong {
	display: block;
	font-size: 32px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -1px;
}

.vrd-single-brand strong span,
.vrd-single-footer-brand strong span {
	color: var(--vrd-red);
}

.vrd-single-brand small {
	display: block;
	margin-top: 5px;
	color: #4b5563;
	font-size: 13px;
}

.vrd-single-top-ad {
	width: 100%;
	max-width: 728px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f4f6;
	border: 1px solid var(--vrd-line);
	overflow: hidden;
}

.vrd-single-top-ad img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	margin: 0 !important;
}

.vrd-single-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--vrd-blue);
	color: #fff;
	box-shadow: 0 5px 18px rgba(15, 23, 42, .13);
}

.admin-bar .vrd-single-nav {
	top: 32px;
}

.vrd-single-nav-inner {
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.vrd-single-menu {
	display: flex;
	align-items: center;
	gap: 21px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.vrd-single-menu::-webkit-scrollbar {
	display: none;
}

.vrd-single-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 21px 0 18px;
	border-bottom: 3px solid transparent;
}

.vrd-single-menu a:hover {
	border-bottom-color: var(--vrd-red);
}

.vrd-single-search {
	display: flex;
	min-width: 225px;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}

.vrd-single-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	padding: 11px 12px;
}

.vrd-single-search button {
	border: 0;
	background: var(--vrd-red);
	color: #fff;
	font-weight: 800;
	padding: 0 14px;
	cursor: pointer;
}

.vrd-single-main {
	padding: 32px 0 58px;
}

.vrd-single-breadcrumb {
	margin-bottom: 20px;
	color: var(--vrd-muted);
	font-size: 13px;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vrd-single-breadcrumb a {
	color: var(--vrd-blue);
	text-decoration: none;
}

.vrd-single-breadcrumb span {
	margin: 0 6px;
}

.vrd-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}

.vrd-single-article {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 36px !important;
	background: #fff;
	border: 1px solid var(--vrd-line);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}

.vrd-single-category {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 10px;
	background: var(--vrd-red);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.vrd-single-title {
	margin: 0 0 16px !important;
	color: #111827;
	font-size: clamp(34px, 4.3vw, 54px) !important;
	line-height: 1.08 !important;
	font-weight: 900 !important;
	letter-spacing: -1.3px;
}

.vrd-single-meta {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-bottom: 25px;
	color: var(--vrd-muted);
	font-size: 13px;
}

.vrd-single-meta a {
	color: var(--vrd-blue);
	text-decoration: none;
	font-weight: 700;
}

.vrd-single-featured {
	width: 100% !important;
	margin: 0 0 30px !important;
}

.vrd-single-featured img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: 560px;
	object-fit: cover !important;
	margin: 0 !important;
	border-radius: 9px;
}

.vrd-single-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	color: #1f2937;
	font-size: 18px !important;
	line-height: 1.78 !important;
}

.vrd-single-content > * {
	max-width: 100%;
}

.vrd-single-content p {
	display: block !important;
	width: 100% !important;
	clear: both !important;
	margin: 0 0 24px !important;
}

.vrd-single-content h2,
.vrd-single-content h3,
.vrd-single-content h4 {
	margin: 34px 0 14px !important;
	line-height: 1.2;
}

.vrd-single-content img {
	max-width: 100% !important;
	height: auto !important;
}

.vrd-single-content .alignleft,
.vrd-single-content .alignright,
.vrd-single-content .aligncenter,
.vrd-single-content figure,
.vrd-single-content .wp-block-image {
	float: none !important;
	display: block !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 28px auto !important;
}

.vrd-single-content figure img,
.vrd-single-content .wp-block-image img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto !important;
	border-radius: 8px;
}

.vrd-single-content blockquote {
	margin: 28px 0;
	padding: 18px 22px;
	background: #f3f6fb;
	border-left: 5px solid var(--vrd-blue);
	font-size: 20px;
}

.vrd-single-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
	margin: 32px 0;
	padding-top: 22px;
	border-top: 1px solid var(--vrd-line);
}

.vrd-single-tags a {
	padding: 6px 9px;
	background: #eef2f7;
	color: var(--vrd-blue);
	text-decoration: none;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
}

.vrd-single-author {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 18px;
	align-items: center;
	margin-top: 36px;
	padding: 22px;
	background: #f3f6fb;
	border-left: 5px solid var(--vrd-blue);
	border-radius: 8px;
}

.vrd-single-author-avatar img {
	width: 96px !important;
	height: 96px !important;
	margin: 0 !important;
	border-radius: 50%;
	object-fit: cover;
}

.vrd-single-author span {
	color: var(--vrd-red);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.vrd-single-author h2 {
	margin: 4px 0 7px !important;
	font-size: 23px !important;
}

.vrd-single-author p {
	margin: 0 0 8px !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
}

.vrd-single-author a {
	color: var(--vrd-blue);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.vrd-single-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 30px;
	padding: 22px 0;
	border-top: 1px solid var(--vrd-line);
	border-bottom: 1px solid var(--vrd-line);
}

.vrd-single-post-nav div:last-child {
	text-align: right;
}

.vrd-single-post-nav a {
	color: var(--vrd-blue);
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
}

.vrd-single-related {
	margin-top: 38px;
}

.vrd-single-related > h2 {
	margin: 0 0 16px !important;
	font-size: 23px !important;
}

.vrd-single-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}

.vrd-single-related-card {
	display: block;
	color: #111827;
	text-decoration: none;
	border: 1px solid var(--vrd-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.vrd-single-related-card img {
	display: block !important;
	width: 100% !important;
	height: 125px !important;
	object-fit: cover !important;
	margin: 0 !important;
}

.vrd-single-related-card strong {
	display: block;
	padding: 12px 12px 5px;
	font-size: 14px;
	line-height: 1.3;
}

.vrd-single-related-card small {
	display: block;
	padding: 0 12px 12px;
	color: var(--vrd-muted);
}

.vrd-single-sidebar {
	position: sticky;
	top: 84px;
}

.admin-bar .vrd-single-sidebar {
	top: 116px;
}

.vrd-single-widget {
	margin-bottom: 22px;
	padding: 17px;
	background: #fff;
	border: 1px solid var(--vrd-line);
	border-radius: 10px;
	box-shadow: 0 7px 20px rgba(15, 23, 42, .06);
}

.vrd-single-widget > h2 {
	margin: 0 0 13px !important;
	padding-left: 9px;
	border-left: 4px solid var(--vrd-red);
	font-size: 17px !important;
	text-transform: uppercase;
}

.vrd-single-latest {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 10px;
	align-items: start;
	padding: 12px 0;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--vrd-line);
}

.vrd-single-latest:last-child {
	border-bottom: 0;
}

.vrd-single-latest > span {
	width: 27px;
	height: 27px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--vrd-blue);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 900;
}

.vrd-single-latest strong {
	display: block;
	font-size: 13px;
	line-height: 1.3;
}

.vrd-single-latest small {
	display: block;
	margin-top: 5px;
	color: var(--vrd-muted);
	font-size: 11px;
}

.vrd-single-ad img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	border-radius: 7px;
}

.vrd-single-follow {
	display: grid;
	gap: 8px;
}

.vrd-single-follow a {
	display: flex;
	justify-content: space-between;
	padding: 10px 12px;
	background: #f3f6fb;
	color: var(--vrd-blue);
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 800;
}

.vrd-single-footer {
	background: var(--vrd-blue-dark);
	color: #fff;
	padding-top: 38px;
}

.vrd-single-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr .8fr 1fr;
	gap: 35px;
	padding-bottom: 32px;
}

.vrd-single-footer h2 {
	margin: 0 0 12px !important;
	color: #fff;
	font-size: 15px !important;
	text-transform: uppercase;
}

.vrd-single-footer p,
.vrd-single-footer a {
	display: block;
	margin: 0 0 7px;
	color: #dbeafe;
	font-size: 14px;
	line-height: 1.6;
}

.vrd-single-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.vrd-single-footer-brand img {
	width: 58px !important;
	height: 58px !important;
	object-fit: contain !important;
	margin: 0 !important;
	background: #fff;
	border-radius: 50%;
}

.vrd-single-footer-brand strong {
	font-size: 25px;
}

.vrd-single-footer-bottom {
	padding: 13px 18px;
	background: var(--vrd-red);
	color: #fff;
	text-align: center;
	font-size: 13px;
}

.vrd-single-template .comments-area {
	width: 100% !important;
	max-width: none !important;
	margin-top: 38px !important;
}

@media (max-width: 980px) {
	.vrd-single-header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.vrd-single-top-ad {
		max-width: 100%;
	}

	.vrd-single-grid {
		grid-template-columns: 1fr;
	}

	.vrd-single-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.vrd-single-widget {
		margin: 0;
	}

	.vrd-single-search {
		display: none;
	}
}

@media (max-width: 680px) {
	.admin-bar .vrd-single-nav {
		top: 46px;
	}

	.vrd-single-wrap {
		width: min(100% - 28px, 1180px);
	}

	.vrd-single-topbar-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		padding: 9px 0;
	}

	.vrd-single-header-inner {
		min-height: auto;
		padding: 16px 0;
	}

	.vrd-single-brand img {
		width: 58px !important;
		height: 58px !important;
	}

	.vrd-single-brand strong {
		font-size: 27px;
	}

	.vrd-single-top-ad {
		height: 72px;
	}

	.vrd-single-nav-inner {
		min-height: 52px;
	}

	.vrd-single-menu {
		gap: 19px;
	}

	.vrd-single-menu a {
		padding: 18px 0 15px;
		font-size: 12px;
	}

	.vrd-single-main {
		padding: 22px 0 42px;
	}

	.vrd-single-article {
		padding: 22px 18px !important;
		border-radius: 9px;
	}

	.vrd-single-title {
		font-size: 33px !important;
		line-height: 1.12 !important;
		letter-spacing: -.6px;
	}

	.vrd-single-content {
		font-size: 17px !important;
		line-height: 1.68 !important;
	}

	.vrd-single-author {
		grid-template-columns: 68px 1fr;
		padding: 17px;
	}

	.vrd-single-author-avatar img {
		width: 68px !important;
		height: 68px !important;
	}

	.vrd-single-post-nav,
	.vrd-single-related-grid,
	.vrd-single-sidebar,
	.vrd-single-footer-grid {
		grid-template-columns: 1fr;
	}

	.vrd-single-post-nav div:last-child {
		text-align: left;
	}
}


/* ViralRD — Archivo de autor */
.vrd-author-main{padding:32px 0 58px;background:#f5f7fb}
.vrd-author-hero{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;align-items:center;margin-bottom:30px;padding:32px;background:#fff;border:1px solid var(--vrd-line);border-radius:12px;box-shadow:0 8px 28px rgba(15,23,42,.07);border-left:6px solid var(--vrd-blue)}
.vrd-author-avatar img{display:block!important;width:150px!important;height:150px!important;margin:0!important;object-fit:cover;border-radius:50%}
.vrd-author-kicker{color:var(--vrd-red);font-size:12px;font-weight:900;text-transform:uppercase}
.vrd-author-hero h1{margin:5px 0 12px!important;font-size:clamp(34px,4vw,50px)!important;line-height:1.05!important;letter-spacing:-1px}
.vrd-author-hero p{max-width:820px;margin:0 0 14px!important;color:#374151;font-size:17px;line-height:1.65}
.vrd-author-site{display:inline-block;padding:9px 13px;background:var(--vrd-blue);color:#fff;text-decoration:none;border-radius:6px;font-size:13px;font-weight:800}
.vrd-author-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px;align-items:start}
.vrd-author-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #111827}
.vrd-author-section-head h2{margin:0!important;font-size:24px!important}.vrd-author-section-head span{color:var(--vrd-muted);font-size:13px}
.vrd-author-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.vrd-author-card{width:100%!important;max-width:none!important;margin:0!important;overflow:hidden;background:#fff;border:1px solid var(--vrd-line);border-radius:10px;box-shadow:0 6px 20px rgba(15,23,42,.06)}
.vrd-author-card-image{display:block;height:225px;overflow:hidden;background:#e5e7eb}
.vrd-author-card-image img{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important;transition:transform .25s ease}
.vrd-author-card:hover .vrd-author-card-image img{transform:scale(1.035)}
.vrd-author-card-body{padding:18px}.vrd-author-card-meta{margin-bottom:9px;color:var(--vrd-muted);font-size:12px;text-transform:uppercase;font-weight:700}
.vrd-author-card-meta span{margin:0 5px}.vrd-author-card h2{margin:0 0 10px!important;font-size:22px!important;line-height:1.2!important}
.vrd-author-card h2 a{color:#111827;text-decoration:none}.vrd-author-card p{margin:0 0 14px!important;color:#4b5563;font-size:14px;line-height:1.55}
.vrd-author-read-more{color:var(--vrd-blue);text-decoration:none;font-size:13px;font-weight:900}
.vrd-author-pagination{margin-top:28px}.vrd-author-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.vrd-author-pagination .page-numbers{padding:9px 12px;background:#fff;color:var(--vrd-blue);text-decoration:none;border:1px solid var(--vrd-line);border-radius:5px;font-size:13px;font-weight:800}
.vrd-author-pagination .page-numbers.current{background:var(--vrd-blue);color:#fff;border-color:var(--vrd-blue)}
.vrd-author-empty{padding:35px;background:#fff;border:1px solid var(--vrd-line);border-radius:10px;text-align:center}
@media(max-width:980px){.vrd-author-layout{grid-template-columns:1fr}}
@media(max-width:680px){
.vrd-author-main{padding:22px 0 42px}.vrd-author-hero{grid-template-columns:90px 1fr;gap:17px;padding:20px}
.vrd-author-avatar img{width:90px!important;height:90px!important}.vrd-author-hero h1{font-size:31px!important}
.vrd-author-hero p{grid-column:1/-1;font-size:16px}.vrd-author-grid{grid-template-columns:1fr}
.vrd-author-card-image{height:210px}.vrd-author-section-head{align-items:flex-start;flex-direction:column;gap:5px}
}
