/*
 * Inner pages adapter for index.border-south-4dba design system (styles-new.fixed_954a)
 * 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(.panel-bottom-6b6c) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.media_red_8ce3.bright-8819 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.gold-0e01 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.gold-0e01 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.left_1770 {
  flex: 0 0 100%;
  max-width: 100%;
}

.wood-904a {
  flex: 0 0 100%;
  max-width: 100%;
}

.sidebar_71ea {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .sidebar_71ea {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .wood-904a {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.dim-c880 { display: flex; }
.dark_0840 { justify-content: space-between; }
.tabs-edb7 { align-items: center; }
.bright-8819 { text-align: center; }

.slow_53d0 { margin-right: 0.5rem; }
.lite_ed3e { margin-right: 1rem; }
.label-2c59 { margin-top: 1rem; }
.box_complex_743a { margin-top: 1.5rem; }
.status_ff87 { margin-bottom: 1rem; }
.caption_ae61 { margin-bottom: 1.5rem; }
.solid-6cf1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.solid-8184 { margin-top: 1rem; margin-bottom: 1rem; }
.label_7a1c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.dirty_d456 { max-width: 100%; height: auto; }

/* Links used in old footer */
.accordion_f337 { color: var(--text-primary); }
.hard_d312 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.up_0fa9 {
  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 */
.mask_9aa7 { /* 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);
}

.mask_9aa7:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.current_3759 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.current_3759:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.element-86be {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.progress_red_62e7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.progress_red_62e7::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;
}

.box_current_0e99 {
  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);
}

.box_current_0e99 h1 {
  margin-bottom: var(--spacing-sm);
}

.box_current_0e99 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.button_1726 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.preview_7c95 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.active-a729 {
  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);
}

.out-f5e7 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.module_a9e4 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.module_a9e4 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.tertiary_62a1 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.row-9a37 {
  padding-bottom: var(--spacing-2xl);
}

.orange-24f2 {
  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;
}

.icon_left_eeda {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.grid_new_6fc0 a {
  color: var(--primary-color);
}

.grid_new_6fc0.fn-active-9611 {
  color: var(--text-secondary);
}

.grid_new_6fc0:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.icon-red-32a0 {
  padding: var(--spacing-xl) 0;
}

.texture_west_c025 {
  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);
}

.texture_west_c025 h2 {
  margin-bottom: var(--spacing-sm);
}

.texture_west_c025 p {
  color: var(--text-secondary);
}

.grid-aca3 {
  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;
}

.grid-aca3 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.grid-aca3 h4 {
  margin-top: var(--spacing-sm);
}

.grid-aca3 p {
  color: var(--text-secondary);
}

.description_solid_dd84 {
  padding: var(--spacing-xl) 0;
}

.blue-b161 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.fluid_6615 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fluid_6615 a {
  color: var(--text-secondary);
}

.fluid_6615 a:hover {
  color: var(--primary-color);
}

.west_d4c2 {
  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);
}

.liquid-ac04 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.notification_top_95c3 {
  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);
}

.notification_top_95c3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.breadcrumb-4a21 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.shade-cdc8 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: d2df */
.promo-block-u1 {
  padding: 0.5rem;
  font-size: 11px;
  line-height: 1.2;
}
