.ed-listado-shell{max-width:1600px;margin:2rem auto;padding:0 1rem;color:#18324a}.ed-listado-topbar{display:grid;grid-template-columns:minmax(240px,.42fr) minmax(0,1fr);gap:1rem;align-items:end;margin-bottom:1rem}.ed-listado-section-heading{display:flex;align-items:end;gap:.8rem;border-bottom:3px solid #00a9ce;padding:0 0 .7rem}.ed-listado-section-heading__eyebrow{background:#00a9ce;color:#fff;font-weight:700;padding:.7rem 1.25rem}.ed-listado-section-heading h1{font-size:1.1rem;margin:0;color:#003b70}.ed-filter{min-width:0}.ed-filter__label{display:block;font-size:.84rem;font-weight:600;color:#31495c;margin:0 0 .38rem}.ed-filter--search .ed-filter__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ed-filter--search .facetwp-facet{margin:0}.ed-filter--search input{min-height:46px;border:2px solid #00a9ce;border-radius:5px}.ed-listado-filters{display:grid;grid-template-columns:1.8fr .8fr .95fr .85fr .85fr 1.1fr 1.25fr;gap:.9rem;align-items:end;margin-bottom:1rem;padding:0 0 1rem;border-bottom:1px solid #dce6eb}.ed-listado-filters .facetwp-facet{margin:0}.ed-listado-filters input,.ed-listado-filters select{box-sizing:border-box;width:100%;min-height:40px}.ed-filter--toggle .facetwp-facet{padding-top:.45rem}.ed-listado-workspace{display:grid;grid-template-columns:minmax(290px,.92fr) minmax(0,1.55fr) minmax(190px,.58fr);gap:.75rem;align-items:stretch}.ed-listado-results-panel{min-width:0;background:#f2f4f5;border:1px solid #dfe6e9;border-radius:4px;padding:.8rem}.ed-listado-results-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid #d8e0e4;padding:0 0 .7rem}.ed-listado-results-header h2{font-size:1.35rem;margin:0;color:#003b70}.ed-listado-pager{margin:0}.ed-listado-pager .facetwp-facet{margin:0}.ed-listado-results{max-height:calc(100vh - 330px);min-height:430px;overflow-y:auto;overscroll-behavior:contain;padding:.7rem .3rem .3rem .05rem}.ed-listado-cards{display:grid;gap:.45rem}.ed-listado-card{position:relative;background:#fff;border:1px solid #e0e6ea;border-left:5px solid transparent;border-radius:8px;padding:.85rem 1rem;cursor:pointer;box-shadow:0 2px 7px rgba(17,54,76,.08);transition:transform .15s,border-color .15s,box-shadow .15s}.ed-listado-card:hover{border-left-color:#00a9ce;box-shadow:0 6px 14px rgba(17,54,76,.16);transform:translateY(-1px)}.ed-listado-card:focus-visible{outline:3px solid rgba(0,169,206,.36);outline-offset:2px;border-left-color:#00a9ce}.ed-listado-card.is-active{border-color:#9edff0;border-left-color:#003b70;background:#f4fbfd;box-shadow:0 6px 15px rgba(0,59,112,.16)}.ed-result-card__date{display:block;color:#5c7180;font-size:.78rem;margin-bottom:.3rem}.ed-result-card__title{font-size:.9rem;line-height:1.32;margin:0;color:#18324a}.ed-result-card__tribunal{margin:.42rem 0 0;color:#4d6472;font-size:.8rem;line-height:1.3}.ed-listado-detail{min-width:0;min-height:620px;background:#fff;border:1px dashed #8fd9eb;border-radius:8px;padding:1.15rem;overflow:auto}.ed-listado-detail .elementor{max-width:100%}.ed-listado-placeholder{min-height:540px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#647783;padding:2rem}.ed-listado-placeholder__icon{width:64px;height:64px;border-radius:50%;background:#e0f5fa;position:relative;margin-bottom:1.25rem}.ed-listado-placeholder__icon:before{content:"";position:absolute;width:19px;height:19px;border:3px solid #00a9ce;border-radius:50%;top:18px;left:18px}.ed-listado-placeholder__icon:after{content:"";position:absolute;width:12px;height:3px;background:#00a9ce;transform:rotate(48deg);top:40px;left:38px;border-radius:2px}.ed-listado-placeholder h2{margin:0 0 .45rem;color:#18324a;font-size:1.3rem}.ed-listado-placeholder p{max-width:310px;margin:0;line-height:1.55}.ed-listado-banner-slot{min-height:620px;border:3px solid #d6dadd;background:#fafbfc}.ed-listado-empty{color:#647783;padding:1rem}@media(max-width:1180px){.ed-listado-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.ed-listado-workspace{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)}.ed-listado-banner-slot{grid-column:1/-1;min-height:120px}.ed-listado-detail{min-height:540px}}@media(max-width:800px){.ed-listado-shell{margin:1rem auto;padding:0 .75rem}.ed-listado-topbar{grid-template-columns:1fr}.ed-listado-section-heading{align-items:center}.ed-listado-filters{grid-template-columns:1fr 1fr;gap:.8rem}.ed-filter--date{grid-column:1/-1}.ed-listado-workspace{grid-template-columns:1fr}.ed-listado-results{max-height:55vh;min-height:300px}.ed-listado-detail{min-height:420px}.ed-listado-placeholder{min-height:350px}.ed-listado-banner-slot{display:none}}@media(max-width:520px){.ed-listado-filters{grid-template-columns:1fr}.ed-filter--date{grid-column:auto}.ed-listado-results-header{align-items:flex-start;flex-direction:column}.ed-listado-pager{width:100%}.ed-result-card__title{font-size:.88rem}}

/* Placeholder del master-detail de la página principal. */
.ed-detail-placeholder{display:flex;align-items:center;justify-content:center;height:100%;min-height:500px;padding:40px;background:rgba(0,169,206,.03);border:2px dashed rgba(0,169,206,.3);border-radius:8px;margin:10px}.ed-ph-card{text-align:center;max-width:350px;font-family:sans-serif}.ed-ph-icon{background:rgba(0,169,206,.1);width:80px;height:80px;margin:0 auto 24px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#00a9ce;transition:all .4s cubic-bezier(.175,.885,.32,1.275)}.ed-ph-card:hover .ed-ph-icon{transform:scale(1.1) rotate(5deg);background:rgba(0,169,206,.2)}.ed-ph-title{font-size:22px;font-weight:600;color:#334155;margin-bottom:8px}.ed-ph-sub{font-size:15px;color:#64748b;line-height:1.5;margin-bottom:24px}.ed-ph-pill{background:#fff;border:1px solid #e2e8f0;padding:6px 14px;border-radius:20px;font-size:13px;color:#475569;display:inline-block;margin:4px;box-shadow:0 2px 4px rgba(15,23,42,.05)}@media(max-width:800px){.ed-detail-placeholder{min-height:350px}}

/* Scope the shortcode submit button so theme-wide button states cannot alter the Jurisprudencia search control. */
.ed-home-search.ed-scope.ed-juris button[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--ed-icon-space);
    height: var(--ed-h);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 var(--ed-radius) var(--ed-radius) 0;
    background: transparent;
    color: var(--ed-accent);
    line-height: 1;
    box-shadow: none;
    transform: none;
    vertical-align: middle;
}

.ed-home-search.ed-scope.ed-juris button[type="submit"]::before {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    background-color: currentColor;
    transform: none;
}

.ed-home-search.ed-scope.ed-juris button[type="submit"]:hover {
    border: 0;
    background: rgba(var(--ed-accent-rgb), .12);
    color: var(--ed-accent);
    box-shadow: none;
    transform: none;
}

.ed-home-search.ed-scope.ed-juris button[type="submit"]:focus,
.ed-home-search.ed-scope.ed-juris button[type="submit"]:focus-visible {
    border: 0;
    outline: 3px solid rgba(var(--ed-accent-rgb), .35);
    outline-offset: -3px;
    background: rgba(var(--ed-accent-rgb), .12);
    color: var(--ed-accent);
    box-shadow: none;
    transform: none;
}

.ed-home-search.ed-scope.ed-juris button[type="submit"]:active {
    border: 0;
    background: rgba(var(--ed-accent-rgb), .2);
    color: var(--ed-accent);
    transform: none;
}

/* Jurisprudencia suggestions and shared master-detail loading state. */
.ed-home-search.ed-scope.ed-juris{position:relative}.ed-juris-suggestions{position:absolute;z-index:30;top:calc(100% + 4px);right:0;left:0;overflow:hidden;border:1px solid #b9e3ed;border-radius:6px;background:#fff;box-shadow:0 8px 18px rgba(17,54,76,.14)}.ed-juris-suggestions:empty{display:none}.ed-juris-suggestions button{display:block;width:100%;padding:.62rem .75rem;border:0;border-bottom:1px solid #e5f3f6;background:#fff;color:#18324a;font:inherit;text-align:left;cursor:pointer}.ed-juris-suggestions button:last-child{border-bottom:0}.ed-juris-suggestions button:hover,.ed-juris-suggestions button:focus-visible{background:#eef9fb;outline:0}.ed-detail-loading{position:absolute;z-index:20;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.72);border-radius:inherit}.ed-detail-loading__content{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:#00a9ce;font-size:.78rem}.ed-detail-loading.ed-doc .ed-detail-loading__content{color:#6b526b}.ed-detail-loading__spinner{width:28px;height:28px;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ed-detail-spin .7s linear infinite}@keyframes ed-detail-spin{to{transform:rotate(360deg)}}#fallo-detalle-container,.ed-detail-root .ed-doc-body{position:relative}

/* Keep autocomplete rows isolated from the search icon button geometry. */
.ed-home-search.ed-scope.ed-juris .ed-juris-suggestions button{position:static!important;top:auto!important;right:auto!important;display:block!important;box-sizing:border-box!important;width:100%!important;height:auto!important;margin:0!important;padding:.62rem .75rem!important;border:0!important;border-bottom:1px solid #e5f3f6!important;border-radius:0!important;background:#fff!important;color:#18324a!important;line-height:normal!important;text-align:left!important}.ed-home-search.ed-scope.ed-juris .ed-juris-suggestions button:last-child{border-bottom:0!important}.ed-home-search.ed-scope.ed-juris .ed-juris-suggestions button:hover,.ed-home-search.ed-scope.ed-juris .ed-juris-suggestions button:focus-visible{background:#eef9fb!important;outline:0}

/* One shared master-detail height for Jurisprudencia desktop/tablet. */
@media (min-width: 801px) {
    body.page-id-11 .ed-app-view {
        --ed-master-detail-height: clamp(540px, 62vh, 680px);
    }

    body.page-id-11 .ed-app-view > .ed-master-scroll.ed-master-col,
    body.page-id-11 .ed-app-view > #fallo-detalle-container {
        height: var(--ed-master-detail-height) !important;
        min-height: var(--ed-master-detail-height) !important;
        max-height: var(--ed-master-detail-height) !important;
    }
}
