﻿/* ===== HERO (Dark Navy) ===== */
@keyframes piHeroIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pi-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 165px 20px 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2a6b 0%, #1558A0 55%, #2E86DE 100%);
  animation: piHeroIn 0.8s ease both;
}
.pi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/G%3E%3C/svg%3E");
  pointer-events: none;
}
.pi-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.pi-hero-overlay { max-width: 680px; position: relative; z-index: 1; }
.pi-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  color: #60A5FA;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pi-hero-dot {
  width: 8px; height: 8px;
  background: #3B82F6;
  border-radius: 50%;
  flex-shrink: 0;
}
.pi-hero h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.pi-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}
.pi-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.pi-hero-badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.4px;
}

/* ===== SECCIONES ===== */
.pi-section {
  padding: 60px 0;
}
.pi-section--alt { }

.pi-section-header {
  margin-bottom: 32px;
}
.pi-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EBF3FB;
  color: #2E86DE;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.pi-section-header h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #1558A0;
  margin: 0 0 6px;
}
.pi-section-header p {
  font-size: 13px;
  color: #777;
  margin: 0;
}

/* ===== TARJETAS ===== */
.pi-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pi-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.09);
  display: flex;
  overflow: hidden;
  border-left: 4px solid #2E86DE;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pi-section--alt .pi-card { background: #ffffff; }
.pi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.pi-card-media {
  position: relative;
  flex: 0 0 58%;
  height: 220px;
  overflow: hidden;
}
.pi-card-media img.pi-photo {
  width: 100%;
  height: 220px !important;
  display: block;
  object-fit: cover;
  object-position: center;
}

.pi-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}
.pi-date-badge img {
  height: 62px !important;
  width: auto !important;
  max-width: none !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.pi-coming {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.pi-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.pi-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2E86DE;
  background: #EBF3FB;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 2px;
}

.pi-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1558A0;
  margin: 0;
  line-height: 1.3;
}

