/* Scoped Turnos spacing correction, 2026-10-30. */
/* Keep optional plan labels out of the card's content flow. */
.turnos-ed .svc-reference__cards { grid-auto-rows: 1fr; align-items: stretch; }
.turnos-ed .svc-reference__card { position: relative; display: flex; flex-direction: column; }
.turnos-ed .svc-reference__card-body { display: flex; flex: 1; flex-direction: column; }
.turnos-ed .svc-reference__card h2 { min-height: 2.5em; }
.turnos-ed .svc-reference__card-description { height: 2.8em; line-height: 1.4; }
.turnos-ed .svc-reference__metrics { margin-top: auto; }
.turnos-ed .svc-reference__plans {
  position: absolute; top: 64px; left: 15px; right: 15px; z-index: 1;
  margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin;
}
.turnos-ed .svc-reference__plans span {
  flex-shrink: 0; padding: 3px 8px; line-height: 1.4;
  color: #eddbff; background: #30203f; border: 1px solid #765097; border-radius: 6px;
}
.turnos-ed .svc-reference__cards--list .svc-reference__plans { right: auto; max-width: 150px; }

.turnos-ed .pr-grid:not(.pr-grid--list) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.turnos-ed .pr-card__body { gap: 14px; padding: 12px 12px 8px; }
.turnos-ed .pr-card__bio { min-height: 3em; line-height: 1.5; }
.turnos-ed .pr-card__contact { gap: 10px; line-height: 1.5; }
.turnos-ed .pr-card footer .pr-button { min-height: 40px; padding: 10px 12px; line-height: 1.3; }
.turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:not(.tu-btn--danger) {
  background: #ececf3; border-color: #c9cad8; color: #333647;
}
.turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:not(.tu-btn--danger):hover {
  background: #dedeea;
}
.turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:nth-child(2) {
  background: #fff0dd; border-color: #d6ac75; color: #79430c;
}
.turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:nth-child(2):hover {
  background: #ffe3be;
}
:is([data-theme="dark"], .theme-dark) .turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:not(.tu-btn--danger) {
  background: #292a36; border-color: #48495e; color: #eeeef5;
}
:is([data-theme="dark"], .theme-dark) .turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:not(.tu-btn--danger):hover {
  background: #363847;
}
:is([data-theme="dark"], .theme-dark) .turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:nth-child(2) {
  background: #3d2b1e; border-color: #795335; color: #ffd09c;
}
:is([data-theme="dark"], .theme-dark) .turnos-ed .panel-espec .tu-spec__foot > .tu-btn--ghost:nth-child(2):hover {
  background: #503722;
}
