/*
Theme Name: AcrossWP Child Theme
Theme URI: https://acrosswp.com/
Author: AcrossWP
Author URI: https://acrosswp.com/
Description: AI-friendly WordPress blog. Answer-first article structure, quotable step blocks, cited sources and FAQ patterns. Child of Twenty Twenty-Five.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: acrosswp-child-theme
Tags: blog, news, block-patterns, full-site-editing
*/

@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Figtree:wght@400;500;600;700&display=swap");

/* theme.json carries the design tokens. Only what theme.json cannot express lives here. */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(251, 250, 247, 0.92);
	backdrop-filter: blur(10px);
}

/* Buttons on dark or accent fills always read white; the parent theme's
   button element styles otherwise win over the colour class. */
.wp-block-button__link.has-contrast-background-color,
.wp-block-button__link.has-accent-1-background-color,
.wp-block-button__link.has-accent-2-background-color {
	color: #FFFFFF !important;
}

.wp-block-button__link.has-contrast-background-color:hover,
.wp-block-button__link.has-accent-1-background-color:hover,
.wp-block-button__link.has-accent-2-background-color:hover {
	color: #FFFFFF !important;
	opacity: 0.9;
}

.acwp-answer ol,
.acwp-answer ul { margin: 0; padding-left: 1.25em; }
.acwp-answer li + li { margin-top: 10px; }

.acwp-steps { counter-reset: acwp-step; }
.acwp-step { counter-increment: acwp-step; }
.acwp-step > h3::before {
	content: "Step " counter(acwp-step);
	display: block;
	font-family: Figtree, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7C3AED;
	margin-bottom: 6px;
}

.acwp-meta > * { margin: 0 !important; }
.acwp-footer-list { list-style: none; }

@media (max-width: 781px) {
	.wp-site-blocks > header.wp-block-template-part { position: static; }
}
