/* =========================================================
   REPOSITORIO JURÍDICO EN CONTROL FISCAL
   Contraloría Distrital de Medellín
   Archivo: repositorio-juridico-fiscal.css
========================================================= */

/* =========================================================
   1. VARIABLES Y CONFIGURACIÓN GENERAL
========================================================= */
.rjf-page {
  --rjf-verde-profundo: #002d22;
  --rjf-verde-oscuro: #003f2f;
  --rjf-verde-institucional: #0b7a35;
  --rjf-verde-medio: #119447;
  --rjf-verde-lima: #8bd936;
  --rjf-verde-lima-claro: #b8ed72;
  --rjf-verde-suave: #eaf4e5;
  --rjf-verde-palido: #f4f9f1;
  --rjf-dorado: #c9a84b;
  --rjf-blanco: #ffffff;
  --rjf-gris-50: #f8faf8;
  --rjf-gris-100: #f1f4f2;
  --rjf-gris-200: #e2e8e4;
  --rjf-gris-300: #cbd5ce;
  --rjf-gris-500: #718078;
  --rjf-gris-600: #58635d;
  --rjf-gris-700: #3b4540;
  --rjf-gris-900: #17201b;
  --rjf-rojo: #b42318;
  --rjf-sombra-sm: 0 8px 22px rgba(0, 45, 34, 0.08);
  --rjf-sombra-md: 0 18px 48px rgba(0, 45, 34, 0.13);
  --rjf-sombra-lg: 0 28px 80px rgba(0, 45, 34, 0.19);
  --rjf-radio-sm: 12px;
  --rjf-radio-md: 20px;
  --rjf-radio-lg: 30px;
  --rjf-transicion: 280ms cubic-bezier(.2, .75, .25, 1);
  --rjf-container: 1240px;
}

.rjf-page,
.rjf-page *,
.rjf-page *::before,
.rjf-page *::after {
  box-sizing: border-box;
}

.rjf-page {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--rjf-blanco);
  color: var(--rjf-gris-900);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.55;
  isolation: isolate;
}

.rjf-page img,
.rjf-page svg {
  display: block;
  max-width: 100%;
}

.rjf-page button,
.rjf-page input,
.rjf-page select {
  font: inherit;
}

.rjf-page button,
.rjf-page a {
  -webkit-tap-highlight-color: transparent;
}

.rjf-page a {
  color: inherit;
  text-decoration: none;
}

.rjf-page button {
  border: 0;
}

.rjf-container {
  width: min(calc(100% - 40px), var(--rjf-container));
  margin-inline: auto;
}

.rjf-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rjf-skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--rjf-blanco);
  color: var(--rjf-verde-profundo);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--rjf-transicion);
}

.rjf-skip-link:focus {
  transform: translateY(0);
}

.rjf-section {
  position: relative;
  padding: 92px 0;
}

.rjf-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 42px;
}

