:root {
  /* Colors - Use theme variables from layout where available, fallback to defaults */
  --eyup-primary: #3498db;
  --eyup-secondary: #2c3e50;
  --eyup-tertiary: #1e5c6e;

  --eyup-primary-dark: color-mix(
    in srgb,
    var(--eyup-primary, #3498db) 85%,
    black
  );
  --eyup-primary-darker: color-mix(
    in srgb,
    var(--eyup-primary, #3498db) 70%,
    black
  );
  --eyup-secondary-light: color-mix(
    in srgb,
    var(--eyup-secondary, #2c3e50) 90%,
    white
  );
  --eyup-secondary-dark: color-mix(
    in srgb,
    var(--eyup-secondary, #2c3e50) 80%,
    black
  );
  --success: #27ae60;
  --success-dark: #229954;
  --danger: #e74c3c;
  --danger-dark: #c0392b;
  --warning: #dfab11;
  --warning-dark: #b28704;
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-grey: #6c757d;
  --text-light-grey: #d9d9d9;
  --text-light: #95a5a6;
  --text-white: #fff;
  --text-black: #000;
  --bg-primary: #f5f7fa;
  --bg-white: #fff;
  --bg-black: #000;
  --bg-light: #f8f9fa;
  --bg-grey: #bbbbbb;
  --bg-dark-grey: #646464;
  --color-white: #fff;
  --color-black: #000;
  --brand-color-white: #fff;
  --brand-color-black: #000;
  --border: #e0e0e0;
  --border-light: #e9ecef;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;

  /* Border radius - Complete scale */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 12px;
  --radius-full: 999px;

  /* Transitions - Standardized timing */
  --transition: all 0.2s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.3s ease;
  --transition-transform: transform 0.2s ease;
  --transition-opacity: opacity 0.2s ease;
  --transition-background: background-color 0.2s ease;

  /* Box shadows - Complete elevation scale */
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-inner: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);

  --admin-sidebar-width: 60px;
}
#header {
  position: sticky;
  top: -38px;
  z-index: 100;
}
.dev-note {
  font-size: 0.875rem;
  color: var(--text-light);
}
body {
  background: #000;
}
.modules,
.preview-container {
  max-width: 1920px !important;
  margin: 0 auto;
  background: #fff;
}
/* WYSIWYG content styling */
blockquote {
  border: 0 solid #ccc;
  border-left-width: 0.3em;
  margin: 0 0 1rem 0.3em;
  padding-left: 0.6em;
}

h1 {
  font-size: 1.2em;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}

/* Ensure headings with or without <strong> look identical */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

h1 strong, h2 strong, h3 strong,
h4 strong, h5 strong, h6 strong {
  font-weight: inherit;
}

.scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  #cover {
    margin-top: -62px;
  }
  #header {
    top: -56px;
  }
}
