/*
 * Inner pages adapter for index.dirty-f083 design system (styles-new.clean-4c6c)
 * 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(.white-8004) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.content_mini_433d.widget-ea13 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.block_silver_90ec {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.block_silver_90ec > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.simple-7cec {
  flex: 0 0 100%;
  max-width: 100%;
}

.carousel_advanced_0858 {
  flex: 0 0 100%;
  max-width: 100%;
}

.outer_16a1 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .outer_16a1 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .carousel_advanced_0858 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.background-69e5 { display: flex; }
.shadow-c5eb { justify-content: space-between; }
.upper-2ea2 { align-items: center; }
.widget-ea13 { text-align: center; }

.label_motion_59e2 { margin-right: 0.5rem; }
.item_dim_b625 { margin-right: 1rem; }
.frame_green_26b1 { margin-top: 1rem; }
.section_fluid_6175 { margin-top: 1.5rem; }
.glass-d6cb { margin-bottom: 1rem; }
.table_8b77 { margin-bottom: 1.5rem; }
.small-0bb1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.status_0cb7 { margin-top: 1rem; margin-bottom: 1rem; }
.frame-dynamic-081e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.liquid_935e { max-width: 100%; height: auto; }

/* Links used in old footer */
.dirty-0e7c { color: var(--text-primary); }
.dynamic-7179 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.hovered-b807 {
  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 */
.surface-befd { /* 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);
}

.surface-befd:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.focus-tiny-0de5 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.focus-tiny-0de5:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.left-a1d2 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.tabs_green_a6e2 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.tabs_green_a6e2::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;
}

.button-ac7f {
  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);
}

.button-ac7f h1 {
  margin-bottom: var(--spacing-sm);
}

.button-ac7f p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.gallery-fixed-ff7f {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.button-in-e181 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.wide-d1f0 {
  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);
}

.thumbnail_0416 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.orange-cf46 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.orange-cf46 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.panel-c610 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.list-13dd {
  padding-bottom: var(--spacing-2xl);
}

.tag-fd07 {
  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;
}

.narrow_998d {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.yellow_87e1 a {
  color: var(--primary-color);
}

.yellow_87e1.fn-active-665f {
  color: var(--text-secondary);
}

.yellow_87e1:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.tooltip-soft-3a7f {
  padding: var(--spacing-xl) 0;
}

.dropdown-caf6 {
  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);
}

.dropdown-caf6 h2 {
  margin-bottom: var(--spacing-sm);
}

.dropdown-caf6 p {
  color: var(--text-secondary);
}

.disabled_bottom_ce3a {
  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;
}

.disabled_bottom_ce3a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.disabled_bottom_ce3a h4 {
  margin-top: var(--spacing-sm);
}

.disabled_bottom_ce3a p {
  color: var(--text-secondary);
}

.sort_purple_589e {
  padding: var(--spacing-xl) 0;
}

.medium_03d4 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.video_dirty_df01 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.video_dirty_df01 a {
  color: var(--text-secondary);
}

.video_dirty_df01 a:hover {
  color: var(--primary-color);
}

.focused_6c94 {
  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);
}

.complex-4750 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.inner_5e45 {
  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);
}

.inner_5e45:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.smooth-cdfe { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature_new_344a { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: ffb0 */
.shadow-element-r8 {
  padding: 0.2rem;
  font-size: 10px;
  line-height: 1.2;
}
