/*
 * Inner pages adapter for index.article_plasma_db9a design system (styles-new.widget_41e7)
 * 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(.image-fresh-dae0) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.icon_up_528b.bottom_8386 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.carousel_last_46c4 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.carousel_last_46c4 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.info-soft-0382 {
  flex: 0 0 100%;
  max-width: 100%;
}

.list-7eb3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.hidden_tall_8d14 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hidden_tall_8d14 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .list-7eb3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.card_dark_f9ea { display: flex; }
.picture-bottom-f338 { justify-content: space-between; }
.thumbnail-smooth-9298 { align-items: center; }
.bottom_8386 { text-align: center; }

.button_2caf { margin-right: 0.5rem; }
.media_276d { margin-right: 1rem; }
.notification_f0ac { margin-top: 1rem; }
.white-90c4 { margin-top: 1.5rem; }
.block_dark_8364 { margin-bottom: 1rem; }
.overlay-9093 { margin-bottom: 1.5rem; }
.aside-06fa { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.container-fbeb { margin-top: 1rem; margin-bottom: 1rem; }
.pro_6ad3 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.hard_7962 { max-width: 100%; height: auto; }

/* Links used in old footer */
.outer-0bb5 { color: var(--text-primary); }
.media_cold_ab9d { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.gallery_5f95 {
  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 */
.dark_8a58 { /* 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);
}

.dark_8a58:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.preview_motion_d578 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.preview_motion_d578:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.widget_7050 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.panel-6831 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.panel-6831::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-f652 {
  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-f652 h1 {
  margin-bottom: var(--spacing-sm);
}

.sort-f652 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.hero-focused-52fb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.wide-6d28 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.surface-small-f0e1 {
  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);
}

.primary_1f40 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.feature_54a9 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.feature_54a9 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.tooltip_huge_a61f img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.aside_thick_fc2f {
  padding-bottom: var(--spacing-2xl);
}

.border_advanced_c614 {
  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;
}

.smooth_977a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.gallery-3ee6 a {
  color: var(--primary-color);
}

.gallery-3ee6.fn-active-2076 {
  color: var(--text-secondary);
}

.gallery-3ee6:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.tag_8b06 {
  padding: var(--spacing-xl) 0;
}

.hard_7432 {
  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);
}

.hard_7432 h2 {
  margin-bottom: var(--spacing-sm);
}

.hard_7432 p {
  color: var(--text-secondary);
}

.overlay-cdba {
  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;
}

.overlay-cdba h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.overlay-cdba h4 {
  margin-top: var(--spacing-sm);
}

.overlay-cdba p {
  color: var(--text-secondary);
}

.tertiary-1b0f {
  padding: var(--spacing-xl) 0;
}

.overlay_4042 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.picture_full_21e3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.picture_full_21e3 a {
  color: var(--text-secondary);
}

.picture_full_21e3 a:hover {
  color: var(--primary-color);
}

.paper_c8af {
  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);
}

.south-b3c5 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tertiary-4c34 {
  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);
}

.tertiary-4c34:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.alert-full-4814 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.purple_9ddc { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: aa74 */
.ghost-box-w0 {
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.1;
}
