/*!
Theme Name: LWOS Gaming
Theme URI: https://lastwordongaming.com/
Author: LWOS Development Team
Author URI: https://lwosinc.com/
Description: Dark gaming-themed site for Last Word on Gaming - Your source for video game news, reviews, and culture.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lwos-gaming
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, dark-theme, gaming

This theme is based on the LWOS Games theme, customized for gaming news.

=== LWOS Gaming Dark Blue Color Palette ===
--lwos-blue-darkest: #0a0f1a;    /* Main background */
--lwos-blue-dark: #111827;       /* Secondary background (gray-900) */
--lwos-blue-medium: #1f2937;     /* Cards, panels (gray-800) */
--lwos-blue-base: #3b82f6;       /* Headers, emphasis (blue-500) */
--lwos-blue-bright: #60a5fa;     /* Primary accent (blue-400) */
--lwos-blue-light: #93c5fd;      /* Hover states (blue-300) */
--lwos-cyan-accent: #22d3d8;     /* Gaming accent (cyan-400) */
--lwos-green-accent: #10b981;    /* Success states (emerald-500) */
*/

/*--------------------------------------------------------------
# Generic - Normalize & Box Sizing
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
	width: 100%;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Base Typography & Elements
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #e5e7eb;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

body {
	background: #0a0f1a;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: #f9fafb;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #1f2937;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	border-radius: 0.5rem;
}

code, kbd, tt, var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fef08a;
	text-decoration: none;
}

big {
	font-size: 125%;
}

hr {
	background-color: #374151;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed, iframe, object {
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
	color: #60a5fa;
}

a:visited {
	color: #3b82f6;
}

a:hover,
a:focus,
a:active {
	color: #93c5fd;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #3b82f6;
	border-radius: 0.375rem;
	background: #3b82f6;
	color: white;
	line-height: 1;
	padding: 0.75em 1.25em;
	cursor: pointer;
	transition: all 0.2s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #2563eb;
	border-color: #2563eb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #e5e7eb;
	background-color: #1f2937;
	border: 1px solid #374151;
	border-radius: 0.375rem;
	padding: 0.5rem 0.75rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	border-color: #60a5fa;
	outline: none;
}

select {
	border: 1px solid #374151;
	background-color: #1f2937;
	color: #e5e7eb;
	padding: 0.5rem;
	border-radius: 0.375rem;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background: #1f2937;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-block;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.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;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Gaming Theme Specific Styles
--------------------------------------------------------------*/

/* Gaming card styling */
.game-card {
	background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
	border: 1px solid #374151;
	border-radius: 1rem;
	overflow: hidden;
	transition: all 0.3s ease;
}

.game-card:hover {
	border-color: #60a5fa;
	box-shadow: 0 0 30px rgba(96, 165, 250, 0.2);
	transform: translateY(-4px);
}

