/*!
Theme Name: QuantumRidgeQuest
Theme URI: https://them.es/starter
Author: BC
Author URI: https://them.es/
Description: 
Version: 3.6.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: quantumridgequest
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	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; /* Above WP toolbar. */
}

/* =============================================================================
   QUANTUM RIDGE QUEST - SYNERGY GLASS UI CORE
   ============================================================================= */

:root {
    /* Neural Dark Palette (Default) */
    --qrq-bg: #050505;
    --qrq-glass: rgba(15, 15, 15, 0.85);
    --qrq-border: rgba(255, 255, 255, 0.1);
    --qrq-text: #f5f5f5;
    --qrq-muted: #888888;
    
    /* Primary Neural Frequency (Cyan) */
    --qrq-primary: #00f2ff;
    --qrq-primary-glow: rgba(0, 242, 255, 0.4);
    
    /* Secondary Action Frequency (Red/Pink) */
    --qrq-accent: #ff0055;
    --qrq-accent-glow: rgba(255, 0, 85, 0.4);

    /* UI Blur Constants */
    --qrq-blur: blur(15px);
    --qrq-radius: 20px;
    --qrq-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Light Mode Neural Overrides */
html[data-theme="light"], body[data-theme="light"] {
    --qrq-bg: #f8f9fa;
    --qrq-glass: rgba(255, 255, 255, 0.9);
    --qrq-border: rgba(0, 0, 0, 0.1);
    --qrq-text: #1a1a1a;
    --qrq-muted: #666666;
    --qrq-primary: #008db3;
    --qrq-primary-glow: rgba(0, 141, 179, 0.2);
    --qrq-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* GLOBAL THEMATIC WRAPPER */
body {
    background-color: var(--qrq-bg);
    color: var(--qrq-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* UNIVERSAL GLASS CLASS */
.qrq-glass {
    background: var(--qrq-glass) !important;
    backdrop-filter: var(--qrq-blur);
    -webkit-backdrop-filter: var(--qrq-blur);
    border: 1px solid var(--qrq-border) !important;
    border-radius: var(--qrq-radius);
    box-shadow: var(--qrq-shadow);
    color: var(--qrq-text) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.qrq-glass:hover {
    transform: translateY(-5px);
    border-color: var(--qrq-primary-glow) !important;
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    color: var(--qrq-text);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.theme-accent-text { color: var(--qrq-primary) !important; }
.theme-muted-text { color: var(--qrq-muted) !important; }

/* NEURAL INPUT FIELDS */
input[type="text"], input[type="search"], input[type="email"], textarea, select {
    background: rgba(0,0,0,0.2) !important;
    border: 1px solid var(--qrq-border) !important;
    border-radius: 8px !important;
    color: var(--qrq-text) !important;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

html[data-theme="light"] input, html[data-theme="light"] textarea {
    background: rgba(0,0,0,0.05) !important;
}

input:focus, textarea:focus {
    outline: none !important;
    border-color: var(--qrq-primary) !important;
    box-shadow: 0 0 10px var(--qrq-primary-glow);
}

/* THEMATIC BUTTONS */
.btn-qrq-primary {
    background: var(--qrq-primary);
    color: #000 !important;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-qrq-primary:hover {
    box-shadow: 0 0 20px var(--qrq-primary-glow);
    transform: scale(1.05);
}

/* MONOSPACE CODE/TELMETRY FONT */
.qrq-mono {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}
