/*
Theme Name: BizHack Premium
Theme URI: https://bizhack.co.ke
Author: BizHack
Author URI: https://bizhack.co.ke
Description: Kenya's premier digital resource for Business, Finance, Agriculture, and Career Growth. A clean, premium block theme inspired by Scribe and Narrate templates. Crafted from scratch for high-intent publishing.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bizhack-premium
Tags: blog, news, education, agriculture, business, grid-layout, wide-blocks, block-patterns, full-site-editing
*/

/* Base CSS resets and enhancements */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--surface);
}

:focus-visible {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 2px;
}

/* Responsive elements */
img {
    max-width: 100%;
    height: auto;
}

/* Header style for stickiness and glassmorphism style */
.bizhack-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--wp--preset--color--base);
    backdrop-filter: blur(10px);
}

/* Premium FAQ block style */
.wp-block-bizhack-faq details {
    border-bottom: 1px solid var(--wp--preset--color--border);
    padding: var(--wp--preset--spacing--x-small) 0;
}

.wp-block-bizhack-faq summary {
    cursor: pointer;
    font-family: var(--wp--preset--font-family--heading);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 600;
    padding: var(--wp--preset--spacing--tiny) 0;
}

.wp-block-bizhack-faq summary:hover {
    color: var(--wp--preset--color--accent);
}

.wp-block-bizhack-faq .faq-answer {
    padding: 0 0 var(--wp--preset--spacing--x-small);
}
