/* CREZE | Directorio académico — diseño aislado de las demás páginas */
body[data-page="cursos"]{background:#f5f7f4; color:#18383b}
body[data-page="cursos"] .cp-main{--cp-teal:#123f47;--cp-deep:#0b2e34;--cp-green:#d6eb86;--cp-line:#dce5df;--cp-muted:#526865;--cp-white:#fff;--cp-radius:18px;overflow:hidden}
.cp-main svg:not(.ed-icon-defs){width:21px;height:21px;flex:none}
.cp-main .wrap{width:min(1240px,calc(100% - 72px))}
.cp-hero{background:linear-gradient(118deg,#0e3339 0%,#123f47 65%,#154d50 100%);position:relative;color:#fff;overflow:hidden}
.cp-hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 78px,rgba(223,239,172,.04) 79px 80px);pointer-events:none}
.cp-hero-inner{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:clamp(30px,4.5vw,66px);padding:36px 0 48px;position:relative}
.cp-hero-copy{min-width:0}
.cp-crumb{display:flex;align-items:center;gap:9px;color:#bbd3ce;font-size:12px;margin:0 0 27px}
.cp-crumb a{color:white;text-decoration:underline;text-underline-offset:3px}
.cp-eyebrow,.cp-kicker{display:inline-flex;align-items:center;gap:9px;letter-spacing:.15em;font-weight:800;font-size:11px;color:#52746b}
.cp-eyebrow{color:#d4eaa0}
.cp-eyebrow>span,.cp-kicker:before{content:"";display:inline-block;width:24px;height:2px;background:#adc85e}
.cp-hero h1{color:#fff;letter-spacing:-.047em;font-size:clamp(35px,4.05vw,61px);line-height:1.04;margin:15px 0 19px;font-weight:770}
.cp-hero h1 em{font-weight:650;color:#d9eda0;font-style:normal}
.cp-hero-copy>p{color:#d5e5e1!important;font-size:clamp(15px,1.45vw,18px);line-height:1.6;max-width:610px;margin:0 0 25px}
.cp-hero-buttons{display:flex;gap:10px;flex-wrap:wrap}
.cp-btn{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:13px 18px;min-height:48px;border-radius:9px;font-weight:750;text-decoration:none;line-height:1.25;font-size:14px;transition:background .18s,transform .18s;white-space:normal}
.cp-btn:hover{transform:translateY(-2px)}
.cp-btn-accent{color:#173a3c;background:#d8ed91;border:1px solid #d8ed91}
.cp-btn-accent:hover{background:#e8f5c4}
.cp-btn-glass{border:1px solid #b1d0c447;color:#fff;background:#fff0}
.cp-btn-glass:hover{background:#fff1}
.cp-hero-stats{display:flex;gap:clamp(14px,2.5vw,35px);margin-top:29px;padding-top:22px;border-top:1px solid #ffffff20}
.cp-hero-stats>div{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.cp-hero-stats>div+div{padding-left:clamp(12px,2vw,25px);border-left:1px solid #ffffff26}
.cp-hero-stats strong{font-size:clamp(27px,3vw,39px);line-height:1;color:#d9eda0;letter-spacing:-.05em}
.cp-hero-stats span{font-size:12px;color:#dceae5;line-height:1.35}
.cp-hero-art{position:relative;border:1px solid #ffffff26;min-height:365px;height:100%;max-height:420px;border-radius:20px;overflow:hidden;background:#1b474a}
.cp-hero-art img{height:100%;width:100%;object-fit:cover;object-position:center 47%;display:block}
.cp-hero-art:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#082a30b0);pointer-events:none}
.cp-hero-caption{position:absolute;z-index:1;bottom:15px;left:15px;right:15px;display:flex;align-items:center;gap:12px;border:1px solid #ffffff60;background:#123a3ee8;color:white;border-radius:12px;padding:12px}
.cp-hero-caption-icon{display:grid;place-items:center;width:43px;height:43px;flex:none;background:#d9eda0;color:#184248;border-radius:9px}
.cp-hero-caption strong,.cp-hero-caption span:not(.cp-hero-caption-icon){display:block}
.cp-hero-caption strong{font-size:15px}
.cp-hero-caption span:not(.cp-hero-caption-icon){color:#d4e3de;font-size:11px;line-height:1.4}
.cp-catalog{padding:45px 0 64px;scroll-margin-top:104px}
.cp-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.cp-intro h2{margin:5px 0 7px;font-size:clamp(29px,3.2vw,44px);line-height:1.12;letter-spacing:-.045em;color:#17383b}
.cp-intro h2 span{color:#78a240}
.cp-intro p{margin:0;color:#546964;font-size:15px}
.cp-assist{display:flex;align-items:center;gap:11px;color:#174d4b;text-decoration:none;background:white;border:1px solid #dce5df;border-radius:12px;padding:11px 15px;flex:none}
.cp-assist>svg{color:#528343}
.cp-assist span{font-size:11px;color:#667771;line-height:1.3}
.cp-assist strong{font-size:13px;display:block;color:#153e40;margin-top:2px}
.cp-filter-panel{background:white;border:1px solid #dbe6de;border-radius:17px;box-shadow:0 5px 24px #143e4010;padding:22px 24px}
.cp-filter-head,.cp-area-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cp-filter-title{display:flex;gap:9px;align-items:center;font-size:16px;font-weight:800;color:#153e40}
.cp-filter-title svg{color:#547b6d}
#catalog-reset{color:#255c58;background:#eff5ef;border:0;border-radius:7px;font:inherit;font-size:12px;font-weight:750;padding:8px 11px;min-height:36px}
#catalog-reset[hidden]{display:none!important}
.cp-fields{display:grid;grid-template-columns:1.7fr 1fr;gap:14px;margin:15px 0 20px}
.cp-fields label{min-width:0;display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:#244a48}
.cp-fields .cp-input-wrap{position:relative;display:flex;align-items:center}
.cp-input-wrap svg{position:absolute;left:14px;color:#6e8980;pointer-events:none}
.cp-fields input,.cp-fields select{display:block;width:100%;height:49px;border:1px solid #cfded5;border-radius:8px;background:#fafcf9;color:#163b3d;font-size:14px;padding:0 14px;box-shadow:none;margin:0}
.cp-fields input{padding-left:43px}
.cp-fields input:focus,.cp-fields select:focus{outline:2px solid #9cbb7c;outline-offset:1px}
.cp-area-head{font-size:12px;font-weight:750;color:#244a48;margin-bottom:9px}
.cp-area-head small{font-weight:500;color:#71837d}
.cp-area-chips{display:flex;flex-wrap:wrap;gap:7px}
.cp-area-chips button{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce5df;border-radius:100px;background:#f8faf7;font-size:12px;font-weight:680;color:#365854;padding:8px 12px;min-height:35px;line-height:1.25;white-space:normal;transition:background .15s}
.cp-area-chips button:hover{border-color:#8ba98c}
.cp-area-chips button[aria-pressed=true]{background:#173f43;color:#fff;border-color:#173f43}
.cp-area-chips button .cp-chip-count{color:#5b776d;font-size:10px;border-radius:100px;background:#eaeff0;padding:2px 5px}
.cp-area-chips button[aria-pressed=true] .cp-chip-count{color:#dceeba;background:#ffffff16}
.cp-results-head{margin-top:27px}
.cp-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.cp-tabs button{border:1px solid #d8e3dc;background:white;color:#365854;border-radius:10px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;font-size:13px;font-weight:750;transition:none}
.cp-tabs button[aria-pressed=true]{color:#fff;background:#143e43;border-color:#143e43;box-shadow:0 5px 14px #123f4720}
.cp-tabs button b{background:#edf4e9;color:#426557;border-radius:100px;padding:3px 8px;font-size:11px}
.cp-tabs button[aria-pressed=true] b{background:#d9eda0;color:#173b3d}
.cp-tabs button b[hidden]{display:none!important}
.cp-results-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}
.cp-results-summary .status{font-size:13px;font-weight:680;color:#42615a;margin:0;scroll-margin-top:100px;outline:none}
.cp-page-label{font-size:12px;color:#61766e}
.cp-note{display:flex;align-items:center;gap:10px;border:1px solid #dce5d5;background:#edf4e8;color:#526b54;border-radius:8px;font-size:12px;padding:10px 13px;margin:12px 0 18px;line-height:1.45}
.cp-note svg{color:#6f884c;width:18px!important;height:18px!important}
body[data-page="cursos"] #list.cp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;align-items:stretch;min-height:120px}
body[data-page="cursos"] #list.cp-grid>.empty{grid-column:1/-1;border:1px solid #dce5df;background:#fff;border-radius:15px;text-align:center;padding:42px 16px}
.cp-course{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dae4dd;border-radius:15px;overflow:hidden;box-shadow:0 5px 20px #133e4010;transition:box-shadow .2s,border-color .2s}
.cp-course:hover{border-color:#a5baab;box-shadow:0 10px 24px #133e4020}
.cp-cover{position:relative;aspect-ratio:1.86;overflow:hidden;background:#e6eee8;flex:none}
.cp-cover img{height:100%;width:100%;display:block;object-fit:cover;object-position:center}
.cp-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0b2e3440 0%,transparent 34%,transparent 65%,#10323745 100%);pointer-events:none}
.cp-kind{position:absolute;left:13px;top:13px;z-index:1;display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:7px 9px;background:#123f47ed;color:white;font-size:10px;font-weight:780;letter-spacing:.045em;text-transform:uppercase;line-height:1.15}
.cp-kind:before{content:"";width:6px;height:6px;border-radius:50%;background:#d8eb9b}
.cp-kind.cp-recorded{background:#295f54}
.cp-kind.cp-ended{background:#455f5a}
.cp-course-body{padding:17px 18px 16px;display:flex;flex:1;flex-direction:column;min-width:0}
.cp-area-line{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:#52776a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.35}
.cp-area-line .ed-topic-icon{width:28px!important;height:28px!important;padding:5px;border-radius:7px;background:#eaf2e8;color:#39685a;display:grid;place-items:center;flex:none}
.cp-area-line .ed-topic-icon svg{width:18px!important;height:18px!important}
.cp-course h3{color:#183b3c;font-size:clamp(17px,1.5vw,20px);margin:0 0 9px;letter-spacing:-.025em;line-height:1.28;overflow-wrap:anywhere;font-weight:760}
.cp-course .cp-description{color:#5a6c66;font-size:13px;line-height:1.52;margin:0 0 15px}
.cp-meta{margin-top:auto;background:#f5f8f4;border:1px solid #e5ebe3;border-radius:9px;padding:10px 11px;display:flex;align-items:center;gap:11px;color:#25514b;min-height:60px}
.cp-meta svg{width:20px!important;height:20px!important;color:#3e7367}
.cp-meta div{min-width:0}
.cp-meta strong{font-size:13px;line-height:1.35;display:block;overflow-wrap:anywhere}
.cp-meta small{font-size:11px;color:#667a70;display:block;margin-top:3px;line-height:1.32}
.cp-meta.cp-referential{background:#f6f7ed;border-color:#e5e8d6;color:#4b6543}
.cp-meta.cp-referential svg{color:#718b50}
.cp-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:14px}
.cp-card-actions .cp-details{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #143f43;border-radius:8px;padding:9px 12px;background:#143f43;color:white;font:inherit;font-size:13px;font-weight:750;line-height:1.25;text-align:center}
.cp-card-actions .cp-details:hover{background:#276158}
.cp-card-actions .cp-details svg{width:15px!important;height:15px!important}
.cp-card-actions .cp-card-wa{display:grid;place-items:center;min-height:44px;min-width:44px;border:1px solid #cfe2d2;border-radius:8px;background:#eef5eb;color:#32684f;padding:8px;text-decoration:none}
.cp-card-actions .cp-card-wa:hover{background:#dfefdb}
.cp-card-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-top:12px;align-items:center}
.cp-card-bottom a{font-size:11px;font-weight:750;color:#355d54;text-decoration:none;display:flex;align-items:center;gap:5px;line-height:1.35}
.cp-card-bottom a:hover{text-decoration:underline;text-underline-offset:3px}
.cp-card-bottom svg{width:15px!important;height:15px!important}
.cp-card-bottom .cp-flyer{color:#597a3f}
.cp-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:29px 0 10px}
.cp-pagination[hidden]{display:none!important}
.cp-pagination button{border:1px solid #cfded5;background:#fff;color:#244d47;border-radius:8px;min-width:41px;min-height:44px;font:inherit;font-size:13px;font-weight:700;padding:8px 13px}
.cp-page-numbers{display:flex;align-items:center;gap:5px}
.cp-page-numbers span{padding:0 3px;color:#76897f}
.cp-pagination button[aria-current=page]{background:#123f47;border-color:#123f47;color:#fff}
.cp-pagination button:disabled{opacity:.43;cursor:not-allowed}
.cp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cp-photo-source{text-align:right;font-size:10px;color:#647a70;margin:18px 0 29px}
.cp-photo-source a{color:#41695a;text-decoration:underline;text-underline-offset:2px}
.cp-support{padding:28px 33px;border-radius:17px;background:linear-gradient(115deg,#123f47,#1c514f);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cp-support .cp-kicker{color:#d9eda0}
.cp-support h2{color:#fff;font-size:clamp(24px,3vw,36px);letter-spacing:-.04em;margin:8px 0}
.cp-support p{color:#d5e5df;margin:0;line-height:1.5;font-size:14px;max-width:610px}
.cp-support>div:last-child{display:flex;flex-direction:column;gap:9px;flex-shrink:0}
.cp-main :focus-visible{outline:3px solid #99bf63;outline-offset:3px}
body[data-page="cursos"] #modal{width:min(650px,calc(100% - 28px));padding:0;border:none;border-radius:16px;background:#fff;overflow:auto;max-height:90dvh}
body[data-page="cursos"] #modal .x{position:absolute;top:12px;right:12px;z-index:10;color:#133e43;background:#fff;border:1px solid #d6e3da;display:grid;place-items:center;box-shadow:0 4px 12px #0002}
.cp-dialog-cover{width:100%;height:185px;display:block;object-fit:cover;background:#dbe7dc}
.cp-dialog-body{padding:23px 25px 27px;color:#193e40}
.cp-dialog-body .micro{color:#50776a}
body[data-page="cursos"] .cp-dialog-body h2{font-size:clamp(25px,3.3vw,34px);line-height:1.18;letter-spacing:-.035em;margin:8px 0 12px;overflow-wrap:anywhere}
.cp-dialog-body p{font-size:15px;line-height:1.55}
.cp-dialog-body .cp-meta{margin:15px 0}
.cp-dialog-body .cp-meta svg{width:21px;height:21px;flex:none}
.cp-dialog-body .stack{display:flex;flex-direction:column;gap:8px}
.cp-dialog-body .stack .btn{min-height:46px}
.cp-dialog-body .cp-dialog-fine{font-size:12px;color:#677a70;margin-top:14px}
@media (max-width:1050px){
 .cp-main .wrap{width:min(100% - 44px,1240px)}
 .cp-hero-inner{gap:24px;grid-template-columns:1.08fr .92fr}
 .cp-hero-art{min-height:320px}
 body[data-page="cursos"] #list.cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cp-course h3{font-size:19px}
}
@media (max-width:800px){
 .cp-main .wrap{width:calc(100% - 36px)}
 .cp-hero-inner{grid-template-columns:1fr;padding:25px 0 29px;gap:23px}
 .cp-hero h1{font-size:clamp(35px,6.1vw,49px)}
 .cp-hero-art{height:230px;min-height:0}
 .cp-hero-stats{margin-top:22px}
 .cp-catalog{padding-top:32px}
 .cp-assist{display:none}
 .cp-intro{margin-bottom:17px}
 .cp-filter-panel{padding:17px}
 .cp-card-actions .cp-details{font-size:13px}
 .cp-support{padding:25px;align-items:start}
}
@media (max-width:585px){
 .cp-main .wrap{width:calc(100% - 28px)}
 .cp-hero-inner{padding-top:22px}
 .cp-crumb{margin-bottom:17px}
 .cp-hero h1 br{display:none}
 .cp-hero h1{font-size:clamp(30px,8.5vw,39px)}
 .cp-hero h1 em{display:block}
 .cp-hero-copy>p{font-size:15px;margin-bottom:20px}
 .cp-hero-art{height:195px;border-radius:13px}
 .cp-hero-caption{bottom:10px;left:10px;right:10px;padding:9px}
 .cp-hero-stats strong{font-size:29px}
 .cp-hero-stats span{font-size:11px}
 .cp-btn{font-size:13px;padding:13px 14px}
 .cp-hero-buttons .cp-btn{flex:1}
 .cp-filter-panel{padding:14px;border-radius:13px}
 .cp-fields{grid-template-columns:1fr;gap:12px;margin:15px 0}
 .cp-area-head small{display:none}
 .cp-area-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:6px;padding-bottom:7px;margin-right:-5px}
 .cp-area-chips button{white-space:nowrap;flex:none}
 .cp-tabs{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px;scrollbar-width:thin}
 .cp-tabs button{font-size:12px;flex:none;min-height:46px;gap:5px;padding:9px 11px;white-space:nowrap}
 .cp-tabs button svg{width:16px;height:16px}
 .cp-tabs button b{padding:2px 6px}
 .cp-results-head{margin-top:21px}
 .cp-results-summary{margin-top:14px}
 .cp-results-summary .status{font-size:12px}
 .cp-page-label{font-size:11px}
 .cp-note{font-size:11px}
 body[data-page="cursos"] #list.cp-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .cp-cover{aspect-ratio:1.92}
 .cp-course-body{padding:16px}
 .cp-course h3{font-size:20px}
 .cp-course .cp-description{font-size:14px}
 .cp-meta strong{font-size:14px}
 .cp-card-actions .cp-details{font-size:14px;min-height:47px}
 .cp-card-actions .cp-card-wa{min-height:47px;min-width:47px}
 .cp-card-bottom a{font-size:12px}
 .cp-pagination{gap:6px;margin-top:23px}
 .cp-pagination button{padding:8px 10px;min-width:36px;min-height:40px}
 .cp-pagination>button>span{display:none}
 .cp-page-numbers{gap:4px}
 .cp-photo-source{text-align:left}
 .cp-support{flex-direction:column;padding:21px}
 .cp-support>div:last-child{width:100%}
}
@media (prefers-reduced-motion:reduce){.cp-main *{transition:none!important;scroll-behavior:auto!important}}
