/*
Theme Name:   Pressroom Child
Theme URI: https://1.envato.market/pressroom-news-and-magazine-wordpress-theme
Description:  Pressroom Child Theme
Author: QuanticaLabs
Author URI: https://1.envato.market/quanticalabs
Template:     pressroom
Version:      1.1
Text Domain:  pressroom
*/

/* Slider nativo de Pressroom — ajustes menores */
.caroufredsel_wrapper_slider {
	margin-bottom: 0;
}

.slider_posts_list_container {
	margin-bottom: 24px;
}

/*
 * Fix: el JS de Pressroom evalúa $(".theme_page .vc_row").width() > 462
 * para decidir desktop vs móvil. Añadimos un div.vc_row invisible en front-page.php
 * para que el JS lo detecte. Este respaldo CSS solo actúa en desktop (>462px)
 * para no romper el menú móvil si el JS actúa antes del render.
 */
@media (min-width: 463px) {
	.mobile_menu_container.nh-legacy-navbar,
	.mobile_menu_container.nh-legacy-navbar .ubermenu {
		display: block !important;
	}
}

/* Logo y fecha en el header */
.nh-site-logo {
	max-height: 70px;
	width: auto;
	display: block;
	margin: 0 auto;
}

.nh-header-date {
	font-size: 12px;
	color: #888;
	margin-top: 4px;
	text-transform: capitalize;
	letter-spacing: 0.3px;
}

.nh-legacy-navbar {
	background: #ffffff;
}

.nh-legacy-navbar .mainmenu {
	display: flex;
}

.nh-navbar-content {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nh-navbar-content .nav-menu-wrapper {
	display: flex;
	justify-content: center;
}

.nh-navbar-tools {
	display: none;
	align-items: center;
	gap: 12px;
	padding-right: 10px;
}

.nh-search-toggle,
.nh-account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #d7d7d7;
	background: #f7f7f7;
	color: #111111;
	text-decoration: none;
	cursor: pointer;
}

.nh-search-toggle:hover,
.nh-account-link:hover,
.nh-search-toggle[aria-expanded="true"] {
	color: #de425b;
	border-color: #de425b;
}

.nh-search-toggle .dashicons,
.nh-account-link .dashicons {
	font-size: 18px;
	line-height: 1;
	width: auto;
	height: auto;
}

.nh-search-panel {
	padding: 0 10px 12px;
	display: flex;
	justify-content: flex-end;
}

