/*
 * Inner pages adapter for index.paragraph-cool-5e88 design system (styles-new.summary-0415)
 * 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(.chip-6961) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.pink_714f.status-gold-21cb {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.header-fast-a4f6 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.header-fast-a4f6 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.main-top-4f4a {
  flex: 0 0 100%;
  max-width: 100%;
}

.table-east-13f9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.outer-51d3 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .outer-51d3 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .table-east-13f9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.plasma_648e { display: flex; }
.frame_c3d8 { justify-content: space-between; }
.feature_medium_308d { align-items: center; }
.status-gold-21cb { text-align: center; }

.thumbnail_tiny_e487 { margin-right: 0.5rem; }
.brown_51b1 { margin-right: 1rem; }
.icon_over_80bc { margin-top: 1rem; }
.hard_bf60 { margin-top: 1.5rem; }
.hidden-paper-459c { margin-bottom: 1rem; }
.pro-7dfd { margin-bottom: 1.5rem; }
.current-4744 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.first-8d68 { margin-top: 1rem; margin-bottom: 1rem; }
.hover_de20 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.mask_dynamic_f720 { max-width: 100%; height: auto; }

/* Links used in old footer */
.black_1094 { color: var(--text-primary); }
.dim-26d9 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.tooltip_light_7c24 {
  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 */
.fast-cfea { /* 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);
}

.fast-cfea:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.element_4505 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.element_4505:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.preview_60c5 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.element-edca {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.element-edca::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;
}

.disabled-c65d {
  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);
}

.disabled-c65d h1 {
  margin-bottom: var(--spacing-sm);
}

.disabled-c65d p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.chip_a33f {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.sidebar-9323 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.grid_9b9b {
  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);
}

.tabs_13de {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.row-last-580b h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.row-last-580b p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.modal_4493 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.bottom-7a0b {
  padding-bottom: var(--spacing-2xl);
}

.warm-2392 {
  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;
}

.photo-motion-bdc6 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.action_6489 a {
  color: var(--primary-color);
}

.action_6489.fn-active-935a {
  color: var(--text-secondary);
}

.action_6489:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.slider-small-e57f {
  padding: var(--spacing-xl) 0;
}

.wrapper-596c {
  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);
}

.wrapper-596c h2 {
  margin-bottom: var(--spacing-sm);
}

.wrapper-596c p {
  color: var(--text-secondary);
}

.shadow-44ad {
  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;
}

.shadow-44ad h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.shadow-44ad h4 {
  margin-top: var(--spacing-sm);
}

.shadow-44ad p {
  color: var(--text-secondary);
}

.overlay-3367 {
  padding: var(--spacing-xl) 0;
}

.video-mini-1d9b {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.list_04d8 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list_04d8 a {
  color: var(--text-secondary);
}

.list_04d8 a:hover {
  color: var(--primary-color);
}

.text-stone-5ed4 {
  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-fc97 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.layout_stone_b8d3 {
  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);
}

.layout_stone_b8d3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.detail_liquid_bd65 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-small-960d { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 071e */
.ghost-box-q9 {
  padding: 0.1rem;
  font-size: 14px;
  line-height: 1.0;
}
