/*
Theme Name: Wanderlight
Author: Jessica Winter
Author URI: https://jessicawinterportfolio.com/
Description: A custom WordPress theme to use with my customers.
Version: 1.1.13
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.5
Requires PHP: 7.4
Copyright: Copyright (c) 2025 Jessica Winter. Licensed under GPL v2 or later.
Tags: blog, portfolio, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, one-column, two-columns, translation-ready
Tool kit: https://getbootstrap.com/docs/5.3/getting-started/introduction/
Icons: https://fontawesome.com/icons 
*/

/* Accessibility and WordPress core classes */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    background: #eee;
    color: #444;
    padding: 15px 23px 14px;
    z-index: 100000;
}
.wp-caption {
    background: #f9f9f9;
    border: 1px solid #ddd;
    max-width: 100%;
    padding: 5px 3px 10px 3px;
    text-align: center;
}
.wp-caption-text,
.gallery-caption {
    font-size: 0.9em;
    color: #555;
}
.bypostauthor {
    border-left: 3px solid #7D6B9D;
    padding-left: 10px;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Accessibility: Underline links in content and comments for compliance */
.entry-content a,
.comment-content a,
.page-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Accessibility: Ensure visible focus for all interactive elements */
a:focus, button:focus, input:focus, textarea:focus, select:focus, summary:focus, [tabindex]:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #b3d4fc;
    z-index: 10001;
}

/* Ensure high contrast for focus indicator */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #b3d4fc;
}

/* Ensure no focus is removed for accessibility */
:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}