/* Gaming button styles */
.btn-gaming {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: white;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

.btn-gaming:hover {
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
	box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

.btn-gaming-outline {
	background: transparent;
	color: #60a5fa;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	border: 2px solid #3b82f6;
	transition: all 0.2s ease;
	cursor: pointer;
}

.btn-gaming-outline:hover {
	background: #3b82f6;
	color: white;
}

/*--------------------------------------------------------------
# Content Styling for Post Content
--------------------------------------------------------------*/
.content-styled {
	color: #e5e7eb;
	line-height: 1.75;
	font-size: 1.125rem;
}

.content-styled > * {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.content-styled > :first-child {
	margin-top: 0;
}

.content-styled > :last-child {
	margin-bottom: 0;
}

.content-styled h1 {
	font-size: 2.25rem;
	font-weight: 800;
	color: #f9fafb;
	line-height: 1.1;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.content-styled h2 {
	font-size: 1.875rem;
	font-weight: 700;
	color: #f9fafb;
	line-height: 1.2;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.content-styled h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #f9fafb;
	line-height: 1.3;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.content-styled h4, .content-styled h5, .content-styled h6 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #f9fafb;
	line-height: 1.4;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

.content-styled p {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}

.content-styled ol,
.content-styled ul {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
	padding-left: 1.5rem;
}

.content-styled ul {
	list-style-type: disc;
}

.content-styled ol {
	list-style-type: decimal;
}

.content-styled li {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.content-styled blockquote {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border-left: 4px solid #3b82f6;
	font-style: italic;
	color: #93c5fd;
	background-color: #1f2937;
	border-radius: 0.5rem;
}

.content-styled blockquote p {
	margin-top: 0;
	margin-bottom: 0;
}

.content-styled code {
	background-color: #1f2937;
	padding: 0.25rem 0.5rem;
	border-radius: 0.375rem;
	font-family: 'Courier New', monospace;
	font-size: 0.875rem;
	color: #22d3d8;
}

.content-styled pre {
	background-color: #111827;
	color: #e5e7eb;
	padding: 1.5rem;
	border-radius: 0.5rem;
	overflow-x: auto;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid #374151;
}

.content-styled pre code {
	background-color: transparent;
	padding: 0;
	color: inherit;
}

.content-styled img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.content-styled figure {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.content-styled figcaption {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: #9ca3af;
	text-align: center;
	font-style: italic;
}

.content-styled table {
	width: 100%;
	margin-top: 2rem;
	margin-bottom: 2rem;
	border-collapse: collapse;
}

.content-styled thead {
	border-bottom: 1px solid #374151;
}

.content-styled th {
	padding: 0.75rem;
	text-align: left;
	font-weight: 600;
	color: #f9fafb;
	background-color: #1f2937;
}

.content-styled td {
	padding: 0.75rem;
	border-bottom: 1px solid #374151;
}

.content-styled tbody tr:hover {
	background-color: #1f2937;
}

.content-styled hr {
	margin-top: 3rem;
	margin-bottom: 3rem;
	border: 0;
	border-top: 1px solid #374151;
}

.content-styled a {
	color: #60a5fa;
	text-decoration: underline;
}

.content-styled a:hover {
	color: #93c5fd;
	text-decoration: none;
}

.content-styled strong {
	font-weight: 600;
	color: #f9fafb;
}

@media (max-width: 768px) {
	.content-styled {
		font-size: 1rem;
	}
	
	.content-styled h1 {
		font-size: 1.875rem;
	}
	
	.content-styled h2 {
		font-size: 1.5rem;
	}
	
	.content-styled h3 {
		font-size: 1.25rem;
	}
}

/*--------------------------------------------------------------
# Mobile Navigation Drilldown
--------------------------------------------------------------*/
#site-navigation {
	position: relative;
	overflow-x: hidden;
	min-height: 0;
	height: auto;
	transition: height 0.3s ease-in-out;
}

#site-navigation ul {
	display: block !important;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: transform 0.3s ease-in-out;
	background-color: #111827;
	list-style: none;
	margin: 0;
	padding: 0;
}

#site-navigation ul.sub-menu {
	transform: translateX(100%);
}

#site-navigation ul.is-active {
	transform: translateX(0);
	position: relative;
}

#site-navigation ul.is-hidden-left {
	transform: translateX(-100%);
}

#site-navigation a,
#site-navigation a:visited {
	color: white !important;
	display: block;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid rgba(59, 130, 246, 0.3);
	text-transform: uppercase;
	font-weight: 500;
}

#site-navigation li:last-child > a {
	border-bottom: none;
}

#site-navigation .menu-item-has-children > a {
	position: relative;
}

#site-navigation .menu-item-has-children > a .forward-caret {
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 0.5);
}

#site-navigation .menu-back-button a {
	font-weight: bold;
	color: #60a5fa !important;
	background-color: rgba(59, 130, 246, 0.2);
	text-transform: uppercase;
}

#site-navigation .menu-back-button a::before {
	content: '‹';
	margin-right: 0.5rem;
	font-weight: bold;
}

[x-cloak] {
	display: none !important;
}