.nh-inline-search {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.nh-inline-search .search_input {
	width: 180px;
	height: 34px;
	padding: 8px 10px;
	font-size: 12px;
	border: 1px solid #d7d7d7;
}

.nh-inline-search .search_submit {
	width: 34px;
	height: 34px;
	border: 1px solid #d7d7d7;
	background-color: #f7f7f7;
	background-position: center;
}

.nh-legacy-navbar .theme-main-menu > li > a,
.nh-legacy-navbar .sf-menu > li > a {
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0;
	text-transform: uppercase;
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 10px;
	padding-right: 10px;
}

/* Evitar que el menú salte a segunda línea */
.nh-legacy-navbar .sf-menu,
.nh-legacy-navbar .theme-main-menu {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.nh-legacy-navbar .theme-main-menu > li.current-menu-item > a,
.nh-legacy-navbar .theme-main-menu > li > a:hover,
.nh-legacy-navbar .sf-menu > li.current-menu-item > a,
.nh-legacy-navbar .sf-menu > li > a:hover {
	color: #de425b;
}

/* =====================================================
   HOME LAYOUT
   ===================================================== */

.nh-home-layout {
	display: flex;
	gap: 40px;
	padding: 30px 0 50px;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.nh-home-main {
	flex: 1 1 0;
	min-width: 0;
}

.nh-home-sidebar {
	width: 300px;
	flex-shrink: 0;
}

/* =====================================================
   POST GRID
   ===================================================== */

.nh-posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

/* =====================================================
   POST CARD
   ===================================================== */

.nh-post-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.nh-post-thumb {
	position: relative;
	overflow: hidden;
}

.nh-post-thumb .nh-post-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.nh-post-card:hover .nh-post-img {
	transform: scale(1.04);
}

.nh-post-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #de425b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	text-decoration: none;
	z-index: 1;
}

.nh-post-cat:hover {
	background: #b5131a;
	text-decoration: none;
}

.nh-post-body {
	padding: 18px 20px 22px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nh-post-meta {
	display: flex;
	gap: 14px;
	font-size: 11px;
	color: #888;
}

.nh-post-meta a {
	color: #888;
}

.nh-post-meta a:hover {
	color: #de425b;
	text-decoration: none;
}

.nh-post-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.nh-post-title a {
	color: #111;
	text-decoration: none;
}

.nh-post-title a:hover {
	color: #de425b;
}

.nh-post-excerpt {
	font-size: 13px;
	color: #555;
	line-height: 1.6;
	flex: 1 1 auto;
}

.nh-read-more {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #de425b;
	text-decoration: none;
	align-self: flex-start;
}

.nh-read-more:hover {
	text-decoration: underline;
}

/* =====================================================
   PAGINATION
   ===================================================== */

.nh-pagination {
	margin-top: 40px;
}

.nh-pagination .page-numbers {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 6px;
}

.nh-pagination .page-numbers li span,
.nh-pagination .page-numbers li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	border: 1px solid #d7d7d7;
	font-size: 13px;
	color: #333;
	text-decoration: none;
}

.nh-pagination .page-numbers li a:hover,
.nh-pagination .page-numbers li span.current {
	background: #de425b;
	border-color: #de425b;
	color: #fff;
}

.nh-no-posts {
	padding: 40px 0;
	color: #888;
}

@media (max-width: 1024px) {
	.nh-navbar-content {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.nh-navbar-tools {
		justify-content: flex-end;
		padding-right: 0;
		padding-bottom: 0;
	}

	.nh-search-panel {
		justify-content: flex-end;
		padding: 0 0 10px;
	}

	.nh-inline-search .search_input {
		width: 150px;
	}

	.nh-legacy-navbar .mainmenu {
		min-height: 48px;
	}

	/* Home responsive */
	.nh-home-layout {
		flex-direction: column;
		gap: 30px;
	}

	.nh-home-sidebar {
		width: 100%;
	}

	.nh-posts-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.nh-posts-grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================
   SINGLE POST
   ============================================= */

.nh-single-layout {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	align-items: flex-start;
}

.nh-single-main {
	flex: 1 1 0;
	min-width: 0;
}

.nh-single-sidebar {
	width: 300px;
	flex-shrink: 0;
}

/* Imagen destacada */
.nh-single-featured {
	margin-bottom: 24px;
	border-radius: 4px;
	overflow: hidden;
}
.nh-single-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Encabezado */
.nh-single-header {
	margin-bottom: 24px;
}
.nh-single-cats {
	margin-bottom: 10px;
}
.nh-cat-badge {
	display: inline-block;
	background: #de425b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 3px;
	margin-right: 6px;
	text-decoration: none;
	letter-spacing: 0.5px;
}
.nh-cat-badge:hover {
	background: #c01118;
	color: #fff;
}
.nh-single-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
	margin: 0 0 14px;
}
.nh-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	font-size: 13px;
	color: #888;
}
.nh-single-meta span.dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: middle;
}
.nh-single-meta a {
	color: #555;
	text-decoration: none;
}
.nh-single-meta a:hover {
	color: #de425b;
}

/* Contenido */
.nh-single-content {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 30px;
}
.nh-single-content p {
	margin-bottom: 18px;
}
.nh-single-content img {
	max-width: 100%;
	height: auto;
}
.nh-single-content h2,
.nh-single-content h3,
.nh-single-content h4 {
	margin: 28px 0 12px;
	color: #1a1a1a;
}
.nh-single-content a {
	color: #de425b;
	text-decoration: underline;
}
.nh-single-content blockquote {
	border-left: 4px solid #de425b;
	margin: 24px 0;
	padding: 12px 20px;
	background: #f9f9f9;
	color: #555;
	font-style: italic;
}

/* Tags */
.nh-single-footer {
	margin-bottom: 24px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}
.nh-single-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}
.nh-single-tags .dashicons {
	color: #888;
	font-size: 14px;
	width: 14px;
	height: 14px;
}
.nh-tag-link {
	display: inline-block;
	background: #f0f0f0;
	color: #555;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 3px;
	text-decoration: none;
	transition: background 0.2s;
}
.nh-tag-link:hover {
	background: #de425b;
	color: #fff;
}

