/*
 * Inner pages adapter for index.gradient-stale-426e design system (styles-new.progress_new_420a)
 * 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(.narrow_4aa3) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.right_62c1.video_right_5b9c {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.pattern-large-e939 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.pattern-large-e939 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.shadow_mini_cb05 {
  flex: 0 0 100%;
  max-width: 100%;
}

.pink-8ab0 {
  flex: 0 0 100%;
  max-width: 100%;
}

.tall-9507 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .tall-9507 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .pink-8ab0 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.motion-f255 { display: flex; }
.aside_8513 { justify-content: space-between; }
.sort-0ad5 { align-items: center; }
.video_right_5b9c { text-align: center; }

.backdrop_top_5ae0 { margin-right: 0.5rem; }
.plasma_ca7b { margin-right: 1rem; }
.outline-f29e { margin-top: 1rem; }
.button-a0d7 { margin-top: 1.5rem; }
.popup-out-b7e5 { margin-bottom: 1rem; }
.bright-c8c2 { margin-bottom: 1.5rem; }
.form-fresh-5018 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.shadow_a4ad { margin-top: 1rem; margin-bottom: 1rem; }
.photo-white-9b29 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.medium_99ce { max-width: 100%; height: auto; }

/* Links used in old footer */
.chip_next_7972 { color: var(--text-primary); }
.photo_slow_09a2 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.modal-d5be {
  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 */
.search_static_92f9 { /* 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);
}

.search_static_92f9:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.background_bronze_9314 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.background_bronze_9314:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.content_first_b241 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.wrapper_warm_9aeb {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.wrapper_warm_9aeb::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;
}

.short_2855 {
  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);
}

.short_2855 h1 {
  margin-bottom: var(--spacing-sm);
}

.short_2855 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.banner_093e {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.highlight_pink_410d {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.left-6214 {
  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);
}

.accordion-thick-1879 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.notice-out-31d7 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.notice-out-31d7 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.sidebar-wood-e90c img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.popup_08df {
  padding-bottom: var(--spacing-2xl);
}

.layout-clean-9dbd {
  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;
}

.article_2651 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.avatar-right-c173 a {
  color: var(--primary-color);
}

.avatar-right-c173.fn-active-e53c {
  color: var(--text-secondary);
}

.avatar-right-c173:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.carousel-steel-715f {
  padding: var(--spacing-xl) 0;
}

.liquid-7e3f {
  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);
}

.liquid-7e3f h2 {
  margin-bottom: var(--spacing-sm);
}

.liquid-7e3f p {
  color: var(--text-secondary);
}

.hover_in_7d76 {
  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;
}

.hover_in_7d76 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.hover_in_7d76 h4 {
  margin-top: var(--spacing-sm);
}

.hover_in_7d76 p {
  color: var(--text-secondary);
}

.current-270b {
  padding: var(--spacing-xl) 0;
}

.silver_4a3f {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.stone-f638 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stone-f638 a {
  color: var(--text-secondary);
}

.stone-f638 a:hover {
  color: var(--primary-color);
}

.overlay-slow-3a92 {
  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);
}

.cool_257e {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.lower_e0a6 {
  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);
}

.lower_e0a6:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.header-58d6 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-green-f93e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 2038 */
.shadow-element-b7 {
  padding: 0.2rem;
  font-size: 10px;
  line-height: 1.2;
}
