/*
 * Inner pages adapter for index.sort-wide-be5f design system (styles-new.disabled_steel_1c5b)
 * 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(.module-366a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.selected-d7a0.dropdown_static_29e2 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.popup-small-075a {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.popup-small-075a > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.cold-bbc4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.form_dd4b {
  flex: 0 0 100%;
  max-width: 100%;
}

.description-slow-a220 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .description-slow-a220 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .form_dd4b {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.dynamic_bb43 { display: flex; }
.outer_74d3 { justify-content: space-between; }
.search-f3e2 { align-items: center; }
.dropdown_static_29e2 { text-align: center; }

.slow_86c9 { margin-right: 0.5rem; }
.blue_b3e6 { margin-right: 1rem; }
.thumbnail-8b8d { margin-top: 1rem; }
.slow_e8ce { margin-top: 1.5rem; }
.border-rough-9b2d { margin-bottom: 1rem; }
.link_c60a { margin-bottom: 1.5rem; }
.red-6faf { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.smooth-f179 { margin-top: 1rem; margin-bottom: 1rem; }
.silver-3693 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.gallery_7939 { max-width: 100%; height: auto; }

/* Links used in old footer */
.mask-right-f429 { color: var(--text-primary); }
.west-fb9b { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.avatar_fast_65e5 {
  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 */
.banner_soft_7b07 { /* 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);
}

.banner_soft_7b07:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.container_warm_8a22 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.container_warm_8a22:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.background_996a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.backdrop_bright_ba14 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.backdrop_bright_ba14::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_6e6a {
  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_6e6a h1 {
  margin-bottom: var(--spacing-sm);
}

.gas_6e6a p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.shade-motion-999f {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.pro_876e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.pagination-brown-2f0a {
  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);
}

.breadcrumb-hard-bf77 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.dynamic-0ba9 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.dynamic-0ba9 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.fresh-4fab img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.card_05f4 {
  padding-bottom: var(--spacing-2xl);
}

.pattern-hot-ac48 {
  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;
}

.avatar_thick_8b25 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.widget_7510 a {
  color: var(--primary-color);
}

.widget_7510.fn-active-0714 {
  color: var(--text-secondary);
}

.widget_7510:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.logo-large-5bd1 {
  padding: var(--spacing-xl) 0;
}

.panel_c51d {
  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);
}

.panel_c51d h2 {
  margin-bottom: var(--spacing-sm);
}

.panel_c51d p {
  color: var(--text-secondary);
}

.row_up_8c5e {
  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;
}

.row_up_8c5e h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.row_up_8c5e h4 {
  margin-top: var(--spacing-sm);
}

.row_up_8c5e p {
  color: var(--text-secondary);
}

.accent-smooth-a874 {
  padding: var(--spacing-xl) 0;
}

.focused-7762 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.cool-0322 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cool-0322 a {
  color: var(--text-secondary);
}

.cool-0322 a:hover {
  color: var(--primary-color);
}

.tertiary_tall_65cd {
  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);
}

.thick_4b62 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.widget_advanced_957d {
  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);
}

.widget_advanced_957d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.last_4256 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.upper-3b10 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 04e5 */
.ghost-box-p1 {
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.3;
}
