/*
Theme Name: Drake Pest
Theme URI: https://github.com/WordPress/drakepest
Author: Drake Pest
Author URI: https://www.drakepest.com/
Description: A new Gutenberg-ready theme.
Requires at least: WordPress 4.9.6
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: drakepest
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Drake Pest is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Variables
# Normalize
# Typography
	## Headings
	## Copy
# Elements
	## Lists
	## Tables
# Forms
	## Buttons
	## Fields
# Navigation
	## Links
	## Menus
	## Next & Previous
# Accessibility
# Alignments
# Clearings
# Layout
# Widgets
# Content
	## Archives
	## Posts and pages
	## Comments
# Blocks
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*
 * Chrome renders extra-wide &nbsp; characters for the Hoefler Text font.
 * This results in a jumping cursor when typing in both the Classic and block
 * editors. The following font-face override fixes the issue by manually inserting
 * a custom font that includes just a Hoefler Text space replacement for that
 * character instead.
 */

 /* --------------------------------------------------------------
   Screen Reader Text (Visually Hidden but Accessible)
-------------------------------------------------------------- */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
	display: none !important;
}

/* Show hidden text when focused (keyboard) */
.screen-reader-text:focus,
.screen-reader-text:active {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    clip: auto !important;
    clip-path: none !important;
    background: #000;
    color: #fff;
    z-index: 100000;
    border-radius: 4px;
    outline: 2px solid #fff;
    outline-offset: 3px;
}


/* --------------------------------------------------------------
   Skip Link
   Hidden visually but shown when using keyboard navigation
-------------------------------------------------------------- */
.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-120%);
    background: #000;
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Show skip link when focused via keyboard */
.skip-link:focus,
.skip-link:active,
.skip-link:focus-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    outline: 3px solid #fff;
    outline-offset: 3px;
}
