/* Comentario: estilos de plantilla de detalle de noticias de fundaciones */

.breadcrumb {
	padding: 16px 0;
}

.breadcrumb .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.breadcrumb-link {
	color: #666666;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb-link:hover {
	color: #0070C1;
	text-decoration: underline;
}

.breadcrumb-separator {
	color: #666666;
	font-size: 14px;
	user-select: none;
}

.breadcrumb-current {
	color: #1A1A1A;
	font-size: 14px;
	font-weight: 500;
}

@media (max-width: 768px) {
	.breadcrumb {
		padding: 12px 0;
	}

	.breadcrumb-link,
	.breadcrumb-separator,
	.breadcrumb-current {
		font-size: 13px;
	}

	.breadcrumb-nav {
		gap: 8px;
	}

	.breadcrumb-item {
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.breadcrumb-link,
	.breadcrumb-separator,
	.breadcrumb-current {
		font-size: 12px;
	}
}

.news-detail {
	padding: 60px 0 80px;
	background-color: #FFFFFF;
}

.news-detail-wrapper {
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.news-detail-category-badge {
	display: inline-block;
	padding: 8px 20px;
	background-color: #E0F2FE;
	color: #0070C1;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 20px;
	margin-bottom: 32px;
}

/* Comentario: botón de categoría en detalle que actúa como enlace, sin estilos de navegador. */
.news-detail-category-button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	display: inline;
}

.news-detail-title {
	font-size: 56px;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.2;
	margin: 0 0 24px 0;
	text-align: center;
}

.news-detail-subtitle {
	font-size: 18px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 48px 0;
	text-align: center;
}

.news-detail-image {
	width: 100%;
	margin-bottom: 60px;
	border-radius: 12px;
	overflow: hidden;
	background-color: #E5E7EB;
}

.news-detail-image img {
	width: 100%;
	height: 360px;
	display: block;
}

.news-detail-content {
	width: 100%;
}

.news-detail-content-title {
	font-size: 32px;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.3;
	margin: 0 0 32px 0;
}

.news-detail-content p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	color: #1A1A1A;
	margin: 0 0 24px 0;
}

/* Estilos para formatos de texto del editor */
.news-detail-content h2 {
	font-size: 24px;
	font-weight: 600;
	color: #1A1A1A;
	line-height: 1.4;
	margin: 32px 0 16px 0;
}

.news-detail-content h2:first-child {
	margin-top: 0;
}

.news-detail-content h3 {
	font-size: 20px;
	font-weight: 600;
	color: #1A1A1A;
	line-height: 1.5;
	margin: 24px 0 12px 0;
}

.news-detail-content h3:first-child {
	margin-top: 0;
}

.news-detail-content h4 {
	font-size: 17px;
	font-weight: 500;
	color: #0070C1;
	line-height: 1.6;
	margin: 20px 0 10px 0;
}

.news-detail-content h4:first-child {
	margin-top: 0;
}

.news-detail-content ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.news-detail-content ul li {
	position: relative;
	padding-left: 26px;
}

.news-detail-content ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	transform: translateY(-50%);
	width: 15px;
	height: 7px;
	background-image: url('../img/arrow-news.svg');
	background-repeat: no-repeat;
	background-size: contain;
}

.news-detail-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
}

.news-detail-content table th,
.news-detail-content table td {
	border: 1px solid #D6E0E5;
	padding: 12px 16px;
	text-align: left;
}

.news-detail-content table thead th {
	background-color: #F3F6F8;
	font-weight: 600;
}

.news-detail-content img {
	display: none;
}

.news-detail-content p:last-child {
	margin-bottom: 0;
}

.news-detail-content a {
	color: #0070C1;
	text-decoration: none;
	transition: all 0.3s ease;
}

.news-detail-content a:hover {
	text-decoration: underline;
}

.news-detail-info-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 24px 0;
	font-size: 16px;
	line-height: 1.8;
	color: #1A1A1A;
}

.info-arrow {
	color: #0070C1;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.news-detail-info-item strong {
	font-weight: 700;
	color: #1A1A1A;
}

.inline-link {
	color: #0070C1;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.inline-link:hover {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.news-detail {
		padding: 48px 0 60px;
	}

	.news-detail-title {
		font-size: 48px;
	}

	.news-detail-subtitle {
		font-size: 17px;
		margin-bottom: 40px;
	}

	.news-detail-image {
		margin-bottom: 48px;
	}

	.news-detail-content-title {
		font-size: 28px;
		margin-bottom: 28px;
	}
}

@media (max-width: 768px) {
	.news-detail {
		padding: 40px 0 60px;
	}

	.news-detail-wrapper {
		max-width: 100%;
	}

	.news-detail-category-badge {
		font-size: 12px;
		padding: 6px 16px;
		margin-bottom: 24px;
	}

	.news-detail-title {
		font-size: 36px;
		margin-bottom: 20px;
	}

	.news-detail-subtitle {
		font-size: 16px;
		margin-bottom: 32px;
	}

	.news-detail-image {
		margin-bottom: 40px;
		border-radius: 8px;
	}

	.news-detail-content-title {
		font-size: 24px;
		margin-bottom: 24px;
	}

	.news-detail-content p {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.news-detail-content h2 {
		font-size: 22px;
		margin: 28px 0 14px 0;
	}

	.news-detail-content h3 {
		font-size: 18px;
		margin: 22px 0 10px 0;
	}

	.news-detail-content h4 {
		font-size: 16px;
		margin: 18px 0 8px 0;
	}

	.news-detail-info-item {
		margin: 20px 0;
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.news-detail {
		padding: 32px 0 48px;
	}

	.news-detail-title {
		font-size: 28px;
	}

	.news-detail-subtitle {
		font-size: 15px;
	}

	.news-detail-content-title {
		font-size: 22px;
	}

	.news-detail-content p {
		font-size: 14px;
		line-height: 1.7;
	}

	.news-detail-content h2 {
		font-size: 20px;
		margin: 24px 0 12px 0;
	}

	.news-detail-content h3 {
		font-size: 17px;
		margin: 20px 0 10px 0;
	}

	.news-detail-content h4 {
		font-size: 15px;
		margin: 16px 0 8px 0;
	}

	.news-detail-info-item {
		font-size: 14px;
	}
}