/* Compartir */
.nh-share-box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
	padding: 16px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
.nh-share-label {
	font-size: 13px;
	font-weight: 700;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.nh-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 4px;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s;
}
.nh-share-btn:hover { opacity: 0.85; color: #fff; }
.nh-share-fb  { background: #1877f2; }
.nh-share-wa  { background: #25d366; }
.nh-share-tw  { background: #1da1f2; }
.nh-share-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Relacionadas */
.nh-related {
	margin-bottom: 30px;
}
.nh-related-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	border-bottom: 2px solid #de425b;
	padding-bottom: 8px;
	margin-bottom: 20px;
}
.nh-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.nh-related-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nh-related-thumb img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
}
.nh-related-date {
	font-size: 11px;
	color: #aaa;
	display: block;
}
.nh-related-post-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}
.nh-related-post-title a {
	color: #1a1a1a;
	text-decoration: none;
}
.nh-related-post-title a:hover {
	color: #de425b;
}

/* Paginación de páginas dentro del artículo */
.nh-page-links {
	margin: 20px 0;
	font-size: 14px;
}
.nh-page-links a {
	display: inline-block;
	padding: 4px 10px;
	background: #de425b;
	color: #fff;
	border-radius: 3px;
	text-decoration: none;
	margin: 0 3px;
}

/* Descripción de categoría (archive) */
.nh-archive-desc {
	max-width: 1200px;
	margin: 0 auto 20px;
	padding: 0 20px;
	color: #666;
	font-size: 14px;
}

/* Comentarios */
.nh-comments {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #de425b;
}

/* =============================================
   RESPONSIVE – SINGLE
   ============================================= */
@media (max-width: 1024px) {
	.nh-single-layout {
		flex-direction: column;
		gap: 30px;
	}
	.nh-single-sidebar {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.nh-single-title {
		font-size: 22px;
	}
	.nh-related-grid {
		grid-template-columns: 1fr;
	}
	.nh-share-box {
		gap: 8px;
	}
}

/* =============================================
   FOOTER
   ============================================= */

.footer_container {
	background: #1a1a1a;
	color: #ccc;
	padding-top: 40px;
}

.nh-footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 30px;
}

.nh-footer-col {
	min-width: 0;
}

/* Logo en el footer */
.nh-footer-logo-link {
	display: inline-block;
	margin-bottom: 14px;
}
.nh-footer-logo {
	max-height: 52px;
	width: auto;
	display: block;
}
.nh-footer-desc {
	font-size: 13px;
	color: #aaa;
	line-height: 1.7;
	margin: 0;
}

/* Lista de posts recientes en footer */
.nh-footer-posts {
	list-style: none;
	padding: 0;
	margin: 0;
}
.nh-footer-posts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 7px 0;
	border-bottom: 1px solid #2a2a2a;
}
.nh-footer-posts li:last-child {
	border-bottom: none;
}
.nh-footer-post-date {
	font-size: 11px;
	color: #666;
}
.nh-footer-posts li a {
	font-size: 13px;
	color: #aaa;
	text-decoration: none;
	line-height: 1.4;
}
.nh-footer-posts li a:hover {
	color: #de425b;
}

/* Categorías en footer (wp_list_categories genera <ul>) */
.footer_container ul.children {
	padding-left: 14px;
}
.footer_container .cat-item a {
	font-size: 13px;
	color: #aaa;
}

