.acordep{--ac-ink:#123448;--ac-teal:#077b7a;--ac-border:#d8e8e4;--ac-mist:#edf8f3;color:var(--ac-ink);font-family:inherit;min-height:85vh;background:#f6faf8}.acordep *{box-sizing:border-box}.acordep__hero{padding:clamp(36px,6vw,84px) max(24px,calc((100vw - 1250px)/2));background:radial-gradient(circle at 92% 10%,#bce6d4 0,transparent 37%),linear-gradient(125deg,#fff,#e5f4eb);border-bottom:1px solid var(--ac-border)}.acordep__back{display:inline-block;margin-bottom:25px;color:var(--ac-teal);text-decoration:none;font-weight:700}.acordep__eyebrow{display:block;letter-spacing:.16em;font-size:12px;font-weight:800;color:var(--ac-teal)}.acordep h1{max-width:850px;font-size:clamp(39px,5.5vw,76px);line-height:1.02;letter-spacing:-.055em;margin:12px 0 22px;font-weight:850}.acordep h1 span{display:block;color:#467b70}.acordep__hero p{font-size:clamp(16px,2vw,20px);max-width:650px}.acordep__metrics{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.acordep__metrics span{border:1px solid #c9e2d7;background:#ffffffc9;border-radius:100px;padding:10px 18px;font-size:13px}.acordep__metrics strong{font-size:19px}.acordep__main{max-width:1320px;margin:auto;padding:28px 24px 80px}.acordep__toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 200px 200px;gap:12px;padding:16px;background:white;border:1px solid var(--ac-border);border-radius:22px;box-shadow:0 12px 40px #164e3520}.acordep__search,.acordep__filter{display:flex;gap:6px;flex-direction:column;font-size:12px;font-weight:800;color:#526a70}.acordep__toolbar input,.acordep__toolbar select{min-width:0;width:100%;border:1px solid #cfdfdf;background:#f9fbfb;border-radius:13px;padding:14px 13px;color:var(--ac-ink);font:inherit;font-size:15px;outline-offset:2px}.acordep__notice{color:#56706f;margin:16px 4px 22px;font-size:13px}.acordep__status{padding:22px 4px;color:#52726b}.acordep__results{display:grid;gap:24px}.acordep__group{border:1px solid var(--ac-border);border-radius:23px;padding:21px;background:#fff}.acordep__grouphead{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:18px}.acordep__grouphead h2{font-size:clamp(18px,2vw,25px);line-height:1.25;margin:0;letter-spacing:-.025em}.acordep__pill{flex-shrink:0;padding:5px 10px;background:var(--ac-mist);border-radius:100px;font-size:12px;font-weight:800;color:#20665c}.acordep__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.acordep__card{border:1px solid #dcece7;background:linear-gradient(153deg,#f9fefb,#fff);border-radius:17px;padding:20px;min-width:0;box-shadow:0 4px 14px #11382a08;transition:transform .2s,box-shadow .2s}.acordep__card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #11382a14}.acordep__kind{text-transform:uppercase;letter-spacing:.09em;color:#23796f;font-size:10px;font-weight:900}.acordep__card h3{font-size:19px;line-height:1.2;margin:10px 0 15px;overflow-wrap:anywhere}.acordep__fact{display:flex;gap:8px;margin:9px 0;font-size:13px;color:#426067;overflow-wrap:anywhere}.acordep__fact b{color:#234651}.acordep__age{margin-top:15px;display:inline-block;font-size:12px;font-weight:750;border:1px solid #bddbd0;color:#17635b;border-radius:50px;padding:6px 11px}.acordep__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:950px){.acordep__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.acordep__toolbar{grid-template-columns:1fr 1fr}.acordep__search{grid-column:1/-1}}@media(max-width:600px){.acordep__hero{padding:38px 18px}.acordep__main{padding:15px 12px 55px}.acordep__toolbar{gap:8px;padding:12px}.acordep__toolbar input,.acordep__toolbar select{padding:12px 8px}.acordep__group{padding:14px}.acordep__cards{grid-template-columns:1fr}.acordep__grouphead{align-items:center}.acordep__card{padding:17px}.acordep__metrics{gap:7px}}@media(prefers-reduced-motion:reduce){.acordep__card{transition:none}.acordep__card:hover{transform:none}}

/* Modal aislado: reglas limitadas a #apCordepModal */
#apCordepModal .modal-dialog{max-width:min(1360px,96vw)}
#apCordepModal .modal-content{border:1px solid #cfdfd4;border-radius:24px;overflow:hidden;background:#f6faf8}
#apCordepModal .ac-cordep-header{display:flex;align-items:flex-start;gap:12px;padding:21px 25px;background:linear-gradient(125deg,#f9fff9,#ddf0df);border-bottom:1px solid #d6e7d8}
#apCordepModal .ac-cordep-header .btn-close{flex-shrink:0;margin:0}
#apCordepModal .ac-cordep-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:#26725b}
#apCordepModal .ac-cordep-header h2{font-size:clamp(24px,3vw,38px);font-weight:850;letter-spacing:-.035em;color:#163d33;margin:3px 0}
#apCordepModal .ac-cordep-header p{color:#466b60;margin:0}
#apCordepModal .ac-cordep-body{padding:0}
#apCordepModal .acordep{min-height:0;background:transparent}
#apCordepModal .acordep__metrics{margin:0;padding:18px 24px 0}
#apCordepModal .acordep__toolbar{margin:18px 24px 0}
#apCordepModal .acordep__notice{margin:14px 28px}
#apCordepModal .acordep__status{margin:0 24px}
#apCordepModal .acordep__results{margin:20px 24px 30px}
#apCordepModal .acordep__group{box-shadow:0 8px 30px #1638240c}
@media(max-width:600px){#apCordepModal .modal-dialog{margin:0;max-width:100%;height:100dvh}#apCordepModal .modal-content{height:100dvh;border-radius:0}#apCordepModal .ac-cordep-header{padding:15px 17px}#apCordepModal .acordep__metrics{padding:12px 12px 0}#apCordepModal .acordep__toolbar{margin:12px 12px 0}#apCordepModal .acordep__results{margin:12px 12px 22px}#apCordepModal .acordep__notice{margin:12px 14px}}

/* APRODAP_CORDEP_TWO_COLUMNS_V3 */
/* Solo catálogo del modal CORDEP: dos fichas por fila en PC/tablet. */
#apCordepModal .acordep__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Una columna en teléfonos para mantener legibles horarios y recintos. */
@media (max-width: 600px) {
  #apCordepModal .acordep__cards { grid-template-columns: minmax(0, 1fr); }
}

/* APRODAP_CORDEP_ALWAYS_TWO_COLUMNS_V4 */
/* SOLO tarjetas interiores del modal Talleres CORDEP: siempre 2 por fila. */
#apCordepModal .acordep__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
}
/* Ajuste de legibilidad, sin volver a una columna en teléfonos. */
@media (max-width: 600px) {
  #apCordepModal .acordep__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  #apCordepModal .acordep__card { min-width: 0; padding: 11px 9px; }
  #apCordepModal .acordep__card h3 { font-size: 15px; line-height: 1.22; overflow-wrap: anywhere; }
  #apCordepModal .acordep__fact { font-size: 11px; line-height: 1.35; gap: 4px; overflow-wrap: anywhere; }
  #apCordepModal .acordep__age { font-size: 10px; overflow-wrap: anywhere; max-width: 100%; white-space: normal; }
}

/* APRODAP_CORDEP_ACTIVITY_IMAGES_V5 */
/* Tarjetas CORDEP con imagen de actividad y capa de contraste. */
#apCordepModal .acordep__card--photo{
  position:relative;
  overflow:hidden;
  min-height:240px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:0;
  border:none;
  background-color:#183444;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:0 10px 24px rgba(17,56,42,.18);
}
#apCordepModal .acordep__card--photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,15,29,.10) 0%, rgba(7,17,30,.40) 46%, rgba(7,17,30,.87) 100%);
  z-index:0;
}
#apCordepModal .acordep__card--photo > *{position:relative;z-index:1}
#apCordepModal .acordep__card--photo .acordep__kind{
  width:max-content;
  max-width:100%;
  color:#fff;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:6px 10px;
  backdrop-filter:blur(4px);
}
#apCordepModal .acordep__card--photo h3{
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.34);
  margin:12px 0 14px;
}
#apCordepModal .acordep__card--photo .acordep__fact{
  color:#edf7ff;
  text-shadow:0 1px 2px rgba(0,0,0,.55);
  margin:7px 0;
}
#apCordepModal .acordep__card--photo .acordep__fact b{color:#fff}
#apCordepModal .acordep__card--photo .acordep__age{
  margin-top:14px;
  color:#fff;
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(4px);
}
#apCordepModal .acordep__card--photo:hover{transform:translateY(-3px);box-shadow:0 16px 30px rgba(17,56,42,.22)}
@media (max-width: 600px){
  #apCordepModal .acordep__card--photo{min-height:208px}
  #apCordepModal .acordep__card--photo .acordep__kind{padding:5px 8px}
  #apCordepModal .acordep__card--photo h3{margin:9px 0 10px}
}

