/*
 * Inner pages adapter for index.upper-afc9 design system (styles-new.video_west_60a2)
 * 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(.footer_slow_01f1) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.header_6e32.outline_7f4e {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.large-bcba {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.large-bcba > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.background-rough-f021 {
  flex: 0 0 100%;
  max-width: 100%;
}

.button-black-8022 {
  flex: 0 0 100%;
  max-width: 100%;
}

.next-3f01 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .next-3f01 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .button-black-8022 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.upper_0bf7 { display: flex; }
.hard-d216 { justify-content: space-between; }
.widget_f96b { align-items: center; }
.outline_7f4e { text-align: center; }

.column-f217 { margin-right: 0.5rem; }
.surface-a22e { margin-right: 1rem; }
.feature-7ad3 { margin-top: 1rem; }
.pink_3de5 { margin-top: 1.5rem; }
.picture_63a0 { margin-bottom: 1rem; }
.texture_1b03 { margin-bottom: 1.5rem; }
.thick-2c45 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.brown-4e04 { margin-top: 1rem; margin-bottom: 1rem; }
.status_225d { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.card-bright-8c8a { max-width: 100%; height: auto; }

/* Links used in old footer */
.selected-f86b { color: var(--text-primary); }
.input-e64e { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.west_cd4f {
  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 */
.picture-solid-10aa { /* 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);
}

.picture-solid-10aa:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.sort_383d {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.sort_383d:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.summary-steel-9a03 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.banner_solid_3643 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.banner_solid_3643::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;
}

.sort-6b91 {
  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);
}

.sort-6b91 h1 {
  margin-bottom: var(--spacing-sm);
}

.sort-6b91 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.chip_107f {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.breadcrumb-8cf0 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.carousel-dynamic-cdd3 {
  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);
}

.east-f706 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.active-b4be h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.active-b4be p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.yellow_d5a3 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.basic-ecf6 {
  padding-bottom: var(--spacing-2xl);
}

.banner-13af {
  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;
}

.notification-c2c1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.form_fixed_ce98 a {
  color: var(--primary-color);
}

.form_fixed_ce98.fn-active-a10c {
  color: var(--text-secondary);
}

.form_fixed_ce98:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.wood-dfcb {
  padding: var(--spacing-xl) 0;
}

.search-3cf5 {
  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);
}

.search-3cf5 h2 {
  margin-bottom: var(--spacing-sm);
}

.search-3cf5 p {
  color: var(--text-secondary);
}

.selected_91ee {
  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;
}

.selected_91ee h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.selected_91ee h4 {
  margin-top: var(--spacing-sm);
}

.selected_91ee p {
  color: var(--text-secondary);
}

.nav-24ac {
  padding: var(--spacing-xl) 0;
}

.avatar_bright_5d90 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.box_1ea4 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.box_1ea4 a {
  color: var(--text-secondary);
}

.box_1ea4 a:hover {
  color: var(--primary-color);
}

.row-5cb8 {
  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);
}

.fresh_13f3 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.south_4b76 {
  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);
}

.south_4b76:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.text-left-6aee { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.main_ce06 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 9b3a */
.promo-block-r2 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.3;
}
