/* =========================================================
   Contenido vivo: actualidad y datos revisables
   ========================================================= */
.live-block {
  margin: 26px 0;
  padding: 20px 22px;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}
.live-block--news {
  border-top: 4px solid #7c3aed;
  background: linear-gradient(180deg, #fbfaff 0, #fff 42%);
}
.live-block--data {
  border-top: 4px solid #d97706;
  background: linear-gradient(180deg, #fffbeb 0, #fff 42%);
}
.live-block--case {
  border-top: 4px solid #16a34a;
  background: linear-gradient(180deg, #f4fbf6 0, #fff 42%);
}
.live-block--status {
  border-top: 4px solid #2563eb;
  background: linear-gradient(180deg, #f5f9ff 0, #fff 42%);
}
.live-block--framework {
  border-top: 4px solid #0f766e;
  background: linear-gradient(180deg, #f2fbfa 0, #fff 42%);
}
.live-block__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #667085;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.live-block__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.live-block--data .live-block__badge {
  background: #fef3c7;
  color: #b45309;
}
.live-block--case .live-block__badge {
  background: #dcfce7;
  color: #15803d;
}
.live-block--status .live-block__badge {
  background: #dbeafe;
  color: #1d4ed8;
}
.live-block--framework .live-block__badge {
  background: #ccfbf1;
  color: #0f766e;
}
.live-block h3 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 1.25rem;
  line-height: 1.3;
}
.live-block > p { margin: 0 0 12px; }
.live-block__why {
  margin: 16px 0 0;
  padding: 13px 15px;
  border-radius: 13px;
  background: #f8fafc;
  border: 1px solid #e5eaf0;
  color: #344054;
}
.live-block__why strong { color: #101828; }
.live-block__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.live-block__panel {
  padding: 14px 15px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
}
.live-block__panel strong {
  display: block;
  margin-bottom: 8px;
  color: #101828;
}
.live-block__panel ul {
  margin: 0;
  padding-left: 18px;
  color: #475467;
}
.live-block__panel li + li { margin-top: 5px; }
.live-block__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #eaecf0;
  font-size: .78rem;
}
.live-block__sources span { color: #667085; font-weight: 750; }
.live-block__sources a { color: var(--primary); font-weight: 750; }
.live-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
}
.live-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .84rem;
}
.live-table th,
.live-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eaecf0;
  text-align: left;
  vertical-align: top;
}
.live-table th {
  background: #f8fafc;
  color: #344054;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.live-table tbody tr:last-child td { border-bottom: 0; }
.live-table td:nth-child(n+3),
.live-table th:nth-child(n+3) { white-space: nowrap; text-align: right; }
.live-block__footnote {
  margin: 10px 0 0 !important;
  color: #667085;
  font-size: .78rem;
  line-height: 1.5;
}
.live-cost-example {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.live-cost-example > div {
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}
.live-cost-example strong { display: block; color: #101828; }
.live-cost-example span { display: block; margin-top: 3px; color: #667085; font-size: .78rem; }

[data-mp-block="m02_l03_current_cases"] .mini-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
@media (max-width: 720px) {
  .live-block { padding: 17px 16px; border-radius: 15px; }
  .live-block__split,
  .live-cost-example { grid-template-columns: 1fr; }
  [data-mp-block="m02_l03_current_cases"] .mini-card:last-child:nth-child(odd) { grid-column: auto; }
}


/* Taxonomía editorial para contenido que cambia con el tiempo. */
.live-section-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: fit-content;
  max-width: 100%;
  margin: 28px 0 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e4e7ec;
  background: #fff;
  font-size: .72rem;
  line-height: 1.2;
}
.live-section-tag span {
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.live-section-tag small {
  color: #667085;
  font-size: .72rem;
  font-weight: 700;
}
.live-section-tag--news { border-color: #ddd6fe; background: #faf7ff; }
.live-section-tag--news span { color: #6d28d9; }
.live-section-tag--case { border-color: #bbf7d0; background: #f4fbf6; }
.live-section-tag--case span { color: #15803d; }
.live-section-tag--status { border-color: #bfdbfe; background: #f5f9ff; }
.live-section-tag--status span { color: #1d4ed8; }
.live-section-tag--framework { border-color: #99f6e4; background: #f2fbfa; }
.live-section-tag--framework span { color: #0f766e; }
.live-section-tag--data { border-color: #fde68a; background: #fffbeb; }
.live-section-tag--data span { color: #b45309; }

/* Citas enlazadas a la biblioteca editorial (course_resources). */
.live-citations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #eaecf0;
}
.live-citations__heading {
  grid-column: 1 / -1;
  display: block;
  margin-bottom: 2px;
  color: #667085;
  font-size: .72rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.live-citation {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.live-citation:hover {
  border-color: #b8c4cf;
  background: #f8fafc;
  transform: translateY(-1px);
}
.live-citation strong {
  display: block;
  color: #101828;
  font-size: .82rem;
  line-height: 1.35;
}
.live-citation > span {
  display: block;
  color: #475467;
  font-size: .76rem;
  line-height: 1.42;
}
.live-citation small {
  display: block;
  margin-top: auto;
  padding-top: 3px;
  color: #667085;
  font-size: .69rem;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .live-citations {
    grid-template-columns: 1fr;
  }
}

.live-content-stream{margin:38px 0 8px;padding-top:28px;border-top:1px solid #e4e7ec}
.live-content-stream__head{margin-bottom:18px}
.live-content-stream__head h2{margin:4px 0 6px}
.live-content-stream__head p{margin:0;color:#667085}
