/*
 Theme Name:   PowerCoffee (The Coffee Commander)
 Theme URI:    https://coffeecommander.net/
 Description:  Extensively Edited & Optimized for high-speed research. No BS, no tracking.
 Author:       Forge77 (Original bones by Organiksoft)
 Author URI:   https://coffeecommander.net/
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  forge77-custom
*/ 

/*-------------------------------------------------------------- 
                   GENERAL STRUCTURE
----------------------------------------------------------------*/

body {
	font-size: 14px;
	line-height: 1.5; /* Modernized to 1.5 for better typography standards */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#wrapper {
    display: block;
    width: 1040px; 
    margin: 2em auto;
    background: #000000; /* Transparent remains as the 'border' color */
    box-shadow: 0 0 50px rgba(0,0,0,0.5); /* Adds depth so it sits ON the background */
    border-radius: 4px;
    overflow: hidden;
} /* FIXED: Added missing closing bracket */
	
#container {
	margin-top: 40px;
	margin-bottom: 10px;
	margin-left: 0;
	/* Removed float and explicit width to prevent clashing with Flexbox override */
}

#content {
    background-color: #111111; /* Grey for the body text area */
    padding: 40px;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05); /* Subtle inner shadow for 'paper' feel */
    min-height: 1000px;
    /* Removed legacy margins and rigid widths that conflicted with Fluid Override */
}

#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
                GLOBAL STYLES
-------------------------------------------------------------- */

em {	
	font-style: italic;
}

strong {
	font-weight: 600;
} /* FIXED: Added missing closing bracket */

.right {
	float: right;
}

.left {
	float: left;
}

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

ol {
	list-style-type: none;
}

dt {
	font-weight: bold;
	margin-top: 10px;
}

li {
	margin-bottom: 1px;
}

ol li {
	list-style-type: decimal;
}

ol li ol li {
	list-style-type: lower-alpha;
}

ol li ol li ol li {
	list-style-type: lower-roman;
}

ul li {
	list-style-type: disc;
}

ul li ul li {
	list-style-type: circle;
}

ul li ul li ul li {
	list-style-type: square;
}

small {
	font-size: .8em;
}

abbr {
	cursor: help;
	letter-spacing: .01em;
	text-decoration: none;
}

a abbr {
	text-decoration: none;
	border-bottom: none;
}

blockquote {
	min-height: 60px;
	margin: 0;
	padding: 5px 0 0 63px;
}

blockquote cite {
	display: block;
	padding-bottom: 15px;
	font-size: .86em;
	font-style: normal;
}

q {
    font-style: italic;
}

q:before, q:after {
    content: "";
}

ins {
	padding: 0 2px;
	text-decoration: none;
}

pre,
code,
tt,
kbd,
var {
	font-size: 1.05em;
}

pre {
	overflow: auto;
	white-space: pre;
	padding: 3px 5px 12px;
	line-height: 20px;
	word-wrap: break-word;
	background: #fff;
	text-decoration: none;
}

address {
	font-style: normal;
}

form {
	margin: 20px 0;
	padding: 0;
}

fieldset {
	margin: 5px;
	padding: 10px;
	border: none;
}

fieldset fieldset { 
	margin-top: 15px;
}

legend {
	margin: 0 0 0 -10px;
	padding: 2px 5px;
}

input, textarea, select {
	padding: 1px 2px;
	font-size: 1em;
	max-width: 100%;
}

p {
	line-height: 1.3em;
	margin-top: 1em;
	margin-right: 0;
	margin-bottom: 1em;
	margin-left: 0;
}

a:link {
	color: #990033;
	text-decoration: underline;
}

a:visited {
	color: #4F001A;
	text-decoration: underline;
}

a:hover,
a:focus {
	color: #7A1222;
}

table {
	border-bottom: 1px solid #990000;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
	display: block;      /* Responsive modernization */
	overflow-x: auto;    /* Prevents table blowout on small monitors */
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #990000;
	padding: 6px 10px 6px 0;
}

del {
	color: #990000;
}

ins {
	background: #fff;
	text-decoration: none;
}

/*-------------------------------------------------------------- 
         HEADER REFINEMENT & SPLIT-ANCHOR FORCE POSITION
--------------------------------------------------------------*/

