/* V36 · Agenda, ficha institucional de eventos y administración */
.ci-v36-agenda-grid,.ci-v10-public-grid{gap:18px!important}
.ci-v36-event-card{display:grid!important;grid-template-columns:145px minmax(0,1fr);gap:18px;align-items:stretch!important;padding:16px!important;min-width:0;border:1px solid #deebf2!important;border-radius:17px!important;box-shadow:0 8px 26px rgba(0,48,73,.045)!important}
.ci-v36-event-card .ci-v36-event-cover{height:154px;min-height:154px;border-radius:12px;overflow:hidden;background:#e7f1f6}
.ci-v36-event-cover>img{width:100%;height:100%;object-fit:cover}
.ci-v36-event-placeholder{height:100%;display:grid;place-items:center;padding:18px;color:#4a7d98;font-size:16px;font-weight:900;text-align:center;background:linear-gradient(135deg,#e6f3f8,#d9e9f3)}
.ci-v36-event-main{min-width:0;display:flex;flex-direction:column;gap:10px}
.ci-v36-event-card h3{font:800 clamp(19px,2vw,24px)/1.24 Outfit,'DM Sans',system-ui,sans-serif!important;margin:0!important;color:#003049;overflow-wrap:anywhere}
.ci-v36-event-summary{font-size:13px!important;line-height:1.65!important;color:#5b7688!important;margin:0!important;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.ci-v36-event-chips,.ci-v36-event-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.ci-v36-state,.ci-v36-cert-tag{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #cfe4ef;border-radius:999px;font:800 10px/1.35 'DM Sans',system-ui,sans-serif;letter-spacing:.015em;color:#23627f;background:#eef7fb}
.ci-v36-state--finished{background:#eef1f4;border-color:#d8e0e6;color:#587080}
.ci-v36-state--ongoing{background:#e6f6ee;border-color:#aedcc1;color:#196b4d}
.ci-v36-state--available{background:#e4f3fa;border-color:#a9cfdf;color:#155e7e}
.ci-v36-state--upcoming{background:#fff8e9;border-color:#e8d9b7;color:#785d2e}
.ci-v36-state--closed{background:#f4eef5;border-color:#e5d8e6;color:#705775}
.ci-v36-cert-tag{background:#fff9ed;color:#7b5a27;border-color:#ead8b2}
.ci-v36-event-metadata{display:flex;gap:7px 18px;flex-wrap:wrap;color:#657e8e;font-size:11px;font-weight:650}
.ci-v36-event-card .ci-event-tile__buttons{margin-top:auto;flex-wrap:wrap;justify-content:flex-start;gap:9px}
.ci-v36-event-card .ci-event-tile__buttons .ci-btn{min-height:37px;font-size:11px}
.ci-v36-archive-section{padding-top:35px!important;background:#f6f9fb}
.ci-v36-archive-grid .ci-v36-event-card{background:#fff}
.ci-v36-empty-agenda{grid-column:1/-1;border:1px dashed #c9dce7;border-radius:14px;background:#f7fbfd;padding:21px;color:#627f90;font-size:13px}
.ci-v36-event-page{background:#f4f8fb}
.ci-v36-event-main{padding:26px 0 75px}
.ci-v36-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:23px;color:#718c9d;font-size:12px}
.ci-v36-breadcrumb a{color:#365f76;font-weight:750;text-decoration:none}
.ci-v36-breadcrumb a:hover{text-decoration:underline}
.ci-v36-event-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.34fr);gap:19px;align-items:start}
.ci-v36-event-primary,.ci-v36-event-aside{min-width:0;display:grid;gap:19px}
.ci-v36-event-hero,.ci-v36-event-section,.ci-v36-side-card{background:#fff;border:1px solid #dce9f0;border-radius:18px;overflow:hidden;box-shadow:0 6px 24px rgba(0,48,73,.035)}
.ci-v36-event-cover-panel{height:clamp(180px,29vw,300px);background:linear-gradient(135deg,#003049,#28688e);overflow:hidden;display:grid;place-items:center}
.ci-v36-event-cover-panel img{width:100%;height:100%;object-fit:contain;background:#eff7fa}
.ci-v36-event-cover-panel img[hidden],.ci-v36-cover-placeholder[hidden]{display:none!important}
.ci-v36-cover-placeholder{color:#d9edf8;display:grid;gap:12px;text-align:center;letter-spacing:.12em;font-weight:750}
.ci-v36-cover-placeholder strong{font:850 clamp(22px,3vw,38px)/1.2 Outfit,system-ui,sans-serif;letter-spacing:0}
.ci-v36-event-hero-body{padding:clamp(21px,3vw,36px)}
.ci-v36-event-category{display:block;font-size:10px;letter-spacing:.1em;color:#5b7f96;font-weight:800;margin-top:17px}
.ci-v36-event-hero h1{font:850 clamp(32px,4.2vw,53px)/1.12 Outfit,'DM Sans',system-ui,sans-serif;letter-spacing:-.045em;color:#003049;margin:10px 0 16px;overflow-wrap:anywhere}
.ci-v36-event-lead{font-size:15px;line-height:1.8;color:#506e7f;white-space:pre-line;margin:0}
.ci-v36-event-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:22px;border-top:1px solid #e7eef3;margin-top:23px}
.ci-v36-event-dates>div{display:grid;gap:6px}
.ci-v36-event-dates span{font-size:10px;letter-spacing:.09em;color:#748d9d;font-weight:800}
.ci-v36-event-dates strong{font-size:13px;color:#003049;line-height:1.5}
.ci-v36-event-section{padding:clamp(22px,3vw,32px)}
.ci-v36-section-heading h2{font:800 23px/1.3 Outfit,'DM Sans',system-ui,sans-serif;color:#003049;margin:9px 0 17px}
.ci-v36-event-description{font-size:14px;line-height:1.9;color:#4e6e80;overflow-wrap:anywhere;white-space:normal}
.ci-v36-event-description p{white-space:pre-line;margin:0 0 19px}
.ci-v36-event-description p:last-child{margin-bottom:0}
.ci-v36-description-list{padding-left:24px;margin:6px 0 21px;display:grid;gap:7px}
.ci-v36-event-section>p{font-size:13px;line-height:1.8;color:#526d80}
.ci-v36-side-card{padding:23px}
.ci-v36-side-card-header h2{font:800 22px/1.25 Outfit,system-ui,sans-serif;color:#003049;margin:8px 0 16px}
.ci-v36-registration-period{background:#f3f8fb;border-radius:11px;padding:12px 14px;color:#41677f;line-height:1.7;font-size:12px;margin:0 0 13px}
.ci-v36-event-login{display:grid;gap:9px}
.ci-v36-event-login p{font-size:12px;line-height:1.7;color:#536f80;margin:0 0 4px}
.ci-v36-event-login .ci-btn{justify-content:center}
.ci-v36-registration-confirmed{padding:12px 14px;border-radius:10px;background:#e8f7ee;border:1px solid #bddfc9;color:#1d6442;font-size:12px;font-weight:850}
.ci-v36-event-register{padding-top:6px}
.ci-v36-event-register h3{font:800 18px/1.25 Outfit,system-ui,sans-serif;margin:8px 0;color:#003049}
.ci-v36-event-register>p{color:#567080;font-size:12px;line-height:1.7}
.ci-v36-event-register label{display:grid;gap:7px;font-size:12px;font-weight:750;color:#315a71}
.ci-v36-event-register label small{font-size:10px;color:#7890a0;font-weight:600}
.ci-v36-event-register input{border:1px solid #c9dce6;border-radius:10px;padding:11px 12px;min-height:42px;min-width:0;width:100%;box-sizing:border-box;font-size:13px;color:#003049}
.ci-v36-event-register input[readonly]{background:#f6f9fc;color:#5c7586}
.ci-v36-event-links{display:grid;gap:12px}
.ci-v36-useful-link{display:grid;gap:5px;padding:12px;border:1px solid #e0edf3;background:#f7fafc;border-radius:11px;overflow-wrap:anywhere}
.ci-v36-useful-link>span{font-size:10px;letter-spacing:.05em;color:#718b9b;font-weight:850;text-transform:uppercase}
.ci-v36-useful-link strong,.ci-v36-useful-link-action{font-size:13px;color:#003049;font-weight:800;line-height:1.5}
.ci-v36-useful-link-action:hover{text-decoration:underline}
.ci-v36-resource-description{white-space:pre-line}
.ci-v36-event-extra{background:#f7fbfd;border:1px solid #dceaf2;border-radius:13px;padding:16px;margin:14px 0}
.ci-v36-event-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ci-v36-event-extra-grid label{display:grid;gap:7px;font-size:12px;font-weight:750}
.ci-v36-event-extra-grid input{box-sizing:border-box;width:100%;min-width:0}
.ci-v36-editor-hint{display:block;color:#688495;font-size:11px;line-height:1.6;margin-top:6px}
.ci-v36-certificate-control{display:flex!important;margin:16px 0 5px!important;align-items:center}
.ci-v36-certificate-control input{width:auto}
#admin-event-form textarea[name="description"],#admin-manage-form textarea[name="description"]{width:100%;min-height:205px;resize:vertical;line-height:1.65}
@media(max-width:1030px){.ci-v36-event-layout{grid-template-columns:1fr}.ci-v36-event-aside{grid-row:1}.ci-v36-event-cover-panel{height:235px}}
@media(max-width:680px){.ci-v36-event-card{grid-template-columns:105px minmax(0,1fr);gap:12px;padding:12px!important}.ci-v36-event-card .ci-v36-event-cover{min-height:130px}.ci-v36-event-card h3{font-size:19px}.ci-v36-event-metadata{font-size:10px}.ci-v36-event-dates,.ci-v36-event-extra-grid{grid-template-columns:1fr}.ci-v36-event-hero h1{font-size:34px}}
@media(max-width:440px){.ci-v36-event-card{grid-template-columns:1fr}.ci-v36-event-card .ci-v36-event-cover{height:160px}.ci-v36-event-cover-panel{height:190px}.ci-v36-side-card{padding:18px}}

/* Mantener ocultos certificados y controles hasta confirmación de datos. */
.ci-v36-cert-tag[hidden],#event-certificate-details[hidden],#event-login[hidden],
#event-existing[hidden],#event-register[hidden],#event-private-resources[hidden],
#event-links-section[hidden],.ci-v36-event-cover-panel img[hidden],
.ci-v36-cover-placeholder[hidden]{display:none!important}
