/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Description: BlankSlate modified for the Strayfox Vault. Minimalist, brutalist, zero-bloat architecture.
Tags: one-column, two-columns, custom-menu
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
Text Domain: blankslate
*/

/* ==========================================================================
   1. BLANKSLATE RESET
   ========================================================================== */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{appearance:none;border-radius:0}input[type="search"]{appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.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!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* ==========================================================================
   2. STRAYFOX VAULT ARCHITECTURE
   ========================================================================== */
body {
    background-color: #000000;
    color: #666666; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #888888;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

h1, h2, h3 {
    color: #ffffff;
    font-weight: 300;
}

/* Base Flexbox Layout */
#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Mobile Header - Absolute positioning so it scrolls up into the void */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1.5rem;
    text-align: center;
    z-index: 10;
    background: transparent;
}

.site-title {
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

.site-title a {
    color: #ffffff;
}

/* Clean Menu Stack */
#menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#menu li.current-menu-item a {
    color: #ffffff;
    border-bottom: 1px solid #333333;
    padding-bottom: 4px;
}

/* Main Content Container */
#container {
    flex: 1;
    padding: 0; /* Stripped padding so images can hit the edges */
}

/* Hide Default WordPress Noise */
#footer, .post-meta, .comments-area, .page-title {
    display: none !important;
}

/* ==========================================================================
   3. THE MASONRY GRID (Gutenberg Override)
   ========================================================================== */
.strayfox-vault {
    column-count: 1;
    column-gap: 2rem;
    width: 100%;
}

/* This targets the WordPress <figure> blocks instead of just raw images */
.strayfox-vault > * {
    break-inside: avoid;
    margin-bottom: 2rem;
    display: inline-block; /* Forces the blocks to respect the column architecture */
    width: 100%;
}

.strayfox-vault img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.4s ease;
    border: 1px solid #1a1a1a; 
    padding: 2px;
    background-color: #050505;
}

.strayfox-vault img:hover {
    opacity: 1;
    border-color: #333333;
    cursor: crosshair;
}
center;
    justify-content: center;
    scroll-snap-align: center; 
    scroll-snap-stop: always; 
}

/* The Asset: Maximum impact, unvarnished */
.strayfox-vault img {
    max-width: 100%;
    max-height: 90vh; /* 5% black void above and below */
    width: auto;
    height: auto;
    object-fit: contain; 
    border: none;
}

/* ==========================================================================
   4. DESKTOP PIVOT (Fixed Sidebar + Fluid Canvas)
   ========================================================================== */
@media (min-width: 768px) {
    #wrapper {
        flex-direction: row;
    }

    /* On Desktop, the header locks back into a fixed left-hand sidebar */
    #header {
        position: fixed;
        width: 250px;
        height: 100vh;
        text-align: left;
        padding: 5rem 3rem;
        background-color: #000000; /* Solid ground to prevent overlap bleeding */
    }

    #menu ul {
        align-items: flex-start;
    }

    #container {
        margin-left: 250px; /* Offset by header width */
        width: calc(100% - 250px);
    }
}