#header-image {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 200px;
	position: relative !important; /* REQUIRED: Keeps absolute children safely inside this box */
}

/* Red title locked in the top dark box zone */
#site-header #site-title {
	position: absolute !important;
	top: 1px !important;    
	left: 360px !important;  /* CHANGED: Pulled left from 400px to center it perfectly over the keys */
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.1 !important;
	z-index: 10 !important;
}

#site-header #site-title a {
	color: #FF1A1A !important; /* CHANGED: Swapped to a brighter neon crimson base */
	
	text-shadow: 
		-1px -1px 0 rgba(0,0,0,0.9),  
		 1px -1px 0 rgba(0,0,0,0.9),
		-1px  1px 0 rgba(0,0,0,0.9),
		 1px  1px 0 rgba(0,0,0,0.9),
		 3px  3px 6px rgba(0,0,0,0.95) !important; 
		 
	text-decoration: none !important;
	font-family: 'Jacques Francois Shadow', serif !important; 
	font-weight: 400 !important; 
	font-size: 0.85em !important; 
	text-transform: uppercase !important;
	letter-spacing: 1px !important; 
	display: inline-block !important;
	
	/* THE KICKER: Forces the rendering engine to over-saturate the red channel */
	filter: brightness(1.2) contrast(1.1) !important; 

	background: none !important;
	-webkit-background-clip: initial !important;
	-webkit-text-fill-color: initial !important;
}


/* White description text explicitly forced down to the bottom edge */
#site-header #site-description {
	position: absolute !important;
	bottom: 15px !important;  /* CHANGED: Swapped top for bottom to pin it to the floor */
	left: 440px !important;    /* Keeps left alignment perfectly uniform with title */
	color: #dddddd !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
	font-family: Arial, sans-serif !important;
	font-size: 1.0em !important;
	font-weight: bold !important;
	margin: 0 !important; 
	padding-left: 0 !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	z-index: 10 !important;
}
/* ------------------------------------------
           HEADER MENU
--------------------------------------------*/

#holder {
	clear: both;
	display: block;
	float: left;
	width: 100%;
    background-color: #871107;
	border-top-width: thin;
	border-bottom-width: thin;
	border-top-style: ridge;
	border-bottom-style: ridge;
	border-top-color: #333;
	border-bottom-color: #333;
}

#navmenu ul {
	list-style: none;
	margin: 0;
	padding-left: 5px;
}

#navmenu li {
    list-style-type: none;
	float: left;
	position: relative;
}
	
#navmenu a {
	display: block;
	text-decoration: none;  
	padding: 4px 20px 4px 20px; 
	color: #CC3333;
}

#navmenu ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 1.6em;
	left: 0;
	z-index: 99999;
}

#navmenu ul ul ul {
	left: 100%;
	top: 0;
}

#navmenu ul ul a {
	width: 200px;
}

#navmenu ul ul li {
	background-color: #871107;
	list-style: none;
}

#navmenu ul :hover > a {
	color: #E9DAB9;
}

#navmenu ul ul :hover > a {
	color: #E9DAB9;
}

#navmenu ul li:hover > ul {
	display: block;
}

/* -------------------------------------------------------------- 
                  MAIN CONTENT
-----------------------------------------------------------------*/

.entry-header a:link,
.entry-header a:visited {
	text-decoration: none;
}

.entry-header a:hover,
.entry-header a:focus {
	text-decoration: underline;
}

.entry-title {
	font-size: 2em;
	font-weight: 100;
	text-transform: uppercase;
	margin-top: 0px;
	line-height: 1.3em;
	word-wrap: break-word;
	color: #990033;
	margin-left: 0px;
}

.name-date {
	font-size: 0.8em;
	text-transform: uppercase;
	margin-top: 1.5em;
}

.entry-meta {
	clear: both;
	display: block;
	margin-top: 10px;
	margin-bottom: 30px;
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #990000;
}

.entery-date {
	font-size: 0.8em;
	margin-top: 1.5em;
}

.single-thumb {
	margin: 0 0 1em 0;
}

.single-thumb img {
	max-width: 100%;
	height: auto;
}

