/*
Theme Name: Finance v5
Theme URI: https://coraldesk-blog.local/
Author: coraldesk
Author URI: https://coraldesk-blog.local/
Description: Coral Desk — slate blue-gray finance desk with coral accent. Top story stack homepage. Brand uses the WordPress site title. English UI.
Version: 1.0.0
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_5
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns
*/

/* Design tokens — Coral Desk: slate blue-gray + coral; Sora + Literata */
:root {
	--color-ink: #2a3544;
	--color-ink-soft: #3d4a5c;
	--color-paper: #f4f6f8;
	--color-surface: #ffffff;
	--color-muted: #6b7785;
	--color-accent: #e85d4c;
	--color-accent-hover: #d14a3a;
	--color-up: #2f9e7a;
	--color-down: #c94444;
	--color-line: #d5dce0;
	--color-slate: #5a6b7c;
	--color-coral-soft: rgba(232, 93, 76, 0.12);
	--font-display: "Literata", Georgia, "Times New Roman", serif;
	--font-body: "Sora", system-ui, sans-serif;
	--max-width: 1180px;
	--content-width: 68ch;
	--header-height: 4.25rem;
	--radius: 999px;
	--shadow-soft: 0 10px 32px rgba(42, 53, 68, 0.08);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	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 100% 70% at 100% -10%, rgba(232, 93, 76, 0.08), transparent 48%),
		radial-gradient(ellipse 70% 50% at 0% 100%, rgba(90, 107, 124, 0.07), transparent 42%),
		linear-gradient(180deg, #e8ecf0 0%, var(--color-paper) 30%, 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;
}
