/*
 * Inner pages adapter for index.shadow_d280 design system (styles-new.search-61d3)
 * 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(.panel_35f1) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.shadow_motion_53c8.summary_8006 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.notice_6692 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.notice_6692 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.progress_bronze_bea1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.gas-5844 {
  flex: 0 0 100%;
  max-width: 100%;
}

.outer-fca8 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .outer-fca8 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gas-5844 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.chip_628a { display: flex; }
.popup_501b { justify-content: space-between; }
.warm_72e4 { align-items: center; }
.summary_8006 { text-align: center; }

.accordion_soft_735a { margin-right: 0.5rem; }
.filter_advanced_17ea { margin-right: 1rem; }
.sort-386f { margin-top: 1rem; }
.hero_dirty_1ee1 { margin-top: 1.5rem; }
.text-top-3724 { margin-bottom: 1rem; }
.summary_d6e9 { margin-bottom: 1.5rem; }
.notice_4750 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.title-old-5528 { margin-top: 1rem; margin-bottom: 1rem; }
.feature-red-53cd { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.progress_narrow_569a { max-width: 100%; height: auto; }

/* Links used in old footer */
.advanced_ebc9 { color: var(--text-primary); }
.button-pro-231b { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.iron_409b {
  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 */
.aside-soft-92e5 { /* 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);
}

.aside-soft-92e5:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hero_397b {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hero_397b:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.out_304d {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.hidden_10ba {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.hidden_10ba::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;
}

.grid-liquid-5bce {
  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);
}

.grid-liquid-5bce h1 {
  margin-bottom: var(--spacing-sm);
}

.grid-liquid-5bce p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.logo-5eb5 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.filter_1555 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.center_8818 {
  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);
}

.component_top_4e89 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.grid-17ee h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.grid-17ee p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.motion-5a8b img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.tabs-71b8 {
  padding-bottom: var(--spacing-2xl);
}

.hard-bdc1 {
  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;
}

.left-d850 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.gas-bbb9 a {
  color: var(--primary-color);
}

.gas-bbb9.fn-active-feb6 {
  color: var(--text-secondary);
}

.gas-bbb9:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.narrow_fffb {
  padding: var(--spacing-xl) 0;
}

.column-wood-7897 {
  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);
}

.column-wood-7897 h2 {
  margin-bottom: var(--spacing-sm);
}

.column-wood-7897 p {
  color: var(--text-secondary);
}

.selected-a70b {
  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;
}

.selected-a70b h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.selected-a70b h4 {
  margin-top: var(--spacing-sm);
}

.selected-a70b p {
  color: var(--text-secondary);
}

.pattern_9a44 {
  padding: var(--spacing-xl) 0;
}

.clean-0f0a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.sort_wood_9a3e {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sort_wood_9a3e a {
  color: var(--text-secondary);
}

.sort_wood_9a3e a:hover {
  color: var(--primary-color);
}

.lite-a0c0 {
  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);
}

.notification_3dc1 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.yellow-a0e2 {
  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);
}

.yellow-a0e2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.liquid_1203 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wide_ebda { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 4706 */
.promo-block-r5 {
  padding: 0.1rem;
  font-size: 14px;
  line-height: 1.3;
}
