/* Shared canvas and typography, scoped to this theme's front end. */
body.raaj-treats-theme {
	background: var(--rt-cream);
	color: var(--rt-chocolate);
	font-family: var(--rt-sans);
	font-size: var(--rt-font-body);
	font-optical-sizing: auto;
	line-height: var(--rt-line-body);
}

body.raaj-treats-theme #wrapper {
	background: var(--rt-cream);
}

body.raaj-treats-theme :where(.rt-container, .rt-container *, .rt-surface, .rt-surface *) {
	box-sizing: border-box;
}

body.raaj-treats-theme :where(h1, h2, h3, h4, h5, h6) {
	color: var(--rt-chocolate);
	font-family: var(--rt-serif);
	font-weight: 700;
	line-height: var(--rt-line-heading);
	text-wrap: balance;
	overflow-wrap: break-word;
}

body.raaj-treats-theme :where(.entry-content, .rt-content) h1 {
	font-size: var(--rt-font-h1);
}

body.raaj-treats-theme :where(.entry-content, .rt-content) h2 {
	font-size: var(--rt-font-h2);
}

body.raaj-treats-theme :where(.entry-content, .rt-content) h3 {
	font-size: var(--rt-font-h3);
}

body.raaj-treats-theme :where(p, li, dd, address) {
	overflow-wrap: break-word;
}

body.raaj-treats-theme :where(.entry-content, .rt-content) :where(p, ul, ol, blockquote) {
	margin-block: 0 var(--rt-space-6);
}

body.raaj-treats-theme :where(.entry-content, .rt-content) :where(h1, h2, h3, h4) {
	margin-block: var(--rt-space-8) var(--rt-space-4);
}

body.raaj-treats-theme :where(.entry-content, .rt-content) > :first-child {
	margin-block-start: 0;
}

body.raaj-treats-theme :where(.entry-content, .rt-content) :where(a:not(.button, .wp-element-button, .wp-block-button__link, .rt-button)) {
	color: var(--rt-chocolate);
	text-decoration: underline;
	text-decoration-color: var(--rt-pink);
	text-underline-offset: .2em;
}

body.raaj-treats-theme :where(.entry-content, .rt-content) :where(a:not(.button, .wp-element-button, .wp-block-button__link, .rt-button)):hover {
	text-decoration-thickness: 2px;
}

body.raaj-treats-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--rt-chocolate);
	outline-offset: 3px;
}

body.raaj-treats-theme img {
	max-width: 100%;
	height: auto;
}

body.raaj-treats-theme :where(.entry-content, .rt-content) :where(video, iframe) {
	max-width: 100%;
}

body.raaj-treats-theme .rt-container {
	width: min(calc(100% - 2 * var(--rt-gutter)), var(--rt-container));
	margin-inline: auto;
}

body.raaj-treats-theme .rt-section {
	padding-block: var(--rt-section-space);
}

body.raaj-treats-theme .rt-reading {
	max-width: var(--rt-reading-width);
}

body.raaj-treats-theme .rt-stack > * + * {
	margin-block-start: var(--rt-space-6);
}

body.raaj-treats-theme .rt-text-soft {
	color: var(--rt-text-soft);
}

body.raaj-treats-theme .rt-eyebrow {
	color: var(--rt-chocolate);
	font: 700 var(--rt-font-small)/1.4 var(--rt-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.raaj-treats-theme .rt-visually-hidden:not(:focus):not(:active) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

body.raaj-treats-theme .skip-link:focus {
	background: var(--rt-chocolate);
	color: var(--rt-white);
	padding: var(--rt-space-4) var(--rt-space-6);
	border-radius: var(--rt-radius-control);
	z-index: 100000;
}

@media (prefers-reduced-motion: reduce) {
	body.raaj-treats-theme :where(.rt-button, .rt-surface, .rt-card, .rt-card *) {
		transition: none;
		animation: none;
		scroll-behavior: auto;
	}
}
