/*
Theme Name: CJ's Hub Elementor Theme
Theme URI: https://example.com/
Author: ChatGPT
Author URI: https://example.com/
Description: Lightweight Elementor-ready theme for CJ's Hub (Lovable -> WordPress). Includes CPT + taxonomies for Guides and basic templates. Use Elementor Theme Builder for full control.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cjshub-elementor
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

:root {
  --cjs-navy: #0B1E3A;
  --cjs-orange: #F97316;
  --cjs-orange-soft: #FFF3E8;
  --cjs-cream: #FAF9F6;
  --cjs-gray: #6B7280;
  --cjs-border: rgba(11, 30, 58, 0.10);
  --cjs-radius: 16px;
  --cjs-shadow: 0 12px 30px rgba(11, 30, 58, 0.08);
}

body {
  margin: 0;
  color: var(--cjs-navy);
  background: var(--cjs-cream);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;
}

a { color: var(--cjs-navy); }
a:hover { color: var(--cjs-orange); }

.cjs-container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.cjs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cjs-border);
}

.cjs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.cjs-site-title a {
  text-decoration: none;
  font-family: "DM Serif Display", ui-serif, Georgia, serif;
  font-size: 22px;
}

.cjs-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.cjs-nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  display: inline-block;
}
.cjs-nav a:hover { background: rgba(249, 115, 22, 0.10); }

.cjs-nav .menu-item--cta > a {
  background: var(--cjs-orange);
  color: #fff;
}
.cjs-nav .menu-item--cta > a:hover {
  filter: brightness(0.98);
}

.cjs-main {
  padding: 48px 0 80px;
}

.cjs-card {
  background: #fff;
  border: 1px solid var(--cjs-border);
  border-radius: var(--cjs-radius);
  box-shadow: var(--cjs-shadow);
  padding: 20px;
}

.cjs-footer {
  border-top: 1px solid var(--cjs-border);
  padding: 48px 0;
  background: #fff;
}

.cjs-footer small {
  color: var(--cjs-gray);
}

.cjs-hero {
  padding: 72px 0;
}
.cjs-hero__box {
  background: #fff;
  border: 1px solid var(--cjs-border);
  border-radius: calc(var(--cjs-radius) + 4px);
  box-shadow: var(--cjs-shadow);
  padding: 32px;
}

@media (max-width: 768px) {
  .cjs-main { padding: 24px 0 56px; }
  .cjs-hero { padding: 44px 0; }
  .cjs-header__inner { padding: 12px 0; }
}
