/*
Theme Name: Pito AI
Theme URI: https://pitocms.com
Author: pitocms.com
Description: A clean, modern block theme for an AI news and tips blog.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pito-ai
*/

/* Small touches theme.json can't express. */

/* Images in posts written as plain HTML don't get the core image block styles. */
img,
video {
	max-width: 100%;
	height: auto;
}

figure {
	margin-left: 0;
	margin-right: 0;
}

figcaption {
	margin-top: 0.6em;
	color: #5d6070;
	font-size: 0.875rem;
	text-align: center;
}

.pito-brand-dot {
	display: inline-block;
	width: 0.7em;
	height: 0.7em;
	margin-right: 0.45em;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c5cff, #22d3ee);
	box-shadow: 0 0 14px rgba(124, 92, 255, 0.7);
	vertical-align: 0.02em;
}

.pito-hero {
	background:
		radial-gradient(60% 120% at 85% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
		radial-gradient(50% 100% at 0% 100%, rgba(34, 211, 238, 0.18), transparent 60%),
		#0b0f1a;
}

.pito-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pito-card:hover {
	transform: translateY(-3px);
	border-color: #c9c2ff !important;
	box-shadow: 0 14px 30px -18px rgba(40, 30, 120, 0.45);
}

.pito-card .wp-block-post-title a {
	text-decoration: none;
}

.pito-kicker {
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wp-block-post-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.wp-block-post-content :where(h2, h3) {
	scroll-margin-top: 2rem;
}
