/*
 * Inner pages adapter for index.grid_2f97 design system (styles-new.element-outer-6cb9)
 * 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(.slow_6c47) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.soft_9362.accordion_next_9424 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.badge_pressed_0268 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.badge_pressed_0268 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.form-copper-3590 {
  flex: 0 0 100%;
  max-width: 100%;
}

.chip-0f37 {
  flex: 0 0 100%;
  max-width: 100%;
}

.grid_huge_0e4b {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .grid_huge_0e4b {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .chip-0f37 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.logo-4b8b { display: flex; }
.photo-plasma-1cd9 { justify-content: space-between; }
.table-east-ab87 { align-items: center; }
.accordion_next_9424 { text-align: center; }

.main_right_06ec { margin-right: 0.5rem; }
.table_plasma_2353 { margin-right: 1rem; }
.accordion_north_2ffe { margin-top: 1rem; }
.label-4e89 { margin-top: 1.5rem; }
.under-4994 { margin-bottom: 1rem; }
.container_a4be { margin-bottom: 1.5rem; }
.blue-8b58 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.large-6a33 { margin-top: 1rem; margin-bottom: 1rem; }
.shade_789c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.element-1084 { max-width: 100%; height: auto; }

/* Links used in old footer */
.accent_cold_0cb7 { color: var(--text-primary); }
.secondary_c2ca { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.icon-brown-97ef {
  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 */
.element-c749 { /* 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);
}

.element-c749:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.stale_42f1 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.stale_42f1:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.frame_0ad0 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.feature-01ba {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.feature-01ba::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;
}

.element-7eca {
  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);
}

.element-7eca h1 {
  margin-bottom: var(--spacing-sm);
}

.element-7eca p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.medium-0f96 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.white_7105 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.article_ee45 {
  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);
}

.copper-5625 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.black-3a32 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.black-3a32 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.sort_prev_3c8c img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.card-small-a634 {
  padding-bottom: var(--spacing-2xl);
}

.status-948a {
  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;
}

.small-f91f {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.caption_active_14d6 a {
  color: var(--primary-color);
}

.caption_active_14d6.fn-active-011a {
  color: var(--text-secondary);
}

.caption_active_14d6:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.main-new-772d {
  padding: var(--spacing-xl) 0;
}

.pink_9454 {
  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);
}

.pink_9454 h2 {
  margin-bottom: var(--spacing-sm);
}

.pink_9454 p {
  color: var(--text-secondary);
}

.silver_56ef {
  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;
}

.silver_56ef h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.silver_56ef h4 {
  margin-top: var(--spacing-sm);
}

.silver_56ef p {
  color: var(--text-secondary);
}

.primary_green_6b03 {
  padding: var(--spacing-xl) 0;
}

.lite_96da {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.focused-c487 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.focused-c487 a {
  color: var(--text-secondary);
}

.focused-c487 a:hover {
  color: var(--primary-color);
}

.tertiary-current-dd59 {
  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);
}

.primary_action_1535 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.description-1fb1 {
  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);
}

.description-1fb1:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.liquid-1344 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-warm-6472 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 8a38 */
.promo-block-a2 {
  padding: 0.1rem;
  font-size: 11px;
  line-height: 1.3;
}
