/*
 * Inner pages adapter for index.solid-43f2 design system (styles-new.module_437f)
 * 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(.action_2ab3) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.short_b5f8.article_d659 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.plasma_357d {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.plasma_357d > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.secondary-pressed-82b0 {
  flex: 0 0 100%;
  max-width: 100%;
}

.input_orange_db4e {
  flex: 0 0 100%;
  max-width: 100%;
}

.column-2e8f {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .column-2e8f {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .input_orange_db4e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.small_a288 { display: flex; }
.photo-outer-494d { justify-content: space-between; }
.fast-1818 { align-items: center; }
.article_d659 { text-align: center; }

.summary_red_8520 { margin-right: 0.5rem; }
.component_fluid_0424 { margin-right: 1rem; }
.highlight-fe45 { margin-top: 1rem; }
.filter_inner_71c9 { margin-top: 1.5rem; }
.slider_bc8f { margin-bottom: 1rem; }
.video-wood-0fc9 { margin-bottom: 1.5rem; }
.article-wide-695d { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.surface_1470 { margin-top: 1rem; margin-bottom: 1rem; }
.heading_7d17 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.tooltip_soft_b09f { max-width: 100%; height: auto; }

/* Links used in old footer */
.paragraph_bcf0 { color: var(--text-primary); }
.container-f22a { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.heading-paper-ed2b {
  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 */
.out-cb3c { /* 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);
}

.out-cb3c:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.active-out-1bdc {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.active-out-1bdc:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.text_31bb {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.cool-0223 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.cool-0223::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;
}

.panel_c7e8 {
  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);
}

.panel_c7e8 h1 {
  margin-bottom: var(--spacing-sm);
}

.panel_c7e8 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.pagination-0ee0 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.article_stale_7642 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.secondary-fb17 {
  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);
}

.message_soft_e0df {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.new_359c h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.new_359c p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.card-84b7 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.layout_0649 {
  padding-bottom: var(--spacing-2xl);
}

.card_blue_c17e {
  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;
}

.gradient_first_69ff {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.accent-hard-aaa5 a {
  color: var(--primary-color);
}

.accent-hard-aaa5.fn-active-41e4 {
  color: var(--text-secondary);
}

.accent-hard-aaa5:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.menu-d13d {
  padding: var(--spacing-xl) 0;
}

.hidden-paper-bd63 {
  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);
}

.hidden-paper-bd63 h2 {
  margin-bottom: var(--spacing-sm);
}

.hidden-paper-bd63 p {
  color: var(--text-secondary);
}

.outer-c632 {
  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;
}

.outer-c632 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.outer-c632 h4 {
  margin-top: var(--spacing-sm);
}

.outer-c632 p {
  color: var(--text-secondary);
}

.cold-c912 {
  padding: var(--spacing-xl) 0;
}

.sort-out-0a69 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.layout_191c {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layout_191c a {
  color: var(--text-secondary);
}

.layout_191c a:hover {
  color: var(--primary-color);
}

.pattern-406d {
  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);
}

.shade_easy_10e3 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.row-down-c6eb {
  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);
}

.row-down-c6eb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.stale-143d { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.popup_fb55 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 4592 */
.shadow-element-t2 {
  padding: 0.1rem;
  font-size: 14px;
  line-height: 1.1;
}
