/*
 * Inner pages adapter for index.carousel-selected-7fde design system (styles-new.surface-3b16)
 * 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(.under_6af6) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.element-left-e6c8.lower-520c {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.mini-f702 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.mini-f702 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.article-bronze-2b51 {
  flex: 0 0 100%;
  max-width: 100%;
}

.under-69c9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.fast-c41e {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .fast-c41e {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .under-69c9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.orange_94ce { display: flex; }
.right_5191 { justify-content: space-between; }
.pink-776d { align-items: center; }
.lower-520c { text-align: center; }

.border-a9a4 { margin-right: 0.5rem; }
.smooth_7f49 { margin-right: 1rem; }
.gallery-f6e3 { margin-top: 1rem; }
.short_0ae4 { margin-top: 1.5rem; }
.notification-orange-2c0e { margin-bottom: 1rem; }
.sort-west-ec94 { margin-bottom: 1.5rem; }
.dynamic-5cbf { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.prev-5832 { margin-top: 1rem; margin-bottom: 1rem; }
.gas-9464 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.gas-ab94 { max-width: 100%; height: auto; }

/* Links used in old footer */
.west_b55d { color: var(--text-primary); }
.gradient-680b { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.blue_af53 {
  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 */
.fluid-a4ee { /* 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);
}

.fluid-a4ee:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.text_7f59 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.text_7f59:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.liquid-6cd2 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.highlight_blue_05c3 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.highlight_blue_05c3::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;
}

.shadow_silver_6a25 {
  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);
}

.shadow_silver_6a25 h1 {
  margin-bottom: var(--spacing-sm);
}

.shadow_silver_6a25 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.photo_2451 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.wrapper_thick_51b1 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.east-ee7d {
  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);
}

.right-cd8c {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.fast-08b3 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.fast-08b3 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.dark_1402 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.description-dark-a0dc {
  padding-bottom: var(--spacing-2xl);
}

.heading_medium_a580 {
  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;
}

.over-512c {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.description_2c32 a {
  color: var(--primary-color);
}

.description_2c32.fn-active-4b59 {
  color: var(--text-secondary);
}

.description_2c32:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.highlight_f0d7 {
  padding: var(--spacing-xl) 0;
}

.layout-inner-273c {
  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-inner-273c h2 {
  margin-bottom: var(--spacing-sm);
}

.layout-inner-273c p {
  color: var(--text-secondary);
}

.image_down_c53e {
  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;
}

.image_down_c53e h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.image_down_c53e h4 {
  margin-top: var(--spacing-sm);
}

.image_down_c53e p {
  color: var(--text-secondary);
}

.preview-wide-6ade {
  padding: var(--spacing-xl) 0;
}

.title_large_8107 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.east-7422 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.east-7422 a {
  color: var(--text-secondary);
}

.east-7422 a:hover {
  color: var(--primary-color);
}

.aside-steel-6f89 {
  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);
}

.chip-751c {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tooltip_gas_061d {
  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);
}

.tooltip_gas_061d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.image-gold-2c6a { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.list-dim-7e40 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 2790 */
.ghost-box-y4 {
  padding: 0.5rem;
  font-size: 11px;
  line-height: 1.3;
}
