/*
 * Inner pages adapter for index.hidden_easy_9f7c design system (styles-new.title-a4a8)
 * 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(.north-2ac5) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.aside_current_5764.banner_0194 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.sort_20f9 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.sort_20f9 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.lite-81ba {
  flex: 0 0 100%;
  max-width: 100%;
}

.inner-ab06 {
  flex: 0 0 100%;
  max-width: 100%;
}

.header_99a1 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .header_99a1 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .inner-ab06 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pagination_wide_e6b7 { display: flex; }
.fast_825e { justify-content: space-between; }
.secondary-prev-715c { align-items: center; }
.banner_0194 { text-align: center; }

.overlay_bca9 { margin-right: 0.5rem; }
.bronze-9be4 { margin-right: 1rem; }
.caption_a002 { margin-top: 1rem; }
.section_f450 { margin-top: 1.5rem; }
.outline-da45 { margin-bottom: 1rem; }
.in_16ce { margin-bottom: 1.5rem; }
.table_yellow_2dc2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.backdrop_cold_d086 { margin-top: 1rem; margin-bottom: 1rem; }
.footer_orange_096d { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.hover_bronze_cf5f { max-width: 100%; height: auto; }

/* Links used in old footer */
.tooltip-fresh-a8b8 { color: var(--text-primary); }
.feature_dcb7 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.overlay_dirty_a3af {
  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 */
.gallery-silver-25db { /* 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);
}

.gallery-silver-25db:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.grid_b36b {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.grid_b36b:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.shadow-bronze-6d49 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.element_7cd3 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.element_7cd3::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;
}

.disabled-up-2749 {
  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);
}

.disabled-up-2749 h1 {
  margin-bottom: var(--spacing-sm);
}

.disabled-up-2749 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.grid_tall_611a {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.fluid-28cc {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.component-b2dd {
  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);
}

.next_15a4 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.pattern_slow_c3ae h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.pattern_slow_c3ae p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.popup_top_7ca3 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.widget_outer_6df3 {
  padding-bottom: var(--spacing-2xl);
}

.card-3a34 {
  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;
}

.label-ce2c {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.first-2c9a a {
  color: var(--primary-color);
}

.first-2c9a.fn-active-ec8a {
  color: var(--text-secondary);
}

.first-2c9a:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.background_brown_adc8 {
  padding: var(--spacing-xl) 0;
}

.right-5c03 {
  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);
}

.right-5c03 h2 {
  margin-bottom: var(--spacing-sm);
}

.right-5c03 p {
  color: var(--text-secondary);
}

.header-left-ad11 {
  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;
}

.header-left-ad11 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.header-left-ad11 h4 {
  margin-top: var(--spacing-sm);
}

.header-left-ad11 p {
  color: var(--text-secondary);
}

.banner-large-01b0 {
  padding: var(--spacing-xl) 0;
}

.dropdown_b39f {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.gas_0bac {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gas_0bac a {
  color: var(--text-secondary);
}

.gas_0bac a:hover {
  color: var(--primary-color);
}

.notice_orange_62b0 {
  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);
}

.grid_4614 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.thumbnail-motion-28a7 {
  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);
}

.thumbnail-motion-28a7:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.notification-lite-2bb1 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wide_8934 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: e17b */
.widget-item-f3 {
  padding: 0.4rem;
  font-size: 13px;
  line-height: 1.0;
}
