/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   ESTILOS GENERALES
   ========================================================== */

/* ==========================================================
   01. VARIABLES DE DISEÑO
   ========================================================== */

:root {
  --rdc-primary: #56358b;
  --rdc-primary-dark: #402568;
  --rdc-secondary: #009fe3;
  --rdc-accent: #ffca28;

  --rdc-text: #252525;
  --rdc-muted: #595959;
  --rdc-white: #ffffff;
  --rdc-background: #f5f6f8;
  --rdc-border: #e2e5ea;

  --rdc-radius: 14px;
  --rdc-container: 1240px;

  --rdc-shadow:
    0 5px 20px rgba(0, 0, 0, 0.06);
}


/* ==========================================================
   02. BLOQUE CABECERA INSTITUCIONAL
   ========================================================== */

.rdc-cabecera {
  width: 100%;
  max-width: var(--rdc-container);
  margin: 0 auto 40px;

  font-family: inherit;
  color: var(--rdc-text);
}

.rdc-cabecera,
.rdc-cabecera * {
  box-sizing: border-box;
}


/* ==========================================================
   HERO INSTITUCIONAL
   ========================================================== */

.rdc-hero {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;

  gap: 35px;

  padding: 55px 60px;

  background: linear-gradient(
    120deg,
    var(--rdc-primary-dark),
    var(--rdc-primary)
  );

  border-radius: var(--rdc-radius);

  color: var(--rdc-white);

  overflow: hidden;
  isolation: isolate;
}


/* Elemento decorativo */

.rdc-hero::before {
  content: "";

  position: absolute;
  top: -180px;
  right: -120px;

  width: 500px;
  height: 500px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  z-index: -1;
  pointer-events: none;
}


/* Contenido */

.rdc-hero__content {
  min-width: 0;
}


/* Texto superior */

.rdc-hero__eyebrow {
  display: block;

  margin-bottom: 18px;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.5px;
  line-height: 1.5;

  text-transform: uppercase;

  color: var(--rdc-white);
}


/* Título principal */

.rdc-hero .rdc-hero__title {
  margin: 0 0 20px;
  padding: 0;

  font-family: inherit;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;

  color: var(--rdc-white);
}


/* Línea amarilla */

.rdc-hero__line {
  width: 80px;
  height: 5px;

  margin-bottom: 22px;

  background: var(--rdc-accent);
  border-radius: 10px;
}


/* Descripción */

.rdc-hero .rdc-hero__description {
  max-width: 650px;

  margin: 0;

  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  line-height: 1.5;

  color: var(--rdc-white);
}


/* Ilustración */

.rdc-hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
}

.rdc-hero__graphic svg {
  display: block;

  width: 100%;
  max-width: 240px;
  height: auto;
}


/* ==========================================================
   INTRODUCCIÓN INSTITUCIONAL
   ========================================================== */

.rdc-intro {
  padding: 40px 20px 0;
}


/* Título reutilizable */

.rdc-section-title {
  position: relative;

  margin: 0 0 25px;
  padding: 0 0 15px;

  font-family: inherit;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;

  color: var(--rdc-primary);
}

.rdc-section-title::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 55px;
  height: 4px;

  background: var(--rdc-accent);
  border-radius: 4px;
}


/* Párrafos */

.rdc-intro > p {
  margin: 0 0 20px;

  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;

  color: var(--rdc-text);

  text-align: left;
}


/* ==========================================================
   PILARES: INFORMACIÓN, DIÁLOGO Y PARTICIPACIÓN
   ========================================================== */

.rdc-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;

  margin: 35px 0;
}

.rdc-pillar {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 14px;

  min-height: 140px;
  padding: 25px 15px;

  background: var(--rdc-background);

  border: 1px solid var(--rdc-border);
  border-radius: var(--rdc-radius);

  text-align: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rdc-pillar svg {
  display: block;

  width: 42px;
  height: 42px;

  color: var(--rdc-primary);
}

.rdc-pillar span {
  font-size: 18px;
  font-weight: 700;

  color: var(--rdc-primary);
}

.rdc-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--rdc-shadow);
}


/* ==========================================================
   INVITACIÓN A EXPLORAR
   ========================================================== */

.rdc-intro__callout {
  padding: 22px 25px;

  background: var(--rdc-background);

  border-left: 5px solid var(--rdc-primary);
  border-radius: 0 10px 10px 0;
}

.rdc-intro__callout p {
  margin: 0;

  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;

  color: var(--rdc-text);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

  .rdc-hero {
    grid-template-columns: minmax(0, 1fr) 180px;

    padding: 40px 35px;
    gap: 25px;
  }

  .rdc-intro {
    padding: 30px 10px 0;
  }

  .rdc-pillars {
    gap: 15px;
  }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

  .rdc-cabecera {
    margin-bottom: 30px;
  }

  .rdc-hero {
    grid-template-columns: 1fr;

    gap: 20px;
    padding: 35px 24px;

    text-align: center;
  }

  .rdc-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .rdc-hero .rdc-hero__title {
    font-size: 34px;
  }

  .rdc-hero__line {
    margin: 0 auto 20px;
  }

  .rdc-hero .rdc-hero__description {
    font-size: 17px;
  }

  .rdc-hero__graphic svg {
    max-width: 135px;
  }

  .rdc-intro {
    padding: 30px 0 0;
  }

  .rdc-intro > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .rdc-pillars {
    gap: 10px;
    margin: 25px 0;
  }

  .rdc-pillar {
    min-height: 110px;
    padding: 15px 8px;
    gap: 10px;
  }

  .rdc-pillar svg {
    width: 30px;
    height: 30px;
  }

  .rdc-pillar span {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .rdc-intro__callout {
    padding: 18px;
  }

  .rdc-intro__callout p {
    font-size: 16px;
  }

}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  .rdc-pillar {
    transition: none;
  }

  .rdc-pillar:hover {
    transform: none;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 02 - NAVEGACIÓN DE MÓDULOS
   VERSIÓN CORREGIDA PARA DRUPAL Y CKEDITOR
   ========================================================== */

#rdc-navegacion {
  width: 100%;
  max-width: var(--rdc-container, 1240px);
  margin: 0 auto 45px;
  padding: 10px 20px 20px;
  color: var(--rdc-text);
}

#rdc-navegacion,
#rdc-navegacion * {
  box-sizing: border-box;
}


/* ENCABEZADO */

#rdc-navegacion .rdc-navegacion__header {
  margin-bottom: 30px;
}

#rdc-navegacion .rdc-navegacion__header > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--rdc-muted);
}


/* GRID PRINCIPAL */

#rdc-navegacion .rdc-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  width: 100%;
}


/* CONTENEDOR DE CADA TARJETA */

#rdc-navegacion .rdc-modules-grid > .rdc-module-card {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  min-height: 290px;

  margin: 0;
  padding: 25px;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-border);
  border-top: 4px solid var(--rdc-primary);
  border-radius: var(--rdc-radius);

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}


/* ENCABEZADO INTERNO */

#rdc-navegacion .rdc-module-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
  margin: 0 0 20px;
}


/* ICONOS */

#rdc-navegacion .rdc-module-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 58px;
  height: 58px;

  background: #f0ebf7;
  border-radius: 12px;

  color: var(--rdc-primary);

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

#rdc-navegacion .rdc-module-card__icon svg {
  display: block;

  width: 30px;
  height: 30px;

  color: inherit;
}


/* NUMERACIÓN */

#rdc-navegacion .rdc-module-card__number {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;

  color: #a59ab6;
}


/* TÍTULO */

#rdc-navegacion .rdc-module-card__title {
  margin: 0 0 12px;
  padding: 0;

  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;

  color: var(--rdc-primary);

  text-align: left;
  overflow-wrap: anywhere;
}

#rdc-navegacion .rdc-module-card__title::before,
#rdc-navegacion .rdc-module-card__title::after {
  content: none;
}


/* DESCRIPCIÓN */

#rdc-navegacion .rdc-module-card__description {
  margin: 0 0 22px;
  padding: 0;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;

  color: var(--rdc-muted);
  text-align: left;
}


/* ENLACE DE ACCIÓN */

#rdc-navegacion a.rdc-module-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  width: 100%;

  margin: auto 0 0;
  padding: 16px 0 0;

  background: transparent;

  border: 0;
  border-top: 1px solid var(--rdc-border);
  border-radius: 0;

  font-size: 15px;
  font-weight: 700;

  color: var(--rdc-primary);
  text-decoration: none;
}


/* PERMITIR CLIC EN TODA LA TARJETA */

#rdc-navegacion a.rdc-module-card__action::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--rdc-radius);
}


/* FLECHA */

#rdc-navegacion .rdc-module-card__action > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 32px;
  height: 32px;

  background: #f0ebf7;
  border-radius: 50%;

  font-size: 21px;
  line-height: 1;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}


/* HOVER */

@media (hover: hover) {

  #rdc-navegacion .rdc-module-card:hover {
    transform: translateY(-5px);

    border-color: var(--rdc-primary);

    box-shadow:
      0 10px 25px rgba(86, 53, 139, 0.13);
  }

  #rdc-navegacion .rdc-module-card:hover
  .rdc-module-card__icon {
    background: var(--rdc-primary);
    color: var(--rdc-white);
  }

  #rdc-navegacion .rdc-module-card:hover
  .rdc-module-card__action > span {
    background: var(--rdc-accent);
    transform: translateX(3px);
  }

}


