/*
 * Inner pages adapter for index.filter-e4b5 design system (styles-new.title-0fc5)
 * 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(.content_6e93) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.overlay-out-3086.wide-2034 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.light-c640 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.light-c640 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.carousel-3472 {
  flex: 0 0 100%;
  max-width: 100%;
}

.gas_1b67 {
  flex: 0 0 100%;
  max-width: 100%;
}

.under_21dc {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .under_21dc {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gas_1b67 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.icon-south-5842 { display: flex; }
.progress_hovered_f08b { justify-content: space-between; }
.background_last_86f7 { align-items: center; }
.wide-2034 { text-align: center; }

.menu_8aad { margin-right: 0.5rem; }
.search-green-b751 { margin-right: 1rem; }
.dropdown_6699 { margin-top: 1rem; }
.banner_1dad { margin-top: 1.5rem; }
.upper_d5fb { margin-bottom: 1rem; }
.highlight_short_75dc { margin-bottom: 1.5rem; }
.north_a0c1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.panel-3be2 { margin-top: 1rem; margin-bottom: 1rem; }
.notice-3fdc { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.card_7c25 { max-width: 100%; height: auto; }

/* Links used in old footer */
.detail_6739 { color: var(--text-primary); }
.selected_2cae { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.full_b786 {
  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 */
.badge_bc65 { /* 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);
}

.badge_bc65:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.grid-inner-7484 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.grid-inner-7484:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.slow_b083 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.content_short_4586 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.content_short_4586::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;
}

.thick_c63c {
  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);
}

.thick_c63c h1 {
  margin-bottom: var(--spacing-sm);
}

.thick_c63c p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.border_a8bb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.backdrop_c88f {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.feature-north-b08b {
  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);
}

.new-5a26 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.component_784e h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.component_784e p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.backdrop_846d img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.icon-1f61 {
  padding-bottom: var(--spacing-2xl);
}

.small-85bd {
  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;
}

.pattern-18f8 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.pink-98c3 a {
  color: var(--primary-color);
}

.pink-98c3.fn-active-df69 {
  color: var(--text-secondary);
}

.pink-98c3:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.shade_ceb1 {
  padding: var(--spacing-xl) 0;
}

.fluid-8cdf {
  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);
}

.fluid-8cdf h2 {
  margin-bottom: var(--spacing-sm);
}

.fluid-8cdf p {
  color: var(--text-secondary);
}

.badge_fresh_c715 {
  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;
}

.badge_fresh_c715 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.badge_fresh_c715 h4 {
  margin-top: var(--spacing-sm);
}

.badge_fresh_c715 p {
  color: var(--text-secondary);
}

.caption_cbfa {
  padding: var(--spacing-xl) 0;
}

.next-3897 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.over_e9b6 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.over_e9b6 a {
  color: var(--text-secondary);
}

.over_e9b6 a:hover {
  color: var(--primary-color);
}

.notification-8735 {
  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);
}

.form-mini-2616 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.avatar-a3e3 {
  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);
}

.avatar-a3e3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.tabs-7108 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.overlay-a637 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: be02 */
.promo-block-d5 {
  padding: 0.1rem;
  font-size: 12px;
  line-height: 1.3;
}
