/* ==========================================================
   GLOBAL LIGHT PASTEL OVERRIDE FOR ALL INTERNAL PAGES
   ========================================================== */
:root {
  --color-bg-dark: #FAF8F5 !important;
  --color-bg-darker: #F2EFE9 !important;
  --color-bg-elevated: #FFFFFF !important;
  --color-text-primary: #2B2D42 !important;
  --color-text-secondary: #6C757D !important;
  --color-text-muted: #7A6E67 !important;
  --color-text-disabled: #A0AEC0 !important;
  --color-border: #E6DEC8 !important;
  --color-border-hover: #4DB6AC !important;
  --color-input-bg: #FFFFFF !important;
}

body,
#page,
.site,
.site-content,
.site-main,
.content-area,
.archive,
.blog,
.single,
.page,
.search,
.error404,
.archive-container,
.single-container,
.page-content,
.post-content,
.entry-content,
.hentry,
.post,
.page-header,
.archive-header,
.widget-area,
.sidebar {
  background-color: transparent !important;
  color: #2B2D42 !important;
}

/* Card surfaces & panels to clean white with soft border */
.archive .post,
.blog .post,
.search .post,
.archive .hentry,
.blog .hentry,
.search .hentry,
.widget,
.card,
.ovz-map-container,
.ovz-sidebar-filters,
.map-content-col {
  background: #FFFFFF !important;
  color: #2B2D42 !important;
  border: 1px solid rgba(43, 45, 66, 0.08) !important;
  box-shadow: 0 10px 25px -5px rgba(43, 45, 66, 0.06) !important;
  border-radius: 20px !important;
}

.single,
.single-container,
.single .post,
.single .hentry,
.single article,
.single .site-main,
.single .site-content,
.single .content-area,
.single .entry-content,
.single .post-content {
  background: transparent !important;
}

/* Headings and text in archives and inner pages */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.archive-title,
.widget-title,
a {
  color: #2B2D42 !important;
}

p, span, li, time, .entry-meta {
  color: #6C757D !important;
}

/* Pagination, Filters & Buttons Override (Excluding paint app) */
.pagination,
.nav-links,
.page-numbers,
.filter-container,
.filters-wrap,
.event-filters,
.ovz-sidebar-filters,
:not(#childside-paint-app) select,
:not(#childside-paint-app) input:not([type="color"]),
:not(#childside-paint-app):not(.childside-paint-wrapper) button:not(.paint-tactile-btn) {
  background-color: #FFFFFF !important;
  color: #2B2D42 !important;
  border-color: #E6DEC8 !important;
}

.page-numbers.current {
  background-color: #4DB6AC !important;
  color: #FFFFFF !important;
}

.page-numbers:hover {
  background-color: #F2EFE9 !important;
  color: #2B2D42 !important;
}

/* Single post container and feature image dark gradient overrides */
.single-post-main .container-narrow {
  background: #FFFFFF !important;
  color: #2B2D42 !important;
  border: 1px solid rgba(43, 45, 66, 0.08) !important;
  box-shadow: 0 10px 25px -5px rgba(43, 45, 66, 0.06) !important;
  border-radius: 24px !important;
  margin-top: -30px !important;
  padding: 3rem !important;
}

.post-featured-image::before {
  background: linear-gradient(to bottom, rgba(250, 248, 245, 0.85) 0%, transparent 100%) !important;
}

.post-featured-image::after {
  background: linear-gradient(to top, rgba(250, 248, 245, 0.85) 0%, transparent 100%) !important;
}

/* ==========================================================
   TABLES LIGHT PASTEL OVERRIDE
   ========================================================== */
table,
.wp-block-table,
.entry-content table,
.cs-table-wrap,
.cs-table {
  background-color: #FFFFFF !important;
  color: #2B2D42 !important;
  border: 1px solid #E6DEC8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(43, 45, 66, 0.05) !important;
  overflow: hidden !important;
  margin: 2rem 0 !important;
}

th,
td,
.entry-content th,
.entry-content td,
.cs-table th,
.cs-table td {
  background-color: transparent !important;
  color: #2B2D42 !important;
  border-color: #E6DEC8 !important;
  padding: 1rem 1.2rem !important;
}

th,
.entry-content thead,
.entry-content th,
.cs-table th {
  background-color: #F4EFE6 !important;
  color: #2B2D42 !important;
  font-weight: 700 !important;
}

tr:nth-child(even) td {
  background-color: rgba(244, 239, 230, 0.4) !important;
}

tr:hover td {
  background-color: rgba(77, 182, 172, 0.08) !important;
}