/* TARJETA ACTIVA */

#rdc-navegacion .rdc-module-card.is-active {
  background: var(--rdc-primary);

  border-color: var(--rdc-primary);
  border-top-color: var(--rdc-accent);
}

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__title,

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__description,

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__number,

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__action {
  color: var(--rdc-white);
}

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__icon {
  background: var(--rdc-white);
  color: var(--rdc-primary);
}

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__action {
  border-top-color: rgba(255, 255, 255, 0.3);
}

#rdc-navegacion .rdc-module-card.is-active
.rdc-module-card__action > span {
  background: var(--rdc-accent);
  color: var(--rdc-primary-dark);
}


/* TARJETA 07 - ANCHO COMPLETO */

#rdc-navegacion .rdc-modules-grid >
.rdc-module-card--wide {
  grid-column: 1 / -1;

  display: grid;

  grid-template-columns:
    125px minmax(0, 1fr) 210px;

  align-items: center;

  gap: 25px;

  min-height: 150px;
}

#rdc-navegacion .rdc-module-card--wide
.rdc-module-card__header {
  margin: 0;
}

#rdc-navegacion .rdc-module-card--wide
.rdc-module-card__description {
  margin: 0;
}

#rdc-navegacion .rdc-module-card--wide
.rdc-module-card__action {
  margin: 0;
  padding: 0;
  border: 0;
}


/* ACCESIBILIDAD */

#rdc-navegacion .rdc-module-card:focus-within {
  outline: 3px solid var(--rdc-primary-dark);
  outline-offset: 4px;
}


/* ANCLAS */

#rdc-programacion,
#rdc-estrategia,
#rdc-consulta,
#rdc-informes,
#rdc-memorias,
#rdc-evaluacion,
#rdc-herramientas {
  scroll-margin-top: 110px;
}


/* TABLET */

@media (max-width: 991px) {

  #rdc-navegacion {
    padding: 10px 10px 20px;
  }

  #rdc-navegacion .rdc-modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  #rdc-navegacion .rdc-modules-grid >
  .rdc-module-card {
    padding: 22px;
  }

  #rdc-navegacion .rdc-modules-grid >
  .rdc-module-card--wide {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  #rdc-navegacion .rdc-module-card--wide
  .rdc-module-card__action {
    grid-column: 2;
  }

}


/* MÓVIL */

@media (max-width: 767px) {

  #rdc-navegacion {
    padding: 5px 0 15px;
    margin-bottom: 30px;
  }

  #rdc-navegacion .rdc-modules-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #rdc-navegacion .rdc-modules-grid >
  .rdc-module-card {
    padding: 22px;
    min-height: auto;
  }

  #rdc-navegacion .rdc-module-card__title {
    font-size: 19px;
  }

  #rdc-navegacion .rdc-module-card__icon {
    width: 50px;
    height: 50px;
  }

  #rdc-navegacion .rdc-module-card__icon svg {
    width: 27px;
    height: 27px;
  }

  #rdc-navegacion .rdc-module-card__number {
    font-size: 26px;
  }

  #rdc-navegacion .rdc-modules-grid >
  .rdc-module-card--wide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  #rdc-navegacion .rdc-module-card--wide
  .rdc-module-card__header {
    margin-bottom: 20px;
  }

  #rdc-navegacion .rdc-module-card--wide
  .rdc-module-card__description {
    margin-bottom: 22px;
  }

  #rdc-navegacion .rdc-module-card--wide
  .rdc-module-card__action {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rdc-border);
  }

}


/* MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {

  #rdc-navegacion .rdc-module-card,
  #rdc-navegacion .rdc-module-card__icon,
  #rdc-navegacion .rdc-module-card__action > span {
    transition: none;
  }

  #rdc-navegacion .rdc-module-card:hover,
  #rdc-navegacion .rdc-module-card:hover
  .rdc-module-card__action > span {
    transform: none;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   03. ESTILOS GENERALES DE MÓDULOS DESPLEGABLES
   ========================================================== */

.rdc-panel {
  width: 100%;
  max-width: var(--rdc-container, 1240px);

  margin: 0 auto 35px;

  background: var(--rdc-white);
  border: 1px solid var(--rdc-border);
  border-radius: var(--rdc-radius);

  box-shadow: var(--rdc-shadow);

  overflow: hidden;
  scroll-margin-top: 110px;

  color: var(--rdc-text);
}

.rdc-panel,
.rdc-panel * {
  box-sizing: border-box;
}


/* OCULTAR MÓDULOS MEDIANTE JAVASCRIPT */

.rdc-panel[hidden] {
  display: none !important;
}


/* ==========================================================
   CABECERA REUTILIZABLE
   ========================================================== */

.rdc-panel .rdc-panel__header {
  display: flex;
  align-items: center;

  gap: 22px;
  padding: 30px 35px;

  background: linear-gradient(
    120deg,
    var(--rdc-primary-dark),
    var(--rdc-primary)
  );

  border-bottom: 4px solid var(--rdc-accent);

  color: var(--rdc-white);
}


/* ICONO */

.rdc-panel .rdc-panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 65px;
  height: 65px;

  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;

  color: var(--rdc-white);
}

.rdc-panel__icon svg {
  display: block;
  width: 35px;
  height: 35px;
}


/* ENCABEZADO */

.rdc-panel__heading {
  flex: 1;
  min-width: 0;
}

.rdc-panel .rdc-panel__eyebrow {
  display: block;

  margin: 0 0 8px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.5;

  text-transform: uppercase;
  color: var(--rdc-white);
}

.rdc-panel .rdc-panel__title {
  margin: 0;
  padding: 0;

  font-family: inherit;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;

  text-align: left;
  color: var(--rdc-white);
}

.rdc-panel .rdc-panel__title::before,
.rdc-panel .rdc-panel__title::after {
  content: none;
}


/* CONTENIDO */

.rdc-panel .rdc-panel__content {
  padding: 35px;
}

.rdc-panel .rdc-panel__intro {
  margin: 0 0 30px;

  font-size: 17px;
  line-height: 1.75;

  color: var(--rdc-text);
  text-align: left;
}


/* ==========================================================
   NOTA INFORMATIVA REUTILIZABLE
   ========================================================== */

.rdc-panel .rdc-panel__note {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  margin-top: 25px;
  padding: 18px 20px;

  background: var(--rdc-background);
  border-left: 4px solid var(--rdc-primary);
  border-radius: 0 10px 10px 0;
}

.rdc-panel__note svg {
  flex-shrink: 0;

  width: 23px;
  height: 23px;

  color: var(--rdc-primary);
}

.rdc-panel .rdc-panel__note p {
  margin: 0;

  font-size: 15px;
  line-height: 1.6;

  color: var(--rdc-muted);
}


/* ==========================================================
   RESPONSIVE GENERAL DE MÓDULOS
   ========================================================== */

@media (max-width: 767px) {

  .rdc-panel {
    margin-bottom: 25px;
  }

  .rdc-panel .rdc-panel__header {
    padding: 22px 18px;
    gap: 14px;
  }

  .rdc-panel .rdc-panel__icon {
    width: 48px;
    height: 48px;
  }

  .rdc-panel__icon svg {
    width: 27px;
    height: 27px;
  }

  .rdc-panel .rdc-panel__eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .rdc-panel .rdc-panel__title {
    font-size: 22px;
  }

  .rdc-panel .rdc-panel__content {
    padding: 20px 15px;
  }

  .rdc-panel .rdc-panel__intro {
    font-size: 16px;
    margin-bottom: 22px;
  }

}

/* ==========================================================
   RDC - INTEGRACIÓN CON DRUPAL VIEWS
   Estilos reutilizables para los módulos dinámicos
   ========================================================== */

.rdc-panel.rdc-view {
  padding: 0;
  width: 100%;
}

/* HEADER DE VIEWS */

.rdc-view > .view-header {
  margin: 0;
  padding: 0;
}

.rdc-view .rdc-view-header {
  width: 100%;
  margin: 0;
  padding: 0;
}

.rdc-view .rdc-panel__content {
  padding: 30px 35px 10px;
}

.rdc-view .rdc-panel__intro {
  margin-bottom: 15px;
}

/* CONTENIDO DINÁMICO */

.rdc-view > .view-content {
  padding: 0 35px 30px;
  width: 100%;
  overflow-x: auto;
}

/* FILTROS EXPUESTOS */

.rdc-view > .view-filters {
  padding: 10px 35px 25px;
}

/* TABLAS GENERADAS POR VIEWS */

.rdc-view .view-content table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 1px solid var(--rdc-border);
  background: var(--rdc-white);
}

.rdc-view .view-content table thead th {
  padding: 16px;
  background: var(--rdc-primary);
  color: var(--rdc-white);
  font-size: 15px;
  font-weight: 700;
  vertical-align: middle;
  text-align: left;
  border: 1px solid rgba(255,255,255,.2);
}

.rdc-view .view-content table thead th a {
  color: var(--rdc-white);
}

.rdc-view .view-content table tbody td {
  padding: 18px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rdc-text);
  vertical-align: middle;
  border: 1px solid var(--rdc-border);
}

.rdc-view .view-content table tbody tr:nth-child(even) td {
  background: var(--rdc-background);
}