.rjf-section-heading h2 {
  margin: 8px 0 0;
  color: var(--rjf-verde-profundo);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.rjf-section-heading p {
  margin: 0;
  color: var(--rjf-gris-600);
  font-size: 1.04rem;
}

.rjf-section-heading--light h2,
.rjf-section-heading--light p,
.rjf-section-heading--light .rjf-section-kicker {
  color: var(--rjf-blanco);
}

.rjf-section-heading--light p {
  color: rgba(255, 255, 255, .75);
}

.rjf-section-kicker {
  color: var(--rjf-verde-institucional);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* =========================================================
   2. BOTONES
========================================================= */
.rjf-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform var(--rjf-transicion),
    box-shadow var(--rjf-transicion),
    background var(--rjf-transicion),
    color var(--rjf-transicion);
}

.rjf-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-btn:hover {
  transform: translateY(-3px);
}

.rjf-btn:focus-visible,
.rjf-topic-card:focus-visible,
.rjf-view-btn:focus-visible,
.rjf-reset-btn:focus-visible,
.rjf-accordion__trigger:focus-visible,
.rjf-document-card__action:focus-visible,
.rjf-modal__close:focus-visible {
  outline: 3px solid rgba(139, 217, 54, .55);
  outline-offset: 4px;
}

.rjf-btn--primary {
  background: linear-gradient(135deg, var(--rjf-verde-lima), #70c825);
  color: var(--rjf-verde-profundo);
  box-shadow: 0 12px 30px rgba(139, 217, 54, .24);
}

.rjf-btn--primary:hover {
  box-shadow: 0 16px 38px rgba(139, 217, 54, .34);
}

.rjf-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: var(--rjf-blanco);
  backdrop-filter: blur(10px);
}

.rjf-btn--ghost:hover {
  background: rgba(255, 255, 255, .15);
}

.rjf-btn--secondary {
  background: var(--rjf-gris-100);
  color: var(--rjf-verde-profundo);
}

.rjf-btn--light {
  flex: 0 0 auto;
  background: var(--rjf-blanco);
  color: var(--rjf-verde-profundo);
  box-shadow: var(--rjf-sombra-md);
}

/* =========================================================
   3. HERO
========================================================= */
.rjf-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 217, 54, .18), transparent 25%),
    linear-gradient(125deg, #00241b 0%, var(--rjf-verde-profundo) 42%, #075f32 100%);
  color: var(--rjf-blanco);
}

.rjf-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: .19;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.rjf-hero__pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 75px,
      rgba(139, 217, 54, .06) 76px,
      transparent 77px
    );
}

.rjf-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.rjf-hero__glow--one {
  width: 420px;
  height: 420px;
  top: -210px;
  left: 5%;
  background: rgba(139, 217, 54, .10);
}

.rjf-hero__glow--two {
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -180px;
  background: rgba(255, 255, 255, .07);
}

.rjf-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 110px;
}

.rjf-hero__content {
  max-width: 700px;
}

.rjf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .88);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.rjf-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rjf-verde-lima);
  box-shadow: 0 0 0 6px rgba(139, 217, 54, .14);
}

.rjf-hero h1 {
  max-width: 740px;
  margin: 24px 0 22px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  font-weight: 780;
  line-height: .95;
  letter-spacing: -0.065em;
}

.rjf-hero h1 span {
  display: block;
  color: var(--rjf-verde-lima-claro);
}

.rjf-hero__content > p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.rjf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.rjf-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 42px;
}

.rjf-hero__stats article {
  position: relative;
  min-width: 118px;
}

.rjf-hero__stats article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -18px;
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, .18);
}

.rjf-hero__stats strong {
  display: block;
  color: var(--rjf-blanco);
  font-size: 1.65rem;
  line-height: 1;
}

.rjf-hero__stats span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
}

.rjf-hero__visual {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
}

.rjf-legal-visual {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
}

.rjf-legal-visual::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .19), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 0 55px rgba(255, 255, 255, .04),
    0 40px 80px rgba(0, 0, 0, .24);
  backdrop-filter: blur(15px);
}

.rjf-legal-visual__orbit {
  position: absolute;
  border: 1px solid rgba(139, 217, 54, .25);
  border-radius: 50%;
  animation: rjfRotate 18s linear infinite;
}

.rjf-legal-visual__orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rjf-verde-lima);
  box-shadow: 0 0 18px rgba(139, 217, 54, .65);
}

.rjf-legal-visual__orbit--one {
  inset: 4%;
}

.rjf-legal-visual__orbit--two {
  inset: 23%;
  animation-direction: reverse;
  animation-duration: 12s;
}

.rjf-legal-visual__card {
  position: absolute;
  z-index: 3;
  inset: 27% 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(234, 244, 229, .89));
  color: var(--rjf-verde-profundo);
  text-align: center;
  box-shadow: var(--rjf-sombra-lg);
  transform: rotate(-3deg);
  animation: rjfFloat 5s ease-in-out infinite;
}

.rjf-legal-visual__icon {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--rjf-verde-profundo), var(--rjf-verde-institucional));
  color: var(--rjf-verde-lima-claro);
  box-shadow: 0 16px 32px rgba(0, 63, 47, .26);
}

