/**
 * Blog: listado, entrada única y barra lateral.
 * Colores del tema: #D4AF37, #1b190e, #f8f8f6, #e7e3d0.
 */

/* Layout general blog */
.wed-blog-main .container {
	max-width: 1280px;
}

.wed-blog-content {
	min-width: 0;
}

/* Barra lateral */
.wed-blog-sidebar {
	width: 100%;
}

@media (min-width: 1024px) {
	.wed-blog-sidebar {
		width: 20rem; /* 320px */
	}
}

.wed-blog-sidebar-inner.sticky {
	position: sticky;
}

/* Tarjetas del lateral: fondo, borde, sombra */
.wed-blog-card {
	background: #fff;
	border: 1px solid #e7e3d0;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(27, 25, 14, 0.06);
	padding: 1.5rem 1.25rem;
}

.wed-blog-widget.wed-blog-card {
	padding: 1.5rem 1.25rem;
}

/* Título de cada bloque del lateral */
.wed-blog-sidebar-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: serif;
	font-size: 1.125rem;
	font-weight: 700;
	color: #1b190e;
	margin: 0 0 1.25rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #D4AF37;
}

.wed-blog-sidebar-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	background: rgba(212, 175, 55, 0.15);
	color: #D4AF37;
	border-radius: 6px;
	font-size: 0.95rem;
}

.wed-blog-sidebar-title .bi {
	font-size: inherit;
}

/* Tarjetas de categorías (estilo referencia: icono + nombre + count) */
.wed-blog-cat-cards {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* En la portada del blog: cuadrícula de 4 columnas en escritorio */
.wed-blog-index-categories .wed-blog-cat-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
@media (min-width: 768px) {
	.wed-blog-index-categories .wed-blog-cat-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1024px) {
	.wed-blog-index-categories .wed-blog-cat-cards {
		grid-template-columns: repeat(4, 1fr);
	}
}

.wed-blog-cat-card {
	display: block;
	background: #fff;
	border: 1px solid #e7e3d0;
	border-radius: 1rem;
	box-shadow: 0 2px 10px rgba(27, 25, 14, 0.06);
	padding: 1.25rem 1rem;
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.wed-blog-cat-card:hover {
	box-shadow: 0 4px 16px rgba(27, 25, 14, 0.1);
	border-color: rgba(212, 175, 55, 0.4);
}

.wed-blog-cat-card:hover .wed-blog-cat-card-name {
	color: #D4AF37;
}

.wed-blog-cat-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: #f1f0eb;
	border-radius: 0.5rem;
	margin: 0 auto 0.75rem;
	color: #1b190e;
	font-size: 1.15rem;
}

.wed-blog-cat-card:hover .wed-blog-cat-card-icon {
	background: rgba(212, 175, 55, 0.15);
	color: #D4AF37;
}

.wed-blog-cat-card-name {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #1b190e;
	margin-bottom: 0.25rem;
	transition: color 0.2s;
}

.wed-blog-cat-card-count {
	display: block;
	font-size: 0.8125rem;
	color: #6c757d;
}

/* Lista de categorías en el lateral (sidebar) */
.wed-blog-categories,
.wed-blog-recent {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wed-blog-cat-item {
	margin: 0 0 0.25rem 0;
	border-radius: 8px;
	overflow: hidden;
}

.wed-blog-cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	color: #1b190e;
	text-decoration: none;
	font-size: 0.9375rem;
	line-height: 1.4;
	border-radius: 8px;
	transition: background-color 0.2s, color 0.2s;
}

.wed-blog-cat-link:hover {
	background: #fdfaf5;
	color: #D4AF37;
}

.wed-blog-cat-name {
	flex: 1;
	min-width: 0;
}

.wed-blog-cat-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.5rem;
	padding: 0 0.4rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 6px;
	flex-shrink: 0;
}

.wed-blog-cat-link:hover .wed-blog-cat-count {
	background: rgba(212, 175, 55, 0.2);
	color: #b08d2b;
}

