/*
 * Inner pages adapter for index.current-c688 design system (styles-new.warm_e1b8)
 * 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(.pagination_b168) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.active_5949.content-59a3 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.mask-soft-cf12 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.mask-soft-cf12 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.focus_04c1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.layout_gas_2104 {
  flex: 0 0 100%;
  max-width: 100%;
}

.element-43d4 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .element-43d4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .layout_gas_2104 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.accordion-1c2c { display: flex; }
.surface_first_25b9 { justify-content: space-between; }
.dirty-ea56 { align-items: center; }
.content-59a3 { text-align: center; }

.progress_hard_3f28 { margin-right: 0.5rem; }
.green_3f41 { margin-right: 1rem; }
.wide_7cd1 { margin-top: 1rem; }
.blue_eb75 { margin-top: 1.5rem; }
.simple-6800 { margin-bottom: 1rem; }
.up-96e9 { margin-bottom: 1.5rem; }
.hero-hot-1d6a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.cold-f6bd { margin-top: 1rem; margin-bottom: 1rem; }
.sidebar_ab93 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.block_in_65a1 { max-width: 100%; height: auto; }

/* Links used in old footer */
.red_8c11 { color: var(--text-primary); }
.black-7d40 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.avatar_warm_7f98 {
  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 */
.message-7299 { /* 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);
}

.message-7299:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.glass-088b {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.glass-088b:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.text-lite-6963 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.heading-b393 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.heading-b393::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;
}

.lower_74d5 {
  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);
}

.lower_74d5 h1 {
  margin-bottom: var(--spacing-sm);
}

.lower_74d5 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.video-simple-0db4 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.sort-orange-0978 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.module-north-5459 {
  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);
}

.sidebar-wood-d0a0 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.aside-blue-e204 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.aside-blue-e204 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.label-fc46 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.dirty_5144 {
  padding-bottom: var(--spacing-2xl);
}

.header-7aad {
  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;
}

.frame_04dc {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.narrow_fc0d a {
  color: var(--primary-color);
}

.narrow_fc0d.fn-active-11ed {
  color: var(--text-secondary);
}

.narrow_fc0d:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.slow-59c6 {
  padding: var(--spacing-xl) 0;
}

.avatar-b105 {
  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);
}

.avatar-b105 h2 {
  margin-bottom: var(--spacing-sm);
}

.avatar-b105 p {
  color: var(--text-secondary);
}

.highlight-5d79 {
  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;
}

.highlight-5d79 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.highlight-5d79 h4 {
  margin-top: var(--spacing-sm);
}

.highlight-5d79 p {
  color: var(--text-secondary);
}

.image_tiny_abd8 {
  padding: var(--spacing-xl) 0;
}

.up-058c {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.surface-786a {
  list-style: none;
  margin: 0;
  padding: 0;
}

.surface-786a a {
  color: var(--text-secondary);
}

.surface-786a a:hover {
  color: var(--primary-color);
}

.item-fluid-823d {
  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);
}

.image_7f75 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.highlight_slow_f0ea {
  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);
}

.highlight_slow_f0ea:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.north-a000 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hard_a21f { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 0a51 */
.ghost-box-f0 {
  padding: 0.3rem;
  font-size: 11px;
  line-height: 1.1;
}