.rdc-view .view-content table tbody tr:hover td {
  background: #f0ebf7;
}

/* ENLACES DE LA TABLA */

.rdc-view .view-content table tbody td a {
  color: var(--rdc-primary);
  font-weight: 600;
}

/* PAGINACIÓN */

.rdc-view .pager {
  padding: 0 35px 25px;
}

/* FOOTER */

.rdc-view > .view-footer {
  padding: 0 35px 30px;
}

/* SIN RESULTADOS */

.rdc-view > .view-empty {
  padding: 20px 35px 30px;
}

/* RESPONSIVE */

@media (max-width: 767px) {

  .rdc-view .rdc-panel__content {
    padding: 20px 15px 10px;
  }

  .rdc-view > .view-content,
  .rdc-view > .view-filters,
  .rdc-view > .view-footer,
  .rdc-view > .view-empty {
    padding: 10px 15px 20px;
  }

  .rdc-view .view-content table {
    min-width: 500px;
  }

  .rdc-view .view-content table thead th,
  .rdc-view .view-content table tbody td {
    padding: 12px;
    font-size: 14px;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 03 - CRONOGRAMA TRIMESTRAL
   ========================================================== */

#rdc-programacion .rdc-table-responsive {
  width: 100%;
  max-width: 100%;

  overflow-x: auto;

  border: 1px solid var(--rdc-border);
  border-radius: 12px;

  -webkit-overflow-scrolling: touch;
}


/* TABLA PRINCIPAL */

#rdc-programacion table.rdc-quarter-table {
  width: 100%;
  min-width: 760px;

  margin: 0;

  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;

  background: var(--rdc-white);
}


/* CAPTION */

#rdc-programacion .rdc-quarter-table caption {
  caption-side: top;

  padding: 16px 20px;

  background: var(--rdc-background);

  font-size: 16px;
  font-weight: 700;

  color: var(--rdc-primary);
  text-align: left;
}


/* ENCABEZADOS */

#rdc-programacion .rdc-quarter-table thead th {
  padding: 20px 12px;

  background: var(--rdc-primary);

  border: 1px solid rgba(255, 255, 255, 0.2);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;

  color: var(--rdc-white);

  text-align: center;
  vertical-align: middle;
}


/* ANCHO DE COLUMNAS */

#rdc-programacion .rdc-quarter-table thead th:first-child {
  width: 40%;
  padding-left: 22px;
  text-align: left;
}

#rdc-programacion .rdc-quarter-table thead th:not(:first-child) {
  width: 15%;
}


/* CELDAS DEL CRONOGRAMA */

#rdc-programacion .rdc-quarter-table tbody th,
#rdc-programacion .rdc-quarter-table tbody td {
  padding: 20px 12px;

  border: 1px solid var(--rdc-border);

  background: transparent;

  vertical-align: middle;
}


/* PRIMERA COLUMNA */

#rdc-programacion .rdc-quarter-table tbody th {
  padding: 22px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;

  color: var(--rdc-text);
  text-align: left;
}

#rdc-programacion .rdc-quarter-table tbody th strong {
  display: block;

  margin-bottom: 5px;

  font-size: 17px;
  font-weight: 700;

  color: var(--rdc-primary);
}


/* DEPENDENCIAS */

#rdc-programacion .rdc-event-dependency {
  display: block;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--rdc-text);
}


/* COLUMNAS DE TRIMESTRES */

#rdc-programacion .rdc-quarter-table tbody td {
  text-align: center;

  font-size: 15px;
  color: #767676;
}


/* FILAS ALTERNADAS */

#rdc-programacion .rdc-quarter-table tbody tr {
  background: var(--rdc-white);

  transition: background-color 0.2s ease;
}

#rdc-programacion .rdc-quarter-table tbody tr:nth-child(even) {
  background: var(--rdc-background);
}


/* ==========================================================
   FECHAS TIPO CALENDARIO
   ========================================================== */

#rdc-programacion .rdc-calendar-date {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 105px;
  min-height: 100px;

  margin: 0 auto;
  padding: 12px 6px;

  background: #f0ebf7;

  border: 1px solid #e5dcef;
  border-top: 4px solid var(--rdc-primary);
  border-radius: 10px;

  color: var(--rdc-primary);

  text-align: center;
}


/* DÍA */

#rdc-programacion .rdc-calendar-day {
  display: block;

  font-size: 34px;
  font-weight: 800;
  line-height: 1;

  color: var(--rdc-primary);
}


/* MES */

#rdc-programacion .rdc-calendar-month {
  display: block;

  margin: 7px 0 4px;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;

  text-transform: uppercase;

  color: var(--rdc-primary);
}


/* AÑO */

#rdc-programacion .rdc-calendar-year {
  display: block;

  font-size: 12px;
  font-weight: 500;

  color: var(--rdc-muted);
}


/* ==========================================================
   EFECTO HOVER
   ========================================================== */

@media (hover: hover) {

  #rdc-programacion .rdc-quarter-table tbody tr:hover {
    background: #f5f0fa;
  }

}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

#rdc-programacion .rdc-table-responsive:focus-visible {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 3px;
}


/* ==========================================================
   TABLET Y MÓVIL
   ========================================================== */

@media (max-width: 767px) {

  #rdc-programacion table.rdc-quarter-table {
    min-width: 700px;
  }

  #rdc-programacion .rdc-quarter-table thead th {
    padding: 14px 10px;
    font-size: 13px;
  }

  #rdc-programacion .rdc-quarter-table tbody th,
  #rdc-programacion .rdc-quarter-table tbody td {
    padding: 14px 10px;
  }

  #rdc-programacion .rdc-quarter-table tbody th {
    font-size: 15px;
  }

  #rdc-programacion .rdc-event-dependency {
    font-size: 14px;
  }

  #rdc-programacion .rdc-calendar-date {
    min-height: 85px;
    max-width: 90px;
  }

  #rdc-programacion .rdc-calendar-day {
    font-size: 28px;
  }

  #rdc-programacion .rdc-calendar-month {
    font-size: 10px;
  }

}


/* MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {

  #rdc-programacion .rdc-quarter-table tbody tr {
    transition: none;
  }

}

/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   INTEGRACIÓN GENERAL CON DRUPAL VIEWS
   ========================================================== */

.rdc-panel.rdc-view {
  width: 100%;
  padding: 0;
}

/* HEADER */

.rdc-view > .view-header {
  margin: 0;
  padding: 0;
}

.rdc-view .rdc-view-header {
  width: 100%;
  margin: 0;
  padding: 0;
}

.rdc-view .rdc-panel__content {
  padding: 30px 35px 15px;
}

.rdc-view .rdc-panel__intro {
  margin-bottom: 15px;
}

.rdc-view .rdc-panel__intro strong {
  color: var(--rdc-primary);
  font-weight: 700;
}

/* CONTENIDO DINÁMICO */

.rdc-view > .view-content {
  width: 100%;
  padding: 0 35px 30px;
  overflow-x: auto;
}

/* FOOTER, PAGINACIÓN Y RESULTADOS VACÍOS */

.rdc-view > .view-footer,
.rdc-view > .view-empty,
.rdc-view .pager {
  padding: 20px 35px;
}

/* RESPONSIVE */

@media (max-width: 767px) {

  .rdc-view .rdc-panel__content {
    padding: 20px 15px 10px;
  }

  .rdc-view > .view-content,
  .rdc-view > .view-footer,
  .rdc-view > .view-empty,
  .rdc-view .pager {
    padding: 15px;
  }

}

/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   FILTROS EXPUESTOS DE VIEWS
   ========================================================== */

.rdc-view .view-filters {
  margin: 0 35px 30px;
  padding: 25px;

  background: var(--rdc-background);

  border: 1px solid var(--rdc-border);
  border-radius: var(--rdc-radius);
}

/* FORMULARIO */

.rdc-view .views-exposed-form {
  margin: 0;
}

.rdc-view .views-exposed-form > .form--inline,
.rdc-view .views-exposed-form > .form-row,
.rdc-view .views-exposed-form > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;

  gap: 18px;

  margin: 0;
}

/* CAMPOS */

.rdc-view .views-exposed-form .form-item {
  flex: 1 1 200px;

  min-width: 0;
  margin: 0;
  padding: 0;
}

/* ETIQUETAS */

.rdc-view .views-exposed-form label {
  display: block;

  margin: 0 0 8px;

  font-size: 15px;
  font-weight: 600;

  color: var(--rdc-primary);
}

/* INPUTS Y SELECTS */

.rdc-view .views-exposed-form input[type="text"],
.rdc-view .views-exposed-form input[type="search"],
.rdc-view .views-exposed-form select {
  display: block;

  width: 100%;
  min-height: 46px;

  margin: 0;
  padding: 10px 14px;

  background-color: var(--rdc-white);

  border: 1px solid #c9c9d2;
  border-radius: 8px;

  font-family: inherit;
  font-size: 15px;

  color: var(--rdc-text);

  box-shadow: none;
}

/* FOCUS */

.rdc-view .views-exposed-form input:focus,
.rdc-view .views-exposed-form select:focus {
  border-color: var(--rdc-primary);

  outline: 2px solid var(--rdc-primary);
  outline-offset: 2px;
}

/* ACCIONES */

