/*
 * Inner pages adapter for index.paper-9cca design system (styles-new.photo-b24a)
 * 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(.avatar_gas_f6f4) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.border-glass-43e2.image_696b {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.label_6675 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.label_6675 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.alert_out_5220 {
  flex: 0 0 100%;
  max-width: 100%;
}

.notification_a7d2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.stale-bbfd {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .stale-bbfd {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .notification_a7d2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pattern_15bb { display: flex; }
.module-2ca1 { justify-content: space-between; }
.hover_under_b666 { align-items: center; }
.image_696b { text-align: center; }

.detail-8708 { margin-right: 0.5rem; }
.fluid_9bf6 { margin-right: 1rem; }
.bottom_93b2 { margin-top: 1rem; }
.cool_40fc { margin-top: 1.5rem; }
.dropdown-dark-7cd8 { margin-bottom: 1rem; }
.background-over-351c { margin-bottom: 1.5rem; }
.button_453a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.menu-in-d888 { margin-top: 1rem; margin-bottom: 1rem; }
.chip_2b8a { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.prev-e997 { max-width: 100%; height: auto; }

/* Links used in old footer */
.upper_814b { color: var(--text-primary); }
.hero-b0b8 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.fixed_a3f8 {
  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 */
.link-static-7e5c { /* 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);
}

.link-static-7e5c:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.huge_6309 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.huge_6309:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.wrapper-8c00 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.narrow-08ce {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.narrow-08ce::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;
}

.outline-short-ae20 {
  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);
}

.outline-short-ae20 h1 {
  margin-bottom: var(--spacing-sm);
}

.outline-short-ae20 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.thick_5799 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.feature-5b77 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.search_old_ff45 {
  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);
}

.texture_stone_0871 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.dropdown-58e7 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.dropdown-58e7 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.secondary_4a81 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.hover-wood-0d61 {
  padding-bottom: var(--spacing-2xl);
}

.pagination_18b4 {
  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;
}

.list-yellow-cdf5 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.section-small-7774 a {
  color: var(--primary-color);
}

.section-small-7774.fn-active-8ace {
  color: var(--text-secondary);
}

.section-small-7774:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.green_de93 {
  padding: var(--spacing-xl) 0;
}

.modal-slow-c19d {
  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);
}

.modal-slow-c19d h2 {
  margin-bottom: var(--spacing-sm);
}

.modal-slow-c19d p {
  color: var(--text-secondary);
}

.in-50db {
  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;
}

.in-50db h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.in-50db h4 {
  margin-top: var(--spacing-sm);
}

.in-50db p {
  color: var(--text-secondary);
}

.current-e41b {
  padding: var(--spacing-xl) 0;
}

.content_stale_cd22 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.surface_bd92 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.surface_bd92 a {
  color: var(--text-secondary);
}

.surface_bd92 a:hover {
  color: var(--primary-color);
}

.cold-f18a {
  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);
}

.advanced_02c9 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.stone-c15a {
  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);
}

.stone-c15a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.accordion_lite_94d3 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-current-3742 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 7dff */
.widget-item-m2 {
  padding: 0.1rem;
  font-size: 10px;
  line-height: 1.3;
}
