/* Listado del blog: barra lateral + lista de entradas (texto izquierda / imagen derecha). */

.oz-blog {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	margin: 40px 0;
}

/* Vista laptop: margen lateral de 20px (solo listado de blog, no entradas). */
@media (min-width: 901px) and (max-width: 1440px) {
	.oz-blog {
		margin-left: 20px;
		margin-right: 20px;
	}
}

/* --- Barra lateral: Entradas Recientes --- */
.oz-blog__sidebar {
	width: 240px;
	flex-shrink: 0;
}

.oz-blog__sidebar-title {
	margin: 0 0 4px;
	padding-bottom: 8px;
	font-size: 16px;
	font-weight: 700;
	color: #1f2a44;
	border-bottom: 2px solid #e00209;
}

.oz-blog__recent {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oz-blog__recent li {
	border-bottom: 1px solid #eee;
}

.oz-blog__recent a {
	display: block;
	padding: 10px 0 10px 16px;
	position: relative;
	font-size: 13px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
}

.oz-blog__recent a::before {
	content: "\203A";
	position: absolute;
	left: 0;
	color: #e00209;
	font-weight: 700;
}

.oz-blog__recent a:hover {
	color: #e00209;
}

/* --- Columna principal --- */
.oz-blog__main {
	flex: 1;
	min-width: 0;
}

.oz-blog__title {
	margin: 0 0 24px;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #222;
}

/* --- Entrada --- */
.oz-post {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	padding: 26px 0;
	border-bottom: 1px solid #e5e5e5;
}

.oz-post__body {
	flex: 1;
	min-width: 0;
}

.oz-post__title {
	margin: 0 0 14px;
	font-size: 23px;
	line-height: 1.3;
	font-weight: 700;
}

.oz-post__title a {
	color: #e00209;
	text-decoration: none;
}

.oz-post__title a:hover {
	text-decoration: underline;
}

.oz-post__excerpt {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
	text-align: justify;
}

.oz-post__meta {
	margin: 0;
	font-size: 13px;
	color: #777;
}

.oz-post__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 6px;
}

.oz-post__btn {
	display: inline-block;
	padding: 9px 20px;
	background: #1b1b1b;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 6px;
}

.oz-post__btn:hover {
	background: #e00209;
}

.oz-post__media {
	display: block;
	width: 330px;
	flex-shrink: 0;
}

.oz-post__img {
	display: block;
	width: 330px;
	height: 240px;
	object-fit: cover;
	border-radius: 10px;
}

/* --- Paginación --- */
.oz-blog .navigation.pagination {
	margin-top: 34px;
	text-align: center;
}

.oz-blog .page-numbers {
	display: inline-block;
	min-width: 34px;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid #ddd;
	color: #333;
	font-size: 14px;
	text-decoration: none;
	border-radius: 2px;
}

.oz-blog .page-numbers.current {
	background: #1b1b1b;
	border-color: #1b1b1b;
	color: #fff;
}

.oz-blog .page-numbers.prev,
.oz-blog .page-numbers.next {
	color: #e00209;
	font-weight: 600;
}

.oz-blog .page-numbers:not(.current):hover {
	border-color: #e00209;
	color: #e00209;
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.oz-blog { flex-direction: column; gap: 28px; }
	.oz-blog__sidebar { width: 100%; }
}

@media (max-width: 600px) {
	.oz-post { flex-direction: column-reverse; gap: 16px; }
	.oz-post__media { width: 100%; }
	.oz-post__img { width: 100%; height: auto; }
}