.rdc-view .views-exposed-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 10px;

  margin: 0;
  padding: 0;
}

/* BOTÓN BUSCAR */

.rdc-view .views-exposed-form input[type="submit"],
.rdc-view .views-exposed-form button[type="submit"] {
  min-height: 46px;

  margin: 0;
  padding: 12px 24px;

  background: var(--rdc-primary);

  border: 1px solid var(--rdc-primary);
  border-radius: 8px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;

  color: var(--rdc-white);

  cursor: pointer;

  transition: background-color .2s ease;
}

.rdc-view .views-exposed-form input[type="submit"]:hover,
.rdc-view .views-exposed-form button[type="submit"]:hover {
  background: var(--rdc-primary-dark);
  border-color: var(--rdc-primary-dark);
}

/* RESPONSIVE */

@media (max-width: 767px) {

  .rdc-view .view-filters {
    margin: 0 15px 20px;
    padding: 18px;
  }

  .rdc-view .views-exposed-form > .form--inline,
  .rdc-view .views-exposed-form > .form-row,
  .rdc-view .views-exposed-form > .row {
    flex-direction: column;
    align-items: stretch;

    gap: 15px;
  }

  .rdc-view .views-exposed-form .form-item {
    flex: 0 0 auto;
    width: 100%;
  }

  .rdc-view .views-exposed-form .form-actions {
    width: 100%;
  }

  .rdc-view .views-exposed-form input[type="submit"],
  .rdc-view .views-exposed-form button[type="submit"] {
    flex: 1;
  }

}

@media (prefers-reduced-motion: reduce) {

  .rdc-view .views-exposed-form input[type="submit"],
  .rdc-view .views-exposed-form button[type="submit"] {
    transition: none;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 05 - CONSULTA CIUDADANA PREVIA
   ========================================================== */


/* SUBTÍTULO DE CABECERA */

#rdc-consulta .rdc-panel__subtitle {
  margin: 8px 0 0;

  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;

  color: var(--rdc-white);
}

#rdc-consulta .rdc-panel__intro strong {
  color: var(--rdc-primary);
}


/* ==========================================================
   PARTICIPACIÓN ANTICIPADA
   ========================================================== */

#rdc-consulta .rdc-consulta-highlight {
  display: flex;
  align-items: center;

  gap: 25px;

  margin: 25px 0 35px;
  padding: 25px;

  background: #f5f1fa;

  border: 1px solid #e5dcef;
  border-left: 5px solid var(--rdc-primary);
  border-radius: 12px;
}


/* INDICADOR DE 15 DÍAS */

#rdc-consulta .rdc-consulta-highlight__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 120px;
  min-height: 110px;

  padding: 15px 10px;

  background: var(--rdc-white);
  border-radius: 12px;

  text-align: center;
}

#rdc-consulta .rdc-consulta-highlight__value {
  display: block;

  font-size: 52px;
  font-weight: 800;
  line-height: 1;

  color: var(--rdc-primary);
}

#rdc-consulta .rdc-consulta-highlight__unit {
  display: block;

  margin-top: 8px;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  color: var(--rdc-primary);
}


/* TEXTO DEL INDICADOR */

#rdc-consulta .rdc-consulta-highlight__text {
  flex: 1;
  min-width: 0;
}

#rdc-consulta .rdc-consulta-highlight__text h3 {
  margin: 0 0 8px;

  font-size: 21px;
  font-weight: 700;

  color: var(--rdc-primary);
}

#rdc-consulta .rdc-consulta-highlight__text p {
  margin: 0;

  font-size: 16px;
  line-height: 1.7;

  color: var(--rdc-text);
}


/* ==========================================================
   TÍTULO DE LA SECCIÓN
   ========================================================== */

#rdc-consulta .rdc-consulta__title {
  position: relative;

  margin: 0 0 25px;
  padding-bottom: 15px;

  font-size: 25px;
  font-weight: 700;

  color: var(--rdc-primary);
}

#rdc-consulta .rdc-consulta__title::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 55px;
  height: 4px;

  background: var(--rdc-accent);
  border-radius: 4px;
}


/* ==========================================================
   LISTADO DE CONSULTAS
   ========================================================== */

#rdc-consulta .rdc-consulta-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);

  gap: 20px;
}


/* TARJETA */

#rdc-consulta .rdc-consulta-card {
  min-width: 0;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-border);
  border-radius: 12px;

  overflow: hidden;

  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}

#rdc-consulta .rdc-consulta-card__body {
  display: flex;
  align-items: center;

  gap: 25px;
  padding: 25px;
}


/* ==========================================================
   FECHA TIPO CALENDARIO
   ========================================================== */

#rdc-consulta .rdc-consulta-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 105px;
  min-height: 110px;

  padding: 12px 6px;

  background: #f0ebf7;

  border: 1px solid #e5dcef;
  border-top: 4px solid var(--rdc-primary);
  border-radius: 10px;

  text-align: center;
}

#rdc-consulta .rdc-consulta-date__day {
  display: block;

  font-size: 36px;
  font-weight: 800;
  line-height: 1;

  color: var(--rdc-primary);
}

#rdc-consulta .rdc-consulta-date__month {
  display: block;

  margin: 7px 0 4px;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  color: var(--rdc-primary);
}

#rdc-consulta .rdc-consulta-date__year {
  display: block;

  font-size: 12px;

  color: var(--rdc-muted);
}


/* ==========================================================
   INFORMACIÓN DE LA CONSULTA
   ========================================================== */

#rdc-consulta .rdc-consulta-card__info {
  flex: 1;
  min-width: 0;
}

#rdc-consulta .rdc-consulta-card__title {
  margin: 0 0 10px;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;

  color: var(--rdc-primary);
}

#rdc-consulta .rdc-consulta-card__dependency {
  margin: 0;

  font-size: 15px;
  line-height: 1.6;

  color: var(--rdc-muted);
}


/* ==========================================================
   PIE DE TARJETA
   ========================================================== */

#rdc-consulta .rdc-consulta-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
  padding: 15px 25px;

  background: var(--rdc-background);

  border-top: 1px solid var(--rdc-border);
}

#rdc-consulta .rdc-consulta-card__format {
  font-size: 14px;
  font-weight: 500;

  color: var(--rdc-muted);
}


/* ==========================================================
   ENLACE AL DOCUMENTO
   ========================================================== */

#rdc-consulta a.rdc-consulta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  min-height: 44px;

  padding: 10px 20px;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-primary);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  color: var(--rdc-primary);
  text-decoration: none;

  transition:
    background-color .2s ease,
    color .2s ease;
}

#rdc-consulta a.rdc-consulta-link span {
  font-size: 19px;
  line-height: 1;
}

#rdc-consulta a.rdc-consulta-link:hover {
  background: var(--rdc-primary);
  color: var(--rdc-white);
  text-decoration: none;
}

#rdc-consulta a.rdc-consulta-link:focus-visible {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 3px;
}


/* EFECTO HOVER */

@media (hover: hover) {

  #rdc-consulta .rdc-consulta-card:hover {
    border-color: var(--rdc-primary);

    box-shadow: 0 5px 18px rgba(86, 53, 139, .10);
  }

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 767px) {

  #rdc-consulta .rdc-panel__subtitle {
    font-size: 14px;
  }

  #rdc-consulta .rdc-consulta-highlight {
    gap: 15px;
    padding: 15px;
    margin-bottom: 25px;
  }

  #rdc-consulta .rdc-consulta-highlight__number {
    width: 85px;
    min-height: 90px;
  }

  #rdc-consulta .rdc-consulta-highlight__value {
    font-size: 38px;
  }

  #rdc-consulta .rdc-consulta-highlight__unit {
    font-size: 10px;
  }

  #rdc-consulta .rdc-consulta-highlight__text h3 {
    font-size: 17px;
  }

  #rdc-consulta .rdc-consulta-highlight__text p {
    font-size: 14px;
  }

  #rdc-consulta .rdc-consulta__title {
    font-size: 21px;
  }

  #rdc-consulta .rdc-consulta-card__body {
    align-items: flex-start;
    gap: 15px;
    padding: 18px 15px;
  }

  #rdc-consulta .rdc-consulta-date {
    width: 80px;
    min-height: 90px;
  }

  #rdc-consulta .rdc-consulta-date__day {
    font-size: 28px;
  }

  #rdc-consulta .rdc-consulta-date__month {
    font-size: 9px;
  }

  #rdc-consulta .rdc-consulta-card__title {
    font-size: 17px;
  }

  #rdc-consulta .rdc-consulta-card__dependency {
    font-size: 14px;
  }

  #rdc-consulta .rdc-consulta-card__footer {
    flex-direction: column;
    align-items: stretch;

    gap: 12px;
    padding: 15px;
  }

  #rdc-consulta .rdc-consulta-card__format {
    text-align: center;
    font-size: 13px;
  }

  #rdc-consulta a.rdc-consulta-link {
    width: 100%;
  }

}


/* PANTALLAS PEQUEÑAS */

@media (max-width: 360px) {

  #rdc-consulta .rdc-consulta-highlight {
    flex-direction: column;
    align-items: stretch;
  }

  #rdc-consulta .rdc-consulta-highlight__number {
    width: 100%;
  }

  #rdc-consulta .rdc-consulta-card__body {
    flex-direction: column;
  }

}