.pi-detail {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.pi-detail i { color: #2E86DE; font-size: 13px; }

.pi-btn {
  display: inline-block;
  background: #1558A0;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  margin-top: 8px;
  width: fit-content;
  transition: background 0.2s;
}
.pi-btn:hover { background: #2E86DE; color: #fff !important; }

@media (max-width: 600px) {
  .pi-card { flex-direction: column; }
  .pi-card-media { width: 100%; height: 200px; }
  .pi-card-media img.pi-photo { height: 200px !important; }
}

/* ===== FILTER BAR ===== */
.pi-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pi-search {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid #dde4ef;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: #1558A0;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232E86DE' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.099zm-5.44 1.406a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11'/%3E%3C/svg%3E") no-repeat 14px center;
}
.pi-search:focus { border-color: #2E86DE; box-shadow: 0 0 0 3px rgba(46,134,222,0.12); }

.pi-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pi-filter-btn {
  background: #EBF3FB;
  color: #2E86DE;
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.pi-filter-btn:hover { background: #2E86DE; color: #fff; }
.pi-filter-btn.active { background: #1558A0; color: #fff; }

/* ===== CATALOG ===== */
.pi-catalog {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pi-cat-title {
  font-size: 14px;
  font-weight: 700;
  color: #1558A0;
  background: #EBF3FB;
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
  border-left: 4px solid #2E86DE;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pi-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dde4ef;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  font-size: 13px;
}
.pi-table thead tr { background: #ffffff; }
.pi-table thead th {
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  color: #2E86DE;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
  border-bottom: 1px solid #dde4ef;
}
.pi-table thead th:last-child { width: 94px; text-align: center; }
.pi-table tbody tr { border-bottom: 1px solid #f0f4f8; transition: background 0.15s; }
.pi-table tbody tr:last-child { border-bottom: none; }
.pi-table tbody tr:nth-child(even) { background: #ffffff; }
.pi-table tbody tr:hover { background: #eef4fb; }
.pi-table td {
  padding: 8px 14px;
  vertical-align: middle;
  color: #444;
  line-height: 1.4;
}
.pi-table td:last-child { width: 94px; text-align: center; }
.pi-table td a { color: #1558A0; text-decoration: none; font-size: 13px; }
.pi-table td a:hover { color: #2E86DE; text-decoration: underline; }

.pi-item-type {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 74px;
  text-align: center;
}
.pi-item-type.maestria    { background: #e8f4fd; color: #1565c0; }
.pi-item-type.especialidad{ background: #fce8f3; color: #880e4f; }
.pi-item-type.diplomado   { background: #e8f5e9; color: #2e7d32; }
.pi-item-type.curso       { background: #fff8e1; color: #e65100; }
.pi-item-type.taller      { background: #fbe9e7; color: #bf360c; }
.pi-item-type.doctorado   { background: #ede7f6; color: #4527a0; }

.pi-empty {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 20px;
}

/* ===== STATS STRIP ===== */
.pi-stats-strip {
  padding: 22px 0;
  background: linear-gradient(135deg, #071d4a 0%, #0d3a6e 100%);
  border-bottom: 3px solid #2E86DE;
}
.pi-stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.pi-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pi-stat-n {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}
.pi-stat-l {
  font-size: 10px;
  font-weight: 600;
  color: #a0bdd8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pi-stats-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 600px) {
  .pi-stats-inner { gap: 24px; }
  .pi-stats-div { display: none; }
}

/* ===== EVENT CARD ===== */
.pi-event-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.09);
  display: flex;
  overflow: hidden;
  border: 1px solid #e4edf7;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pi-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.pi-edate {
  flex: 0 0 88px;
  min-width: 88px;
  background: linear-gradient(160deg, #0b2a6b 0%, #1558A0 55%, #2E86DE 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  gap: 0;
}
.pi-eday {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}
.pi-emon {
  font-size: 13px;
  font-weight: 700;
  color: #c8dff0;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}
.pi-eyr {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
}
.pi-ebody {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.pi-ebody h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1558A0;
  margin: 0;
  line-height: 1.3;
}
.pi-emeta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 2px 0;
}
.pi-elabel {
  display: inline-block;
  background: #EBF3FB;
  color: #1558A0;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .pi-event-card { flex-direction: column; }
  .pi-edate { flex-direction: row; min-width: 0; width: 100%; padding: 12px 20px; gap: 10px; justify-content: flex-start; }
  .pi-eday { font-size: 30px; }
  .pi-emon { letter-spacing: 1px; margin-top: 0; }
  .pi-eyr { margin-top: 0; }
}

/* ===== SIDEBAR LAYOUT ===== */
.pi-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.pi-sidebar {
  flex: 0 0 240px;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4edf7;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.pi-sidebar .pi-search {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}
.pi-sidebar-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2E86DE;
  margin: 16px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f4;
}
.pi-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pi-sidebar-nav .pi-filter-btn {
  width: 100%;
  text-align: left;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}
.pi-main {
  flex: 1;
  min-width: 0;
}
@media (max-width: 860px) {
  .pi-layout { flex-direction: column; }
  .pi-sidebar {
    flex: none;
    width: 100%;
    min-width: 0;
    position: static;
  }
  .pi-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pi-sidebar-nav .pi-filter-btn { width: auto; text-align: center; }
}

/* ===== PROGRAM TABLES ===== */
.pi-prog-group {
  margin-bottom: 48px;
}
.pi-prog-group-title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ddd;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
}
.pi-prog-table {
  width: 100%;
  border-collapse: collapse;
}
.pi-prog-table thead th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.pi-th-prog  { background: #26a69a; text-align: left !important; width: 52%; }
.pi-th-inicio{ background: #c62828; width: 33%; }
.pi-th-dur   { background: #f9a825; width: 15%; }
.pi-prog-table tbody tr:nth-child(odd)  { background: #616161; color: #fff; }
.pi-prog-table tbody tr:nth-child(even) { background: #d4d4d4; color: #333; }
.pi-prog-table tbody tr:nth-child(odd) td a  { color: #e8e8e8; text-decoration: underline; }
.pi-prog-table tbody tr:nth-child(even) td a { color: #1558A0; text-decoration: underline; }
.pi-prog-table td {
  padding: 9px 14px;
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}
.pi-prog-table td:nth-child(2),
.pi-prog-table td:last-child { text-align: center; }
.pi-prog-table td.has-arrow::before {
  content: "► ";
  color: #ffc107;
  font-weight: 700;
}
@media (max-width: 640px) {
  .pi-prog-table { font-size: 11px; }
  .pi-prog-table td { padding: 7px 8px; font-size: 11px; }
  .pi-prog-table thead th { font-size: 9px; padding: 8px; }
  .pi-th-inicio { width: auto; }
  .pi-th-dur { display: none; }
  .pi-prog-table td:last-child { display: none; }
}

/* ── Migrated from inline <style> ── */

    /* Flecha dropdown en navbar */
    .nav-arrow {
      font-size: 10px;
      margin-left: 3px;
      transition: transform 0.2s ease;
      vertical-align: middle;
    }
    .dropdown:hover .nav-arrow,
    .dropdown.open .nav-arrow { transform: rotate(180deg); }

    /* Logo INICIO en navbar */
    .nav-inicio-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none !important;
      margin-right: -8px;
      padding: 4px 0px 4px 4px;
      gap: 2px;
      flex-shrink: 0;
    }
    .nav-inicio-logo img {
      height: 32px;
      width: auto;
      object-fit: contain;
    }
    .nav-inicio-logo span {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 1px;
      color: #1558A0;
      text-transform: uppercase;
      line-height: 1;
    }
    .nav-inicio-logo:hover span { color: #2E86DE; }

/* ===== TWO-COLUMN SECTION LAYOUT ===== */
.pi-sec-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
}
.pi-section .container { max-width: 1080px; }
.pi-sec-main { min-width: 0; }
.pi-cat-group { margin-bottom: 48px; }
@media (max-width: 960px) {
  .pi-sec-body { grid-template-columns: 1fr; }
  .pi-sec-sidebar { position: static !important; order: -1; }
}

/* ===== SIDEBAR ===== */
.pi-sec-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pi-side-cta {
  background: linear-gradient(150deg, #0A1628, #1558A0);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
}
.pi-side-cta-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.pi-side-cta p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 18px;
}
.pi-side-btn {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  margin-bottom: 9px;
  letter-spacing: 0.4px;
  transition: opacity 0.2s, transform 0.2s;
}
.pi-side-btn:last-child { margin-bottom: 0; }
.pi-side-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.pi-side-btn-primary { background: #fff; color: #1558A0 !important; }
.pi-side-btn-wa {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.28);
}
.pi-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pi-side-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2E86DE;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8eef4;
}
.pi-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pi-side-list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 11px;
  color: #4d4d4d;
  line-height: 1.4;
}
.pi-side-date {
  flex-shrink: 0;
  background: #0b2a6b;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}
.pi-side-info-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}
.pi-side-info-item:last-child { margin-bottom: 0; }
.pi-side-info-item i { color: #2E86DE; font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.pi-side-info-item a { color: #1558A0; text-decoration: none; }
.pi-side-info-item a:hover { text-decoration: underline; }

/* ===== PROGRAM CARDS ===== */
.pi-prog-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 720px) {
  .pi-prog-cards { grid-template-columns: 1fr; }
}
.pi-prog-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.pi-prog-card:hover {
  box-shadow: 0 4px 18px rgba(21,88,160,0.12);
  transform: translateY(-2px);
  border-color: #BFDBFE;
  text-decoration: none !important;
  color: inherit;
}
.pi-prog-card-date {
  flex-shrink: 0;
  background: #0b2a6b;
  border-radius: 9px;
  width: 52px;
  min-width: 52px;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* ── Colores por tipo (mismo esquema que home / oferta-academica) ── */
.pi-prog-card--ec     .pi-prog-card-date { background: #046d8b; }
.pi-prog-card--ec     .pi-prog-card-cat  { color: #046d8b; }
.pi-prog-card--esp    .pi-prog-card-date { background: #309292; }
.pi-prog-card--esp    .pi-prog-card-cat  { color: #309292; }
.pi-prog-card--maes   .pi-prog-card-date { background: #2fb8ac; }
.pi-prog-card--maes   .pi-prog-card-cat  { color: #2fb8ac; }
.pi-prog-card--doc    .pi-prog-card-date { background: #93a42a; }
.pi-prog-card--doc    .pi-prog-card-cat  { color: #93a42a; }
.pi-prog-card--online .pi-prog-card-date { background: #ecbe13; }
.pi-prog-card--online .pi-prog-card-cat  { color: #b08a00; }
/* Congresos: color de la marca de cada evento */
.pi-prog-card--congreso-altadir   .pi-prog-card-date { background: #0d2b5e; }
.pi-prog-card--congreso-altadir   .pi-prog-card-cat  { color: #0d2b5e; }
.pi-prog-card--congreso-jefas-gdl .pi-prog-card-date { background: #0d4d20; }
.pi-prog-card--congreso-jefas-gdl .pi-prog-card-cat  { color: #0d4d20; }
.pi-prog-card--congreso-jefas-mer .pi-prog-card-date { background: #3d0e54; }
.pi-prog-card--congreso-jefas-mer .pi-prog-card-cat  { color: #3d0e54; }
.pi-prog-card-day {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}
.pi-prog-card-mon {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 3px;
}
.pi-prog-card-body { flex: 1; min-width: 0; }
.pi-prog-card-cat {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #1558A0;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.pi-prog-card-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0;
}
.pi-prog-card-note {
  display: inline-block;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 5px;
  text-transform: uppercase;
}
.pi-card-note-amber { background: #FEF9C3; color: #854D0E; }
.pi-card-note-red   { background: #FEE2E2; color: #991B1B; }
.pi-cat-group .pi-prog-group-title { margin-bottom: 14px; }
  