/*
 * Inner pages adapter for index.dynamic-e819 design system (styles-new.clean_5f0c)
 * 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(.short_d0a6) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.overlay_72a5.huge_0dd2 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.article-warm-5480 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.article-warm-5480 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.list-b753 {
  flex: 0 0 100%;
  max-width: 100%;
}

.red_b5c9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.list_lower_7436 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .list_lower_7436 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .red_b5c9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.focused-7731 { display: flex; }
.tabs_out_4c69 { justify-content: space-between; }
.outline-top-d536 { align-items: center; }
.huge_0dd2 { text-align: center; }

.main-69f9 { margin-right: 0.5rem; }
.search-3c1f { margin-right: 1rem; }
.shade_pink_de3f { margin-top: 1rem; }
.button_wide_a9d2 { margin-top: 1.5rem; }
.middle-1acf { margin-bottom: 1rem; }
.highlight-light-67bf { margin-bottom: 1.5rem; }
.description-bright-daf7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.detail-orange-72c9 { margin-top: 1rem; margin-bottom: 1rem; }
.texture-out-93f2 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.silver-f405 { max-width: 100%; height: auto; }

/* Links used in old footer */
.grid_hovered_dfae { color: var(--text-primary); }
.carousel_top_b429 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.progress_short_8626 {
  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 */
.gradient_action_233d { /* 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);
}

.gradient_action_233d:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.fixed-0f87 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.fixed-0f87:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.banner-b0c5 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.component-pro-ce59 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.component-pro-ce59::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;
}

.easy-91a5 {
  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);
}

.easy-91a5 h1 {
  margin-bottom: var(--spacing-sm);
}

.easy-91a5 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.hard_9a4b {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.container_new_ea1e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.detail-4670 {
  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);
}

.pagination_hard_35b2 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.white_4891 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.white_4891 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.gradient_gas_1600 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.small-e194 {
  padding-bottom: var(--spacing-2xl);
}

.link-e889 {
  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;
}

.content_eabf {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.picture_1dfc a {
  color: var(--primary-color);
}

.picture_1dfc.fn-active-64b4 {
  color: var(--text-secondary);
}

.picture_1dfc:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.info-3ab5 {
  padding: var(--spacing-xl) 0;
}

.silver-6a6a {
  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);
}

.silver-6a6a h2 {
  margin-bottom: var(--spacing-sm);
}

.silver-6a6a p {
  color: var(--text-secondary);
}

.filter_1976 {
  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;
}

.filter_1976 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.filter_1976 h4 {
  margin-top: var(--spacing-sm);
}

.filter_1976 p {
  color: var(--text-secondary);
}

.dropdown_bcf1 {
  padding: var(--spacing-xl) 0;
}

.image_dynamic_6fa5 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.hero_424b {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero_424b a {
  color: var(--text-secondary);
}

.hero_424b a:hover {
  color: var(--primary-color);
}

.tertiary_f931 {
  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);
}

.border_liquid_a4a0 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.preview-mini-d7bc {
  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);
}

.preview-mini-d7bc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.icon-dirty-5382 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.breadcrumb_d082 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 6f33 */
.ghost-box-e0 {
  padding: 0.3rem;
  font-size: 12px;
  line-height: 1.1;
}
