/*
 * Inner pages adapter for index.widget_small_d5c2 design system (styles-new.hero_lower_480b)
 * 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(.pro-f03a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.text_green_bec4.paper-979c {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.main-complex-7f52 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.main-complex-7f52 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.block-copper-bb82 {
  flex: 0 0 100%;
  max-width: 100%;
}

.box_6b95 {
  flex: 0 0 100%;
  max-width: 100%;
}

.content-current-a927 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .content-current-a927 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .box_6b95 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.bronze_e783 { display: flex; }
.liquid_29a5 { justify-content: space-between; }
.search-0826 { align-items: center; }
.paper-979c { text-align: center; }

.info-first-3f48 { margin-right: 0.5rem; }
.outline-prev-5e21 { margin-right: 1rem; }
.outer-427d { margin-top: 1rem; }
.static-3b37 { margin-top: 1.5rem; }
.tooltip-68bb { margin-bottom: 1rem; }
.notification_small_864f { margin-bottom: 1.5rem; }
.brown_93db { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.hot_b068 { margin-top: 1rem; margin-bottom: 1rem; }
.table_paper_3a66 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.gradient_orange_2071 { max-width: 100%; height: auto; }

/* Links used in old footer */
.description-07e4 { color: var(--text-primary); }
.caption_dim_2792 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.stone_17bb {
  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 */
.complex-5000 { /* 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);
}

.complex-5000:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.slow_96ac {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.slow_96ac:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.motion-0aee {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.widget-6209 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.widget-6209::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;
}

.bottom_d01a {
  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);
}

.bottom_d01a h1 {
  margin-bottom: var(--spacing-sm);
}

.bottom_d01a p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.brown-b702 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.nav_cd10 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.outline-soft-98f1 {
  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);
}

.large-8bcf {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.panel-first-a128 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.panel-first-a128 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.primary-large-b99c img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.media_new_2229 {
  padding-bottom: var(--spacing-2xl);
}

.description-advanced-52b4 {
  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;
}

.red-1286 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.video-7727 a {
  color: var(--primary-color);
}

.video-7727.fn-active-2fc6 {
  color: var(--text-secondary);
}

.video-7727:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.backdrop-next-1ab2 {
  padding: var(--spacing-xl) 0;
}

.down_e4a2 {
  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);
}

.down_e4a2 h2 {
  margin-bottom: var(--spacing-sm);
}

.down_e4a2 p {
  color: var(--text-secondary);
}

.rough_5e40 {
  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;
}

.rough_5e40 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.rough_5e40 h4 {
  margin-top: var(--spacing-sm);
}

.rough_5e40 p {
  color: var(--text-secondary);
}

.dark_b37d {
  padding: var(--spacing-xl) 0;
}

.content_complex_9149 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.yellow_f3f4 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yellow_f3f4 a {
  color: var(--text-secondary);
}

.yellow_f3f4 a:hover {
  color: var(--primary-color);
}

.plasma-6bc1 {
  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);
}

.accent-bright-e576 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.image-f5c5 {
  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);
}

.image-f5c5:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.heading-850e { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.summary-b006 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: abcf */
.widget-item-v4 {
  padding: 0.3rem;
  font-size: 14px;
  line-height: 1.2;
}
