/*
 * Inner pages adapter for index.button_34c6 design system (styles-new.motion_293e)
 * 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(.dynamic_1242) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.complex-9a53.border-rough-eb2f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.table-last-b4fd {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.table-last-b4fd > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.disabled-d2d8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.highlight-slow-a55e {
  flex: 0 0 100%;
  max-width: 100%;
}

.black-5b89 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .black-5b89 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .highlight-slow-a55e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.border-red-004c { display: flex; }
.hovered-b22f { justify-content: space-between; }
.easy-8257 { align-items: center; }
.border-rough-eb2f { text-align: center; }

.red_b435 { margin-right: 0.5rem; }
.hover-4c18 { margin-right: 1rem; }
.primary_tall_a5cd { margin-top: 1rem; }
.caption_new_63ad { margin-top: 1.5rem; }
.text-selected-1b41 { margin-bottom: 1rem; }
.focus_c0be { margin-bottom: 1.5rem; }
.dynamic-2b43 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.carousel_2e11 { margin-top: 1rem; margin-bottom: 1rem; }
.tooltip-gold-b85c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.pink-bb73 { max-width: 100%; height: auto; }

/* Links used in old footer */
.title-627e { color: var(--text-primary); }
.picture-gold-afd3 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.description-0468 {
  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 */
.cool-5c2e { /* 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);
}

.cool-5c2e:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.slider_60d1 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.slider_60d1:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.title_under_5b79 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.article_white_33b6 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.article_white_33b6::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;
}

.carousel_hard_630b {
  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);
}

.carousel_hard_630b h1 {
  margin-bottom: var(--spacing-sm);
}

.carousel_hard_630b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.image_50d4 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.white_5d48 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.row_f272 {
  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);
}

.caption-inner-0ae6 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.red-22b9 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.red-22b9 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.description-6a3d img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.grid_8c3c {
  padding-bottom: var(--spacing-2xl);
}

.menu_focused_ed03 {
  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;
}

.next-d659 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.slow-e82f a {
  color: var(--primary-color);
}

.slow-e82f.fn-active-3ce7 {
  color: var(--text-secondary);
}

.slow-e82f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.avatar_9c68 {
  padding: var(--spacing-xl) 0;
}

.easy-e0c4 {
  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);
}

.easy-e0c4 h2 {
  margin-bottom: var(--spacing-sm);
}

.easy-e0c4 p {
  color: var(--text-secondary);
}

.summary-154a {
  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;
}

.summary-154a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.summary-154a h4 {
  margin-top: var(--spacing-sm);
}

.summary-154a p {
  color: var(--text-secondary);
}

.dim-a1e7 {
  padding: var(--spacing-xl) 0;
}

.hidden-bright-d0ac {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.component-gold-ae9c {
  list-style: none;
  margin: 0;
  padding: 0;
}

.component-gold-ae9c a {
  color: var(--text-secondary);
}

.component-gold-ae9c a:hover {
  color: var(--primary-color);
}

.modal-clean-c303 {
  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);
}

.sort-5ed7 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.hidden-7f40 {
  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);
}

.hidden-7f40:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.small-6d37 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar_e708 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: b563 */
.promo-block-i0 {
  padding: 0.3rem;
  font-size: 11px;
  line-height: 1.1;
}
