/*
 * Inner pages adapter for index.sidebar-wide-dec8 design system (styles-new.complex-39d5)
 * 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(.component-paper-cf2f) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.short-2476.fixed-12a9 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.form-be8f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.form-be8f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.sidebar-8fb9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.badge_df5e {
  flex: 0 0 100%;
  max-width: 100%;
}

.column_64f6 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .column_64f6 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .badge_df5e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.sidebar_e8cc { display: flex; }
.white-1e23 { justify-content: space-between; }
.center-e6ac { align-items: center; }
.fixed-12a9 { text-align: center; }

.video_solid_9a1d { margin-right: 0.5rem; }
.progress-d710 { margin-right: 1rem; }
.primary_fixed_8563 { margin-top: 1rem; }
.carousel_full_f292 { margin-top: 1.5rem; }
.tertiary-dirty-71c1 { margin-bottom: 1rem; }
.notice_3655 { margin-bottom: 1.5rem; }
.accordion_9fe9 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.easy-ec39 { margin-top: 1rem; margin-bottom: 1rem; }
.hovered-fb26 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.item_5a38 { max-width: 100%; height: auto; }

/* Links used in old footer */
.grid_ca0a { color: var(--text-primary); }
.pagination_7add { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.copper-761e {
  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 */
.thumbnail_13e2 { /* 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);
}

.thumbnail_13e2:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.title_under_0a91 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.title_under_0a91:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.in_44ad {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.silver-3558 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.silver-3558::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;
}

.basic-4680 {
  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);
}

.basic-4680 h1 {
  margin-bottom: var(--spacing-sm);
}

.basic-4680 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.widget_dark_af53 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.breadcrumb_30a2 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.tall_0f2f {
  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);
}

.footer-c33a {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.hovered_f850 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.hovered_f850 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.gallery-8bb6 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.list_smooth_5746 {
  padding-bottom: var(--spacing-2xl);
}

.summary-df84 {
  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;
}

.hidden-73ea {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.backdrop-af68 a {
  color: var(--primary-color);
}

.backdrop-af68.fn-active-2566 {
  color: var(--text-secondary);
}

.backdrop-af68:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.soft_7c59 {
  padding: var(--spacing-xl) 0;
}

.tag-ca2c {
  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);
}

.tag-ca2c h2 {
  margin-bottom: var(--spacing-sm);
}

.tag-ca2c p {
  color: var(--text-secondary);
}

.old-6ac2 {
  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;
}

.old-6ac2 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.old-6ac2 h4 {
  margin-top: var(--spacing-sm);
}

.old-6ac2 p {
  color: var(--text-secondary);
}

.footer-0306 {
  padding: var(--spacing-xl) 0;
}

.wrapper-f46c {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.dirty_8b81 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dirty_8b81 a {
  color: var(--text-secondary);
}

.dirty_8b81 a:hover {
  color: var(--primary-color);
}

.hot_68ca {
  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);
}

.text_9883 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.right-b5c0 {
  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);
}

.right-b5c0:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.box_ac42 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bottom_36d5 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: b3aa */
.widget-item-q6 {
  padding: 0.4rem;
  font-size: 12px;
  line-height: 1.3;
}
