/*
 * Inner pages adapter for index.brown-61ce design system (styles-new.overlay_north_1a8e)
 * 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(.filter-0447) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.header-top-3c71.chip-green-8cee {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.focus-static-8169 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.focus-static-8169 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.hidden_4320 {
  flex: 0 0 100%;
  max-width: 100%;
}

.chip-840b {
  flex: 0 0 100%;
  max-width: 100%;
}

.popup-7cf8 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .popup-7cf8 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .chip-840b {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pagination-3fbb { display: flex; }
.hidden_abeb { justify-content: space-between; }
.module-511b { align-items: center; }
.chip-green-8cee { text-align: center; }

.iron_9459 { margin-right: 0.5rem; }
.tertiary-9893 { margin-right: 1rem; }
.photo-657f { margin-top: 1rem; }
.background-f5ba { margin-top: 1.5rem; }
.card_0ff2 { margin-bottom: 1rem; }
.row_83e3 { margin-bottom: 1.5rem; }
.small-af66 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.lite-b506 { margin-top: 1rem; margin-bottom: 1rem; }
.photo-clean-7f69 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.lower-7423 { max-width: 100%; height: auto; }

/* Links used in old footer */
.steel_94ac { color: var(--text-primary); }
.fast_4d77 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.title-7565 {
  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 */
.backdrop_15f6 { /* 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);
}

.backdrop_15f6:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.banner-feaa {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.banner-feaa:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.soft-9eff {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.alert-up-8cc3 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.alert-up-8cc3::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;
}

.slider-prev-2d45 {
  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);
}

.slider-prev-2d45 h1 {
  margin-bottom: var(--spacing-sm);
}

.slider-prev-2d45 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.first_ba97 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.shadow_bright_c88d {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.plasma_4fcc {
  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);
}

.picture_cold_b410 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.element-b38d h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.element-b38d p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.hero_1ad3 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.liquid-48e4 {
  padding-bottom: var(--spacing-2xl);
}

.component-warm-ee2b {
  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;
}

.white-b865 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.north_c8e6 a {
  color: var(--primary-color);
}

.north_c8e6.fn-active-f76b {
  color: var(--text-secondary);
}

.north_c8e6:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.disabled_lower_53a0 {
  padding: var(--spacing-xl) 0;
}

.layout_static_5ac0 {
  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);
}

.layout_static_5ac0 h2 {
  margin-bottom: var(--spacing-sm);
}

.layout_static_5ac0 p {
  color: var(--text-secondary);
}

.border_a255 {
  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;
}

.border_a255 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.border_a255 h4 {
  margin-top: var(--spacing-sm);
}

.border_a255 p {
  color: var(--text-secondary);
}

.light_3dd4 {
  padding: var(--spacing-xl) 0;
}

.up_58a0 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.block_7e9d {
  list-style: none;
  margin: 0;
  padding: 0;
}

.block_7e9d a {
  color: var(--text-secondary);
}

.block_7e9d a:hover {
  color: var(--primary-color);
}

.search_e935 {
  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);
}

.detail-8227 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.sort_82a2 {
  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);
}

.sort_82a2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.preview_short_837b { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.item_7f1e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: a429 */
.ghost-box-o2 {
  padding: 0.1rem;
  font-size: 11px;
  line-height: 1.1;
}
