/*
 * Inner pages adapter for index.pattern-7d8c design system (styles-new.row_54c5)
 * 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(.accordion-2fa6) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.paper_9287.block-4ffd {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.link_short_f8bf {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.link_short_f8bf > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.huge-abb1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.row-7efa {
  flex: 0 0 100%;
  max-width: 100%;
}

.main-d774 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .main-d774 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .row-7efa {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.preview-19b2 { display: flex; }
.input_2044 { justify-content: space-between; }
.article_out_731d { align-items: center; }
.block-4ffd { text-align: center; }

.paper-1ad0 { margin-right: 0.5rem; }
.notice_d717 { margin-right: 1rem; }
.detail-hovered-cbed { margin-top: 1rem; }
.old-20c2 { margin-top: 1.5rem; }
.logo-aa83 { margin-bottom: 1rem; }
.stale_20c5 { margin-bottom: 1.5rem; }
.wrapper_east_92ad { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.purple_dc3e { margin-top: 1rem; margin-bottom: 1rem; }
.detail-d48d { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.border_purple_a8ec { max-width: 100%; height: auto; }

/* Links used in old footer */
.basic_fc99 { color: var(--text-primary); }
.element-d4d1 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.static-d035 {
  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 */
.breadcrumb-e26c { /* 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);
}

.breadcrumb-e26c:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.background_efb8 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.background_efb8:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.inner-ff57 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.orange-f640 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.orange-f640::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;
}

.sidebar_657a {
  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);
}

.sidebar_657a h1 {
  margin-bottom: var(--spacing-sm);
}

.sidebar_657a p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.action_02fd {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.selected_637b {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.dirty_23fa {
  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);
}

.sidebar-ae24 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.text-925b h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.text-925b p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.gradient-rough-4398 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.accent_a90e {
  padding-bottom: var(--spacing-2xl);
}

.accent-easy-c649 {
  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;
}

.tabs-prev-721a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.pagination_upper_bf2b a {
  color: var(--primary-color);
}

.pagination_upper_bf2b.fn-active-6e95 {
  color: var(--text-secondary);
}

.pagination_upper_bf2b:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.old_7a7a {
  padding: var(--spacing-xl) 0;
}

.center_4b9e {
  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);
}

.center_4b9e h2 {
  margin-bottom: var(--spacing-sm);
}

.center_4b9e p {
  color: var(--text-secondary);
}

.logo_ae59 {
  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;
}

.logo_ae59 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.logo_ae59 h4 {
  margin-top: var(--spacing-sm);
}

.logo_ae59 p {
  color: var(--text-secondary);
}

.overlay-f2f9 {
  padding: var(--spacing-xl) 0;
}

.solid-fab0 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.caption_23a2 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.caption_23a2 a {
  color: var(--text-secondary);
}

.caption_23a2 a:hover {
  color: var(--primary-color);
}

.caption-warm-0d61 {
  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);
}

.pattern_focused_43c5 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.status_0f4a {
  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);
}

.status_0f4a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.frame-8a91 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lower-8b51 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 1020 */
.phantom-card-f4 {
  padding: 0.4rem;
  font-size: 10px;
  line-height: 1.3;
}
