/* Professional resources V1 — publisher directory as an editorial ledger. */
html.v1 .editorial-card[hidden]{display:none}
html.v1 [data-editoriales-directory] .id-cards{display:block;border-top:1px solid var(--color-border)}
html.v1 [data-editoriales-directory] .editorial-card{margin:0;padding:1.35rem 0;border:0;border-bottom:1px solid var(--color-border);border-radius:0;box-shadow:none;background:transparent}
/* Flex children default to min-width:auto, so a long title could not shrink
   and pushed the "Verificado" badge out of the card: 6px of horizontal page
   overflow at 1440px, where the card grid lands on five narrow columns.
   min-width:0 lets the title wrap; flex-wrap lets the badge drop instead of
   escaping when even that is not enough. */
html.v1 .editorial-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
html.v1 .editorial-card__head>*{min-width:0}
html.v1 .editorial-card__head h2{margin-block-start:0}
html.v1 .editorial-badges,html.v1 .editorial-genres{display:flex;flex-wrap:wrap;gap:.4rem;margin:0}
html.v1 .editorial-genres--spaced{margin:1rem 0 0}
html.v1 .editorial-badge,html.v1 .editorial-genre{display:inline-flex;align-items:center;min-height:2rem;padding:.25rem .6rem;border:1px solid var(--color-border);border-radius:0;font:600 .72rem/1.4 var(--font-ui);letter-spacing:.02em;color:var(--color-muted)}
html.v1 .editorial-badge--open{border-color:var(--dp-petrol);color:var(--dp-petrol-ink)}
/* De-emphasise the closed state through the border, not opacity: opacity
   blended the label into the page (3.24:1, under the 4.5:1 AA minimum for
   small text). The state is carried by the badge's own wording anyway. */
html.v1 .editorial-badge--closed{border-style:dashed}
html.v1 .editorial-verified{margin:0;font:400 .85rem/1.5 var(--font-ui);color:var(--color-muted)}
html.v1 [data-editoriales-directory] .id-card__actions{margin-block-start:.75rem}
@media (max-width:600px){html.v1 .editorial-card__head{display:grid;grid-template-columns:minmax(0,1fr);gap:.65rem}html.v1 .editorial-badge{justify-self:start}}