/* Widget titles inside footer */
.footer_container .widget-title,
.footer_container .widgettitle {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #de425b;
}

/* Links y textos en el footer */
.footer_container a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.2s;
}
.footer_container a:hover {
	color: #de425b;
}
.footer_container p,
.footer_container li {
	font-size: 13px;
	line-height: 1.7;
	color: #aaa;
}
.footer_container ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer_container ul li {
	border-bottom: 1px solid #2a2a2a;
	padding: 5px 0;
}

/* Barra de copyright — extiende .copyright_row nativo de Pressroom */
.footer_container .copyright_row,
.footer_container .copyright_row p,
.footer_container .copyright_row h6 {
	color: #9da4ab;
	font-size: 12px;
	font-family: Arial, sans-serif;
}

.footer_container .nh-copyright-row {
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.nh-copyright-text {
	font-size: 12px;
	color: #9da4ab;
	margin: 0;
}

.nh-copyright-text a {
	color: #ccc;
}
.nh-copyright-text a:hover {
	color: #de425b;
}

/* Menú footer en copyright row */
.footer_container .copyright_row .footer_menu {
	float: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer_container .copyright_row .footer_menu li {
	margin-left: 20px;
	margin-right: 0;
	border-bottom: none;
	padding: 0;
}
.footer_container .copyright_row .footer_menu li a {
	font-size: 12px;
	color: #9da4ab;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.footer_container .copyright_row .footer_menu li a:hover {
	color: #de425b;
}

@media (max-width: 768px) {
	.nh-footer-widgets {
		grid-template-columns: 1fr 1fr;
	}
	.footer_container .nh-copyright-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.footer_container .copyright_row .footer_menu li {
		margin-left: 0;
		margin-right: 16px;
	}
}

@media (max-width: 480px) {
	.nh-footer-widgets {
		grid-template-columns: 1fr;
	}
}

/* =============================================
   SEARCH
   ============================================= */

.nh-search-header {
	max-width: 1200px;
	margin: 0 auto 30px;
	padding: 20px 20px 0;
}

.nh-search-top {
	display: flex;
	gap: 0;
	max-width: 600px;
}

.nh-search-top .search_input {
	flex: 1;
	padding: 10px 16px;
	border: 2px solid #ddd;
	border-right: none;
	border-radius: 4px 0 0 4px;
	font-size: 15px;
	outline: none;
}

.nh-search-top .search_input:focus {
	border-color: #de425b;
}

.nh-search-top .search_submit {
	background: #de425b;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 0 4px 4px 0;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}

.nh-search-top .search_submit:hover {
	background: #c01118;
}

.nh-search-count {
	font-size: 14px;
	color: #888;
	margin-bottom: 20px;
}

.nh-no-results {
	text-align: center;
	padding: 60px 20px;
	color: #888;
}

.nh-no-results .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #ddd;
	margin-bottom: 16px;
}

.nh-no-results p {
	font-size: 16px;
	margin: 0 0 8px;
}

.nh-no-results-tip {
	font-size: 13px;
	color: #aaa;
}

/* =============================================
   PAGE (páginas estáticas)
   ============================================= */

.nh-page-layout {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	align-items: flex-start;
}

.nh-page-content {
	flex: 1 1 0;
	min-width: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.nh-page-sidebar {
	width: 300px;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.nh-page-layout {
		flex-direction: column;
	}
	.nh-page-sidebar {
		width: 100%;
	}
}

/* =============================================
   404
   ============================================= */

.nh-404-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
}

.nh-404-block {
	text-align: center;
	max-width: 520px;
}

.nh-404-code {
	display: block;
	font-size: 120px;
	font-weight: 900;
	color: #de425b;
	line-height: 1;
	margin-bottom: 16px;
}

.nh-404-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.nh-404-desc {
	font-size: 15px;
	color: #888;
	margin-bottom: 30px;
}

.nh-404-search {
	display: flex;
	gap: 0;
	margin-bottom: 24px;
}

.nh-404-search .search_input {
	flex: 1;
	padding: 10px 16px;
	border: 2px solid #ddd;
	border-right: none;
	border-radius: 4px 0 0 4px;
	font-size: 15px;
	outline: none;
}

.nh-404-search .search_input:focus {
	border-color: #de425b;
}

.nh-404-search .search_submit {
	background: #de425b;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 0 4px 4px 0;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.nh-404-search .search_submit:hover {
	background: #c01118;
}

.nh-404-home-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #555;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid #ddd;
	padding: 9px 18px;
	border-radius: 4px;
	transition: border-color 0.2s, color 0.2s;
}

.nh-404-home-btn:hover {
	border-color: #de425b;
	color: #de425b;
}

/* =============================================
   SIDEBAR WIDGETS (sidebar.php)
   ============================================= */

.nh-sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.nh-sidebar-widget {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
}

.nh-sidebar-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
	background: #de425b;
	margin: 0;
	padding: 10px 16px;
}

