/*
 * Inner pages adapter for index.disabled-aec7 design system (styles-new.red_c9e7)
 * 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(.shadow-action-28b0) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.primary-f0ae.action_41a2 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.highlight-smooth-13ab {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.highlight-smooth-13ab > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.surface-f854 {
  flex: 0 0 100%;
  max-width: 100%;
}

.in-c88f {
  flex: 0 0 100%;
  max-width: 100%;
}

.element_8b1b {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .element_8b1b {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .in-c88f {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.west-d7d5 { display: flex; }
.south-4888 { justify-content: space-between; }
.shadow_fadf { align-items: center; }
.action_41a2 { text-align: center; }

.hard-c4b7 { margin-right: 0.5rem; }
.tall-1b5d { margin-right: 1rem; }
.overlay_68f8 { margin-top: 1rem; }
.column_4945 { margin-top: 1.5rem; }
.yellow_3662 { margin-bottom: 1rem; }
.black_4275 { margin-bottom: 1.5rem; }
.light_00a7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.module_pink_ed2f { margin-top: 1rem; margin-bottom: 1rem; }
.tag-4a1c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.dynamic_2e2a { max-width: 100%; height: auto; }

/* Links used in old footer */
.overlay_upper_ceeb { color: var(--text-primary); }
.info-535d { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.shadow-ff5d {
  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 */
.item-dd58 { /* 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);
}

.item-dd58:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hot-47ed {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hot-47ed:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.main-cb97 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.focus_gold_bacb {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.focus_gold_bacb::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;
}

.fast_e9a6 {
  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);
}

.fast_e9a6 h1 {
  margin-bottom: var(--spacing-sm);
}

.fast_e9a6 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.under-5aee {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.surface-warm-acd9 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.item_baf6 {
  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);
}

.carousel_5991 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.filter_ac23 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.filter_ac23 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.primary-bd38 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.static_6f4d {
  padding-bottom: var(--spacing-2xl);
}

.widget_fresh_c3cd {
  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;
}

.cool-2296 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.small_cb4f a {
  color: var(--primary-color);
}

.small_cb4f.fn-active-b186 {
  color: var(--text-secondary);
}

.small_cb4f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.paragraph-gas-539a {
  padding: var(--spacing-xl) 0;
}

.wide_964c {
  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);
}

.wide_964c h2 {
  margin-bottom: var(--spacing-sm);
}

.wide_964c p {
  color: var(--text-secondary);
}

.gallery-83fe {
  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;
}

.gallery-83fe h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.gallery-83fe h4 {
  margin-top: var(--spacing-sm);
}

.gallery-83fe p {
  color: var(--text-secondary);
}

.description_inner_fb72 {
  padding: var(--spacing-xl) 0;
}

.tiny_2b4d {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.backdrop-cb4c {
  list-style: none;
  margin: 0;
  padding: 0;
}

.backdrop-cb4c a {
  color: var(--text-secondary);
}

.backdrop-cb4c a:hover {
  color: var(--primary-color);
}

.title_79c3 {
  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);
}

.pressed-f63a {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.column-b016 {
  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);
}

.column-b016:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.dim-20d9 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.notice-aae0 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 02f5 */
.promo-block-j3 {
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.1;
}