.entry-content p {
	line-height: 1.8em;
	margin-bottom: 2em;
    word-wrap: break-word;
}

.entry-content li {
	font-size: 0.9em;
	margin: 0 0 1em 2em;
	line-height: 1.3em;
}

.entry-content ul {
	list-style-type: square;
	margin-bottom: 2em;
}

.entry-content ol {
	list-style-type: decimal;
	margin-bottom: 2em;
}

.single-author .entry-meta .byline {
	display: none;
}

#content nav {
	display: block;
	overflow: hidden;
}

#content nav .nav-previous {
	float: left;
	width: 50%;
}

#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

#content #nav-above {
	display: none;
}

.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}

#nav-below {
	margin: 1em 0 0;
}

.page-link {
	clear: both;
	margin: 0 0 1em;
}

.page .edit-link {
	clear: both;
	display: block;
}

.index-title {
	font-size: 2em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 20px 0;
	line-height: 1.3em;
	word-wrap: break-word;
}

.index-title a {
	text-decoration: none;
}

.index-title a:hover,
.index-title a:focus {
	text-decoration: underline;
}

.index-name-date {
	font-size: 0.8em;
	text-transform: uppercase;
	margin: 20px;
}

.index-name-date a {
	text-decoration: none;
}

.index-name-date a:hover,
.index-name-date a:focus {
	text-decoration: underline;
}

.index-content {
	margin: 20px;
}

.more-link {
	text-align: left;
}

.more-link a:link,
.more-link a:visited {
	font-size: 0.6em;
	background: #A82825;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 17px;
	color: white;
	padding-top: 2px;
	padding-right: 20px;
	padding-bottom: 2px;
	padding-left: 20px;
}

.more-link a:hover,
.more-link a:focus {
	background-color: #990033; 	
}

.page-header {
	background-color: #E9DAB9; 	
}

.page-header h1 {
	font-weight: 100;
	text-transform: uppercase;
	font-size: 1em;
	margin: 0;
	padding-top: 20px;
	padding-right: 50px;
	padding-bottom: 20px;
	padding-left: 20px;
}

/*---------------------------------------------
              SIDEBAR
----------------------------------------------*/

#sidebar {
    width: 23%;
    float: right;
    margin-top: 40px;
    padding-right: 20px;
    background-color: transparent; /* Let it sit on the tan #E9DAB9 background */
}

#sidebar .widget-title {
	font-size: 1.5em;
	font-weight: 100;
	text-transform: uppercase;
	margin-top: 0px;
	line-height: 1.3em;
	word-wrap: break-word;
	color: #990033;
}

#sidebar .children {
	margin-left: 0.5em;
	padding: 0 !important;
	float: none;
}

#sidebar ul {
	list-style-image: url(images/bean.png);
}

#sidebar ul li a {
	text-decoration: none;
	padding: 10px 0;
	font-size: 90%;
}

.sidebar .widget {
	margin-bottom: 20px;
	display: block;
}

ul.sidebar {
	float: right;
	margin: 0;
	list-style: none;
	display: block;
	padding: 15px 30px 0px 0px;
	font-size: 14px;
	line-height: 18px;
}

ul.sidebar ul {
	padding-left: 15px;
}

/* Recent Comments widget */

.recentcomments {
	font-size: 90%;
	padding: 10px 0;
}

.recentcomments a {
	font-size: 100% !important;
}

.recentcomments a:hover,
.recentcomments a:focus {
	text-decoration: underline;
}

.textwidget {
	padding: 10px 0 0 0;
	line-height: 1.3em;
	font-size: 0.9em;
}

.textwidget p {
	font-size: 100%;
}

/* Calendar Widget */

.widget_calendar #wp-calendar {
	color: #555;
	width: 100%;
	text-align: center;
}

.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
}

.widget_calendar #wp-calendar tr {
	line-height: 1.8em;
}

.widget_calendar #wp-calendar caption {
	font-size: 1em;
	padding: 5px 0 10px 0;
	text-transform: uppercase;
}

.widget_calendar #wp-calendar th {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}

.widget_calendar #wp-calendar tfoot td {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/* RSS Widget */

h1.widget-title a:link,
h1.widget-title a:visited {
	text-decoration: none !important;
}