/* .nh-legacy-navbar */
.nh-sidebar-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nh-sidebar-post-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px;
	border-bottom: 1px solid #f0f0f0;
}

.nh-sidebar-post-item:last-child { border-bottom: none; }

.nh-sidebar-thumb {
	flex-shrink: 0;
	display: block;
	width: 72px;
	height: 56px;
	overflow: hidden;
	border-radius: 3px;
}

.nh-sidebar-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nh-sidebar-post-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.nh-sidebar-post-date {
	font-size: 11px;
	color: #aaa;
}

.nh-sidebar-post-title {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nh-sidebar-post-title:hover { color: #de425b; }

/* Categorías — solo badges */
.nh-sidebar-cats {
	list-style: none;
	margin: 0;
	padding: 12px 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nh-sidebar-cats li {
	border: none;
}

.nh-sidebar-cats li a {
	display: inline-block;
	background: #f0f0f0;
	color: #444;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 3px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.nh-sidebar-cats li a:hover {
	background: #de425b;
	color: #fff;
}

/* Ocultar imágenes de fondo heredadas de Pressroom en categorías */
.nh-sidebar-cats li a,
.category-image,
.category_image {
	background-image: none !important;
}

/* Tags */
.nh-sidebar-tags {
	padding: 14px;
	line-height: 2;
}

.nh-sidebar-tags a {
	display: inline-block;
	background: #f4f4f4;
	color: #555;
	font-size: 12px;
	padding: 3px 9px;
	border-radius: 3px;
	margin: 2px 3px 2px 0;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.nh-sidebar-tags a:hover {
	background: #de425b;
	color: #fff;
}

/* Post details (tarjeta) — formato Pressroom */
.nh-post-card .post_details {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.nh-post-card .post_details .detail {
	font-size: 12px;
}

.nh-post-card .post_details .detail.category a {
	background: #de425b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 2px 8px;
	border-radius: 3px;
	text-decoration: none;
}

.nh-post-card .post_details .detail.category a:hover {
	background: #c01118;
}

.nh-post-card .post_details .detail.date {
	color: #aaa;
	font-size: 11px;
}

/* =============================================
   QUIÉNES SOMOS
   ============================================= */

.nh-about-layout {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px 50px;
	align-items: flex-start;
}

.nh-about-main {
	flex: 1 1 0;
	min-width: 0;
}

.nh-about-sidebar {
	width: 300px;
	flex-shrink: 0;
}

/* Banner de presentación */
.nh-about-hero {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	border-left: 5px solid #de425b;
	padding: 36px 32px;
	margin-bottom: 36px;
	border-radius: 3px;
}

.nh-about-hero-text h2 {
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 12px;
}

.nh-about-hero-text p {
	font-size: 15px;
	color: #ccc;
	line-height: 1.7;
	margin: 0;
}

/* Misión y Visión */
.nh-about-mv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 36px;
}

.nh-about-mv-item {
	background: #f9f9f9;
	border: 1px solid #eee;
	border-top: 3px solid #de425b;
	padding: 24px 20px;
	border-radius: 3px;
}

.nh-about-mv-icon {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #de425b;
	margin-bottom: 12px;
	display: block;
}

.nh-about-mv-item h3 {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 10px;
}

.nh-about-mv-item p {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

/* Sección genérica */
.nh-about-section {
	margin-bottom: 36px;
}

.nh-about-section-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	padding-bottom: 10px;
	border-bottom: 2px solid #de425b;
	margin-bottom: 24px;
}

/* Valores */
.nh-about-values {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.nh-about-value-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 16px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 3px;
}

.nh-about-value-item .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #de425b;
}

.nh-about-value-item strong {
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
}

.nh-about-value-item p {
	font-size: 13px;
	color: #666;
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 1024px) {
	.nh-about-layout {
		flex-direction: column;
	}
	.nh-about-sidebar {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.nh-about-mv,
	.nh-about-values {
		grid-template-columns: 1fr;
	}
}

/* =============================================
   CONTACTO
   ============================================= */

.nh-contact-layout {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px 50px;
	align-items: flex-start;
}

.nh-contact-main {
	flex: 1 1 0;
	min-width: 0;
}

.nh-contact-sidebar {
	width: 300px;
	flex-shrink: 0;
}

/* Tarjetas de información */
.nh-contact-info-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}

.nh-contact-info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 18px 16px;
	background: #f9f9f9;
	border: 1px solid #eee;
	border-top: 3px solid #de425b;
	border-radius: 3px;
}

.nh-contact-info-item .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #de425b;
	flex-shrink: 0;
	margin-top: 2px;
}

.nh-contact-info-item div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nh-contact-info-item strong {
	font-size: 13px;
	font-weight: 700;
	color: #1a1a1a;
	display: block;
}

.nh-contact-info-item a,
.nh-contact-info-item span {
	font-size: 13px;
	color: #555;
	text-decoration: none;
}

.nh-contact-info-item a:hover {
	color: #de425b;
}

/* Formulario */
.nh-contact-form-wrap {
	background: #fff;
	border: 1px solid #eee;
	padding: 28px 28px 32px;
	border-radius: 3px;
}

.nh-contact-form-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	padding-bottom: 10px;
	border-bottom: 2px solid #de425b;
	margin-bottom: 24px;
}

