/*
 * Inner pages adapter for index.text_silver_ec49 design system (styles-new.carousel-red-0fbb)
 * 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(.component_dynamic_0578) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.cool-d6f1.first-1a71 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.feature-a6d3 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.feature-a6d3 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.wood-0b54 {
  flex: 0 0 100%;
  max-width: 100%;
}

.highlight_fb00 {
  flex: 0 0 100%;
  max-width: 100%;
}

.yellow-5619 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .yellow-5619 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .highlight_fb00 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.popup_lower_fd3c { display: flex; }
.paragraph_0729 { justify-content: space-between; }
.info_hard_44c6 { align-items: center; }
.first-1a71 { text-align: center; }

.module_08a1 { margin-right: 0.5rem; }
.huge-b7be { margin-right: 1rem; }
.backdrop-full-44c0 { margin-top: 1rem; }
.grid-wide-c6b3 { margin-top: 1.5rem; }
.breadcrumb_fast_d21c { margin-bottom: 1rem; }
.paragraph-6b27 { margin-bottom: 1.5rem; }
.article_fixed_66e8 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.nav-7700 { margin-top: 1rem; margin-bottom: 1rem; }
.alert-8e5e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.prev-a3e5 { max-width: 100%; height: auto; }

/* Links used in old footer */
.text_d69b { color: var(--text-primary); }
.black-5a15 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.button_035a {
  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 */
.logo-solid-dc1c { /* 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);
}

.logo-solid-dc1c:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.tabs_5646 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.tabs_5646:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.right-c65d {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.message-red-73c1 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.message-red-73c1::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;
}

.container-medium-8044 {
  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);
}

.container-medium-8044 h1 {
  margin-bottom: var(--spacing-sm);
}

.container-medium-8044 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.chip_glass_94dc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.message_selected_1153 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.nav_dark_abf9 {
  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);
}

.dynamic_66a0 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.pattern_hard_7768 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.pattern_hard_7768 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.list_0c04 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.block-old-f132 {
  padding-bottom: var(--spacing-2xl);
}

.notice-basic-dd07 {
  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;
}

.purple_f7fe {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.next_5fcf a {
  color: var(--primary-color);
}

.next_5fcf.fn-active-1ef3 {
  color: var(--text-secondary);
}

.next_5fcf:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.table_prev_a6fb {
  padding: var(--spacing-xl) 0;
}

.table-ab07 {
  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);
}

.table-ab07 h2 {
  margin-bottom: var(--spacing-sm);
}

.table-ab07 p {
  color: var(--text-secondary);
}

.button-selected-3d5a {
  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;
}

.button-selected-3d5a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.button-selected-3d5a h4 {
  margin-top: var(--spacing-sm);
}

.button-selected-3d5a p {
  color: var(--text-secondary);
}

.fresh_b210 {
  padding: var(--spacing-xl) 0;
}

.avatar_upper_25c7 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.pagination_f5db {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination_f5db a {
  color: var(--text-secondary);
}

.pagination_f5db a:hover {
  color: var(--primary-color);
}

.progress-686f {
  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-278d {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.warm-a892 {
  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);
}

.warm-a892:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.static_b51a { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo_c97e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 70ba */
.shadow-element-j6 {
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.3;
}
