/*
Theme Name: Quillmark
Theme URI: https://quillmark.online/
Author: Quillmark Team
Author URI: https://quillmark.online/
Description: A modern community publishing, article-sharing and guest-post platform for thinkers, writers and creators. Features native frontend post creation, user dashboards, bookmarking, SEO canonical management, and JSON-LD structured data.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quillmark
Tags: blog, community-publishing, guest-posts, news, custom-background, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready, accessibility-ready

Quillmark WordPress Theme, (C) 2026 Quillmark Team
*/

:root {
  /* Brand Color Palette */
  --qm-primary: #4F46E5;
  --qm-primary-dark: #3730A3;
  --qm-secondary: #7C3AED;
  --qm-accent: #F59E0B;
  --qm-bg: #F8FAFC;
  --qm-surface: #FFFFFF;
  --qm-dark-bg: #0F172A;
  --qm-dark-surface: #1E293B;
  --qm-text: #111827;
  --qm-text-muted: #64748B;
  --qm-border: #E2E8F0;
  --qm-border-dark: #334155;
  --qm-success: #16A34A;
  --qm-error: #DC2626;

  /* Typography */
  --qm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --qm-font-serif: 'Source Serif 4', Georgia, Cambria, "Times New Roman", Times, serif;
  --qm-font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Radii */
  --qm-radius-sm: 8px;
  --qm-radius-md: 12px;
  --qm-radius-lg: 18px;
  --qm-radius-xl: 24px;
  --qm-radius-full: 9999px;

  /* Shadows */
  --qm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --qm-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --qm-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --qm-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Dark mode theme variables */
[data-theme="dark"] {
  --qm-bg: #0F172A;
  --qm-surface: #1E293B;
  --qm-text: #F8FAFC;
  --qm-text-muted: #94A3B8;
  --qm-border: #334155;
  --qm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --qm-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--qm-font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--qm-text);
  background-color: var(--qm-bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--qm-text);
  background-color: var(--qm-bg);
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Base Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--qm-primary);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Containers */
.qm-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.qm-container-narrow {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