/* APRODAP_CORDEP_SPLIT_PHOTO_CARDS_V7 */
/* Tarjetas CORDEP con imagen arriba y contenido abajo para máxima legibilidad. */
#apCordepModal .acordep__cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px;
}
#apCordepModal .acordep__card--split{
  padding:0;
  overflow:hidden;
  border:1px solid #dce7e5;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 22px rgba(17,56,42,.10);
}
#apCordepModal .acordep__thumb{
  height:148px;
  background-color:#dbe8e4;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
#apCordepModal .acordep__content{padding:14px 14px 13px}
#apCordepModal .acordep__card--split .acordep__kind{
  display:inline-flex;
  align-items:center;
  margin-bottom:8px;
  padding:5px 9px;
  border-radius:999px;
  background:#edf7f4;
  color:#196358;
  border:1px solid #d3e9e1;
}
#apCordepModal .acordep__card--split h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.24;
  color:#173947;
}
#apCordepModal .acordep__card--split .acordep__fact{
  margin:7px 0;
  font-size:13px;
  line-height:1.38;
  color:#486269;
}
#apCordepModal .acordep__card--split .acordep__fact b{color:#1c4350}
#apCordepModal .acordep__card--split .acordep__age{
  margin-top:12px;
  background:#f4faf8;
  border:1px solid #d9ebe5;
  color:#155f57;
}
@media (max-width: 600px){
  #apCordepModal .acordep__cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px;}
  #apCordepModal .acordep__thumb{height:102px}
  #apCordepModal .acordep__content{padding:10px 10px 11px}
  #apCordepModal .acordep__card--split .acordep__kind{font-size:9px; padding:4px 7px; margin-bottom:6px}
  #apCordepModal .acordep__card--split h3{font-size:14px; margin:0 0 8px}
  #apCordepModal .acordep__card--split .acordep__fact{font-size:11px; line-height:1.34; margin:5px 0}
  #apCordepModal .acordep__card--split .acordep__age{font-size:10px; padding:5px 8px}
}

