/* "Nuestros asociados publican": tarjetas. Barra, filtros y paginación vienen de eventos.css. */
.np-figure svg { width: 118px; height: 118px; fill: rgba(240,177,123,.22); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.archive-result-count { margin: 0; }
.asociados-page .archive-toolbar { scroll-margin-top: 20px; }
.asociados-page .filter-selects select { max-width: 250px; }
.asociados-page .filter-pill b { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 5px; color: var(--ink); background: #e9f1eb; border-radius: 99px; font-size: 11px; line-height: 18px; text-align: center; }

.np-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin: 30px 0 0; padding: 0; list-style: none; }
.np-card { --kind: var(--green-dark); --kind-bg: #e4f1e7; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dfe8e1; border-radius: 6px 24px 6px 6px; box-shadow: 0 16px 32px -24px rgba(16,38,29,.55); }
.np-card--libro { --kind: #8f3b24; --kind-bg: #f8e7e1; }
.np-card--revista { --kind: var(--blue); --kind-bg: #e5edf9; }
.np-card--pendiente { --kind: #55665c; --kind-bg: #edf0ee; }

/* Las portadas son de todo formato (varias con texto): se muestran completas sobre su propio fondo difuminado. */
.np-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dce9df; }
.np-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.np-cover-fill { object-fit: cover; filter: blur(18px) saturate(.8) brightness(.75); transform: scale(1.15); }
.np-cover-img { object-fit: contain; }

.np-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 22px 22px; border-top: 4px solid var(--kind); }
.np-body p, .np-body h3 { margin: 0; }
.np-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: #55665c; font-size: 13px; font-weight: 600; }
.np-type { padding: 5px 10px; border-radius: 99px; color: var(--kind); background: var(--kind-bg); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.np-card h3 { color: var(--ink); font-family: var(--serif); font-size: 21px; line-height: 1.22; letter-spacing: -.02em; }
.np-author { color: var(--ink); font-size: 15px; font-weight: 700; }
.np-source { margin-top: -6px !important; color: #55665c; font-size: 14px; font-style: italic; }
.np-excerpt { display: -webkit-box; overflow: hidden; color: #4c5d54; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 15px; line-height: 1.45; }
.np-note { padding: 9px 12px; color: #4c5d54; background: #f5f8f5; border-left: 3px solid var(--kind); font-size: 13.5px; line-height: 1.4; }

.np-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 16px; border-top: 1px solid #dce9df; }
.np-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 16px; color: #fff; background: var(--green-ui); border: 1px solid var(--green-ui); border-radius: 8px; cursor: pointer; font: 700 14px var(--sans); }
.np-btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.np-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.np-btn--out { color: var(--green-dark); background: #fff; border-color: var(--green-dark); }
.np-btn--out:hover { color: #fff; }
.np-extra { padding: 0; color: var(--green-dark); background: none; border: 0; cursor: pointer; font: 700 14px var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.np-pending { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 16px; color: #5d6d64; border: 1px dashed #aebdb3; border-radius: 8px; font-size: 14px; font-weight: 600; }

@media (max-width: 1080px) { .np-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .asociados-page .filter-selects select { max-width: none; } }
@media (max-width: 680px) {
  .np-grid { grid-template-columns: 1fr; }
  .asociados-page .filter-selects { grid-template-columns: 1fr; display: grid; }
}