/* ACCESIBILIDAD - MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {

  #rdc-consulta .rdc-consulta-card,
  #rdc-consulta a.rdc-consulta-link {
    transition: none;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 05 - CONSULTA CIUDADANA PREVIA
   ========================================================== */


/* SUBTÍTULO */

#rdc-consulta .rdc-panel__subtitle {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--rdc-white);
}

#rdc-consulta .rdc-panel__intro strong {
  color: var(--rdc-primary);
}


/* ==========================================================
   CONTENEDOR RESPONSIVE
   ========================================================== */

#rdc-consulta .rdc-table-responsive {
  width: 100%;
  max-width: 100%;

  overflow-x: auto;

  border: 1px solid var(--rdc-border);
  border-radius: 12px;

  -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   TABLA
   ========================================================== */

#rdc-consulta table.rdc-consulta-table {
  width: 100%;
  min-width: 620px;

  margin: 0;

  border-collapse: collapse;
  border-spacing: 0;

  background: var(--rdc-white);
}


/* CAPTION */

#rdc-consulta .rdc-consulta-table caption {
  caption-side: top;

  padding: 16px 20px;

  background: var(--rdc-background);

  font-size: 17px;
  font-weight: 700;

  color: var(--rdc-primary);
  text-align: left;
}


/* ==========================================================
   ENCABEZADOS
   ========================================================== */

#rdc-consulta .rdc-consulta-table thead th {
  padding: 18px 20px;

  background: var(--rdc-primary);

  border: 1px solid rgba(255, 255, 255, .2);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-white);
  text-align: left;
  vertical-align: middle;
}


/* DISTRIBUCIÓN DE COLUMNAS */

#rdc-consulta .rdc-consulta-table thead th:first-child {
  width: 60%;
}

#rdc-consulta .rdc-consulta-table thead th:nth-child(2) {
  width: 20%;
  text-align: center;
}

#rdc-consulta .rdc-consulta-table thead th:nth-child(3) {
  width: 20%;
  text-align: center;
}


/* ==========================================================
   FILAS Y CELDAS
   ========================================================== */

#rdc-consulta .rdc-consulta-table tbody th,
#rdc-consulta .rdc-consulta-table tbody td {
  padding: 22px 20px;

  background: transparent;

  border: 1px solid var(--rdc-border);

  vertical-align: middle;
}

#rdc-consulta .rdc-consulta-table tbody th {
  text-align: left;
  font-weight: 400;
}

#rdc-consulta .rdc-consulta-table tbody td {
  text-align: center;
}

#rdc-consulta .rdc-consulta-table tbody tr {
  background: var(--rdc-white);

  transition: background-color .2s ease;
}

#rdc-consulta .rdc-consulta-table tbody tr:nth-child(even) {
  background: var(--rdc-background);
}


/* ==========================================================
   NOMBRE DEL ESPACIO
   ========================================================== */

#rdc-consulta .rdc-consulta-event {
  display: block;

  margin-bottom: 7px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-primary);
}


/* DEPENDENCIA */

#rdc-consulta .rdc-consulta-dependency {
  display: block;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--rdc-muted);
}


/* ==========================================================
   FECHA DE PUBLICACIÓN
   ========================================================== */

#rdc-consulta .rdc-consulta-published {
  display: inline-block;

  padding: 9px 12px;

  background: #f0ebf7;
  border-radius: 7px;

  font-size: 14px;
  font-weight: 600;

  color: var(--rdc-primary);

  white-space: nowrap;
}


/* ==========================================================
   ENLACE AL PDF
   ========================================================== */

#rdc-consulta a.rdc-consulta-link {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 44px;
  padding: 10px 18px;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-primary);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  color: var(--rdc-primary);
  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color .2s ease,
    color .2s ease;
}

#rdc-consulta a.rdc-consulta-link span {
  font-size: 18px;
  line-height: 1;
}

#rdc-consulta a.rdc-consulta-link:hover {
  background: var(--rdc-primary);
  color: var(--rdc-white);
  text-decoration: none;
}


/* ==========================================================
   EFECTOS Y ACCESIBILIDAD
   ========================================================== */

@media (hover: hover) {

  #rdc-consulta .rdc-consulta-table tbody tr:hover {
    background: #f5f0fa;
  }

}

#rdc-consulta a.rdc-consulta-link:focus-visible,
#rdc-consulta .rdc-table-responsive:focus-visible {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 3px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 767px) {

  #rdc-consulta .rdc-panel__subtitle {
    font-size: 14px;
  }

  #rdc-consulta table.rdc-consulta-table {
    min-width: 600px;
  }

  #rdc-consulta .rdc-consulta-table thead th {
    padding: 14px 12px;
    font-size: 14px;
  }

  #rdc-consulta .rdc-consulta-table tbody th,
  #rdc-consulta .rdc-consulta-table tbody td {
    padding: 16px 12px;
  }

  #rdc-consulta .rdc-consulta-event {
    font-size: 16px;
  }

  #rdc-consulta .rdc-consulta-dependency {
    font-size: 14px;
  }

  #rdc-consulta .rdc-consulta-published {
    font-size: 13px;
    padding: 8px;
  }

  #rdc-consulta a.rdc-consulta-link {
    font-size: 13px;
    padding: 10px 12px;
  }

}


/* MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {

  #rdc-consulta .rdc-consulta-table tbody tr,
  #rdc-consulta a.rdc-consulta-link {
    transition: none;
  }

}

/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 06 - INFORMES, ACTAS Y RESPUESTAS
   ========================================================== */

.rdc-informes .rdc-panel__intro strong {
  color: var(--rdc-primary);
  font-weight: 700;
}


/* ==========================================================
   TABLA DE INFORMES
   ========================================================== */

.rdc-informes .view-content table {
  width: 100%;
  min-width: 600px;

  margin: 0;

  border-collapse: collapse;
  border-spacing: 0;

  background: var(--rdc-white);
}


/* ENCABEZADOS */

.rdc-informes .view-content table thead th {
  padding: 18px 16px;

  background: var(--rdc-primary);

  border: 1px solid rgba(255, 255, 255, .2);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-white);
  text-align: left;
  vertical-align: middle;
}

.rdc-informes .view-content table thead th a {
  color: var(--rdc-white);
}


/* CELDAS */

.rdc-informes .view-content table tbody td,
.rdc-informes .view-content table tbody th {
  padding: 20px 16px;

  border: 1px solid var(--rdc-border);

  font-size: 15px;
  line-height: 1.6;

  color: var(--rdc-text);
  vertical-align: middle;
}


/* FILAS ALTERNADAS */

.rdc-informes .view-content table tbody tr:nth-child(even) {
  background: var(--rdc-background);
}

@media (hover: hover) {

  .rdc-informes .view-content table tbody tr:hover td,
  .rdc-informes .view-content table tbody tr:hover th {
    background: #f0ebf7;
  }

}


/* ==========================================================
   TÍTULO DEL DOCUMENTO
   ========================================================== */

.rdc-informes .views-field-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;

  color: var(--rdc-primary);
}

.rdc-informes .views-field-title a {
  color: var(--rdc-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==========================================================
   ARCHIVOS PDF
   ========================================================== */

.rdc-informes .view-content .file--application-pdf {
  display: inline-block;
  max-width: 100%;
}

.rdc-informes .view-content a[href$=".pdf"],
.rdc-informes .view-content .file--application-pdf a {
  display: inline-block;

  padding: 10px 15px;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-primary);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;

  color: var(--rdc-primary);
  text-decoration: none;

  overflow-wrap: anywhere;

  transition:
    background-color .2s ease,
    color .2s ease;
}

.rdc-informes .view-content a[href$=".pdf"]:hover,
.rdc-informes .view-content .file--application-pdf a:hover {
  background: var(--rdc-primary);
  color: var(--rdc-white);
  text-decoration: none;
}


/* ACCESIBILIDAD */

.rdc-informes .view-content a:focus-visible {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 3px;
}


/* ==========================================================
   FECHAS
   ========================================================== */

.rdc-informes .view-content time {
  display: inline-block;

  padding: 7px 10px;

  background: #f0ebf7;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 600;

  color: var(--rdc-primary);

  white-space: nowrap;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 767px) {

  .rdc-informes .view-content table {
    min-width: 550px;
  }

  .rdc-informes .view-content table thead th,
  .rdc-informes .view-content table tbody td,
  .rdc-informes .view-content table tbody th {
    padding: 14px 12px;
    font-size: 14px;
  }

  .rdc-informes .views-field-title {
    font-size: 15px;
  }

  .rdc-informes .view-content a[href$=".pdf"],
  .rdc-informes .view-content .file--application-pdf a {
    padding: 9px 12px;
    font-size: 13px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .rdc-informes .view-content a {
    transition: none;
  }

}

/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 07 - MEMORIAS AUDIOVISUALES
   ========================================================== */


/* ==========================================================
   CANAL OFICIAL DE YOUTUBE
   ========================================================== */

#rdc-memorias .rdc-youtube-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 25px;

  margin: 25px 0 40px;
  padding: 30px;

  background: #f5f1fa;

  border: 1px solid #e5dcef;
  border-left: 5px solid var(--rdc-primary);
  border-radius: var(--rdc-radius);
}


/* ICONO DE YOUTUBE */

#rdc-memorias .rdc-youtube-channel__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 100px;
  height: 100px;

  background: var(--rdc-white);
  border-radius: 16px;
}

