/*!
Theme Name: SEO Theme
Theme URI: https://outsourceseo.co.uk
Author: SEO Services
Author URI: https://outsourceseo.co.uk
Description: A custom block theme inspired by Underscores (_s) for OutsourceRank, an SEO consultancy serving international markets (APAC, Europe, Americas). Built with theme.json, full site editing templates, and reusable patterns. Brand palette: navy #002B5C, accent gold #F5B700, typography Plus Jakarta Sans + Inter. Minimal, fast, and accessible.
Version: 1.0.9
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seo-theme
Tags: block-theme, full-site-editing, custom-colors, custom-menu, custom-logo, editor-style, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/*
 * This file exists for WordPress theme registration metadata only.
 * All styling is defined in theme.json.
 */

/* -----------------------------------------------------------------------------
 * Style variations & layout helpers
 * -------------------------------------------------------------------------- */

/* List style variation: "No bullets" (used in the footer link lists). */
.is-style-no-bullets {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

/* Slightly compact the brand lockup in the header when a logo is present. */
.wp-site-blocks > header .wp-block-site-logo img {
	height: auto;
	border-radius: var(--wp--custom--radius--small);
}

/* Keep focus rings visible and on-brand for keyboard users. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 2px;
}

/* Inline links inside body copy use the brand link colour. */
.wp-block-post-content a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--link);
	text-underline-offset: 3px;
}

/* Improve contrast of the outline button style on dark/gradient covers. */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--secondary);
	border-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--contrast);
}

/* Keep long URLs and code from overflowing on narrow screens. */
.wp-block-post-content :where(p, li, td) {
	overflow-wrap: anywhere;
}

/* Consistency for the FAQ / accordion details markup when used in content. */
.wp-block-post-content details {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	padding: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--20);
	background: var(--wp--preset--color--base);
}

.wp-block-post-content summary {
	cursor: pointer;
	font-weight: 600;
}
