﻿/*
Theme Name: HamsterCombo Pro
Theme URI: https://hamstercombocard.com/
Author: Hamster Combo Card
Description: Professional finance blog theme with sidebar and post navigation.
Version: 1.0.0
Text Domain: hamstercombo-pro
*/

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
body { margin:0; font-family:"Segoe UI", Arial, sans-serif; line-height:1.65; color:var(--text); background:radial-gradient(circle at top right, #dbeafe 0%, var(--bg) 35%);} 
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--primary-dark); }
.container { width:min(1150px, 92%); margin:0 auto; }
.topbar { text-align:center; background:#0b1328; color:#e2e8f0; padding:10px; font-size:13px; }
.site-header { background:rgba(255,255,255,.95); border-bottom:1px solid var(--line); position:sticky; top:0; backdrop-filter:blur(8px); z-index:20; }
.nav-wrap { display:flex; justify-content:space-between; align-items:center; padding:14px 0; gap:20px; }
.logo { font-weight:800; color:#111827; }
.logo-img { height:34px; width:auto; display:block; }
.nav-links { list-style:none; display:flex; gap:8px; margin:0; padding:0; flex-wrap:wrap; }
.nav-links a { display:inline-block; color:#1e293b; font-size:14px; padding:8px 11px; border-radius:8px; }
.nav-links a:hover { background:#eff6ff; }
.hero { padding:84px 0 60px; }
.hero-box { background:linear-gradient(140deg,#0f1f4d,#1d4ed8); color:#fff; border-radius:18px; padding:46px; box-shadow:var(--shadow); }
.hero h1 { margin:0; line-height:1.2; font-size:clamp(2rem,2.7vw,3rem); }
.hero p { margin-top:14px; color:#dbeafe; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.btn { display:inline-block; padding:10px 18px; border-radius:10px; font-weight:600; border:1px solid transparent; }
.btn-primary { background:#fff; color:#1e3a8a; }
.btn-secondary { background:#dbeafe; color:#1e40af; border-color:#93c5fd; }
.card-grid { display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.card { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:22px; box-shadow:var(--shadow); }
.site-footer { margin-top:60px; border-top:1px solid var(--line); background:#fff; padding:20px 0; text-align:center; color:var(--muted); }
.page-content { background:#fff; border:1px solid var(--line); border-radius:16px; padding:30px; margin-top:32px; box-shadow:var(--shadow); }
.blog-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,.9fr); gap:20px; align-items:start; }
.blog-main { display:grid; gap:16px; }
.blog-sidebar { position:sticky; top:96px; display:grid; gap:14px; }
.sidebar-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.category-hero { margin-bottom:20px; }
.category-label { text-transform:uppercase; letter-spacing:.6px; color:#1e40af; font-size:12px; font-weight:700; margin:0 0 6px; }
.category-desc { color:var(--muted); }
.post-card h2 { margin-top:6px; }
.post-thumb img { width:100%; height:auto; border-radius:10px; border:1px solid var(--line); margin-bottom:12px; }
.post-cover { width:100%; border-radius:12px; border:1px solid var(--line); margin:10px 0 18px; }
.post-nav { margin-top:26px; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.post-nav a, .post-nav span { padding:10px 14px; border:1px solid #bfdbfe; border-radius:10px; color:#1e40af; background:#eff6ff; font-weight:600; }
.post-nav .disabled { opacity:.45; pointer-events:none; }
@media (max-width:980px){ .blog-layout { grid-template-columns:1fr; } .blog-sidebar{ position:static; } }