.rjf-legal-visual__icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-legal-visual__card span {
  color: var(--rjf-verde-institucional);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rjf-legal-visual__card strong {
  margin-top: 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.rjf-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 16px;
  background: rgba(0, 45, 34, .68);
  color: var(--rjf-blanco);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .23);
  font-size: .82rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.rjf-floating-card svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--rjf-verde-lima);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-floating-card--one {
  top: 12%;
  left: -2%;
  animation: rjfFloat 6s ease-in-out infinite;
}

.rjf-floating-card--two {
  top: 43%;
  right: -8%;
  animation: rjfFloat 6.7s ease-in-out infinite .7s;
}

.rjf-floating-card--three {
  left: 4%;
  bottom: 8%;
  animation: rjfFloat 5.8s ease-in-out infinite 1.1s;
}

.rjf-hero__wave {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 95px;
}

.rjf-hero__wave svg {
  width: 100%;
  height: 100%;
}

.rjf-hero__wave path {
  fill: var(--rjf-blanco);
}

/* =========================================================
   4. TARJETAS DE SECCIÓN
========================================================= */
.rjf-section--intro {
  padding-top: 74px;
  background:
    radial-gradient(circle at 5% 15%, rgba(139, 217, 54, .10), transparent 18%),
    var(--rjf-blanco);
}

.rjf-topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rjf-topic-card {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--rjf-gris-200);
  border-radius: var(--rjf-radio-md);
  background: var(--rjf-blanco);
  color: var(--rjf-verde-profundo);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 45, 34, .05);
  transition:
    transform var(--rjf-transicion),
    border-color var(--rjf-transicion),
    box-shadow var(--rjf-transicion),
    background var(--rjf-transicion),
    color var(--rjf-transicion);
}

.rjf-topic-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(139, 217, 54, .11);
  transition: transform var(--rjf-transicion);
}

.rjf-topic-card:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 122, 53, .24);
  box-shadow: var(--rjf-sombra-md);
}

.rjf-topic-card:hover::after {
  transform: scale(1.28);
}

.rjf-topic-card.is-active {
  border-color: transparent;
  background: linear-gradient(150deg, var(--rjf-verde-profundo), var(--rjf-verde-institucional));
  color: var(--rjf-blanco);
  box-shadow: 0 18px 46px rgba(0, 63, 47, .22);
}

.rjf-topic-card__number {
  position: absolute;
  top: 15px;
  right: 17px;
  color: var(--rjf-gris-300);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.rjf-topic-card.is-active .rjf-topic-card__number {
  color: rgba(255, 255, 255, .45);
}

.rjf-topic-card__icon {
  display: grid;
  width: 53px;
  height: 53px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 16px;
  background: var(--rjf-verde-suave);
  color: var(--rjf-verde-institucional);
  transition:
    background var(--rjf-transicion),
    color var(--rjf-transicion),
    transform var(--rjf-transicion);
}

.rjf-topic-card:hover .rjf-topic-card__icon {
  transform: rotate(-5deg) scale(1.05);
}

.rjf-topic-card.is-active .rjf-topic-card__icon {
  background: rgba(255, 255, 255, .12);
  color: var(--rjf-verde-lima);
}

.rjf-topic-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-topic-card__content {
  position: relative;
  z-index: 1;
  display: block;
}

.rjf-topic-card__content strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.rjf-topic-card__content small {
  display: block;
  margin-top: 7px;
  color: var(--rjf-gris-500);
  font-size: .78rem;
  line-height: 1.45;
}

.rjf-topic-card.is-active .rjf-topic-card__content small {
  color: rgba(255, 255, 255, .66);
}

.rjf-topic-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 15px;
  z-index: 2;
  font-size: 1.25rem;
  transition: transform var(--rjf-transicion);
}

.rjf-topic-card:hover .rjf-topic-card__arrow {
  transform: translateX(5px);
}

