.ml-directory{font-family:inherit;color:#08295b}.ml-directory *{box-sizing:border-box}.ml-directory h2{font-size:30px;margin:0 0 20px;color:#08295b}.ml-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}.ml-filters{display:flex;flex-wrap:wrap;gap:8px}.ml-filter{background:#fff;border:1px solid #cfe4fa;border-radius:30px;color:#0865ee;padding:9px 23px;cursor:pointer;font:inherit}.ml-filter.active{background:#07386f;color:#fff;border-color:#07386f}.ml-search{width:310px;max-width:100%;border:1px solid #cfe4fa!important;border-radius:6px!important;padding:12px!important;font:inherit!important;color:#07386f!important}.ml-grid{display:grid;grid-template-columns:repeat(var(--ml-cols),minmax(0,1fr));gap:14px}.ml-card{border:1px solid #cfe4fa;border-radius:9px;padding:19px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:13px}.ml-card.ml-featured{background:#eef8ff;border-color:#1384ff;box-shadow:0 0 0 1px #1384ff}.ml-card[hidden]{display:none!important}.ml-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-height:60px}.ml-name{display:flex;align-items:center;gap:10px;min-width:0}.ml-card h3{font-size:25px;line-height:1.2;color:#08295b;margin:0;overflow-wrap:anywhere}.ml-pin{flex-shrink:0;display:grid;place-items:center;width:35px;height:35px;background:#e4f3ff;color:#075bd5;border-radius:50%;font-size:15px}.ml-logos{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0}.ml-logo-images{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}.ml-logo{max-width:100px;max-height:45px!important;width:auto!important;height:auto!important;object-fit:contain}.ml-logos small{color:#15934a;font-size:10px;font-weight:700;white-space:nowrap}.ml-details{color:#355da0;font-size:15px;line-height:1.4;flex:1}.ml-details p{margin:0 0 4px}.ml-details .ml-ref{font-size:13px;color:#6480a7}.ml-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:auto}.ml-route{display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;background:#0865ee;color:#fff!important;border-radius:5px;font-weight:600;text-decoration:none!important;transition:filter .2s}.ml-route:hover{filter:brightness(.87)}.ml-contact{color:#139548!important;text-decoration:none!important;font-size:13px;font-weight:600}.ml-contact:hover{text-decoration:underline!important}.ml-no-results{padding:20px;text-align:center}.ml-no-results[hidden]{display:none}@media(max-width:900px){.ml-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-card-header{flex-wrap:wrap}.ml-logos{margin-left:auto}}@media(max-width:600px){.ml-grid{grid-template-columns:1fr}.ml-toolbar{align-items:stretch}.ml-search{width:100%}.ml-card h3{font-size:22px}.ml-card-header{flex-wrap:nowrap}.ml-logo{max-width:75px;max-height:35px!important}.ml-card{padding:15px}}

/* v1.1 */
.ml-directory .ml-card-header{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-height:0}.ml-directory .ml-identity{display:flex;align-items:center;gap:12px;min-width:0}.ml-directory .ml-pin{width:46px;height:46px;flex:0 0 46px;background:#D4EFF5;color:#063F86;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.ml-directory .ml-pin-image{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;object-fit:contain}.ml-directory .ml-logos{align-items:flex-start;min-width:0;margin-left:0}.ml-directory .ml-logo-images{justify-content:flex-start;flex-wrap:wrap}.ml-directory .ml-card h3.ml-local-name{font-family:inherit;font-size:17px;font-weight:700;line-height:1.4;margin:0;color:#355da0}.ml-directory .ml-details{font-family:inherit;font-size:15px}@media(max-width:600px){.ml-directory .ml-card-header{flex-wrap:nowrap}.ml-directory .ml-logos{margin-left:0}}

/* v1.2 - estructura reforzada y tipografía coherente */
.ml-directory .ml-card .ml-card-header{display:block!important;min-height:0!important;margin:0!important}
.ml-directory .ml-card .ml-identity{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:12px!important;width:100%!important}
.ml-directory .ml-card .ml-pin{display:flex!important;flex:0 0 46px;align-items:center;justify-content:center}
.ml-directory .ml-card .ml-logos{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;min-width:0;margin:0!important;flex:1 1 auto}
.ml-directory .ml-card .ml-logo-images{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap;gap:8px}
.ml-directory .ml-card .ml-details{display:block!important;flex:1 1 auto;font-family:inherit!important;color:#355da0;font-size:15px;line-height:1.4}
.ml-directory .ml-card .ml-details h3.ml-local-name{display:block!important;position:static!important;float:none!important;clear:both!important;margin:0 0 3px!important;padding:0!important;font-family:inherit!important;font-size:17px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:normal!important;text-transform:none!important;color:inherit!important}
.ml-directory .ml-card .ml-details>p{margin:0 0 4px!important;font-family:inherit!important}

/* v1.3: estados editables desde Elementor, sin filtro brightness que distorsione hover */
.ml-directory .ml-route{border:1px solid transparent;transition:background-color .2s,color .2s,border-color .2s,transform .2s}
.ml-directory .ml-route:hover{filter:none}
.ml-directory .ml-filter{transition:background-color .2s,color .2s,border-color .2s}
.ml-directory .ml-filter:hover{filter:none}
.ml-directory .ml-contact{transition:color .2s}

/* v1.4: logos individuales, misma línea que el pin, sin deformación */
.ml-directory .ml-card .ml-identity{min-width:0!important;max-width:100%!important}
.ml-directory .ml-card .ml-logos{min-width:0!important;flex:1 1 0!important;max-width:calc(100% - 58px)!important}
.ml-directory .ml-card .ml-logo-images{display:flex!important;flex-flow:row nowrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px;min-width:0!important;width:100%!important}
.ml-directory .ml-card .ml-logo-slot{display:flex!important;flex:0 1 auto!important;min-width:0!important;align-items:center;justify-content:center;max-width:100%}
.ml-directory .ml-card .ml-logo-slot img.ml-logo{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:45px!important;object-fit:contain!important;flex-shrink:1}
@media(max-width:600px){.ml-directory .ml-card .ml-logo-slot img.ml-logo{max-height:35px!important}}
