/**
 * Blog SLR — Fase 1: tipografía, CTAs, chips y recursos internos.
 * Colores marca: rojo #D41E2B, azul #1A2F5C.
 */

.slr-blog .av-special-heading-tag,
.slr-blog .entry-title,
.slr-blog h1,
.slr-blog h2,
.slr-blog h3,
.slr-blog .template-page .entry-content-wrapper h1 {
	text-transform: none !important;
	letter-spacing: normal;
}

.slr-blog-archive .av-special-heading-tag,
.slr-blog-archive .template-page .entry-content-wrapper h1 {
	font-weight: 700;
	color: #fff;
}

/* Intro + CTA archivo */
.slr-blog-intro {
	max-width: 720px;
	margin: 0 auto 1.5rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
}

.slr-blog-intro p {
	margin-bottom: 1rem;
}

.slr-blog-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.slr-blog-cta {
	display: inline-block;
	padding: 0.65rem 1.25rem;
	background: #D41E2B;
	color: #fff !important;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.15s ease;
}

.slr-blog-cta:hover,
.slr-blog-cta:focus {
	background: #b01924;
	color: #fff !important;
	transform: translateY(-1px);
}

.slr-blog-cta--secondary {
	background: transparent;
	border: 2px solid #D41E2B;
	color: #fff !important;
}

.slr-blog-cta--secondary:hover,
.slr-blog-cta--secondary:focus {
	background: rgba(212, 30, 43, 0.15);
	color: #fff !important;
}

/* Chips categorías */
.slr-blog-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin: 0 auto 2rem;
	max-width: 900px;
}

.slr-blog-categories a {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: #fff !important;
	font-size: 0.875rem;
	text-decoration: none !important;
	transition: border-color 0.2s, background 0.2s;
}

.slr-blog-categories a:hover,
.slr-blog-categories a:focus {
	border-color: #D41E2B;
	background: rgba(212, 30, 43, 0.2);
	color: #fff !important;
}

/* Recursos SLR (sustituye enlaces externos) */
.slr-blog-resources {
	max-width: 640px;
	margin: 2.5rem auto 0;
	padding: 1.5rem;
	background: rgba(26, 47, 92, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	text-align: center;
}

.slr-blog-resources__title {
	margin: 0 0 1rem !important;
	font-size: 1.15rem !important;
	color: #fff !important;
	text-transform: none !important;
}

.slr-blog-resources__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
}

.slr-blog-resources__list a {
	color: #D41E2B !important;
	font-weight: 600;
	text-decoration: none !important;
}

.slr-blog-resources__list a:hover,
.slr-blog-resources__list a:focus {
	text-decoration: underline !important;
	color: #ff4a57 !important;
}

/* Listado Avada — excerpt y meta */
.slr-blog-archive .pagination {
	margin-top: 2rem;
}

.slr-blog-archive .avia-content-slider .slide-entry-excerpt,
.slr-blog-archive .blog-meta,
.slr-blog-archive .slide-meta {
	font-size: 0.9rem;
}

.slr-blog-archive a.more-link,
.slr-blog-archive .read-more-link {
	color: #D41E2B !important;
	font-weight: 600;
}

/* ==========================================================================
   Singles — lectura + rail CTA profesional
   ========================================================================== */

body.slr-blog-single.slr-blog-with-rail #top #main .sidebar.slr-blog-aside,
body.slr-blog-single #top #main .sidebar.slr-blog-aside {
	display: block !important;
}

body.slr-blog-single #top #main .content {
	border: 0 !important;
}

body.slr-blog-single #top #main .container {
	max-width: 1200px;
}

.slr-blog-single .post-entry,
.slr-blog-single .entry-content-wrapper {
	max-width: 680px;
	margin-left: 0 !important;
	margin-right: auto !important;
	float: none !important;
}

.slr-blog-single .entry-content-wrapper {
	font-size: 1.08rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.92);
	padding: 0 0.5rem 2rem 0;
}

/* Rail lateral */
.slr-rail {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: sticky;
	top: 6.5rem;
}

.admin-bar .slr-rail {
	top: 8rem;
}

.slr-rail__card {
	padding: 1.15rem 1.1rem;
	background: #141414;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.slr-rail__card--cta {
	border-top: 3px solid #D41E2B;
	background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
}

.slr-rail__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.slr-rail__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.slr-rail__text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.slr-rail__card--cta .slr-blog-cta {
	display: block;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 0.55rem;
}

.slr-rail__label {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 700;
}

.slr-rail__trust,
.slr-rail__links,
.slr-rail__posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.slr-rail__trust li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1rem;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.4;
}

.slr-rail__trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75rem;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: #D41E2B;
}

.slr-rail__link {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.88rem;
	color: #D41E2B !important;
	font-weight: 600;
	text-decoration: none !important;
}

