/*
 * Inner pages adapter for index.detail-gas-f0fb design system (styles-new.table_light_7280)
 * 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(.form_4cff) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.logo-cf19.slow-d9e2 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.in-21d0 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.in-21d0 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.grid_d525 {
  flex: 0 0 100%;
  max-width: 100%;
}

.hero_79dd {
  flex: 0 0 100%;
  max-width: 100%;
}

.component_4447 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .component_4447 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .hero_79dd {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.footer_white_9373 { display: flex; }
.sidebar-easy-7ed1 { justify-content: space-between; }
.form_brown_859d { align-items: center; }
.slow-d9e2 { text-align: center; }

.notice-a209 { margin-right: 0.5rem; }
.full_fe10 { margin-right: 1rem; }
.heading-3887 { margin-top: 1rem; }
.focused_d6ea { margin-top: 1.5rem; }
.search_4ade { margin-bottom: 1rem; }
.selected-fb51 { margin-bottom: 1.5rem; }
.badge-wood-fa18 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.complex-abf7 { margin-top: 1rem; margin-bottom: 1rem; }
.prev-6ea8 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.gallery_glass_76a6 { max-width: 100%; height: auto; }

/* Links used in old footer */
.huge_5522 { color: var(--text-primary); }
.secondary-wood-f522 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.mask-a9ae {
  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 */
.button_2437 { /* 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);
}

.button_2437:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.full-2d71 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.full-2d71:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.pattern-dim-f97c {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.red_52ff {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.red_52ff::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;
}

.status-074b {
  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);
}

.status-074b h1 {
  margin-bottom: var(--spacing-sm);
}

.status-074b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.preview-orange-f19a {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.large-2a5b {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hero_b482 {
  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);
}

.red-1b86 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.tabs_aed3 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.tabs_aed3 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.search_dff5 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.brown_5fd9 {
  padding-bottom: var(--spacing-2xl);
}

.inner-b8e9 {
  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;
}

.hard-c862 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.easy-ba8e a {
  color: var(--primary-color);
}

.easy-ba8e.fn-active-81f5 {
  color: var(--text-secondary);
}

.easy-ba8e:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.picture-copper-4e4d {
  padding: var(--spacing-xl) 0;
}

.input-cool-8ae5 {
  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);
}

.input-cool-8ae5 h2 {
  margin-bottom: var(--spacing-sm);
}

.input-cool-8ae5 p {
  color: var(--text-secondary);
}

.first_0256 {
  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;
}

.first_0256 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.first_0256 h4 {
  margin-top: var(--spacing-sm);
}

.first_0256 p {
  color: var(--text-secondary);
}

.backdrop-plasma-22b6 {
  padding: var(--spacing-xl) 0;
}

.grid_smooth_7eae {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.search_bottom_f8ac {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search_bottom_f8ac a {
  color: var(--text-secondary);
}

.search_bottom_f8ac a:hover {
  color: var(--primary-color);
}

.tertiary-out-a79a {
  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);
}

.video-mini-2f3b {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.header-cbb8 {
  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);
}

.header-cbb8:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.background_bottom_6f2a { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.top_9285 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 2f6b */
.promo-block-g5 {
  padding: 0.3rem;
  font-size: 10px;
  line-height: 1.1;
}