#rdc-memorias .rdc-youtube-channel__icon svg {
  display: block;

  width: 65px;
  height: auto;
}


/* INFORMACIÓN DEL CANAL */

#rdc-memorias .rdc-youtube-channel__info {
  flex: 1 1 240px;
  min-width: 0;
}

#rdc-memorias .rdc-youtube-channel__label {
  display: block;

  margin-bottom: 6px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;

  text-transform: uppercase;
  color: var(--rdc-primary);
}

#rdc-memorias .rdc-youtube-channel__title {
  margin: 0 0 8px;
  padding: 0;

  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;

  color: var(--rdc-primary);
}

#rdc-memorias .rdc-youtube-channel__description {
  margin: 0 0 6px;

  font-size: 15px;
  line-height: 1.6;

  color: var(--rdc-text);
}

#rdc-memorias .rdc-youtube-channel__handle {
  display: block;

  font-size: 14px;
  font-weight: 500;

  color: var(--rdc-muted);
}


/* ENLACE AL CANAL OFICIAL */

#rdc-memorias a.rdc-youtube-channel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  gap: 12px;

  min-height: 48px;
  padding: 13px 22px;

  background: var(--rdc-primary);

  border: 1px solid var(--rdc-primary);
  border-radius: 8px;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-white);
  text-decoration: none;

  transition:
    background-color .2s ease,
    border-color .2s ease;
}

#rdc-memorias a.rdc-youtube-channel__link:hover {
  background: var(--rdc-primary-dark);
  border-color: var(--rdc-primary-dark);

  color: var(--rdc-white);
  text-decoration: none;
}

#rdc-memorias .rdc-youtube-channel__link span {
  font-size: 20px;
  line-height: 1;
}


/* ==========================================================
   TÍTULO DE MEMORIAS AUDIOVISUALES
   ========================================================== */

#rdc-memorias .rdc-memorias__title {
  position: relative;

  margin: 0 0 25px;
  padding-bottom: 15px;

  font-size: 25px;
  font-weight: 700;

  color: var(--rdc-primary);
}

#rdc-memorias .rdc-memorias__title::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 55px;
  height: 4px;

  background: var(--rdc-accent);
  border-radius: 4px;
}


/* ==========================================================
   CONTENEDOR RESPONSIVE DE LA TABLA
   ========================================================== */

#rdc-memorias .rdc-table-responsive {
  width: 100%;
  max-width: 100%;

  overflow-x: auto;

  border: 1px solid var(--rdc-border);
  border-radius: 12px;

  -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   TABLA DE MEMORIAS AUDIOVISUALES
   ========================================================== */

#rdc-memorias table.rdc-memorias-table {
  width: 100%;
  min-width: 620px;

  margin: 0;

  border-collapse: collapse;
  border-spacing: 0;

  background: var(--rdc-white);
}


/* CAPTION */

#rdc-memorias .rdc-memorias-table caption {
  caption-side: top;

  padding: 16px 20px;

  background: var(--rdc-background);

  font-size: 16px;
  font-weight: 700;

  color: var(--rdc-primary);
  text-align: left;
}


/* ENCABEZADOS */

#rdc-memorias .rdc-memorias-table thead th {
  padding: 18px 20px;

  background: var(--rdc-primary);

  border: 1px solid rgba(255, 255, 255, .2);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-white);

  text-align: left;
  vertical-align: middle;
}


/* ANCHO DE COLUMNAS */

#rdc-memorias .rdc-memorias-table thead th:first-child {
  width: 60%;
}

#rdc-memorias .rdc-memorias-table thead th:nth-child(2),
#rdc-memorias .rdc-memorias-table thead th:nth-child(3) {
  width: 20%;
  text-align: center;
}


/* ==========================================================
   CELDAS Y FILAS
   ========================================================== */

#rdc-memorias .rdc-memorias-table tbody th,
#rdc-memorias .rdc-memorias-table tbody td {
  padding: 22px 20px;

  background: transparent;

  border: 1px solid var(--rdc-border);

  vertical-align: middle;
}


/* NOMBRE DEL ESPACIO */

#rdc-memorias .rdc-memorias-table tbody th {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;

  color: var(--rdc-primary);
  text-align: left;
}

#rdc-memorias .rdc-memorias-table tbody td {
  text-align: center;
}


/* FILAS ALTERNADAS */

#rdc-memorias .rdc-memorias-table tbody tr {
  background: var(--rdc-white);

  transition: background-color .2s ease;
}

#rdc-memorias .rdc-memorias-table tbody tr:nth-child(even) {
  background: var(--rdc-background);
}


/* ==========================================================
   FECHA DE REALIZACIÓN
   ========================================================== */

#rdc-memorias .rdc-memorias-date {
  display: inline-block;

  padding: 9px 12px;

  background: #f0ebf7;
  border-radius: 7px;

  font-size: 14px;
  font-weight: 600;

  color: var(--rdc-primary);

  white-space: nowrap;
}


/* ==========================================================
   ENLACE VER VIDEO
   ========================================================== */

#rdc-memorias a.rdc-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 44px;
  padding: 10px 16px;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-primary);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  color: var(--rdc-primary);

  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color .2s ease,
    color .2s ease;
}


/* ICONO DE REPRODUCCIÓN */

#rdc-memorias .rdc-video-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 27px;
  height: 21px;

  background: #e00000;
  border-radius: 5px;

  font-size: 11px;
  line-height: 1;

  color: #ffffff;
}


/* HOVER DEL ENLACE */

#rdc-memorias a.rdc-video-link:hover {
  background: var(--rdc-primary);

  color: var(--rdc-white);
  text-decoration: none;
}

@media (hover: hover) {

  #rdc-memorias .rdc-memorias-table tbody tr:hover {
    background: #f5f0fa;
  }

}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

#rdc-memorias a:focus-visible,
#rdc-memorias .rdc-table-responsive:focus-visible {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 3px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

  #rdc-memorias a.rdc-youtube-channel__link {
    width: 100%;
  }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

  #rdc-memorias .rdc-youtube-channel {
    gap: 15px;

    margin: 20px 0 30px;
    padding: 20px 15px;
  }

  #rdc-memorias .rdc-youtube-channel__icon {
    width: 65px;
    height: 65px;

    border-radius: 10px;
  }

  #rdc-memorias .rdc-youtube-channel__icon svg {
    width: 45px;
  }

  #rdc-memorias .rdc-youtube-channel__info {
    flex: 1 1 150px;
  }

  #rdc-memorias .rdc-youtube-channel__title {
    font-size: 21px;
  }

  #rdc-memorias .rdc-youtube-channel__description {
    font-size: 14px;
  }

  #rdc-memorias .rdc-youtube-channel__label {
    font-size: 10px;
  }

  #rdc-memorias a.rdc-youtube-channel__link {
    width: 100%;
    font-size: 14px;
  }

  #rdc-memorias .rdc-memorias__title {
    font-size: 21px;
  }

  #rdc-memorias table.rdc-memorias-table {
    min-width: 600px;
  }

  #rdc-memorias .rdc-memorias-table thead th {
    padding: 14px 12px;
    font-size: 14px;
  }

  #rdc-memorias .rdc-memorias-table tbody th,
  #rdc-memorias .rdc-memorias-table tbody td {
    padding: 16px 12px;
    font-size: 14px;
  }

  #rdc-memorias .rdc-memorias-date {
    font-size: 13px;
    padding: 8px;
  }

  #rdc-memorias a.rdc-video-link {
    font-size: 13px;
    padding: 10px 12px;
  }

}


/* ==========================================================
   MOVIMIENTO REDUCIDO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  #rdc-memorias .rdc-memorias-table tbody tr,
  #rdc-memorias a.rdc-video-link,
  #rdc-memorias a.rdc-youtube-channel__link {
    transition: none;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 08 - EVALUACIÓN CIUDADANA
   ========================================================== */


/* ==========================================================
   TARJETA PRINCIPAL
   ========================================================== */

#rdc-evaluacion .rdc-evaluacion-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 900px;

  margin: 30px auto 10px;
  padding: 45px 35px;

  background: linear-gradient(
    145deg,
    #f8f5fc 0%,
    #f0ebf7 100%
  );

  border: 1px solid #e5dcef;
  border-top: 5px solid var(--rdc-primary);
  border-radius: 18px;

  text-align: center;
}


/* ==========================================================
   ILUSTRACIÓN
   ========================================================== */

#rdc-evaluacion .rdc-evaluacion-card__illustration {
  width: 190px;
  max-width: 100%;

  margin: 0 auto 25px;
}

#rdc-evaluacion .rdc-evaluacion-card__illustration svg {
  display: block;

  width: 100%;
  height: auto;
}


/* ==========================================================
   TÍTULO Y DESCRIPCIÓN
   ========================================================== */

#rdc-evaluacion .rdc-evaluacion-card__title {
  margin: 0 0 15px;
  padding: 0;

  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;

  color: var(--rdc-primary);

  text-align: center;
}

#rdc-evaluacion .rdc-evaluacion-card__title::after {
  content: none;
}

#rdc-evaluacion .rdc-evaluacion-card__description {
  max-width: 600px;

  margin: 0 auto 25px;

  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;

  color: var(--rdc-text);

  text-align: center;
}