.nh-contact-form .nh-form-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.nh-form-group {
	margin-bottom: 18px;
}

.nh-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.nh-form-group label span {
	color: #de425b;
}

.nh-form-group input[type="text"],
.nh-form-group input[type="email"],
.nh-form-group textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 14px;
	color: #333;
	background: #fafafa;
	box-sizing: border-box;
	transition: border-color 0.2s;
	font-family: inherit;
}

.nh-form-group input:focus,
.nh-form-group textarea:focus {
	outline: none;
	border-color: #de425b;
	background: #fff;
}

.nh-form-group textarea {
	resize: vertical;
	min-height: 140px;
}

.nh-contact-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #de425b;
	color: #fff;
	border: none;
	padding: 12px 28px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-radius: 3px;
	cursor: pointer;
	transition: background 0.2s;
}

.nh-contact-submit:hover {
	background: #c01118;
}

.nh-contact-submit .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Mensajes de éxito/error */
.nh-contact-success,
.nh-contact-error {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 3px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

.nh-contact-success {
	background: #eafaf1;
	border: 1px solid #27ae60;
	color: #1e8449;
}

.nh-contact-error {
	background: #fdecea;
	border: 1px solid #e74c3c;
	color: #c0392b;
}

.nh-contact-success .dashicons,
.nh-contact-error .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

@media (max-width: 1024px) {
	.nh-contact-layout {
		flex-direction: column;
	}
	.nh-contact-sidebar {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.nh-contact-info-row {
		grid-template-columns: 1fr;
	}
	.nh-contact-form .nh-form-row-2 {
		grid-template-columns: 1fr;
	}
	.nh-contact-form-wrap {
		padding: 20px 16px 24px;
	}
}