/* Public employment uses the same visual language as Somontano Formación. */
.sep-list,.sep-detail{--sep-blue:#183d62;--sep-ink:#24364b;--sep-muted:#53677b;--sep-line:#dbe3ec;--sep-soft:#f3f6f9;color:var(--sep-ink);font-family:inherit;line-height:1.6;box-sizing:border-box}
.sep-list *,.sep-detail *{box-sizing:border-box}
.sep-list a,.sep-detail a{color:var(--sep-blue)}
.sep-list .sep-heading{text-align:center;padding:10px 0 26px}
.sep-list .sep-heading h2{font-family:inherit;font-size:clamp(1.65rem,3vw,2.25rem);font-weight:700;line-height:1.2;letter-spacing:-.025em;color:var(--sep-ink);margin:8px 0 10px}
.sep-list .sep-heading p{color:var(--sep-muted);margin:0;font-size:.96rem}
.sep-list .sep-filter-panel{border:1px solid var(--sep-line);border-radius:12px;background:#fff;margin:0 0 24px;overflow:hidden}
.sep-list summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 18px;font-size:.9rem;font-weight:600;cursor:pointer;list-style:none;color:var(--sep-blue)}
.sep-list summary::-webkit-details-marker{display:none}
.sep-list summary::after{content:'+';margin-left:auto;font-size:1.4rem;font-weight:400;line-height:1}
.sep-list details[open] summary{border-bottom:1px solid var(--sep-line)}
.sep-list details[open] summary::after{content:'−'}
.sep-list .sep-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end;padding:20px;background:var(--sep-soft);margin:0}
.sep-list .sep-filters label{display:flex;flex-direction:column;gap:6px;font-size:.84rem;font-weight:600}
.sep-list :is(input,select){display:block;width:100%;min-width:0;min-height:44px;border:1px solid #a6b4c3;border-radius:6px;background:#fff;color:var(--sep-ink);padding:9px 12px;font:inherit;line-height:1.3;box-shadow:none}
.sep-list button,.sep-detail .sep-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:7px;background:var(--sep-blue);color:#fff!important;padding:10px 20px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.sep-list button:hover,.sep-detail .sep-links a:hover{background:#102e4a}
.sep-list .sep-count{font-size:.93rem;font-weight:600;color:var(--sep-muted);margin:0 0 28px}
.sep-list .sep-items{display:grid;gap:12px}
.sep-list .sep-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;min-width:0;padding:20px;background:#fff;border:1px solid var(--sep-line);border-radius:12px;box-shadow:0 2px 8px #183d6204;transition:border-color .18s,box-shadow .18s}
.sep-list .sep-item:hover{border-color:#8ca8c2;box-shadow:0 5px 18px #183d6210}
.sep-list .sep-item>div{min-width:0}
.sep-list .sep-item h3{font-family:inherit;font-size:1.03rem;font-weight:700;line-height:1.45;color:var(--sep-ink);margin:8px 0;overflow-wrap:anywhere}
.sep-list .sep-item h3 a{color:var(--sep-ink)!important;text-decoration:none}
.sep-list .sep-item p{margin:0;font-size:.78rem;color:var(--sep-muted);overflow-wrap:anywhere}
.sep-list .sep-badge,.sep-detail .sep-badge{display:inline-block;border-radius:30px;background:#e8eff6;color:var(--sep-blue);padding:3px 9px;font-size:.63rem;font-weight:700;letter-spacing:.025em;text-transform:uppercase;line-height:1.5}
.sep-list .sep-closed,.sep-detail .sep-closed{background:var(--sep-soft);color:var(--sep-muted)}




.sep-detail dl{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr);gap:10px 18px;padding:24px;background:var(--sep-soft);border:1px solid var(--sep-line);border-radius:12px}
.sep-detail dt{font-size:.8rem;font-weight:600;color:var(--sep-muted)}
.sep-detail dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.sep-detail .sep-links{display:flex;flex-wrap:wrap;gap:20px;margin-top:28px}
.sep-list .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:20px 4px 0 0;padding:8px 12px;border:1px solid var(--sep-line);border-radius:7px;text-decoration:none}
.sep-list .page-numbers.current{background:var(--sep-blue);color:#fff}
.sep-list :is(a,button,input,select,summary):focus-visible,.sep-detail a:focus-visible{outline:3px solid #537b9f;outline-offset:3px}
@media(max-width:767px){.sep-list .sep-heading{text-align:left;padding-bottom:22px}.sep-list .sep-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:14px}.sep-list .sep-filters button{grid-column:1/-1;width:100%}.sep-list .sep-item h3{font-size:.94rem}.sep-detail dl{grid-template-columns:minmax(0,1fr);gap:5px;padding:18px}.sep-detail dd{margin-bottom:14px}}
@media(max-width:390px){.sep-list .sep-filters{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.sep-list .sep-item{transition:none}}

.sep-list .sep-badge.sep-badge-featured{margin:0;padding:3px 7px;background:#fff0cb;color:#634100;white-space:nowrap;text-transform:none}

.sep-list .sep-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px}
.sep-list .sep-item-heading{display:flex;align-items:center;gap:6px;margin-bottom:3px}
.sep-list .sep-item-heading h3{min-width:0;margin:0}
.sep-list .sep-item-heading h3 a>span,.sep-list .sep-item-main>p{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sep-list .sep-item-heading .sep-badge{margin:0;flex-shrink:0}
.sep-list .sep-item-heading a::after{content:'';position:absolute;inset:0;border-radius:12px}
.sep-list .sep-item:focus-within{outline:3px solid #537b9f;outline-offset:3px}
.sep-list .sep-item-arrow{color:var(--sep-blue);font-weight:700}

.sep-list .sep-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.sep-list .sep-toolbar .sep-count{margin:0}

.sep-detail dl{background-color:#e4edf7}