/* =========================================================
   5. EXPLORADOR Y FILTROS
========================================================= */
.rjf-section--explorer {
  padding-top: 106px;
  background:
    radial-gradient(circle at 92% 9%, rgba(139, 217, 54, .12), transparent 19%),
    linear-gradient(160deg, #001f18, var(--rjf-verde-profundo) 43%, #06492d);
}

.rjf-explorer {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 26px;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .20);
  backdrop-filter: blur(18px);
}

.rjf-search {
  position: relative;
}

.rjf-search > svg {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--rjf-verde-institucional);
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
}

.rjf-search input {
  width: 100%;
  height: 62px;
  padding: 0 56px 0 56px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--rjf-blanco);
  color: var(--rjf-gris-900);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  outline: none;
  transition:
    border-color var(--rjf-transicion),
    box-shadow var(--rjf-transicion);
}

.rjf-search input::placeholder {
  color: #89948e;
}

.rjf-search input:focus {
  border-color: var(--rjf-verde-lima);
  box-shadow:
    0 0 0 4px rgba(139, 217, 54, .14),
    0 12px 30px rgba(0, 0, 0, .12);
}

.rjf-search__clear {
  position: absolute;
  top: 50%;
  right: 15px;
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--rjf-gris-100);
  color: var(--rjf-gris-600);
  cursor: pointer;
  transform: translateY(-50%);
}

.rjf-search__clear.is-visible {
  display: grid;
}

.rjf-search__clear span {
  font-size: 1.3rem;
  line-height: 1;
}

.rjf-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 17px;
}

.rjf-field label {
  display: block;
  margin: 0 0 7px 4px;
  color: rgba(255, 255, 255, .72);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .03em;
}

.rjf-select-wrap {
  position: relative;
}

.rjf-select-wrap select {
  width: 100%;
  height: 51px;
  padding: 0 39px 0 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  appearance: none;
  background: rgba(255, 255, 255, .10);
  color: var(--rjf-blanco);
  cursor: pointer;
  outline: none;
  transition:
    border-color var(--rjf-transicion),
    background var(--rjf-transicion);
}

.rjf-select-wrap select:hover,
.rjf-select-wrap select:focus {
  border-color: rgba(139, 217, 54, .6);
  background: rgba(255, 255, 255, .15);
}

.rjf-select-wrap select option {
  background: var(--rjf-verde-profundo);
  color: var(--rjf-blanco);
}

.rjf-select-wrap svg {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(255, 255, 255, .7);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transform: translateY(-50%);
}

.rjf-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.rjf-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
}

.rjf-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(139, 217, 54, .24);
  border-radius: 999px;
  background: rgba(139, 217, 54, .11);
  color: var(--rjf-verde-lima-claro);
  font-size: .72rem;
  font-weight: 700;
}

.rjf-filter-chip button {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  color: inherit;
  cursor: pointer;
}

.rjf-reset-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
}

.rjf-reset-btn:hover {
  color: var(--rjf-verde-lima-claro);
}

.rjf-reset-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 36px;
  padding: 0 2px;
  color: var(--rjf-blanco);
}

.rjf-results-toolbar > div:first-child strong {
  display: block;
  font-size: 1.06rem;
}

.rjf-results-toolbar > div:first-child span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .57);
  font-size: .8rem;
}

.rjf-view-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rjf-view-tools label {
  margin-right: 3px;
  color: rgba(255, 255, 255, .61);
  font-size: .78rem;
}

.rjf-view-tools select {
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--rjf-blanco);
  outline: none;
}

.rjf-view-tools select option {
  background: var(--rjf-verde-profundo);
}

.rjf-view-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .56);
  cursor: pointer;
  transition:
    background var(--rjf-transicion),
    color var(--rjf-transicion);
}

.rjf-view-btn.is-active {
  background: var(--rjf-verde-lima);
  color: var(--rjf-verde-profundo);
}

.rjf-view-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   6. DOCUMENTOS
========================================================= */
.rjf-documents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  margin-top: 22px;
}

.rjf-documents-grid.is-list {
  grid-template-columns: 1fr;
}

.rjf-document-card {
  position: relative;
  display: flex;
  min-height: 335px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
  animation: rjfCardIn .45s both;
  transition:
    transform var(--rjf-transicion),
    box-shadow var(--rjf-transicion),
    border-color var(--rjf-transicion);
}

