/*
Theme Name: Todd Sinclair Ink
Theme URI: https://toddsinclair.info
Author: Todd Sinclair
Author URI: https://toddsinclair.info
Description: A clean, print-inspired portfolio theme. Paper-toned background, ink-colored text, Libre Caslon Display headings, and Public Sans body text, with ready-made patterns for the home page, the Documentation and Learning Design pages, and individual samples.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: todd-sinclair-ink
Tags: one-column, block-patterns, full-site-editing, custom-colors, editor-style, portfolio
*/

/* Small refinements that theme.json can't express. */

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

h1, h2, h3 {
	text-wrap: balance;
}

/* Sample cards: the title is the link, set in ink rather than the accent color. */
.ts-card-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.ts-card-title a:hover,
.ts-card-title a:focus {
	text-decoration: underline;
}

/* Testimonial attribution under each quote. */
.wp-block-quote cite {
	display: block;
	margin-top: 16px;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

/* Let the portrait sit on the paper background without a box. */
.ts-portrait img {
	display: block;
	width: 100%;
	max-width: 480px;
	height: auto;
	margin-inline: auto;
}

/* Mobile menu overlay uses the paper background instead of white. */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

/* Full testimonials: body face, comfortable reading size. */
.wp-block-quote.ts-testimonial {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
}

.wp-block-quote.ts-testimonial cite strong {
	color: var(--wp--preset--color--ink);
}

/* Line quotes up with the text around them instead of the browser's default indent. */
.wp-block-quote {
	margin-inline: 0;
}
