/*
 * Inner pages adapter for index.first-757f design system (styles-new.soft_4ff8)
 * 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(.card_bronze_381f) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.tiny_3753.carousel-5fae {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.form-first-fbc1 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.form-first-fbc1 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.description-4621 {
  flex: 0 0 100%;
  max-width: 100%;
}

.progress_1827 {
  flex: 0 0 100%;
  max-width: 100%;
}

.prev-116f {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .prev-116f {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .progress_1827 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.disabled_dd90 { display: flex; }
.current_c329 { justify-content: space-between; }
.yellow-70d5 { align-items: center; }
.carousel-5fae { text-align: center; }

.tertiary_mini_4dbe { margin-right: 0.5rem; }
.right_9a00 { margin-right: 1rem; }
.mask-fe00 { margin-top: 1rem; }
.cold_aa94 { margin-top: 1.5rem; }
.notice-pro-cbe9 { margin-bottom: 1rem; }
.black-3f71 { margin-bottom: 1.5rem; }
.picture-next-b345 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.widget_41a5 { margin-top: 1rem; margin-bottom: 1rem; }
.grid-focused-59be { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.dropdown_glass_a3ab { max-width: 100%; height: auto; }

/* Links used in old footer */
.column_fd3c { color: var(--text-primary); }
.tabs_ec08 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.tag_basic_2a74 {
  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 */
.widget_fluid_66a9 { /* 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);
}

.widget_fluid_66a9:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.main-05e8 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.main-05e8:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.caption-7799 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.large_9a3e {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.large_9a3e::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;
}

.badge_complex_c487 {
  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);
}

.badge_complex_c487 h1 {
  margin-bottom: var(--spacing-sm);
}

.badge_complex_c487 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.button_14f1 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.thumbnail-de9b {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.banner_2113 {
  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);
}

.orange-6056 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.summary-white-2b94 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.summary-white-2b94 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.slider_smooth_fc7c img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.dropdown-west-8061 {
  padding-bottom: var(--spacing-2xl);
}

.message_gold_0537 {
  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;
}

.caption-ee29 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.mask_e5b6 a {
  color: var(--primary-color);
}

.mask_e5b6.fn-active-9eff {
  color: var(--text-secondary);
}

.mask_e5b6:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.slow-0233 {
  padding: var(--spacing-xl) 0;
}

.content-hard-7b45 {
  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);
}

.content-hard-7b45 h2 {
  margin-bottom: var(--spacing-sm);
}

.content-hard-7b45 p {
  color: var(--text-secondary);
}

.footer-11ed {
  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;
}

.footer-11ed h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.footer-11ed h4 {
  margin-top: var(--spacing-sm);
}

.footer-11ed p {
  color: var(--text-secondary);
}

.menu-hard-f6f1 {
  padding: var(--spacing-xl) 0;
}

.pro-994e {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.video_45be {
  list-style: none;
  margin: 0;
  padding: 0;
}

.video_45be a {
  color: var(--text-secondary);
}

.video_45be a:hover {
  color: var(--primary-color);
}

.media-6c11 {
  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);
}

.thumbnail-ea44 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.footer_copper_e523 {
  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);
}

.footer_copper_e523:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.banner_7aa3 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tiny-9286 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 5741 */
.ghost-box-q7 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.3;
}