h1.widget-title a:hover,
h1.widget-title a:focus {
	text-decoration: underline !important;
}

.widget_rss ul li {
	margin-bottom: 1em;
	padding-bottom: 10px;
	font-weight: 100;
}

.widget_rss ul li a {
	text-transform: uppercase;
	font-size: 1.1em !important;
}

.widget_rss ul li a:hover {
	text-decoration: underline !important;
}

.widget_rss a:hover,
.widget_rss a:focus {
	background: inherit !important;
	padding: 10px 0 !important; 
}

.widget_rss .rss-date {
	font-size: 0.8em;
	color: #808080;
	margin-bottom: 10px;
}

.widget_rss .rssSummary {
	font-size: 0.8em;
	line-height: 1.3em;
	margin-bottom: 5px;
}

.widget_rss cite {
	font-size: 0.8em;
	color: #808080;
}

.widget_rss cite:before {
	content: "by ";
}

/*--------------------------------------------------------------------------
                               POST FORMATS
 --------------------------------------------------------------------------*/

/* FIXED: Combined layout selectors into a clean, modern block */
#site-header img,
#entry-content img,
#comment-content img,
#widget img,
img.size-full,
img[class*="align"],
img[class*="wp-image-"],
embed,
iframe,
object {
	max-width: 100%;
	width: auto;
	height: auto;
}

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

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

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}

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

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

.site-content .gallery {
	margin-bottom: 1.5em;
}

.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}

.site-content .gallery dd {
	margin: 0;
}

/* -------------------------------------------------------------- 
                      SINGLE POST
-------------------------------------------------------------- */

blockquote {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 1.5em 0;
	padding-left: 2em;
	font-style: italic;
	color: #333;
	line-height: 1.4em;
	border-left-color: #FFFFCC;
	border-left-width: 10px;
}

.footer-tags li {
	float: left;
	text-transform: uppercase;
	margin: 1px 1px 0 0;
}

.footer-tags li a:link,
.footer-tags li a:visited,
.footer-tags li.highlight {
	font-size: 0.7em;
	padding: 2px 10px;
	background: #9b9b9b;
	text-decoration: none;
	line-height: 15px;
	color: #FFFFCC;
}

.footer-tags li.highlight {
	background: #333;
	padding: 2px 20px;
}

.footer-tags li a:hover,
.footer-tags li a:focus {
	background: #993300;
}

/* ------------------------------------
              RELATED 
---------------------------------------*/

h1#recent {
	text-transform: uppercase;
	font-weight: 100;
	margin: 0 0 1em 50px;
}

#related {
	background: #eaeaea;
	padding: 50px;
}

#related ul li {
	width: 31.91489361702128%;
	float: left;
	margin-right: 2.127659574468085%;
}

#related ul li:last-child {
	margin-right: 0;
}

#related ul li a {
	text-decoration: none;
}

#related ul li article {
	padding: 20px;
	border: 1px rgba(255,255,255,0.5) solid;
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

#related ul li a:hover article,
#related ul li a:focus article {
	background: #fff;
}

#related .theExcerpt {
	margin-top: 1em;
}

/* -------------------------------------------------------------- 
                 IMAGE ATTACHMENTS 
-------------------------------------------------------------- */

.image-attachment .entry-header {
	margin-left: 0;
	max-width: 100%;
	float: none;
}

.image-attachment div.entry-meta {
	float: left;
	font-size: .9em;
}

.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
	font-size: .9em;
}

.image-attachment .previous-image {
	margin-right: 10px;
}

.image-attachment .next-image {
	margin-left: 10px;
}

.image-attachment .entry-content {
	clear: both;
}

.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}

.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* --------------------------------------------------------------
                      IMAGES
----------------------------------------------------------------*/

a img {
	border: none;
	margin-top: 1em;
}

p img {
	margin-bottom: 1em;
}

.alignleft,
.wp-post-image {
	float: left;
	margin: 0 20px 20px 0;
}

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

.aligncenter {
	float: none;
	display: block;
	margin: 10px auto;
}

.alignnone {
	float: none;
}

/*--------------------------------------------------------------
                      FORMS
---------------------------------------------------------------*/

#searchform label {
	display: none;
}

#searchform input#s {
	width: 60%;
}

