/*
 * Inner pages adapter for index.background_current_b256 design system (styles-new.article_right_d7f8)
 * 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(.frame-9e2c) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.tall_01ef.button_down_f7f6 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.steel-c1ed {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.steel-c1ed > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.filter_6bf3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.in-4bdb {
  flex: 0 0 100%;
  max-width: 100%;
}

.dim-6bad {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .dim-6bad {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .in-4bdb {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.card-6ab8 { display: flex; }
.image_current_9c03 { justify-content: space-between; }
.brown_663c { align-items: center; }
.button_down_f7f6 { text-align: center; }

.article_afd4 { margin-right: 0.5rem; }
.title_903e { margin-right: 1rem; }
.wide-128f { margin-top: 1rem; }
.frame-complex-6fad { margin-top: 1.5rem; }
.next_02ac { margin-bottom: 1rem; }
.block_huge_4074 { margin-bottom: 1.5rem; }
.gallery_next_3da5 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.accent-728b { margin-top: 1rem; margin-bottom: 1rem; }
.status-068f { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.pagination_green_d82a { max-width: 100%; height: auto; }

/* Links used in old footer */
.wood-519e { color: var(--text-primary); }
.selected-0dc1 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.container_fixed_aa09 {
  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 */
.cool_e7a9 { /* 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);
}

.cool_e7a9:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.pink-d35f {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.pink-d35f:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.main-dim-03ae {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.widget-selected-92c7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.widget-selected-92c7::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;
}

.south-facd {
  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);
}

.south-facd h1 {
  margin-bottom: var(--spacing-sm);
}

.south-facd p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.list_over_195a {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.layout-735f {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.texture-6cb8 {
  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);
}

.element_bright_6f71 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.layout-44f2 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.layout-44f2 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.gradient_1d29 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.gallery-last-5656 {
  padding-bottom: var(--spacing-2xl);
}

.narrow-ccf7 {
  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;
}

.feature-aad3 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.fresh-790a a {
  color: var(--primary-color);
}

.fresh-790a.fn-active-878a {
  color: var(--text-secondary);
}

.fresh-790a:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.stone_d36c {
  padding: var(--spacing-xl) 0;
}

.west-b63d {
  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);
}

.west-b63d h2 {
  margin-bottom: var(--spacing-sm);
}

.west-b63d p {
  color: var(--text-secondary);
}

.main-right-aefa {
  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;
}

.main-right-aefa h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.main-right-aefa h4 {
  margin-top: var(--spacing-sm);
}

.main-right-aefa p {
  color: var(--text-secondary);
}

.row_cedb {
  padding: var(--spacing-xl) 0;
}

.notification_812a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.up-b32f {
  list-style: none;
  margin: 0;
  padding: 0;
}

.up-b32f a {
  color: var(--text-secondary);
}

.up-b32f a:hover {
  color: var(--primary-color);
}

.notification_west_e50a {
  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);
}

.dirty_0dac {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.alert-focused-0645 {
  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);
}

.alert-focused-0645:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hero-d1f2 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.row-cool-6ba4 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 8e8b */
.widget-item-q2 {
  padding: 0.3rem;
  font-size: 14px;
  line-height: 1.3;
}
