/*
 * Inner pages adapter for index.module_d237 design system (styles-new.nav-rough-d187)
 * 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(.detail-iron-586a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.input_motion_ed53.pagination-353a {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.feature-9426 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.feature-9426 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.tertiary-full-7ef2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.dark-b8ba {
  flex: 0 0 100%;
  max-width: 100%;
}

.tooltip_36f5 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .tooltip_36f5 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .dark-b8ba {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.tag_first_4f5a { display: flex; }
.description_next_8d3d { justify-content: space-between; }
.component-be84 { align-items: center; }
.pagination-353a { text-align: center; }

.label-f81a { margin-right: 0.5rem; }
.right_85fd { margin-right: 1rem; }
.info_cold_1567 { margin-top: 1rem; }
.tooltip_gas_3f06 { margin-top: 1.5rem; }
.input-basic-9b66 { margin-bottom: 1rem; }
.panel-wide-ca1a { margin-bottom: 1.5rem; }
.tall-b4eb { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.main_d9de { margin-top: 1rem; margin-bottom: 1rem; }
.wrapper_5786 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.north_b5c3 { max-width: 100%; height: auto; }

/* Links used in old footer */
.gallery-old-6277 { color: var(--text-primary); }
.upper_1cd3 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.text_a836 {
  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 */
.purple_3578 { /* 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);
}

.purple_3578:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.popup-dim-067d {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.popup-dim-067d:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.advanced-cf05 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.silver-c6b9 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.silver-c6b9::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;
}

.highlight-blue-85b2 {
  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);
}

.highlight-blue-85b2 h1 {
  margin-bottom: var(--spacing-sm);
}

.highlight-blue-85b2 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.gradient_selected_f55e {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.accent_cecb {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.mask-d600 {
  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);
}

.large_a692 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.logo_warm_f269 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.logo_warm_f269 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.down-cec0 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.main-0a61 {
  padding-bottom: var(--spacing-2xl);
}

.motion-9468 {
  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;
}

.preview_clean_5299 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.card_outer_aee3 a {
  color: var(--primary-color);
}

.card_outer_aee3.fn-active-0522 {
  color: var(--text-secondary);
}

.card_outer_aee3:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.overlay-6e23 {
  padding: var(--spacing-xl) 0;
}

.hot_0f08 {
  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);
}

.hot_0f08 h2 {
  margin-bottom: var(--spacing-sm);
}

.hot_0f08 p {
  color: var(--text-secondary);
}

.active-hard-862e {
  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;
}

.active-hard-862e h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.active-hard-862e h4 {
  margin-top: var(--spacing-sm);
}

.active-hard-862e p {
  color: var(--text-secondary);
}

.silver_bea9 {
  padding: var(--spacing-xl) 0;
}

.focus_pink_a9ab {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.next_3212 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.next_3212 a {
  color: var(--text-secondary);
}

.next_3212 a:hover {
  color: var(--primary-color);
}

.tooltip-c9c5 {
  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);
}

.title-fresh-4c24 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.simple-3280 {
  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);
}

.simple-3280:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.north_d1f5 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.box_brown_9edb { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: e40b */
.shadow-element-v1 {
  padding: 0.2rem;
  font-size: 13px;
  line-height: 1.1;
}
