/*
Theme Name: Finance v1
Theme URI: https://fifthteen-blog.local/
Author: Fifthteen
Author URI: https://fifthteen-blog.local/
Description: A professional classic PHP theme for international finance news and knowledge. Brand uses the WordPress site title. English UI throughout.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finance_1
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns
*/

/* Design tokens — base; detailed layout in assets/css/main.css */
:root {
	--color-ink: #0b1f33;
	--color-ink-soft: #1a3348;
	--color-paper: #f7f9fb;
	--color-surface: #ffffff;
	--color-muted: #5a6b7a;
	--color-accent: #0d9488;
	--color-accent-hover: #0f766e;
	--color-up: #059669;
	--color-down: #dc2626;
	--color-line: #d8e0e8;
	--font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-body: "DM Sans", system-ui, sans-serif;
	--max-width: 1180px;
	--content-width: 68ch;
	--header-height: 4.25rem;
	--radius: 2px;
	--shadow-soft: 0 8px 28px rgba(11, 31, 51, 0.08);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	/* Anchor jumps can opt into smooth via JS; keep default auto so RAF scroll works. */
	scroll-behavior: auto;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--color-ink);
	background:
		radial-gradient(ellipse 120% 80% at 100% -20%, rgba(13, 148, 136, 0.07), transparent 50%),
		radial-gradient(ellipse 80% 60% at 0% 100%, rgba(11, 31, 51, 0.04), transparent 45%),
		linear-gradient(180deg, #eef3f7 0%, var(--color-paper) 28%, var(--color-paper) 100%);
	min-height: 100vh;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--color-accent-hover);
}

h1,
h2,
h3,
h4,
.site-title,
.entry-title,
.section-title {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.2;
	color: var(--color-ink);
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: var(--color-muted);
	margin-top: 0.5rem;
}
