/*
Theme Name: GeeWizz
Description: Block theme generated by BliqByte WAIDe.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: waide-theme
*/

/* Nav links: color shift + animated underline on hover and current page. */
.wp-block-navigation a { text-decoration: none; transition: color .15s ease; }
.wp-block-navigation a:hover { color: var(--wp--preset--color--primary); }
header .wp-block-navigation .wp-block-navigation-item__content { position: relative; }
header .wp-block-navigation .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.2em; height: 2px;
  background: var(--wp--preset--color--primary);
  transform: scaleX(0); transform-origin: left center; transition: transform .2s ease;
}
header .wp-block-navigation .wp-block-navigation-item__content:hover::after,
header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); }
/* Body links: offset underline that thickens on hover. */
main a:not(.wp-block-button__link) { text-underline-offset: 3px; transition: color .15s ease, text-decoration-thickness .15s ease; }
main a:not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }
/* Sticky header: hairline seam over scrolled content. */
header.wp-block-group { border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent); }
/* Dark bands (*_TINT "contrast"): readable text without per-block colors… */
.has-contrast-background-color :is(h1,h2,h3,h4,p,cite) { color: var(--wp--preset--color--base); }
/* …and light cards nested inside a dark band keep dark text. */
.has-contrast-background-color :is(.has-base-background-color,.has-surface-background-color) :is(h1,h2,h3,h4,p,cite) { color: var(--wp--preset--color--contrast); }
@media (prefers-reduced-motion: reduce) {
  .wp-block-navigation a,
  header .wp-block-navigation .wp-block-navigation-item__content::after,
  main a:not(.wp-block-button__link) { transition: none; }
}