/* ==========================================================
   ASPECTOS DE EVALUACIÓN
   ========================================================== */

#rdc-evaluacion .rdc-evaluacion-aspects {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;
  max-width: 540px;

  gap: 20px;

  margin: 10px auto 35px;
}


/* ASPECTO INDIVIDUAL */

#rdc-evaluacion .rdc-evaluacion-aspect {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 20px 10px;

  background: var(--rdc-white);

  border: 1px solid #e5dcef;
  border-radius: 12px;
}


/* ICONO */

#rdc-evaluacion .rdc-evaluacion-aspect__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 55px;
  height: 55px;

  background: #f0ebf7;

  border-radius: 50%;

  color: var(--rdc-primary);
}

#rdc-evaluacion .rdc-evaluacion-aspect__icon svg {
  display: block;

  width: 28px;
  height: 28px;
}


/* TEXTO */

#rdc-evaluacion .rdc-evaluacion-aspect span {
  font-size: 15px;
  font-weight: 700;

  color: var(--rdc-primary);

  overflow-wrap: anywhere;
}


/* ==========================================================
   BOTÓN DE ACCESO A LA ENCUESTA
   ========================================================== */

#rdc-evaluacion a.rdc-evaluacion-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 15px;

  width: 100%;
  max-width: 360px;
  min-height: 58px;

  margin: 0 auto;
  padding: 16px 28px;

  background: var(--rdc-primary);

  border: 2px solid var(--rdc-primary);
  border-radius: 10px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-white);

  text-decoration: none;

  box-shadow: 0 5px 15px rgba(86, 53, 139, .15);

  transition:
    background-color .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}


/* ICONO DEL BOTÓN */

#rdc-evaluacion .rdc-evaluacion-button svg {
  flex-shrink: 0;

  width: 24px;
  height: 24px;
}


/* FLECHA */

#rdc-evaluacion .rdc-evaluacion-button__arrow {
  font-size: 23px;
  line-height: 1;
}


/* HOVER */

#rdc-evaluacion a.rdc-evaluacion-button:hover {
  background: var(--rdc-primary-dark);

  border-color: var(--rdc-primary-dark);

  color: var(--rdc-white);

  text-decoration: none;

  transform: translateY(-3px);

  box-shadow: 0 8px 20px rgba(86, 53, 139, .22);
}


/* FOCUS - ACCESIBILIDAD */

#rdc-evaluacion a.rdc-evaluacion-button:focus-visible {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 4px;
}


/* ==========================================================
   NOTA INFORMATIVA
   ========================================================== */

#rdc-evaluacion .rdc-evaluacion-card__note {
  margin: 18px 0 0;

  font-size: 13px;
  line-height: 1.6;

  color: var(--rdc-muted);

  text-align: center;
}


/* ==========================================================
   RESPONSIVE - MÓVIL
   ========================================================== */

@media (max-width: 767px) {

  #rdc-evaluacion .rdc-evaluacion-card {
    margin-top: 20px;
    padding: 30px 15px;

    border-radius: 12px;
  }

  #rdc-evaluacion .rdc-evaluacion-card__illustration {
    width: 145px;

    margin-bottom: 20px;
  }

  #rdc-evaluacion .rdc-evaluacion-card__title {
    font-size: 25px;
  }

  #rdc-evaluacion .rdc-evaluacion-card__description {
    font-size: 15px;
  }

  #rdc-evaluacion .rdc-evaluacion-aspects {
    gap: 8px;

    margin-bottom: 25px;
  }

  #rdc-evaluacion .rdc-evaluacion-aspect {
    gap: 8px;

    padding: 15px 5px;
  }

  #rdc-evaluacion .rdc-evaluacion-aspect__icon {
    width: 42px;
    height: 42px;
  }

  #rdc-evaluacion .rdc-evaluacion-aspect__icon svg {
    width: 23px;
    height: 23px;
  }

  #rdc-evaluacion .rdc-evaluacion-aspect span {
    font-size: 12px;
  }

  #rdc-evaluacion a.rdc-evaluacion-button {
    gap: 10px;

    padding: 14px 18px;

    font-size: 15px;
  }

  #rdc-evaluacion .rdc-evaluacion-card__note {
    font-size: 12px;
  }

}


/* PANTALLAS MUY PEQUEÑAS */

@media (max-width: 360px) {

  #rdc-evaluacion .rdc-evaluacion-aspects {
    grid-template-columns: minmax(0, 1fr);
  }

  #rdc-evaluacion .rdc-evaluacion-aspect {
    flex-direction: row;
    justify-content: flex-start;

    padding: 12px 15px;
  }

}


/* ==========================================================
   ACCESIBILIDAD - MOVIMIENTO REDUCIDO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  #rdc-evaluacion a.rdc-evaluacion-button {
    transition: none;
  }

  #rdc-evaluacion a.rdc-evaluacion-button:hover {
    transform: none;
  }

}

/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   BLOQUE 09 - CAJA DE HERRAMIENTAS
   ========================================================== */


/* ==========================================================
   SECCIONES DE RECURSOS
   ========================================================== */

#rdc-herramientas .rdc-tools-section {
  width: 100%;
  min-width: 0;
}

#rdc-herramientas .rdc-tools-section
+ .rdc-tools-section {
  margin-top: 45px;
  padding-top: 35px;

  border-top: 1px solid var(--rdc-border);
}


/* ==========================================================
   CABECERAS DE LAS SECCIONES
   ========================================================== */

#rdc-herramientas .rdc-tools-section__header {
  position: relative;

  display: flex;
  align-items: center;

  gap: 18px;

  margin-bottom: 22px;
  padding-bottom: 18px;
}

#rdc-herramientas .rdc-tools-section__header::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 60px;
  height: 4px;

  background: var(--rdc-accent);
  border-radius: 4px;
}


/* ICONO DE LA SECCIÓN */

#rdc-herramientas .rdc-tools-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 55px;
  height: 55px;

  background: #f0ebf7;
  border-radius: 12px;

  color: var(--rdc-primary);
}

#rdc-herramientas .rdc-tools-section__icon svg {
  display: block;

  width: 30px;
  height: 30px;
}


/* TÍTULO DE LA SECCIÓN */

#rdc-herramientas .rdc-tools-section__title {
  flex: 1;

  margin: 0;
  padding: 0;

  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 700;
  line-height: 1.4;

  color: var(--rdc-primary);
  text-align: left;
}

#rdc-herramientas .rdc-tools-section__title::after {
  content: none;
}


/* TEXTO INTRODUCTORIO */

#rdc-herramientas .rdc-tools-section__intro {
  margin: 0 0 28px;

  font-size: 17px;
  line-height: 1.75;

  color: var(--rdc-text);
  text-align: left;
}


/* ==========================================================
   CUADRÍCULAS DE RECURSOS
   ========================================================== */

#rdc-herramientas .rdc-tools-grid {
  display: grid;

  width: 100%;

  gap: 22px;

  align-items: stretch;
}


/* DOS COLUMNAS - DATOS ABIERTOS */

#rdc-herramientas .rdc-tools-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* TRES COLUMNAS - FORMACIÓN */

#rdc-herramientas .rdc-tools-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ==========================================================
   TARJETAS DE RECURSOS
   ========================================================== */

#rdc-herramientas .rdc-tool-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 235px;

  padding: 25px;

  background: var(--rdc-white);

  border: 1px solid var(--rdc-border);
  border-top: 4px solid var(--rdc-primary);
  border-radius: var(--rdc-radius);

  box-shadow: 0 3px 12px rgba(0, 0, 0, .04);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}


/* TARJETAS DE DATOS ABIERTOS */

#rdc-herramientas .rdc-tools-grid--two .rdc-tool-card {
  min-height: 285px;
}


/* ==========================================================
   ICONOS DE LAS TARJETAS
   ========================================================== */

#rdc-herramientas .rdc-tool-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 58px;
  height: 58px;

  margin-bottom: 20px;

  background: #f0ebf7;
  border-radius: 12px;

  color: var(--rdc-primary);

  transition:
    background-color .25s ease,
    color .25s ease;
}

#rdc-herramientas .rdc-tool-card__icon svg {
  display: block;

  width: 30px;
  height: 30px;
}


/* ==========================================================
   TÍTULOS DE LAS TARJETAS
   ========================================================== */

#rdc-herramientas .rdc-tool-card__title {
  margin: 0 0 16px;
  padding: 0;

  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;

  color: var(--rdc-primary);
  text-align: left;

  overflow-wrap: anywhere;
}

#rdc-herramientas .rdc-tool-card__title::after {
  content: none;
}


/* DESCRIPCIÓN */

#rdc-herramientas .rdc-tool-card__description {
  margin: 0 0 22px;

  font-size: 15px;
  line-height: 1.7;

  color: var(--rdc-muted);
  text-align: left;
}


/* ==========================================================
   ENLACES A LOS RECURSOS
   ========================================================== */

#rdc-herramientas a.rdc-tool-card__link {
  position: static;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  min-height: 44px;

  margin-top: auto;
  padding: 15px 0 0;

  border-top: 1px solid var(--rdc-border);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--rdc-primary);
  text-decoration: none;
}


/* FLECHA DEL ENLACE */

#rdc-herramientas .rdc-tool-card__link span {
  flex-shrink: 0;

  font-size: 23px;
  line-height: 1;

  transition: transform .25s ease;
}