.slr-rail__links li,
.slr-rail__posts li {
	margin: 0 0 0.55rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	line-height: 1.35;
}

.slr-rail__links li:last-child,
.slr-rail__posts li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.slr-rail__links a,
.slr-rail__posts a {
	color: rgba(255, 255, 255, 0.9) !important;
	text-decoration: none !important;
	font-size: 0.9rem;
}

.slr-rail__links a:hover,
.slr-rail__posts a:hover {
	color: #D41E2B !important;
}

/* Título */
.slr-blog-single .av-special-heading-tag,
.slr-blog-single .entry-content-wrapper h1,
.slr-blog-single .entry-content-wrapper h2.av-special-heading-tag {
	font-size: clamp(1.65rem, 3.5vw, 2.15rem) !important;
	line-height: 1.25 !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0.5rem 0 1.15rem !important;
	text-align: left !important;
}

.slr-blog-single .av-special-heading.blockquote,
.slr-blog-single .modern-quote {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 1rem !important;
	background: transparent !important;
}

.slr-blog-featured,
.slr-blog-single .big-preview.single-big {
	margin: 0 0 1.5rem;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Contenedor vacío si la foto ya está en el contenido (evitar hueco). */
.slr-blog-single .big-preview.single-big:empty,
.slr-blog-single .big-preview.single-big:not(:has(img)) {
	display: none;
}

.slr-blog-single .entry-content img.aligncenter,
.slr-blog-single .entry-content img.size-full {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 0 1.5rem;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.slr-blog-featured__img,
.slr-blog-single .big-preview.single-big img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.slr-blog-single .blog-meta {
	display: none;
}

.slr-blog-single .av-post-metadata-container {
	margin: 0 0 1.5rem !important;
	padding: 0.85rem 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slr-blog-single .av-post-metadata-author,
.slr-blog-single .av-post-metadata-content.av-post-metadata-author {
	display: inline-flex !important;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.slr-blog-single .slr-author-avatar,
.slr-blog-single img.slr-author-avatar {
	width: 52px !important;
	height: 52px !important;
	border-radius: 50% !important;
	object-fit: cover;
	border: 2px solid rgba(212, 30, 43, 0.65);
	flex-shrink: 0;
	display: block;
}

.slr-blog-single .av-post-metadata-author-link a,
.slr-blog-single .av-post-metadata-author a {
	font-weight: 600;
	color: #D41E2B !important;
	text-decoration: none !important;
}

.slr-blog-single .av-post-metadata-author-link a:hover {
	color: #ff4a57 !important;
}

.slr-blog-single .av-post-metadata-author .av-metadata-bef,
.slr-blog-single .av-post-metadata-author .av-metadata-icon,
.slr-blog-single .av-post-metadata-author .av-icon-display {
	display: none !important;
}

.slr-blog-single .av-social-sharing-box,
.slr-blog-single .av-share-box {
	display: none !important;
}

.slr-blog-single .comment-entry,
.slr-blog-single #comments,
.slr-blog-single #respond,
.slr-blog-single .comment_meta_container {
	display: none !important;
}

/* Barra compartir premium */
.slr-share {
	margin: 2.5rem 0 1.5rem;
	padding: 1.35rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slr-share__title {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
}

.slr-share__list {
	list-style: none !important;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.slr-share__list > li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.slr-share__list > li::before,
.slr-share__list > li::after {
	content: none !important;
	display: none !important;
}

.slr-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background: #1f1f1f;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff !important;
	text-decoration: none !important;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.slr-share__btn svg {
	width: 1.2rem;
	height: 1.2rem;
	display: block;
}

.slr-share__btn:hover,
.slr-share__btn:focus {
	transform: translateY(-2px);
	border-color: transparent;
	color: #fff !important;
}

.slr-share__btn--whatsapp:hover,
.slr-share__btn--whatsapp:focus {
	background: #25D366;
	box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.slr-share__btn--linkedin:hover,
.slr-share__btn--linkedin:focus {
	background: #0A66C2;
	box-shadow: 0 8px 22px rgba(10, 102, 194, 0.35);
}

.slr-share__btn--facebook:hover,
.slr-share__btn--facebook:focus {
	background: #1877F2;
	box-shadow: 0 8px 22px rgba(24, 119, 242, 0.35);
}

.slr-share__btn--x:hover,
.slr-share__btn--x:focus {
	background: #111;
	border-color: rgba(255, 255, 255, 0.25);
}

.slr-share__btn--mail:hover,
.slr-share__btn--mail:focus {
	background: #D41E2B;
	box-shadow: 0 8px 22px rgba(212, 30, 43, 0.35);
}

.slr-blog-single .entry-content-wrapper p {
	margin-bottom: 1.2rem;
}

.slr-blog-single .entry-content-wrapper h2:not(.av-special-heading-tag),
.slr-blog-single .entry-content-wrapper h3 {
	margin-top: 2.25rem;
	margin-bottom: 0.85rem;
	color: #fff !important;
	font-weight: 700;
	line-height: 1.3;
}

.slr-blog-single .entry-content-wrapper h2:not(.av-special-heading-tag) {
	font-size: 1.45rem !important;
}

.slr-blog-single .entry-content-wrapper h3 {
	font-size: 1.2rem !important;
	color: #D41E2B !important;
}

.slr-blog-single .entry-content-wrapper a:not(.slr-blog-cta):not(.slr-blog-back) {
	color: #D41E2B;
}

.slr-blog-single .entry-content-wrapper a:not(.slr-blog-cta):not(.slr-blog-back):hover {
	color: #ff4a57;
}

.slr-blog-single .entry-content-wrapper ul,
.slr-blog-single .entry-content-wrapper ol {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.slr-blog-single .entry-content-wrapper li {
	margin-bottom: 0.45rem;
}

.slr-blog-single .avia-image-container img,
.slr-blog-single .entry-content-wrapper img:not(.slr-author-avatar) {
	border-radius: 8px;
	max-width: 100%;
	height: auto;
}

.slr-blog-single .avia-image-container.av-styling-circle img,
.slr-blog-single img[src*="SLRCallCenter"] {
	display: none !important;
}

.slr-blog-single .avia-form,
.slr-blog-single form.avia_ajax_form,
.slr-blog-single .av-contact-form {
	display: none !important;
}

.slr-blog-cta-box {
	max-width: 640px;
	margin: 2.75rem auto 1.5rem;
	padding: 1.85rem 1.5rem;
	text-align: center;
	background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
	border-radius: 12px;
	border-top: 3px solid #D41E2B;
}

.slr-blog-cta-box__title {
	margin: 0 0 0.75rem !important;
	font-size: 1.35rem !important;
	color: #fff !important;
	text-transform: none !important;
}

.slr-blog-cta-box__text {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	font-size: 1rem;
}

.slr-blog-cta-box .slr-blog-cta-row {
	justify-content: center;
}

.slr-blog-back-wrap {
	max-width: 680px;
	margin: 0 0 0.75rem;
	padding: 0;
}

.slr-blog-back {
	display: inline-block;
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none !important;
}

.slr-blog-back:hover {
	color: #D41E2B !important;
}

.slr-blog-sidebar-cta {
	display: none !important;
}

@media (max-width: 989px) {
	.slr-rail {
		position: static;
		margin-top: 1.5rem;
	}

	.slr-blog-single .entry-content-wrapper {
		max-width: 100%;
		padding: 0 0 1.5rem;
	}
}

.slr-blog .widget_archive,
.slr-blog .widget_categories {
	display: none !important;
}

.slr-blog .widget {
	margin-bottom: 1.75rem;
}

.slr-blog .widgettitle,
.slr-blog .widget .widgettitle {
	font-size: 0.95rem !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7) !important;
	margin-bottom: 0.75rem !important;
}

.slr-blog .widget_recent_entries ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.slr-blog .widget_recent_entries li {
	margin: 0 0 0.65rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	line-height: 1.35;
}

.slr-blog .widget_recent_entries li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.slr-blog .widget_recent_entries a {
	color: rgba(255, 255, 255, 0.9) !important;
	text-decoration: none !important;
	font-size: 0.92rem;
}

.slr-blog .widget_recent_entries a:hover {
	color: #D41E2B !important;
}

@media (max-width: 989px) {
	.slr-blog-archive .slide-entry-title,
	.slr-blog-archive .entry-title {
		font-size: 1.35rem !important;
		line-height: 1.3 !important;
	}

	.slr-blog-featured,
	.slr-blog-single .big-preview.single-big {
		margin-bottom: 1.1rem;
		border-radius: 8px;
	}

	body.slr-blog-single #top #main .container {
		width: 100%;
		max-width: 100%;
		padding: 0 1rem;
	}
}

@media (max-width: 767px) {
	.slr-blog-cta-row {
		flex-direction: column;
		align-items: stretch;
	}

	.slr-blog-cta {
		text-align: center;
	}

	.slr-blog-categories {
		justify-content: flex-start;
	}

	.slr-blog-intro {
		font-size: 1rem;
		margin-bottom: 1.25rem;
	}

	.slr-blog-single .entry-content-wrapper {
		font-size: 1.02rem;
		line-height: 1.75;
		padding: 0 0.25rem 1.5rem;
	}

	.slr-blog-single .slr-author-avatar,
	.slr-blog-single img.slr-author-avatar {
		width: 44px !important;
		height: 44px !important;
	}

	.slr-blog-cta-box {
		padding: 1.35rem 1.1rem;
		margin: 2rem auto 1.25rem;
	}

	.slr-blog-back-wrap {
		padding: 0 0.25rem;
	}
}