/**
 * Theme B base styles — typography defaults and buttons.
 * Tokens from Figma WCAHP Responsive Theme B → Colors / Fonts.
 */

/* -------------------------------------------------------------------------
   Typography defaults (reinforce theme.json presets)
   ------------------------------------------------------------------------- */

body {
	color: var(--wp--preset--color--body, #000);
	font-family: var(--wp--preset--font-family--body, "proxima-nova", Arial, sans-serif);
	font-size: var(--wp--preset--font-size--body, 18px);
	font-weight: 400;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
	color: var(--wp--preset--color--body, #000);
	font-family: var(--wp--preset--font-family--headings, "Source Serif Pro", Georgia, serif);
	font-weight: 200;
	line-height: 1;
}

h1,
h1.wp-block-heading {
	font-size: var(--wp--preset--font-size--h-1, 110px);
}

h2,
h2.wp-block-heading {
	font-size: var(--wp--preset--font-size--h-2, 100px);
}

h3,
h3.wp-block-heading {
	font-size: var(--wp--preset--font-size--h-3, 60px);
}

h4,
h4.wp-block-heading {
	font-size: var(--wp--preset--font-size--h-4, 45px);
	text-transform: uppercase;
}

h5,
h5.wp-block-heading {
	font-size: var(--wp--preset--font-size--h-5, 40px);
}

h6,
h6.wp-block-heading {
	font-size: var(--wp--preset--font-size--h-6, 25px);
}

strong,
b {
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.wp-block-button__link {
	background-color: var(--wp--preset--color--primary, #ce1226);
	border: 0;
	border-radius: 5px;
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--body, "proxima-nova", Arial, sans-serif);
	font-size: var(--wp--preset--font-size--button, 20px);
	font-weight: 700;
	line-height: 1;
	padding: 10px 17px;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--secondary-dark, #d8aa44);
	color: var(--wp--preset--color--gray-dark, #303030);
}

.wp-block-button.is-style-wca-large .wp-block-button__link {
	font-size: var(--wp--preset--font-size--button-large, 36px);
	padding: 13px 30px;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   Elements sample page helpers
   ------------------------------------------------------------------------- */

.wca-elements-sample .wca-elements-sample__label {
	color: var(--wp--preset--color--primary, #ce1226);
	font-family: var(--wp--preset--font-family--body, "proxima-nova", Arial, sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 32px 0 12px;
	text-transform: uppercase;
}

.wca-elements-sample .wca-elements-sample__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
}

.wca-elements-sample .wca-elements-sample__swatch {
	align-items: flex-end;
	border: 1px solid var(--wp--preset--color--gray, #dedede);
	box-sizing: border-box;
	display: flex;
	height: 96px;
	padding: 10px;
	width: 96px;
}

.wca-elements-sample .wca-elements-sample__swatch span {
	color: var(--wp--preset--color--white, #fff);
	font-size: 11px;
	line-height: 1.2;
	mix-blend-mode: difference;
}
