/*
Theme Name: Twenty Knots
Theme URI: https://twentyknots.app
Author: Mason Technologies Limited
Description: A calm block theme for Twenty Knots, the iPhone companion to Émile Coué's method of conscious autosuggestion. Includes a home page, an About Coué page pattern, The Method page pattern, and a reading-friendly blog.
Requires at least: 6.5
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: twentyknots
Tags: blog, one-column, full-site-editing, block-patterns, custom-colors, editor-style
*/

/* Most styling lives in theme.json. These are small touches it cannot express. */

.tk-knot-ring {
	display: block;
	margin-inline: auto;
	max-width: 100%;
	height: auto;
}

.tk-formula {
	text-wrap: balance;
}

.tk-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 1.125rem;
}

.wp-block-post-title a,
.wp-block-post-title a:visited {
	text-decoration: none;
}

.wp-block-post-title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.tk-card {
	transition: transform 0.2s ease;
}

.tk-card:hover {
	transform: translateY(-2px);
}

.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

.tk-nav-cta a {
	padding: 0.45rem 1rem;
	border: 1.5px solid currentColor;
	border-radius: 999px;
}

.tk-feature-list {
	list-style: none;
}

.tk-feature-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.6rem;
}

.tk-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
}

.tk-portrait img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	filter: sepia(0.25) contrast(1.02);
	box-shadow: 0 20px 40px -20px rgba(29, 38, 64, 0.45);
}

.tk-portrait figcaption {
	text-align: left;
	max-width: 340px;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
	.tk-card,
	.tk-card:hover {
		transition: none;
		transform: none;
	}
}
