/*
Theme Name: Binate Foundation
Description: A clean, minimal WordPress block theme foundation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Author: Your Name
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binatefoundation
Tags: block-theme, full-site-editing, minimal, clean
*/

/*
 * This file is intentionally minimal as styling is handled
 * through theme.json and block styles in a block theme.
 */

/* Link hover opacity and skiplink styles */
a:hover {
	opacity: 0.9 !important;
	transition: opacity 0.3s ease;
    text-decoration: underline;
    offset: 0.2em;
}

/* Ensure link styles work in all contexts */
.wp-site-blocks a:hover,
.wp-block-post-content a:hover,
.wp-block-group a:hover,
.entry-content a:hover,
p a:hover,
li a:hover,
.tag-cloud-link a:hover{
	opacity: 0.6 !important;
	transition: opacity 0.3s ease;
}

/* Dynamic border colors using theme colors */
.wp-block-group {
	border-color: currentColor !important;
	transition: border-color 0.3s ease;
}

/* Specific classes for border styling */
.site-border,
.wp-block-group.site-border,
.wp-block-group.has-border {
	border-color: currentColor !important;
	transition: border-color 0.3s ease;
}

/* Ensure border inherits text color properly */
.wp-block-group.use-text-color-border {
	border-color: currentColor !important;
	transition: border-color 0.3s ease;
}

/* Better text wrapping for headings */
h1, h2, h3, h4, h5, h6 {
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: none;
	word-break: normal;
}

/* Prevent awkward single-word lines */
h2 {
	text-wrap: balance;
	max-width: 100%;
}