/* ===================================================================
   Rediseno de pantallas de Blog (listado, categoria, busqueda, detalle)
   Solo CSS sobre los hooks existentes; ninguna funcionalidad cambia.
   =================================================================== */

/* Evita el doble subrayado dorado del :before/:after global en estas paginas */
.blog-redesign .section-heading h2:before,
.blog-redesign .section-heading h2:after {
	content: none !important;
}
.blog-redesign .section-heading h2 {
	position: relative;
	display: inline-block;
	font-weight: 700;
	color: #1d1d1d;
	padding-bottom: 18px;
}
.blog-redesign .section-heading h2:after {
	content: "" !important;
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 64px;
	height: 3px;
	margin-left: -32px;
	background: #e0ab4a;
}
.blog-redesign .section-heading p {
	color: #5c7893;
	max-width: 640px;
	margin: 0 auto;
}

/* ---------- Tarjetas de listado de blog ---------- */
.blog-redesign #padreContenido .card,
.blog-redesign #padreContenido > .card {
	border: none;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-redesign #padreContenido .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14);
}
.blog-redesign #padreContenido .card-img-top {
	height: 260px;
	object-fit: cover;
}
.blog-redesign #padreContenido .card-body {
	padding: 1.6em 1.6em 0.4em;
}
.blog-redesign #padreContenido .card-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1d1d1d;
	margin-bottom: 0.6em;
}
.blog-redesign #padreContenido .card-text {
	color: #5c5c5c;
	line-height: 1.6;
}
.blog-redesign #padreContenido .card-body .btn-secondary,
.blog-redesign #padreContenido .card-body .btn-primary {
	background: #1d1d1d;
	border-color: #1d1d1d;
	border-radius: 30px;
	padding: 0.5em 1.4em;
	font-weight: 600;
	letter-spacing: 0.3px;
}
.blog-redesign #padreContenido .card-body .btn-secondary:hover,
.blog-redesign #padreContenido .card-body .btn-primary:hover {
	background: #e0ab4a;
	border-color: #e0ab4a;
	color: #1d1d1d;
}
.blog-redesign #padreContenido .card-footer {
	background: #fff;
	border-top: 1px solid #f0f0f0;
	color: #9aa3a8;
	font-size: 0.85rem;
	padding: 0.9em 1.6em 1.3em;
}

/* ---------- Sidebar (buscar / categorias / facebook) ---------- */
.blog-redesign .col-md-4 .card {
	border: none;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
	overflow: hidden;
}
.blog-redesign .col-md-4 .card-header {
	background: #1d1d1d;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.3px;
	border-bottom: 3px solid #e0ab4a;
}
.blog-redesign .col-md-4 .card-body ul.list-unstyled li {
	padding: 6px 0;
	border-bottom: 1px dashed #ececec;
}
.blog-redesign .col-md-4 .card-body ul.list-unstyled li:last-child {
	border-bottom: none;
}
.blog-redesign .col-md-4 .card-body ul.list-unstyled li a {
	color: #44515a;
	transition: color 0.2s ease;
}
.blog-redesign .col-md-4 .card-body ul.list-unstyled li a:hover {
	color: #e0ab4a;
}
.blog-redesign #busquedaEspecifica {
	background: #1d1d1d;
	border-color: #1d1d1d;
	border-radius: 0 6px 6px 0;
}
.blog-redesign #busquedaEspecifica:hover {
	background: #e0ab4a;
	border-color: #e0ab4a;
	color: #1d1d1d;
}
.blog-redesign #search {
	border-radius: 6px 0 0 6px;
}

/* ---------- Paginacion ---------- */
.blog-redesign .paginacion {
	margin-top: 1.5em;
}
.blog-redesign .paginacion .page-link {
	color: #1d1d1d;
	border-radius: 6px;
	margin: 0 3px;
	border-color: #e7e7e7;
}
.blog-redesign .paginacion .page-item.active .page-link {
	background: #e0ab4a;
	border-color: #e0ab4a;
	color: #1d1d1d;
}

/* ---------- Detalle de blog ---------- */
.blog-redesign.detalle h1.mt-4 {
	font-weight: 800;
	color: #1d1d1d;
	line-height: 1.25;
}
.blog-redesign.detalle p.lead {
	color: #5c7893;
}
.blog-redesign.detalle p.lead a {
	color: #1d1d1d;
	font-weight: 600;
}
.blog-redesign.detalle img.rounded {
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(17, 17, 17, 0.1);
}
.blog-redesign.detalle .share {
	background: #f7f7f7;
	border-radius: 10px;
	padding: 0.8em 1em;
	margin: 1.2em 0;
}
.blog-redesign.detalle .textoCompartir strong {
	color: #1d1d1d;
}

/* Comentarios */
.blog-redesign.detalle #contenedorComentario,
.blog-redesign.detalle .card.my-4 {
	border: none;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
}
.blog-redesign.detalle .card.my-4 .card-header {
	background: #1d1d1d;
	color: #fff;
	border-bottom: 3px solid #e0ab4a;
}
.blog-redesign.detalle .media {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 1em;
}
.blog-redesign.detalle .media + hr {
	display: none;
}
.blog-redesign.detalle .media .rounded-circle {
	border: 2px solid #e0ab4a;
}
.blog-redesign.detalle .btn-secundary {
	background: #1d1d1d;
	border-color: #1d1d1d;
	color: #fff;
	border-radius: 30px;
}
.blog-redesign.detalle .btn-secundary:hover {
	background: #e0ab4a;
	border-color: #e0ab4a;
	color: #1d1d1d;
}

/* ---------- Tablet / iPad (768px - 1024px) ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
	.blog-redesign #padreContenido .card-img-top {
		height: 220px;
	}
	.blog-redesign .col-md-4 {
		margin-top: 2em;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.blog-redesign #padreContenido .card-img-top {
		height: 200px;
	}
	.blog-redesign.detalle .share .col-sm-5,
	.blog-redesign.detalle .share .col-sm-7 {
		text-align: center !important;
	}
}