/* TODA LA TARJETA FUNCIONA COMO ENLACE */

#rdc-herramientas a.rdc-tool-card__link::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  border-radius: var(--rdc-radius);
}


/* ==========================================================
   EFECTOS HOVER
   ========================================================== */

@media (hover: hover) {

  #rdc-herramientas .rdc-tool-card:hover {
    transform: translateY(-4px);

    border-color: var(--rdc-primary);

    box-shadow: 0 8px 22px rgba(86, 53, 139, .12);
  }

  #rdc-herramientas .rdc-tool-card:hover
  .rdc-tool-card__icon {
    background: var(--rdc-primary);
    color: var(--rdc-white);
  }

  #rdc-herramientas .rdc-tool-card:hover
  .rdc-tool-card__link span {
    transform: translate(3px, -3px);
  }

  #rdc-herramientas .rdc-tool-card:hover
  .rdc-tool-card__link {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

#rdc-herramientas a.rdc-tool-card__link:focus-visible {
  outline: none;

  text-decoration: underline;
  text-underline-offset: 4px;
}

#rdc-herramientas a.rdc-tool-card__link:focus-visible::after {
  outline: 3px solid var(--rdc-primary);
  outline-offset: 4px;
}


/* ==========================================================
   RESPONSIVE - TABLET
   ========================================================== */

@media (max-width: 991px) {

  #rdc-herramientas .rdc-tools-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #rdc-herramientas .rdc-tools-grid {
    gap: 18px;
  }

  #rdc-herramientas .rdc-tool-card {
    padding: 22px;
  }

}


/* ==========================================================
   RESPONSIVE - MÓVIL
   ========================================================== */

@media (max-width: 767px) {

  #rdc-herramientas .rdc-tools-section
  + .rdc-tools-section {
    margin-top: 30px;
    padding-top: 25px;
  }

  #rdc-herramientas .rdc-tools-section__header {
    gap: 12px;
    margin-bottom: 18px;
  }

  #rdc-herramientas .rdc-tools-section__icon {
    width: 45px;
    height: 45px;
  }

  #rdc-herramientas .rdc-tools-section__icon svg {
    width: 25px;
    height: 25px;
  }

  #rdc-herramientas .rdc-tools-section__title {
    font-size: 20px;
  }

  #rdc-herramientas .rdc-tools-section__intro {
    margin-bottom: 20px;

    font-size: 15px;
  }

  #rdc-herramientas .rdc-tools-grid--two,
  #rdc-herramientas .rdc-tools-grid--three {
    grid-template-columns: minmax(0, 1fr);
  }

  #rdc-herramientas .rdc-tools-grid {
    gap: 15px;
  }

  #rdc-herramientas .rdc-tool-card,
  #rdc-herramientas .rdc-tools-grid--two .rdc-tool-card {
    min-height: 0;

    padding: 20px;
  }

  #rdc-herramientas .rdc-tool-card__icon {
    width: 48px;
    height: 48px;

    margin-bottom: 15px;
  }

  #rdc-herramientas .rdc-tool-card__icon svg {
    width: 25px;
    height: 25px;
  }

  #rdc-herramientas .rdc-tool-card__title {
    font-size: 17px;
  }

  #rdc-herramientas .rdc-tool-card__description {
    font-size: 14px;
  }

  #rdc-herramientas a.rdc-tool-card__link {
    font-size: 14px;
  }

}


/* ==========================================================
   ACCESIBILIDAD - MOVIMIENTO REDUCIDO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  #rdc-herramientas .rdc-tool-card,
  #rdc-herramientas .rdc-tool-card__icon,
  #rdc-herramientas .rdc-tool-card__link span {
    transition: none;
  }

  #rdc-herramientas .rdc-tool-card:hover,
  #rdc-herramientas .rdc-tool-card:hover
  .rdc-tool-card__link span {
    transform: none;
  }

}


/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   CABECERAS EN MORADO TENUE
   ========================================================== */

:root {
  --rdc-header-bg: #f3eff8;
  --rdc-icon-bg: #e5dcef;
  --rdc-header-border: #e4dced;
  --rdc-header-text: #685b78;
}


/* CABECERA GENERAL DE LOS SIETE MÓDULOS */

.rdc-panel .rdc-panel__header {
  position: relative;

  display: flex;
  align-items: center;

  gap: 20px;
  padding: 28px 35px;

  background: var(--rdc-header-bg);

  border-bottom: 1px solid var(--rdc-header-border);

  color: var(--rdc-primary);
}


/* DETALLE AMARILLO */

.rdc-panel .rdc-panel__header::after {
  content: "";

  position: absolute;
  bottom: -1px;
  left: 35px;

  width: 55px;
  height: 3px;

  background: var(--rdc-accent);
  border-radius: 3px;
}


/* CONTENEDOR DEL ICONO */

.rdc-panel .rdc-panel__icon {
  flex-shrink: 0;

  width: 60px;
  height: 60px;

  background: var(--rdc-icon-bg);

  border: none;
  border-radius: 12px;

  color: var(--rdc-primary);
}

.rdc-panel .rdc-panel__icon svg {
  width: 30px;
  height: 30px;
}


/* NUMERACIÓN DEL MÓDULO */

.rdc-panel .rdc-panel__eyebrow {
  margin-bottom: 6px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;

  color: var(--rdc-header-text);

  text-transform: uppercase;
}


/* TÍTULO PRINCIPAL */

.rdc-panel .rdc-panel__title {
  margin: 0;
  padding: 0;

  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 700;
  line-height: 1.35;

  color: var(--rdc-primary);
  text-align: left;
}

.rdc-panel .rdc-panel__title::after {
  content: none;
}


/* SUBTÍTULOS */

.rdc-panel .rdc-panel__subtitle,
#rdc-consulta .rdc-panel__subtitle {
  margin: 6px 0 0;

  font-size: 16px;
  font-weight: 400;

  color: var(--rdc-header-text);
}


/* RESPONSIVE */

@media (max-width: 767px) {

  .rdc-panel .rdc-panel__header {
    gap: 14px;
    padding: 22px 18px;
  }

  .rdc-panel .rdc-panel__header::after {
    left: 18px;
    width: 40px;
  }

  .rdc-panel .rdc-panel__icon {
    width: 48px;
    height: 48px;
  }

  .rdc-panel .rdc-panel__icon svg {
    width: 25px;
    height: 25px;
  }

  .rdc-panel .rdc-panel__title {
    font-size: 21px;
  }

}

/* ==========================================================
   TABLAS CON ENCABEZADOS LAVANDA
   ========================================================== */

#rdc-programacion .rdc-quarter-table thead th,
#rdc-consulta .rdc-consulta-table thead th,
#rdc-memorias .rdc-memorias-table thead th,
.rdc-panel.rdc-view .view-content table thead th {

  background: var(--rdc-header-bg);

  color: var(--rdc-primary);

  border: 1px solid var(--rdc-header-border);
  border-bottom: 2px solid var(--rdc-icon-bg);

  font-weight: 600;
}

.rdc-panel.rdc-view .view-content table thead th a {
  color: var(--rdc-primary);
}




/* ==========================================================
   SCRD - RENDICIÓN DE CUENTAS
   CONTROL DE MÓDULOS DESPLEGABLES
   ========================================================== */

/* OCULTAR MÓDULOS INACTIVOS */

.rdc-managed-block[hidden] {
  display: none !important;
}


/* MÓDULO ACTIVO */

.rdc-managed-block {
  scroll-margin-top: 110px;
}

.rdc-managed-block.rdc-is-open {
  animation: rdcFadeIn .3s ease;
}

@keyframes rdcFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* TARJETA SELECCIONADA */

#rdc-navegacion .rdc-modules-grid > .rdc-module-card.is-active {
  background: #f3eff8;
  border-color: #a894c5;
  box-shadow: inset 0 -3px 0 var(--rdc-primary);
}


/* CONTROL DE APERTURA */

#rdc-navegacion .rdc-module-card__action {
  cursor: pointer;
}

#rdc-navegacion .rdc-module-card__action:focus-visible {
  outline: 2px solid var(--rdc-primary);
  outline-offset: 4px;
}


/* BOTÓN CERRAR MÓDULO */

.rdc-close-container {
  display: flex;
  justify-content: center;
  padding: 15px 20px 30px;
}

button.rdc-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 44px;
  padding: 12px 25px;

  background: #ffffff;
  border: 1px solid #d9cde8;
  border-radius: 8px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;

  color: var(--rdc-primary);
  cursor: pointer;

  transition: background .2s ease;
}

button.rdc-close-button:hover {
  background: #f3eff8;
  color: var(--rdc-primary);
}

button.rdc-close-button:focus-visible {
  outline: 2px solid var(--rdc-primary);
  outline-offset: 4px;
}

.rdc-close-button svg {
  width: 18px;
  height: 18px;
}


/* RESPONSIVE */

@media (max-width: 767px) {
  .rdc-managed-block {
    scroll-margin-top: 85px;
  }

  .rdc-close-container {
    padding: 15px;
  }

  button.rdc-close-button {
    width: 100%;
  }
}


/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
  .rdc-managed-block.rdc-is-open {
    animation: none;
  }

  button.rdc-close-button {
    transition: none;
  }
}