input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}

textarea {
	width: 80%;
}

.required {
	color: #cc0033;
}

/*--------------------------------------------------------------
                      COMMENTS
---------------------------------------------------------------*/

#comments-title {
	text-transform: uppercase;
	font-weight: 100;
	margin-bottom: 2em;
	color: #990033;
}

#reply-title {
	text-transform: uppercase;
	font-weight: 100;
	margin: 2em 0 1em 0;
	color: #990033;	
}

article.comment {
	margin-left: 34.04255319148936%;
	margin-bottom: 3em;
	padding-bottom: 1em;
	border-bottom: 1px solid #CCC;
}

.comment-author {
	text-transform: uppercase;
	color: #666666;
}

.commentlist li.comment {
	list-style-type: none;
	font-size: 11px;
	border: 1px solid #ddd;
	-moz-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
	margin: 0 auto 1.625em;
	padding: 1.625em;
	position: relative;
	width: auto;
    height: auto;
}

.commentlist .avatar {
	height: 39px;
	left: 2.2em;
	top: 3.2em;
	width: 39px;
}

.commentlist li.comment .comment-meta {
	font-size: 11px;
	float: right;
	margin-top: -60px;
}

.commentlist li.comment .fn {
	display: block;
}

.commentlist li.comment .comment-content {
	margin: 0 auto 1.625em;
}

.commentlist .comment-edit-link {
	display: none;
}
	
.commentlist .reply {
	width: 48px;
	display: block;
	text-transform: uppercase;
	font-size: 80%;
	text-align: center;
	padding: 0;
	float: left;
}

.commentlist li.bypostauthor {
	color: #444;
	background-color: #E4D1AB;
}

.commentlist li.bypostauthor .comment-meta {
	color: #666;
}

.commentlist li.bypostauthor:before {
	content: none;
}

.commentlist .children li.bypostauthor {
	background: #fff;
	border-color: #ddd;
}

.commentlist .children li.bypostauthor > article,
.commentlist .children li.bypostauthor > article .comment-meta {
	color: #666;
}

#commentform {
	margin-left: 4.04255319148936%;
	margin-bottom: 2em;
}

#commentform input:focus,
#commentform textarea:focus {
	outline: 1px solid #808080;
}

#commentform label {
	display: inline-block;
	margin-bottom: 0.4em;
	font-size: 90%;
}

#commentform input,
#commentform textarea {
	padding: 5px;
}

.comment-notes {
	margin-right: 59.61290322580645%;
	width: 41.38709677419355%;
	float: right;
	font-size: 80%;
	color: #999;
}

.form-allowed-tags {
	font-size: 80%;
	color: #999;
}

#respond input[type=text] {
	display: block;
    width: 40%;
}

#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 60%;
}

#respond .form-allowed-tags {
	clear: both;
}

#respond .form-allowed-tags code {
	display: block;
}

#commentform input#submit {
	margin: 1em 0 0 0;
	border: 1px solid #999;
	color: #fff;
	padding: 3px 2em;
	background: #871107;
	font-size: 70%;
	text-transform: uppercase;
}

#commentform input#submit:hover,
#commentform input#submit:focus {	
	border-color: #999;
	color: #333;
	cursor: pointer;
}

.pingback {
	margin: 0 0 2em 0;
}

/*--------------------------------------------------------------
                  WIDGETS
--------------------------------------------------------------*/

.widget {
	display: block;
}

#sidebar .widget_search {
	overflow: hidden;
}

#sidebar .widget_search input {
	float: left;
	margin-left: 10px;
}

.searchform .search-input {
	width: 40%;
	margin: 0 2px 5px 0;
	padding: 6px 5px;
	background-color: #efefef;
	border: 1px solid #dcdcdc;
}

.searchform .search-input:hover, 
.searchform .search-input:focus, 
.searchform .search-input:active {
	background-color: #fff;
}

.searchsubmit {
	display: block;
	vertical-align: baseline;
	background-color: #871107;
	border: none;
	font-size: 10px;
	color: #fff;
	text-align: center;
	letter-spacing: 1px;
	cursor: pointer;
	padding: 5px;
	margin-top: 2px;
}

.searchsubmit:hover {
	background-color: #990033;
}

