/*
 * Inner pages adapter for index.dim-0d5d design system (styles-new.primary-light-7dca)
 * 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(.gallery-up-6374) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.first-ac6f.pink-5b43 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.accent-b53f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.accent-b53f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.media-4c2d {
  flex: 0 0 100%;
  max-width: 100%;
}

.complex-ecd5 {
  flex: 0 0 100%;
  max-width: 100%;
}

.summary_688a {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .summary_688a {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .complex-ecd5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.blue-81f4 { display: flex; }
.action_d084 { justify-content: space-between; }
.fixed_a878 { align-items: center; }
.pink-5b43 { text-align: center; }

.hero-8671 { margin-right: 0.5rem; }
.avatar-18b3 { margin-right: 1rem; }
.tag-82f8 { margin-top: 1rem; }
.module-88dd { margin-top: 1.5rem; }
.menu-stone-11e7 { margin-bottom: 1rem; }
.hero_0874 { margin-bottom: 1.5rem; }
.hot-e2d1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.full-d4c9 { margin-top: 1rem; margin-bottom: 1rem; }
.fresh-2a5a { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.tabs-dynamic-2818 { max-width: 100%; height: auto; }

/* Links used in old footer */
.thick-77b1 { color: var(--text-primary); }
.popup-411f { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.gallery-steel-a0d6 {
  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 */
.container_20b9 { /* 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);
}

.container_20b9:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.thick-d2c0 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.thick-d2c0:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.nav_silver_e46f {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.mask-1ed7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.mask-1ed7::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;
}

.outline_up_ef37 {
  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);
}

.outline_up_ef37 h1 {
  margin-bottom: var(--spacing-sm);
}

.outline_up_ef37 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.header_1744 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.heading_186c {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.modal_df80 {
  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);
}

.advanced-2a0c {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.article-action-4bd7 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.article-action-4bd7 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.small-9683 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.wrapper-f577 {
  padding-bottom: var(--spacing-2xl);
}

.banner_9e83 {
  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;
}

.info-fcec {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.table_advanced_8a75 a {
  color: var(--primary-color);
}

.table_advanced_8a75.fn-active-6a9b {
  color: var(--text-secondary);
}

.table_advanced_8a75:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.grid_c2d1 {
  padding: var(--spacing-xl) 0;
}

.form-d47f {
  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);
}

.form-d47f h2 {
  margin-bottom: var(--spacing-sm);
}

.form-d47f p {
  color: var(--text-secondary);
}

.dynamic_3fb6 {
  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;
}

.dynamic_3fb6 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.dynamic_3fb6 h4 {
  margin-top: var(--spacing-sm);
}

.dynamic_3fb6 p {
  color: var(--text-secondary);
}

.avatar_lower_2019 {
  padding: var(--spacing-xl) 0;
}

.dynamic_08d8 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.fast_0184 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fast_0184 a {
  color: var(--text-secondary);
}

.fast_0184 a:hover {
  color: var(--primary-color);
}

.tabs-0668 {
  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);
}

.advanced-a8a5 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.solid_7446 {
  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);
}

.solid_7446:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.simple_e6de { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.shadow_iron_ddbd { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 7409 */
.shadow-element-l8 {
  padding: 0.1rem;
  font-size: 11px;
  line-height: 1.3;
}
