/*
 * Inner pages adapter for index.top-4a05 design system (styles-new.column-tall-a9cd)
 * 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(.popup_c338) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.narrow-58ac.next_aae7 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.label_active_115d {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.label_active_115d > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.medium-ce35 {
  flex: 0 0 100%;
  max-width: 100%;
}

.gradient-5abc {
  flex: 0 0 100%;
  max-width: 100%;
}

.wood_06d9 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .wood_06d9 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gradient-5abc {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.sidebar_huge_d434 { display: flex; }
.card-pressed-036a { justify-content: space-between; }
.container-easy-2ed3 { align-items: center; }
.next_aae7 { text-align: center; }

.basic_60c1 { margin-right: 0.5rem; }
.header-787c { margin-right: 1rem; }
.photo-2fb8 { margin-top: 1rem; }
.panel-5873 { margin-top: 1.5rem; }
.caption_7aaf { margin-bottom: 1rem; }
.disabled-old-49a6 { margin-bottom: 1.5rem; }
.dim-e752 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.breadcrumb_7045 { margin-top: 1rem; margin-bottom: 1rem; }
.module-solid-b12d { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.silver-8c01 { max-width: 100%; height: auto; }

/* Links used in old footer */
.component-dynamic-f316 { color: var(--text-primary); }
.progress_5511 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.tabs_d96f {
  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 */
.tabs_action_a56f { /* 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);
}

.tabs_action_a56f:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hard-c57c {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hard-c57c:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.fast-2889 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.backdrop_purple_a0cd {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.backdrop_purple_a0cd::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;
}

.modal_solid_d3e4 {
  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_solid_d3e4 h1 {
  margin-bottom: var(--spacing-sm);
}

.modal_solid_d3e4 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.shade_d5ef {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.stone-a449 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.focused-6c1d {
  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);
}

.dim-83d8 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.tag_0530 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.tag_0530 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.slider_dim_9a56 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.fresh_bda2 {
  padding-bottom: var(--spacing-2xl);
}

.aside-8622 {
  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;
}

.summary_warm_7c95 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.dirty-7e98 a {
  color: var(--primary-color);
}

.dirty-7e98.fn-active-3dec {
  color: var(--text-secondary);
}

.dirty-7e98:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.disabled-next-0d85 {
  padding: var(--spacing-xl) 0;
}

.shadow-warm-a3a9 {
  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);
}

.shadow-warm-a3a9 h2 {
  margin-bottom: var(--spacing-sm);
}

.shadow-warm-a3a9 p {
  color: var(--text-secondary);
}

.widget_active_b71a {
  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;
}

.widget_active_b71a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.widget_active_b71a h4 {
  margin-top: var(--spacing-sm);
}

.widget_active_b71a p {
  color: var(--text-secondary);
}

.grid-action-54ab {
  padding: var(--spacing-xl) 0;
}

.rough_68f9 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.notice_dim_d9d2 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice_dim_d9d2 a {
  color: var(--text-secondary);
}

.notice_dim_d9d2 a:hover {
  color: var(--primary-color);
}

.slider-3ae9 {
  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);
}

.easy-101a {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.alert_upper_fd84 {
  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_upper_fd84:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.thumbnail_55c8 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-755b { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: c639 */
.widget-item-y2 {
  padding: 0.4rem;
  font-size: 12px;
  line-height: 1.1;
}
