/*
 * Inner pages adapter for index.upper_327f design system (styles-new.link_ef34)
 * 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(.row-d86a) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.stone_1208.cold_263a {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.tall_4a9c {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.tall_4a9c > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.photo_bronze_5432 {
  flex: 0 0 100%;
  max-width: 100%;
}

.grid_14b9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.component_f446 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .component_f446 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .grid_14b9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.column_7f26 { display: flex; }
.box-soft-c8d6 { justify-content: space-between; }
.outline_c863 { align-items: center; }
.cold_263a { text-align: center; }

.element-hot-b708 { margin-right: 0.5rem; }
.border_f326 { margin-right: 1rem; }
.gradient-hard-5848 { margin-top: 1rem; }
.tooltip-red-5843 { margin-top: 1.5rem; }
.focus_orange_3ca6 { margin-bottom: 1rem; }
.stale_f5d8 { margin-bottom: 1.5rem; }
.blue_8ea7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.alert-a49a { margin-top: 1rem; margin-bottom: 1rem; }
.mask-82df { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.tabs_fixed_5a41 { max-width: 100%; height: auto; }

/* Links used in old footer */
.paper-bb1d { color: var(--text-primary); }
.content-clean-e490 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.wide-bc87 {
  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 */
.notice-093a { /* 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);
}

.notice-093a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.active_last_af33 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.active_last_af33:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.button-a49a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.prev-fd71 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.prev-fd71::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;
}

.tall-4747 {
  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);
}

.tall-4747 h1 {
  margin-bottom: var(--spacing-sm);
}

.tall-4747 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.small_ed43 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.dropdown_rough_d8f7 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.logo-96b6 {
  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);
}

.title-eda2 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.accent-135e h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.accent-135e p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.hero_fluid_7231 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.thumbnail-motion-3ee2 {
  padding-bottom: var(--spacing-2xl);
}

.wide_693c {
  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;
}

.media-70f1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.shade-0435 a {
  color: var(--primary-color);
}

.shade-0435.fn-active-ef95 {
  color: var(--text-secondary);
}

.shade-0435:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.down_cbad {
  padding: var(--spacing-xl) 0;
}

.basic_d327 {
  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);
}

.basic_d327 h2 {
  margin-bottom: var(--spacing-sm);
}

.basic_d327 p {
  color: var(--text-secondary);
}

.focus-rough-f834 {
  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;
}

.focus-rough-f834 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.focus-rough-f834 h4 {
  margin-top: var(--spacing-sm);
}

.focus-rough-f834 p {
  color: var(--text-secondary);
}

.shadow-f797 {
  padding: var(--spacing-xl) 0;
}

.icon_bronze_eab8 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.picture-warm-8ed1 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.picture-warm-8ed1 a {
  color: var(--text-secondary);
}

.picture-warm-8ed1 a:hover {
  color: var(--primary-color);
}

.card_basic_befc {
  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);
}

.huge_1aa3 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.in-3911 {
  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);
}

.in-3911:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hover-gold-8ff0 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hover_6a5e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 652d */
.widget-item-b1 {
  padding: 0.2rem;
  font-size: 13px;
  line-height: 1.0;
}
