.search-form:before {
	background: #fff;
	border-radius: 50%;
	color: #00759c;
	content: "\f400";
	font-size: 16px;
	height: 28px;
	line-height: 28px;
	position: absolute;
	right: 8.5px;
	top: 8.5px;
	text-align: center;
	width: 28px;
}

a {
	color: #00759c;
	font-weight: bold;
	text-decoration: none;
}

.main-navigation a:active,
.main-navigation a:focus,
.main-navigation a:hover {
	color: #00759c;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	color: #00759c;
}

.search-toggle:active,
.search-toggle:focus,
.search-toggle:hover {
	background: #eee;
	border-color: #ddd;
	color: #00759c;
}

.dropdown-toggle {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	color: #00759c;
	height: 30px;
	margin-top: -15px;
	padding: 0;
	position: absolute;
	right: 0;
	top: 50%;
	width: 30px;
	z-index: 1;
}

.dropdown-toggle:active,
.dropdown-toggle:focus,
.dropdown-toggle:hover {
	background: #eee;
	border-color: #ddd;
	color: #00759c;
}

.menu-toggle:active,
.menu-toggle:focus,
.menu-toggle:hover {
	background: #eee;
	border-color: #ddd;
	color: #00759c;
}

.main-navigation .menu-item-has-children > a:after {
	color: #00759c;
	content: "\f431";
	font-size: 16px;
	height: 16px;
	line-height: 1;
	margin-top: -8px;
	position: absolute;
	top: 50%;
	right: 15px;
	width: 16px;
}

.comment-navigation a,
.posts-navigation a {
	background: #fff;
	border: 2px solid #eee;
	color: #00759c;
	display: inline-block;
	font-size: 16px;
	line-height: 1.875;
	padding: 5.5px 13px;
	text-transform: uppercase;
}

.comment-navigation a:active,
.comment-navigation a:focus,
.comment-navigation a:hover,
.posts-navigation a:active,
.posts-navigation a:focus,
.posts-navigation a:hover {
	background: #00759c;
	border-color: #00759c;
	color: #fff;
}

.sidebar-toggle:active,
.sidebar-toggle:focus,
.sidebar-toggle:hover {
	background: #eee;
	border-color: #ddd;
	color: #00759c;
}

.post-navigation .post-title {
	font-family: "Mukta";
	font-size: 25px;
	font-weight: bold;
	line-height: 1.2;
}

.post-navigation a:active .post-title,
.post-navigation a:focus .post-title,
.post-navigation a:hover .post-title {
	color: #00759c;
}

/* REMOVER BARRA LATERAL Y LÍNEAS PSEUDO-ELEMENTO EN CANARD */
#secondary, 
.sidebar, 
aside,
body .site-content::before,
body .site-content::after,
body #content::before,
body #content::after {
	display: none !important;
	content: none !important;
	border: none !important;
	width: 0 !important;
}

/* ANULAR MÁRGENES DERECHOS EN TODO EL FLUJO DE CONTENIDO */
body #page #content #primary,
body #page #content .content-area,
body #page #content .site-main,
body #page #content .site-content-inner,
body #page #content article,
body #page #content .entry-content {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	padding-right: 0 !important;
	float: none !important;
}

/* EXPANDIR IMÁGENES DENTRO DEL CONTENIDO AL 100% DE ANCHO */
body .entry-content img,
body .entry-content .wp-block-image,
body .entry-content .wp-block-image img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* ESTRUCTURA HORIZONTAL FORZADA DE COLUMNAS */
body .wp-block-columns {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	gap: 15px !important;
}

body .wp-block-column {
	flex: 1 1 0% !important;
	width: 33.33% !important;
	max-width: 33.33% !important;
	box-sizing: border-box !important;
}

/* OCULTAR EL TÍTULO "INICIO" Y SU ESPACIO SUPERIOR */
.home .entry-header,
.page-id-inicio .entry-header,
.entry-title {
	display: none !important;
}

.entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* AJUSTAR TAMAÑO DE TEXTOS Y COLUMNAS EN CELULARES */
@media screen and (max-width: 768px) {
	h3, .entry-content h3 {
		font-size: 1.1rem !important;
		line-height: 1.3 !important;
	}

	body .wp-block-columns {
		flex-direction: column !important;
	}

	body .wp-block-column {
		width: 100% !important;
		max-width: 100% !important;
		margin-bottom: 15px !important;
	}
}

