/*
Theme Name: Vantage
Theme URI: https://tenfoldthemes.example/vantage
Author: Tenfold Themes
Author URI: https://tenfoldthemes.example
Description: An annual-report classic for fiduciary wealth managers and financial advisors — evergreen and champagne on pure white, giant serif numerals, hairline charts and a full set of ledger-styled patterns. Ships local Besley + Manrope fonts, a dark "After Hours" variation and 17 block patterns.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vantage
Tags: block-theme, full-site-editing, block-patterns, block-styles, custom-colors, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks, one-column, business, portfolio
*/

/* Vantage ships nearly all styling through theme.json. The rules below back the
   registered block styles (functions.php) and a few niche refinements. */

/* --- Card: hairline-bordered plate, sharp 2px corners --- */
.wp-block-group.is-style-card {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--m);
	padding: var(--wp--preset--spacing--40);
}

.wp-block-group.is-style-card-hover {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--m);
	padding: var(--wp--preset--spacing--40);
	transition: var(--wp--custom--transition);
}

.wp-block-group.is-style-card-hover:hover {
	border-color: var(--wp--preset--color--primary);
	box-shadow: var(--wp--preset--shadow--lift);
	transform: translateY(-3px);
}

/* --- Ledger plate: top champagne rule, used for stat plates --- */
.wp-block-group.is-style-ledger {
	border-top: 2px solid var(--wp--preset--color--accent);
	padding-top: var(--wp--preset--spacing--20);
}

/* --- Double-rule divider: the signature annual-report separator --- */
.wp-block-separator.is-style-double-rule {
	border: none;
	height: 6px;
	max-width: 100%;
	opacity: 1;
	background: none;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	padding: 0;
}
.wp-block-separator.is-style-double-rule:not(.is-style-wide):not(.alignwide):not(.alignfull) {
	width: 100%;
}

/* --- Hairline champagne rule --- */
.wp-block-separator.is-style-hairline {
	border: none;
	border-top: 1px solid var(--wp--preset--color--accent);
	height: 0;
	opacity: 1;
	background: none;
}

/* --- Footnote list: small type, hanging champagne markers --- */
.wp-block-list.is-style-footnotes {
	list-style: none;
	padding-left: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
	line-height: 1.7;
}
.wp-block-list.is-style-footnotes li {
	padding-left: 1.6em;
	text-indent: -1.6em;
	margin-bottom: 0.5em;
}
.wp-block-list.is-style-footnotes li::before {
	content: "†\00a0";
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}

/* --- Checkmark list: champagne ticks for benefit lists --- */
.wp-block-list.is-style-checks {
	list-style: none;
	padding-left: 0;
}
.wp-block-list.is-style-checks li {
	position: relative;
	padding-left: 1.7em;
	margin-bottom: 0.65em;
}
.wp-block-list.is-style-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.72em;
	height: 0.4em;
	border-left: 2px solid var(--wp--preset--color--primary);
	border-bottom: 2px solid var(--wp--preset--color--primary);
	transform: rotate(-45deg);
}

/* Keep table header rules quiet and ledger-like. */
.wp-block-table table {
	border-collapse: collapse;
}
.wp-block-table thead {
	border-bottom: 2px solid var(--wp--preset--color--contrast);
}
.wp-block-table td,
.wp-block-table th {
	border-color: var(--wp--preset--color--border);
}
