/*
 * Inner pages adapter for index.tooltip_541a design system (styles-new.row_bd67)
 * 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(.sidebar_b6d9) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.dropdown-7e6d.tertiary_d51f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.tiny_7cc0 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.tiny_7cc0 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.slider_43b4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.upper_4f73 {
  flex: 0 0 100%;
  max-width: 100%;
}

.image-33ff {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .image-33ff {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .upper_4f73 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.active-0253 { display: flex; }
.cool_c51a { justify-content: space-between; }
.large_d612 { align-items: center; }
.tertiary_d51f { text-align: center; }

.popup_upper_58f2 { margin-right: 0.5rem; }
.paragraph_plasma_880f { margin-right: 1rem; }
.rough_433d { margin-top: 1rem; }
.pagination_light_ffdf { margin-top: 1.5rem; }
.heading_6d01 { margin-bottom: 1rem; }
.wrapper-red-a978 { margin-bottom: 1.5rem; }
.old-7f8c { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.module_901e { margin-top: 1rem; margin-bottom: 1rem; }
.breadcrumb-stone-3107 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.section_narrow_cf2b { max-width: 100%; height: auto; }

/* Links used in old footer */
.grid-lite-869d { color: var(--text-primary); }
.hard-4a79 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.accordion_a4ba {
  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 */
.stale-f226 { /* 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);
}

.stale-f226:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hidden-af53 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hidden-af53:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.left-95b5 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.heading_9dd3 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.heading_9dd3::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;
}

.detail-green-b19d {
  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);
}

.detail-green-b19d h1 {
  margin-bottom: var(--spacing-sm);
}

.detail-green-b19d p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.video-275e {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.plasma-5515 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.secondary_solid_e376 {
  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);
}

.glass_343f {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.selected_a168 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.selected_a168 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.block_dbe8 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.backdrop_right_dfba {
  padding-bottom: var(--spacing-2xl);
}

.rough-66e7 {
  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;
}

.list_glass_f406 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.video_d52d a {
  color: var(--primary-color);
}

.video_d52d.fn-active-52e8 {
  color: var(--text-secondary);
}

.video_d52d:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.primary_basic_169e {
  padding: var(--spacing-xl) 0;
}

.brown-98a5 {
  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);
}

.brown-98a5 h2 {
  margin-bottom: var(--spacing-sm);
}

.brown-98a5 p {
  color: var(--text-secondary);
}

.pressed-496b {
  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;
}

.pressed-496b h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.pressed-496b h4 {
  margin-top: var(--spacing-sm);
}

.pressed-496b p {
  color: var(--text-secondary);
}

.rough-9180 {
  padding: var(--spacing-xl) 0;
}

.disabled-b9c9 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.image_stone_1f35 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.image_stone_1f35 a {
  color: var(--text-secondary);
}

.image_stone_1f35 a:hover {
  color: var(--primary-color);
}

.layout_wide_664b {
  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);
}

.nav-narrow-1558 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.slow-caeb {
  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);
}

.slow-caeb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.texture_hard_721f { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.summary_basic_caef { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: da07 */
.promo-block-j0 {
  padding: 0.5rem;
  font-size: 11px;
  line-height: 1.1;
}
