/**
 * BASE STYLES
 * Resets, typography, utilities
 *
 * @package Kaizen_Child_Theme
 * @since 1.0.0
 */

/* =================================
   RESETS
   ================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

/* =================================
   TYPOGRAPHY
   ================================= */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.2;
}

p {
    margin-top: 0;
}

/* =================================
   ACCESSIBILITY
   ================================= */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.skip-link:focus {
    background-color: #fff;
    padding: 15px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100001;
}

/* =================================
   LAYOUT UTILITIES
   ================================= */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* =================================
   STATE UTILITIES
   ================================= */

/* Mobile menu open - prevent body scroll */
body.mobile-menu-open {
    overflow: hidden;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Visible only on specific breakpoints */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}