.rjf-document-card:hover {
  transform: translateY(-7px);
  border-color: rgba(139, 217, 54, .6);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .19);
}

.rjf-document-card__accent {
  height: 6px;
  background: linear-gradient(90deg, var(--rjf-verde-institucional), var(--rjf-verde-lima));
}

.rjf-document-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.rjf-document-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.rjf-document-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: var(--rjf-verde-suave);
  color: var(--rjf-verde-institucional);
}

.rjf-document-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-document-card__year {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rjf-verde-profundo);
  color: var(--rjf-blanco);
  font-size: .72rem;
  font-weight: 800;
}

.rjf-document-card__section {
  display: block;
  margin-top: 17px;
  color: var(--rjf-verde-institucional);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rjf-document-card h3 {
  margin: 8px 0 0;
  color: var(--rjf-verde-profundo);
  font-size: 1.1rem;
  line-height: 1.34;
  letter-spacing: -.015em;
}

.rjf-document-card__description {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--rjf-gris-600);
  font-size: .84rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.rjf-document-card__meta {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.rjf-document-card__meta span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--rjf-gris-500);
  font-size: .76rem;
}

.rjf-document-card__meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: var(--rjf-verde-institucional);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-document-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px -22px -22px;
  padding: 15px 22px;
  border-top: 1px solid var(--rjf-gris-200);
  background: var(--rjf-gris-50);
}

.rjf-document-card__format {
  color: var(--rjf-gris-500);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rjf-document-card__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--rjf-verde-institucional);
  cursor: pointer;
  font-size: .79rem;
  font-weight: 800;
}

.rjf-document-card__action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--rjf-transicion);
}

.rjf-document-card__action:hover svg {
  transform: translateX(4px);
}

.rjf-documents-grid.is-list .rjf-document-card {
  min-height: 0;
}

.rjf-documents-grid.is-list .rjf-document-card__body {
  display: grid;
  grid-template-columns: 58px minmax(220px, 1.35fr) minmax(200px, .85fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.rjf-documents-grid.is-list .rjf-document-card__top {
  display: block;
}

.rjf-documents-grid.is-list .rjf-document-card__year {
  margin-top: 7px;
}

.rjf-documents-grid.is-list .rjf-document-card__section {
  margin-top: 0;
}

.rjf-documents-grid.is-list .rjf-document-card__description {
  -webkit-line-clamp: 2;
}

.rjf-documents-grid.is-list .rjf-document-card__meta {
  margin: 0;
  padding: 0;
}

.rjf-documents-grid.is-list .rjf-document-card__footer {
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rjf-empty-state {
  margin-top: 30px;
  padding: 55px 20px;
  border: 1px dashed rgba(255, 255, 255, .19);
  border-radius: 24px;
  color: var(--rjf-blanco);
  text-align: center;
}

.rjf-empty-state__icon {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  color: var(--rjf-verde-lima);
}

.rjf-empty-state__icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-empty-state h3 {
  margin: 0;
  font-size: 1.35rem;
}

.rjf-empty-state p {
  margin: 7px auto 22px;
  color: rgba(255, 255, 255, .64);
}

.rjf-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.rjf-pagination button {
  display: grid;
  min-width: 39px;
  height: 39px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  color: var(--rjf-blanco);
  cursor: pointer;
  transition:
    background var(--rjf-transicion),
    color var(--rjf-transicion),
    border-color var(--rjf-transicion);
}

.rjf-pagination button:hover:not(:disabled),
.rjf-pagination button.is-active {
  border-color: var(--rjf-verde-lima);
  background: var(--rjf-verde-lima);
  color: var(--rjf-verde-profundo);
}

.rjf-pagination button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* =========================================================
   7. ACORDEÓN
========================================================= */
.rjf-section--detail {
  background:
    radial-gradient(circle at 100% 100%, rgba(139, 217, 54, .12), transparent 25%),
    var(--rjf-gris-50);
}

.rjf-accordion {
  display: grid;
  gap: 14px;
}

.rjf-accordion__item {
  overflow: hidden;
  border: 1px solid var(--rjf-gris-200);
  border-radius: 20px;
  background: var(--rjf-blanco);
  box-shadow: 0 10px 30px rgba(0, 45, 34, .05);
  transition:
    border-color var(--rjf-transicion),
    box-shadow var(--rjf-transicion);
}

.rjf-accordion__item.is-open {
  border-color: rgba(11, 122, 53, .25);
  box-shadow: var(--rjf-sombra-sm);
}

.rjf-accordion__trigger {
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 25px;
  background: transparent;
  color: var(--rjf-verde-profundo);
  text-align: left;
  cursor: pointer;
}

.rjf-accordion__index {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--rjf-verde-suave);
  color: var(--rjf-verde-institucional);
  font-size: .76rem;
  font-weight: 850;
}

.rjf-accordion__heading strong,
.rjf-accordion__heading small {
  display: block;
}

.rjf-accordion__heading strong {
  font-size: 1.03rem;
}

.rjf-accordion__heading small {
  margin-top: 3px;
  color: var(--rjf-gris-500);
  font-size: .78rem;
}

.rjf-accordion__toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rjf-gris-100);
}

