/*
 * Inner pages adapter for index.widget_motion_7041 design system (styles-new.form-b42d)
 * 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(.basic_34a2) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.layout-huge-514d.fast_5c3e {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.top-260a {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.top-260a > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.small_4b5d {
  flex: 0 0 100%;
  max-width: 100%;
}

.banner-advanced-a20e {
  flex: 0 0 100%;
  max-width: 100%;
}

.tag_ce1c {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .tag_ce1c {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .banner-advanced-a20e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pressed-30e2 { display: flex; }
.card_up_6b3b { justify-content: space-between; }
.pro_6c6d { align-items: center; }
.fast_5c3e { text-align: center; }

.popup-upper-8ebf { margin-right: 0.5rem; }
.right-916b { margin-right: 1rem; }
.overlay-stone-34b5 { margin-top: 1rem; }
.avatar_9124 { margin-top: 1.5rem; }
.item_brown_7aec { margin-bottom: 1rem; }
.wrapper_tiny_a736 { margin-bottom: 1.5rem; }
.frame-8ece { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.hidden-ae0b { margin-top: 1rem; margin-bottom: 1rem; }
.breadcrumb-ffaa { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.hover_ca27 { max-width: 100%; height: auto; }

/* Links used in old footer */
.tooltip_ea1f { color: var(--text-primary); }
.pagination-medium-c713 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.huge_db03 {
  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 */
.element_west_64ce { /* 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);
}

.element_west_64ce:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.tall-7494 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.tall-7494:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.lite_db79 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.notification_2da5 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.notification_2da5::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;
}

.input_4db7 {
  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);
}

.input_4db7 h1 {
  margin-bottom: var(--spacing-sm);
}

.input_4db7 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.thumbnail-1057 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.stone_3e42 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.first_bd93 {
  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);
}

.notice_under_41a0 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.video-7a2f h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.video-7a2f p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.column-black-141a img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.complex-88a2 {
  padding-bottom: var(--spacing-2xl);
}

.video-top-f8a3 {
  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;
}

.modal_new_d20d {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.item_blue_6c8b a {
  color: var(--primary-color);
}

.item_blue_6c8b.fn-active-27a2 {
  color: var(--text-secondary);
}

.item_blue_6c8b:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.tall_222f {
  padding: var(--spacing-xl) 0;
}

.button-8979 {
  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);
}

.button-8979 h2 {
  margin-bottom: var(--spacing-sm);
}

.button-8979 p {
  color: var(--text-secondary);
}

.cool-5bd8 {
  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;
}

.cool-5bd8 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.cool-5bd8 h4 {
  margin-top: var(--spacing-sm);
}

.cool-5bd8 p {
  color: var(--text-secondary);
}

.accent-1f1e {
  padding: var(--spacing-xl) 0;
}

.photo-1e84 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.shade_57fc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shade_57fc a {
  color: var(--text-secondary);
}

.shade_57fc a:hover {
  color: var(--primary-color);
}

.photo_top_fd95 {
  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);
}

.tag-2e88 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.card-easy-4fec {
  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);
}

.card-easy-4fec:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.video-03dd { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.heading_10c5 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: bceb */
.ghost-box-e8 {
  padding: 0.5rem;
  font-size: 12px;
  line-height: 1.0;
}
