/*
 * Inner pages adapter for index.soft-9ffa design system (styles-new.progress-a4af)
 * 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(.message-huge-33c1) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.narrow_4b93.motion_492c {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.alert_be1f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.alert_be1f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.rough_ce0e {
  flex: 0 0 100%;
  max-width: 100%;
}

.gallery_d2ae {
  flex: 0 0 100%;
  max-width: 100%;
}

.list-first-d3e6 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .list-first-d3e6 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gallery_d2ae {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.slider_7036 { display: flex; }
.middle-fc6e { justify-content: space-between; }
.thumbnail_3e4b { align-items: center; }
.motion_492c { text-align: center; }

.progress_narrow_42fb { margin-right: 0.5rem; }
.gallery-3a08 { margin-right: 1rem; }
.aside-5510 { margin-top: 1rem; }
.hidden_wood_b9de { margin-top: 1.5rem; }
.widget_70b7 { margin-bottom: 1rem; }
.component-small-29ae { margin-bottom: 1.5rem; }
.tiny-91af { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.next-c0a4 { margin-top: 1rem; margin-bottom: 1rem; }
.active-west-1b93 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.preview_red_15d7 { max-width: 100%; height: auto; }

/* Links used in old footer */
.filter-active-a0ac { color: var(--text-primary); }
.cold-ea72 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.breadcrumb_complex_86ae {
  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 */
.old_d813 { /* 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);
}

.old_d813:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hero-cold-96c6 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hero-cold-96c6:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.pressed_6d6d {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.middle_a68f {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.middle_a68f::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;
}

.paragraph_over_8cc1 {
  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);
}

.paragraph_over_8cc1 h1 {
  margin-bottom: var(--spacing-sm);
}

.paragraph_over_8cc1 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.background-hard-00e6 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.liquid-c74e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.in-9072 {
  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);
}

.upper-751f {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.content_954b h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.content_954b p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.widget_fast_99e4 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.item_upper_d2e3 {
  padding-bottom: var(--spacing-2xl);
}

.alert-7a05 {
  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;
}

.block_static_8d82 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.article_6c14 a {
  color: var(--primary-color);
}

.article_6c14.fn-active-8f35 {
  color: var(--text-secondary);
}

.article_6c14:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.fast-6433 {
  padding: var(--spacing-xl) 0;
}

.copper-3b8c {
  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);
}

.copper-3b8c h2 {
  margin-bottom: var(--spacing-sm);
}

.copper-3b8c p {
  color: var(--text-secondary);
}

.prev_b852 {
  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;
}

.prev_b852 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.prev_b852 h4 {
  margin-top: var(--spacing-sm);
}

.prev_b852 p {
  color: var(--text-secondary);
}

.motion-850e {
  padding: var(--spacing-xl) 0;
}

.component-164c {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.alert_stale_2399 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert_stale_2399 a {
  color: var(--text-secondary);
}

.alert_stale_2399 a:hover {
  color: var(--primary-color);
}

.top_97c1 {
  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);
}

.wood-4b87 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.gradient_yellow_f678 {
  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);
}

.gradient_yellow_f678:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.left-57e4 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-370f { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: cab5 */
.ghost-box-j8 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.2;
}