.rjf-accordion__toggle::before,
.rjf-accordion__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--rjf-verde-profundo);
  transform: translate(-50%, -50%);
  transition: transform var(--rjf-transicion);
}

.rjf-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rjf-accordion__item.is-open .rjf-accordion__toggle {
  background: var(--rjf-verde-lima);
}

.rjf-accordion__item.is-open .rjf-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.rjf-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.rjf-accordion__item.is-open .rjf-accordion__panel {
  grid-template-rows: 1fr;
}

.rjf-accordion__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.rjf-accordion__panel-inner > p,
.rjf-accordion__panel-inner > .rjf-tag-list {
  margin-right: 25px;
  margin-left: 91px;
}

.rjf-accordion__panel-inner > p {
  max-width: 850px;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--rjf-gris-600);
}

.rjf-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
}

.rjf-tag-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(11, 122, 53, .12);
  border-radius: 999px;
  background: var(--rjf-verde-palido);
  color: var(--rjf-verde-oscuro);
  font-size: .74rem;
  font-weight: 700;
}

/* =========================================================
   8. CTA
========================================================= */
.rjf-section--cta {
  padding: 70px 0 90px;
  background: var(--rjf-blanco);
}

.rjf-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: var(--rjf-radio-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(139, 217, 54, .22), transparent 26%),
    linear-gradient(130deg, var(--rjf-verde-profundo), #075c35);
  color: var(--rjf-blanco);
  box-shadow: var(--rjf-sombra-lg);
}

.rjf-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
}

.rjf-cta__icon {
  display: grid;
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, .10);
  color: var(--rjf-verde-lima);
}

.rjf-cta__icon svg {
  width: 49px;
  height: 49px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rjf-cta__content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.rjf-cta__content > span {
  color: var(--rjf-verde-lima-claro);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rjf-cta h2 {
  max-width: 740px;
  margin: 6px 0 7px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.rjf-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
}

/* =========================================================
   9. MODALES
========================================================= */
.rjf-modal {
  position: fixed;
  z-index: 9998;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--rjf-transicion),
    visibility var(--rjf-transicion);
}

.rjf-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.rjf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 19, .76);
  backdrop-filter: blur(8px);
}

.rjf-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 690px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border-radius: 26px;
  background: var(--rjf-blanco);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .32);
  transform: translateY(18px) scale(.97);
  transition: transform var(--rjf-transicion);
}

.rjf-modal.is-open .rjf-modal__dialog {
  transform: translateY(0) scale(1);
}

.rjf-modal__dialog--help {
  width: min(100%, 600px);
}

.rjf-modal__close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: var(--rjf-blanco);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.rjf-modal__close span {
  font-size: 1.55rem;
  line-height: 1;
}

