/*
 * Inner pages adapter for index.brown-8e6c design system (styles-new.card-fb4c)
 * 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(.copper-cb3a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.tertiary_outer_0ca0.caption_right_1a44 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.tabs-bright-13d6 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.tabs-bright-13d6 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.static_b1f8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.notice_ae41 {
  flex: 0 0 100%;
  max-width: 100%;
}

.west-aa9f {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .west-aa9f {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .notice_ae41 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.complex-49f4 { display: flex; }
.modal_a1da { justify-content: space-between; }
.table_de15 { align-items: center; }
.caption_right_1a44 { text-align: center; }

.brown_7b25 { margin-right: 0.5rem; }
.carousel_up_e492 { margin-right: 1rem; }
.light_88dd { margin-top: 1rem; }
.icon_wide_d16c { margin-top: 1.5rem; }
.large-7c54 { margin-bottom: 1rem; }
.out-ada9 { margin-bottom: 1.5rem; }
.light-3730 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.nav-prev-3539 { margin-top: 1rem; margin-bottom: 1rem; }
.easy-f4d9 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.nav-ce9b { max-width: 100%; height: auto; }

/* Links used in old footer */
.gold-b336 { color: var(--text-primary); }
.picture_bright_cd47 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.pro_d128 {
  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 */
.pro_8c19 { /* 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);
}

.pro_8c19:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.article_c498 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.article_c498:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.small_7340 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.solid_c4e5 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.solid_c4e5::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;
}

.stone_65ca {
  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);
}

.stone_65ca h1 {
  margin-bottom: var(--spacing-sm);
}

.stone_65ca p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.container-action-caa5 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.next-07be {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.out-bc8e {
  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);
}

.white-9cd1 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.hard-e505 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.hard-e505 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.image_medium_86c3 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.white_0605 {
  padding-bottom: var(--spacing-2xl);
}

.current_8c3a {
  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;
}

.nav_white_4098 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.gradient_hot_df43 a {
  color: var(--primary-color);
}

.gradient_hot_df43.fn-active-2061 {
  color: var(--text-secondary);
}

.gradient_hot_df43:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.avatar_29b7 {
  padding: var(--spacing-xl) 0;
}

.list_center_5f99 {
  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);
}

.list_center_5f99 h2 {
  margin-bottom: var(--spacing-sm);
}

.list_center_5f99 p {
  color: var(--text-secondary);
}

.gallery-fd39 {
  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;
}

.gallery-fd39 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.gallery-fd39 h4 {
  margin-top: var(--spacing-sm);
}

.gallery-fd39 p {
  color: var(--text-secondary);
}

.fresh_d9eb {
  padding: var(--spacing-xl) 0;
}

.caption-smooth-9181 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.menu-0784 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-0784 a {
  color: var(--text-secondary);
}

.menu-0784 a:hover {
  color: var(--primary-color);
}

.section-da1f {
  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);
}

.stone-1807 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.current_f914 {
  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);
}

.current_f914:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.disabled_e063 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cold_bcd3 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: e3d4 */
.promo-block-q6 {
  padding: 0.2rem;
  font-size: 14px;
  line-height: 1.0;
}
