/*
 * Inner pages adapter for index.dark_73c4 design system (styles-new.black_4768)
 * 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(.pagination-liquid-0981) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.element_top_0d31.accent_fd3a {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.notification-huge-3b82 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.notification-huge-3b82 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.section-upper-9cd3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.backdrop_last_ba9d {
  flex: 0 0 100%;
  max-width: 100%;
}

.widget_hard_327b {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .widget_hard_327b {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .backdrop_last_ba9d {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.old_2967 { display: flex; }
.bright_a3b0 { justify-content: space-between; }
.column_outer_7aa9 { align-items: center; }
.accent_fd3a { text-align: center; }

.filter-mini-c57b { margin-right: 0.5rem; }
.pagination_6d51 { margin-right: 1rem; }
.panel_6d5b { margin-top: 1rem; }
.complex-6ab4 { margin-top: 1.5rem; }
.media-44b7 { margin-bottom: 1rem; }
.stale_2f07 { margin-bottom: 1.5rem; }
.popup-365a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.module_liquid_fe27 { margin-top: 1rem; margin-bottom: 1rem; }
.right_04d2 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.carousel-2373 { max-width: 100%; height: auto; }

/* Links used in old footer */
.warm-bce6 { color: var(--text-primary); }
.grid_a339 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.focus_smooth_500b {
  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 */
.short-ed95 { /* 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);
}

.short-ed95:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.smooth-9869 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.smooth-9869:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.basic-dfb0 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.next-0484 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.next-0484::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;
}

.form-wide-385b {
  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-wide-385b h1 {
  margin-bottom: var(--spacing-sm);
}

.form-wide-385b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.footer_first_d56c {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.wood-6e4a {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.icon-4992 {
  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);
}

.primary_dim_31bf {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.feature_top_25dc h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.feature_top_25dc p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.info_2db1 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.popup-a3a4 {
  padding-bottom: var(--spacing-2xl);
}

.soft-0c60 {
  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;
}

.purple_2850 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.article_bottom_d1fb a {
  color: var(--primary-color);
}

.article_bottom_d1fb.fn-active-88c9 {
  color: var(--text-secondary);
}

.article_bottom_d1fb:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.picture-a1cd {
  padding: var(--spacing-xl) 0;
}

.card_upper_4c1b {
  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);
}

.card_upper_4c1b h2 {
  margin-bottom: var(--spacing-sm);
}

.card_upper_4c1b p {
  color: var(--text-secondary);
}

.sidebar-hot-fbcd {
  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;
}

.sidebar-hot-fbcd h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.sidebar-hot-fbcd h4 {
  margin-top: var(--spacing-sm);
}

.sidebar-hot-fbcd p {
  color: var(--text-secondary);
}

.table_steel_2c9b {
  padding: var(--spacing-xl) 0;
}

.panel_new_03ce {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.basic_0ae8 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.basic_0ae8 a {
  color: var(--text-secondary);
}

.basic_0ae8 a:hover {
  color: var(--primary-color);
}

.narrow_213b {
  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);
}

.disabled-down-b28a {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.search-right-3062 {
  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);
}

.search-right-3062:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.large_b0bb { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.table-3fc4 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 3c4d */
.shadow-element-w4 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.2;
}