.rjf-modal__header {
  padding: 34px 66px 30px 32px;
  background:
    radial-gradient(circle at 92% 0%, rgba(139, 217, 54, .25), transparent 32%),
    linear-gradient(135deg, var(--rjf-verde-profundo), var(--rjf-verde-institucional));
  color: var(--rjf-blanco);
}

.rjf-modal__badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(139, 217, 54, .17);
  color: var(--rjf-verde-lima-claro);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rjf-modal__header h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.rjf-modal__header p {
  margin: 0;
  color: rgba(255, 255, 255, .71);
  font-size: .9rem;
}

.rjf-modal__body {
  padding: 28px 32px;
}

.rjf-modal__metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.rjf-modal__metadata div {
  padding: 15px;
  border-radius: 14px;
  background: var(--rjf-gris-50);
}

.rjf-modal__metadata dt {
  color: var(--rjf-gris-500);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rjf-modal__metadata dd {
  margin: 5px 0 0;
  color: var(--rjf-verde-profundo);
  font-size: .83rem;
  font-weight: 700;
}

.rjf-modal__keywords {
  margin-top: 21px;
}

.rjf-modal__keywords > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--rjf-verde-profundo);
  font-size: .83rem;
}

.rjf-modal__keywords > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rjf-modal__keywords span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rjf-verde-suave);
  color: var(--rjf-verde-oscuro);
  font-size: .72rem;
  font-weight: 700;
}

.rjf-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 32px 27px;
  border-top: 1px solid var(--rjf-gris-200);
}

.rjf-help-steps {
  display: grid;
  gap: 15px;
  padding: 28px 32px 34px;
}

.rjf-help-steps article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 15px;
  background: var(--rjf-gris-50);
}

.rjf-help-steps article > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--rjf-verde-institucional);
  color: var(--rjf-blanco);
  font-weight: 850;
}

.rjf-help-steps strong {
  color: var(--rjf-verde-profundo);
}

.rjf-help-steps p {
  margin: 3px 0 0;
  color: var(--rjf-gris-600);
  font-size: .84rem;
}

body.rjf-modal-open {
  overflow: hidden;
}

/* =========================================================
   10. ANIMACIONES
========================================================= */
[data-rjf-reveal] {
  opacity: 1;
  transform: none;
}

.rjf-page.rjf-animations-ready [data-rjf-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .75s ease,
    transform .75s ease;
}

