/*
Theme Name: VerseFlow
Theme URI: https://example.com/verseflow
Author: Antigravity
Author URI: https://example.com
Description: A custom WordPress theme for VerseFlow, optimized for sub-500ms loads.
Version: 1.0.0
Text Domain: verseflow
*/

/* Accessibility: Skip Link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    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;
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Ticket #VF-028: Logo Integration & Visibility
   ========================================================================== */

.vf-logo-img {
    max-height: 50px;
    /* Adjust to fit navbar */
    width: auto;
    display: block;
    /* THE VISIBILITY FIX: */
    mix-blend-mode: multiply;
    /* Removes the white box from the image, merging it with the mesh */
    transition: opacity 5s ease-in-out;
}

/* Night Mode Conflict Fix: Invert for dark backdrop */
body.atmosphere-night .vf-logo-img {
    filter: invert(1) contrast(90%);
    /* Inverts black text to white for Night Mode */
    mix-blend-mode: screen;
    /* Works like multiply but for light-on-dark */
}

.vf-footer-logo .vf-logo-img {
    max-height: 40px;
}

/* Base Styles */
.guidance-entry {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.guidance-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--grounded-text);
}

.guidance-meta {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guidance-attribute-subhead {
    color: var(--color-muted);
}

.guidance-section {
    margin-bottom: 3rem;
    background: transparent;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.guidance-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--grounded-text);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.guidance-verse blockquote {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--covenant-accent);
    background: var(--vf-surface-strong);
    color: var(--grounded-text);
}

.guidance-verse .verse-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--grounded-text);
    line-height: 1.6;
}

.guidance-verse .verse-reference {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-muted);
    text-align: right;
}

.guidance-switcher button {
    border: 1px solid var(--color-border);
    color: var(--grounded-text);
    background: transparent;
}

.guidance-switcher button.active {
    background: var(--vf-surface);
    border-color: var(--covenant-accent);
}

.guidance-faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.guidance-faq-question {
    font-weight: 600;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-style: italic;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}