/*
 * Inner pages adapter for index.old-4b6d design system (styles-new.dim_f5f0)
 * Purpose: keep legacy inner-page HTML (row/col/utilities) working while matching modern palette.
 */

/* Hide legacy header blocks once we inject the modern header into inner pages */
body > header:not(.sidebar_6729) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.banner_north_4fd3.table-warm-e5f5 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.component-dynamic-ecee {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.component-dynamic-ecee > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.thumbnail_hard_f133 {
  flex: 0 0 100%;
  max-width: 100%;
}

.dropdown-slow-f662 {
  flex: 0 0 100%;
  max-width: 100%;
}

.block-gas-0843 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .block-gas-0843 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .dropdown-slow-f662 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.fresh-70e3 { display: flex; }
.dim_3ab1 { justify-content: space-between; }
.up-8167 { align-items: center; }
.table-warm-e5f5 { text-align: center; }

.paragraph-392f { margin-right: 0.5rem; }
.notification-48be { margin-right: 1rem; }
.highlight-48bc { margin-top: 1rem; }
.grid_glass_d0ce { margin-top: 1.5rem; }
.tertiary-tiny-8bec { margin-bottom: 1rem; }
.list-tiny-b8c4 { margin-bottom: 1.5rem; }
.stale-ac37 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.grid_b460 { margin-top: 1rem; margin-bottom: 1rem; }
.tooltip-small-ae51 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.icon-b01b { max-width: 100%; height: auto; }

/* Links used in old footer */
.card-tiny-2b86 { color: var(--text-primary); }
.column-brown-40ee { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.box-3bc6 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Map legacy variants to modern system */
.summary-hot-5837 { /* treat as primary */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-primary);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.summary-hot-5837:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hidden_9a93 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hidden_9a93:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.full_2597 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.silver-0d1a {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.silver-0d1a::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.18) 0%, transparent 70%);
  filter: blur(1px);
  pointer-events: none;
}

.title_d2c9 {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.title_d2c9 h1 {
  margin-bottom: var(--spacing-sm);
}

.title_d2c9 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.description_dark_5d6e {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.cool-15cc {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.section_active_9475 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.hero_active_afb5 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.carousel-2fe6 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.carousel-2fe6 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.paper_acf8 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.bright_491b {
  padding-bottom: var(--spacing-2xl);
}

.avatar_slow_22d2 {
  background: rgba(10, 14, 39, 0.55);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-sm) 0;
}

.bronze_3123 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.popup-dim-04a0 a {
  color: var(--primary-color);
}

.popup-dim-04a0.fn-active-9725 {
  color: var(--text-secondary);
}

.popup-dim-04a0:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.warm_1509 {
  padding: var(--spacing-xl) 0;
}

.bottom-cb8a {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.bottom-cb8a h2 {
  margin-bottom: var(--spacing-sm);
}

.bottom-cb8a p {
  color: var(--text-secondary);
}

.slow-fa9f {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.slow-fa9f h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.slow-fa9f h4 {
  margin-top: var(--spacing-sm);
}

.slow-fa9f p {
  color: var(--text-secondary);
}

.main_67a7 {
  padding: var(--spacing-xl) 0;
}

.last_9bfd {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.form_silver_844f {
  list-style: none;
  margin: 0;
  padding: 0;
}

.form_silver_844f a {
  color: var(--text-secondary);
}

.form_silver_844f a:hover {
  color: var(--primary-color);
}

.north_0e04 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
}

.bottom-7d95 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.shade-east-f145 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.shade-east-f145:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.block_7735 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.notice-aa9e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: c9fe */
.shadow-element-l7 {
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.0;
}