.rjf-page.rjf-animations-ready [data-rjf-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rjfFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

@keyframes rjfRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rjfCardIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   11. RESPONSIVE
========================================================= */
@media (max-width: 1120px) {
  .rjf-hero__grid {
    grid-template-columns: 1fr .8fr;
  }

  .rjf-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rjf-documents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rjf-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rjf-section {
    padding: 74px 0;
  }

  .rjf-hero {
    min-height: auto;
  }

  .rjf-hero__grid {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 145px;
  }

  .rjf-hero__content {
    max-width: none;
  }

  .rjf-hero__visual {
    min-height: 390px;
  }

  .rjf-legal-visual {
    width: min(100%, 420px);
  }

  .rjf-section-heading {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .rjf-documents-grid.is-list .rjf-document-card__body {
    grid-template-columns: 55px 1fr;
  }

  .rjf-documents-grid.is-list .rjf-document-card__meta,
  .rjf-documents-grid.is-list .rjf-document-card__footer {
    grid-column: 2;
  }

  .rjf-documents-grid.is-list .rjf-document-card__footer {
    align-items: flex-start;
  }

  .rjf-cta {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .rjf-cta .rjf-btn {
    margin-left: 107px;
  }
}

@media (max-width: 700px) {
  .rjf-container {
    width: min(calc(100% - 28px), var(--rjf-container));
  }

  .rjf-hero__grid {
    padding-top: 90px;
    gap: 32px;
  }

  .rjf-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.25rem);
  }

  .rjf-hero__stats {
    gap: 22px;
  }

  .rjf-hero__stats article:not(:last-child)::after {
    display: none;
  }

  .rjf-hero__visual {
    min-height: 340px;
  }

  .rjf-floating-card {
    min-width: 135px;
    padding: 10px 12px;
    font-size: .72rem;
  }

  .rjf-topic-grid,
  .rjf-documents-grid {
    grid-template-columns: 1fr;
  }

  .rjf-topic-card {
    min-height: 165px;
  }

  .rjf-filter-grid {
    grid-template-columns: 1fr;
  }

  .rjf-filter-footer,
  .rjf-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rjf-view-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .rjf-view-tools select {
    flex: 1;
  }

  .rjf-documents-grid.is-list .rjf-document-card__body {
    display: flex;
  }

  .rjf-documents-grid.is-list .rjf-document-card__top {
    display: flex;
  }

  .rjf-documents-grid.is-list .rjf-document-card__footer {
    align-items: center;
    flex-direction: row;
    margin: 18px -22px -22px;
    padding: 15px 22px;
    border-top: 1px solid var(--rjf-gris-200);
    background: var(--rjf-gris-50);
  }

  .rjf-accordion__trigger {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 18px;
  }

  .rjf-accordion__index {
    width: 42px;
    height: 42px;
  }

  .rjf-accordion__heading small {
    display: none;
  }

  .rjf-accordion__panel-inner > p,
  .rjf-accordion__panel-inner > .rjf-tag-list {
    margin-right: 18px;
    margin-left: 72px;
  }

  .rjf-cta {
    padding: 28px 24px;
  }

  .rjf-cta__icon {
    width: 64px;
    height: 64px;
  }

  .rjf-cta .rjf-btn {
    width: 100%;
    margin-left: 0;
  }

  .rjf-modal {
    padding: 10px;
  }

  .rjf-modal__dialog {
    max-height: calc(100vh - 20px);
    border-radius: 20px;
  }

  .rjf-modal__header,
  .rjf-modal__body,
  .rjf-help-steps {
    padding-right: 22px;
    padding-left: 22px;
  }

  .rjf-modal__metadata {
    grid-template-columns: 1fr;
  }

  .rjf-modal__footer {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 450px) {
  .rjf-hero__actions .rjf-btn {
    width: 100%;
  }

  .rjf-hero__stats article {
    min-width: 95px;
  }

  .rjf-floating-card--one {
    left: -5%;
  }

  .rjf-floating-card--two {
    right: -5%;
  }

  .rjf-floating-card--three {
    left: 0;
  }

  .rjf-explorer {
    padding: 18px;
    border-radius: 20px;
  }

  .rjf-search input {
    height: 58px;
    padding-left: 49px;
    font-size: .88rem;
  }

  .rjf-modal__footer {
    flex-direction: column-reverse;
  }

  .rjf-modal__footer .rjf-btn {
    width: 100%;
  }
}

/* Reduce movimiento si el usuario lo solicita */
@media (prefers-reduced-motion: reduce) {
  .rjf-page *,
  .rjf-page *::before,
  .rjf-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-rjf-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   COMPATIBILIDAD ADICIONAL CON POWER PAGES
========================================================= */

@supports not (overflow: clip) {
  .rjf-page {
    overflow-x: hidden;
  }
}

.rjf-page [hidden] {
  display: none !important;
}

.rjf-page .rjf-modal[aria-hidden="true"] {
  pointer-events: none;
}

.rjf-page .rjf-modal.is-open {
  pointer-events: auto;
}

.rjf-page,
.rjf-page main,
.rjf-page section,
.rjf-page header {
  max-width: 100%;
}

.rjf-page select,
.rjf-page input,
.rjf-page button {
  max-width: 100%;
}

.rjf-page .rjf-document-card,
.rjf-page .rjf-topic-card,
.rjf-page .rjf-accordion__item {
  min-width: 0;
}

.rjf-page .rjf-document-card h3,
.rjf-page .rjf-document-card__description,
.rjf-page .rjf-document-card__meta span {
  overflow-wrap: anywhere;
}

.rjf-page + .sectionBlockLayout,
.rjf-page + .sectionBlockLayout > .container,
.rjf-page + .sectionBlockLayout .columnBlockLayout {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
