/*
Theme Name: FinSmart India Pro - Complete Calculator & Elementor Theme
Theme URI: https://finsmartindia.example.com/
Author: FinSmart Architecture Team
Author URI: https://finsmartindia.example.com/
Description: A lightweight, SEO-friendly, Core Web Vitals optimized, and 100% Elementor & Elementor Pro compatible WordPress Theme for Financial & Multi-Niche Calculators. Preserves the exact FinSmart India visual design while providing 26+ page templates, dynamic Custom Post Types (finsmart_tool) & hierarchical categories (tool_category), an independent Calculator Engine module (EMI, SIP, FD, GST, Interest, Percentage, Education, Date/Time, Unit Converter, Text Tools), PDF/Print export, Rank Math & Schema.org integration, AdSense CLS-safe slots, and a full Admin Theme Panel.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finsmart-india
Domain Path: /languages
Tags: finance, calculator, elementor, seo-friendly, adsense-ready, custom-colors, custom-menu, featured-images, theme-options, translation-ready
*/

:root {
  --fs-primary: #059669;
  --fs-primary-hover: #047857;
  --fs-secondary: #0f172a;
  --fs-body-bg: #f8fafc;
  --fs-card-bg: #ffffff;
  --fs-text-main: #1e293b;
  --fs-text-muted: #64748b;
  --fs-border-color: #e2e8f0;
  --fs-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-base-size: 16px;
  --fs-container-width: 1280px;
  --fs-card-radius: 16px;
  --fs-btn-radius: 12px;
}

html {
  scroll-behavior: smooth;
  font-size: var(--fs-base-size);
}

body {
  font-family: var(--fs-font-body);
  background-color: var(--fs-body-bg);
  color: var(--fs-text-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fs-font-heading);
}

.fs-container {
  max-width: var(--fs-container-width);
  margin-left: auto;
  margin-right: auto;
}

input[type="range"] {
  accent-color: var(--fs-primary);
}

/* Mega Menu & Dropdown Hover Transitions */
.fs-nav-dropdown:hover .fs-nav-dropdown-menu {
  display: block;
}

/* AdSense CLS-Safe Container */
.fs-ad-slot {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

/* Print / PDF Export Stylesheet for Single Calculator & Hub Results */
@media print {
  header, footer, #ownerBanner, .no-print, .fs-ad-slot, #seoModal, .calc-tab, #contactForm {
    display: none !important;
  }
  body, main, .page-view {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .print-card {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}
