/*
 * Inner pages adapter for index.motion-ef22 design system (styles-new.description-paper-702d)
 * 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(.frame-middle-7517) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.card_easy_1c3c.aside_orange_08cd {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.chip-6926 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.chip-6926 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.old_2ba4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.stale-78f9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.table-red-f573 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .table-red-f573 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .stale-78f9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.paragraph_d6af { display: flex; }
.dark_270d { justify-content: space-between; }
.hovered-183e { align-items: center; }
.aside_orange_08cd { text-align: center; }

.info_current_eefd { margin-right: 0.5rem; }
.active_8b13 { margin-right: 1rem; }
.thumbnail_bronze_7a19 { margin-top: 1rem; }
.dropdown_up_c856 { margin-top: 1.5rem; }
.under-74c8 { margin-bottom: 1rem; }
.mask_a7bc { margin-bottom: 1.5rem; }
.complex-fad6 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.article-hot-7256 { margin-top: 1rem; margin-bottom: 1rem; }
.bronze-ebba { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.detail_yellow_89a6 { max-width: 100%; height: auto; }

/* Links used in old footer */
.focused-3c4d { color: var(--text-primary); }
.thick_f791 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.last-770c {
  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 */
.gas_5d45 { /* 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);
}

.gas_5d45:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.paper-aed3 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.paper-aed3:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.bronze_6638 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.surface_medium_9af2 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.surface_medium_9af2::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;
}

.summary-efb6 {
  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);
}

.summary-efb6 h1 {
  margin-bottom: var(--spacing-sm);
}

.summary-efb6 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.element-old-4a74 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.detail_ee69 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.button_d3e5 {
  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);
}

.under-a480 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.shade-static-83f3 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.shade-static-83f3 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.blue_2bc8 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.content_action_5cf4 {
  padding-bottom: var(--spacing-2xl);
}

.pattern-6418 {
  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;
}

.hidden_small_86f7 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.progress_active_bb6b a {
  color: var(--primary-color);
}

.progress_active_bb6b.fn-active-06b6 {
  color: var(--text-secondary);
}

.progress_active_bb6b:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.hover_3362 {
  padding: var(--spacing-xl) 0;
}

.small_7c54 {
  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);
}

.small_7c54 h2 {
  margin-bottom: var(--spacing-sm);
}

.small_7c54 p {
  color: var(--text-secondary);
}

.pressed_5e60 {
  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;
}

.pressed_5e60 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.pressed_5e60 h4 {
  margin-top: var(--spacing-sm);
}

.pressed_5e60 p {
  color: var(--text-secondary);
}

.main-862c {
  padding: var(--spacing-xl) 0;
}

.caption_73ba {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.badge_medium_252d {
  list-style: none;
  margin: 0;
  padding: 0;
}

.badge_medium_252d a {
  color: var(--text-secondary);
}

.badge_medium_252d a:hover {
  color: var(--primary-color);
}

.message_clean_15a0 {
  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);
}

.table-small-c4bf {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.hero-b20b {
  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);
}

.hero-b20b:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.logo_b018 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hovered_0778 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: f18e */
.ghost-box-a6 {
  padding: 0.2rem;
  font-size: 11px;
  line-height: 1.3;
}