/* APRODAP_CORDEP_SIDEBAR_V8: solo menú lateral CORDEP */
#apCordepModal .acordep__menu-action{position:sticky;top:0;z-index:4;padding:12px 24px 0;pointer-events:none}
#apCordepModal .acordep__menu-button{pointer-events:auto;display:inline-flex;align-items:center;gap:9px;border:1px solid #b7dad3;border-radius:999px;background:#0b736a;color:white;padding:11px 17px;font-size:14px;line-height:1.25;font-weight:800;box-shadow:0 7px 20px #0b52462b;cursor:pointer}
#apCordepModal .acordep__menu-button:focus-visible,#apCordepModal .acordep__menu-close:focus-visible,#apCordepModal .acordep__menu-show:focus-visible{outline:3px solid #ffb347;outline-offset:3px}
#apCordepModal .acordep__filter-backdrop:not([hidden]){position:fixed;inset:0;background:rgba(6,20,27,.52);z-index:105;display:block}
#apCordepModal .acordep__filter-panel{position:fixed;top:0;left:0;bottom:0;width:min(380px,calc(100vw - 32px));max-width:100%;z-index:106;background:#f8fcfa;box-shadow:14px 0 40px #061a2c33;transform:translateX(-105%);transition:transform .23s ease;visibility:hidden;overflow-y:auto;overscroll-behavior:contain;padding:22px 17px max(26px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:20px}
#apCordepModal .acordep__filter-panel.is-open{transform:translateX(0);visibility:visible}
#apCordepModal .acordep__filter-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
#apCordepModal .acordep__filter-header h3{font-size:22px;font-weight:850;color:#143e3a;margin:0}
#apCordepModal .acordep__menu-close{height:40px;width:40px;border:1px solid #cbded6;border-radius:13px;background:white;color:#193f42;font-size:30px;line-height:1;cursor:pointer}
#apCordepModal .acordep__filter-panel .acordep__toolbar{display:flex;flex-direction:column;gap:18px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0}
#apCordepModal .acordep__filter-panel .acordep__search{grid-column:auto}
#apCordepModal .acordep__filter-panel .acordep__toolbar input,#apCordepModal .acordep__filter-panel .acordep__toolbar select{width:100%;min-width:0;max-width:100%;padding:12px 13px;font-size:15px}
#apCordepModal .acordep__menu-show{border:0;border-radius:15px;padding:13px;background:#0b736a;color:white;font-weight:800;cursor:pointer}
/* Pestaña fija en el extremo izquierdo, a media altura del modal. */
#apCordepModal .acordep__menu-action{position:fixed;left:0;top:50%;transform:translateY(-50%);padding:0;z-index:104}
#apCordepModal .acordep__menu-button{writing-mode:vertical-rl;transform:rotate(180deg);border-radius:0 14px 14px 0;min-height:112px;padding:15px 10px;font-size:13px;box-shadow:0 8px 18px #062c3440}
@media(max-width:600px){#apCordepModal .acordep__menu-action{padding:0;left:0;top:50%}#apCordepModal .acordep__menu-button{padding:12px 8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){#apCordepModal .acordep__filter-panel{transition:none}}

/* APRODAP_CORDEP_INFO_ACCORDION_V10: SOLO modal CORDEP */
#apCordepModal .acordep__info-accordion{
  margin:14px 24px 8px;
  border:1px solid #c9e5da;
  border-radius:16px;
  background:#fff;
  box-shadow:0 3px 12px rgba(18,52,72,.045);
  overflow:hidden;
}
#apCordepModal .acordep__info-summary{
  display:flex;align-items:center;gap:10px;
  padding:12px 15px;
  font-size:14px;font-weight:750;line-height:1.35;
  color:#164c4c;cursor:pointer;list-style:none;
}
#apCordepModal .acordep__info-summary::-webkit-details-marker{display:none}
#apCordepModal .acordep__info-summary::marker{content:''}
#apCordepModal .acordep__info-summary:focus-visible{outline:3px solid #e4a126;outline-offset:-3px}
#apCordepModal .acordep__info-icon{font-size:18px;line-height:1}
#apCordepModal .acordep__info-chevron{margin-left:auto;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
#apCordepModal .acordep__info-accordion[open] .acordep__info-chevron{transform:rotate(225deg)}
#apCordepModal .acordep__info-content{padding:0 14px 14px;border-top:1px solid #e6f1ec}
#apCordepModal .acordep__info-content .acordep__metrics{padding:12px 0 0;margin:0;gap:7px}
#apCordepModal .acordep__info-content .acordep__metrics span{font-size:12px;padding:7px 11px}
#apCordepModal .acordep__info-content .acordep__notice{font-size:12px;line-height:1.5;margin:12px 1px 0;color:#426663}
@media(max-width:600px){
  #apCordepModal .acordep__info-accordion{margin:10px 12px 6px;border-radius:13px}
  #apCordepModal .acordep__info-summary{padding:10px 12px;font-size:13px}
  #apCordepModal .acordep__info-content{padding:0 11px 12px}
}
@media(prefers-reduced-motion:reduce){#apCordepModal .acordep__info-chevron{transition:none}}

/* APRODAP_CORDEP_SINGLE_FULL_WIDTH_V11 */
/* Funciona automáticamente cuando filtros dejan 1 sola tarjeta en el grupo. */
#apCordepModal .acordep__cards > .acordep__card:only-child {
 grid-column:1 / -1;
 width:100%;
 max-width:none;
}
#apCordepModal .acordep__cards > .acordep__card--split:only-child .acordep__thumb {
 height:clamp(160px,24vw,240px);
}
@media(max-width:600px){
 #apCordepModal .acordep__cards > .acordep__card--split:only-child .acordep__thumb{height:156px}
}
/* APRODAP_CORDEP_VOICE_SEARCH_V12 */
#apCordepModal .acordep__quick-search{margin:9px 24px 3px;padding:11px 13px;border:1px solid #cce4dd;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(18,52,72,.045)}
#apCordepModal .acordep__quick-label{display:block;color:#24565a;font-weight:800;font-size:13px;margin-bottom:7px}
#apCordepModal .acordep__quick-controls{display:flex;align-items:center;gap:9px}
#apCordepModal .acordep__quick-controls input{min-width:0;flex:1;width:100%;border-radius:12px;padding:11px 12px;border:1px solid #c9dedb;color:#163d4c;background:#f8fbfa;font:inherit;font-size:15px}
#apCordepModal .acordep__quick-controls button{flex:none;width:45px;height:45px;border:0;border-radius:13px;background:#0b736a;color:white;cursor:pointer;font-size:20px}
#apCordepModal .acordep__quick-controls button.is-listening{background:#b4234a;box-shadow:0 0 0 4px #b4234a22}
#apCordepModal .acordep__quick-controls button:disabled{opacity:.45;cursor:not-allowed}
#apCordepModal .acordep__quick-controls :focus-visible{outline:3px solid #e7a130;outline-offset:2px}
#apCordepModal .acordep__voice-status{font-size:12px;color:#426663;margin:5px 0 0;line-height:1.4}
#apCordepModal .acordep__voice-status:empty{display:none}
@media(max-width:600px){#apCordepModal .acordep__quick-search{margin:7px 12px 2px;padding:9px 10px}#apCordepModal .acordep__quick-controls input{font-size:14px;padding:10px}#apCordepModal .acordep__quick-controls button{width:42px;height:42px}}