/*--------------------------------------------------------------
                  FOOTER
--------------------------------------------------------------*/

#colophon {
	padding: 0;
	color: #990033;
	font-size: 1em;
	background-color: #E9DAB9;
}

#footer-content {
	margin: 0;
	padding: 20px 50px;
	text-align: center;
	font-size: 90%;
	background-image: url(images/footer.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-color: #E9DAB9;
}

#colophon a:link,
#colophon a:visited {
	color: #666666;
	text-decoration: none;
}

#colophon a:hover,
#colophon a:focus {
	text-decoration: underline;
}

/* --------------------------------------------------------------
               THE GLOBAL FLUID OVERRIDE (Forge77 Built)
----------------------------------------------------------------*/

/* 1. Make the main wrapper fluid */
#wrapper {
    display: flex;
    flex-direction: column; /* Stacks header, content, and footer */
    width: 95%; 
    max-width: 1100px; /* Limits size on ultra-wide monitors */
    margin: 2rem auto;
    overflow: visible; /* Prevents text clipping */
}

/* 2. Make the Site Header scale with the width */
#site-header, #header-image {
    width: 100% !important;
    height: auto !important;
    min-height: 150px;
}

/* 3. The Real-Time Content/Sidebar Split */
#container {
    display: flex;
    flex-wrap: wrap; /* THIS IS THE KEY: it drops the sidebar down when space runs out */
    width: 100%;
    float: none; 
    margin: 0;
}

#content {
    flex: 3 1 600px; /* Grows, shrinks, but tries to stay at least 600px */
    width: auto;
    margin: 1rem;
    padding: 2vw; /* Padding scales with screen width */
}

#sidebar {
    flex: 1 1 250px; /* Takes up 1 part of space, minimum 250px */
    width: auto;
    float: none;
    margin: 1rem;
}

/* 4. Fluid Typography */
body {
    font-size: clamp(14px, 1.2vw, 18px); /* Scales font between 14px and 18px based on width */
}
/*--------------------------------------------------------------
                   RI CARD GUY - DARK FOOTER FIX
--------------------------------------------------------------*/

/* 1. Strip the tan color and give the footer a matching matte black background */
#colophon, 
#footer-content {
    background-color: #111111 !important;
    background-image: none !important; /* Removes the old footer.png pattern if it's clashing */
    color: #ffffff !important;         /* Flips the text color to white */
}

/* 2. Fix the footer link colors so they are readable */
#colophon a:link, 
#colophon a:visited {
    color: #ff3333 !important;        /* Swaps the links to your signature red */
    text-decoration: none !important;
}

#colophon a:hover, 
#colophon a:focus {
    color: #ffffff !important;        /* Hover effects turn white */
    text-decoration: underline !important;
}
/*--------------------------------------------------------------
       RI CARD GUY - VISIBILITY OVERRIDES & EDITOR FIX
--------------------------------------------------------------*/

/* 1. FRONT-END ONLY: Force post text white on the live website */
body:not(.wp-admin) #content,
body:not(.wp-admin) .entry-title, 
body:not(.wp-admin) .entry-content p, 
body:not(.wp-admin) .name-date, 
body:not(.wp-admin) .entry-meta,
body:not(.wp-admin) h1, 
body:not(.wp-admin) h2,
body:not(.wp-admin) h3 {
    color: #ffffff !important;
}

/* Brighten up content area links on the live site */
body:not(.wp-admin) #content a:link, 
body:not(.wp-admin) .entry-meta a {
    color: #ff3333 !important;
    text-decoration: underline !important;
}

body:not(.wp-admin) #content a:visited {
    color: #b30000 !important;
}

body:not(.wp-admin) #content a:hover, 
body:not(.wp-admin) #content a:focus {
    color: #ffffff !important;
}

/* 2. WP-ADMIN BACKEND ONLY: Forces editor texts to be dark gray against the white editor canvas */
.editor-styles-wrapper .wp-block-post-title,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.wp-block-editor .editor-post-title__input,
.wp-block-freeform-block p,
.block-editor-block-list__layout p,
.editor-styles-wrapper p,
.editor-styles-wrapper .block-editor-rich-text__editable {
    color: #1c1c1c !important;
}