/*
 * Inner pages adapter for index.right-5251 design system (styles-new.gallery-dirty-125c)
 * 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(.preview_2457) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.hovered-f321.grid-outer-9d03 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.inner_55e3 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.inner_55e3 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.hero-89d4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.first_ebb1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.dropdown-ee1c {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .dropdown-ee1c {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .first_ebb1 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.lite-5d40 { display: flex; }
.large_38a6 { justify-content: space-between; }
.preview_thick_dc1f { align-items: center; }
.grid-outer-9d03 { text-align: center; }

.footer_small_cc7e { margin-right: 0.5rem; }
.badge-72cb { margin-right: 1rem; }
.element_plasma_19c2 { margin-top: 1rem; }
.small_2514 { margin-top: 1.5rem; }
.heading-brown-2212 { margin-bottom: 1rem; }
.preview-gold-7ad4 { margin-bottom: 1.5rem; }
.hero_eeae { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.list-under-b643 { margin-top: 1rem; margin-bottom: 1rem; }
.simple-562f { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.message-new-9f22 { max-width: 100%; height: auto; }

/* Links used in old footer */
.gold-d009 { color: var(--text-primary); }
.next_0488 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.iron-349b {
  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 */
.mini-7d52 { /* 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);
}

.mini-7d52:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.title-811e {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.title-811e:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.menu-7e5c {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.popup_f71f {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.popup_f71f::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;
}

.video-smooth-0bf6 {
  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);
}

.video-smooth-0bf6 h1 {
  margin-bottom: var(--spacing-sm);
}

.video-smooth-0bf6 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.tertiary-89bc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.hard-1fff {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.fast_c7ae {
  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);
}

.black_9ce6 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.lite_6711 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.lite_6711 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.badge_e2cc img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.avatar-4800 {
  padding-bottom: var(--spacing-2xl);
}

.hidden_7d79 {
  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;
}

.block_stale_37ba {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.modal-inner-9477 a {
  color: var(--primary-color);
}

.modal-inner-9477.fn-active-0ab3 {
  color: var(--text-secondary);
}

.modal-inner-9477:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.west_bb63 {
  padding: var(--spacing-xl) 0;
}

.row-action-d754 {
  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);
}

.row-action-d754 h2 {
  margin-bottom: var(--spacing-sm);
}

.row-action-d754 p {
  color: var(--text-secondary);
}

.popup-focused-4ee7 {
  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;
}

.popup-focused-4ee7 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.popup-focused-4ee7 h4 {
  margin-top: var(--spacing-sm);
}

.popup-focused-4ee7 p {
  color: var(--text-secondary);
}

.paragraph_89f2 {
  padding: var(--spacing-xl) 0;
}

.new-e6df {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.summary_narrow_7f40 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.summary_narrow_7f40 a {
  color: var(--text-secondary);
}

.summary_narrow_7f40 a:hover {
  color: var(--primary-color);
}

.layout-8085 {
  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);
}

.aside-center-04e9 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.info_965b {
  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);
}

.info_965b:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.blue_c886 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wide_bfd6 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 8614 */
.promo-block-x2 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.3;
}