/* === ESTILOS GLOBALES FICHAS PP2026 === */
.pp-ficha-wrapper {
  max-width: 1100px;
  margin: 0 auto 40px auto;
  font-family: inherit;
  color: #222;
}

.pp-ficha-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 10px;
}

.pp-badge-code {
  background-color: #00897b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
}

.pp-back-link {
  color: #00796b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.pp-back-link:hover {
  text-decoration: underline;
}

.pp-ficha-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.pp-ficha-media img {
  width: 100% !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: block;
}

.pp-ficha-info h2 {
  color: #00897b;
  font-size: 1.35rem;
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 700;
}

.pp-ficha-info p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 22px;
}

.pp-vote-box {
  background-color: #f1f5f9;
  border-left: 4px solid #00897b;
  padding: 18px 20px;
  border-radius: 8px;
}

.pp-vote-box p {
  margin: 0 0 14px 0;
  font-size: 0.96rem;
  color: #1e293b;
}

.pp-vote-btn {
  display: inline-block;
  background-color: #00796b;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}
.pp-vote-btn:hover {
  background-color: #00695c;
}

.pp-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 34px 0 26px 0;
}

.pp-doc-section h2 {
  color: #00897b;
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.pp-doc-frame iframe {
  width: 100% !important;
  height: 780px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px;
  display: block;
}

/* OCULTAR BANNER DE IMAGEN DESTACADA, METADATOS Y NAVEGACIÓN DEL TEMA CANARD */
.single-post .entry-thumbnail,
.single-post .post-thumbnail,
.single-post .post-navigation,
.single-post .nav-links,
.single-post .entry-meta,
.single-post .entry-footer,
.single-post .cat-links {
  display: none !important;
}

/* ADAPTACIÓN A CELULARES */
@media (max-width: 768px) {
  .pp-ficha-grid {
    grid-template-columns: 1fr;
  }
  .pp-ficha-media {
    max-width: 340px;
    margin: 0 auto;
  }
  .pp-doc-frame iframe {
    height: 550px !important;
  }
}
.pp-catalogo-wrapper {
  max-width: 1000px !important;
  margin: 24px auto !important;
  padding: 0 12px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  box-sizing: border-box !important;
}

.pp-catalogo-wrapper * {
  box-sizing: border-box !important;
}

.pp-search-box {
  margin-bottom: 12px !important;
}

.pp-search-box input {
  width: 100% !important;
  max-width: 420px !important;
  height: 44px !important;
  padding: 10px 16px !important;
  font-size: 14.5px !important;
  color: #222222 !important;
  background: #ffffff !important;
  border: 1px solid #cfd5d8 !important;
  border-radius: 8px !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.pp-search-box input:focus {
  border-color: #008985 !important;
  box-shadow: 0 0 0 3px rgba(0, 137, 133, 0.12) !important;
}

.pp-count-text {
  font-size: 13.5px !important;
  color: #5a6266 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}

.pp-cards-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

.pp-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  background: #ffffff !important;
  border: 1px solid #e2e6e8 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.pp-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09) !important;
}

.pp-card-img {
  flex: 0 0 235px !important;
  width: 235px !important;
  min-width: 235px !important;
  background: #eef7f6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.pp-card-img img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.pp-card-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 24px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.pp-card-badges {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.pp-badge-code {
  display: inline-block !important;
  background-color: #008985 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  padding: 5px 11px !important;
  border-radius: 5px !important;
  letter-spacing: 0.3px !important;
}

.pp-card-title {
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  border: none !important;
}

.pp-card-desc {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #444444 !important;
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
}

.pp-card-footer {
  margin-top: auto !important;
}

.pp-card-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border: 1.5px solid #008985 !important;
  border-radius: 7px !important;
  color: #008985 !important;
  background-color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s, color 0.2s !important;
}

.pp-card-btn:hover {
  background-color: #008985 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 720px) {
  .pp-card {
    flex-direction: column !important;
  }
  .pp-card-img {
    flex: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 320px !important;
    margin: 16px auto 0 auto !important;
    border-radius: 8px !important;
  }
  .pp-card-body {
    padding: 20px !important;
  }
}
.pp-card-btn img,
.pp-card-btn img.emoji {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  min-width: 15px !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.pp-card-btn {
  white-space: nowrap !important;
}
