/*
 * Inner pages adapter for index.avatar_483c design system (styles-new.hover-stale-7369)
 * 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(.overlay-steel-6d8a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.wrapper-9df4.description_south_13e4 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.sort_paper_58b1 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.sort_paper_58b1 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.top-679c {
  flex: 0 0 100%;
  max-width: 100%;
}

.article-a7a4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.solid_8057 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .solid_8057 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .article-a7a4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.logo-cf90 { display: flex; }
.badge-e69f { justify-content: space-between; }
.large_13b0 { align-items: center; }
.description_south_13e4 { text-align: center; }

.banner_over_e0c1 { margin-right: 0.5rem; }
.active_6013 { margin-right: 1rem; }
.wrapper-a510 { margin-top: 1rem; }
.border-a17a { margin-top: 1.5rem; }
.article_b3a1 { margin-bottom: 1rem; }
.red-e319 { margin-bottom: 1.5rem; }
.aside_2c91 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.container-gold-3236 { margin-top: 1rem; margin-bottom: 1rem; }
.nav_07c1 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.background_small_90ae { max-width: 100%; height: auto; }

/* Links used in old footer */
.lower_a4aa { color: var(--text-primary); }
.cool-1268 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.button_d98a {
  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 */
.footer-6e26 { /* 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);
}

.footer-6e26:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.accent_top_59f4 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.accent_top_59f4:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.surface-purple-6d77 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.widget-5ae0 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.widget-5ae0::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;
}

.sidebar_in_04a7 {
  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);
}

.sidebar_in_04a7 h1 {
  margin-bottom: var(--spacing-sm);
}

.sidebar_in_04a7 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.copper-baf0 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.accent-west-af0d {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.dropdown_74aa {
  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);
}

.shadow_7029 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.header-center-8a3a h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.header-center-8a3a p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pattern-gas-b522 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.description_gold_8fc0 {
  padding-bottom: var(--spacing-2xl);
}

.lite-6b59 {
  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;
}

.current-1f7c {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.video-advanced-de6c a {
  color: var(--primary-color);
}

.video-advanced-de6c.fn-active-ba9a {
  color: var(--text-secondary);
}

.video-advanced-de6c:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.item-pink-f174 {
  padding: var(--spacing-xl) 0;
}

.yellow-d6b5 {
  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);
}

.yellow-d6b5 h2 {
  margin-bottom: var(--spacing-sm);
}

.yellow-d6b5 p {
  color: var(--text-secondary);
}

.tabs-8eb3 {
  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;
}

.tabs-8eb3 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.tabs-8eb3 h4 {
  margin-top: var(--spacing-sm);
}

.tabs-8eb3 p {
  color: var(--text-secondary);
}

.breadcrumb_1054 {
  padding: var(--spacing-xl) 0;
}

.aside-hard-582c {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.south_76b1 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.south_76b1 a {
  color: var(--text-secondary);
}

.south_76b1 a:hover {
  color: var(--primary-color);
}

.blue-9984 {
  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);
}

.preview-east-cd08 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.under_b993 {
  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);
}

.under_b993:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.tabs-86a0 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.soft_318e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 8b85 */
.shadow-element-c3 {
  padding: 0.3rem;
  font-size: 14px;
  line-height: 1.2;
}
