/*
Theme Name: Native Space
Theme URI: https://nativespace.com.au/
Author: Silicon Stack
Description: Native Space — WordPress theme replicating the production Joomla/YOOtheme (UIkit 3) build pixel-for-pixel. Migrated from Joomla 6.1.3.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nativespace
*/

/* Presentation is delivered by the compiled production stylesheets enqueued in
   functions.php (assets/css/yootheme.css + custom.css). This file carries only
   WordPress-specific corrections that the Joomla build never needed. */

/* --- WordPress admin bar must not cover the fixed/overlay header --- */
body.admin-bar-showing .tm-header-overlay,
body.admin-bar-showing .uk-sticky-fixed {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar-showing .tm-header-overlay,
    body.admin-bar-showing .uk-sticky-fixed {
        top: 46px;
    }
}

/* --- Core block / editor output normalised to UIkit expectations --- */
.wp-block-image figcaption {
    font-size: 0.875rem;
    color: #71867c;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100000;
    display: block;
    padding: 0.75rem 1.25rem;
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    background-color: #fff;
    color: #222423;
    font-weight: 600;
}
