/* ============================================================
   DATA CLUSTER BLOCKS — Phase 1 (May 7, 2026)
   Block E: Related links with descriptive subtitles
   Block F: Calculator/tool CTA (matches Block B teal pattern)
   Freshness: "Updated [date] from [source]" badge
   Mirrors tramite-blocks.css color tokens and spacing.
   ============================================================ */

/* === Freshness Module — compact "Updated [date]" badge === */
.data-block-freshness {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f9fa;
  border: 1px solid #d0e7e9;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin: 1rem 0;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.4;
}
.data-block-freshness__icon {
  display: inline-flex;
  align-items: center;
  color: #0A6B72;
}
.data-block-freshness__text strong {
  color: #0A6B72;
  font-weight: 600;
}

/* === Block E — Related Links with Subtitles === */
.data-block-e {
  margin: 2.5rem 0 1.5rem;
}
.data-block-e__heading {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin: 0 0 1rem;
}
.data-block-e__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.data-block-e__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.data-block-e__card:hover {
  border-color: #0A6B72;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10, 107, 114, 0.08);
}
.data-block-e__label {
  font-size: 1rem;
  font-weight: 600;
  color: #0A6B72;
  line-height: 1.3;
}
.data-block-e__subtitle {
  font-size: 0.825rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
}

/* === Block F — Calculator / Tool CTA === */
.data-block-f {
  margin: 1.5rem 0 2.5rem;
}
.data-block-f__cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #0A6B72;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.data-block-f__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10, 107, 114, 0.25);
}
.data-block-f__icon {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}
.data-block-f__label {
  flex: 1;
}
.data-block-f__arrow {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

/* === Mobile Breakpoint === */
@media (max-width: 768px) {
  .data-block-e__grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
  .data-block-e__card {
    padding: 0.85rem 1rem;
  }
  .data-block-f__cta {
    padding: 1rem 1.15rem;
    font-size: 1rem;
  }
  .data-block-freshness {
    width: 100%;
    box-sizing: border-box;
  }
}
