/*
Theme Name: Jewelry Trend Hub
Theme URI: https://wpapirunner.com/
Author: WP API RUNNER
Author URI: https://wpapirunner.com/
Description: Luxury Editorial & High Jewelry Magazine Theme with Custom Elementor Widgets
Version: 4.5.0
Requires at least: 6.0
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: jewelry-trend-hub
Tags: editorial, luxury, blog, news, custom-header, full-width-template, grid-layout, responsive-layout, translation-ready, theme-options, featured-images
*/

/**
 * --------------------------------------------------------------------------
 * Root Design Tokens & Luxury Color Palette
 * Distinct National Jeweler 1:1 Architecture with Haute Joaillerie Tier
 * --------------------------------------------------------------------------
 */
:root {
  /* Luxury Palette System */
  --jth-silk-bg: #FDFBF7;
  --jth-onyx-midnight: #0D1117;
  --jth-onyx-card: #161B22;
  --jth-onyx-surface: #21262D;

  --jth-gold-champagne: #D4AF37;
  --jth-bronze-polished: #A37E4C;
  --jth-gold-warm: #C5A880;
  --jth-gold-gradient: linear-gradient(135deg, #E5C365 0%, #D4AF37 50%, #A37E4C 100%);
  --jth-gold-subtle-glow: 0 4px 20px rgba(212, 175, 55, 0.22);

  --jth-emerald-deep: #0F382A;

  --jth-card-surface: #FFFFFF;
  --jth-card-muted: #F7F5F0;
  --jth-border-gold: rgba(212, 175, 55, 0.15);
  --jth-border-subtle: #EBE6DC;

  --jth-text-charcoal: #161616;
  --jth-text-slate: #4A5568;
  --jth-text-muted: #8C95A0;

  /* Editorial Typography */
  --jth-font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --jth-font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --jth-font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout Architecture (1300px Expanded Container) */
  --jth-container-max: 1300px;
  --jth-container-pad: 20px;

  /* Elevation & Borders */
  --jth-radius-sm: 4px;
  --jth-radius-md: 6px;
  --jth-radius-lg: 10px;
  --jth-radius-pill: 9999px;

  --jth-shadow-sm: 0 2px 8px rgba(13, 17, 23, 0.04);
  --jth-shadow-md: 0 8px 24px rgba(13, 17, 23, 0.06);
  --jth-shadow-lg: 0 16px 36px rgba(13, 17, 23, 0.1);
  --jth-shadow-gold: 0 6px 20px rgba(212, 175, 55, 0.3);

  --jth-transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --jth-transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Foundational Resets (Frame 0 Protection) */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Sticky Footer Architecture */
.jth-site-wrapper,
#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

#primary,
#main,
main,
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

footer,
.site-footer,
.jth-footer-wrapper,
.elementor-location-footer {
  margin-top: auto;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Global 1300px Boxed Containers */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con-boxed,
.e-con-boxed > .e-con-inner,
.jth-container {
  max-width: var(--jth-container-max, 1300px);
  --container-max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* Accessibility & Screen Readers */
.screen-reader-text,
.skip-link.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}