/*
 * Inner pages adapter for index.fresh_a55b design system (styles-new.out-52af)
 * 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(.main-07da) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.column-fixed-1a05.layout_3956 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.north_cf1f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.north_cf1f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.footer_action_7796 {
  flex: 0 0 100%;
  max-width: 100%;
}

.pagination_smooth_12c4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.gallery_wood_e6d6 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .gallery_wood_e6d6 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .pagination_smooth_12c4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.popup-new-8e30 { display: flex; }
.thumbnail-0322 { justify-content: space-between; }
.steel-e465 { align-items: center; }
.layout_3956 { text-align: center; }

.green-7f79 { margin-right: 0.5rem; }
.fixed-7a47 { margin-right: 1rem; }
.pro-f7d5 { margin-top: 1rem; }
.detail-easy-7f1d { margin-top: 1.5rem; }
.gradient_prev_60ec { margin-bottom: 1rem; }
.heading_top_e920 { margin-bottom: 1.5rem; }
.heading-deae { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.table-d24b { margin-top: 1rem; margin-bottom: 1rem; }
.badge_bronze_ada6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.disabled_5ecd { max-width: 100%; height: auto; }

/* Links used in old footer */
.thick-5613 { color: var(--text-primary); }
.popup-dim-f376 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.menu-right-fe30 {
  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 */
.gallery_4f51 { /* 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);
}

.gallery_4f51:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.message-9b05 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.message-9b05:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.lite_269b {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.video_2ddf {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.video_2ddf::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;
}

.card_b08f {
  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);
}

.card_b08f h1 {
  margin-bottom: var(--spacing-sm);
}

.card_b08f p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.yellow_8281 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.steel_805c {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.basic_4e5c {
  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);
}

.card_simple_a947 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.progress_wide_a091 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.progress_wide_a091 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.complex_3593 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.modal-static-4843 {
  padding-bottom: var(--spacing-2xl);
}

.dropdown-3a23 {
  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;
}

.button-8519 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.media-a79f a {
  color: var(--primary-color);
}

.media-a79f.fn-active-f698 {
  color: var(--text-secondary);
}

.media-a79f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.outline_full_47bc {
  padding: var(--spacing-xl) 0;
}

.picture-baba {
  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);
}

.picture-baba h2 {
  margin-bottom: var(--spacing-sm);
}

.picture-baba p {
  color: var(--text-secondary);
}

.badge_1dbc {
  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;
}

.badge_1dbc h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.badge_1dbc h4 {
  margin-top: var(--spacing-sm);
}

.badge_1dbc p {
  color: var(--text-secondary);
}

.wood_bbf7 {
  padding: var(--spacing-xl) 0;
}

.header_rough_e591 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.east-c11d {
  list-style: none;
  margin: 0;
  padding: 0;
}

.east-c11d a {
  color: var(--text-secondary);
}

.east-c11d a:hover {
  color: var(--primary-color);
}

.accordion_south_036b {
  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);
}

.in_5c24 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.over-d763 {
  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);
}

.over-d763:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.summary-solid-cbd6 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card_dd2b { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 34aa */
.widget-item-v6 {
  padding: 0.2rem;
  font-size: 12px;
  line-height: 1.0;
}
