/*
 * Inner pages adapter for index.old-538c design system (styles-new.container-down-9a7b)
 * 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(.badge-advanced-827b) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.accordion-black-dfee.nav_basic_6b1b {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.middle_26f6 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.middle_26f6 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.gradient_74a3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.complex-a87b {
  flex: 0 0 100%;
  max-width: 100%;
}

.footer_47cf {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .footer_47cf {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .complex-a87b {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.surface_east_87c2 { display: flex; }
.menu_focused_a039 { justify-content: space-between; }
.up-14ff { align-items: center; }
.nav_basic_6b1b { text-align: center; }

.border-0ed7 { margin-right: 0.5rem; }
.thick_70c3 { margin-right: 1rem; }
.accordion_soft_e7e0 { margin-top: 1rem; }
.text_first_592c { margin-top: 1.5rem; }
.pressed-08dd { margin-bottom: 1rem; }
.iron-6327 { margin-bottom: 1.5rem; }
.form-top-fad7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.basic-656f { margin-top: 1rem; margin-bottom: 1rem; }
.texture_fd8d { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.tabs-white-c5fb { max-width: 100%; height: auto; }

/* Links used in old footer */
.box-paper-4593 { color: var(--text-primary); }
.footer_mini_95cc { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.south-51eb {
  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 */
.backdrop_orange_e518 { /* 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);
}

.backdrop_orange_e518:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.thick_18c3 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.thick_18c3:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.highlight-fresh-8954 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.yellow_770b {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.yellow_770b::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;
}

.backdrop-0792 {
  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);
}

.backdrop-0792 h1 {
  margin-bottom: var(--spacing-sm);
}

.backdrop-0792 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.out-2961 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.logo-west-d30b {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.surface_ef93 {
  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);
}

.item_747d {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.tooltip-green-142c h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.tooltip-green-142c p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.table-8399 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.hover_bright_deae {
  padding-bottom: var(--spacing-2xl);
}

.banner_copper_1cd1 {
  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;
}

.next_7927 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.message_df2e a {
  color: var(--primary-color);
}

.message_df2e.fn-active-365f {
  color: var(--text-secondary);
}

.message_df2e:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.aside-steel-2bba {
  padding: var(--spacing-xl) 0;
}

.upper-7624 {
  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);
}

.upper-7624 h2 {
  margin-bottom: var(--spacing-sm);
}

.upper-7624 p {
  color: var(--text-secondary);
}

.table_copper_c0b8 {
  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;
}

.table_copper_c0b8 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.table_copper_c0b8 h4 {
  margin-top: var(--spacing-sm);
}

.table_copper_c0b8 p {
  color: var(--text-secondary);
}

.column-black-ffef {
  padding: var(--spacing-xl) 0;
}

.paper_34f6 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.carousel-6997 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel-6997 a {
  color: var(--text-secondary);
}

.carousel-6997 a:hover {
  color: var(--primary-color);
}

.hot_fae1 {
  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);
}

.sort-huge-a8a8 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.button-d9f6 {
  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);
}

.button-d9f6:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.tag-out-2b17 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.selected_ef6c { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 1e9b */
.phantom-card-s0 {
  padding: 0.3rem;
  font-size: 13px;
  line-height: 1.2;
}
