.potencia-page .potencia-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.potencia-page .potencia-view-courses { margin-top: 18px; }
.potencia-page .potencia-purpose {
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-orange);
  background: var(--bg-light);
}
.potencia-page h2 { font-family: "Public Sans", sans-serif; }
.potencia-page .potencia-purpose h2 { margin: 8px 0 16px; font-size: 28px; line-height: 1.2; }
.potencia-page .potencia-purpose p:last-child { margin-bottom: 0; }
.potencia-page .potencia-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.potencia-page .potencia-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  margin: 28px 0;
  border-radius: 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
}
.potencia-page .potencia-filters > div { flex: 1 1 220px; min-width: 0; }
.potencia-page label { display: block; font-weight: 600; margin-bottom: 8px; }
.potencia-page select {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #72717c;
  border-radius: 28px;
  background: white;
  color: var(--text-primary);
  font: inherit;
}
.potencia-page .potencia-clear { color: var(--brand-blue-dark); text-decoration: underline; padding: 12px 4px; }
.potencia-page :is(a, button, select, summary):focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
.potencia-page .potencia-result-count { color: var(--text-secondary); }
.potencia-page .potencia-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.potencia-page .potencia-course { display: flex; flex-direction: column; align-items: start; gap: 16px; overflow-wrap: anywhere; min-width: 0; }
.potencia-page .potencia-course h3 { margin: 0; }
.potencia-page .potencia-course-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.potencia-page :is(.potencia-modality, .potencia-state) { padding: 6px 12px; border-radius: 20px; background: #edf3f6; color: var(--brand-blue-deep); }
.potencia-page .potencia-state-abiertas { background: #e4f2e9; color: #235637; }
.potencia-page .potencia-state-pausa { background: #fff0d2; color: #684810; }
.potencia-page .potencia-state-cerradas,
.potencia-page .potencia-state-finalizada { background: var(--bg-soft); color: var(--text-secondary); }
.potencia-page .potencia-description { color: var(--text-secondary); }
.potencia-page .potencia-details { width: 100%; border-top: 1px solid var(--border-light); }
.potencia-page summary { cursor: pointer; color: var(--brand-blue-dark); padding: 14px 0; font-weight: 600; min-height: 48px; }
.potencia-page dl { margin: 0 0 8px; }
.potencia-page dt { font-weight: 600; margin-top: 16px; }
.potencia-page dd { margin: 6px 0 0; color: var(--text-secondary); }
.potencia-page .potencia-enroll { margin-top: auto; }
.potencia-page .potencia-empty { max-width: 800px; }
.potencia-page .potencia-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .potencia-page .potencia-intro { grid-template-columns: 1fr; gap: 32px; }
  .potencia-page .potencia-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .potencia-page .potencia-courses { grid-template-columns: 1fr; }
  .potencia-page .potencia-purpose { padding: 24px; }
  .potencia-page .potencia-filters { padding: 20px; }
  .potencia-page .potencia-filters > div { flex-basis: 100%; }
}
