/*
 * Inner pages adapter for index.layout-f178 design system (styles-new.out_3efe)
 * 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(.table_6cdb) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.complex_4827.gradient_f31f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.hard-af2d {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.hard-af2d > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.info_f89a {
  flex: 0 0 100%;
  max-width: 100%;
}

.gallery_e426 {
  flex: 0 0 100%;
  max-width: 100%;
}

.smooth-beb7 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .smooth-beb7 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gallery_e426 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.component_red_972d { display: flex; }
.gallery_gold_7b35 { justify-content: space-between; }
.warm_009e { align-items: center; }
.gradient_f31f { text-align: center; }

.gallery_5dc6 { margin-right: 0.5rem; }
.grid-black-9dd9 { margin-right: 1rem; }
.yellow-440e { margin-top: 1rem; }
.chip-short-676d { margin-top: 1.5rem; }
.red_5793 { margin-bottom: 1rem; }
.box_top_9370 { margin-bottom: 1.5rem; }
.shade-ffb4 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.hover-095c { margin-top: 1rem; margin-bottom: 1rem; }
.small_7e9b { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.fresh_38f9 { max-width: 100%; height: auto; }

/* Links used in old footer */
.table_paper_e16f { color: var(--text-primary); }
.narrow_cdcf { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.button_old_acd9 {
  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 */
.widget_ccc8 { /* 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);
}

.widget_ccc8:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.icon_cba3 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.icon_cba3:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.sort-prev-3c86 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.message-liquid-6320 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.message-liquid-6320::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;
}

.tooltip_bf88 {
  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);
}

.tooltip_bf88 h1 {
  margin-bottom: var(--spacing-sm);
}

.tooltip_bf88 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.component-cb23 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.card_9c0e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.caption-9c0a {
  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);
}

.border_easy_c2b8 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.sort-9263 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.sort-9263 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.hard-6a1f img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.silver_ce63 {
  padding-bottom: var(--spacing-2xl);
}

.copper-5c6d {
  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;
}

.menu-black-f7f1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.thick-3933 a {
  color: var(--primary-color);
}

.thick-3933.fn-active-e3c6 {
  color: var(--text-secondary);
}

.thick-3933:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.background_purple_f462 {
  padding: var(--spacing-xl) 0;
}

.box-green-0412 {
  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-green-0412 h2 {
  margin-bottom: var(--spacing-sm);
}

.box-green-0412 p {
  color: var(--text-secondary);
}

.shadow-blue-8e01 {
  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;
}

.shadow-blue-8e01 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.shadow-blue-8e01 h4 {
  margin-top: var(--spacing-sm);
}

.shadow-blue-8e01 p {
  color: var(--text-secondary);
}

.dim-1ba4 {
  padding: var(--spacing-xl) 0;
}

.info-solid-4836 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.primary_easy_6d92 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary_easy_6d92 a {
  color: var(--text-secondary);
}

.primary_easy_6d92 a:hover {
  color: var(--primary-color);
}

.progress_9d81 {
  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);
}

.frame-smooth-5630 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.picture_ad88 {
  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);
}

.picture_ad88:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hero_glass_1758 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.column_liquid_8dad { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: dd1b */
.widget-item-x1 {
  padding: 0.3rem;
  font-size: 10px;
  line-height: 1.3;
}
