/*
 * Inner pages adapter for index.picture-hard-d50b design system (styles-new.photo_bottom_adc5)
 * 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(.wide-1210) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.primary_7d41.clean_50c0 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.element-huge-66ff {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.element-huge-66ff > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.image_cab2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.hard-f7c8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.pressed-d2f0 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .pressed-d2f0 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .hard-f7c8 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.status_lite_caff { display: flex; }
.orange_f24e { justify-content: space-between; }
.dirty_6ade { align-items: center; }
.clean_50c0 { text-align: center; }

.column_stale_aae4 { margin-right: 0.5rem; }
.frame_north_5c62 { margin-right: 1rem; }
.status-4cb5 { margin-top: 1rem; }
.popup_complex_5e21 { margin-top: 1.5rem; }
.solid-8594 { margin-bottom: 1rem; }
.content_8515 { margin-bottom: 1.5rem; }
.outline-current-d9df { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.lower-ba6b { margin-top: 1rem; margin-bottom: 1rem; }
.container-in-4a0b { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.rough-1f10 { max-width: 100%; height: auto; }

/* Links used in old footer */
.article-gold-a235 { color: var(--text-primary); }
.heading-706c { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.bronze_01c7 {
  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 */
.wood_6181 { /* 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);
}

.wood_6181:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.mask_dfb2 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.mask_dfb2:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.popup_f592 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.table-upper-ed5a {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.table-upper-ed5a::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;
}

.menu_5b9b {
  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);
}

.menu_5b9b h1 {
  margin-bottom: var(--spacing-sm);
}

.menu_5b9b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.wrapper-5f07 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.alert_948c {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.paper_dee4 {
  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);
}

.backdrop_white_5371 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.menu-4e69 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.menu-4e69 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.middle-8784 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.frame-2100 {
  padding-bottom: var(--spacing-2xl);
}

.pink-ab94 {
  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;
}

.old_1e33 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.primary_98b7 a {
  color: var(--primary-color);
}

.primary_98b7.fn-active-87d4 {
  color: var(--text-secondary);
}

.primary_98b7:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.prev_f3a1 {
  padding: var(--spacing-xl) 0;
}

.thumbnail_0394 {
  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);
}

.thumbnail_0394 h2 {
  margin-bottom: var(--spacing-sm);
}

.thumbnail_0394 p {
  color: var(--text-secondary);
}

.button-solid-70d0 {
  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;
}

.button-solid-70d0 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.button-solid-70d0 h4 {
  margin-top: var(--spacing-sm);
}

.button-solid-70d0 p {
  color: var(--text-secondary);
}

.footer_7f90 {
  padding: var(--spacing-xl) 0;
}

.over-3b3d {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.light_5b31 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.light_5b31 a {
  color: var(--text-secondary);
}

.light_5b31 a:hover {
  color: var(--primary-color);
}

.pink_e57f {
  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);
}

.image-under-0234 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.action-2e50 {
  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);
}

.action-2e50:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hot_6e37 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.button-2216 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: b45b */
.phantom-card-a4 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.3;
}