/* Entradas recientes */
.wed-blog-recent-item {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #f1f0eb;
}

.wed-blog-recent-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.wed-blog-recent-link {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: #1b190e;
	text-decoration: none;
	transition: color 0.2s;
}

.wed-blog-recent-link:hover {
	color: #D4AF37;
}

.wed-blog-recent-date {
	display: block;
	font-size: 0.75rem;
	color: #94a3b8;
	margin-top: 0.35rem;
}

.wed-blog-recent-empty {
	font-size: 0.9375rem;
	color: #94a3b8;
}

/* Contenido de la entrada (single): tipografía y espaciado. Forzamos colores del tema por si el HTML importado trae estilos inline. */
.wed-entry-content {
	font-size: 1rem;
	line-height: 1.75;
	color: #1b190e !important;
}

.wed-entry-content h1,
.wed-entry-content .guia-main-title {
	color: #1b190e !important;
	font-family: serif;
	font-size: 1.75rem;
	font-weight: 700;
}

.wed-entry-content header h1,
.wed-entry-content .articulo-boda h1 {
	color: #1b190e !important;
}

.wed-entry-content p {
	margin-bottom: 1.25rem;
}

.wed-entry-content p:last-child {
	margin-bottom: 0;
}

.wed-entry-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #D4AF37 !important;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-family: serif;
}

.wed-entry-content h2:first-child {
	margin-top: 0;
}

.wed-entry-content h3 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #1b190e !important;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.wed-entry-content h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1b190e !important;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

/* Meta y textos secundarios del contenido importado */
.wed-entry-content .guia-meta,
.wed-entry-content [style*="color: #777"],
.wed-entry-content [style*="color:#777"] {
	color: #64748b !important;
}

.wed-entry-content ul,
.wed-entry-content ol {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.wed-entry-content li {
	margin-bottom: 0.5rem;
}

.wed-entry-content a {
	color: #D4AF37;
	text-decoration: underline;
}

.wed-entry-content a:hover {
	color: #b08d2b;
}

.wed-entry-content section {
	margin-bottom: 2rem;
}

.wed-entry-content section:last-child {
	margin-bottom: 0;
}

/* Contenido importado: article y sections con estilos inline */
.wed-entry-content .articulo-boda,
.wed-entry-content article {
	max-width: 100%;
}

.wed-entry-content section {
	padding: 1.25rem 0;
}

.wed-entry-content section[style*="background"] {
	padding: 1.25rem 1rem;
	border-radius: 0.5rem;
}

/* Cajas con fondo (resumen, CTA, etc. del HTML importado) */
.wed-entry-content [style*="background"],
.wed-entry-content [style*="border-radius"] {
	border-radius: 0.5rem;
}

/* Grid de tarjetas dentro de la entrada */
.wed-entry-content [style*="grid-template-columns"] {
	gap: 1rem;
}

.wed-entry-content [style*="grid-template-columns"] > div {
	border-color: #e7e3d0;
}

/* Nav / índice de contenido */
.wed-entry-content nav {
	margin: 1.5rem 0;
	padding: 1.25rem;
	background: #f9f9f9;
	border-radius: 0.5rem;
}

.wed-entry-content nav h3 {
	margin-top: 0;
}

/* HR y divisores */
.wed-entry-content hr {
	border: 0;
	border-top: 1px solid #e7e3d0;
	margin: 1.5rem 0;
}

/* Meta entrada única */
.wed-single-meta a {
	color: #666;
}

.wed-single-meta a:hover {
	color: #D4AF37;
}

/* Navegación de entradas */
.wed-blog-main .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.wed-blog-main .nav-links a {
	color: #D4AF37;
	font-weight: 600;
}

.wed-blog-main .nav-links a:hover {
	text-decoration: underline;
}

.wed-blog-main .nav-links .nav-next {
	margin-left: auto;
}

.wed-blog-main .nav-links .nav-previous {
	margin-right: auto;
}
