/* CEPEC · Charla CTA — 3 columns, scoped to this module */
.cepec-charla {
  --cepec-blue: #1458bb;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  background: #fff;
  color: #151d29;
  box-shadow: 0 12px 38px rgba(27, 56, 107, .055);
  box-sizing: border-box;
}
.cepec-charla *, .cepec-charla *::before, .cepec-charla *::after { box-sizing: border-box; }
/* Imagen real en capa independiente: evita fallos de variables CSS
   y asegura que quede delante del fondo blanco. */
.cepec-charla__photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 47%;
  pointer-events: none;
  overflow: hidden;
}
.cepec-charla__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: .86;
}
.cepec-charla::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255,255,255,.96) 48%, rgba(255,255,255,.65) 66%, rgba(255,255,255,.18) 100%);
  pointer-events: none;
}
.cepec-charla__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1.04fr) minmax(0, .88fr);
  align-items: center;
  width: 100%;
  min-height: 265px;
  padding: clamp(30px, 4.3vw, 66px);
  gap: clamp(24px, 3.2vw, 56px);
}
.cepec-charla__heading, .cepec-charla__info, .cepec-charla__action { min-width: 0; }
.cepec-charla__heading { padding-right: clamp(12px, 2.2vw, 38px); border-right: 1px solid rgba(36,70,110,.16); }
.cepec-charla__info { padding-right: clamp(12px, 2.2vw, 38px); border-right: 1px solid rgba(36,70,110,.16); }
.cepec-charla__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--cepec-blue);
  background: #e8f0ff;
  margin-bottom: 22px;
}
.cepec-charla h2 {
  font-family: 'Futura', 'Century Gothic', sans-serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
  font-size: clamp(28px, 2.5vw, 43px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.015em !important;
  color: #151d29;
  margin: 0 !important;
  padding: 0;
  overflow-wrap: normal;
}
.cepec-charla p {
  font-family: 'Fira Sans', 'Fira', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.46 !important;
  margin: 0 !important;
}
.cepec-charla .cepec-charla__lead { font-size: clamp(17px, 1.35vw, 23px) !important; color: #202a38; }
.cepec-charla .cepec-charla__date { font-size: clamp(18px, 1.35vw, 23px) !important; font-weight: 700; color: var(--cepec-blue); margin-top: 12px !important; }
.cepec-charla .cepec-charla__hint { font-size: clamp(14px, 1vw, 17px) !important; color: #67778b; margin-top: 18px !important; }
.cepec-charla__action { display: flex; align-items: center; justify-content: center; }
.cepec-charla__button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 330px;
  min-height: 58px;
  padding: 17px 22px;
  border-radius: 8px;
  background: var(--cepec-blue);
  color: #fff !important;
  font-family: 'Futura', 'Century Gothic', sans-serif !important;
  font-weight: 700;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .075em;
  text-decoration: none !important;
  transition: background-color .2s ease, transform .2s ease;
}
.cepec-charla__button:hover, .cepec-charla__button:focus-visible { background: #0c468f; transform: translateY(-2px); color: #fff !important; }
.cepec-charla__button:focus-visible { outline: 2px solid #0c468f; outline-offset: 3px; }
.cepec-charla__button svg { flex: 0 0 auto; }
.cepec-charla__button--disabled { opacity: .58; cursor: not-allowed; }
.cepec-charla__button--disabled:hover { transform: none; background: var(--cepec-blue); }
@media (max-width: 1200px) {
  .cepec-charla__grid { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr) minmax(0,.9fr); gap: 24px; padding: 34px; }
  .cepec-charla__heading, .cepec-charla__info { padding-right: 20px; }
  .cepec-charla h2 { font-size: clamp(26px, 3vw, 36px) !important; }
  .cepec-charla__wide-break { display: none; }
}
@media (max-width: 900px) {
  .cepec-charla__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 30px; padding: 34px; }
  .cepec-charla__info { border-right: 0; padding-right: 0; }
  .cepec-charla__action { grid-column: 1 / -1; justify-content: flex-start; }
  .cepec-charla__photo { inset: 0 0 0 36%; }
  .cepec-charla::after { background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 38%,rgba(255,255,255,.75) 100%); }
}
@media (max-width: 640px) {
  .cepec-charla { border-radius: 14px; }
  .cepec-charla__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 30px 24px 34px; min-height: auto; }
  .cepec-charla__heading { border: 0; padding: 0; }
  .cepec-charla__info { border: 0; padding: 22px 0 0; border-top: 1px solid rgba(36,70,110,.16); }
  .cepec-charla__symbol { width: 44px; height: 44px; margin-bottom: 17px; }
  .cepec-charla h2 { font-size: clamp(30px, 8.3vw, 42px) !important; line-height: 1.13 !important; }
  .cepec-charla__desktop-break { display: none; }
  .cepec-charla .cepec-charla__lead { font-size: 18px !important; }
  .cepec-charla .cepec-charla__date { font-size: 19px !important; }
  .cepec-charla .cepec-charla__hint { font-size: 15px !important; }
  .cepec-charla__action { display: block; }
  .cepec-charla__button { max-width: none; min-height: 54px; }
  .cepec-charla__photo { inset: 0; }
  .cepec-charla__photo img { object-position: 70% center; opacity: .35; }
  .cepec-charla::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 60%, rgba(255,255,255,.88) 100%); }
}
@media (prefers-reduced-motion: reduce) { .cepec-charla__button { transition: none; } }
