/*
Theme Name: FinCalcWise
Theme URI: https://voyaging-honeydew-starling-63.hostingersite.com/
Author: FinCalcWise
Author URI: https://voyaging-honeydew-starling-63.hostingersite.com/
Description: Clean, fast, fully responsive theme made for the FinCalcWise Classic plugin. Slim sticky header, dark footer, no bloat — every calculator page is styled by the plugin. Works on phones, tablets and desktops with no horizontal scroll.
Version: 1.0.8
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: fincalc-theme
Tags: clean, responsive, finance, calculator, custom-menu, custom-logo, sticky-post, threaded-comments
*/

/* --- Base --- */
*, *::before, *::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color:#1e293b; background:#f6f8fb; line-height:1.6; font-size:16px; overflow-x:clip; } /* same as the plugin wrap: sides blend in, no stark white emptiness; clip stops the full-bleed hero from adding a horizontal scrollbar */
a { color:#2563eb; text-decoration:none; }
a:hover { text-decoration:underline; }
img { max-width:100%; height:auto; }
h1, h2, h3 { color:#0f172a; line-height:1.25; }
.fct-container { max-width:1440px; margin:0 auto; padding:0 18px; }

/* --- Theme header (hidden on calculator pages: the plugin renders its own header there) --- */
.fct-header { background:#fff; border-bottom:1px solid #e2e8f0; position:sticky; top:0; z-index:50; }
.fct-header-inner { max-width:1440px; margin:0 auto; padding:12px 18px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.fct-logo { font-weight:800; font-size:20px; color:#0f172a; display:flex; align-items:center; gap:8px; }
.fct-logo:hover { text-decoration:none; }
.fct-logo-mark { background:linear-gradient(135deg,#2563eb,#0ea5e9); color:#fff; border-radius:10px; padding:4px 9px; font-size:18px; }
.fct-logo-img { height:40px; width:auto; display:block; }
.fct-nav { margin-left:auto; }
.fct-nav ul { list-style:none; margin:0; padding:0; display:flex; gap:4px; flex-wrap:wrap; }
.fct-nav a { color:#334155; padding:8px 12px; border-radius:8px; font-size:14px; font-weight:600; }
.fct-nav a:hover { background:#f1f5f9; color:#0f172a; text-decoration:none; }

/* --- Content --- */
.fct-content { padding:28px 0 40px; }
.fct-post { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:24px; margin-bottom:20px; }
.fct-post h1 { font-size:28px; margin:0 0 8px; }
.fct-post h2 { font-size:22px; }
.fct-meta { color:#64748b; font-size:13px; margin-bottom:12px; }
.fct-post-list article { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:20px 22px; margin-bottom:16px; }
.fct-post-list h2 { margin:0 0 6px; font-size:21px; }
.fct-post-list h2 a { color:#0f172a; }

/* --- Footer --- */
.fct-footer { background:linear-gradient(135deg, #dbeafe, #eff6ff); color:#334155; padding:36px 0 28px; margin-top:20px; }
.fct-footer a { color:#1d4ed8; }
.fct-footer-inner { max-width:1440px; margin:0 auto; padding:0 18px; display:flex; gap:24px; flex-wrap:wrap; justify-content:space-between; }
.fct-footer h3 { color:#0f172a; margin:0 0 10px; font-size:16px; }
.fct-footer ul { list-style:none; margin:0; padding:0; }
.fct-footer li { margin-bottom:6px; font-size:14px; }
.fct-copy { text-align:center; color:#64748b; font-size:13px; margin-top:28px; }

/* --- Responsive --- */
@media (max-width:720px) {
  .fct-header-inner { gap:10px; padding:10px 14px; }
  .fct-nav { margin-left:0; flex-basis:100%; order:3; }
  .fct-nav ul { gap:2px; }
  .fct-nav a { padding:6px 8px; font-size:13px; }
  .fct-content { padding:18px 0 28px; }
  .fct-post { padding:18px 16px; border-radius:14px; }
  .fct-post h1 { font-size:23px; }
  .fct-footer-inner { flex-direction:column; gap:20px; }
}
