/*
 * Inner pages adapter for index.middle-958b design system (styles-new.label-b56d)
 * 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(.black_7bdd) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.menu_short_55cb.pagination_smooth_783d {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.action-b006 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.action-b006 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.pagination_thick_1b3f {
  flex: 0 0 100%;
  max-width: 100%;
}

.feature_b759 {
  flex: 0 0 100%;
  max-width: 100%;
}

.media-rough-ab3c {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .media-rough-ab3c {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .feature_b759 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.texture-stone-5b36 { display: flex; }
.layout_out_e45a { justify-content: space-between; }
.silver-14b1 { align-items: center; }
.pagination_smooth_783d { text-align: center; }

.avatar-6b72 { margin-right: 0.5rem; }
.preview_cold_b71e { margin-right: 1rem; }
.fixed_60fc { margin-top: 1rem; }
.down_b6f3 { margin-top: 1.5rem; }
.search-prev-b6ca { margin-bottom: 1rem; }
.in-c6c5 { margin-bottom: 1.5rem; }
.over-1efb { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.notification_fa42 { margin-top: 1rem; margin-bottom: 1rem; }
.logo_b80e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.dropdown-3388 { max-width: 100%; height: auto; }

/* Links used in old footer */
.nav_768b { color: var(--text-primary); }
.info-cabc { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.caption-8f5d {
  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 */
.element-a719 { /* 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);
}

.element-a719:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.widget-warm-1280 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.widget-warm-1280:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.red_4af2 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.module_f04a {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.module_f04a::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;
}

.gas-ac31 {
  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);
}

.gas-ac31 h1 {
  margin-bottom: var(--spacing-sm);
}

.gas-ac31 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.mini_16f9 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.aside_new_8e3b {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.advanced_44eb {
  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);
}

.cool_a6fd {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.lower_9e78 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.lower_9e78 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pagination_glass_abb1 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.clean-f01c {
  padding-bottom: var(--spacing-2xl);
}

.pro_da8d {
  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;
}

.blue_7b8a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.outline-bronze-b6e0 a {
  color: var(--primary-color);
}

.outline-bronze-b6e0.fn-active-ad56 {
  color: var(--text-secondary);
}

.outline-bronze-b6e0:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.center_3b9f {
  padding: var(--spacing-xl) 0;
}

.fluid-0eef {
  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);
}

.fluid-0eef h2 {
  margin-bottom: var(--spacing-sm);
}

.fluid-0eef p {
  color: var(--text-secondary);
}

.dropdown_d742 {
  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;
}

.dropdown_d742 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.dropdown_d742 h4 {
  margin-top: var(--spacing-sm);
}

.dropdown_d742 p {
  color: var(--text-secondary);
}

.detail-next-8bca {
  padding: var(--spacing-xl) 0;
}

.surface_old_c290 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.advanced-2cf5 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.advanced-2cf5 a {
  color: var(--text-secondary);
}

.advanced-2cf5 a:hover {
  color: var(--primary-color);
}

.button_paper_44da {
  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);
}

.label-e6fb {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.module_0e6e {
  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);
}

.module_0e6e:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.box-silver-3457 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.border-fast-a168 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 244f */
.promo-block-y0 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.3;
}
