.trp-pge-list,
.trp-pge-ficha,
.trp-pge-explorador,
.trp-pge-form-propuesta {
    margin: 1.5em 0;
}

/* Tabla lista */
.trp-pge-table {
    width: 100%;
    border-collapse: collapse;
}
.trp-pge-table th,
.trp-pge-table td {
    padding: 0.5em 0.75em;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}
.trp-pge-table th {
    text-align: left;
    font-weight: 600;
    background: #f4f5f7;
}
.trp-pge-table td.trp-pge-col-num {
    text-align: right;
}
.trp-pge-desc {
    font-size: 0.9em;
    color: #666;
}

/* Tarjetas */
.trp-pge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25em;
}
.trp-pge-card {
    padding: 1em 1.25em;
    border-radius: 8px;
    border: 1px solid #e2e4e7;
    background: #ffffff;
}
.trp-pge-card-title {
    margin-top: 0;
    margin-bottom: 0.25em;
    font-size: 1.05em;
}
.trp-pge-card-desc {
    margin: 0.25em 0 0.5em;
}
.trp-pge-card-meta {
    font-size: 0.85em;
    color: #777;
}
.trp-pge-card-importe {
    font-weight: 600;
}

/* Ficha */
.trp-pge-ficha-header h1 {
    margin-bottom: 0.25em;
}
.trp-pge-ficha-meta {
    font-size: 0.9em;
    color: #666;
}
.trp-pge-ficha-body {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.1fr);
    gap: 1.5em;
    margin-top: 1.5em;
}
.trp-pge-ficha-box {
    padding: 1em 1.25em;
    border-radius: 8px;
    border: 1px solid #e2e4e7;
    background: #fafbfc;
}

/* Votos */
.trp-pge-vote {
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid #e0e0e0;
}
.trp-pge-vote-count-big {
    display: flex;
    gap: 1.5em;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75em;
}
.trp-pge-vote-count-like,
.trp-pge-vote-count-dislike {
    min-width: 3ch;
}
.trp-pge-vote-buttons {
    display: flex;
    gap: 0.75em;
    align-items: center;
}
.trp-pge-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.4em 0.75em;
    border-radius: 999px;
    border: 1px solid #d0d4d9;
    text-decoration: none;
    font-size: 0.9em;
    line-height: 1;
}
.trp-pge-vote-btn .trp-pge-icon svg {
    width: var(--pge-vote-icon-size, 1.1em);
    height: var(--pge-vote-icon-size, 1.1em);
}
.trp-pge-vote-btn.trp-pge-vote-active {
    background: #0b5fff10;
    border-color: #0b5fff;
    color: #0b5fff;
}

/* Iconos genéricos */
.trp-pge-icon {
    display: inline-flex;
}
.trp-pge-icon svg {
    display: block;
}

/* Explorador */
.trp-pge-explorador-form {
    margin-bottom: 1em;
}
.trp-pge-explorador-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 1.5em;
    align-items: flex-end;
}
.trp-pge-explorador-fields p {
    margin: 0;
}

/* Formulario propuesta */
.trp-pge-form-propuesta .trp-pge-form-block {
    padding: 1em 1.25em;
    border-radius: 8px;
    border: 1px solid #e2e4e7;
    background: #fafbfc;
    margin-bottom: 1em;
}
.trp-pge-form-propuesta h4 {
    margin-top: 0;
}
.trp-pge-form-propuesta p {
    margin: 0 0 0.75em;
}
.trp-pge-form-propuesta input[type="text"],
.trp-pge-form-propuesta input[type="url"],
.trp-pge-form-propuesta textarea,
.trp-pge-form-propuesta select {
    width: 100%;
    max-width: 100%;
}

/* Dropzone imagen */
.trp-pge-dropzone {
    border: 1.5px dashed #c0c4c9;
    border-radius: 8px;
    padding: 1em;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
}
.trp-pge-dropzone input[type="file"] {
    display: none;
}

/* Paginación */
.trp-pge-pagination {
    margin-top: 1em;
}
.pge-ficha-individual {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.pge-ficha-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.pge-ficha-header-main {
  flex: 1 1 auto;
}

.pge-ficha-votos {
  flex: 0 0 180px;
}

.pge-ficha-votos-inner {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  background: #f9f9f9;
}

/* Aquí dentro ya insertas tu HTML de votos con SVG, y puedes jugar con tamaños */
.pge-ficha-votos-inner .pge-votos-numero {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.pge-ficha-importes {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pge-ficha-importe-box {
  flex: 1 1 50%;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.pge-ficha-importe-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: #555;
}

.pge-ficha-importe-value {
  font-size: 1.2rem;
  font-weight: 600;
}

/* el resto de secciones con un poco de aire */
.pge-ficha-descripcion,
.pge-ficha-beneficiarios,
.pge-ficha-analisis,
.pge-ficha-alertas,
.pge-ficha-fuente {
  margin-bottom: 1.5rem;
}
.pge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.pge-svg-icon {
    width: 23px;   /* 👉 cambia aquí el tamaño */
    height: 23px;
	color: #0d2240;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}
