/*
Theme Name: Confido
Theme URI: https://confidotc.co.za
Author: Confido Training Centre
Description: Custom child theme of Twenty Twenty-Five for Confido Training Centre. Brand palette, typography, and patterns for the Confido course-catalog and member-area site.
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: confido
*/

/*
 * Confido — additional styles theme.json cannot express.
 * Keep this file thin; prefer theme.json for anything color/typography/spacing.
 */

:root {
	--confido-shadow-card: 0 12px 28px rgba(8, 43, 74, 0.08);
	--confido-transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Focus ring — orange, matches accent */
*:focus-visible {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: 2px;
}

/* Button transitions theme.json can't add */
.wp-element-button,
.wp-block-button__link {
	transition: background-color var(--confido-transition),
	            transform var(--confido-transition);
}
.wp-element-button:active,
.wp-block-button__link:active {
	transform: translateY(1px);
}

/* Outline button variant (used for secondary CTAs) — applied via class */
.is-style-outline > .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--blue-deep) !important;
	border: 1.5px solid var(--wp--preset--color--border) !important;
}
.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--blue-soft) !important;
	border-color: var(--wp--preset--color--blue) !important;
}

/* Skip-to-content link — accessibility */
.skip-link {
	position: absolute; top: -40px; left: 0;
	background: var(--wp--preset--color--blue-deep);
	color: #fff; padding: 8px 16px;
	z-index: 1000;
	transition: top var(--confido-transition);
}
.skip-link:focus { top: 0; }
