/* ============================================================ */
/* RISK ALERT SECTION — Layout & Header                          */
/* ============================================================ */

.ra-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f0f5fc 0%, #f8fafc 40%, #f0f5fc 100%);
  position: relative;
  overflow: hidden;
}

.ra-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.ra-section::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.ra-section__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.ra-section__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.ra-section__desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .ra-section__desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* --- Grid container --- */
.ra-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}



@media (max-width: 1023px) {
  .ra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ra-section {
    padding: 2.5rem 0;
  }

  .ra-section__header {
    margin-bottom: 1.5rem;
  }

  .ra-section__title {
    font-size: 1.35rem;
  }

  .ra-section__desc {
    font-size: 0.88rem;
  }

  .ra-grid {
    grid-template-columns: 1fr;
  }

  .ra-section__footnote {
    font-size: 0.8rem;
    margin-top: 1.25rem;
  }
}

/* --- Footnote --- */
.ra-section__footnote {
  text-align: center;
  max-width: 780px;
  margin: 2rem auto 0;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-style: normal;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.05);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--c-primary);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .ra-section__footnote {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8rem;
  }
}

.ra-footnote-text::after {
  content: "";
  display: inline-block;
  inline-size: 2px;
  block-size: 1em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: ra-blink 0.8s step-end infinite;
}

@keyframes ra-blink {
  50% { opacity: 0; }
}

.ra-footnote-data {
  display: none;
}
