/* ============================================================================
   WDP OVERHAUL - New Homepage, Sidebar, Mobile Tab Bar, Gold Accents
   Date: 2026-04-24
   Dependencies: unified-color-scheme.css (MUST load before this file)
   ============================================================================ */

/* ============================================
   GOLD ACCENT VARIABLES
   ============================================ */
:root {
  --gold: #f0a500;
  --gold-light: #ffd966;
  --gold-dark: #c98800;
  --gold-gradient: linear-gradient(135deg, #f0a500 0%, #ffb347 100%);
  --gold-glow: 0 0 20px rgba(240, 165, 0, 0.3);
  --sidebar-width: 240px;
  --sidebar-collapsed-width: 60px;
  --mobile-tab-bar-height: 60px;
  --sidebar-bg: rgba(255, 255, 255, 0.92);
  --sidebar-border: rgba(102, 126, 234, 0.15);
}
   SIDEBAR (Desktop, >= 768px)
.wdp-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-right: 1px solid var(--sidebar-border);
  z-index: var(--z-sticky, 1020);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, width 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 2px 0 10px rgba(102, 126, 234, 0.08);
/* Sidebar scrollbar styling */
.wdp-sidebar::-webkit-scrollbar {
  width: 4px;
.wdp-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
/* Dark mode sidebar */
body.dark-mode .wdp-sidebar,
html.dark-mode .wdp-sidebar {
  background: rgba(15, 15, 26, 0.92);
  border-right-color: rgba(102, 126, 234, 0.15);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
/* Sidebar brand area */
.wdp-sidebar-brand {
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--sidebar-border);
  min-height: 64px;
  flex-shrink: 0;
.wdp-sidebar-brand .wdp-sidebar-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  justify-content: center;
  font-size: 18px;
  color: white;
.wdp-sidebar-brand h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: var(--text-primary);
.wdp-sidebar-brand .wdp-sidebar-version {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
/* Sidebar nav sections */
.wdp-sidebar-nav {
  flex: 1;
  padding: 8px 0;
.wdp-sidebar-section {
  margin-bottom: 4px;
.wdp-sidebar-section-header {
  justify-content: space-between;
  padding: 6px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
.wdp-sidebar-section-header:hover {
.wdp-sidebar-section-header .collapse-icon {
  transition: transform 0.2s ease;
.wdp-sidebar-section-header.collapsed .collapse-icon {
  transform: rotate(-90deg);
.wdp-sidebar-section-items {
  overflow: hidden;
  max-height: 1000px;
  transition: max-height 0.3s ease;
.wdp-sidebar-section-header.collapsed + .wdp-sidebar-section-items {
  max-height: 0;
/* Sidebar nav links */
.wdp-sidebar-link {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
  border-radius: 0;
  border-left: 3px solid transparent;
  margin: 1px 0;
.wdp-sidebar-link:hover {
  background: rgba(102, 126, 234, 0.08);
  color: var(--primary);
.wdp-sidebar-link.active {
  background: rgba(102, 126, 234, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  border-left-color: var(--gold);
.wdp-sidebar-link .wdp-link-icon {
  width: 20px;
  text-align: center;
/* Privacy First Badge */
.wdp-privacy-badge {
  display: inline-flex;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  margin-left: auto;
  white-space: nowrap;
.wdp-privacy-badge i {
/* Sidebar footer */
.wdp-sidebar-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--sidebar-border);
  gap: 8px;
  flex-wrap: wrap;
.wdp-sidebar-footer .wdp-dark-mode-toggle {
  padding: 5px 8px;
  background: transparent;
  border: 1px solid var(--sidebar-border);
  transition: all 0.2s;
.wdp-sidebar-footer .wdp-dark-mode-toggle:hover {
  border-color: var(--primary);
/* User location indicator */
.wdp-sidebar-location {
  padding: 4px 16px 8px;
  gap: 6px;
.wdp-sidebar-location i {
  color: var(--gold);
   MAIN CONTENT - Sidebar offset
@media (min-width: 768px) {
  body.wdp-has-sidebar {
    padding-left: var(--sidebar-width);
  }
  body.wdp-has-sidebar main,
  body.wdp-has-sidebar .wdp-main-content {
    padding-left: 0;
  .site-header {
    left: var(--sidebar-width);
    width: auto;
   MOBILE TAB BAR (width < 768px)
@media (max-width: 767px) {
  body.wdp-has-tab-bar {
    padding-bottom: var(--mobile-tab-bar-height);
.wdp-mobile-tab-bar {
  right: 0;
  height: var(--mobile-tab-bar-height);
  background: rgba(255, 255, 255, 0.95);
  z-index: 1030;
  display: none;
  align-items: stretch;
  justify-content: space-around;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  .wdp-mobile-tab-bar {
    display: flex;
body.dark-mode .wdp-mobile-tab-bar,
html.dark-mode .wdp-mobile-tab-bar {
  background: rgba(15, 15, 26, 0.95);
  border-top-color: rgba(102, 126, 234, 0.15);
.wdp-tab-item {
  gap: 2px;
  padding: 4px 2px;
  border: none;
  font-weight: 500;
  min-width: 0;
  position: relative;
.wdp-tab-item i {
  transition: all 0.15s;
.wdp-tab-item span {
  line-height: 1;
  text-overflow: ellipsis;
  max-width: 100%;
.wdp-tab-item:hover {
.wdp-tab-item.active {
.wdp-tab-item.active i {
  transform: scale(1.1);
/* "More" menu button */
.wdp-tab-item.wdp-more-btn {
/* More menu popup */
.wdp-more-menu {
  bottom: calc(var(--mobile-tab-bar-height) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  max-height: 60vh;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1040;
.wdp-more-menu.open {
  display: block;
body.dark-mode .wdp-more-menu,
html.dark-mode .wdp-more-menu {
  border-color: var(--border-light);
.wdp-more-menu-item {
  padding: 10px 16px;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
.wdp-more-menu-item:hover {
.wdp-more-menu-item.active {
.wdp-more-menu-overlay {
  inset: 0;
  z-index: 1035;
.wdp-more-menu-overlay.open {
   HOMEPAGE SECTIONS
/* Hero Banner */
.wdp-hero {
  padding: 60px 24px 50px;
  background: var(--section-hero);
  min-height: 400px;
.wdp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 20%, rgba(240, 165, 0, 0.04) 0%, transparent 40%),
              radial-gradient(ellipse at 50% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 40%);
  pointer-events: none;
.wdp-hero-content {
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
.wdp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
.wdp-hero .wdp-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0 0 6px;
  line-height: 1.5;
  max-width: 560px;
  margin-right: auto;
.wdp-hero .wdp-hero-sub-2 {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin: 0 0 32px;
.wdp-hero-actions {
  gap: 12px;
.wdp-hero-actions .btn-gold {
  padding: 12px 28px;
  transition: all 0.25s ease;
.wdp-hero-actions .btn-gold-primary {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(240, 165, 0, 0.35);
.wdp-hero-actions .btn-gold-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(240, 165, 0, 0.5);
.wdp-hero-actions .btn-gold-secondary {
  border: 2px solid var(--primary);
.wdp-hero-actions .btn-gold-secondary:hover {
  background: var(--primary);
/* Learning Hub Section */
.wdp-section {
  padding: 48px 24px;
  max-width: 1100px;
.wdp-section-header {
  margin-bottom: 32px;
.wdp-section-header h2 {
  font-size: 1.8rem;
  margin: 0 0 8px;
.wdp-section-header h2 .gold-accent {
.wdp-section-header p {
  max-width: 600px;
.wdp-learning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
.wdp-learning-card {
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
.wdp-learning-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.15);
  transform: translateY(-3px);
.wdp-learning-card .card-icon {
  font-size: 32px;
  margin-bottom: 12px;
.wdp-learning-card h3 {
  font-size: 1.1rem;
.wdp-learning-card p {
  font-size: 0.9rem;
  margin: 0 0 16px;
.wdp-learning-card .card-link {
  gap: 4px;
  transition: gap 0.2s;
.wdp-learning-card .card-link:hover {
  color: var(--gold-dark);
.wdp-section-footer-link {
  margin-top: 8px;
.wdp-section-footer-link a {
.wdp-section-footer-link a:hover {
/* Real-time Updates Section */
.wdp-updates-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
.wdp-update-card {
  padding: 20px;
.wdp-update-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
.wdp-update-card .update-icon {
  font-size: 24px;
  margin-bottom: 8px;
.wdp-update-card .update-label {
  font-size: 0.75rem;
.wdp-update-card .update-value {
  font-size: 1.5rem;
.wdp-update-card .update-desc {
  font-size: 0.85rem;
  margin: 4px 0 0;
.wdp-update-card .update-date {
  margin: 8px 0 0;
  font-style: italic;
.wdp-update-card .update-alert {
  padding: 8px 12px;
  background: rgba(240, 165, 0, 0.1);
  border-left: 3px solid var(--gold);
  line-height: 1.4;
/* Trust & Privacy Pledge */
.wdp-pledge {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(240, 165, 0, 0.04) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
.wdp-pledge-inner {
  max-width: 700px;
.wdp-pledge-icon {
  font-size: 48px;
.wdp-pledge h2 {
.wdp-pledge p {
  font-size: 1.05rem;
  line-height: 1.6;
.wdp-pledge .pledge-highlight {
.wdp-pledge .pledge-link {
  text-decoration: underline;
  text-underline-offset: 2px;
.wdp-pledge .pledge-link:hover {
   SECTION DIVIDERS
.wdp-section-divider {
  height: 1px;
   PAGE FOOTER (new global)
.wdp-global-footer {
  background: var(--section-civic);
  padding: 32px 24px 24px;
.wdp-footer-inner {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
.wdp-footer-col h4 {
.wdp-footer-col ul {
  list-style: none;
  padding: 0;
.wdp-footer-col ul li {
  margin-bottom: 6px;
.wdp-footer-col ul li a {
  font-size: 0.88rem;
.wdp-footer-col ul li a:hover {
.wdp-footer-bottom {
  margin: 24px auto 0;
  padding-top: 16px;
  font-size: 0.82rem;
.wdp-footer-bottom .wdp-footer-privacy {
   DARK MODE - Overhaul overrides
body.dark-mode .wdp-hero,
html.dark-mode .wdp-hero {
body.dark-mode .wdp-learning-card,
html.dark-mode .wdp-learning-card {
body.dark-mode .wdp-update-card,
html.dark-mode .wdp-update-card {
body.dark-mode .wdp-pledge,
html.dark-mode .wdp-pledge {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 165, 0, 0.06) 100%);
body.dark-mode .wdp-global-footer,
html.dark-mode .wdp-global-footer {
  border-top-color: var(--border-light);
   SIDEBAR ON MOBILE - Slide overlay
  .wdp-sidebar {
    transform: translateX(-100%);
    width: 280px;
    z-index: 1040;
  .wdp-sidebar.open {
    transform: translateX(0);
  .wdp-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1035;
    display: none;
  .wdp-sidebar-overlay.open {
    display: block;
  /* Mobile hamburger to open sidebar */
  .wdp-mobile-header {
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 1025;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sidebar-border);
  body.dark-mode .wdp-mobile-header,
  html.dark-mode .wdp-mobile-header {
    background: rgba(15, 15, 26, 0.95);
  .wdp-mobile-header .wdp-hamburger {
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background 0.2s;
  .wdp-mobile-header .wdp-hamburger:hover {
    background: rgba(102, 126, 234, 0.1);
  .wdp-mobile-header .wdp-mobile-title {
    font-size: 16px;
    font-weight: 700;
    flex: 1;
  .wdp-mobile-header .wdp-mobile-actions {
    gap: 6px;
  .wdp-mobile-header .wdp-mobile-actions .wdp-dark-mode-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--sidebar-border);
    color: var(--text-secondary);
    transition: all 0.2s;
  .wdp-mobile-header .wdp-mobile-actions .wdp-dark-mode-toggle:hover {
    color: var(--primary);
   MAIN LAYOUT ADJUSTMENTS
body.wdp-overhauled .site-header {
  body.wdp-overhauled {
   RESPONSIVE
  .wdp-hero {
    padding: 40px 20px 36px;
    min-height: 320px;
  .wdp-section {
    padding: 32px 16px;
  .wdp-learning-grid {
    grid-template-columns: 1fr;
  .wdp-updates-grid {
  .wdp-pledge {
  .wdp-footer-inner {
    grid-template-columns: 1fr 1fr;
